/* =============================================================================
   NOVERA FOODS / v2
   "Dawn on still water, poured into a bowl of makhana."

   Depth model
     Plane 0  atmosphere  gradients, aurora, marquees, blurred fields   parallax -
     Plane 1  content     text, cards                                   factor 0
     Plane 2  glass       nav, chips, panels, pill                      parallax +
   Only plane 2 carries backdrop-filter, and only over a moving, textured or
   gradient field. Grain sits above everything and never moves.
   ========================================================================== */

/* ---------------------------------------------------------------- 0. tokens */
:root {
  /* canvas */
  --linen:      #F4EFE6;
  --bone:       #FBF7EF;
  --mist:       #EDE5D6;
  --petal:      #E6EFEB;

  /* ink */
  --ink:        #191613;
  --stone:      #5A5148;

  /* accents */
  --water:      #274E4C;
  --gold:       #C69C3F;
  --ember:      #D96C4F;

  /* glass */
  --glass-fill: rgba(244, 239, 230, 0.55);
  --glass-line: rgba(255, 255, 255, 0.45);

  /* hairlines: warm, never black */
  --hair:       rgba(25, 22, 19, 0.12);
  --hair-soft:  rgba(25, 22, 19, 0.07);
  --hair-light: rgba(244, 239, 230, 0.18);

  /* motion */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.30, 1);
  --t-reveal: 700ms;
  --t-hover:  250ms;
  --t-draw:  1400ms;

  /* type */
  --display: "Fraunces", "Times New Roman", Georgia, serif;
  --body:    "Satoshi", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* rhythm */
  --gutter: clamp(18px, 2.2vw, 32px);
  --edge:   clamp(20px, 6vw, 88px);
  --radius: 24px;
  --radius-lg: 32px;
}

/* ------------------------------------------------------------- 1. baseline */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 0.42vw + 15px, 18px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  padding: 12px 20px;
  background: var(--water);
  color: var(--linen);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* --------------------------------------------------------------- 2. type */
.h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(54px, 7.4vw, 96px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.022em;
  font-variation-settings: "SOFT" 40, "opsz" 100, "WONK" 0;
}

.h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.018em;
  font-variation-settings: "SOFT" 40, "opsz" 100;
  text-wrap: balance;
}

.accent {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
  font-variation-settings: "SOFT" 80, "opsz" 100;
}

.numeral {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(66px, 9.4vw, 120px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  font-variation-settings: "SOFT" 20, "opsz" 120;
}
.numeral .unit {
  font-size: 0.3em;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  vertical-align: 0.9em;
}

.mono, .kicker, .proof, .footnote, .caption, .label {
  font-family: var(--mono);
  font-size: clamp(11px, 0.22vw + 10.4px, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  font-weight: 400;
}
.mono-xs {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.kicker { color: var(--stone); margin: 0 0 22px; }
.kicker-glyph { color: var(--gold); margin-right: 6px; }
.kicker-light { color: rgba(244, 239, 230, 0.62); }
.kicker-light .kicker-glyph { color: var(--gold); }

.proof { color: var(--stone); }
.footnote { color: var(--stone); }
.caption { color: var(--stone); }

.body-lg { font-size: clamp(16.5px, 0.4vw + 15.5px, 18px); line-height: 1.62; color: var(--ink); }

.dropcap::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 3.5em;
  line-height: 0.78;
  font-weight: 300;
  font-variation-settings: "SOFT" 60, "opsz" 144;
  padding: 0.08em 0.12em 0 0;
  color: var(--water);
}

/* ------------------------------------------------------------- 3. buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 14px 26px;
  transition: background var(--t-hover) var(--ease-out),
              transform var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out),
              color var(--t-hover) var(--ease-out);
}
.btn-solid {
  background: var(--water);
  color: var(--linen);
  box-shadow: 0 10px 26px rgba(39, 78, 76, 0.22);
}
.btn-solid:hover { background: #1F403E; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(39, 78, 76, 0.26); }
.btn-solid:active { transform: translateY(0); }
.btn-lg { padding: 17px 32px; font-size: 12.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 1px solid var(--hair);
  transition: color var(--t-hover) var(--ease-out), border-color var(--t-hover) var(--ease-out);
}
.link-arrow svg { transition: transform var(--t-hover) var(--ease-out); }
.link-arrow:hover { color: var(--gold); border-bottom-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(2px); }

/* --------------------------------------------------------------- 4. grain */
/* One tile. Fixed, above every layer including glass. Never moves. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 120;
  pointer-events: none;
  background-image: url("../assets/noise.svg");
  background-size: 240px 240px;
  mix-blend-mode: overlay;
  opacity: 0.04;
}

/* ---------------------------------------------------------------- 5. glass */
.glass {
  position: relative;
  background: var(--glass-fill);
  -webkit-backdrop-filter: blur(14px) saturate(1.35) brightness(1.04);
  backdrop-filter: blur(14px) saturate(1.35) brightness(1.04);
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.60),
              0 12px 40px rgba(25, 22, 19, 0.08);
}
.glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("../assets/noise.svg");
  background-size: 240px 240px;
  opacity: 0.015;
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(244, 239, 230, 0.97); }
}

/* --------------------------------------------------------------- 6. reveal */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-reveal) var(--ease-out) var(--d, 0ms),
              transform var(--t-reveal) var(--ease-out) var(--d, 0ms);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in { opacity: 1; transform: none; will-change: auto; }

html.js .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset var(--t-draw) var(--ease-expo) var(--d, 0ms);
}
html.js [data-draw].is-drawn .draw { stroke-dashoffset: 0; }

