/* ============================================================
   FitMyRecipe — Landing page
   Light / premium product surface. Warm ivory paper, forest ink,
   burgundy action, gold foil — with vivid produce accents.
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* brand */
  --forest:#0E2A23; --deep-green:#15382E; --pine:#1C4D3A;
  --burgundy:#7E0526; --burgundy-700:#660420;
  --gold:#D4AF37; --gold-soft:#C7B89A; --gold-deep:#B0892A;
  --cream:#F3E9D2; --ivory:#FBF6EC; --sage:#A9B7A0;

  /* paper / surfaces */
  --bg:#FCFBF8; --bg-warm:#F6F3EB; --bg-deep:#EFEBE0;
  --surface:#FFFFFF; --surface-tint:#FAF8F1; --surface-sel:#FBF4E2;

  /* ink */
  --fg:#14241D; --fg-2:#4C5B52; --fg-3:#8A968C; --fg-on-dark:#F3E9D2;
  --line:#EEEADF; --line-strong:#E4DCC9;

  /* vivid produce accents */
  --tomato:#E2462F; --carrot:#EE7A23; --citrus:#F2A900;
  --leaf:#3FA34D; --leaf-deep:#2E7D52; --beet:#9E2B57; --berry:#7E2D6B;

  /* tweakable */
  --accent:#2E7D52;           /* fresh highlight accent (tweak) */
  --accent-ink:#1d5a3a;
  --am:1;                      /* animation multiplier (tweak: lower=faster) */

  /* type */
  --display:'Playfair Display', Georgia, serif;
  --ui:'Inter', system-ui, -apple-system, sans-serif;

  /* radii */
  --r-sm:10px; --r-md:14px; --r-lg:18px; --r-xl:24px; --r-2xl:32px; --r-pill:999px;

  /* elevation */
  --sh-card:0 1px 2px rgba(20,30,22,.04), 0 10px 30px rgba(20,30,22,.07);
  --sh-lift:0 2px 6px rgba(20,30,22,.06), 0 24px 60px rgba(20,30,22,.12);
  --sh-fab:0 8px 22px rgba(126,5,38,.34);
  --gold-edge:0 0 0 1.5px var(--gold);

  /* motion */
  --ease:cubic-bezier(.22,.61,.36,1);
  --ease-soft:cubic-bezier(.4,0,.2,1);
  --dur:calc(420ms * var(--am));
  --dur-fast:calc(220ms * var(--am));
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; overflow-x:clip; }
body{
  margin:0; background:var(--bg); color:var(--fg);
  font-family:var(--ui); font-size:17px; line-height:1.6;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
::selection{ background:rgba(212,175,55,.32); color:var(--forest); }

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }

/* paper texture + warm vignette on the body */
body::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(212,175,55,.05), transparent 58%),
    radial-gradient(90% 70% at -10% 110%, rgba(46,125,82,.035), transparent 52%);
}
.grain{
  position:fixed; inset:0; z-index:1; pointer-events:none; opacity:.35; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

/* ---- type helpers ---- */
.display{ font-family:var(--display); font-weight:700; line-height:1.04; letter-spacing:-.02em; }
.serif{ font-family:var(--display); }
.overline{
  font-family:var(--ui); font-weight:600; font-size:13px; letter-spacing:.18em;
  text-transform:uppercase; color:#8A6A18;   /* AA-contrast bronze on light surfaces */
}
.premium-card .overline{ color:var(--gold); }   /* dark forest panel -> gold passes AA */
em.f{ font-style:italic; }

/* ---- layout ---- */
.wrap{ position:relative; z-index:2; }
.container{ width:min(1200px, 92vw); margin-inline:auto; }
section{ position:relative; }

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:60;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:18px clamp(20px,4vw,46px);
  transition:background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), padding var(--dur) var(--ease), backdrop-filter var(--dur);
}
.nav.solid{
  background:rgba(252,251,248,.86); backdrop-filter:blur(14px) saturate(1.1);
  box-shadow:0 1px 0 var(--line), 0 8px 30px rgba(20,30,22,.06);
  padding-top:13px; padding-bottom:13px;
}
.logo-img{ height:36px; width:auto; display:block; transition:height var(--dur) var(--ease); }
.nav.solid .logo-img{ height:31px; }
.footer .logo-img{ height:30px; }
.wordmark{ font-family:var(--display); font-weight:700; font-size:27px; letter-spacing:-.01em; display:flex; align-items:center; gap:2px; }
.wordmark .fit{ color:var(--forest); }
.wordmark .recipe{ color:var(--burgundy); }
.wordmark .hat{ width:22px; height:22px; margin:0 -2px 9px 0; transform:translateY(-2px); }
.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{ font-size:15px; font-weight:500; color:var(--fg-2); position:relative; padding:6px 0; transition:color var(--dur-fast); }
.nav-links a::after{ content:""; position:absolute; left:0; right:100%; bottom:0; height:1.5px; background:var(--accent); transition:right var(--dur) var(--ease); }
.nav-links a:hover{ color:var(--forest); }
.nav-links a:hover::after{ right:0; }
.nav-cta{ display:flex; align-items:center; gap:10px; }
.nav-burger{ display:none; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; background:var(--surface-tint); border:1px solid var(--line); color:var(--forest); cursor:pointer; }
.nav-burger:active{ transform:scale(.96); }

