/* ============================================================
   Frescoo — landing
   Cream paper, forest green ink, one lime for anything you can press.
   Type: Plus Jakarta Sans (display, one italic accent per heading)
         over Be Vietnam Pro for body.

   The page carries no inline styles on purpose: netlify.toml ships
   `style-src 'self'` with no 'unsafe-inline', so a style attribute
   would simply not paint in production.
   ============================================================ */

:root {
  /* green */
  --green:      #236130;
  --forest:     #003927;
  --lime:       #C8E63A;

  /* paper */
  --cream:      #F5F5EE;
  --surface:    #FFFFFF;
  --line:       #E5EAE6;
  --wash:       #EBF1EC;
  --wash-lime:  #F2F8D8;

  /* ink */
  --ink:        #191C1D;
  --body:       #424845;
  --muted:      #8C9490;
  --on-dark:      #FFFFFF;
  --on-dark-soft: #C9D4CC;

  /* gold — the voucher, and nothing else */
  --gold:       #D4A843;
  --gold-deep:  #A97F2C;
  --gold-pale:  #FBF4E3;
  --gold-line:  #E8D9B8;

  /* kraft — the paper bag */
  --kraft:      #C79B69;
  --kraft-deep: #A87C4F;

  /* rhythm */
  --gut: clamp(1.25rem, 4vw, 2.5rem);
  --sec: clamp(3rem, 7vw, 5.5rem);
  --max: 1120px;

  --shadow-card: 0 10px 30px rgba(0, 57, 39, 0.05);
  --shadow-lift: 0 8px 24px rgba(0, 57, 39, 0.08);
  --shadow-deep: 0 24px 60px rgba(0, 57, 39, 0.18);

  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* every fixed-size illustration is scaled through this one number, so a
     narrow screen shrinks the scene instead of scrolling sideways */
  --k: 1;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--cream);
}

section[id] { scroll-margin-top: 5rem; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; }
p, ul, fieldset { margin: 0; }
ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
em { font-style: italic; color: var(--green); }
a { color: var(--green); }
a:hover { color: var(--forest); }

.skip {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -120%);
  background: var(--forest); color: var(--on-dark);
  padding: 0.75rem 1.25rem; border-radius: 0 0 12px 12px; z-index: 50;
}
.skip:focus { transform: translate(-50%, 0); color: var(--on-dark); }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ───────────────────────── primitives ───────────────────────── */

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }

/* the white bands that break up the cream */
.band {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.band > .wrap {
  padding-block: var(--sec);
  display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green);
}

.h2 {
  font-weight: 800; font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.5rem);
  line-height: 1.15; letter-spacing: -1px; color: var(--ink);
}
.h2--light { color: var(--on-dark); letter-spacing: -0.5px; }
.h2--light em { color: var(--lime); }

.intro { display: flex; flex-direction: column; gap: 14px; max-width: 42ch; }
.intro__lede { font-size: 18px; max-width: 58ch; }
.intro--mid { align-items: center; text-align: center; max-width: 52ch; margin-inline: auto; }

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  color: var(--green);
}
.ico--gold { color: var(--gold-deep); }
.ico--tick { width: 15px; height: 15px; stroke-width: 2.5; }

/* buttons: lime means you can press it */
.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-family: var(--font-display); font-weight: 700;
  border: 0; border-radius: 999px; cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.btn--lime { background: var(--lime); color: var(--forest); }
.btn--lime:hover { color: var(--forest); filter: brightness(0.96); }
.btn:active { transform: scale(0.98); }
.btn--lg { font-size: 17px; padding: 16px 32px; }
.btn--block { display: block; width: 100%; font-size: 17px; padding: 18px; }

.badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: 13.5px; font-weight: 500; color: var(--green);
}
.badge .ico { width: 14px; height: 14px; }

/* ───────────────────────── nav ───────────────────────── */

.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: 28px var(--gut);
  display: flex; align-items: center; gap: 24px;
}
.nav__brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
/* width/height are on the <img> so the header cannot shift while it loads */
.nav__brand img { height: 36px; width: auto; display: block; }
.nav__where { font-size: 14px; color: var(--muted); }
.nav__cta { font-size: 15px; padding: 12px 24px; }

/* ───────────────────────── hero ───────────────────────── */

.hero__inner {
  max-width: var(--max); margin: 0 auto; padding: 48px var(--gut) 88px;
  display: flex; align-items: center; gap: clamp(2rem, 5vw, 4rem);
}
.hero__copy { flex: 1.2; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.hero__title {
  font-weight: 800; font-size: clamp(2.5rem, 1.4rem + 3.4vw, 3.75rem);
  line-height: 1.08; letter-spacing: -1.5px; color: var(--ink);
}
.hero__lede { font-size: 19px; max-width: 34ch; }

.hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* the ₹50 as a torn-off coupon, not another button */
.coupon {
  display: flex; align-items: stretch;
  border: 1.5px dashed var(--gold); border-radius: 10px; overflow: hidden;
  font-size: 13px;
}
.coupon__amt {
  display: flex; align-items: center; padding: 9px 12px;
  background: var(--gold); color: var(--surface);
  font-family: var(--font-display); font-weight: 800; font-size: 13.5px;
}
.coupon__text { display: flex; align-items: center; padding: 9px 14px; background: var(--gold-pale); }
.coupon strong { color: var(--ink); }

.hero__trust {
  display: flex; flex-direction: column; gap: 12px;
  border-top: 1px solid var(--line); padding-top: 20px; margin-top: 4px;
}
.hero__trust li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.hero__trust strong { color: var(--ink); }

.hero__phone { flex: none; }

/* ── the phone, and the app inside it ── */

.phone { background: var(--forest); border-radius: 40px; padding: 12px; }
.phone--hero {
  width: 300px; height: 600px; box-shadow: var(--shadow-deep);
}
.phone__screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background: var(--cream); border-radius: 30px;
  display: flex; flex-direction: column;
}
.phone__greet { padding: 44px 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.phone__time { font-size: 12px; color: var(--muted); }
.phone__ask { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--ink); line-height: 1.25; }
.phone__tabs { display: flex; gap: 8px; padding: 10px 18px; }
.tab {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 11.5px; font-weight: 500; color: var(--body);
}
.tab--on { background: var(--green); border-color: var(--green); color: var(--surface); font-weight: 600; }