/* ============================================================== 7. NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px var(--edge) 0;
  transition: padding 400ms var(--ease-out);
}
.nav-inner {
  position: relative;
  max-width: 1360px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
  padding: 12px 14px 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 400ms var(--ease-out),
              border-color 400ms var(--ease-out),
              box-shadow 400ms var(--ease-out),
              -webkit-backdrop-filter 400ms var(--ease-out),
              backdrop-filter 400ms var(--ease-out);
}
/* GLASS (1). backdrop-filter only once there is scrolled content behind it:
   at rest the bar is fully transparent, so there is nothing to blur. */
.nav.is-scrolled .nav-inner {
  background: rgba(244, 239, 230, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55),
              0 10px 30px rgba(25, 22, 19, 0.07);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav.is-scrolled .nav-inner { background: rgba(244, 239, 230, 0.97); }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand-mark { color: var(--water); transition: color var(--t-hover) var(--ease-out); }
.brand:hover .brand-mark { color: var(--gold); }
.brand-word {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variation-settings: "SOFT" 40, "opsz" 24;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  margin-left: auto;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  padding: 6px 0;
  position: relative;
  transition: color var(--t-hover) var(--ease-out);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right var(--t-hover) var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-cta { padding: 11px 20px; font-size: 11px; flex: 0 0 auto; }

.nav-toggle {
  display: none;
  width: 44px; height: 40px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--hair);
  border-radius: 999px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 17px; height: 1.4px;
  background: var(--ink);
  transition: transform 300ms var(--ease-out), opacity 200ms linear;
}
.nav.is-open .nav-toggle-bar:first-child { transform: translateY(3.2px) rotate(45deg); }
.nav.is-open .nav-toggle-bar:last-child  { transform: translateY(-3.2px) rotate(-45deg); }

/* ============================================================== 8. HERO */
.hero {
  position: relative;
  padding-top: clamp(130px, 15vh, 186px);
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
/* Plane 0 */
.hero-field {
  position: absolute;
  inset: -12% 0 -6%;
  z-index: 0;
  background:
    linear-gradient(148deg, var(--linen) 0%, #F1EBE0 44%, var(--mist) 100%);
}
.hero-bloom {
  position: absolute;
  top: -12%; right: -8%;
  width: min(760px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--water) 0%, rgba(39, 78, 76, 0) 68%);
  opacity: 0.12;
  filter: blur(100px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}
.hero-copy { grid-column: 1 / span 7; padding-bottom: clamp(60px, 9vh, 120px); }
.hero-stage { grid-column: 8 / span 5; position: relative; }

.hero-title { margin-bottom: 30px; max-width: 20ch; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
html.js .hero-title .line-in {
  display: block;
  transform: translateY(110%);
  transition: transform var(--t-reveal) var(--ease-expo) var(--d, 0ms);
}
html.js .hero-title.is-in .line-in { transform: none; }

.hero-sub {
  max-width: 44ch;
  font-size: clamp(18px, 1.05vw + 14px, 22px);
  line-height: 1.52;
  color: var(--stone);
  margin-bottom: 38px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  flex-wrap: wrap;
  margin-bottom: 46px;
}
.hero .proof { max-width: 40ch; }

/* 4:5 product card, pushed up so its bottom edge crosses the marquee band */
.product-card {
  position: relative;
  margin-top: -48px;
  margin-bottom: -68px;
  perspective: 1100px;
  z-index: 3;
}
.product-card-inner {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 8% 8%, #FDFAF3 0%, rgba(253,250,243,0) 58%),
    linear-gradient(152deg, var(--bone) 0%, var(--mist) 62%, #DED2BE 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 34px 90px rgba(25, 22, 19, 0.14),
    0 6px 18px rgba(25, 22, 19, 0.06);
  transform-style: preserve-3d;
  /* the card both bobs and tilts: the pointer writes --tx / --ty and the
     keyframe reads them, so one transform serves both */
  --tx: 0deg;
  --ty: 0deg;
  transform: perspective(1100px) rotateX(var(--tx)) rotateY(var(--ty));
  animation: bob 8s ease-in-out infinite;
}
.bowl-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 55% at 6% 22%, rgba(255, 252, 240, 0.85) 0%, rgba(255,252,240,0) 62%),
    linear-gradient(105deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0) 38%, rgba(39,78,76,0.16) 100%);
  pointer-events: none;
}
.bowl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.bowl-photo {
  filter: saturate(0.9) brightness(0.99) contrast(0.95) sepia(0.06);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,0.7) 78%, rgba(0,0,0,0) 100%),
                       linear-gradient(to right, rgba(0,0,0,0.55) 0%, #000 14%, #000 86%, rgba(0,0,0,0.55) 100%),
                       linear-gradient(to top, rgba(0,0,0,0.55) 0%, #000 16%, #000 100%);
  -webkit-mask-composite: source-in, source-in;
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, rgba(0,0,0,0.7) 78%, rgba(0,0,0,0) 100%),
              linear-gradient(to right, rgba(0,0,0,0.55) 0%, #000 14%, #000 86%, rgba(0,0,0,0.55) 100%),
              linear-gradient(to top, rgba(0,0,0,0.55) 0%, #000 16%, #000 100%);
  mask-composite: intersect, intersect;
}
.bowl-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 8% 8%, #FDFAF3 0%, rgba(253,250,243,0) 40%),
    linear-gradient(180deg, var(--bone) 0%, rgba(251,247,239,0) 22%, rgba(251,247,239,0) 52%, rgba(237,229,214,0.72) 78%, var(--mist) 100%),
    linear-gradient(90deg, var(--bone) 0%, rgba(251,247,239,0) 15%, rgba(251,247,239,0) 85%, var(--bone) 100%);
  pointer-events: none;
}
.card-grain {
  position: absolute; inset: 0;
  background-image: url("../assets/noise.svg");
  background-size: 240px 240px;
  mix-blend-mode: overlay;
  opacity: 0.05;
  pointer-events: none;
}

.steam {
  position: absolute;
  left: 34%;
  bottom: 46%;
  width: 92px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
  filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  animation: steam 5s ease-in-out infinite;
}
.steam-b { left: 52%; width: 74px; height: 128px; animation-delay: 1.2s; }

@keyframes steam {
  0%   { opacity: 0;    transform: translateY(10px) scale(0.92); }
  45%  { opacity: 0.35; transform: translateY(-28px) scale(1.04); }
  100% { opacity: 0;    transform: translateY(-64px) scale(1.16); }
}
@keyframes bob {
  0%, 100% { transform: perspective(1100px) translateY(0)     rotateX(var(--tx)) rotateY(var(--ty)); }
  50%      { transform: perspective(1100px) translateY(-6px)  rotateX(var(--tx)) rotateY(var(--ty)); }
}

/* GLASS (2): chip on the card corner, half on the card, half on the marquee */
.chip-note {
  position: absolute;
  left: -34px;
  bottom: -46px;
  width: min(280px, 78%);
  margin: 0;
  padding: 16px 20px 18px;
  z-index: 4;
}
.chip-note p {
  margin: 6px 0 0;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  left: var(--edge);
  bottom: 118px;
  width: 1px; height: 48px;
  background: var(--hair);
  z-index: 2;
  overflow: hidden;
}
.scroll-cue span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform-origin: top;
  animation: cue 1.2s var(--ease-out) infinite;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 1; }
  70%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ------------------------------------------------------------ 9. marquees */
.marquee { overflow: hidden; width: 100%; }
.marquee-band {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(90deg, var(--mist), #F1E9DA 50%, var(--mist));
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide linear infinite;
}
.marquee-track--30 { animation-duration: 30s; }
.marquee-track--28 { animation-duration: 28s; }
.marquee-track--22 { animation-duration: 22s; }
.marquee-set {
  flex: 0 0 auto;
  padding-right: 0;
  white-space: nowrap;
  color: var(--stone);
  letter-spacing: 0.22em;
}
.marquee-set i { color: var(--gold); font-style: normal; padding: 0 0.7em; }
@keyframes slide {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ================================================= 10. WHAT IS MAKHANA */
.makhana {
  position: relative;
  background: var(--petal);
  padding-top: clamp(96px, 12vh, 152px);
  padding-bottom: clamp(110px, 15vh, 190px);
  overflow: hidden;
}
.makhana::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 78% 18%, rgba(251,247,239,0.78) 0%, rgba(251,247,239,0) 60%);
  pointer-events: none;
}
.makhana-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}
.makhana-copy { grid-column: 1 / span 6; }
.makhana-copy .h2 { margin-bottom: 34px; max-width: 15ch; }
.makhana-copy .body-lg + .body-lg { margin-top: 20px; }
.makhana-copy .footnote {
  margin-top: 36px;
  padding-left: 18px;
  border-left: 1px solid var(--gold);
  max-width: 46ch;
}

