/* Page-level styles for the nourrir.life UI kit.
   Tokens come from colors_and_type.css; this file is presentation only. */

html, body { margin: 0; padding: 0; background: var(--cream); color: var(--forest); }
body { font: var(--t-body); }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; color: inherit; cursor: pointer; }

/* Background-image surfaces never tile — one full image per surface. */
.hero__media, .plates-wall__img, .benefit__img, .how-it__img,
.invite__img, .quote-panel__img, .footer__slot, .bleed { background-repeat: no-repeat; }

/* ---------- shared atoms ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font: 500 13px/1 var(--font-label);
  letter-spacing: 0.18em; text-transform: uppercase;
  border: 0; border-radius: var(--r-sm);
  padding: 14px 22px;
  transition: background var(--d-fast) var(--ease-quiet),
              transform var(--d-fast) var(--ease-quiet),
              color var(--d-fast) var(--ease-quiet);
}
.btn--forest    { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--forest-soft); }
.btn--ghost     { background: transparent; color: var(--forest); border: 1px solid var(--forest); padding: 13px 22px; }
.btn--ghost:hover { background: var(--cream-warm); }
.btn--ghost-cream { background: transparent; color: var(--cream); border: 1px solid var(--cream); padding: 13px 22px; }
.btn--ghost-cream:hover { background: rgba(255,253,245,.08); }
.btn--gold      { background: var(--gold); color: var(--cream); }
.btn--gold:hover { background: var(--gold-soft); }
.btn:active     { transform: translateY(1px); }

.eyebrow {
  font: 500 11px/1 var(--font-label);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--forest); opacity: 0.6;
  display: inline-block;
}
.eyebrow--cream { color: var(--cream); opacity: 0.7; }
.eyebrow--gold  { color: var(--gold); opacity: 1; }

.rule { height: 1px; background: var(--hairline); border: 0; margin: 0; }
.rule--cream { background: rgba(255,253,245,.18); }

.section { padding: 96px 64px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.section--tight { padding: 72px 64px; min-height: 100vh; }
.section--forest { background: var(--forest); color: var(--cream); }
.section--warm   { background: var(--cream-warm); }
.section--cream  { background: var(--cream); }
.section__inner  { max-width: 1180px; margin: 0 auto; }

/* ---------- statement band — full-width forest pause between sections ---------- */
.statement {
  position: relative;
  background: #3B542A; color: var(--cream);
  padding: clamp(120px, 18vh, 220px) 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
}
.statement__lines { display: flex; flex-direction: column; gap: 6px; }
.statement__line {
  font: 400 clamp(40px, 6vw, 100px)/1.04 var(--font-display);
  letter-spacing: var(--tr-display); color: var(--cream);
  text-wrap: balance;
}
.statement__caption {
  position: absolute; left: 64px; bottom: 40px;
  font: 500 11px/1.5 var(--font-label); letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,253,245,.55);
}
@media (max-width: 860px) {
  .statement { padding: clamp(88px, 14vh, 140px) 32px; }
  .statement__caption { left: 32px; bottom: 28px; }
}

/* ---------- How It Works — single full-bleed image panel, the cycle over it ----------
   One calm placeholder image fills the home-hijack panel; a dark scrim keeps the
   cream text readable. A gold eyebrow, the three steps (Cormorant heading + Jost
   line) laid evenly across, and the Discover cue. Steps stack on mobile. */
.how-it {
  position: relative;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--cream);
  background: var(--forest);
}
.how-it__img {
  position: absolute; inset: 0; z-index: 0;
  background-color: #2c2922; background-size: cover; background-position: center;
}
.how-it__ph {
  position: absolute; left: clamp(24px, 5vw, 56px); bottom: 20px; z-index: 2;
  font: 400 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: .12em; color: rgba(255,253,245,.42);
}
.how-it__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8,7,10,.42) 0%, rgba(8,7,10,.28) 35%, rgba(8,7,10,.52) 66%, rgba(8,7,10,.82) 100%);
}
.how-it__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: 1180px; padding: 0 6vw;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(32px, 5vh, 60px);
}
.how-it__eyebrow {
  font: 500 13px/1 var(--font-label); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-soft); white-space: nowrap;
}
.how-it__steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 76px); width: 100%;
}
.how-it__step { display: flex; flex-direction: column; align-items: center; }
.how-it__step::before {
  content: ""; width: 26px; height: 1px; background: var(--gold);
  margin-bottom: clamp(16px, 2.4vh, 26px); opacity: .85;
}
.how-it__step h3 {
  margin: 0 0 12px; color: var(--cream); letter-spacing: .01em;
  font: 300 clamp(24px, 2.4vw, 34px)/1.12 var(--font-display);
}
.how-it__step p {
  margin: 0; max-width: 30ch;
  font: 300 clamp(13px, 1vw, 15px)/1.65 var(--font-label);
  color: rgba(255,253,245,.82);
}
.how-beat__cue {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; min-height: 44px;
  font: 500 12px/1 var(--font-label); letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  padding: 14px 26px; border-radius: var(--r-sm);
  border: 1px solid var(--gold);
  background: rgba(178,145,74,.08);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  transition: background var(--d-base) var(--ease-quiet), color var(--d-base) var(--ease-quiet),
              letter-spacing var(--d-base) var(--ease-quiet);
}
.how-beat__cue:hover {
  background: var(--gold); color: var(--forest-deep);
  letter-spacing: .3em;
}

@media (max-width: 760px) {
  /* Centre the whole cycle on mobile: eyebrow, three headings, three lines, cue. */
  .how-it__inner { align-items: center; text-align: center; gap: clamp(28px, 5vh, 48px); }
  .how-it__steps { grid-template-columns: 1fr; gap: clamp(22px, 4vh, 34px); }
  .how-it__step { align-items: center; text-align: center; }
  .how-it__step::before { margin-bottom: 12px; }
  .how-it__step p { max-width: 100%; }
}

/* ---------- "The Invitation" — the join moment, full-bleed story-beat panel ----------
   The one panel about people, not the dish. A warm company-at-the-table image
   under a top+bottom scrim with a centre vignette; centred eyebrow, headline,
   sub-line and the locked JOIN button. Fits 100dvh; headline wraps on mobile. */
.invite {
  position: relative;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--cream);
  background: #2c2922;   /* neutral fallback — image covers fully, no green flash */
}
.invite__img {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat; background-position: 58% 52%;
  transform: translateZ(0) scale(1.08); backface-visibility: hidden;
}
.invite__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(125% 78% at 50% 50%, rgba(8,7,10,.56) 0%, rgba(8,7,10,.30) 46%, rgba(8,7,10,.08) 100%),
    linear-gradient(to bottom, rgba(8,7,10,.46) 0%, rgba(8,7,10,0) 28%, rgba(8,7,10,0) 68%, rgba(8,7,10,.56) 100%);
}
.invite__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  max-width: 880px; padding: 0 28px;
}
.invite__eyebrow {
  font: 300 12px/1 var(--font-label); letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold);
}
.invite__title {
  font: 300 clamp(34px, 5.2vw, 64px)/1.08 var(--font-display);
  letter-spacing: var(--tr-display); margin: 0; color: var(--cream); text-wrap: balance;
}
.invite__sub {
  font: 300 clamp(15px, 1.5vw, 19px)/1.5 var(--font-label);
  color: rgba(255,253,245,.78); margin: 0;
}
/* CTA reuses the Sunday Drop cue style (.how-beat__cue); no extra overrides. */
.invite__cta { margin-top: 16px; }

