:root {
  --green-950: #071a12;
  --green-900: #0b2419;
  --green-800: #123827;
  --green-700: #1d4b35;
  --olive-500: #7d8d5b;
  --gold-600: #a77721;
  --gold-500: #c69a48;
  --champagne: #ead9ba;
  --porcelain: #fffaf0;
  --paper: #f7f0e4;
  --blush: #f0d7ca;
  --wine: #5a1f2d;
  --ink: #17211b;
  --muted: #6f6a5f;
  --line: rgba(23, 33, 27, 0.14);
  --shadow: 0 24px 70px rgba(7, 26, 18, 0.16);
  --radius: 8px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  color: var(--porcelain);
  background: rgba(7, 26, 18, 0.68);
  border-bottom: 1px solid rgba(234, 217, 186, 0.18);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 26, 18, 0.94);
  box-shadow: 0 10px 32px rgba(7, 26, 18, 0.22);
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 30;
  width: 100%;
  height: 3px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(198, 154, 72, 0.55);
  border-radius: 50%;
  background: var(--paper);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.brand-text span {
  color: var(--champagne);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: rgba(255, 250, 240, 0.9);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.cart-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--porcelain);
  background: rgba(255, 250, 240, 0.1);
  border: 1px solid rgba(234, 217, 186, 0.28);
  border-radius: 6px;
}

.cart-button {
  position: relative;
}

.cart-button span {
  position: absolute;
  top: -7px;
  right: -7px;
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  color: var(--green-950);
  background: var(--gold-500);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  padding: 138px 7vw 126px;
  color: var(--porcelain);
  background:
    linear-gradient(90deg, rgba(7, 26, 18, 0.96) 0%, rgba(7, 26, 18, 0.78) 38%, rgba(7, 26, 18, 0.14) 76%),
    url("assets/signature-box.jpg") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 22%;
  background: linear-gradient(0deg, var(--green-950), rgba(7, 26, 18, 0));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
  animation: hero-enter 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 800;
}

.hero h1,
.section-heading h2,
.section-copy h2,
.editorial-content h2,
.detail-column h2,
.order-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.96;
}

.hero h1 {
  max-width: 620px;
  font-size: 82px;
}

.hero-copy {
  max-width: 600px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.9);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg,
.icon-button svg,
.cart-button svg,
.trust-item svg,
.corporate-points svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}

.button-primary {
  color: var(--green-950);
  background: var(--gold-500);
  border-color: rgba(255, 250, 240, 0.24);
}

.button-primary:hover {
  background: var(--champagne);
}

.button-ghost {
  color: var(--porcelain);
  background: rgba(255, 250, 240, 0.08);
  border-color: rgba(234, 217, 186, 0.34);
}

.button-small {
  min-height: 42px;
  padding: 10px 13px;
  color: var(--green-950);
  background: var(--champagne);
  border-color: rgba(167, 119, 33, 0.24);
}

.hero-metrics {
  position: absolute;
  z-index: 3;
  right: 7vw;
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(124px, 1fr));
  gap: 1px;
  width: min(540px, 86vw);
  background: rgba(234, 217, 186, 0.2);
  border: 1px solid rgba(234, 217, 186, 0.2);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(7, 26, 18, 0.58);
  backdrop-filter: blur(12px);
}

.hero-metrics strong {
  display: block;
  color: var(--gold-500);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.hero-metrics span {
  color: rgba(255, 250, 240, 0.82);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--green-950);
  border-top: 1px solid rgba(234, 217, 186, 0.16);
  border-bottom: 1px solid rgba(234, 217, 186, 0.16);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 86px;
  padding: 18px;
  color: var(--porcelain);
  border-right: 1px solid rgba(234, 217, 186, 0.14);
  font-weight: 700;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  color: var(--gold-500);
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 104px 0;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 80px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.detail-column h2,
.order-copy h2 {
  color: var(--green-950);
  font-size: 52px;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  color: var(--muted);
  font-size: 17px;
}

.intro-grid p {
  margin: 0;
}

.collection-section,
.subscriptions-section {
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.subscription-card {
  display: grid;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(7, 26, 18, 0.08);
}

.product-card {
  grid-template-rows: 280px 1fr;
  grid-column: span 3;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 320ms ease;
}

.product-card:nth-child(1) {
  grid-column: span 7;
  grid-template-rows: 360px 1fr;
}

.product-card:nth-child(2) {
  grid-column: span 5;
  grid-template-rows: 360px 1fr;
}

.product-card:hover {
  box-shadow: 0 28px 70px rgba(7, 26, 18, 0.15);
  transform: translateY(-7px);
}

.product-media {
  position: relative;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: background-size 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 18, 0) 30%, rgba(7, 26, 18, 0.44)),
    linear-gradient(120deg, rgba(198, 154, 72, 0.18), rgba(240, 215, 202, 0));
  content: "";
  transition: opacity 320ms ease;
}