.anatomy {
  grid-column: 8 / span 5;
  margin: -24px 0 0;
  position: relative;
}
.anatomy-svg { width: 100%; height: auto; overflow: visible; }
.stroke-ink   { stroke: rgba(25, 22, 19, 0.72); }
.stroke-stone { stroke: rgba(110, 101, 92, 0.6); }
.stroke-gold  { stroke: var(--gold); }
.kernel-fill  { fill: var(--bone); }
.core-fill    { fill: rgba(198, 156, 63, 0.16); }
.leaders .dot { fill: var(--gold); }
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--stone);
}
.label-end { text-anchor: end; }

.petal-arc {
  transform-origin: 310px 255px;
  animation: petal 24s ease-in-out infinite;
}
@keyframes petal {
  0%, 100% { transform: rotate(-0.5deg); }
  50%      { transform: rotate(0.5deg); }
}
.shell-glow {
  stroke: var(--gold);
  opacity: 0;
  animation: shellpulse 6s ease-in-out infinite;
}
html.js [data-draw] .shell-glow { animation-play-state: paused; }
html.js [data-draw].is-drawn .shell-glow { animation-play-state: running; }
@keyframes shellpulse {
  0%, 100% { opacity: 0; }
  50%      { opacity: 0.32; }
}
.anatomy .caption { margin-top: 26px; text-align: right; }

/* ==================================================== 11. WHY NOVERA */
.why {
  position: relative;
  padding-top: clamp(86px, 11vh, 132px);
  padding-bottom: clamp(120px, 16vh, 206px);
  background:
    linear-gradient(180deg, var(--linen) 0%, #F2ECE2 70%, var(--linen) 100%);
}
.why-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  margin-bottom: clamp(44px, 6vh, 74px);
}
.why-head .kicker { grid-column: 1 / span 3; margin-bottom: 0; padding-top: 10px; }
.why-title { grid-column: 4 / span 7; max-width: 18ch; }

.why-grid {
  display: grid;
  grid-template-columns: 72fr 28fr;
  gap: var(--gutter);
  align-items: stretch;
}
.why-stack { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gutter); }