@media (max-width: 760px) {
  .invite__inner { gap: 15px; }
  .invite__title { letter-spacing: .005em; }
}

.h-display { font: var(--t-display); letter-spacing: var(--tr-display); margin: 0; text-wrap: balance; }
.h1        { font: var(--t-h1);      letter-spacing: var(--tr-display); margin: 0; text-wrap: balance; }
.h2        { font: var(--t-h2);      letter-spacing: var(--tr-display); margin: 0; text-wrap: balance; }
.lede      { font: var(--t-lede);    letter-spacing: 0; color: var(--fg-muted); margin: 0; max-width: 38ch; text-wrap: pretty; }
.lede--cream { color: rgba(255,253,245,.78); }

/* ---------- nav ---------- */
.nav {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  column-gap: clamp(10px, 3vw, 24px);
  padding: 18px 48px;
  padding-top: max(18px, env(safe-area-inset-top));
  transition: background var(--d-base) var(--ease-quiet),
              color var(--d-base) var(--ease-quiet),
              border-color var(--d-base) var(--ease-quiet);
  border-bottom: 1px solid transparent;
}
.nav--transparent { color: var(--cream); }
.nav--cream { background: var(--cream); color: var(--forest); border-bottom-color: var(--hairline); }

/* Home, scroll-hijacked: transparent bar, tone adapts to the active panel.
   on-dark = over imagery/forest (cream text + a faint top scrim for legibility);
   on-light = over a cream panel (forest text, no bar so the image dominates). */
.nav--on-dark {
  color: var(--cream);
  background: none;
  border-bottom-color: transparent;
}
/* Scrim lives on a taller pseudo so the fade ends BELOW the wordmark, not at it. */
.nav--on-dark::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 150px;
  pointer-events: none; z-index: -1;
  background: linear-gradient(to bottom,
    rgba(8,7,10,.72) 0%, rgba(8,7,10,.54) 32%, rgba(8,7,10,.32) 58%,
    rgba(8,7,10,.12) 82%, rgba(8,7,10,0) 100%);
}
.nav--on-light { color: var(--forest); background: transparent; border-bottom-color: transparent; }

/* Wordmark — subtle, refined, identical on every panel. Thin-weight Cormorant,
   small, top-centre in the fixed nav; it sits quietly and lets the image lead. */
.nav__brand {
  font: 500 40px/1 var(--font-display); letter-spacing: .005em;
  text-align: center; justify-self: center; display: inline-block; padding: 8px 0;
  text-decoration: none; color: inherit;
  transition: opacity var(--d-base) var(--ease-quiet), color var(--d-base) var(--ease-quiet);
}
.nav__left  { justify-self: start; display: flex; align-items: center; gap: 22px; }
.nav__divide { width: 1px; height: 18px; background: currentColor; opacity: 0.28; }
.nav__right { justify-self: end;   display: flex; align-items: center; gap: 22px; }

/* Quiet secondary member-login link — text only, never a second button.
   Inherits the nav tone (green on cream, cream over the hero), gold on hover. */
.nav__login {
  font: 500 11px/1 var(--font-label); letter-spacing: .18em; text-transform: uppercase;
  color: var(--forest); opacity: .7; text-decoration: none; white-space: nowrap;
  transition: opacity var(--d-fast) var(--ease-quiet), color var(--d-fast) var(--ease-quiet);
}
.nav--transparent .nav__login { color: var(--cream); }
.nav--on-dark .nav__login { color: var(--cream); }
.nav--on-light .nav__login { color: var(--forest); }
.nav__login:hover { opacity: 1; color: #B2914A; }

/* The wordmark is now ALWAYS visible (top-centre, every panel) — no fade. */
.nav--menu-open .nav__right { opacity: 0; pointer-events: none; transition: opacity 240ms var(--ease-quiet); }

/* Over dark/image panels the Join CTA inverts to cream so it reads against the image. */
.nav--transparent .nav__right .btn--forest,
.nav--on-dark .nav__right .btn--forest { background: var(--cream); color: var(--forest); }
.nav--transparent .nav__right .btn--forest:hover,
.nav--on-dark .nav__right .btn--forest:hover { background: var(--cream-warm); }

/* ---------- burger ---------- */
.burger {
  width: 44px; height: 44px; background: transparent; border: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; cursor: pointer; color: currentColor; padding: 0;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor; border-radius: 1px;
  transition: transform var(--d-base) var(--ease-quiet),
              opacity var(--d-fast) var(--ease-quiet);
  transform-origin: center;
}
.burger:hover span { background: var(--gold); }
/* When open the burger is an × — lightened to match the modal close: thin, muted, gold on hover. */
.burger--open span { height: 1px; background: color-mix(in oklab, var(--forest) 52%, transparent); }
.burger--open:hover span { background: var(--gold); }
.burger--open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger--open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- full-screen menu overlay ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: var(--cream); color: var(--forest);
  padding: clamp(80px, 10vh, 116px) clamp(28px, 6vw, 96px) clamp(22px, 3.5vh, 44px);
  display: flex; flex-direction: column; justify-content: stretch; gap: clamp(14px, 2.4vh, 32px);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 520ms var(--ease-quiet);
  pointer-events: none;
}
.menu-overlay--open { clip-path: inset(0 0 0 0); pointer-events: auto; }

.menu-overlay__list {
  list-style: none; padding: 0; margin: 0;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
}
.menu-overlay__list li {
  flex: 1 1 0; display: flex;
  opacity: 0; transform: translateY(12px);
  transition: opacity 520ms var(--ease-quiet), transform 520ms var(--ease-quiet);
}
.menu-overlay--open .menu-overlay__list li { opacity: 1; transform: translateY(0); }

.menu-overlay__link {
  flex: 1; width: 100%;
  display: grid; grid-template-columns: 84px 1fr; align-items: center;
  border-top: 1px solid var(--hairline);
  text-decoration: none; color: var(--forest);
  transition: color var(--d-fast) var(--ease-quiet);
}
.menu-overlay__list li:last-child .menu-overlay__link { border-bottom: 1px solid var(--hairline); }
.menu-overlay__link:hover { color: var(--gold); }
.menu-overlay__link--active { color: var(--gold); }
.menu-overlay__num {
  font: 400 11px/1 var(--font-label);
  letter-spacing: .2em; font-variant-numeric: tabular-nums;
  color: var(--gold); opacity: .68;
  align-self: center;
}
.menu-overlay__link--active .menu-overlay__num { opacity: 1; }
.menu-overlay__label {
  font: 400 clamp(30px, 4.6vh, 72px)/1.05 var(--font-display);
  letter-spacing: .005em;
  position: relative;
  display: inline-block;
  justify-self: start;     /* grid item: shrink to content, don't fill 1fr */
  width: max-content;
  padding-bottom: 6px;
}
.menu-overlay__label::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 520ms var(--ease-quiet);
}
.menu-overlay__link:hover .menu-overlay__label::after { transform: scaleX(1); }

