/* Hallmark · shape: the drive, from your seat to our window, then the pages a business needs · genre: playful · theme: custom (by request: cream editorial, the owner picked Look 1 of two) · job: visit · idea: "the page is the drive: a thin road runs from the car seat to our window after Pattangi toll" · vibe: "calm warm canvas, one yellow, red actions, real food"
 * paper: oklch(97.9% 0.012 85) · accent: oklch(57.8% 0.232 28) · display: Gloock (cream editorial, his pick) · body: Poppins · hero: the driver photo on a yellow panel beside the promise, a thin road with the toll barrier under the hero · nav: white bar, wordmark, five links, one quiet action · footer: brand column and three link columns · imagery: the owner's own photographs and food cut-outs, the app's pickup pass and sign-in screen · signature: the thin black road with the red and white toll barrier
 * axes: light/grotesk-heavy/warm · posture: brand · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V4 · weakest: P, a stall page argues little; the four stops along the road carry the case: order early, eat at the toll. Cut for restraint: the yellow bands, the red app band, the giant road */
/* Hallmark · waive 65 · cream paper, Gloock serif and a wine accent are the owner's own pick (Look 1, modelled on the Rosso reference he sent) · On d Way chose this cream editorial look over the dark one on 7 Nov */
/* Hallmark · dismissed 23 · the giant wine dish word is the page's signature, one per dish screen, sitting in front of the food like the reference */
@import url("./tokens.css");
@import url("./base.css");

body { background: var(--color-paper); }

/* Skip link */
.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-card); }
.skip:focus-visible { top: var(--space-md); }

/* Nav */
.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-card); border-bottom: 1px solid var(--color-rule); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); min-height: var(--nav-h); }
.nav__logo { display: inline-flex; align-items: center; gap: var(--space-xs); border-radius: var(--space-xs); }
.nav__pin { width: auto; height: 40px; }
.nav__words { width: 116px; height: auto; }
.nav__links { display: flex; align-items: center; gap: var(--space-lg); margin: 0; padding: 0; list-style: none; }
.nav__links a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-sm); font-weight: 600; text-decoration: none; color: var(--color-ink-2); transition: color var(--dur-micro) var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--color-ink); }
.nav__links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.5em; }
.nav__links a:active { color: var(--color-muted); }
.nav__links .nav__app { padding: 0 var(--space-md); min-height: 40px; border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); color: var(--color-ink); }
.nav__links .nav__app:hover { background: var(--color-ink); color: var(--color-card); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg); border-radius: var(--radius-pill); font-weight: 600; font-size: var(--text-md); text-decoration: none; white-space: nowrap; cursor: pointer; border: 0; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-text); }
.btn--ghost { background: transparent; border: 1.5px solid var(--color-ink); color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-ink); color: var(--color-card); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* The road: black, white edge lines, white dashes, a red and white toll barrier */
.road { position: relative; height: 22px; background-color: var(--color-road); background-image:
    linear-gradient(var(--color-road-line), var(--color-road-line)),
    linear-gradient(var(--color-road-line), var(--color-road-line)),
    repeating-linear-gradient(90deg, var(--color-road-line) 0 22px, transparent 22px 40px);
  background-size: 100% 1.5px, 100% 1.5px, 100% 3px; background-position: 0 3px, 0 calc(100% - 3px), 0 50%; background-repeat: no-repeat; }
.road__toll { position: absolute; top: -8px; bottom: -8px; left: 62%; width: 8px; border-radius: 3px; background: repeating-linear-gradient(180deg, var(--color-accent) 0 6px, var(--color-road-line) 6px 12px); }

/* The scroll story: car, toll gate, our stall, the bag (the owner's Flow clips) */
.story { position: relative; background: var(--color-clay); }
.scrub-on .story { height: 340vh; }
.story__stage { position: relative; height: 100svh; min-height: 620px; overflow: clip; }
.scrub-on .story__stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); }
.story__frames { position: absolute; inset: 0; }
.story__frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; opacity: 0; scale: 1.06; transition: opacity 900ms var(--ease-out), scale 1600ms var(--ease-out); }
.story__frame.is-on { opacity: 1; scale: 1; }
.story__text { position: relative; padding-top: var(--space-xl); }
.story__text h2 { font-size: var(--text-section); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; max-width: 16ch; }
.story__steps { position: absolute; left: 0; right: 0; bottom: var(--space-lg); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin: 0 auto; list-style: none; }
.story__steps li { display: grid; gap: var(--space-3xs); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-tile); background: var(--color-card); box-shadow: var(--shadow-card); opacity: 0.55; translate: 0 6px; transition: opacity 500ms var(--ease-out), translate 500ms var(--ease-out); }
.story__steps li.is-on { opacity: 1; translate: 0 0; }
.story__steps strong { font-size: var(--text-md); }
.story__steps span { font-size: var(--text-sm); color: var(--color-ink-2); }