.card {
  position: relative;
  background: var(--bone);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 44px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform var(--t-hover) var(--ease-out),
              border-color var(--t-hover) var(--ease-out),
              box-shadow var(--t-hover) var(--ease-out);
}
.card::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background-color: var(--card-fill, var(--ink));
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  background-blend-mode: overlay;
  border-radius: inherit;
  clip-path: circle(3% at var(--mx, 70%) var(--my, 20%));
  transition: clip-path 620ms var(--ease-out);
  pointer-events: none;
}
.card:hover::after { clip-path: circle(140% at var(--mx, 70%) var(--my, 20%)); }
/* JS folds the 4px lift into the tilt transform; this is the fallback for
   touch, for a coarse pointer, and for JS off. */
.card:hover {
  border-color: var(--card-fill, var(--gold));
  box-shadow: 0 18px 44px rgba(25, 22, 19, 0.14);
  transform: translateY(-4px);
}
@media (hover: none) {
  .card:hover { transform: none; }
}
.card-num,
.card-title,
.card-proof,
.card-icon {
  position: relative;
  z-index: 1;
  transition: color 420ms var(--ease-out);
}
.card:hover .card-num,
.card:hover .card-title,
.card:hover .card-proof { color: var(--card-fg, var(--linen)); }
.card:hover .card-proof { opacity: 0.82; }
.card-wide {
  min-height: clamp(280px, 34vw, 400px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* one element crosses the section rail */
  margin-left: calc(var(--edge) * -0.36);
  padding-left: calc(clamp(26px, 3vw, 44px) + var(--edge) * 0.36);
}
.card-num { color: var(--gold); margin-bottom: auto; }
.card-title {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.012em;
  font-variation-settings: "SOFT" 40, "opsz" 60;
  line-height: 1.12;
  font-size: clamp(24px, 2vw, 34px);
  max-width: 20ch;
}
.card-narrow .card-title { font-size: clamp(21px, 1.5vw, 26px); }
.card-narrow { min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.card-proof { color: var(--stone); max-width: 38ch; }
.card-icon {
  position: absolute;
  top: clamp(20px, 2.4vw, 34px);
  right: clamp(20px, 2.4vw, 34px);
  width: 54px; height: 54px;
  color: rgba(110, 101, 92, 0.42);
}
.card:hover .card-icon { color: var(--card-fg, var(--linen)); }
.card-icon .icon-fill {
  fill: currentColor;
  opacity: 0;
  transition: opacity 420ms var(--ease-out);
}
.card:hover .card-icon .icon-fill { opacity: 0.18; }
.icon-draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.card:hover .icon-draw {
  animation: redraw 400ms var(--ease-out);
}
@keyframes redraw {
  from { stroke-dashoffset: 1; }
  to   { stroke-dashoffset: 0; }
}

.band {
  position: relative;
  margin-top: clamp(40px, 5vh, 72px);
  background: var(--water);
  border-radius: var(--radius);
  padding: clamp(40px, 5vw, 72px) clamp(26px, 4vw, 68px);
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 140% at 12% 0%, rgba(198,156,63,0.14) 0%, rgba(198,156,63,0) 62%);
  pointer-events: none;
}
.band-divider {
  position: absolute;
  top: 0; left: 0;
  height: 1px; width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out) 120ms;
}
.band.is-in .band-divider { transform: scaleX(1); }
.band-line {
  position: relative;
  font-family: var(--display);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.16;
  font-weight: 300;
  letter-spacing: -0.014em;
  font-variation-settings: "SOFT" 60, "opsz" 100;
  color: var(--linen);
  max-width: 24ch;
}
.pulse-dot {
  display: inline-block;
  width: 10px; height: 10px;
  margin-left: 12px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%      { transform: scale(1.5); opacity: 0.55; }
}

/* ====================================================== 12. NUTRITION */
.nutrition {
  position: relative;
  background: var(--water);
  color: var(--linen);
  padding-top: clamp(104px, 14vh, 168px);
  padding-bottom: clamp(120px, 15vh, 176px);
  z-index: 3;
}
/* the teal band is never flat: a slow wash + extra grain sit behind the chips */
.nutrition-wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 80% at 84% 10%, rgba(198,156,63,0.20) 0%, rgba(198,156,63,0) 62%),
    radial-gradient(70% 90% at 6% 92%, rgba(230,239,235,0.16) 0%, rgba(230,239,235,0) 60%);
  animation: wash 60s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes wash {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.08); }
}
.nutrition::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image: url("../assets/noise.svg");
  background-size: 240px 240px;
  opacity: 0.06;
  pointer-events: none;
}
.nutrition-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter) clamp(24px, 4vw, 72px);
}
.nutrition-head { grid-column: 1 / span 4; }
.nutrition-title { color: var(--linen); font-size: clamp(34px, 4.6vw, 64px); max-width: 12ch; }
.nutrition-note {
  margin-top: 28px;
  color: rgba(244, 239, 230, 0.5);
  text-transform: none;
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 34ch;
}

.stats {
  grid-column: 6 / span 7;
  margin: 0;
  display: grid;
  gap: clamp(30px, 4vh, 54px);
}
.stat { display: grid; grid-template-columns: 150px 1fr; gap: 10px clamp(16px, 2vw, 34px); align-items: baseline; }
.stat-label { color: rgba(244, 239, 230, 0.55); padding-top: 12px; }
.stat-body { margin: 0; }
.stat .numeral { color: var(--gold); margin-bottom: 20px; }
.stat .numeral .unit { color: rgba(198, 156, 63, 0.7); }