.product-card:hover .product-media::after {
  opacity: 0.68;
}

.product-media-her {
  background-image: url("assets/her-box.jpg");
  background-position: center 52%;
}

.product-media-him {
  background-image: url("assets/him-box.jpg");
  background-position: center 56%;
}

.product-media-family {
  background-image: url("assets/family-box.jpg");
  background-position: center 52%;
}

.product-media-relax {
  background-image: url("assets/her-box.jpg");
  background-position: center 68%;
}

.product-media-balance {
  background-image: url("assets/signature-box.jpg");
  background-position: center;
}

.product-media-celebrate {
  background-image: url("assets/healthy-luxe-box-hero.jpg");
  background-position: 76% center;
}

.product-body {
  display: grid;
  gap: 22px;
  padding: 22px;
}

.product-kicker {
  margin: 0 0 6px;
  color: var(--gold-600);
  font-size: 12px;
  font-weight: 800;
}

.product-body h3,
.builder-summary h3,
.subscription-card h3 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
}

.product-body p,
.subscription-card p,
.editorial-content p,
.detail-column p,
.order-copy p {
  color: var(--muted);
}

.product-body p {
  margin: 10px 0 0;
  font-size: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.product-footer span {
  color: var(--green-800);
  font-weight: 800;
}

.builder-section {
  border-top: 1px solid var(--line);
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 1px;
  overflow: hidden;
  background: rgba(23, 33, 27, 0.14);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.builder-options,
.builder-summary {
  background: #fffdf8;
}

.builder-options {
  display: grid;
  gap: 0;
}

.builder-progress {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--green-950);
  border-bottom: 1px solid rgba(234, 217, 186, 0.2);
}

.builder-progress button {
  position: relative;
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 18px 20px;
  color: rgba(255, 250, 240, 0.5);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(234, 217, 186, 0.14);
  text-align: left;
  transition: color 200ms ease, background 200ms ease;
}

.builder-progress button:last-child {
  border-right: 0;
}

.builder-progress button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--gold-500);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.builder-progress button.is-active {
  color: var(--porcelain);
  background: rgba(255, 250, 240, 0.05);
}

.builder-progress button.is-active::after {
  transform: scaleX(1);
}

.builder-progress span {
  color: var(--gold-500);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.builder-progress strong {
  overflow-wrap: anywhere;
  font-size: 12px;
}

fieldset {
  margin: 0;
  padding: 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.builder-options fieldset {
  min-height: 540px;
  animation: builder-step-enter 380ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

fieldset:last-child {
  border-bottom: 0;
}

legend {
  margin-bottom: 14px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 700;
}

.choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(23, 33, 27, 0.08);
}

.choice:last-child {
  border-bottom: 0;
}

.choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--green-800);
}

.choice span {
  display: grid;
}

.choice strong {
  color: var(--green-950);
  line-height: 1.25;
}

.choice small {
  color: var(--muted);
  font-size: 13px;
}

.choice em {
  color: var(--gold-600);
  font-style: normal;
  font-weight: 800;
}

.ribbon-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 10px 0 30px;
}

.ribbon-options label {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 18px 10px;
  color: var(--green-950);
  background: var(--porcelain);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
}

.ribbon-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ribbon-options label:has(input:checked) {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 2px rgba(198, 154, 72, 0.14);
}

.swatch {
  width: 34px;
  height: 34px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

.swatch-gold {
  background: #c69a48;
}

.swatch-blush {
  background: #d8a79d;
}

.swatch-green {
  background: #1d4b35;
}

.message-field {
  position: relative;
  display: grid;
  gap: 8px;
  color: var(--green-950);
  font-size: 13px;
  font-weight: 800;
}

.message-field textarea {
  width: 100%;
  padding: 15px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: 0;
  resize: vertical;
}

.message-field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(198, 154, 72, 0.12);
}

.message-field small {
  justify-self: end;
  color: var(--muted);
}

.builder-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 28px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.button-back {
  color: var(--green-800);
  background: transparent;
  border-color: var(--line);
}