/* ---- buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-family:var(--ui); font-weight:600; font-size:15px; white-space:nowrap;
  border:none; border-radius:var(--r-md); padding:13px 22px;
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast);
}
.btn:active{ transform:scale(.975); }
.btn-primary{
  color:#fff; background:linear-gradient(180deg,#9A1838 0%,#7E0526 52%,#67041F 100%);
  box-shadow:0 0 0 1.5px var(--gold), inset 0 1px 0 rgba(255,255,255,.28), 0 10px 22px rgba(126,5,38,.32);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 0 0 1.5px #E8C24A, inset 0 1px 0 rgba(255,255,255,.3), 0 16px 34px rgba(126,5,38,.4); }
.btn-ghost{
  color:var(--forest); background:linear-gradient(180deg,#FFFDF8,#F4EBD8); border:1px solid var(--line-strong);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 4px 10px rgba(20,30,22,.06);
}
.btn-ghost:hover{ transform:translateY(-2px); box-shadow:0 10px 24px rgba(20,30,22,.1); }
.btn-green{ color:var(--cream); background:linear-gradient(180deg,#1E4D3D,#15382E 60%,#102A22); box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 8px 18px rgba(14,42,35,.3); }
.btn-green:hover{ transform:translateY(-2px); }
.btn-lg{ padding:16px 28px; font-size:16px; }

/* app store pills */
.store-row{ display:flex; gap:14px; flex-wrap:wrap; }
.store{
  display:inline-flex; align-items:center; gap:12px; padding:11px 20px 11px 17px;
  border-radius:var(--r-md); background:var(--forest); color:var(--cream);
  box-shadow:0 10px 24px rgba(14,42,35,.24); transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast);
}
.store:hover{ transform:translateY(-2px); box-shadow:0 16px 34px rgba(14,42,35,.32); }
.store svg{ width:26px; height:26px; flex:none; }
.store .s-small{ font-size:11px; opacity:.78; letter-spacing:.02em; line-height:1; }
.store .s-big{ font-size:17px; font-weight:600; font-family:var(--display); line-height:1.15; }

/* ============================================================
   HERO
   ============================================================ */
.hero{ padding:148px 0 90px; min-height:100vh; display:flex; align-items:center; }
.hero-grid{ display:grid; grid-template-columns:1.02fr 1fr; gap:48px; align-items:center; }
.hero-eyebrow{ display:inline-flex; align-items:center; gap:10px; margin-bottom:22px; }
.hero-eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.hero h1{
  font-family:var(--display); font-weight:700; font-size:clamp(44px, 5.6vw, 80px);
  line-height:1.02; letter-spacing:-.025em; margin:0 0 24px; color:var(--forest);
}
.hero h1 .swap{ position:relative; display:inline-block; color:var(--burgundy); font-style:italic; }
.hero h1 .swap::after{ content:""; position:absolute; left:0; right:0; bottom:.06em; height:.5em; background:linear-gradient(90deg, color-mix(in srgb,var(--accent) 34%,transparent), color-mix(in srgb,var(--citrus) 34%,transparent)); z-index:-1; border-radius:3px; transform:scaleX(0); transform-origin:left; transition:transform calc(700ms*var(--am)) var(--ease); }
.hero.in h1 .swap::after{ transform:scaleX(1); }
.hero p.lede{ font-size:20px; line-height:1.55; color:var(--fg-2); max-width:30em; margin:0 0 32px; }
.hero-actions{ display:flex; flex-direction:column; gap:18px; align-items:flex-start; }
.hero-note{ display:flex; align-items:center; gap:9px; font-size:13.5px; color:var(--fg-3); }
.hero-note b{ color:var(--leaf-deep); font-weight:600; }

/* reveal-on-load for hero text */
.hero .rise{ opacity:0; transform:translateY(26px); transition:opacity calc(700ms*var(--am)) var(--ease), transform calc(700ms*var(--am)) var(--ease); }
.hero.in .rise{ opacity:1; transform:none; }
.hero.in .rise.d1{ transition-delay:.06s; }
.hero.in .rise.d2{ transition-delay:.14s; }
.hero.in .rise.d3{ transition-delay:.22s; }
.hero.in .rise.d4{ transition-delay:.3s; }

/* ---- the interactive plate ---- */
.stage{ position:relative; aspect-ratio:1/1; display:grid; place-items:center; }