.dish { margin: 10px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.dish__shot { position: relative; height: 130px; }
.dish__shot img { width: 100%; height: 130px; object-fit: cover; }
.dish__flag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, 0.92); border-radius: 999px;
  padding: 4px 10px; font-size: 10.5px; font-weight: 600; color: var(--green);
}
.dish__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.dish__name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); }
.dish__meta { display: flex; gap: 12px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.dish__price { color: var(--green); }
.dish__serves {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--cream); border-radius: 12px; padding: 10px 12px; font-size: 12px;
}
.dish__cta {
  background: var(--lime); color: var(--forest); text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  padding: 11px; border-radius: 999px;
}

.stepper {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink);
}
.stepper__btn {
  width: 24px; height: 24px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--line); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.stepper__btn--on { background: var(--green); border-color: var(--green); color: var(--surface); }
.stepper--lg { justify-content: center; gap: 16px; }
.stepper--lg .stepper__btn { width: 22px; height: 22px; border-radius: 7px; font-size: 12px; background: var(--cream); }
.stepper--lg .stepper__btn--on { background: var(--green); }
.stepper--lg .stepper__n { font-size: 15px; font-weight: 800; min-width: 16px; text-align: center; }

.phone__eta {
  margin: 0 18px; display: flex; gap: 8px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 12px; font-size: 11.5px;
}
.phone__eta .ico { width: 14px; height: 14px; }

/* ───────────────────────── the problem ───────────────────────── */

.problem__grid { display: flex; gap: 32px; align-items: stretch; }

.waste {
  flex: 1.4; background: var(--cream); border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; gap: 28px; justify-content: center;
}
.waste__row { display: flex; flex-direction: column; gap: 10px; }
.waste__head { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; }
.waste__head--green { color: var(--green); }
.waste__bar { height: 34px; border-radius: 10px; }
.waste__bar--sold { width: 100%; background: var(--muted); opacity: 0.55; }
/* the point of the section is the gap between the two bars, so the short one
   draws itself only once the pair is on screen */
.waste__bar--need { width: 24%; background: var(--green); transform-origin: left; }
.waste__note { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.waste__note .ico { color: var(--gold-deep); }
.waste__note strong { color: var(--ink); }

.stat {
  flex: 1; background: var(--forest); border-radius: 20px; padding: 36px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.stat__n { font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; color: var(--lime); }
.stat__what { font-size: 16px; color: var(--on-dark); line-height: 1.5; }
.stat__src { font-size: 12.5px; color: var(--muted); }

/* ───────────────────────── the journey ─────────────────────────
   Five acts down one green line. The line is a plain div whose height
   main.js drives from scroll position — cheap, and it degrades to an
   empty track with JS off.
   ───────────────────────────────────────────────────────────── */

.journey__intro { padding-block: var(--sec) 0; display: flex; flex-direction: column; gap: 12px; }
.journey__flow { padding-block: 24px 72px; }
.journey__track { position: relative; }

.journey__spine, .journey__line {
  position: absolute; left: 50%; width: 3px; margin-left: -1.5px; border-radius: 999px;
}
.journey__spine { top: 0; bottom: 0; background: var(--line); }
.journey__line { top: 0; height: 0; background: var(--green); }

.step {
  position: relative;
  display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center;
  padding-block: 48px;
}
.step__dot { grid-column: 2; grid-row: 1; display: flex; justify-content: center; align-self: stretch; align-items: center; }
.step__dot span {
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--line); border: 4px solid var(--cream);
  transition: background 0.3s ease;
}
.step.is-live .step__dot span { background: var(--green); }

.step__copy { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 12px; padding-right: 12px; }
.step__art { grid-column: 3; grid-row: 1; display: flex; justify-content: center; }
.step--flip .step__copy { grid-column: 3; padding-right: 0; padding-left: 12px; }
.step--flip .step__art { grid-column: 1; }

.step__no { font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); }
.step__title { font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 1.875rem); line-height: 1.2; color: var(--ink); }
.step__text { font-size: 16px; max-width: 42ch; }

/* step 4 runs full width: the map is the illustration */
.step--wide { display: block; padding-block: 48px 0; }
.step--wide .step__dot { display: flex; justify-content: center; margin-bottom: 8px; }
.step__copy--mid {
  align-items: center; text-align: center; padding: 0;
  max-width: 34rem; margin: 0 auto 20px;
  /* the line runs behind this block, so the copy carries the page colour */
  background: var(--cream); padding-block: 4px;
}
.step--end { padding-block: 48px 8px; }
.step--end .step__copy { grid-column: 3; }
.step--end .step__art { grid-column: 1; }

/* Steps rise as they arrive — but only where JS is there to let them back in.
   main.js stamps .js on <html>; without it the page is simply all visible. */