.menu-overlay__footer {
  display: flex; justify-content: space-between;
  font: 500 11px/1 var(--font-label);
  letter-spacing: .22em; text-transform: uppercase;
  opacity: .55;
  padding-top: clamp(16px, 2.4vh, 24px);
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ---------- scroll-hijack — locked one-panel-per-gesture slideshow ----------
   On the home route the native scroll is disabled (body locked) and a fixed
   track of full-viewport panels is translated one panel per gesture by
   ScrollHijack.jsx. The track sits at z-index 0 so the fixed nav (z 50) and
   WhatsApp FAB (z 60) layer above it and stay functional on every panel. */
html.hijack-home, html.hijack-home body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;            /* we drive panel advance from touch ourselves */
}
.hijack {
  position: fixed; inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--cream);     /* cream fallback — never a green band behind panels */
}
.hijack__track {
  transform: translate3d(0, 0, 0);
  transition: transform 720ms cubic-bezier(0.65, 0, 0.18, 1);  /* glide & settle — ease-in-out, never bouncy */
  will-change: transform;
}
.hijack__panel {
  height: 100vh; height: 100dvh;
  overflow: hidden;              /* hard lock — content must fit 100dvh, no exceptions */
  position: relative;
}
/* The final panel (footer) is short — centre it in its slot so it reads as a
   deliberate closing slide rather than top-anchored. */
.hijack__panel:last-child {
  display: flex; flex-direction: column; justify-content: center;
}

.snap-panel { min-height: 100vh; min-height: 100dvh; }

/* ---- Mobile (≤760px): home falls back to NATIVE vertical scroll. The hijack
   stays desktop-only; here panels stack and grow so tall ones never clip. ---- */
@media (max-width: 760px) {
  html.hijack-home, html.hijack-home body { height: auto; overflow: visible; overscroll-behavior: auto; touch-action: auto; }
  /* Document-level mandatory scroll-snap. The footer is the FINAL full-screen snap
     panel (sized to one screen below), so one swipe from testimonials lands on it
     and holds — reachable, no trap, no free-scroll. Desktop uses the JS transform
     hijack; this block is mobile-only. */
  html.hijack-home { scroll-snap-type: y mandatory; }
  .hijack { position: static; overflow: visible; }
  .hijack__track { transform: none !important; transition: none; will-change: auto; }
  .hijack__panel { height: auto; min-height: 100dvh; overflow: visible; scroll-snap-align: start; scroll-snap-stop: always; }
  .hijack__panel:last-child { display: block; }

  /* FOOTER as a one-screen snap panel: lock to 100dvh and compress its content so
     everything (links, legal, the "n." block, image tiles) fits with no internal
     scroll and nothing cut off. */
  .hijack__panel:last-child .footer {
    height: 100dvh; min-height: 0; overflow: hidden;
    grid-template-columns: 1fr; grid-template-rows: 1fr auto;
    padding-bottom: 0;
  }
  .hijack__panel:last-child .footer__text { padding: clamp(16px, 3vh, 40px) 22px clamp(10px, 1.6vh, 18px); }
  .hijack__panel:last-child .footer__nav { gap: clamp(4px, 0.9vh, 11px); }
  .hijack__panel:last-child .footer__navlink { padding: clamp(2px, 0.5vh, 7px) 0; font-size: clamp(12px, 1.7vh, 14px); }
  .hijack__panel:last-child .footer__legal { margin-top: clamp(8px, 1.4vh, 18px); }
  .hijack__panel:last-child .footer__legal a { padding: clamp(1px, 0.4vh, 6px) 0; }
  .hijack__panel:last-child .footer__sign { margin-top: clamp(10px, 1.8vh, 28px); padding-top: clamp(10px, 1.8vh, 24px); }
  .hijack__panel:last-child .footer__mono { font-size: clamp(24px, 3.6vh, 34px); }
  .hijack__panel:last-child .footer__tag { font-size: clamp(13px, 1.7vh, 16px); margin-top: 6px; }
  .hijack__panel:last-child .footer__contact { margin-top: clamp(6px, 1.2vh, 18px); }
  .hijack__panel:last-child .footer__creed { margin-top: clamp(8px, 1.4vh, 20px); font-size: clamp(9px, 1.3vh, 11px); }
  .hijack__panel:last-child .footer__media { grid-template-columns: 1fr 1fr; height: clamp(110px, 20vh, 200px); }
  .hijack__panel:last-child .footer__slot { aspect-ratio: auto; height: 100%; }

  /* stronger hero scrim so the "A meal is more than fuel." caption reads on a bright phone */
  .hero__veil {
    background:
      linear-gradient(360deg, rgba(8,7,10,.74) 0%, rgba(8,7,10,.52) 18%, rgba(8,7,10,.26) 38%, rgba(8,7,10,.07) 54%, rgba(8,7,10,0) 68%),
      radial-gradient(80% 60% at 50% 100%, rgba(8,7,10,.50) 0%, rgba(8,7,10,.16) 48%, rgba(8,7,10,0) 78%);
  }
  /* tap targets ≥44px */
  .nav .btn { min-height: 44px; }
  .btn { min-height: 44px; }
  /* Footer links — tightened on mobile so the whole footer fits one screen. */
  .footer__navlink { padding: 9px 0; }
  .footer__legal { gap: 20px; }
  .footer__legal a { padding: 6px 0; }
  .footer__contact a { padding: 5px 0; }
  .footer__sign { padding-top: clamp(20px, 3vh, 32px); }
  .quote-card__dots { gap: 18px; }
}

/* ---------- hero — Panel 1: single full-bleed image, sharp on arrival ----------
   A clean, sharp food image fills the panel; the "nourrir." wordmark rests over
   its darker lower portion above a permanent bottom scrim, with a quiet scroll
   cue centred at the foot. No slider, no blur — calm and editorial. The brand
   wordmark lives in the nav now; the hero is image + scrim + cue only. */
.hero {
  position: relative;
  height: 100vh; height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  padding: 96px 48px 11vh;
  color: var(--cream); text-align: center;
  background: #0c0a08;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 50%;
  transform-origin: center 55%;
  backface-visibility: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  /* slow, subtle breathing zoom — never snaps back */
  .hero__media { animation: hero-zoom 26s ease-in-out infinite alternate; }
}
@keyframes hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
/* Bottom scrim — keeps the quiet scroll cue legible over the image. */
.hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(360deg, rgba(8,7,10,.58) 0%, rgba(8,7,10,.40) 16%, rgba(8,7,10,.20) 32%, rgba(8,7,10,.06) 46%, rgba(8,7,10,0) 58%),
    radial-gradient(78% 60% at 50% 100%, rgba(8,7,10,.40) 0%, rgba(8,7,10,.14) 48%, rgba(8,7,10,0) 78%);
}

/* quiet scroll cue — small, muted word + thin chevron, gentle bob */
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 9px;
  background: none; border: 0; padding: 8px 10px; cursor: pointer;
  color: var(--cream); opacity: 1;
  filter: drop-shadow(0 1px 6px rgba(8,7,10,.45));
  transition: opacity var(--d-base) var(--ease-quiet);
}
.hero__scroll:hover { opacity: 1; animation: none; }
.hero__scroll-label { font: 400 clamp(16px, 4.4vw, 18px)/1.2 var(--font-display); letter-spacing: .01em; text-shadow: 0 1px 16px rgba(8,7,10,.6), 0 1px 3px rgba(8,7,10,.55); }
.hero__scroll-chev { display: block; width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  /* gentle bob on the chevron only — the label reads as steady text */
  .hero__scroll-chev { animation: hero-bob 2600ms var(--ease-quiet) infinite; }
}
@keyframes hero-pulse {
  0%, 100% { opacity: .86; }
  50%      { opacity: 1; }
}
@keyframes hero-bob {
  0%, 100% { transform: translateY(0); opacity: .86; }
  50%      { transform: translateY(5px); opacity: 1; }
}