/* ---- chef composite hero ---- */
.chef-stage{ position:relative; width:100%; max-width:560px; margin-inline:auto; aspect-ratio:840/1154; display:block; }
.chef-hero{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1;
  -webkit-mask:radial-gradient(76% 82% at 67% 40%, #000 58%, rgba(0,0,0,0) 100%);
  mask:radial-gradient(76% 82% at 67% 40%, #000 58%, rgba(0,0,0,0) 100%);
  filter:drop-shadow(0 30px 50px rgba(20,30,22,.10));
}
.chef-plate-wrap{ position:absolute; left:30%; top:60%; transform:translate(-50%,-50%); width:54%; aspect-ratio:1/1; z-index:4; }
.chef-plate-wrap .stage-ring{ inset:-12%; }
.chef-stage .plate{ width:100%; }
.chef-stage .chip-cal{ left:2%; top:8%; right:auto; bottom:auto; }
.chef-stage .chip-pro{ left:-6%; top:47%; right:auto; bottom:auto; }
.chef-stage .chip-fib{ left:5%; top:87%; right:auto; bottom:auto; }
.chef-stage .produce{ inset:0; z-index:3; }
@media (max-width:980px){ .chef-stage{ max-width:440px; } .chef-stage .chip-pro{ left:-2%; } }
.stage-ring{
  position:absolute; inset:6%; border-radius:50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.7), rgba(250,243,230,.4) 46%, rgba(239,229,207,0) 70%);
  box-shadow:0 40px 90px rgba(20,30,22,.16);
}
.stage-ring::before{
  content:""; position:absolute; inset:-3%; border-radius:50%;
  border:1px solid rgba(212,175,55,.4);
  background:conic-gradient(from 120deg, rgba(212,175,55,0), rgba(212,175,55,.5), rgba(212,175,55,0) 30%, rgba(212,175,55,0) 60%, rgba(212,175,55,.4), rgba(212,175,55,0) 90%);
  -webkit-mask:radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px)); mask:radial-gradient(circle, transparent calc(50% - 2px), #000 calc(50% - 1px));
  animation:spin calc(38s*var(--am)) linear infinite;
}
@keyframes spin{ to{ transform:rotate(360deg); } }

.plate{
  position:relative; width:78%; aspect-ratio:1/1; border-radius:50%; overflow:hidden;
  box-shadow:0 30px 70px rgba(20,30,22,.28), inset 0 0 0 6px rgba(255,255,255,.7), inset 0 0 0 7px rgba(212,175,55,.4);
  cursor:crosshair; isolation:isolate;
}
.plate img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transform:scale(1.12); transform-origin:center; }
.plate .img-up{ will-change:clip-path, opacity; }
/* lens variant: glow ring drawn via JS background-position; here just the cursor halo */
.plate .lens-halo{
  position:absolute; width:2px; height:2px; border-radius:50%; pointer-events:none;
  box-shadow:0 0 0 1.5px rgba(212,175,55,.9), 0 0 40px 8px rgba(212,175,55,.25);
  opacity:0; transition:opacity var(--dur-fast);
}
.plate.show-halo .lens-halo{ opacity:1; }

/* floating produce */
.produce{ position:absolute; inset:-8%; pointer-events:none; z-index:3; }
.produce .p{
  position:absolute; width:var(--sz,64px); height:var(--sz,64px);
  display:grid; place-items:center; border-radius:50%;
  background:var(--pc,#fff); color:#fff;
  box-shadow:0 14px 30px rgba(20,30,22,.22), inset 0 2px 6px rgba(255,255,255,.35), inset 0 -8px 14px rgba(0,0,0,.12);
  transition:transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  will-change:transform;
}
.produce .p svg{ width:54%; height:54%; }
.produce .p.veg{ opacity:0; transform:scale(.4); }     /* healthy items fly IN  */
.plate-on ~ .produce .p.veg, .stage.on .produce .p.veg{ opacity:1; transform:scale(1); }
.produce .p.bad{ opacity:1; }                            /* indulgent items fly OUT */
.stage.on .produce .p.bad{ opacity:0; transform:scale(.4) translateY(10px); }

/* macro chips floating around plate */
.macro-chip{
  position:absolute; z-index:4; display:flex; align-items:center; gap:10px;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-pill);
  padding:9px 15px 9px 11px; box-shadow:var(--sh-card);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur);
}
.macro-chip .ic{ width:30px; height:30px; border-radius:50%; display:grid; place-items:center; flex:none; }
/* floating tags: idle bob + hover tilt are driven by JS, so don't transition transform */
.floaty{ transition:box-shadow var(--dur-fast) var(--ease); will-change:transform; }
.macro-chip .ic svg{ width:16px; height:16px; }
.macro-chip .mk{ font-size:11px; color:var(--fg-3); line-height:1; margin-bottom:3px; letter-spacing:.02em; }
.macro-chip .mv{ font-family:var(--display); font-weight:700; font-size:19px; line-height:1; color:var(--forest); }
.macro-chip .mv .delta{ font-family:var(--ui); font-size:12px; font-weight:600; margin-left:5px; }
.delta.up{ color:var(--leaf-deep); } .delta.down{ color:var(--burgundy); }
.chip-cal{ left:-6%; top:20%; } .chip-pro{ right:-9%; top:42%; } .chip-fib{ left:-2%; bottom:14%; }