.track {
  position: relative;
  height: 1px;
  background: rgba(244, 239, 230, 0.18);
  margin-bottom: 12px;
}
.track-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill);
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out) var(--d, 0ms);
}
.track.is-filled .track-fill { transform: scaleX(1); }
.track-marker {
  position: absolute;
  top: 50%; left: var(--at);
  width: 7px; height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 400ms linear 700ms;
  animation: breathe 3s ease-in-out infinite;
}
.track.is-filled .track-marker { opacity: 1; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198,156,63,0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(198,156,63,0); }
}
.track-label { color: rgba(244, 239, 230, 0.45); }
.ri-note {
  grid-column: 6 / span 7;
  margin-top: 34px;
  color: rgba(244, 239, 230, 0.36);
  text-transform: none;
  letter-spacing: 0.04em;
}

/* GLASS (3): chips half-bleed out of the teal band into Flavours */
.chips {
  position: absolute;
  z-index: 3;
  left: var(--edge);
  right: var(--edge);
  bottom: -32px;
  max-width: 1360px;
  margin-inline: auto;
  display: flex;
  gap: clamp(12px, 1.6vw, 22px);
  flex-wrap: wrap;
  justify-content: flex-end;
}
.chip {
  padding: 16px 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(18px) saturate(1.4) brightness(1.04);
  backdrop-filter: blur(18px) saturate(1.4) brightness(1.04);
  animation: chipbob 6s ease-in-out infinite;
  animation-delay: var(--bob, 0s);
}
@keyframes chipbob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* ======================================================= 13. FLAVOURS */
.flavours {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--linen) 0%, var(--mist) 58%, var(--linen) 100%);
  padding-top: clamp(112px, 16vh, 200px);
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.flavours-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(40px, 6vh, 76px);
}
.flavours-head > div { grid-column: 1 / span 6; }
.flavours-head .h2 { max-width: 12ch; }
.flavours-note {
  grid-column: 9 / span 4;
  color: var(--stone);
  text-align: right;
  padding-bottom: 10px;
}
.flavours-credit {
  display: inline-block;
  margin-top: 6px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(110, 101, 92, 0.62);
  font-style: italic;
}

/* Plane 0: the marquee that runs behind the glass panel */
.flavours-marquee-bg {
  position: absolute;
  z-index: 0;
  left: 0; right: 0;
  top: clamp(300px, 40vh, 480px);
  overflow: hidden;
  opacity: 0.5;
  pointer-events: none;
}
.flavours-marquee-bg .marquee-set {
  font-family: var(--mono);
  font-size: clamp(30px, 4.6vw, 64px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(110, 101, 92, 0.24);
}
.flavours-marquee-bg .marquee-set i { color: rgba(198, 156, 63, 0.5); }

.flavours-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 40fr 60fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-bottom: clamp(70px, 10vh, 130px);
}

.flavour-rows { display: grid; border-top: 1px solid var(--hair); }
.flavour-row {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: background var(--t-hover) var(--ease-out);
}
.flavour-row:hover { background: rgba(251, 247, 239, 0.6); }
.row-main {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 56px;
  padding: 0 4px;
}
.row-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--dot);
  flex: 0 0 auto;
  transition: transform var(--t-hover) var(--ease-out);
}
.flavour-row:hover .row-dot { transform: scale(1.35); }
.row-name {
  font-family: var(--mono);
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--t-hover) var(--ease-out);
}
.flavour-row.is-active .row-name { color: var(--ink); }
.row-idx { margin-left: auto; color: rgba(110, 101, 92, 0.45); font-size: 11px; }

.row-preview {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding: 0 4px 0 27px;
  transition: grid-template-rows 420ms var(--ease-out), opacity 280ms linear, padding 420ms var(--ease-out);
}
.row-preview-inner {
  overflow: hidden;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 18px;
}
.flavour-row.is-active .row-preview {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-bottom: 12px;
}
.mini-bag {
  width: 36px; height: 68px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: bottom center;
  transform: rotate(2deg);
  filter: drop-shadow(0 6px 10px rgba(25, 22, 19, 0.22));
}
.row-note { font-size: 14px; line-height: 1.42; color: var(--stone); max-width: 52ch; }