@media (max-width: 860px) {
  .hero { padding: 96px 32px 12vh; }
}
/* Mobile portrait: tighter crop so the bowl + sauce pour dominate the frame,
   and a guaranteed full-bleed fill (scaling up never reveals an edge). */
@media (max-width: 760px) {
  .hero { height: 100dvh; }
  .hero__media {
    animation: none;
    background-position: 50% 46%;
    transform: scale(1.18); transform-origin: 50% 46%;
  }
}

/* ---------- Panel 5 — Why The Table: dark forest full-screen statement ----------
   A calm full-viewport panel on forest green. Cream type, gold line icons. A
   centred header up top; four principles in a 2×2 grid (stacked on mobile),
   sized with viewport-relative spacing so the whole statement sits inside one
   screen without clipping on desktop or mobile. */
.why-table {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(72px, 11vh, 132px) 48px;
  text-align: center;
}
.why-table__inner {
  width: 100%; max-width: 1060px;
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(44px, 7vh, 84px);
}
.why-table__head {
  font: 400 clamp(36px, 5vw, 62px)/1.05 var(--font-display);
  letter-spacing: var(--tr-display);
  color: var(--cream); margin: 0;
}
.why-table__head em { font-style: italic; }   /* Cormorant italic for "The Table" */

.why-table__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6.5vh, 76px) clamp(48px, 8vw, 128px);
  width: 100%;
}
.why-point {
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  max-width: 340px; margin: 0 auto;
}
.why-point__icon { color: var(--gold); display: flex; line-height: 0; }
.why-point__title {
  font: 400 clamp(24px, 2.6vw, 32px)/1.1 var(--font-display);
  letter-spacing: var(--tr-display); color: var(--cream); margin: 0;
}
.why-point__copy {
  font: 300 15px/1.6 var(--font-label);
  color: color-mix(in oklab, var(--cream) 76%, var(--forest));
  margin: 0; max-width: 30ch; text-wrap: pretty;
}

@media (max-width: 720px) {
  .why-table { padding: 92px 26px 76px; }
  .why-table__grid { grid-template-columns: 1fr; gap: clamp(28px, 4.2vh, 40px); }
  .why-point { max-width: 360px; gap: 11px; }
  .why-point__copy { font-size: 14px; }
}

/* ---------- "This week's plates" — full-bleed three-image wall ----------
   Three equal images butted edge to edge fill the whole 100dvh panel: no gaps,
   no padding, no panel background showing — the images ARE the panel. Each is a
   link to /build with a small low-centre label over a faint bottom scrim, and a
   slow zoom on hover. Desktop: three columns; mobile: three stacked rows, each a
   third of the panel height so all three read at once with no internal scroll. */
.plates-wall {
  display: grid;
  grid-template-columns: 1fr 1.45fr 1fr;   /* The Plates (centre) dominates; sides split the rest */
  height: 100vh; height: 100dvh;
  background: #2c2922;             /* neutral fallback — images cover fully, no green flash */
  overflow: hidden;
}
.plates-wall__col {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  text-decoration: none;
  transform: translateZ(0);              /* stable compositing context — no flicker during the track transform */
  backface-visibility: hidden;
}
.plates-wall__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1500ms var(--ease-quiet);
  backface-visibility: hidden;
}
/* promote to its own layer only while zooming, so it isn't a persistent
   always-on layer that flashes during the panel-to-panel translate3d. */
.plates-wall__col:hover .plates-wall__img { transform: scale(1.05); will-change: transform; }
.plates-wall__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,7,10,.74) 0%, rgba(8,7,10,.34) 24%, rgba(8,7,10,.06) 46%, rgba(8,7,10,0) 62%);
}
.plates-wall__label {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding-bottom: clamp(44px, 8vh, 92px); text-align: center;
}
.plates-wall__name {
  font: 400 clamp(28px, 2.5vw, 40px)/1 var(--font-display);
  color: var(--cream); letter-spacing: .01em;
}
.plates-wall__cue {
  font: 300 12px/1 var(--font-label); letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
  transition: color var(--d-base) var(--ease-quiet);
}
.plates-wall__col:hover .plates-wall__cue { color: var(--cream); }

/* ---------- menu dish card — full-bleed photo, caption beneath on cream ---------- */
.menu-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dish-card { display: flex; flex-direction: column; }
.dish-card__img {
  aspect-ratio: 4/5; background-size: cover; background-position: center;
  background-color: var(--cream-warm); overflow: hidden;
}
.dish-card__body { padding: 18px 2px 0; display: flex; flex-direction: column; gap: 6px; }
.dish-card__name { font: 400 25px/1.1 var(--font-display); margin: 0; }
.dish-card__desc { font: 500 italic 14px/1.5 var(--font-display); opacity: .76; margin: 0; text-wrap: pretty; }
.dish-card__meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 4px; }
.dish-card__price { font: 500 15px/1 var(--font-label); letter-spacing: .04em; opacity: .6; }

/* ---------- full-bleed editorial band — breaks the cream column ---------- */
.bleed {
  position: relative;
  min-height: 84vh;
  background-size: cover; background-position: center;
  background-color: #0c0a08;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.bleed__grad {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,7,10,.66) 0%, rgba(8,7,10,.12) 46%, rgba(8,7,10,.30) 100%);
}
.bleed__inner { position: relative; z-index: 1; padding: 72px 64px; color: var(--cream); max-width: 880px; }
.bleed__line { font: 400 clamp(34px, 4.4vw, 60px)/1.06 var(--font-display); letter-spacing: var(--tr-display); margin: 14px 0 0; text-wrap: balance; }

/* ---------- membership benefits — full-bleed image grid, infinite loop ---------- */
.benefits { display: flex; flex-direction: column; gap: 8px; }
.benefits-row { position: relative; }
.benefits-track {
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab; user-select: none;
}
.benefits-track::-webkit-scrollbar { display: none; }
.benefits-track--dragging { cursor: grabbing; }
.benefits-track--dragging .benefit * { pointer-events: none; }
.benefits-inner { display: flex; gap: 8px; width: max-content; }
/* middle row shifted half a tile so it bricks against its neighbours; the
   transform is visual only, so snap still lands cleanly on whole tiles */
.benefits-track--stagger .benefits-inner { transform: translateX(calc(-1 * clamp(154px, 16vw, 234px))); }

.benefit {
  position: relative;
  flex: 0 0 clamp(300px, 32vw, 460px);
  aspect-ratio: 3/2; overflow: hidden;
  background: #2c2922;   /* neutral fallback — image covers, no green flash */
}
.benefit__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1400ms var(--ease-quiet);
}
.benefit:hover .benefit__img { transform: scale(1.05); }
.benefit__grad {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,7,10,.40) 0%, rgba(8,7,10,.30) 45%, rgba(8,7,10,.52) 100%);
}
.benefit__label {
  position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 28px;
}
.benefit__text {
  font: 400 clamp(22px, 1.9vw, 31px)/1.16 var(--font-display);
  letter-spacing: .005em; color: var(--cream);
  max-width: 15ch; text-wrap: balance;
}

/* placeholder image slot — replace by setting `img` on the row entry */
.benefit--placeholder { background: var(--forest); }
.benefit__ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--cream);
  background: repeating-linear-gradient(45deg, rgba(255,253,245,.03) 0 12px, rgba(255,253,245,0) 12px 24px);
  border: 1px solid rgba(255,253,245,.14);
}
.benefit__ph-eyebrow { font: 500 10.5px/1 var(--font-label); letter-spacing: .26em; text-transform: uppercase; opacity: .55; }
.benefit__ph-num { font: 400 34px/1 var(--font-display); opacity: .7; }