/* the morph hint pill */
.morph-hint{
  position:absolute; left:50%; bottom:-2%; transform:translateX(-50%);
  display:flex; align-items:center; gap:9px; z-index:5;
  background:var(--forest); color:var(--cream); font-size:13px; font-weight:500;
  padding:9px 16px; border-radius:var(--r-pill); box-shadow:0 10px 24px rgba(14,42,35,.3);
  transition:opacity var(--dur);
}
.morph-hint svg{ width:15px; height:15px; }
.stage.on .morph-hint{ opacity:0; }

/* the upgraded badge appears */
.up-badge{
  position:absolute; top:6%; right:6%; z-index:5; display:flex; align-items:center; gap:7px;
  background:linear-gradient(180deg,#9A1838,#7E0526); color:#fff; font-size:12.5px; font-weight:600;
  padding:7px 13px; border-radius:var(--r-pill); box-shadow:0 0 0 1.5px var(--gold), 0 8px 18px rgba(126,5,38,.34);
  opacity:0; transform:translateY(-8px) scale(.9); transition:all var(--dur) var(--ease);
}
.up-badge svg{ width:14px; height:14px; }
.stage.on .up-badge{ opacity:1; transform:none; }

/* ============================================================
   reveal-on-scroll utility
   ============================================================ */
.reveal{ opacity:0; transform:translateY(40px); transition:opacity calc(800ms*var(--am)) var(--ease), transform calc(800ms*var(--am)) var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal.d1{ transition-delay:.08s; } .reveal.d2{ transition-delay:.16s; } .reveal.d3{ transition-delay:.24s; } .reveal.d4{ transition-delay:.32s; }
.reveal.sc{ transform:translateY(40px) scale(.96); } .reveal.sc.in{ transform:none; }

/* section heading block */
.head{ max-width:720px; }
.head.center{ margin-inline:auto; text-align:center; }
.head h2{ font-family:var(--display); font-weight:700; font-size:clamp(34px,4.2vw,56px); line-height:1.05; letter-spacing:-.02em; color:var(--forest); margin:14px 0 0; }
.head p{ font-size:19px; color:var(--fg-2); margin:18px 0 0; }
.sec-pad{ padding:clamp(80px,11vh,140px) 0; }

/* sprig decorations */
.sprig{ position:absolute; pointer-events:none; opacity:.5; z-index:0; width:300px; filter:saturate(.9); }

/* ============================================================
   MARQUEE strip
   ============================================================ */
.marquee{ padding:26px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--bg-warm); overflow:hidden; }
.marquee .track{ display:flex; gap:54px; width:max-content; animation:marq calc(38s*var(--am)) linear infinite; }
.marquee .track .m{ display:flex; align-items:center; gap:16px; font-family:var(--display); font-size:23px; color:var(--forest); white-space:nowrap; }
.marquee .track .m svg{ width:20px; height:20px; color:var(--gold-deep); }
@keyframes marq{ to{ transform:translateX(-50%); } }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:64px; }
.step{
  position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-2xl);
  padding:34px 30px 32px; box-shadow:var(--sh-card); overflow:hidden;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur);
}
.step:hover{ transform:translateY(-6px); box-shadow:var(--sh-lift); }
.step .num{ font-family:var(--display); font-style:italic; font-weight:600; font-size:15px; color:var(--gold-deep); letter-spacing:.04em; }
.step .s-ic{ width:60px; height:60px; border-radius:18px; display:grid; place-items:center; margin:18px 0 22px; background:var(--surface-tint); box-shadow:inset 0 0 0 1px var(--line); }
.step .s-ic svg{ width:28px; height:28px; color:var(--forest); }
.step h3{ font-family:var(--display); font-weight:600; font-size:25px; color:var(--forest); margin:0 0 10px; }
.step p{ font-size:16px; color:var(--fg-2); margin:0; }
.step .glow{ position:absolute; width:160px; height:160px; right:-50px; top:-50px; border-radius:50%; background:radial-gradient(circle, color-mix(in srgb,var(--accent) 18%,transparent), transparent 70%); }

/* small dish photo filling the empty top-right of each step card */
.step-thumb{
  position:absolute; top:26px; right:26px; z-index:2;
  width:68px; height:68px; border-radius:50%; object-fit:cover;
  box-shadow:0 0 0 1.5px var(--gold), 0 10px 22px rgba(20,30,22,.16), inset 0 0 0 3px rgba(255,255,255,.6);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur);
}
.step:hover .step-thumb{ transform:scale(1.06) rotate(-3deg); box-shadow:0 0 0 1.5px var(--gold), 0 16px 30px rgba(20,30,22,.2); }