/* GLASS (4) */
.flavour-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 52px);
  min-height: clamp(400px, 46vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* crosses its rail: overlaps the row column edge */
  margin-top: -36px;
}
.flavour-panel .wash {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at var(--wx, 14%) var(--wy, 84%), var(--fl) 0%, rgba(255,255,255,0) 62%);
  opacity: 0.16;
  transition: opacity 500ms var(--ease-out), background 500ms var(--ease-out);
  pointer-events: none;
}
.flavour-panel.is-washing .wash { opacity: 0.34; }
.panel-tag {
  position: absolute;
  top: clamp(20px, 2.4vw, 34px);
  right: clamp(20px, 2.4vw, 34px);
  z-index: 3;
  padding: 8px 15px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--stone);
  font-size: 10.5px;
  background: rgba(251, 247, 239, 0.5);
}
.panel-grain {
  position: absolute; inset: 0; z-index: 4;
  background-image: url("../assets/noise.svg");
  background-size: 240px 240px;
  mix-blend-mode: overlay;
  opacity: 0.04;
  pointer-events: none;
}
.panel-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: clamp(18px, 2.4vw, 40px);
  align-items: end;
  transition: opacity 300ms linear;
}
.bag-stage { align-self: stretch; }
.panel-body.is-fading { opacity: 0; }
.bag-stage {
  perspective: 900px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
}
.bag {
  height: clamp(210px, 30vw, 330px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transform: rotate(-3deg);
  transition: transform 200ms linear;
  filter: drop-shadow(0 26px 40px rgba(25, 22, 19, 0.16));
}
.bag-body { transition: fill 500ms var(--ease-out); }
.bag-word {
  font-family: "Fraunces", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  fill: #191613;
}
.bag-sub {
  font-family: "Space Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: #6E655C;
}
.panel-kicker { color: var(--stone); margin-bottom: 14px; }
.flavour-name {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 80, "opsz" 100;
  margin-bottom: 16px;
}
.panel-note { font-size: 15.5px; line-height: 1.5; color: var(--stone); max-width: 30ch; }

.marquee-names {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--hair);
  padding: clamp(14px, 2vh, 26px) 0 clamp(20px, 3vh, 38px);
}
.marquee-names .marquee-set {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(42px, 9vw, 96px);
  letter-spacing: -0.02em;
  text-transform: none;
  line-height: 1.1;
  color: rgba(25, 22, 19, 0.16);
  font-variation-settings: "SOFT" 80, "opsz" 144;
  transition: color 400ms var(--ease-out);
}
.marquee-names .marquee-set i { color: rgba(198, 156, 63, 0.5); padding: 0 0.32em; }
.marquee-names:hover .marquee-set { color: rgba(25, 22, 19, 0.28); }
/* CSS fallback speed change; JS takes over for a smooth ease when available */
.marquee-names:hover .marquee-track { animation-duration: 40s; }
.marquee-names.marquee--js .marquee-track { animation: none; }

/* ========================================================== 14. STORY */
.story {
  position: relative;
  z-index: 1;
  padding-top: clamp(96px, 13vh, 160px);
  padding-bottom: clamp(160px, 22vh, 280px);
  overflow: hidden;
  isolation: isolate;
}
/* No photography anywhere on this site: the "pond" is built from gradients
   and ripple rings, fixed, at 12%, under a 40% Linen veil. */
.pond { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pond-plate {
  position: absolute;
  inset: -8%;
  background:
    repeating-radial-gradient(circle at 62% 72%,
      rgba(39,78,76,0.30) 0px, rgba(39,78,76,0.30) 1px,
      rgba(39,78,76,0) 2px, rgba(39,78,76,0) 46px),
    repeating-radial-gradient(circle at 22% 34%,
      rgba(25,22,19,0.22) 0px, rgba(25,22,19,0.22) 1px,
      rgba(25,22,19,0) 2px, rgba(25,22,19,0) 72px),
    linear-gradient(168deg, #7E8F86 0%, #43635E 38%, #23403E 74%, #16302F 100%);
  background-attachment: fixed, fixed, fixed;
  opacity: 0.12;
  transform-origin: 58% 60%;
  animation: dolly 44s ease-in-out infinite alternate;
}
@keyframes dolly {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.pond-veil {
  position: absolute; inset: 0;
  background: rgba(244, 239, 230, 0.40);
}

.story-inner { position: relative; z-index: 2; }
.pull-quote {
  margin: 0 0 clamp(60px, 9vh, 110px);
  /* bleeds past the left rail */
  margin-left: calc(var(--edge) * -0.5);
  max-width: 22ch;
}
.pull-quote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.16;
  letter-spacing: -0.016em;
  font-variation-settings: "SOFT" 80, "opsz" 100;
  color: var(--ink);
}

.spine-wrap { position: relative; padding-left: 0; }
.spine {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  margin-left: -4px;
  width: 8px;
  height: 100%;
  overflow: visible;
}
html.js .spine-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.spine-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px; height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 22px 6px rgba(198, 156, 63, 0.45);
  opacity: 0;
  transform: translateY(0);
}
html.js .spine-wrap.is-live .spine-glow { opacity: 1; }

.nodes { display: grid; gap: clamp(48px, 9vh, 110px); }
.node { position: relative; width: calc(50% - 56px); }
.node-left  { justify-self: start; text-align: right; padding-right: 8px; }
.node-right { justify-self: end;   text-align: left;  padding-left: 8px; }
html.js .node-left[data-reveal]  { transform: translate(-40px, 24px); }
html.js .node-right[data-reveal] { transform: translate(40px, 24px); }
html.js .node[data-reveal].is-in { transform: none; }

.node-dot {
  position: absolute;
  top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--linen);
  border: 1.5px solid var(--stone);
  transition: background 300ms var(--ease-out), border-color 300ms var(--ease-out);
}
.node-left  .node-dot { right: -62px; }
.node-right .node-dot { left: -62px; }
.node.is-active .node-dot {
  background: var(--gold);
  border-color: var(--gold);
  animation: pulse 3s ease-in-out infinite;
}
.node-year { color: var(--gold); margin-bottom: 12px; }
.node-body {
  font-size: clamp(16px, 0.5vw + 14.6px, 18px);
  line-height: 1.55;
  color: var(--ink);
  max-width: 34ch;
}
.node-left .node-body { margin-left: auto; }