.js .step__copy, .js .step__art { opacity: 0.15; transform: translateY(24px); }
.step.is-in .step__copy, .step.is-in .step__art { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .step__copy, .step__art { transition: opacity 0.6s var(--ease, ease), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
}

/* the fixed-size stages every scene is drawn on */
.scene { position: relative; }
.scene--pack, .scene--store {
  width: 440px; height: 340px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  zoom: var(--k);
}
.scene--pick { zoom: var(--k); }
.scene__floor { position: absolute; left: 0; right: 0; bottom: 36px; height: 3px; background: var(--line); }
.scene__floor--road { bottom: 62px; }
.scene__pill {
  position: absolute; bottom: 20px; right: 44px;
  background: var(--forest); color: var(--on-dark);
  font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  opacity: 0;
}

/* ── scene 1: choosing ── */

.scene--pick > .phone--flow {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px 60px;
}
.phone--flow { position: relative; }
.phone--flow .phone__screen {
  width: 210px; height: 420px; padding: 26px 10px 10px;
  border-radius: 21px; gap: 7px;
  background: var(--cream);
  border: 9px solid var(--forest);
  border-radius: 28px;
}
.pick__ask { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; color: var(--ink); line-height: 1.25; }
.pick__search {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; font-size: 10px; color: var(--muted);
}
.pick__listwrap { flex: 1; overflow: hidden; }
.pick__list { display: flex; flex-direction: column; gap: 7px; transition: transform 0.9s ease; }

.row {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 9px; display: flex; gap: 9px; align-items: center;
}
.row img { width: 42px; height: 42px; border-radius: 9px; object-fit: cover; flex: none; }
.row span { display: flex; flex-direction: column; }
.row__name { font-family: var(--font-display); font-weight: 700; font-size: 10.5px; color: var(--ink); }
.row__meta { font-size: 9px; color: var(--muted); }
#pick-hit { border-width: 2px; transition: border-color 0.3s ease, transform 0.3s ease; }

.prev {
  position: absolute; inset: 0; z-index: 2;
  background: var(--cream); border-radius: 21px;
  padding: 24px 10px 10px; display: flex; flex-direction: column; gap: 7px;
  transform: translateX(102%); transition: transform 0.45s ease;
}
.prev__back { font-size: 9.5px; color: var(--muted); }
.prev__shot { width: 100%; height: 92px; border-radius: 12px; object-fit: cover; }
.prev__name { font-family: var(--font-display); font-weight: 800; font-size: 13.5px; color: var(--ink); }
.prev__meta { font-size: 9px; color: var(--muted); }
.prev__serves {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 10px; display: flex; flex-direction: column; gap: 6px;
}
.prev__q { font-size: 9.5px; }
.prev__price { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px; font-size: 9.5px; color: var(--muted); }
.prev__rs { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--green); }
.prev__cta {
  margin-top: auto; background: var(--lime); color: var(--forest); text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 10.5px;
  padding: 9px; border-radius: 999px;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.pick__toast {
  position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 3;
  background: var(--forest); color: var(--on-dark); text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 10.5px;
  padding: 9px; border-radius: 999px; opacity: 0; transition: opacity 0.35s ease;
}

.tap {
  position: absolute; z-index: 5; pointer-events: none;
  width: 26px; height: 26px; border-radius: 999px;
  background: rgba(0, 57, 39, 0.28); border: 2px solid rgba(255, 255, 255, 0.75);
  opacity: 0; transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
#tap-1 { top: 124px; left: 122px; }
#tap-2 { top: 216px; left: 148px; width: 24px; height: 24px; }
#tap-3 { bottom: 18px; left: 118px; }

.placed {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: var(--green); border-radius: 21px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; transition: opacity 0.4s ease;
}
.placed__tick {
  width: 44px; height: 44px; border-radius: 999px; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
}
.placed__tick svg { width: 20px; height: 20px; fill: none; stroke: var(--forest); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.placed__title { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--on-dark); }
.placed__sub { font-size: 11px; color: var(--on-dark-soft); }

.float {
  position: absolute; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 600;
  box-shadow: var(--shadow-lift); white-space: nowrap;
}
.float--a { top: 60px; left: -46px; }
.float--b { bottom: 110px; right: -40px; font-weight: 500; color: var(--muted); }

/* ── scene 2: the store packs ── */

.pack__order {
  position: absolute; top: 26px; left: 26px; width: 172px; z-index: 3;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 12px;
}
.pack__head {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--ink);
}
.pack__head span:last-child { color: var(--muted); font-weight: 500; }
.pack__live { width: 7px; height: 7px; border-radius: 999px; background: var(--green); flex: none; }
.pack__rows { position: relative; }
.pack__row {
  position: relative; display: flex; justify-content: space-between;
  font-size: 11px; height: 20px; margin-bottom: 4px;
}
.pack__row:last-child { margin-bottom: 0; }
.pack__row strong { color: var(--ink); }
/* the picker's eye moving down the list */
.pack__hl {
  position: absolute; top: -2px; left: -5px; right: -5px; height: 24px;
  background: rgba(200, 230, 58, 0.4); border-radius: 7px;
}

.packer { position: absolute; bottom: 39px; left: 212px; width: 130px; height: 216px; z-index: 2; }
.packer span, .packer i { position: absolute; }
.packer__head { top: 10px; left: 44px; width: 34px; height: 34px; border-radius: 999px; background: var(--muted); }
.packer__cap { top: 2px; left: 39px; width: 44px; height: 19px; border-radius: 22px 22px 0 0; background: #F5C518; }
.packer__visor { top: 17px; left: 24px; width: 22px; height: 6px; border-radius: 999px; background: var(--gold); }
.packer__torso { top: 46px; left: 32px; width: 58px; height: 82px; border-radius: 18px 18px 10px 10px; background: var(--green); }
.packer__leg { top: 128px; width: 12px; height: 88px; border-radius: 5px 5px 3px 3px; background: var(--body); }
.packer__leg--l { left: 42px; }
.packer__leg--r { left: 66px; }
.packer__armL { top: 62px; left: 0; width: 40px; height: 9px; border-radius: 999px; background: var(--muted); transform: rotate(30deg); }
.packer__phone { top: 42px; left: -14px; width: 24px; height: 40px; background: var(--ink); border-radius: 5px; padding: 2px; }
.packer__screen {
  position: absolute; inset: 2px; background: var(--green); border-radius: 3px;
  display: flex; flex-direction: column; gap: 2px; padding: 3px 2px;
}
.packer__line { position: static; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.6); }
.packer__line--a { height: 3px; width: 80%; background: var(--lime); }
.packer__line--c { width: 70%; }
.packer__line--d { width: 55%; background: rgba(255, 255, 255, 0.35); }

.packer__arm { top: 58px; left: 84px; width: 60px; height: 14px; }
.packer__forearm { top: 2px; left: 0; width: 46px; height: 9px; border-radius: 999px; background: var(--muted); }
.packer__hand { top: 0; left: 42px; width: 12px; height: 12px; border-radius: 999px; background: var(--muted); }
.packer__held {
  top: -14px; left: 40px; width: 16px; height: 18px; opacity: 0;
  background: var(--gold-pale); border: 1px solid var(--gold-line); border-radius: 4px;
}

.crate {
  position: absolute; top: 74px; right: 26px; width: 96px; z-index: 1;
  background: #F0E4C8; border: 1px solid var(--gold-line); border-radius: 10px;
  padding: 8px; display: flex; gap: 6px; justify-content: center;
}
.crate__jar { width: 20px; height: 24px; border-radius: 4px; }
.crate__jar--g { background: #9BBF77; }
.crate__jar--w { background: var(--surface); border: 1px solid var(--line); }
.crate__jar--y { background: var(--gold); }
.crate__shelf { position: absolute; top: 116px; right: 18px; width: 114px; height: 5px; background: var(--line); border-radius: 3px; }

.pack__drop {
  position: absolute; bottom: 140px; right: 64px; z-index: 2; opacity: 0;
  width: 16px; height: 18px;
  background: var(--gold-pale); border: 1px solid var(--gold-line); border-radius: 4px;
}

/* the kraft bag, shared by scenes 2 and 3 */
.bag { position: absolute; bottom: 40px; right: 36px; width: 76px; height: 88px; z-index: 1; }
.bag span { position: absolute; }
.bag__body { inset: 0; background: var(--kraft); border-radius: 2px 2px 7px 7px; clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%); }
.bag__lip { top: 0; left: 4%; right: 4%; height: 13px; background: var(--kraft-deep); border-radius: 2px 2px 0 0; }
.bag__shade { top: 13px; left: 4%; right: 4%; height: 8px; background: linear-gradient(180deg, rgba(122, 90, 51, 0.28), rgba(122, 90, 51, 0)); }
.bag__crease { top: 13px; bottom: 2px; width: 2px; background: rgba(122, 90, 51, 0.35); }
.bag__crease--l { left: 15px; }
.bag__crease--r { right: 15px; }
.bag__panel { top: 30px; bottom: 2px; left: 27px; right: 27px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; }
.bag__mark {
  left: 0; right: 0; bottom: 16px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 11px; color: var(--green);
}
.bag--sm { position: absolute; top: 48px; left: 48px; bottom: auto; right: auto; width: 26px; height: 32px; }
.bag--sm .bag__body { border-radius: 1px 1px 3px 3px; clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.bag--sm .bag__lip { left: 6%; right: 6%; height: 5px; }
.bag--sm .bag__mark { bottom: 5px; font-size: 5px; }

/* ── scene 3: the pickup ── */

.shop { position: absolute; top: 54px; left: 22px; width: 210px; }
.shop__sign {
  height: 26px; background: var(--forest); border-radius: 8px 8px 0 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 12px;
  letter-spacing: 0.5px; color: var(--on-dark);
}
.shop__awning {
  height: 22px; border-bottom: 2px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--green) 0 22px, var(--cream) 22px 44px);
}
.shop__front { position: relative; height: 176px; background: #FAFAF5; border: 1px solid var(--line); border-top: none; }
.shop__shelves {
  position: absolute; top: 16px; left: 14px; width: 104px; height: 86px;
  background: #EFF4EE; border: 2px solid #D7DED8; border-radius: 6px; padding: 8px 6px;
}
.shop__plank { display: block; height: 4px; background: #D7DED8; border-radius: 2px; margin-top: 16px; }
.shop__goods { display: flex; gap: 5px; margin-top: -12px; margin-bottom: 10px; padding-left: 4px; }
.shop__goods--b { margin-bottom: 0; padding-left: 10px; }
.jar { width: 10px; height: 12px; border-radius: 3px; }
.jar--g { background: #9BBF77; }
.jar--y { background: var(--gold); }
.jar--r { background: #C0574F; }
.shop__door { position: absolute; bottom: 0; right: 18px; width: 48px; height: 118px; background: #2F3634; border-radius: 6px 6px 0 0; }
.shop__door::before { content: ''; position: absolute; top: 0; left: -10px; width: 10px; height: 100%; background: #D7DED8; border-radius: 4px 0 0 0; }

.walker { position: absolute; bottom: 64px; left: 168px; width: 70px; height: 110px; z-index: 2; }
.walker > span { position: absolute; }
.walker__head { top: 2px; left: 16px; width: 26px; height: 24px; border-radius: 13px 13px 8px 8px; background: #2B2F2E; }
.walker__visor { top: 10px; left: 34px; width: 12px; height: 7px; border-radius: 3px; background: #9CA3AF; }
.walker__torso { top: 26px; left: 14px; width: 30px; height: 44px; border-radius: 11px 11px 7px 7px; background: var(--forest); }
.walker__arm { top: 34px; left: 40px; width: 22px; height: 8px; border-radius: 999px; background: var(--muted); transform: rotate(38deg); }
.walker__leg { top: 70px; width: 9px; height: 40px; border-radius: 4px; background: var(--body); }
.walker__leg--l { left: 18px; }
.walker__leg--r { left: 32px; }

.bike { position: absolute; bottom: 58px; right: 28px; }
.bike--riding { z-index: 2; }
.bike__mark { font-family: var(--font-display); font-size: 6px; font-weight: 800; fill: var(--green); }

/* ── scene 4: the ride ── */

.map {
  position: relative; height: 320px; overflow: hidden;
  background: #EFF2EC; border: 1px solid var(--line); border-radius: 24px;
}
.map__svg { display: block; width: 100%; height: 100%; }
.map__svg--tall { display: none; }
.map__ground { fill: #EFF2EC; }
.map__block { fill: #E3E9E2; }
.map__block--b { fill: #E7ECE6; }
.map__park { fill: #E0EDCB; }
.map__road { stroke: var(--surface); stroke-width: 18; }
.map__road--thin { stroke-width: 16; }
.map__road--thinner { stroke-width: 14; }
.map__route { fill: none; stroke: var(--green); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 9; opacity: 0.9; }
.map__pinDot { fill: var(--green); }
.map__pinCore { fill: var(--lime); }
.map__pin { fill: var(--forest); }
.map__pinHole { fill: var(--surface); }
.map__tag { fill: var(--surface); }
.map__label { font-family: var(--font-display); font-size: 13px; font-weight: 700; fill: var(--green); }
.map__label--home { fill: var(--forest); }
.map__rider { fill: var(--surface); stroke: var(--green); stroke-width: 3; }
.map__riderCore { fill: var(--green); }
.map__eta { fill: var(--forest); }
.map__etaText { font-family: var(--font-display); font-size: 13px; font-weight: 700; fill: var(--lime); }

/* ── scene 5: the kitchen ── */

.scene--cook {
  display: flex; gap: 28px; align-items: center; zoom: var(--k);
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px;
}
.kitchen { position: relative; width: 290px; height: 240px; flex: none; }
.kitchen > *, .cook > span { position: absolute; }

.cook { bottom: 0; left: 34px; width: 120px; height: 240px; }
.cook__head { top: 28px; left: 42px; width: 30px; height: 30px; border-radius: 999px; background: var(--muted); }
.cook__torso { top: 60px; left: 36px; width: 44px; height: 82px; border-radius: 14px 14px 0 0; background: #4A5054; }
.cook__leg { top: 138px; width: 11px; height: 94px; border-radius: 4px; background: var(--body); }
.cook__leg--l { left: 45px; }
.cook__leg--r { left: 62px; }
.cook__foot { top: 230px; width: 19px; height: 9px; background: var(--ink); border-radius: 5px 6px 2px 2px; }
.cook__foot--l { left: 38px; }
.cook__foot--r { left: 60px; }
/* the still arm, angled out so it reads against the torso */
.cook__armIdle { top: 80px; left: 8px; width: 40px; height: 10px; border-radius: 999px; background: #4A5054; transform: rotate(-55deg); transform-origin: right center; }
.cook__handIdle { top: 112px; left: 18px; width: 12px; height: 12px; border-radius: 999px; background: var(--muted); }
.cook__arm { top: 80px; left: 74px; width: 54px; height: 12px; }
.cook__forearm { position: absolute; top: 1px; left: 0; width: 40px; height: 10px; border-radius: 999px; background: #4A5054; }
.cook__hand { position: absolute; top: 0; left: 36px; width: 12px; height: 12px; border-radius: 999px; background: var(--muted); }

.bowl { width: 26px; height: 22px; }
.bowl__food { position: absolute; top: 0; left: 3px; width: 20px; height: 9px; border-radius: 8px 8px 0 0; }
.bowl__food--gold { background: var(--gold); }
.bowl__food--green { background: #9BBF77; }
.bowl__food--red { background: #C0574F; }
.bowl__cup { position: absolute; bottom: 0; left: 0; width: 26px; height: 13px; border-radius: 0 0 13px 13px; background: var(--surface); border: 1.5px solid #D7DED8; }
.bowl--held { bottom: 103px; left: 64px; z-index: 2; }
.bowl--left { bottom: 103px; left: 34px; z-index: 1; }
.bowl--right { bottom: 103px; left: 100px; z-index: 1; }

.table__top { bottom: 92px; left: 8px; width: 150px; height: 12px; background: var(--forest); border-radius: 6px; z-index: 1; }
.table__leg { bottom: 0; width: 10px; height: 92px; background: var(--kraft-deep); border-radius: 0 0 3px 3px; }
.table__leg--l { left: 20px; }
.table__leg--r { left: 132px; }

/* the phone rests on the table — a held one never read as a held one */
.cook__phone { bottom: 103px; left: 4px; width: 24px; height: 42px; z-index: 2; transform: rotate(-7deg); transform-origin: bottom center; background: var(--ink); border-radius: 5px; padding: 2px; }
.cook__screen { position: absolute; inset: 2px; background: var(--green); border-radius: 3px; display: flex; flex-direction: column; gap: 3px; padding: 4px 3px; }
.cook__screen .packer__line--a { height: 4px; }

.drop { bottom: 138px; border-radius: 999px; opacity: 0; z-index: 2; }
.drop--a { left: 220px; width: 6px; height: 6px; background: var(--gold); }
.drop--b { left: 230px; width: 5px; height: 5px; background: var(--lime); }

.steam { border-radius: 999px; background: #D7DED8; opacity: 0; }
.steam--a { bottom: 150px; left: 204px; width: 12px; height: 12px; }
.steam--b { bottom: 162px; left: 222px; width: 15px; height: 15px; }
.steam--c { bottom: 152px; left: 240px; width: 10px; height: 10px; }

.pan { bottom: 104px; left: 190px; display: flex; align-items: center; z-index: 1; }
.pan__body { width: 68px; height: 22px; background: var(--ink); border-radius: 3px 3px 12px 12px; }
.pan__handle { width: 32px; height: 6px; background: var(--body); border-radius: 999px; margin-left: -2px; }
.hob__flame { bottom: 98px; left: 200px; width: 48px; height: 6px; background: #2B2F2E; border-radius: 3px; z-index: 1; }
.hob__top { bottom: 92px; left: 178px; width: 100px; height: 8px; background: var(--ink); border-radius: 4px; }
.hob { bottom: 0; left: 184px; width: 88px; height: 92px; background: #33383B; border-radius: 0 0 8px 8px; }
.hob__knob { position: absolute; top: 10px; width: 10px; height: 10px; border-radius: 999px; background: #6B7280; }
.hob__knob:nth-of-type(1) { left: 12px; }
.hob__knob:nth-of-type(2) { left: 30px; }
.hob__panel { position: absolute; top: 8px; right: 10px; width: 26px; height: 14px; border-radius: 3px; background: #2B2F2E; }

.guide {
  width: 210px; flex: none;
  background: var(--cream); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; display: flex; flex-direction: column; gap: 12px;
}
.guide__step { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--ink); line-height: 1.3; }
.guide__play { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 10px; padding: 10px 12px; }
.guide__btn { width: 26px; height: 26px; border-radius: 999px; background: var(--green); display: flex; align-items: center; justify-content: center; flex: none; }
.guide__btn svg { width: 10px; height: 10px; fill: var(--surface); }
.guide__note { font-size: 12px; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.eq i { width: 4px; height: 30%; background: var(--green); border-radius: 2px; }

/* ───────────────────────── why frescoo ───────────────────────── */

.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-card);
}
.card__top { display: flex; align-items: center; justify-content: space-between; }
.card__ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.card__ico .ico { width: 24px; height: 24px; }
.card__ico--green { background: var(--wash); }
.card__ico--lime { background: var(--wash-lime); }
.card__ico--gold { background: var(--gold-pale); }
.card__vs { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.card__title { font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--ink); }
.card__text { font-size: 16px; }

/* ───────────────────────── the app ───────────────────────── */

.app { padding-block: var(--sec); display: flex; flex-direction: column; gap: clamp(2rem, 4vw, 3rem); }

/* full-bleed on purpose: a marquee that stops short of the edge reads as a
   broken grid rather than as something moving past you */
.marquee { overflow: hidden; }
.marquee__set { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; padding-inline: var(--gut); }

.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 24px; display: flex; flex-direction: column; gap: 10px;
}
.feat__ico {
  width: 44px; height: 44px; border-radius: 999px; background: var(--wash);
  display: flex; align-items: center; justify-content: center;
}
.feat__ico .ico { width: 22px; height: 22px; }
.feat__rs { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1; color: var(--green); }
.feat__title { font-weight: 700; font-size: 16px; color: var(--ink); }
.feat__text { font-size: 14px; }

.soon {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 28px; font-size: 15px;
}
.soon__tag { font-size: 12.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); flex: none; }

/* ───────────────────────── honesty ───────────────────────── */

.honest { background: var(--forest); }
.honest__inner { padding-block: 72px; display: flex; align-items: center; gap: 48px; }
.honest__copy { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.honest__text { font-size: 17px; color: var(--on-dark-soft); max-width: 56ch; }
.honest__pills { display: flex; flex-direction: column; gap: 12px; }
.honest__pills li {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 12px;
  padding: 12px 20px; color: var(--on-dark); font-size: 14px; font-weight: 600;
}
.honest__pills .ico { width: 16px; height: 16px; color: var(--on-dark); }

/* ───────────────────────── the first 100 ───────────────────────── */

.join__inner {
  max-width: 760px; margin: 0 auto; padding: var(--sec) var(--gut);
  display: flex; flex-direction: column; gap: 32px;
}

.ticket {
  display: flex; align-items: stretch;
  background: var(--surface); border: 1.5px solid var(--gold-line); border-radius: 20px;
  overflow: hidden;
}
.ticket__stub {
  flex: 0 0 180px; background: var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; padding: 26px 18px;
}
.ticket__amt { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--surface); }
.ticket__cur {
  font-family: var(--font-display); font-weight: 700; font-size: 10.5px;
  letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, 0.92);
}
.ticket__perf { position: relative; width: 0; border-left: 2px dashed var(--gold-line); }
.ticket__notch { position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 999px; background: var(--cream); }
.ticket__notch--a { top: -10px; }
.ticket__notch--b { bottom: -10px; }
.ticket__list { flex: 1; padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.ticket__list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.ticket__list strong { color: var(--ink); }

.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 44px; display: flex; flex-direction: column; gap: 36px;
  box-shadow: 0 12px 40px rgba(0, 57, 39, 0.06);
}
.q { display: flex; flex-direction: column; gap: 14px; }
.q--phone { gap: 10px; border-top: 1px solid var(--line); padding-top: 28px; }
.q__label { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); padding: 0; }
.q__label--sm { font-family: var(--font-body); font-size: 14.5px; font-weight: 600; color: var(--body); }
.q__req { color: var(--green); }
.q__hint { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.q__hint strong { color: var(--ink); }
.q__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.q__opts--row { flex-wrap: nowrap; }
.q__opts--split { gap: 10px; }

/* chips that are really radios: the input stays, it just stops painting */
.opt { position: relative; }
.opt input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.opt span {
  display: block; background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500;
  color: var(--body); cursor: pointer; transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.opt:hover span { border-color: var(--green); }
.opt input:checked + span { background: var(--green); border-color: var(--green); color: var(--surface); font-weight: 600; }
.opt input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 3px; }
.opt--wide span { padding: 10px 22px; text-align: center; }
.opt--wide { flex: 1; }
.opt--big { flex: 1; }
.opt--big span { border-radius: 14px; padding: 14px 22px; text-align: center; font-size: 15px; }

.input {
  width: 100%; background: var(--cream); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; font-family: var(--font-body);
  font-size: 15px; color: var(--ink);
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: transparent; }

.tel { display: flex; align-items: stretch; gap: 8px; }
.tel__cc {
  display: flex; align-items: center; padding: 0 16px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 14px;
  font-size: 15px; color: var(--body); flex: none;
}
.input--tel { flex: 1; }

/* the honeypot: out of the flow entirely, so it costs the layout nothing */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__msg { font-size: 14px; min-height: 1.2em; text-align: center; }
.form__msg.is-bad { color: #A6323C; }
.form__msg.is-ok { color: var(--green); font-weight: 600; }
.is-invalid span, .input.is-invalid { border-color: #A6323C; }

/* ───────────────────────── footer ───────────────────────── */

.foot { background: var(--forest); color: var(--on-dark-soft); }
.foot__inner { padding-block: 56px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; font-size: 14px; }
.foot__brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--on-dark); }
.foot__line { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--lime); margin-top: 10px; }
.foot__sub { margin-top: 10px; }
.foot__right { text-align: right; display: flex; flex-direction: column; gap: 6px; }
.foot__right a { color: var(--on-dark-soft); }
.foot__right a:hover { color: var(--lime); }
.foot__fine { color: var(--muted); }

/* ───────────────────────── reveal ───────────────────────── */

.js [data-reveal] { opacity: 0; transform: translateY(18px); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .waste__bar--need { transform: scaleX(0); transition: transform 0.9s 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
  .waste.is-in .waste__bar--need { transform: scaleX(1); }
}

/* ───────────────────────── the loops ─────────────────────────
   Everything that repeats forever lives here, behind the motion query,
   so a reduced-motion visitor gets the same page holding still.
   JS owns the one-shot sequences (the order flow, the rider); CSS owns
   the idle life. Nothing is animated by both.
   ───────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  @keyframes float-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
  @keyframes awning { to { background-position: 44px 0; } }

  .phone--hero { animation: hero-float 6s ease-in-out infinite; }
  @keyframes hero-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  .float--a { animation: float-a 4.5s ease-in-out infinite; }
  .float--b { animation: float-a 5.2s ease-in-out 0.9s infinite; }
  .pack__live { animation: pulse 1.6s ease-in-out infinite; }
  .shop__awning { animation: awning 2.4s linear infinite; }

  /* scene 2 — the eye down the list, the item into the bag */
  @keyframes row-scan {
    0%, 21% { transform: translateY(0); }
    25%, 46% { transform: translateY(24px); }
    50%, 71% { transform: translateY(48px); }
    75%, 96% { transform: translateY(72px); }
    100% { transform: translateY(0); }
  }
  .pack__hl { animation: row-scan 9.2s ease-in-out infinite; }

  @keyframes arm-reach {
    0%, 18% { transform: rotate(-46deg); }
    42%, 58% { transform: rotate(30deg); }
    82%, 100% { transform: rotate(-46deg); }
  }
  .packer__arm { animation: arm-reach 4.6s ease-in-out infinite; transform-origin: 5px 6px; }

  @keyframes held { 0%, 12% { opacity: 0; } 18%, 48% { opacity: 1; } 54%, 100% { opacity: 0; } }
  .packer__held { animation: held 4.6s linear infinite; }

  @keyframes item-fall {
    0%, 50% { opacity: 0; transform: translateY(0); }
    55% { opacity: 1; transform: translateY(0); }
    68% { opacity: 1; transform: translateY(26px); }
    74%, 100% { opacity: 0; transform: translateY(30px); }
  }
  .pack__drop { animation: item-fall 4.6s ease-in infinite; }

  @keyframes bag-take {
    0%, 62% { transform: scale(1); }
    68% { transform: scale(1.05, 0.94); }
    76%, 100% { transform: scale(1); }
  }
  .scene--pack .bag { animation: bag-take 4.6s ease-in-out infinite; transform-origin: bottom center; }

  /* scene 3 — walk out, mount, ride off. One 8s bar for all three. */
  @keyframes walk-out {
    0%, 6% { transform: translateX(0); opacity: 0; }
    10% { opacity: 1; }
    42% { transform: translateX(118px); opacity: 1; }
    50%, 100% { transform: translateX(118px); opacity: 0; }
  }
  .walker { animation: walk-out 8s ease-in-out infinite; }

  @keyframes parked { 0%, 48% { opacity: 1; } 54%, 100% { opacity: 0; } }
  .bike--parked { animation: parked 8s ease-in-out infinite; }

  @keyframes ride-off {
    0%, 48% { transform: translateX(0); opacity: 0; }
    55% { transform: translateX(12px); opacity: 1; }
    88% { transform: translateX(330px); opacity: 1; }
    92%, 100% { transform: translateX(330px); opacity: 0; }
  }
  .bike--riding { animation: ride-off 8s ease-in-out infinite; }

  @keyframes pill-in { 0%, 50% { opacity: 0; } 57%, 82% { opacity: 1; } 90%, 100% { opacity: 0; } }
  .scene__pill { animation: pill-in 8s ease-in-out infinite; }

  /* scene 5 — lift the bowl, tip it in, and the steam answers */
  @keyframes bowl-tip {
    0%, 20% { transform: translate(0, 0) rotate(0deg); }
    32% { transform: translate(8px, -18px) rotate(0deg); }
    52% { transform: translate(154px, -28px) rotate(0deg); }
    58%, 72% { transform: translate(162px, -32px) rotate(-46deg); }
    88% { transform: translate(12px, -12px) rotate(0deg); }
    94%, 100% { transform: translate(0, 0) rotate(0deg); }
  }
  .bowl--held { animation: bowl-tip 6s ease-in-out infinite; }

  @keyframes arm-pick {
    0%, 20% { transform: rotate(55deg); }
    32% { transform: rotate(30deg); }
    52%, 72% { transform: rotate(-4deg); }
    88% { transform: rotate(45deg); }
    94%, 100% { transform: rotate(55deg); }
  }
  .cook__arm { animation: arm-pick 6s ease-in-out infinite; transform-origin: 5px 6px; }

  @keyframes drop-in {
    0%, 58% { opacity: 0; transform: translateY(0); }
    63% { opacity: 1; }
    72% { opacity: 1; transform: translateY(28px); }
    76%, 100% { opacity: 0; transform: translateY(32px); }
  }
  .drop--a { animation: drop-in 6s ease-in infinite; }
  .drop--b { animation: drop-in 6s ease-in 0.18s infinite; }

  /* idle wisps, then a burst on the 60% mark when the food lands */
  @keyframes steam-react {
    0% { opacity: 0; transform: translateY(6px) scale(0.8); }
    8% { opacity: 0.3; transform: translateY(0) scale(0.85); }
    18% { opacity: 0; transform: translateY(-12px) scale(0.9); }
    30% { opacity: 0; transform: translateY(6px) scale(0.8); }
    38% { opacity: 0.3; transform: translateY(0) scale(0.85); }
    48% { opacity: 0; transform: translateY(-12px) scale(0.9); }
    60% { opacity: 0; transform: translateY(8px) scale(0.85); }
    70% { opacity: 0.95; transform: translateY(-6px) scale(1.3); }
    84% { opacity: 0.5; transform: translateY(-24px) scale(1.5); }
    96%, 100% { opacity: 0; transform: translateY(-38px) scale(1.6); }
  }
  .steam--a { animation: steam-react 6s ease-out infinite; }
  .steam--b { animation: steam-react 6s ease-out 0.15s infinite; }
  .steam--c { animation: steam-react 6s ease-out 0.3s infinite; }

  @keyframes eq { 0%, 100% { height: 28%; } 50% { height: 92%; } }
  .eq i:nth-child(1) { animation: eq 0.9s ease-in-out infinite; }
  .eq i:nth-child(2) { animation: eq 1.1s ease-in-out 0.15s infinite; }
  .eq i:nth-child(3) { animation: eq 0.8s ease-in-out 0.3s infinite; }
  .eq i:nth-child(4) { animation: eq 1.2s ease-in-out 0.1s infinite; }
  .eq i:nth-child(5) { animation: eq 0.95s ease-in-out 0.4s infinite; }
  .eq i:nth-child(6) { animation: eq 1.05s ease-in-out 0.25s infinite; }
  .eq i:nth-child(7) { animation: eq 0.85s ease-in-out 0.5s infinite; }

  /* The feature marquee is a real scroll container, not a transform: a finger
     has to be able to push it along. main.js drifts it by setting scrollLeft,
     so swiping is the browser's own scrolling — momentum included — and the
     drift carries on underneath the swipe rather than stopping for it.
     scroll-behavior must be auto here; the global `smooth` would turn every
     per-frame nudge into an animation and the drift would stutter. */
  .marquee {
    overflow-x: auto; scroll-behavior: auto;
    overscroll-behavior-x: contain; scrollbar-width: none; cursor: grab;
  }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee.is-grabbing { cursor: grabbing; }
  .marquee__track { display: flex; width: max-content; }
  .marquee__set { display: flex; grid-template-columns: none; gap: 20px; padding-inline: 0; padding-right: 20px; }
  .feat { width: 252px; flex: none; }

  /* the small life inside each feature card */
  @keyframes ico-tilt { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-9deg); } }
  .ico--tilt { animation: ico-tilt 3.2s ease-in-out infinite; transform-origin: bottom center; }
  @keyframes ico-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
  .feat__rs { animation: ico-pulse 2.4s ease-in-out infinite; }
  @keyframes ico-flick {
    0%, 100% { transform: rotate(-3deg) scale(1); }
    30% { transform: rotate(3deg) scale(1.06); }
    60% { transform: rotate(-2deg) scale(0.98); }
  }
  .ico--flick { animation: ico-flick 1.7s ease-in-out infinite; transform-origin: bottom center; }
  @keyframes ico-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: -100; } }
  .ico__draw { stroke-dasharray: 100; animation: ico-draw 3s linear infinite; }
  @keyframes ico-blink { 0%, 86%, 94%, 100% { transform: scaleY(1); } 90% { transform: scaleY(0.12); } }
  .ico--blink { animation: ico-blink 3.6s ease-in-out infinite; transform-origin: center; }
  @keyframes ico-hop { 0%, 70%, 100% { transform: translateY(0); } 80% { transform: translateY(-3px); } 90% { transform: translateY(0); } }
  .ico--hop { animation: ico-hop 3s ease-in-out infinite; }
  @keyframes ico-beat { 0%, 48%, 100% { transform: scale(1); } 10% { transform: scale(1.16); } 20% { transform: scale(1); } 32% { transform: scale(1.12); } }
  .ico--beat { animation: ico-beat 1.9s ease-in-out infinite; }
  @keyframes ico-ring {
    0%, 74%, 100% { transform: rotate(0deg); }
    78% { transform: rotate(-13deg); } 84% { transform: rotate(11deg); }
    90% { transform: rotate(-6deg); } 95% { transform: rotate(3deg); }
  }
  .ico--ring { animation: ico-ring 3.4s ease-in-out infinite; transform-origin: top center; }
}

/* ───────────────────────── tablet ───────────────────────── */

@media (max-width: 1040px) {
  :root { --k: 0.82; }
  .hero__inner { gap: 2rem; }
  .phone--hero { zoom: 0.88; }
  .step__text { font-size: 15px; }
}

/* ───────────────────────── phone ─────────────────────────
   One column, and the journey line moves to the left margin so the
   steps read as one thread rather than a zig-zag squeezed to nothing.
   ───────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  :root { --sec: 3rem; --k: 0.72; }
  body { font-size: 16px; }

  .nav__inner { padding: 18px var(--gut); }
  .nav__brand img { height: 30px; }
  .nav__where { display: none; }
  .nav__cta { font-size: 13.5px; padding: 10px 18px; }

  /* the hero phone goes: step 1 shows the same app two screens later, and
     a 600px mock-up pushes the ₹50 offer a full screen further down */
  .hero__phone { display: none; }
  .hero__inner { flex-direction: column; align-items: stretch; padding: 12px var(--gut) 48px; }
  .hero__copy { gap: 18px; }
  .hero__lede { max-width: none; }
  .hero__actions { flex-direction: column; align-items: stretch; align-self: stretch; }
  .btn--lg { width: 100%; }
  .coupon { justify-content: center; }

  .problem__grid { flex-direction: column; gap: 12px; }
  .waste, .stat { padding: 24px; }
  .stat__n { font-size: 40px; }

  .journey__flow { padding-block: 8px 32px; }
  .journey__spine, .journey__line { left: 7.5px; margin-left: 0; }

  .step { display: flex; flex-direction: column; gap: 16px; padding: 20px 0 20px 34px; }
  .step__dot { position: absolute; left: 0; top: 21px; width: 18px; height: 18px; align-self: auto; }
  .step__copy { grid-column: auto !important; padding: 0 !important; gap: 8px; order: 1; }
  .step__art { grid-column: auto !important; order: 2; }
  .step--wide { padding: 20px 0 0 34px; }
  /* the wide step is a flex column here too, so the map needs the same
     ordering as every other scene — copy first, illustration under it */
  .step--wide .map { order: 2; }
  .step__copy--mid { align-items: flex-start; text-align: left; margin: 0 0 14px; max-width: none; }

  .map { height: auto; aspect-ratio: 350 / 300; }
  .map__svg--wide { display: none; }
  .map__svg--tall { display: block; }

  .scene--cook { flex-direction: column; padding: 20px; gap: 20px; }
  .guide { width: 100%; }
  .float--a { top: -16px; left: 14px; }
  .float--b { bottom: -16px; right: 14px; }

  .why__grid { grid-template-columns: 1fr; gap: 12px; }
  .card { padding: 22px; gap: 10px; }
  .card__title { font-size: 20px; }

  .feat { width: 220px; }
  .soon { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 18px; }

  .honest__inner { flex-direction: column; align-items: flex-start; gap: 20px; padding-block: var(--sec); }
  .honest__pills { flex-direction: row; flex-wrap: wrap; }

  .join__inner { gap: 16px; }
  .ticket { flex-direction: column; }
  .ticket__stub { flex: none; flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 18px; }
  .ticket__amt { font-size: 34px; }
  .ticket__perf { width: auto; height: 0; border-left: 0; border-top: 2px dashed var(--gold-line); }
  .ticket__notch--a { top: -10px; left: -10px; }
  .ticket__notch--b { top: -10px; bottom: auto; left: auto; right: -10px; }
  .ticket__list { padding: 16px 18px; gap: 8px; }

  .form { padding: 20px 16px; gap: 20px; }
  .q__label { font-size: 15.5px; }
  .q__opts { gap: 8px; }
  .opt span { font-size: 13.5px; padding: 9px 14px; }
  .opt--wide span { padding: 9px 12px; }

  .foot__inner { flex-direction: column; align-items: flex-start; padding-block: 28px; gap: 14px; }
  .foot__right { text-align: left; }
}

/* every tap target clears 44px on a touch screen */
@media (pointer: coarse) {
  .opt span { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .input, .tel__cc { min-height: 48px; }
}