.benefits-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 999px; border: 0;
  background: rgba(255,253,245,.92); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -10px rgba(8,7,10,.55);
  transition: background var(--d-fast) var(--ease-quiet), transform var(--d-fast) var(--ease-quiet);
}
.benefits-arrow:hover { background: var(--cream); color: var(--gold); }
.benefits-arrow:active { transform: translateY(-50%) scale(.95); }
.benefits-arrow--prev { left: 20px; }
.benefits-arrow--next { right: 20px; }

/* ---------- founding price — single centred statement ---------- */
.founding { text-align: center; }
.founding__inner {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}
.founding__title {
  font: 400 clamp(40px, 4.6vw, 76px)/1.02 var(--font-display);
  letter-spacing: var(--tr-display); color: #3B542A; margin: 0;
}
.founding__price {
  font: 500 clamp(64px, 9vw, 128px)/1 var(--font-display);
  letter-spacing: .005em; color: var(--forest); margin: 28px 0 0;
}
.founding__per { font-size: 0.34em; opacity: .55; margin-left: 6px; }
.founding__sub {
  font: 400 19px/1.6 var(--font-label); color: var(--fg-muted);
  margin: 28px 0 0; max-width: 52ch; text-wrap: pretty;
}
.founding__scarcity {
  font: 500 15px/1.5 var(--font-label); letter-spacing: .04em;
  color: #B2914A; margin: 24px 0 0; text-wrap: balance;
}
.founding__cta { margin-top: 44px; }

/* ---------- testimonials — full-bleed image with a floating cream quote-card ----------
   The image stays fixed; the quote + member rotate via the dots. Card floats
   right and vertically centred on desktop; centres and sits lower on mobile.
   Lifted off the image with a hairline + a very soft shadow — premium, not heavy. */
.quote-panel {
  position: relative;
  height: 100vh; height: 100dvh;
  overflow: hidden;
  background: #2c2922;   /* neutral fallback — image covers fully, no green flash */
}
.quote-panel__img {
  position: absolute; inset: 0;
  background-size: cover; background-repeat: no-repeat;
  background-position: 50% 40%;                /* one full image; stamp/seal sits in the upper area */
  transform: translateZ(0) scale(1.05); backface-visibility: hidden;
}
.quote-panel__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(8,7,10,.52) 0%, rgba(8,7,10,.16) 32%, rgba(8,7,10,0) 60%);
}
.quote-card {
  position: absolute; top: 50%; right: clamp(32px, 6vw, 104px); transform: translateY(-50%);
  width: min(620px, 50vw); margin: 0;
  background: var(--cream); border-radius: 18px;
  border: 0.5px solid rgba(8,7,10,.10);
  box-shadow: 0 34px 70px -34px rgba(8,7,10,.40);
  padding: 60px 56px;
  display: flex; flex-direction: column; gap: 28px;
}
.quote-card__eyebrow {
  font: 300 11px/1 var(--font-label); letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold);
}
.quote-card__rot { display: flex; flex-direction: column; gap: 24px; }
@media (prefers-reduced-motion: no-preference) {
  .quote-card__rot { animation: quote-fade 520ms var(--ease-quiet); }
}
@keyframes quote-fade {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: none; }
}
.quote-card__quote {
  font: 300 italic 32px/1.4 var(--font-display);
  color: var(--forest); margin: 0; text-wrap: pretty;
}
.quote-card__by { display: flex; align-items: center; gap: 13px; margin: 0; }
.quote-card__avatar {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px;
  background: var(--forest); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font: 400 19px/1 var(--font-display);
}
.quote-card__who { display: flex; flex-direction: column; gap: 4px; }
.quote-card__name { font: 400 22px/1 var(--font-display); color: var(--forest); }
.quote-card__role { font: 300 12px/1 var(--font-label); letter-spacing: .04em; color: var(--fg-muted); }
.quote-card__dots { display: flex; gap: 8px; margin-top: 2px; }
.quote-card__dot {
  width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0;
  position: relative;
  background: rgba(59,84,42,.22); cursor: pointer;
  transition: background var(--d-base) var(--ease-quiet), width var(--d-base) var(--ease-quiet);
}
.quote-card__dot.is-active { background: var(--gold); width: 20px; }
/* enlarge the tap area to ~39px without changing the visual dot */
.quote-card__dot::after { content: ""; position: absolute; inset: -16px; }

@media (max-width: 760px) {
  /* Stamp pinned to the upper third; the card sits at the foot and never overlaps it. */
  .quote-panel__img { background-position: 50% 24%; background-size: cover; }
  .quote-card {
    top: auto; bottom: max(24px, env(safe-area-inset-bottom));
    left: 16px; right: 16px; width: auto; transform: none;
    padding: 28px 24px; gap: 16px;
  }
  .quote-card__rot { gap: 18px; }
  .quote-card__quote { font-size: 19px; }
}

.ritual {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  padding-top: 40px;
  align-items: flex-start;
}
.ritual__line {
  position: absolute; left: 0; right: 0; top: 12px;
  height: 1px; background: rgba(255,253,245,.18);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1400ms var(--ease-quiet);
}
.ritual--in .ritual__line { transform: scaleX(1); }

.ritual-step { display: flex; flex-direction: column; gap: 14px; position: relative; padding-top: 14px; }
.ritual-step__dot {
  position: absolute; top: -32px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gold);
  opacity: 0; transform: scale(0.4);
  transition: opacity var(--d-base) var(--ease-quiet), transform var(--d-base) var(--ease-quiet);
  /* dots reveal staggered after the line has drawn under them */
  transition-delay: calc(220ms + var(--step-i) * 220ms);
}
.ritual--in .ritual-step__dot { opacity: 1; transform: scale(1); }

.ritual-step__day  { font: 500 11px/1.5 var(--font-label); letter-spacing: .22em; text-transform: uppercase; opacity: .65; }
.ritual-step__what { font: 400 22px/1.15 var(--font-display); margin: 0; }
.ritual-step__note { font: 500 italic 13px/1.4 var(--font-display); opacity: .75; }

.ritual-step__day,
.ritual-step__what,
.ritual-step__note {
  opacity: 0; transform: translateY(8px);
  transition: opacity 520ms var(--ease-quiet), transform 520ms var(--ease-quiet);
  transition-delay: calc(360ms + var(--step-i) * 220ms);
}
.ritual--in .ritual-step__day  { opacity: .65; transform: translateY(0); }
.ritual--in .ritual-step__what { opacity: 1;   transform: translateY(0); }
.ritual--in .ritual-step__note { opacity: .75; transform: translateY(0); }