/* ============================================================
   NUTRITION / MACROS
   ============================================================ */
.nutri{ background:var(--bg-warm); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.nutri-grid{ display:grid; grid-template-columns:1fr 1fr; gap:54px; align-items:center; margin-top:60px; }
.compare{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-2xl); box-shadow:var(--sh-lift); overflow:hidden; }
.compare-row{ display:grid; grid-template-columns:1fr 1fr; }
.compare-col{ padding:26px 26px 30px; }
.compare-col.orig{ border-right:1px solid var(--line); }
.compare-col .tag{ display:inline-block; font-size:12px; font-weight:600; letter-spacing:.04em; padding:5px 12px; border-radius:var(--r-pill); margin-bottom:18px; }
.tag.t-orig{ color:var(--fg-2); background:var(--surface-tint); border:1px solid var(--line); }
.tag.t-up{ color:#fff; background:linear-gradient(180deg,#9A1838,#7E0526); box-shadow:0 0 0 1.2px var(--gold); }
.macro-list{ display:flex; flex-direction:column; gap:16px; }
.macro-line{ }
.macro-line .ml-top{ display:flex; align-items:baseline; justify-content:space-between; margin-bottom:7px; }
.macro-line .ml-k{ font-size:14px; color:var(--fg-2); }
.macro-line .ml-v{ font-family:var(--display); font-weight:700; font-size:22px; color:var(--forest); }
.macro-line .ml-v .u{ font-family:var(--ui); font-size:12px; color:var(--fg-3); font-weight:500; margin-left:3px; }
.bar{ height:7px; border-radius:5px; background:var(--surface-tint); overflow:hidden; box-shadow:inset 0 0 0 1px var(--line); }
.bar i{ display:block; height:100%; border-radius:5px; width:0; transition:width calc(1000ms*var(--am)) var(--ease); }
.reveal.in .bar i{ width:var(--w,50%); }
.bar.b-pro i{ background:linear-gradient(90deg,var(--leaf),var(--leaf-deep)); }
.bar.b-cal i{ background:linear-gradient(90deg,var(--citrus),var(--carrot)); }
.bar.b-fib i{ background:linear-gradient(90deg,#6FB36F,var(--leaf-deep)); }
.bar.b-fat i{ background:linear-gradient(90deg,#D98C6A,var(--burgundy)); }

/* confidence badge */
.confidence{ display:flex; flex-direction:column; gap:26px; }
.conf-badge{ position:relative; width:168px; height:168px; }
.conf-badge svg{ width:100%; height:100%; transform:rotate(-90deg); }
.conf-badge .track{ fill:none; stroke:var(--line-strong); stroke-width:9; }
.conf-badge .prog{ fill:none; stroke:url(#goldgrad); stroke-width:9; stroke-linecap:round; stroke-dasharray:var(--circ); stroke-dashoffset:var(--circ); transition:stroke-dashoffset calc(1400ms*var(--am)) var(--ease); }
.reveal.in .conf-badge .prog{ stroke-dashoffset:var(--off); }
.conf-badge .ctr{ position:absolute; inset:0; display:grid; place-items:center; text-align:center; }
.conf-badge .pct{ font-family:var(--display); font-weight:700; font-size:42px; color:var(--forest); line-height:1; }
.conf-badge .lbl{ font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-deep); font-weight:600; margin-top:4px; }
.nutri-points{ display:flex; flex-direction:column; gap:16px; }
.np{ display:flex; gap:14px; align-items:flex-start; }
.np .check{ width:26px; height:26px; border-radius:50%; background:var(--deep-green); display:grid; place-items:center; flex:none; margin-top:1px; }
.np .check svg{ width:14px; height:14px; color:#fff; }
.np .nt b{ font-family:var(--display); font-weight:600; font-size:18px; color:var(--forest); }
.np .nt p{ font-size:15px; color:var(--fg-2); margin:2px 0 0; }

/* ============================================================
   MEET THE CHEF — human section
   ============================================================ */
.chef{ padding:clamp(80px,11vh,140px) 0; overflow:hidden; }
.chef-grid{ display:grid; grid-template-columns:0.92fr 1.08fr; gap:clamp(40px,6vw,84px); align-items:center; }
.chef-photo{ position:relative; }
.chef-photo .frame{
  position:relative; border-radius:var(--r-2xl); overflow:hidden;
  box-shadow:0 30px 70px rgba(20,30,22,.18), inset 0 0 0 1px rgba(212,175,55,.35);
  max-width:460px;
}
.chef-photo .frame::after{ content:""; position:absolute; inset:0; border-radius:inherit; box-shadow:inset 0 0 0 6px rgba(255,255,255,.55); pointer-events:none; }
.chef-photo .frame img{ width:100%; display:block; }
.chef-photo .sprig-c{ position:absolute; top:-26px; left:-40px; width:150px; opacity:.5; transform:rotate(-18deg); z-index:0; }
/* floating quote card */
.chef-quote{
  position:absolute; right:clamp(-10px,-2vw,-30px); bottom:38px; z-index:3; width:min(300px,72%);
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-xl);
  padding:18px 20px; box-shadow:var(--sh-lift);
  display:flex; flex-direction:column; gap:12px;
}
.chef-quote .q{ font-family:var(--display); font-style:italic; font-size:17px; line-height:1.4; color:var(--forest); }
.chef-quote .who{ display:flex; align-items:center; gap:11px; }
.chef-quote .who img{ width:40px; height:40px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 1.5px var(--gold); }
.chef-quote .who .nm{ font-weight:600; font-size:14px; color:var(--forest); }
.chef-quote .who .rl{ font-size:12px; color:var(--fg-3); }
/* copy side */
.chef-copy .h2{ margin:14px 0 0; }
.chef-copy h2{ font-family:var(--display); font-weight:700; font-size:clamp(32px,4vw,52px); line-height:1.06; letter-spacing:-.02em; color:var(--forest); margin:14px 0 0; }
.chef-copy h2 em{ font-style:italic; color:var(--burgundy); }
.chef-copy p{ font-size:18px; color:var(--fg-2); margin:22px 0 0; max-width:34em; }
.chef-stats{ display:flex; gap:38px; margin:34px 0 0; flex-wrap:wrap; }
.chef-stats .st .v{ font-family:var(--display); font-weight:700; font-size:34px; color:var(--forest); line-height:1; }
.chef-stats .st .k{ font-size:14px; color:var(--fg-3); margin-top:6px; }
.chef-sign{ display:flex; align-items:center; gap:13px; margin:34px 0 0; }
.chef-sign img{ width:46px; height:46px; border-radius:50%; object-fit:cover; box-shadow:0 0 0 1.5px var(--gold); }
.chef-sign .nm{ font-family:var(--display); font-style:italic; font-size:20px; color:var(--forest); }
.chef-sign .rl{ font-size:13px; color:var(--fg-3); }

@media (max-width:980px){
  .chef-grid{ grid-template-columns:1fr; gap:48px; }
  .chef-photo .frame{ margin-inline:auto; }
  .chef-quote{ right:0; }
}

/* ============================================================
   GALLERY before/after
   ============================================================ */
.gallery{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; margin-top:62px; }
.g-card{
  position:relative; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-2xl);
  padding:18px; box-shadow:var(--sh-card); overflow:hidden;
  transition:transform var(--dur) var(--ease), box-shadow var(--dur);
}
.g-card:hover{ transform:translateY(-6px); box-shadow:var(--sh-lift); }
.g-media{ position:relative; border-radius:var(--r-xl); overflow:hidden; aspect-ratio:16/11; cursor:pointer; }
.g-media img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.g-media .g-up{ clip-path:inset(0 100% 0 0); transition:clip-path calc(700ms*var(--am)) var(--ease); }
.g-card:hover .g-media .g-up{ clip-path:inset(0 0 0 0); }
.g-divider{ position:absolute; top:0; bottom:0; width:2px; background:rgba(255,255,255,.9); left:0; box-shadow:0 0 12px rgba(0,0,0,.25); transition:left calc(700ms*var(--am)) var(--ease); opacity:0; }
.g-card:hover .g-divider{ left:100%; opacity:1; }
.g-flags{ position:absolute; top:12px; left:12px; right:12px; display:flex; justify-content:space-between; z-index:2; }
.g-flag{ font-size:11px; font-weight:600; padding:5px 11px; border-radius:var(--r-pill); backdrop-filter:blur(6px); }
.g-flag.b{ background:rgba(20,36,29,.62); color:var(--cream); }
.g-flag.a{ background:linear-gradient(180deg,#9A1838,#7E0526); color:#fff; box-shadow:0 0 0 1.2px var(--gold); opacity:0; transform:translateY(-6px); transition:all var(--dur) var(--ease); }
.g-card:hover .g-flag.a{ opacity:1; transform:none; }
.g-card.revealing .g-flag.a{ opacity:1; transform:none; }
.g-body{ padding:18px 8px 8px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.g-body h3{ font-family:var(--display); font-weight:600; font-size:23px; color:var(--forest); margin:0; }
.g-body .g-meta{ font-size:14px; color:var(--fg-3); margin-top:4px; }
.g-deltas{ display:flex; gap:8px; flex-wrap:wrap; justify-content:flex-end; }
.g-d{ font-size:12px; font-weight:600; padding:5px 10px; border-radius:var(--r-pill); white-space:nowrap; }
.g-d.up{ color:var(--leaf-deep); background:color-mix(in srgb,var(--leaf) 14%,transparent); }
.g-d.dn{ color:var(--burgundy); background:color-mix(in srgb,var(--burgundy) 9%,transparent); }

/* ============================================================
   PREMIUM — forest-green accent band (a contained dark moment)
   ============================================================ */
.premium{ padding:clamp(80px,11vh,140px) 0; }
.premium-card{
  position:relative; overflow:hidden; border-radius:var(--r-2xl);
  background:linear-gradient(160deg,#15382E 0%,#0E2A23 60%,#0B211B 100%);
  color:var(--cream); padding:clamp(40px,5vw,72px);
  box-shadow:0 40px 90px rgba(11,33,27,.4), inset 0 0 0 1px rgba(212,175,55,.22);
}
.premium-card::before{ content:""; position:absolute; inset:0; background:radial-gradient(60% 80% at 82% 10%, rgba(212,175,55,.22), transparent 60%); }
.premium-card::after{ content:""; position:absolute; inset:0; opacity:.4; mix-blend-mode:soft-light; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"); }
.premium-grid{ position:relative; z-index:2; display:grid; grid-template-columns:1.1fr 1fr; gap:54px; align-items:center; }
.premium .overline{ color:var(--gold); }
.premium h2{ font-family:var(--display); font-weight:700; font-size:clamp(32px,3.8vw,50px); line-height:1.06; letter-spacing:-.02em; color:#fff; margin:14px 0 18px; }
.premium h2 em{ color:var(--gold); font-style:italic; }
.premium .p-lede{ font-size:18px; color:var(--cream); opacity:.86; max-width:34em; margin:0 0 30px; }
.premium .feat{ display:flex; flex-direction:column; gap:15px; margin-bottom:34px; }
.premium .feat .f{ display:flex; gap:13px; align-items:center; font-size:16px; }
.premium .feat .f .crn{ width:28px; height:28px; border-radius:50%; display:grid; place-items:center; background:rgba(212,175,55,.16); flex:none; }
.premium .feat .f .crn svg{ width:15px; height:15px; color:var(--gold); }
.price-card{ background:rgba(243,233,210,.06); border:1px solid rgba(212,175,55,.3); border-radius:var(--r-xl); padding:32px; backdrop-filter:blur(6px); }
.price-card .crown-top{ display:flex; align-items:center; gap:9px; color:var(--gold); font-weight:600; font-size:14px; letter-spacing:.04em; }
.price-card .crown-top svg{ width:18px; height:18px; }
.price-card .price{ display:flex; align-items:baseline; gap:6px; margin:18px 0 4px; }
.price-card .price .amt{ font-family:var(--display); font-weight:700; font-size:54px; color:#fff; }
.price-card .price .per{ font-size:16px; color:var(--cream); opacity:.7; }
.price-card .price-note{ font-size:14px; color:var(--cream); opacity:.7; margin-bottom:24px; }
.price-card .btn{ width:100%; }
.price-card .trial{ text-align:center; font-size:13px; color:var(--cream); opacity:.66; margin-top:14px; }
.premium-card .leaf-art{ position:absolute; right:-40px; bottom:-40px; width:340px; opacity:.16; z-index:1; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta{ text-align:center; padding:clamp(90px,13vh,160px) 0; position:relative; overflow:hidden; }
.cta .phone-peek{ position:absolute; opacity:.9; width:240px; filter:drop-shadow(0 30px 60px rgba(20,30,22,.25)); }
.cta h2{ font-family:var(--display); font-weight:700; font-size:clamp(40px,5.4vw,74px); line-height:1.02; letter-spacing:-.025em; color:var(--forest); margin:0 auto 22px; max-width:14ch; }
.cta h2 em{ color:var(--burgundy); font-style:italic; }
.cta p{ font-size:20px; color:var(--fg-2); max-width:40ch; margin:0 auto 38px; }
.cta .store-row{ justify-content:center; }
.cta .rating{ display:inline-flex; align-items:center; gap:10px; margin-top:26px; font-size:14px; color:var(--fg-3); }
.cta .rating .stars{ display:flex; gap:2px; color:var(--gold); }
.cta .rating .stars svg{ width:16px; height:16px; }

/* footer */
.footer{ border-top:1px solid var(--line); padding:48px 0 40px; background:var(--bg-warm); }

/* ---- early access ---- */
.early-tabs{ display:inline-flex; gap:6px; background:var(--surface-tint); border:1px solid var(--line); border-radius:var(--r-pill); padding:5px; }
.early-tab{ border:none; background:transparent; font-family:var(--ui); font-size:14px; font-weight:600; color:var(--fg-2); padding:10px 20px; border-radius:var(--r-pill); cursor:pointer; transition:background var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast); }
.early-tab.on{ background:var(--surface); color:var(--forest); box-shadow:var(--sh-card); }
.early-form{ display:flex; gap:12px; max-width:520px; margin:24px auto 0; }
.early-form input{ flex:1; min-width:0; font-family:var(--ui); font-size:16px; padding:15px 18px; border-radius:var(--r-md); border:1px solid var(--line-strong); background:var(--surface); color:var(--fg); box-shadow:inset 0 1px 0 rgba(255,255,255,.9); transition:border-color var(--dur-fast), box-shadow var(--dur-fast); }
.early-form input::placeholder{ color:var(--fg-3); }
.early-form input:focus{ outline:none; border-color:var(--gold); box-shadow:0 0 0 3px color-mix(in srgb,var(--gold) 26%,transparent); }
.early-form .btn{ flex:none; }
.early-note{ font-size:13.5px; color:var(--fg-2); margin-top:16px; }
.early-success{ display:inline-flex; align-items:center; gap:13px; margin-top:24px; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-pill); padding:14px 24px 14px 16px; box-shadow:var(--sh-lift); font-size:16px; color:var(--forest); font-weight:500; }
.early-success .ck{ width:28px; height:28px; border-radius:50%; background:var(--deep-green); display:grid; place-items:center; flex:none; }
.early-success .ck svg{ width:15px; height:15px; color:#fff; }
.store.soon{ background:var(--forest); opacity:.92; cursor:default; }
.store.soon:hover{ transform:none; box-shadow:0 10px 24px rgba(14,42,35,.24); }
@media (max-width:560px){ .early-form{ flex-direction:column; } .early-form .btn{ width:100%; } }
.footer-grid{ display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; }
.footer .f-links{ display:flex; gap:28px; flex-wrap:wrap; }
.footer .f-links a{ font-size:14px; color:var(--fg-2); transition:color var(--dur-fast); }
.footer .f-links a:hover{ color:var(--forest); }
.footer .copy{ font-size:13px; color:var(--fg-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:980px){
  .hero{ min-height:auto; padding-bottom:64px; }
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .stage{ max-width:460px; margin-inline:auto; width:100%; }
  .nutri-grid{ grid-template-columns:1fr; gap:40px; }
  .premium-grid{ grid-template-columns:1fr; gap:36px; }
  .gallery{ grid-template-columns:1fr; }
  .nav-burger{ display:inline-flex; }
  .nav .nav-links{ display:none; }
  .nav.menu-open .nav-links{
    display:flex; flex-direction:column; align-items:flex-start; gap:2px;
    position:absolute; top:calc(100% + 6px); left:clamp(16px,4vw,40px); right:clamp(16px,4vw,40px);
    background:rgba(252,251,248,.98); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
    border:1px solid var(--line); border-radius:16px; padding:12px 18px; box-shadow:0 18px 40px rgba(20,30,22,.16);
  }
  .nav.menu-open .nav-links a{ width:100%; font-size:16px; padding:11px 0; }
  .nav.menu-open .nav-links a::after{ display:none; }
  .cta .phone-peek{ display:none; }
}
@media (max-width:680px){
  .steps{ grid-template-columns:1fr; }
  .compare-row{ grid-template-columns:1fr; }
  .compare-col.orig{ border-right:none; border-bottom:1px solid var(--line); }
  body{ font-size:16px; }
  .hero{ padding-top:118px; }
  .sprig{ display:none; }

  /* nav: keep logo + CTA from colliding */
  .nav{ padding-left:16px; padding-right:16px; }
  .nav.solid{ padding-left:16px; padding-right:16px; }
  .logo-img{ height:30px; }
  .nav-cta .btn{ padding:11px 15px; font-size:14px; }

  /* hero stage: declutter the floating tokens, keep chips tidy */
  .chef-stage{ max-width:330px; }
  .chef-stage .produce{ display:none; }
  .chef-stage .macro-chip{ padding:8px 12px 8px 10px; }
  .chef-stage .macro-chip .ic{ width:26px; height:26px; }
  .chef-stage .macro-chip .mv{ font-size:17px; }
  .chef-stage .chip-cal{ left:-4%; top:3%; }
  .chef-stage .chip-pro{ left:-6%; top:46%; }
  .chef-stage .chip-fib{ left:0; top:90%; }

  /* gallery: stack title above the macro deltas so they never collide */
  .g-body{ flex-direction:column; align-items:flex-start; gap:12px; }
  .g-deltas{ justify-content:flex-start; }

  /* chef stats: tighter, allow wrap */
  .chef-stats{ gap:22px; }
  .chef-stats .st .v{ font-size:30px; }
}
@media (max-width:560px){
  .early-form{ flex-direction:column; }
  .early-form .btn{ width:100%; }
  /* move the quote card below the photo instead of overlapping it */
  .chef-photo{ display:flex; flex-direction:column; align-items:center; }
  .chef-photo .frame{ max-width:100%; }
  .chef-quote{ position:static; width:100%; max-width:360px; margin-top:-28px; }
  .chef-stage{ max-width:300px; }
  .chef-stage .macro-chip{ transform-origin:center; }
  .hero-actions .btn-lg{ width:100%; }
  .hero .store-row{ width:100%; }
}

@media (prefers-reduced-motion:reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .reveal,.hero .rise{ opacity:1 !important; transform:none !important; }
}