/* One dish per screen: scroll plays its clip, the giant word sits in front of the food's base */
.dish-stage { position: relative; background: var(--dish-bg); }
.dish-stage--burger { --dish-bg: var(--color-dish-burger); --dish-word: var(--color-accent); }
.dish-stage--bowl { --dish-bg: var(--color-dish-bowl); --dish-word: var(--color-accent); }
.dish-stage--mojito { --dish-bg: var(--color-dish-mojito); --dish-word: var(--color-ink); }
.scrub-on .dish-stage { height: 220vh; }
.dish-stage__pin { position: relative; height: 100svh; min-height: 560px; overflow: clip; display: grid; place-items: center; }
.scrub-on .dish-stage__pin { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); }
.dish-stage__video { position: absolute; inset: 0; margin: auto; width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, var(--color-ink) 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, var(--color-ink) 62%, transparent 100%); }
.dish-stage__text { position: absolute; top: var(--space-3xl); left: 0; right: 0; z-index: var(--z-raised); }
.dish-stage__text h2 { font-size: var(--text-section); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.dish-stage__no { display: block; font-size: var(--text-lg); }
.dish-stage__text p { margin-top: var(--space-xs); max-width: 28ch; color: var(--color-ink-2); }
.dish-stage__word { position: absolute; left: 0; right: 0; bottom: 0.06em; z-index: var(--z-raised); margin: 0; text-align: center; font-size: clamp(5rem, 16vw, 14rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.05em; color: var(--dish-word); pointer-events: none; }
.scrub-on .dish-stage__word { translate: 0 calc((1 - min(1, var(--p, 1) * 2.5)) * 45%); opacity: calc(0.2 + min(1, var(--p, 1) * 2.5) * 0.8); }
.scrub-on .dish-stage__text { translate: 0 calc((1 - min(1, var(--p, 1) * 4)) * 24px); opacity: min(1, calc(0.15 + var(--p, 1) * 4)); }
.scrub-on .dish-stage__video { scale: calc(1.06 - var(--p, 0) * 0.06); }

@media (min-aspect-ratio: 1/1) { .dish-stage--bowl .dish-stage__text { text-align: right; } .dish-stage--bowl .dish-stage__text p { margin-left: auto; } }

/* Section heads */
.head { display: grid; gap: var(--space-sm); max-width: 40rem; }
.head h2 { font-size: var(--text-section); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; }
.head p { color: var(--color-ink-2); font-size: var(--text-lead); }
.section { padding-block: var(--section-gap); }
.section--white { background: var(--color-card); }

/* Hero */
.hero { padding-top: var(--space-2xl); }
.hero--clay { background: var(--color-clay); }
.hero--clay .hero__grid { padding-bottom: var(--space-3xl); }
.app-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); align-items: center; }
.app-shots img { width: 100%; filter: drop-shadow(var(--shadow-lift)); }
.app-shots img:last-child { rotate: 4deg; }
.hero--clay .hero__lead { color: var(--color-on-yellow); }
.hero__stall { width: 100%; border-radius: var(--radius-card); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl); align-items: center; padding-bottom: var(--space-2xl); }
.hero h1 { font-size: var(--text-display); font-weight: 700; line-height: 1.04; letter-spacing: var(--tracking-display); max-width: 12ch; }
.hero__lead { margin-top: var(--space-lg); font-size: var(--text-lead); color: var(--color-ink-2); max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__visual { position: relative; margin: 0; padding: var(--space-xl) var(--space-xl) 0; border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.hero__visual img { width: 100%; border-radius: var(--radius-tile) var(--radius-tile) 0 0; }

/* How it works */
.trip { margin-top: var(--space-2xl); }
.road--trip { border-radius: var(--radius-pill); }
.trip__stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-lg) 0 0; padding: 0; list-style: none; counter-reset: stop; }
.trip__stops li { counter-increment: stop; padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.trip__stops li::before { content: counter(stop); display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-card); font-size: var(--text-sm); font-weight: 700; }
.trip__stops h3 { font-size: var(--text-title); font-weight: 700; line-height: 1.25; }
.trip__stops p { margin-top: var(--space-xs); color: var(--color-ink-2); font-size: var(--text-sm); }