/* ---------- corporate ---------- */
.corporate { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.corporate__img { aspect-ratio: 4/5; background-size: cover; background-position: center; border-radius: var(--r-md); }

/* ---------- newsletter ---------- */
.newsletter { background: var(--forest); color: var(--cream); padding: 64px; border-radius: var(--r-md); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.newsletter__form { display: flex; gap: 8px; align-items: stretch; }
.newsletter__input {
  background: transparent; border: 0;
  border-bottom: 1px solid rgba(255,253,245,.4);
  color: var(--cream); padding: 12px 4px;
  font: 400 14px/1 var(--font-label); outline: none;
  transition: border-color var(--d-fast);
}
.newsletter__input:focus { border-bottom-color: var(--gold); }
.newsletter__input::placeholder { color: rgba(255,253,245,.55); }

/* ---------- footer — Jacquemus split: text column left, two images right ---------- */
.footer { background: var(--forest); color: var(--cream); display: grid; grid-template-columns: minmax(300px, 34%) 1fr; min-height: clamp(560px, 80vh, 840px); padding-bottom: env(safe-area-inset-bottom); }
.footer__text { display: flex; flex-direction: column; padding: clamp(40px, 4vw, 72px); }
.footer__brand { font: 500 clamp(40px, 4.4vw, 64px)/1 var(--font-display); letter-spacing: .005em; }
.footer__tag { font: 500 italic clamp(15px, 1.4vw, 18px)/1.4 var(--font-display); opacity: .8; margin-top: 10px; }
.footer__nav { display: flex; flex-direction: column; gap: 11px; margin-top: auto; }
.footer__sign { margin-top: auto; padding-top: clamp(30px, 5vh, 56px); }
.footer__navlink { font: 300 13px/1 var(--font-label); letter-spacing: .04em; color: var(--cream); opacity: .82; text-decoration: none; align-self: flex-start; white-space: nowrap; cursor: pointer; transition: color var(--d-fast) var(--ease-quiet), opacity var(--d-fast) var(--ease-quiet); }
.footer__navlink:hover { opacity: 1; color: var(--gold); }
.footer__legal { display: flex; gap: 18px; margin-top: clamp(22px, 3vh, 34px); }
.footer__legal a { font: 300 11px/1 var(--font-label); letter-spacing: .06em; color: var(--cream); opacity: .5; text-decoration: none; transition: color var(--d-fast) var(--ease-quiet), opacity var(--d-fast) var(--ease-quiet); }
.footer__legal a:hover { opacity: .9; color: var(--gold); }
.footer__contact { display: flex; flex-direction: column; gap: 5px; margin-top: clamp(22px, 3vh, 34px); }
.footer__contact a { font: 300 12px/1.5 var(--font-label); letter-spacing: .04em; color: var(--cream); opacity: .7; text-decoration: none; align-self: flex-start; transition: color var(--d-fast) var(--ease-quiet), opacity var(--d-fast) var(--ease-quiet); }
.footer__contact a:hover { opacity: 1; color: var(--gold); }
.footer__creed { font: 300 11px/1.6 var(--font-label); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: .85; margin-top: clamp(20px, 3vh, 30px); }
.footer__mono { font: 500 34px/1 var(--font-display); color: var(--cream); }
.footer__media { display: grid; grid-template-columns: 1fr 1fr; }
.footer__slot { position: relative; overflow: hidden; background-color: #2c2922; background-size: cover; background-position: center; }
.footer__slot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(8,7,10,.42) 0%, rgba(8,7,10,0) 38%); }
.footer__slot .ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 400 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .1em; color: rgba(255,253,245,.4); }
.footer__slot .label { position: absolute; right: 18px; top: 16px; z-index: 1; font: 300 11px/1 var(--font-label); letter-spacing: .2em; text-transform: uppercase; color: rgba(255,253,245,.92); }
.hijack__panel:last-child .footer { min-height: 100vh; min-height: 100dvh; }

/* ---------- menu page ---------- */
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.menu-row {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 32px;
  padding: 28px 0; border-top: 1px solid var(--hairline); align-items: center;
}
.menu-row:last-child { border-bottom: 1px solid var(--hairline); }
.menu-row__img { aspect-ratio: 4/3; background-size: cover; background-position: center; border-radius: var(--r-sm); }
.menu-row__name { font: 400 30px/1.1 var(--font-display); margin: 0; }
.menu-row__desc { font: 500 italic 15px/1.5 var(--font-display); opacity: .78; margin: 6px 0 0; }
.menu-row__price { font: 500 26px/1 var(--font-display); }

/* ---------- how it works page ---------- */
.timeline { display: grid; grid-template-columns: 180px 1fr; gap: 32px; }
.timeline__day { font: 500 28px/1.1 var(--font-display); }
.timeline__time { font: 500 11px/1.4 var(--font-label); letter-spacing: .22em; text-transform: uppercase; opacity: .55; margin-top: 4px; }
.timeline__row { display: contents; }
.timeline__cell { padding: 28px 0; border-top: 1px solid var(--hairline); }
.timeline__what { font: 400 22px/1.4 var(--font-display); margin: 0; }
.timeline__note { font: 400 14px/1.5 var(--font-label); opacity: .7; margin-top: 8px; }

/* ---------- about ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-hero__img { aspect-ratio: 4/5; background-size: cover; background-position: center; }
.about-quote { font: 500 italic clamp(28px,3vw,44px)/1.25 var(--font-display); text-wrap: balance; }
.about-sig { font: 500 18px/1 var(--font-display); margin-top: 18px; opacity: .8; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; }
.contact-card { background: var(--cream-warm); border-radius: var(--r-md); padding: 36px; border: 1px solid var(--hairline); }
.contact-card__head { font: 500 11px/1 var(--font-label); letter-spacing: .22em; text-transform: uppercase; opacity: .6; margin-bottom: 14px; }
.contact-card__line { font: 500 18px/1.4 var(--font-display); }
.contact-card__lead { font: 500 italic 20px/1.4 var(--font-display); margin: 0 0 24px; }

/* ---------- utility ---------- */
.stack { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 24px; }
.gap-6 { gap: 32px; }
.gap-7 { gap: 48px; }
.row { display: flex; }
.between { justify-content: space-between; align-items: center; }
.center { align-items: center; }
.endmark { font: 500 28px/1 var(--font-display); color: var(--gold); }

/* ---------- email capture — two-column full bleed ---------- */
.capture {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--cream);
  overflow: hidden;
}
.capture__img {
  background-size: cover; background-position: center;
  width: 100%; height: 100%;
  min-height: 100vh;
}

.capture__panel {
  background: var(--cream); color: var(--forest);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px 80px;
}
.capture__inner { max-width: 480px; }
.capture__title { font: 400 clamp(40px, 5vw, 64px)/1.05 var(--font-display); letter-spacing: var(--tr-display); margin: 0 0 18px; text-wrap: balance; }
.capture__sub   { font: 300 18px/1.55 var(--font-label); opacity: .78; margin: 0 0 32px; max-width: 38ch; }

.capture__form { display: flex; flex-direction: column; gap: 14px; }
.capture__field {
  background: transparent; border: 0;
  border-bottom: 1px solid color-mix(in oklab, var(--forest) 25%, var(--cream));
  color: var(--forest); padding: 14px 2px;
  font: 400 16px/1 var(--font-label); outline: none;
  transition: border-color var(--d-fast);
}
.capture__field:focus { border-bottom-color: var(--forest); }
.capture__field::placeholder { color: color-mix(in oklab, var(--forest) 45%, var(--cream)); }
.capture__cta {
  margin-top: 10px;
  width: 100%; justify-content: center;
  background: var(--gold); color: var(--cream);
}
.capture__cta:hover { background: var(--gold-soft); }

.capture__done { display: flex; flex-direction: column; gap: 10px; color: var(--forest); }
.capture__done-line { font: 500 italic 24px/1.3 var(--font-display); }
.capture__done-meta { font: 500 11px/1 var(--font-label); letter-spacing: .22em; text-transform: uppercase; opacity: .65; }

@media (max-width: 900px) {
  .capture { grid-template-columns: 1fr; }
  .capture__img { min-height: 50vh; }
  .capture__panel { padding: 64px 32px; }
}