/* ======================================================= 15. WAITLIST */
.waitlist {
  position: relative;
  z-index: 4;
  /* half-sits over the Story band */
  margin-top: clamp(-190px, -18vh, -120px);
  padding-top: clamp(78px, 10vh, 120px);
  padding-bottom: clamp(110px, 15vh, 176px);
  background: linear-gradient(180deg, rgba(244,239,230,0) 0%, var(--linen) 16%, var(--linen) 100%);
  overflow: hidden;
  isolation: isolate;
}
.aurora { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.aurora span {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(90px);
}
.aurora-a {
  background: radial-gradient(circle, var(--gold) 0%, rgba(198,156,63,0) 68%);
  opacity: 0.30;
  top: -6%; left: 4%;
  animation: drift-a 60s ease-in-out infinite alternate;
}
.aurora-b {
  background: radial-gradient(circle, var(--water) 0%, rgba(39,78,76,0) 68%);
  opacity: 0.25;
  bottom: -14%; left: 26%;
  animation: drift-b 60s ease-in-out infinite alternate;
}
@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(180px, 90px, 0) scale(1.18); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.1); }
  to   { transform: translate3d(-150px, -110px, 0) scale(0.94); }
}

.waitlist-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter) clamp(24px, 4vw, 72px);
  align-items: start;
}
.waitlist-copy { grid-column: 1 / span 7; }
.waitlist-copy .h2 { margin-bottom: 36px; }
.waitlist-count { grid-column: 9 / span 4; padding-top: clamp(0px, 4vh, 54px); }

/* GLASS (5) */
.signup { margin: 0; }
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  max-width: 540px;
  transition: -webkit-backdrop-filter 300ms var(--ease-out),
              backdrop-filter 300ms var(--ease-out),
              box-shadow 300ms var(--ease-out),
              background 400ms var(--ease-out),
              border-color 300ms var(--ease-out);
}
.pill.is-focused {
  -webkit-backdrop-filter: blur(22px) saturate(1.4) brightness(1.05);
  backdrop-filter: blur(22px) saturate(1.4) brightness(1.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7),
              0 18px 56px rgba(25, 22, 19, 0.13),
              0 0 0 6px rgba(198, 156, 63, 0.14);
}
.pill.is-error {
  border-color: var(--ember);
  animation: errflash 400ms var(--ease-out);
}
@keyframes errflash {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 12px 40px rgba(25,22,19,0.08); }
  50%      { box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 0 0 5px rgba(217, 108, 79, 0.24); }
}
.pill.is-done {
  background: var(--water);
  border-color: rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.pill-input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  padding: 14px 0;
}
.pill-input::placeholder { color: rgba(110, 101, 92, 0.62); }
.pill.is-done .pill-input { color: var(--linen); }
.pill.is-done .pill-input::placeholder { color: rgba(244,239,230,0.5); }
.pill-btn { flex: 0 0 auto; padding: 15px 28px; position: relative; }
.pill-btn .pill-check {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 200ms linear, transform 400ms var(--ease-spring);
}
.pill-btn .pill-check path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 400ms var(--ease-out) 120ms; }
.signup.is-done .pill-btn { width: 54px; padding: 15px 0; background: var(--gold); }
.signup.is-done .pill-btn-label { opacity: 0; transform: scale(0.7); }
.pill-btn-label { transition: opacity 180ms linear, transform 300ms var(--ease-spring); }
.signup.is-done .pill-check { opacity: 1; transform: scale(1); }
.signup.is-done .pill-check path { stroke-dashoffset: 0; }

.privacy { margin-top: 18px; color: var(--stone); }
.privacy.is-error { color: var(--ember); }
.privacy.is-done { color: var(--water); }

.counter { line-height: 0.88; }
.counter-label { color: var(--stone); margin-top: 14px; }
.counter-note {
  margin-top: 28px;
  color: var(--stone);
  text-transform: none;
  letter-spacing: 0.03em;
  line-height: 1.7;
  max-width: 32ch;
  padding-top: 20px;
  border-top: 1px solid var(--hair);
}

/* ========================================================= 16. FOOTER */
.footer {
  position: relative;
  border-top: 1px solid var(--hair);
  padding-top: clamp(56px, 7vh, 88px);
  padding-bottom: 34px;
  overflow: hidden;
}
.foot-top {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: clamp(120px, 14vw, 210px);
  overflow: hidden;
}
.foot-brand { position: relative; z-index: 1; }
.brand-foot { margin-bottom: 14px; }
.foot-tagline { color: var(--stone); font-size: 15px; max-width: 46ch; }
.watermark {
  position: absolute;
  right: -1rem;
  bottom: 0;
  z-index: 0;
  font-family: var(--display);
  font-size: 15vw;
  line-height: 0.74;
  font-weight: 400;
  letter-spacing: -0.03em;
  font-variation-settings: "SOFT" 40, "opsz" 144;
  color: rgba(25, 22, 19, 0.06);
  user-select: none;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 1s var(--ease-out);
}
html.js .watermark { opacity: 0; }
html.js .watermark.is-in { opacity: 1; }

.foot-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 48px);
  padding: clamp(40px, 5vh, 66px) 0;
  border-top: 1px solid var(--hair);
  margin-top: clamp(34px, 5vh, 58px);
}
.foot-head { color: var(--ink); margin-bottom: 18px; }
.foot-col li + li { margin-top: 10px; }
.foot-col a {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.72;
  transition: color var(--t-hover) var(--ease-out), opacity var(--t-hover) var(--ease-out);
}
.foot-col a:hover { color: var(--gold); opacity: 1; }
.foot-soon { font-size: 14px; color: rgba(110, 101, 92, 0.55); font-style: italic; }
.foot-social svg { transition: color var(--t-hover) var(--ease-out); }
.foot-social a:hover svg { color: var(--ember); }