/* Menu */
.menu__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-md); }
.menu__note { color: var(--color-muted); font-size: var(--text-sm); }
.menu-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--gap-columns); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.menu-list li { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--color-rule); font-weight: 600; }
.dishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-lg) var(--space-md); margin: var(--space-xl) 0 0; padding: 0; list-style: none; }
.dish { display: grid; grid-template-rows: 190px auto; gap: var(--space-sm); }
.dish img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper-3); }
.dish--wide { grid-column: span 2; }
.dish__name { font-weight: 600; }
.mark { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-right: var(--space-xs); vertical-align: -1px; border: 1.5px solid currentColor; border-radius: 3px; }
.mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.mark--veg { color: var(--color-veg); }
.mark--nonveg { color: var(--color-nonveg); }
.mark--nonveg::after { width: 0; height: 0; border-radius: 0; background: none; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid currentColor; }
.combos__head { margin-top: var(--space-2xl); font-size: var(--text-xl); font-weight: 700; }
.combos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-lg) 0 0; padding: 0; list-style: none; }
.combo { display: grid; gap: var(--space-2xs); }
.combo img { width: 100%; height: 220px; object-fit: contain; padding: var(--space-md); border-radius: var(--radius-tile); background: var(--color-paper-3); }
.combo strong { margin-top: var(--space-sm); font-size: var(--text-title); font-weight: 700; }
.combo span { color: var(--color-muted); font-size: var(--text-sm); }

/* Split: picture and words */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split__img { width: 100%; max-width: 340px; justify-self: center; filter: drop-shadow(var(--shadow-lift)); }
.split .btn { margin-top: var(--space-xl); }

/* Where */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin: var(--space-xl) 0 0; }
.facts div { padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: var(--space-2xs) 0 0; font-size: var(--text-xl); font-weight: 700; }
.where__action { margin-top: var(--space-xl); }
.facts--stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stall-img { width: 100%; border-radius: var(--radius-card); }

/* A fact still to fill in */
.fill { padding: var(--space-3xs) var(--space-xs); border: 1px dashed color-mix(in oklch, var(--color-muted) 70%, transparent); border-radius: 3px; color: var(--color-muted); font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Partner page */
.give { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-xl); }
.give section { padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.give h3 { font-size: var(--text-xl); font-weight: 700; }
.give p { margin-top: var(--space-lg); color: var(--color-ink-2); }
.give ul { display: grid; gap: var(--space-sm); margin: var(--space-lg) 0 0; padding: 0 0 0 1.2em; color: var(--color-ink-2); }
.give li::marker { color: var(--color-accent-text); }
.form { display: grid; gap: var(--space-md); width: 100%; max-width: 34rem; justify-self: end; padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-card); box-shadow: var(--shadow-card); }
.field { display: grid; gap: var(--space-2xs); }
.field label { font-size: var(--text-sm); font-weight: 600; }
.field input, .field select { min-height: 52px; padding: 0 var(--space-md); border: 1px solid var(--color-muted); border-radius: var(--space-sm); background: var(--color-card); color: var(--color-ink); font-size: var(--text-md); outline: 2px solid transparent; outline-offset: -3px; }
.field input:focus-visible, .field select:focus-visible { outline-color: var(--color-focus); }
.field input[aria-invalid] { border-color: var(--color-error); }
.form__help { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }

/* Policy pages */
.doc { padding-block: var(--space-2xl) var(--section-gap); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: var(--space-3xl); align-items: start; }
.doc__toc { position: sticky; top: 96px; display: grid; gap: var(--space-xs); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); }
.doc__toc a { display: inline-flex; min-height: 32px; align-items: center; color: var(--color-ink-2); text-decoration: none; }
.doc__toc a:hover { color: var(--color-ink); text-decoration: underline; }
.doc h1 { font-size: var(--text-section); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; }
.doc__meta { margin-top: var(--space-sm); color: var(--color-muted); font-size: var(--text-sm); }
.doc__body { max-width: 68ch; line-height: 1.7; }
.doc__body h2 { margin-top: var(--space-2xl); font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.01em; }
.doc__body p, .doc__body ul { margin-top: var(--space-sm); color: var(--color-ink-2); }
.doc__body ul { padding-left: 1.2em; display: grid; gap: var(--space-2xs); }
.doc__note { margin-top: var(--space-xl); padding: var(--space-md) var(--space-lg); border-radius: var(--radius-tile); background: var(--color-paper-3); color: var(--color-ink-2); font-size: var(--text-sm); }