.button-back:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  transform: none;
}

.builder-summary {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 30px;
}

.builder-preview {
  --ribbon-color: #c69a48;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.builder-summary img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(167, 119, 33, 0.18);
}

.preview-ribbon {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 21%;
  background: var(--ribbon-color);
  box-shadow: 0 0 28px rgba(7, 26, 18, 0.14);
  opacity: 0.84;
  transform: translateX(-50%);
  transition: background 260ms ease;
}

.builder-preview.is-updating img {
  animation: preview-pulse 360ms ease;
}

.builder-summary ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.builder-summary li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.builder-summary li::before {
  width: 8px;
  height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  content: "";
}

.summary-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.summary-total span {
  max-width: 150px;
  color: var(--muted);
  font-size: 14px;
}

.summary-total strong {
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.subscription-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

.subscription-card {
  gap: 18px;
  padding: 28px;
}

.subscription-card.featured {
  color: var(--porcelain);
  background: var(--green-900);
  border-color: rgba(198, 154, 72, 0.36);
}

.subscription-card.featured h3,
.subscription-card.featured p,
.subscription-card.featured strong {
  color: var(--porcelain);
}

.subscription-card p {
  margin: 0;
}

.subscription-card strong {
  color: var(--green-900);
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
}

.subscription-heading {
  display: grid;
  gap: 10px;
}

.subscription-plans {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.subscription-plans div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  padding: 16px;
  background: #fffdf8;
}

.subscription-plans span,
.subscription-plans small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.subscription-plans strong {
  font-size: 28px;
}

.subscription-plans small {
  grid-column: 1 / -1;
  color: var(--gold-600);
}

.subscription-card.featured .subscription-plans {
  background: rgba(234, 217, 186, 0.18);
  border-color: rgba(234, 217, 186, 0.18);
}

.subscription-card.featured .subscription-plans div {
  background: rgba(255, 250, 240, 0.08);
}

.subscription-card.featured .subscription-plans span,
.subscription-card.featured .subscription-plans small {
  color: var(--champagne);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.story-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--green-950);
}

.story-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 26, 18, 0.02), rgba(7, 26, 18, 0.72));
  content: "";
}

.story-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 700ms ease, transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.story-frame.is-active {
  opacity: 1;
  transform: scale(1);
}

.story-mobile-image {
  display: none;
}

.story-visual p {
  position: absolute;
  right: 40px;
  bottom: 38px;
  left: 40px;
  z-index: 2;
  margin: 0;
  color: var(--porcelain);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.story-counter {
  position: absolute;
  top: 50%;
  right: 26px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: var(--porcelain);
  font-family: var(--serif);
  font-size: 16px;
  transform: translateY(-50%);
}

.story-counter i {
  width: 1px;
  height: 76px;
  background: rgba(255, 250, 240, 0.4);
}

.story-content {
  padding: 12vh 8vw;
}

.story-chapter {
  min-height: 76vh;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
  opacity: 0.48;
  transition: opacity 500ms ease;
}

.story-chapter.is-active {
  opacity: 1;
}

.story-chapter:last-child {
  border-bottom: 0;
}

.story-chapter span {
  color: var(--gold-600);
  font-size: 12px;
  font-weight: 800;
}

.story-chapter h2 {
  max-width: 700px;
  margin: 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
}

.story-chapter p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.story-signature strong {
  color: var(--green-800);
  font-family: var(--serif);
  font-size: 24px;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  min-height: 640px;
  color: var(--porcelain);
  background: var(--green-950);
}

.editorial-image {
  min-height: 460px;
  background:
    linear-gradient(90deg, rgba(7, 26, 18, 0), rgba(7, 26, 18, 0.56)),
    url("assets/brand-tote.jpg") center / cover no-repeat;
}

.editorial-content {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 22px;
  padding: 70px 7vw;
}

.editorial-content h2 {
  max-width: 640px;
  color: var(--porcelain);
  font-size: 60px;
}

.editorial-content p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
  font-size: 17px;
}

.corporate-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.corporate-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  color: var(--champagne);
  border: 1px solid rgba(234, 217, 186, 0.24);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.details-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 80px;
}