.foot-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--hair-soft);
  color: var(--stone);
}
.foot-legal .mono { font-size: 11px; }
.legal-b { flex: 1 1 auto; text-align: center; }
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--stone);
  transition: color var(--t-hover) var(--ease-out);
}
.back-to-top svg { transition: transform var(--t-hover) var(--ease-out); }
.back-to-top:hover { color: var(--gold); }
.back-to-top:hover svg { transform: translateY(-2px); }

.foot-reg {
  margin-top: 26px;
  font-size: 10.5px;
  line-height: 1.9;
  color: rgba(110, 101, 92, 0.7);
  text-transform: none;
  letter-spacing: 0.06em;
}

/* ==================================================== 17. RESPONSIVE */
@media (max-width: 1080px) {
  .hero-copy { grid-column: 1 / span 12; }
  .hero-stage { grid-column: 3 / span 8; }
  .product-card { margin-top: 24px; }

  .makhana-copy { grid-column: 1 / span 12; }
  .anatomy { grid-column: 1 / span 12; margin-top: 56px; }
  .anatomy .caption { text-align: left; }

  .why-head .kicker { grid-column: 1 / span 12; margin-bottom: 18px; }
  .why-title { grid-column: 1 / span 12; }
  .why-grid { grid-template-columns: 1fr; }
  .card-wide { margin-left: 0; padding-left: clamp(26px, 3vw, 44px); min-height: 260px; }
  .why-stack { grid-template-rows: auto auto; }

  .nutrition-head { grid-column: 1 / span 12; margin-bottom: 44px; }
  .stats, .ri-note { grid-column: 1 / span 12; }

  .flavours-head > div { grid-column: 1 / span 12; }
  .flavours-note { grid-column: 1 / span 12; text-align: left; padding-top: 18px; }
  .flavours-grid { grid-template-columns: 1fr; }
  .flavour-panel { margin-top: 0; }

  .waitlist-copy { grid-column: 1 / span 12; }
  .waitlist-count { grid-column: 1 / span 12; padding-top: 46px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 22px;
    border-radius: 22px;
    background: rgba(244, 239, 230, 0.92);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    border: 1px solid var(--glass-line);
    box-shadow: 0 18px 44px rgba(25, 22, 19, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out), visibility 260ms;
  }
  .nav.is-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--hair-soft); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 118px; }
  .hero-stage { grid-column: 1 / span 12; margin-top: 40px; }
  .product-card { margin-inline: auto; max-width: 440px; margin-top: 0; margin-bottom: 0; }
  .chip-note { left: 14px; bottom: 14px; width: min(240px, 82%); }
  .scroll-cue { display: none; }

  .stat { grid-template-columns: 1fr; gap: 6px; }
  .stat-label { padding-top: 0; }

  .chips { justify-content: center; flex-wrap: nowrap; gap: 8px; bottom: -22px; left: 12px; right: 12px; }
  .chip { padding: 12px 14px; font-size: 9px; letter-spacing: 0.08em; white-space: nowrap; flex: 1 1 0; text-align: center; }
  .nutrition { padding-bottom: clamp(150px, 20vh, 190px); }

  .panel-body { grid-template-columns: 1fr; gap: 26px; }
  .bag-stage { max-width: 220px; }

  .pull-quote { margin-left: 0; }
  .spine { left: 2px; margin-left: 0; }
  .spine-glow { left: 6px; margin-left: -7px; }
  .node { width: 100%; }
  .node-left, .node-right { text-align: left; padding-left: 40px; padding-right: 0; justify-self: stretch; }
  .node-left .node-dot, .node-right .node-dot { left: 0; right: auto; }
  .node-left .node-body { margin-left: 0; }
  html.js .node-left[data-reveal], html.js .node-right[data-reveal] { transform: translateY(28px); }

  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 22px; }
  .foot-top { flex-direction: column; align-items: flex-start; min-height: 0; padding-bottom: 108px; }
  .watermark { font-size: 20vw; right: -0.3rem; bottom: 0; }
  .legal-b { flex: 0 0 100%; text-align: left; order: 3; }
}

@media (max-width: 560px) {
  .hero-cta { gap: 16px; }
  .hero-cta .btn { width: 100%; }
  .chips { gap: 6px; }
  .chip { padding: 10px 8px; letter-spacing: 0.06em; font-size: 8.3px; }
  .foot-legal { gap: 12px; }
}

/* =================================================== 18. REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  /* all autonomous animation off */
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
  }

  /* reveals become 200ms opacity fades */
  html.js [data-reveal],
  html.js .node-left[data-reveal],
  html.js .node-right[data-reveal] {
    transform: none !important;
    transition: opacity 200ms linear !important;
  }
  html.js .hero-title .line-in { transform: none !important; transition: none !important; }

  /* draws resolve instantly */
  html.js .draw,
  html.js .spine-line,
  .pill-btn .pill-check path { stroke-dashoffset: 0 !important; transition: none !important; }
  .band-divider { transform: scaleX(1) !important; transition: none !important; }
  .track-fill { transform: scaleX(1) !important; transition: none !important; }
  .track-marker { opacity: 1 !important; }

  /* marquees freeze */
  .marquee-track { animation: none !important; transform: none !important; }

  /* tilt becomes a static shadow */
  .product-card-inner,
  .bag,
  .card { transform: none !important; }
  .product-card-inner { box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 26px 64px rgba(25, 22, 19, 0.16); }
  .bag { filter: drop-shadow(0 20px 34px rgba(25, 22, 19, 0.18)); }

  .steam, .scroll-cue, .spine-glow { display: none; }

  /* nothing is moving behind these any more, so drop the blur work */
  .chip, .flavour-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(244, 239, 230, 0.92);
  }
}