/* ---------- fixed WhatsApp button ---------- *
   Two layers stack: a forest "base" pill and a cream "invert" pill on top.
   JS sets a hard-edge CSS mask on the invert layer so the FAB inverts at
   the exact pixel boundary of any section transition behind it.            */
.whatsapp-fab-wrap {
  /* clear the 34px cream bottom strip (max(env,34)) with a ~14px gap above it */
  position: fixed; right: 24px; bottom: max(48px, calc(env(safe-area-inset-bottom) + 14px)); z-index: 60;
  display: inline-block;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 420ms var(--ease-quiet), visibility 0s linear 420ms;
}
.whatsapp-fab-wrap.is-revealed {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 420ms var(--ease-quiet);
  animation: whatsapp-pulse 3200ms var(--ease-quiet) infinite;
}
.whatsapp-fab-wrap::before {
  /* soft expanding gold ring — quiet attention-pull */
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(178,145,74,0.40);
  animation: whatsapp-ring 3200ms var(--ease-quiet) infinite;
  pointer-events: none;
}
.whatsapp-fab-wrap:hover  { animation-play-state: paused; }
.whatsapp-fab-wrap:hover::before { animation-play-state: paused; }
.whatsapp-fab-wrap:active { transform: translateY(1px); }

.whatsapp-fab {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; box-sizing: border-box;
  padding: 14px 22px; border-radius: 999px;
  font: 500 12px/1 var(--font-label); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 32px -14px rgba(8,7,10,.55);
  transition: background var(--d-fast) var(--ease-quiet);
}
.whatsapp-fab--base   { position: relative;  background: var(--forest); color: var(--cream);  }
.whatsapp-fab--invert { position: absolute; inset: 0; background: var(--cream); color: var(--forest); pointer-events: none; }
.whatsapp-fab-wrap:hover .whatsapp-fab--base   { background: var(--forest-soft); }
.whatsapp-fab-wrap:hover .whatsapp-fab--invert { background: var(--cream-warm);  }

@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}
@keyframes whatsapp-ring {
  0%   { box-shadow: 0 0 0 0   rgba(178,145,74,0.40); }
  70%  { box-shadow: 0 0 0 14px rgba(178,145,74,0); }
  100% { box-shadow: 0 0 0 0   rgba(178,145,74,0); }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab-wrap, .whatsapp-fab-wrap::before { animation: none; }
}

/* ---------- cookie consent ---------- */
.cookie-scrim {
  position: fixed; inset: 0; z-index: 69;
  background: rgba(28,26,22,.42);
  backdrop-filter: saturate(0.9) blur(1px);
  animation: cookie-fade 360ms var(--ease-quiet) both;
}
.cookie {
  position: fixed; left: 24px; bottom: 24px;
  z-index: 70; width: min(560px, calc(100vw - 48px));
  background: var(--cream); color: var(--forest);
  border: 1px solid var(--hairline); border-radius: var(--r-md);
  box-shadow: 0 24px 60px -20px rgba(8,7,10,.45), 0 4px 14px -6px rgba(8,7,10,.2);
  padding: 28px 30px 26px;
  animation: cookie-rise 560ms var(--ease-quiet) both;
}
.cookie__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.cookie__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-md);
  background: var(--cream-warm); color: var(--forest);
}
.cookie__manage {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: 500 11px/1 var(--font-label); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: border-color var(--d-fast) var(--ease-quiet);
}
.cookie__manage:hover { border-bottom-color: var(--gold); }
.cookie__title { font: 400 26px/1.15 var(--font-display); margin: 0 0 8px; }
.cookie__body { font: 400 14px/1.6 var(--font-label); color: var(--fg-muted); margin: 0 0 28px; text-wrap: pretty; }
.cookie__actions { display: flex; gap: 12px; }

/* Equal-weight buttons — both quiet hairline, neither pushed. Portal hover:
   green text/border resting → gold on hover with letter-spacing opening,
   deeper gold + slight scale on press. */