.steps {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.steps div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.steps span {
  color: var(--gold-600);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.steps p {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

details {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

summary {
  color: var(--green-950);
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: 54px;
  align-items: start;
  padding: 96px 7vw;
  color: var(--porcelain);
  background:
    linear-gradient(135deg, rgba(7, 26, 18, 0.96), rgba(29, 75, 53, 0.92)),
    url("assets/healthy-luxe-box-seal.jpg") right center / 520px no-repeat;
}

.order-copy h2,
.order-copy p {
  color: var(--porcelain);
}

.order-copy p {
  margin-top: 20px;
  color: rgba(255, 250, 240, 0.78);
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  background: rgba(255, 250, 240, 0.08);
  border: 1px solid rgba(234, 217, 186, 0.26);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--champagne);
  font-size: 13px;
  font-weight: 800;
}

.order-form .full {
  grid-column: 1 / -1;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  color: var(--porcelain);
  background: rgba(7, 26, 18, 0.4);
  border: 1px solid rgba(234, 217, 186, 0.24);
  border-radius: 6px;
  outline: 0;
  padding: 13px 14px;
}

.order-form textarea {
  resize: vertical;
}

.order-form input::placeholder,
.order-form textarea::placeholder {
  color: rgba(255, 250, 240, 0.5);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 7vw;
  color: var(--champagne);
  background: var(--green-950);
  border-top: 1px solid rgba(234, 217, 186, 0.16);
}

.site-footer div:first-child {
  display: grid;
}

.site-footer strong {
  color: var(--porcelain);
  font-family: var(--serif);
  font-size: 26px;
}

.site-footer span,
.footer-links {
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  font-weight: 800;
}

.footer-credit {
  color: rgba(234, 217, 186, 0.68);
  font-weight: 700;
}

.footer-credit:hover {
  color: var(--gold-500);
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(7, 26, 18, 0.56);
  backdrop-filter: blur(4px);
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 71;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(440px, 100%);
  color: var(--ink);
  background: #fffdf8;
  box-shadow: -24px 0 70px rgba(7, 26, 18, 0.22);
  transform: translateX(105%);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

body.cart-open {
  overflow: hidden;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header h2 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.cart-drawer-header .icon-button {
  flex: 0 0 auto;
  color: var(--green-950);
  background: var(--paper);
  border-color: var(--line);
}

.cart-empty {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.cart-empty svg {
  width: 44px;
  height: 44px;
  color: var(--gold-500);
  stroke-width: 1.4;
}

.cart-empty strong {
  max-width: 280px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.cart-empty p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cart-list {
  display: grid;
  align-content: start;
  gap: 0;
  margin: 0;
  padding: 0 26px;
  overflow-y: auto;
  list-style: none;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item div {
  display: grid;
}

.cart-item strong {
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
}

.cart-item small {
  color: var(--muted);
}

.cart-item > span {
  color: var(--gold-600);
  font-weight: 800;
}

.cart-remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.cart-remove svg {
  width: 16px;
  height: 16px;
}

.cart-drawer-footer {
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.cart-drawer-footer > div {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.cart-drawer-footer span {
  color: var(--muted);
  font-size: 13px;
}

.cart-drawer-footer strong {
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(860px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px;
  color: var(--porcelain);
  background: rgba(7, 26, 18, 0.97);
  border: 1px solid rgba(198, 154, 72, 0.42);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(7, 26, 18, 0.3);
  backdrop-filter: blur(18px);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner strong {
  font-family: var(--serif);
  font-size: 24px;
}

.cookie-banner p {
  max-width: 560px;
  margin: 4px 0 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 13px;
}

.cookie-banner p a {
  color: var(--champagne);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.button-cookie-secondary {
  color: var(--porcelain);
  background: transparent;
  border-color: rgba(234, 217, 186, 0.3);
}

.legal-page {
  background: var(--paper);
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 5vw;
  color: var(--porcelain);
  background: var(--green-950);
  border-bottom: 1px solid rgba(234, 217, 186, 0.18);
}

.legal-main {
  width: min(920px, calc(100% - 44px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.legal-intro {
  max-width: 760px;
}

.legal-intro h1 {
  margin: 0;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 68px;
  line-height: 1;
}

.legal-intro > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  gap: 24px;
  margin: 50px 0 18px;
  padding: 16px 0;
  background: rgba(247, 240, 228, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  font-size: 14px;
  font-weight: 800;
}

.legal-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 72px;
}

.legal-section h2 {
  margin: 0 0 20px;
  color: var(--green-950);
  font-family: var(--serif);
  font-size: 46px;
  line-height: 1;
}

.legal-section p:not(.product-kicker) {
  max-width: 780px;
  color: var(--muted);
  font-size: 16px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  max-width: min(360px, calc(100vw - 44px));
  padding: 14px 16px;
  color: var(--porcelain);
  background: rgba(7, 26, 18, 0.94);
  border: 1px solid rgba(198, 154, 72, 0.42);
  border-radius: 6px;
  box-shadow: 0 18px 48px rgba(7, 26, 18, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes builder-step-enter {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes preview-pulse {
  50% {
    transform: scale(1.018);
  }
}

@media (max-width: 1080px) {
  .site-header {
    gap: 16px;
    padding: 12px 20px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .product-card:nth-child(1),
  .product-card:nth-child(2) {
    grid-column: auto;
    grid-template-rows: 300px 1fr;
  }

  .intro-section,
  .builder-shell,
  .details-section,
  .order-section {
    grid-template-columns: 1fr;
  }

  .order-section {
    background-size: 360px;
  }
}

@media (max-width: 820px) {
  body {
    font-size: 15px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    display: none;
    grid-column: 1 / -1;
    padding: 12px;
    background: rgba(7, 26, 18, 0.96);
    border: 1px solid rgba(234, 217, 186, 0.2);
    border-radius: 8px;
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 12px;
  }

  .menu-button {
    display: inline-grid;
  }

  .hero {
    min-height: 760px;
    padding: 116px 22px 260px;
    background:
      linear-gradient(180deg, rgba(7, 26, 18, 0.96) 0%, rgba(7, 26, 18, 0.82) 45%, rgba(7, 26, 18, 0.32) 100%),
      url("assets/signature-box.jpg") 62% center / cover no-repeat;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-metrics {
    right: 22px;
    left: 22px;
    grid-template-columns: 1fr;
    width: auto;
  }

  .hero-metrics div {
    padding: 14px;
  }

  .hero-metrics strong {
    font-size: 26px;
  }

  .trust-strip,
  .subscription-grid,
  .editorial-band {
    grid-template-columns: 1fr;
  }

  .story-section {
    grid-template-columns: 1fr;
  }

  .story-visual {
    display: none;
  }

  .story-content {
    padding: 0;
  }

  .story-chapter {
    min-height: auto;
    align-content: start;
    gap: 16px;
    padding: 0 22px 78px;
    background: var(--paper);
    opacity: 1;
  }

  .story-mobile-image {
    display: block;
    width: calc(100% + 44px);
    max-width: none;
    aspect-ratio: 4 / 5;
    margin: 0 -22px 42px;
    object-fit: cover;
  }

  .story-chapter h2 {
    font-size: 40px;
  }

  .story-chapter:not(:first-child) {
    padding-top: 20px;
  }

  .trust-item {
    justify-content: flex-start;
    min-height: 64px;
    padding-inline: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(234, 217, 186, 0.14);
  }

  .section {
    width: min(100% - 32px, 1180px);
    padding: 72px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .detail-column h2,
  .order-copy h2 {
    font-size: 42px;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .editorial-content {
    padding: 52px 22px;
  }

  .editorial-content h2 {
    font-size: 44px;
  }

  .order-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .site-footer {
    display: grid;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .legal-intro h1 {
    font-size: 52px;
  }
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .product-footer,
  .summary-total {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .choice {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .choice em {
    grid-column: 2;
  }

  fieldset,
  .builder-summary {
    padding: 22px;
  }

  .builder-options fieldset {
    min-height: auto;
  }

  .builder-progress button {
    padding: 14px 10px;
  }

  .builder-progress strong {
    font-size: 11px;
  }

  .ribbon-options {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 46px;
  }

  .section-copy h2,
  .section-heading h2,
  .detail-column h2,
  .order-copy h2 {
    font-size: 36px;
  }

  .cookie-actions {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    padding: 18px;
  }

  .legal-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-header .button {
    width: auto;
  }

  .legal-main {
    width: min(100% - 32px, 920px);
    padding-top: 64px;
  }

  .legal-intro h1 {
    font-size: 44px;
  }

  .legal-nav {
    gap: 16px;
    overflow-x: auto;
  }

  .legal-nav a {
    white-space: nowrap;
  }

  .legal-section h2 {
    font-size: 36px;
  }

  .cart-drawer-header,
  .cart-list,
  .cart-drawer-footer {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 380px) {
  .site-header {
    gap: 12px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text span {
    font-size: 10px;
  }

  .header-actions {
    gap: 7px;
  }

  .icon-button,
  .cart-button {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