/* Footer */
.foot { padding-block: var(--space-2xl) var(--space-xl); background: var(--color-card); border-top: 1px solid var(--color-rule); }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--space-xl); }
.foot__lockup { display: inline-grid; justify-items: center; gap: var(--space-sm); }
.foot__pin { width: auto; height: 84px; }
.foot__logo { width: 140px; height: auto; }
.foot__brand p { margin-top: var(--space-sm); color: var(--color-ink-2); }
.foot h2 { font-size: var(--text-sm); font-weight: 700; }
.foot ul { display: grid; gap: var(--space-2xs); margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.foot a { white-space: nowrap; display: inline-flex; min-height: 32px; align-items: center; color: var(--color-ink-2); text-decoration: none; font-size: var(--text-sm); }
.foot a:hover { color: var(--color-ink); text-decoration: underline; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--color-rule); color: var(--color-muted); font-size: var(--text-sm); }


/* Look 1, cream editorial: serif heads at one weight, square controls, the clay story framed on cream */
h1, h2, h3, .dish-stage__word { font-weight: 400; letter-spacing: -0.015em; }
.hero h1, .story__text h2, .head h2, .dish-stage__text h2, .doc h1 { font-weight: 400; letter-spacing: -0.02em; line-height: 1.02; }
.hero h1 { font-size: clamp(2.75rem, 4.4vw + 1rem, 5.25rem); }
.trip__stops h3, .give h3, .combos__head, .combo strong, .facts dd, .doc__body h2, .story__steps strong { font-family: var(--font-display); font-weight: 400; }
.btn, .nav__links .nav__app { border-radius: 2px; }
.nav { background: var(--color-paper); }
.hero--clay { background: var(--color-paper); }
.hero--clay .hero__lead { color: var(--color-ink-2); }
.hero__stall { border-radius: var(--radius-card); box-shadow: var(--shadow-lift); }
.story { background: var(--color-paper); }
.story__frames { inset: calc(var(--space-xl) + clamp(64px, 6vw, 104px)) var(--gutter) calc(var(--space-lg) + 96px); border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-lift); }
.story__text { padding-top: var(--space-md); }
.story__text h2 { position: relative; z-index: var(--z-raised); }
.story__steps { bottom: var(--space-lg); }
.story__steps li { border-radius: var(--radius-tile); box-shadow: none; border: 1px solid var(--color-rule); background: var(--color-card); }
.dish-stage__word { font-family: var(--font-display); color: var(--color-accent); font-size: clamp(5rem, 15vw, 13rem); }
.dish-stage--mojito .dish-stage__word { color: var(--color-ink); }
.dish-stage__no { font-family: var(--font-body); font-size: var(--text-sm); }
.trip__stops li, .facts div, .give section, .form { box-shadow: none; border: 1px solid var(--color-rule); }
.section--white { background: var(--color-card); }

/* One gentle reveal: section heads rise in once as they enter (visible without script) */
.js .rise { opacity: 0; translate: 0 18px; transition: opacity 900ms var(--ease-out), translate 900ms var(--ease-out); }
.js .rise.is-in { opacity: 1; translate: 0 0; }

/* Tablet and phone */
@media (max-width: 60rem) {
  .nav__links li:not(:last-child) { display: none; }
  .hero__grid, .split, .split--flip, .doc__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .hero__visual { padding: var(--space-lg) var(--space-lg) 0; }
  .trip__stops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .combos, .facts, .give { grid-template-columns: minmax(0, 1fr); }
  .menu-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__img { max-width: 260px; }
  .doc__toc { position: static; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-aspect-ratio: 1/1) {
  .story__frames { inset: 0; border-radius: 0; box-shadow: none; }
  .story__frame { top: 26%; height: 44%; object-fit: cover; -webkit-mask-image: linear-gradient(to bottom, transparent, var(--color-ink) 14%, var(--color-ink) 86%, transparent); mask-image: linear-gradient(to bottom, transparent, var(--color-ink) 14%, var(--color-ink) 86%, transparent); }
  .story__frame[data-step="0"] { object-position: 36% 60%; }
  .story__frame[data-step="1"] { object-position: 50% 60%; }
  .story__frame[data-step="2"] { object-position: 52% 50%; }
  .dish-stage__video { top: auto; bottom: 10%; height: 58%; }
  .story__steps { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .story__steps li:not(.is-on) { display: none; }
}
@media (max-width: 40rem) {
  .trip__stops { grid-template-columns: minmax(0, 1fr); }
  .dish { grid-template-rows: 150px auto; }
  .form { padding: var(--space-lg); }
}