.cookie__btn {
  flex: 1; justify-content: center;
  display: inline-flex; align-items: center;
  font: 500 12px/1 var(--font-label);
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--forest); background: var(--cream);
  border: 0.5px solid color-mix(in oklab, var(--forest) 32%, var(--cream));
  border-radius: 999px;
  padding: 14px 22px; cursor: pointer;
  transition: color 0.3s var(--ease-quiet),
              border-color 0.3s var(--ease-quiet),
              letter-spacing 0.3s var(--ease-quiet),
              transform var(--d-fast) var(--ease-quiet);
}
.cookie__btn:hover { color: var(--gold); border-color: var(--gold); letter-spacing: 0.26em; }
.cookie__btn:active { color: var(--gold-deep, #8C6F33); border-color: var(--gold-deep, #8C6F33); transform: scale(0.985); }

@keyframes cookie-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cookie-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cookie, .cookie-scrim { animation: none; }
}
@media (max-width: 620px) {
  .cookie { left: 16px; right: 16px; bottom: 16px; width: auto; }
}

/* ============================================================
   Responsive — mobile-first reductions for ≤900px and ≤600px.
   Most clients land from the phone; everything must feel native.
   ============================================================ */

/* ---- Tablet & smaller (≤900px) ---- */
@media (max-width: 900px) {
  /* Frame */
  .section          { padding: 72px 28px; min-height: auto; }
  .section--tight   { padding: 56px 28px; min-height: auto; }
  .section__inner   { max-width: 100%; }
  .footer           { grid-template-columns: 1fr; min-height: 0; }
  .footer__text     { padding: 36px 24px 24px; }
  .footer__media    { grid-template-columns: 1fr 1fr; }
  .footer__slot     { aspect-ratio: 1/1; }
  .hijack__panel:last-child .footer { min-height: 100vh; min-height: 100dvh; }

  /* Nav */
  .nav              { padding: 14px 18px; padding-top: max(14px, env(safe-area-inset-top)); }
  .nav__brand       { font-size: 28px; }
  .nav .btn         { padding: 11px 16px; font-size: 11px; letter-spacing: .14em; }

  /* Menu overlay */
  .menu-overlay     { padding: 96px 28px 48px; }
  .menu-overlay__link { grid-template-columns: 48px 1fr; padding: 14px 0; }
  .menu-overlay__num  { font-size: 10px; }
  .menu-overlay__footer { flex-direction: column; gap: 6px; padding-top: 18px; }

  /* Hero */
  .hero             { height: 100vh; padding: 96px 28px 12vh; }

  /* This week's plates — three stacked rows, The Plates (centre) taller/dominant */
  .plates-wall      { grid-template-columns: 1fr; grid-template-rows: 1fr 1.45fr 1fr; }
  .plates-wall__name { font-size: 27px; }
  .plates-wall__label { padding-bottom: clamp(18px, 3.5vh, 32px); gap: 7px; }

  /* Menu dish cards */
  .menu-cards       { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dish-card__name  { font-size: 22px; }

  /* Full-bleed editorial bands */
  .bleed            { min-height: 64vh; }
  .bleed__inner     { padding: 48px 28px; }

  /* Plans — stack */
  .plans            { grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
  .plan             { padding: 28px 24px; }
  .plan--featured   { padding: 32px 24px; }
  .plan--featured .plan__price { font-size: 64px; }
  .plan__price      { font-size: 56px; }

  /* Testimonials */
  .testimonial      { flex: 0 0 280px; }
  .testimonial__quote { font-size: 18px; }
  .testimonials-track { padding-left: 28px; padding-right: 28px; }

  /* Corporate */
  .corporate        { grid-template-columns: 1fr; gap: 32px; }
  .corporate__img   { aspect-ratio: 4/3; max-height: 60vh; }

  /* Email capture */
  .capture          { grid-template-columns: 1fr; min-height: auto; }
  .capture__img     { min-height: 56vh; }
  .capture__panel   { padding: 56px 28px; }

  /* Menu page */
  .menu-row         { grid-template-columns: 120px 1fr; gap: 18px; padding: 18px 0; align-items: flex-start; }
  .menu-row > .row  { grid-column: 1 / -1; justify-content: space-between; }
  .menu-row__name   { font-size: 24px; }
  .menu-row__desc   { font-size: 14px; }
  .menu-grid        { grid-template-columns: 1fr; gap: 12px; }

  /* How it works timeline */
  .timeline         { grid-template-columns: 1fr; gap: 12px; }
  .timeline__cell   { padding: 20px 0; }
  .timeline__day    { font-size: 22px; }
  .timeline__what   { font-size: 18px; }

  /* About */
  .about-hero       { grid-template-columns: 1fr; gap: 28px; }
  .about-hero__img  { aspect-ratio: 4/3; max-height: 60vh; }
  .about-quote      { font-size: 26px; }

  /* Contact */
  .contact-grid     { grid-template-columns: 1fr; gap: 24px; }
  .contact-card     { padding: 28px 24px; }

  /* WhatsApp FAB — clears the cream bottom strip */
  .whatsapp-fab-wrap { right: 14px; bottom: max(48px, calc(env(safe-area-inset-bottom) + 14px)); }
  .whatsapp-fab     { padding: 12px 16px; font-size: 11px; letter-spacing: .14em; gap: 8px; }

  /* Page-level header padding (Menu/About/HowItWorks/Contact intro blocks) */
  /* They use inline 120px / 64px padding; override via a smaller global rule */
  body header[style] { padding: 100px 28px 40px !important; }
}

/* ---- Phone (≤600px) ---- */
@media (max-width: 600px) {
  .section, .section--tight { padding: 56px 20px; }

  .nav              { padding: 12px 14px; padding-top: max(12px, env(safe-area-inset-top)); }
  .nav__brand       { font-size: 24px; }
  .nav .btn         { padding: 10px 12px; font-size: 10.5px; letter-spacing: .12em; }
  .nav__right       { gap: 10px; }
  .nav__login       { display: none; }

  .menu-overlay     { padding: 88px 20px 36px; }

  .hero             { padding: 96px 20px 12vh; }

  .menu-cards       { grid-template-columns: 1fr; gap: 14px; }
  .bleed__inner     { padding: 40px 20px; }

  .plan__price      { font-size: 48px; }
  .plan--featured .plan__price { font-size: 56px; }

  .testimonial      { flex: 0 0 calc(100vw - 60px); max-width: 360px; }
  .testimonial__quote { font-size: 16px; }
  .testimonial__by  { font-size: 11px; letter-spacing: .16em; }
  .testimonials-track { padding-left: 20px; padding-right: 20px; }

  .menu-row         { grid-template-columns: 1fr; gap: 12px; }
  .menu-row__img    { aspect-ratio: 16/9; }

  .capture__panel   { padding: 48px 20px; }
  .capture__title   { font-size: 36px; }

  .footer__brand    { font-size: 52px; }
  .footer__tag      { font-size: 15px; }

  /* WhatsApp pill — slim down to icon-only label on phones, but keep words */
  .whatsapp-fab     { padding: 11px 14px; font-size: 10.5px; }
}

/* ---- Very small phones (≤430px): the Join CTA must never touch the wordmark ---- */
@media (max-width: 430px) {
  .nav              { column-gap: 8px; padding-left: 12px; padding-right: 12px; }
  .nav__brand       { font-size: 22px; }
  .nav .btn         { padding: 9px 10px; font-size: 10px; letter-spacing: .1em; gap: 5px; }
  .nav__right       { gap: 8px; }
}

/* ---- Standalone pages (waitlist · drop · taster · checkout) ---- */
@media (max-width: 600px) {
  .standalone        { padding: 32px 18px; }
  .standalone__brand { font-size: 30px; }
  .standalone__title { font-size: clamp(34px, 9vw, 44px); }
  .standalone__sub   { font-size: 17px; }
  .standalone__form  { padding: 24px 18px; gap: 10px; }
  .standalone__inner { padding: 40px 0; }
}

/* ============================================================
   Email-capture popup modal — "Join The Table"
   Locked portal aesthetic: cream card, hairline border, 18px radius.
   ============================================================ */
.tm-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(26, 31, 20, 0.62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: tm-fade 320ms var(--ease-quiet);
}
@keyframes tm-fade { from { opacity: 0; } to { opacity: 1; } }

.tm-card {
  position: relative;
  width: 100%; max-width: 432px;
  background: var(--cream);
  border: 1px solid var(--cream-edge);
  border-radius: 18px;
  box-shadow: 0 32px 80px -32px rgba(26, 31, 20, 0.55);
  padding: 64px 44px 52px;
  animation: tm-rise 420ms var(--ease-quiet);
}
@keyframes tm-rise {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tm-close {
  position: absolute; top: 18px; right: 18px;
  width: 30px; height: 30px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; color: var(--fg-muted); opacity: 0.55;
  border: 0; cursor: pointer;
  transition: color var(--d-fast) var(--ease-quiet),
              opacity var(--d-fast) var(--ease-quiet);
}
.tm-close:hover { color: var(--gold); opacity: 1; }

.tm-body { display: flex; flex-direction: column; }
.tm-title {
  font: 400 clamp(40px, 6vw, 52px)/1.0 var(--font-display);
  letter-spacing: var(--tr-display); color: var(--forest); margin: 0;
}
.tm-sub {
  font: 300 16px/1.5 var(--font-label); color: var(--fg-muted);
  margin: 12px 0 0; text-wrap: pretty;
}

.tm-form { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.tm-field {
  width: 100%;
  font: 300 15px/1 var(--font-label); color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--cream-edge); border-radius: 8px;
  padding: 15px 16px;
  transition: border-color var(--d-fast) var(--ease-quiet);
}
.tm-field::placeholder { color: var(--fg-muted); opacity: 0.8; }
.tm-field:focus { outline: none; border-color: var(--forest); }

/* Submit — pill. Portal hover: forest resting → gold on hover with the
   letter-spacing opening, deeper gold + slight scale on press. */
.tm-submit {
  margin-top: 6px;
  width: 100%;
  font: 500 13px/1 var(--font-label);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream); background: var(--forest);
  border: 0; border-radius: 999px;
  padding: 16px 22px; cursor: pointer;
  transition: background 0.3s var(--ease-quiet),
              letter-spacing 0.3s var(--ease-quiet),
              transform var(--d-fast) var(--ease-quiet);
}
.tm-submit:hover { background: var(--gold); letter-spacing: 0.30em; }
.tm-submit:active { background: var(--gold-deep, #8C6F33); transform: scale(0.985); }

.tm-fine {
  font: 300 11.5px/1.55 var(--font-label); color: var(--fg-muted);
  margin: 18px 0 0; text-wrap: pretty;
}

/* Confirmation state — same card, centred reveal */
.tm-body--done { align-items: flex-start; padding: 8px 0 6px; }
.tm-body--done .tm-sub { margin-top: 14px; max-width: 30ch; }

@media (max-width: 480px) {
  .tm-card { padding: 52px 26px 40px; border-radius: 16px; }
}

