/* Saltbush & Lime — public concept site.
   World: four flavour points as four page-scale colour fields (sour lime, saltbush salt,
   palm-sugar sweet, chilli heat) on wok-smoke charcoal; cream board pages for reading menus.
   Type: Chonburi (display), Kanit Black Italic (sign lettering), Anuphan (text). */

/* Fonts: self-hosted Google Fonts subsets (SIL Open Font License 1.1). font-display: swap, and each
   '... Fallback' face is a local font resized to the web font's metrics so the swap barely moves anything. */
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/anuphan-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Anuphan'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/anuphan-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chonburi'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/chonburi-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Chonburi'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/chonburi-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 800; font-display: swap; src: url(../fonts/kanit-800i-thai.woff2) format('woff2'); unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC; }
@font-face { font-family: 'Kanit'; font-style: italic; font-weight: 800; font-display: swap; src: url(../fonts/kanit-800i-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anuphan Fallback'; src: local('Arial'), local('ArialMT'); font-weight: 100 549; size-adjust: 100.45%; ascent-override: 102.04%; descent-override: 27.38%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Anuphan Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'); font-weight: 550 900; size-adjust: 96.43%; ascent-override: 106.29%; descent-override: 28.52%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chonburi Fallback'; src: local('Georgia'); size-adjust: 126.44%; ascent-override: 75.13%; descent-override: 19.77%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Kanit Fallback'; font-style: italic; font-weight: 800; src: local('Arial Narrow Bold Italic'), local('ArialNarrow-BoldItalic'); size-adjust: 111.63%; ascent-override: 98.54%; descent-override: 35.38%; line-gap-override: 0%; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --char: #161412;
  --char-2: #1f1c19;
  --char-3: #2a2622;
  --char-line: rgba(244, 234, 219, .14);
  --cream: #f4eadb;
  --cream-2: #eadcc5;
  --cream-3: #dfcdb1;
  --ink: #1b1815;
  --ink-2: #4a423a;
  --ink-line: rgba(27, 24, 21, .16);
  --lime: #c9dd3c;
  --lime-deep: #5f6f12;
  --chilli: #e2483d;
  --chilli-ink: #c2352b;
  --chilli-deep: #9e2a22;
  --sage: #a9baa8;
  --sage-deep: #4d6152;
  --caramel: #d4954a;
  --caramel-deep: #8a5419;
  --muted-on-dark: #c9bba5;

  --f-display: 'Chonburi', 'Chonburi Fallback', 'Georgia', serif;
  --f-sign: 'Kanit', 'Kanit Fallback', 'Arial Narrow', sans-serif;
  --f-text: 'Anuphan', 'Anuphan Fallback', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* motion tokens: warm, a little playful (mirrored in app/app.css and assets/js/micro.js) */
  --dur-1: 140ms;   /* hover, press */
  --dur-2: 220ms;   /* state change */
  --dur-3: 340ms;   /* entering content */
  --dur-4: 460ms;   /* set pieces: docket print, stamp */
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-in: cubic-bezier(.5, 0, .75, 0);
  --spring: cubic-bezier(.34, 1.4, .64, 1); /* upgraded to a real spring via linear() below */
  --press: .97;
  --lift: -2px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--char); color: var(--cream);
  font: 400 17px/1.6 var(--f-text); font-feature-settings: 'kern';
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
.on-cream :focus-visible, .board :focus-visible { outline-color: var(--chilli-ink); }
::selection { background: var(--lime); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); }

/* ---------- type ---------- */
.display, h1, h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em; line-height: 1.02; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); }
h3 { font: 600 1.3rem/1.25 var(--f-text); margin: 0; letter-spacing: -.005em; }
.sign { font-family: var(--f-sign); font-style: italic; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 38ch; color: var(--muted-on-dark); margin: 0; }
.on-cream .lede { color: var(--ink-2); }
p { margin: 0 0 1em; max-width: 68ch; }
.small { font-size: .875rem; line-height: 1.5; }
.c-lime { color: var(--lime); } .c-sage { color: var(--sage); } .c-caramel { color: var(--caramel); } .c-chilli { color: var(--chilli); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--chilli-ink); --fg: #fff6ec;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.4em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--f-text); letter-spacing: .005em; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .25s, box-shadow .4s var(--ease);
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 8px 22px -12px rgba(0,0,0,.6);
}
.btn:hover { background: var(--chilli-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 1.5px var(--char-line); }
.btn--ghost:hover { background: rgba(244,234,219,.07); box-shadow: inset 0 0 0 1.5px rgba(244,234,219,.4); }
.on-cream .btn--ghost, .btn--ghost.on-light { --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-line); }
.on-cream .btn--ghost:hover { background: rgba(27,24,21,.05); box-shadow: inset 0 0 0 1.5px rgba(27,24,21,.45); }
.btn--cream { --bg: var(--cream); --fg: var(--ink); }
.btn--cream:hover { background: #fff8ee; }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--lime:hover { background: #d8ea52; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.textlink { color: inherit; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; text-decoration-color: currentColor; transition: text-decoration-color .2s; }
.textlink:hover { text-decoration-color: var(--lime); }
.on-cream .textlink:hover { text-decoration-color: var(--chilli-ink); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 100; background: rgba(22,20,18,.0); transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.site-head.is-solid { background: rgba(22,20,18,.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 var(--char-line); }
.site-head__in { display: flex; align-items: center; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__word { font: 400 1.32rem/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; }
.brand__word i { font: italic 800 1.1rem/1 var(--f-sign); color: var(--lime); padding: 0 .12em; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 12px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .96rem; color: var(--muted-on-dark); transition: color .2s, background-color .2s; white-space: nowrap; }
.nav a:hover { color: var(--cream); background: rgba(244,234,219,.06); }
.nav a[aria-current="page"] { color: var(--cream); box-shadow: inset 0 -2px 0 var(--lime); border-radius: 0; }
.head-cta { display: flex; align-items: center; gap: 10px; }
.head-cta .btn { min-height: 44px; padding: 0 1.15em; font-size: .95rem; }
.pill-concept { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; font: 600 .72rem/1 var(--f-text); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--lime); box-shadow: inset 0 0 0 1px rgba(201,221,60,.45); white-space: nowrap; }
.pill-concept:hover { background: rgba(201,221,60,.1); }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border-radius: 999px; border: 0; background: rgba(244,234,219,.08); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--cream); position: relative; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--cream); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mnav { position: fixed; inset: 76px 0 0 0; z-index: 99; background: var(--char); padding: 24px var(--gutter) 40px; display: none; flex-direction: column; overflow-y: auto; }
.nav-open .mnav { display: flex; animation: mnav-in .45s var(--ease); }
@keyframes mnav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mnav a.mnav__link { font: 400 2.1rem/1.1 var(--f-display); letter-spacing: -.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--char-line); display: flex; justify-content: space-between; align-items: center; }
.mnav a.mnav__link[aria-current="page"] { color: var(--lime); }
.mnav__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mnav__foot .btn { width: 100%; }

@media (max-width: 1180px) { .nav a { padding: 10px 9px; font-size: .92rem; } .pill-concept { display: none; } }
@media (max-width: 1020px) {
  .nav, .head-cta .btn--ghost, .head-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .head-cta { margin-left: auto; }
  .pill-concept { display: inline-flex; }
}

/* ---------- reveal motion ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(8% 0 0 0 round var(--radius)); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js .rv-img.in { clip-path: inset(0 0 0 0 round var(--radius)); }
@media (prefers-reduced-motion: reduce) { .js .rv, .js .rv-img { opacity: 1; transform: none; clip-path: none; transition: none; } }
/* Hero entrance: CSS only and transform/clip based, so the first paint already shows the hero (no wait for JS). */
.hero-in { animation: hero-rise var(--dur-4) var(--ease-out) both; animation-delay: var(--d, 0s); }
@keyframes hero-rise { from { transform: translateY(18px); } }
.hero-in-img { animation: hero-unclip 500ms var(--ease-out) both; }
@keyframes hero-unclip { from { clip-path: inset(8% 0 0 0 round var(--radius)); } to { clip-path: inset(0 0 0 0 round var(--radius)); } }
@media (prefers-reduced-motion: reduce) { .hero-in, .hero-in-img { animation: none; } }

/* botanical line drawings */
.bot { color: var(--sage); fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.bot .fill-soft { fill: currentColor; fill-opacity: .08; }
.draw path, .draw circle, .draw ellipse, .draw line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 22ms + .1s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .draw path, .draw circle, .draw ellipse, .draw line { animation: none; stroke-dashoffset: 0; } }

/* ---------- photos ---------- */
.ph { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--char-3); isolation: isolate; }
.ph::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(244,234,219,.1); pointer-events: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.ph--warm { background: #3a2a1c; } .ph--green { background: #26301f; } .ph--red { background: #3b1b17; }
a:hover > .ph img, .ph:hover img { transform: scale(1.025); }
.ph figcaption, .cap { font-size: .8rem; color: var(--muted-on-dark); margin-top: 10px; }
.ph__tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(22,20,18,.82); color: var(--cream); padding: 7px 12px; border-radius: 999px; font-size: .8rem; font-weight: 500; backdrop-filter: blur(6px); }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero .grid { align-items: end; row-gap: 40px; }
.hero__copy { grid-column: 1 / span 7; padding-bottom: 8px; }
.hero__copy h1 { font-size: clamp(3.1rem, 7.6vw, 6rem); line-height: .98; margin-bottom: 28px; }
.hero__copy h1 .w { display: inline-block; }
.hero__copy h1 .amp { font: italic 800 .78em/1 var(--f-sign); color: var(--cream); padding: 0 .04em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__media { grid-column: 8 / span 5; position: relative; }
.hero__media .ph { aspect-ratio: 4 / 5; }
.hero__note { position: absolute; left: -28px; bottom: 28px; z-index: 3; background: var(--cream); color: var(--ink); border-radius: 12px; padding: 14px 18px 13px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); max-width: 250px; }
.hero__note .sign { font-size: 1.05rem; color: var(--chilli-ink); display: block; margin-bottom: 2px; }
.hero__note span { font-size: .9rem; line-height: 1.4; display: block; color: var(--ink-2); }
.hero__bot { position: absolute; pointer-events: none; }
.hero__bot--grass { right: -46px; top: -40px; width: 170px; color: var(--lime); z-index: 2; }
.hero__bot--chilli { left: -10px; bottom: -6px; width: 120px; color: var(--chilli); opacity: .9; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; color: var(--muted-on-dark); font-size: .92rem; }
.hero__meta b { color: var(--cream); font-weight: 600; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; }

@media (max-width: 900px) {
  .hero__copy, .hero__media { grid-column: 1 / -1; }
  .hero__media { order: -1; }
  .hero__media .ph { aspect-ratio: 5 / 4; }
  .hero__note { left: 12px; bottom: 12px; max-width: 220px; padding: 11px 14px; }
  .hero__bot--grass { width: 110px; right: -20px; top: -24px; }
  .hero__copy h1 { font-size: clamp(2.9rem, 13vw, 4.4rem); }
}

/* ---------- flavour fields ---------- */
.balance { padding: clamp(64px, 8vw, 120px) 0 0; }
.balance__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.balance__head h2 { max-width: 15ch; }
.balance__head p { color: var(--muted-on-dark); max-width: 42ch; margin: 0; }
.fields { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 560px; }
.field { position: relative; padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; color: var(--ink); overflow: hidden; text-decoration: none; transition: flex-grow .6s var(--ease); }
.field--sour { background: var(--lime); }
.field--salt { background: var(--sage); }
.field--sweet { background: var(--caramel); }
.field--heat { background: var(--chilli-ink); color: #fff3e6; }
.field__word { font: 400 clamp(2.4rem, 3.6vw, 3.4rem)/1 var(--f-display); letter-spacing: -.02em; }
.field__from { margin-top: 10px; font-weight: 500; max-width: 24ch; font-size: .98rem; line-height: 1.45; opacity: .86; }
.field__art { flex: 1; display: grid; place-items: center; padding: 18px 0; min-height: 190px; }
.field__art svg { width: min(200px, 80%); height: auto; color: currentColor; stroke-width: 1.15; }
.field__dish { border-top: 1.5px solid currentColor; padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.field__dish b { font-weight: 600; font-size: 1.02rem; line-height: 1.3; }
.field__dish span { font: italic 800 1.05rem/1 var(--f-sign); white-space: nowrap; }
.field__idx { position: absolute; top: clamp(24px, 2.6vw, 40px); right: clamp(24px, 2.6vw, 40px); font: italic 800 .85rem/1 var(--f-sign); opacity: .8; }
.field--heat .field__idx, .field--heat .field__from { opacity: .96; } /* cream on chilli needs near-full strength for 4.5:1 */
@media (max-width: 1020px) { .fields { grid-template-columns: 1fr 1fr; min-height: 0; } .field { min-height: 400px; } }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } .field { min-height: 0; } .field__art { min-height: 150px; } .field__art svg { width: 150px; } }

/* ---------- cream board sections ---------- */
.on-cream { background: var(--cream); color: var(--ink); }
.on-cream ::selection { background: var(--ink); color: var(--cream); }
.board-sec { padding: clamp(72px, 9vw, 130px) 0; }
.board-sec .grid { row-gap: 48px; }
.board-sec__head { grid-column: 1 / span 5; }
.board-sec__head h2 { margin-bottom: 22px; }
.board-sec__list { grid-column: 7 / span 6; }
.board-sec__photos { grid-column: 1 / span 5; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.board-sec__photos .ph { aspect-ratio: 1 / 1; background: var(--cream-3); }
.board-sec__photos figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 2; margin: 0; padding: 6px 9px; border-radius: 6px; background: rgba(244,234,219,.92); color: var(--ink); font: 600 .74rem/1 var(--f-text); letter-spacing: .02em; }
.board-sec__photos .ph:first-child { margin-top: 48px; }
.board-sec__photos .ph::after { box-shadow: inset 0 0 0 1px rgba(27,24,21,.08); }
@media (max-width: 900px) { .board-sec__head, .board-sec__list, .board-sec__photos { grid-column: 1 / -1; } .board-sec__photos { margin-top: 0; } }

/* menu board rows (shared by home preview + menu page) */
.dish { padding: 18px 0 20px; border-bottom: 1px solid var(--ink-line); }
.dish__top { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font: 600 1.18rem/1.3 var(--f-text); letter-spacing: -.005em; margin: 0; }
.dish__lead { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(27,24,21,.28); transform: translateY(-5px); }
.dish__price { font: italic 800 1.15rem/1 var(--f-sign); white-space: nowrap; font-variant-numeric: tabular-nums; }
.dish__desc { margin: 6px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; max-width: 54ch; }
.dish__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.tag { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: 6px; font: 600 .74rem/1 var(--f-text); letter-spacing: .03em; background: rgba(77,97,82,.14); color: #2f4033; }
.tag--u { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(27,24,21,.3); border: 0; background-image: none; }
.tag--u::after { content: '?'; font-weight: 700; opacity: .7; }
.heat { display: inline-flex; gap: 2px; margin-left: 4px; }
.heat svg { width: 13px; height: 13px; color: var(--chilli-ink); fill: currentColor; }
.heat svg.off { color: rgba(27,24,21,.18); }
.dish__portion { font-size: .82rem; color: var(--ink-2); margin-left: auto; }

/* ---------- fire / feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.split__media { position: relative; min-height: 420px; background: #2c1a10; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__copy { padding: clamp(48px, 7vw, 110px) var(--gutter); display: flex; flex-direction: column; justify-content: center; max-width: 720px; }
.split__copy h2 { margin-bottom: 24px; }
.facts { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 0; }
.facts li { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--char-line); align-items: start; }
.facts li svg { width: 46px; height: 46px; color: var(--caramel); }
.facts b { display: block; font-weight: 600; margin-bottom: 2px; }
.facts span { color: var(--muted-on-dark); font-size: .98rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { min-height: 360px; } }

/* ---------- functions band (chilli field) ---------- */
.band-heat { background: var(--chilli-ink); color: #fff3e6; padding: clamp(72px, 9vw, 130px) 0; position: relative; overflow: hidden; }
.band-heat .lede { color: #ffe1d2; }
.band-heat h2 { max-width: 14ch; }
.band-heat__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; align-items: end; margin-bottom: 56px; }
.band-heat__top > div:first-child { grid-column: 1 / span 6; }
.band-heat__top > div:first-child .lede { margin-top: 24px; max-width: 42ch; }
.band-heat__img { grid-column: 8 / span 5; aspect-ratio: 3 / 2; background: var(--chilli-deep); }
.band-heat__top > div:last-child { grid-column: 9 / span 4; }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1.5px solid rgba(255,243,230,.5); }
.pkg { padding: 26px 26px 30px 0; display: flex; flex-direction: column; gap: 10px; }
.pkg + .pkg { padding-left: 26px; border-left: 1px solid rgba(255,243,230,.28); }
.pkg__name { font: 400 1.75rem/1.05 var(--f-display); letter-spacing: -.02em; }
.pkg__price { font: italic 800 1.3rem/1 var(--f-sign); }
.pkg__price small { font: 500 .85rem/1 var(--f-text); font-style: normal; opacity: .85; margin-left: 4px; }
.pkg p { color: #ffe1d2; margin: 0; font-size: .98rem; }
.pkg__facts { font-size: .86rem; color: #ffe8de; margin-top: auto; padding-top: 8px; }
.band-heat__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; align-items: center; }
.band-heat__cta .small { color: #ffe8de; max-width: 46ch; margin: 0 0 0 8px; }
.band-heat .bot { color: rgba(255,243,230,.32); }
.band-heat__bot { position: absolute; right: -60px; bottom: -70px; width: 320px; pointer-events: none; transform: rotate(160deg); }
@media (max-width: 900px) {
  .band-heat__top > div:first-child, .band-heat__top > div:last-child, .band-heat__img { grid-column: 1 / -1; }
  .pkgs { grid-template-columns: 1fr; }
  .pkg, .pkg + .pkg { padding: 22px 0; border-left: 0; border-bottom: 1px solid rgba(255,243,230,.28); }
  .band-heat__bot { width: 180px; right: -50px; }
}

/* ---------- bar ---------- */
.bar-sec { padding: clamp(72px, 9vw, 130px) 0; }
.bar-sec .grid { align-items: center; row-gap: 40px; }
.bar-sec__head { grid-column: 1 / span 5; align-self: start; }
.bar-sec__head h2 { margin-bottom: 20px; }
.bar-sec__media { grid-column: 1 / span 5; }
.bar-sec__media .ph { aspect-ratio: 4 / 5; }
.bar-sec__copy { grid-column: 7 / span 6; }
.bar-sec__copy h2 { margin-bottom: 20px; }
.drinks { margin-top: 32px; border-top: 1px solid var(--char-line); }
.drink { display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 16px 0; border-bottom: 1px solid var(--char-line); }
.drink b { font-weight: 600; font-size: 1.08rem; }
.drink span { color: var(--muted-on-dark); font-size: .95rem; grid-column: 1; }
.drink i { font: italic 800 1.1rem/1 var(--f-sign); color: var(--lime); grid-row: 1; grid-column: 2; align-self: baseline; }
@media (max-width: 900px) { .bar-sec__media, .bar-sec__copy, .bar-sec__head { grid-column: 1 / -1; } .bar-sec__media .ph { aspect-ratio: 5 / 4; } }

/* ---------- visit strip ---------- */
.visit-sec { padding: clamp(72px, 9vw, 130px) 0; }
.visit-sec .grid { row-gap: 40px; }
.visit-sec__copy { grid-column: 1 / span 5; }
.visit-sec__copy h2 { margin-bottom: 26px; }
.visit-sec__map { grid-column: 7 / span 6; }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--ink-line); font-size: 1rem; vertical-align: top; }
.hours th { font-weight: 600; width: 38%; padding-right: 12px; }
.hours td { color: var(--ink-2); }
.hours tr.closed td { color: var(--chilli-ink); font-weight: 500; }
.map { border-radius: var(--radius); background: var(--cream-2); overflow: hidden; position: relative; box-shadow: inset 0 0 0 1px var(--ink-line); }
.map svg { width: 100%; height: auto; }
.map__label { position: absolute; left: 16px; bottom: 14px; font-size: .78rem; color: var(--ink-2); background: rgba(244,234,219,.9); padding: 5px 10px; border-radius: 999px; }
.contact-lines { display: grid; gap: 6px; margin: 0 0 28px; }
.contact-lines a { font-weight: 600; }
@media (max-width: 900px) { .visit-sec__copy, .visit-sec__map { grid-column: 1 / -1; } }

/* ---------- inner page hero ---------- */
.phero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.phero .grid { align-items: end; row-gap: 32px; }
.phero__copy { grid-column: 1 / span 7; }
.phero__copy h1 { margin-bottom: 22px; }
.phero__aside { grid-column: 9 / span 4; color: var(--muted-on-dark); }
.phero__bot { position: absolute; right: var(--gutter); top: 10px; width: 210px; color: var(--sage); opacity: .85; pointer-events: none; }
.crumbs { font-size: .85rem; color: var(--muted-on-dark); margin-bottom: 18px; display: flex; gap: 8px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
@media (max-width: 900px) { .phero__copy, .phero__aside { grid-column: 1 / -1; } .phero__bot { width: 120px; top: 0; right: 0; opacity: .5; } }

/* ---------- notes / callouts ---------- */
.note { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 18px; border-radius: 12px; background: rgba(212,149,74,.14); color: var(--ink); font-size: .95rem; line-height: 1.5; }
.note svg { width: 24px; height: 24px; color: var(--caramel-deep); margin-top: 1px; }
.note p { margin: 0; max-width: none; }
.note--dark { background: rgba(212,149,74,.12); color: var(--cream); }
.note--dark svg { color: var(--caramel); }

/* ---------- menu page ---------- */
.menu-page { padding: 0 0 clamp(72px, 9vw, 120px); }
.filters { position: sticky; top: 76px; z-index: 20; background: rgba(244,234,219,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--ink-line); }
.filters__in { display: grid; gap: 10px; padding: 14px 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding: 3px 0; margin: -3px 0; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; min-height: 40px; padding: 0 15px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--ink-line); cursor: pointer; font-weight: 500; font-size: .93rem; color: var(--ink); transition: background-color .2s, box-shadow .2s, color .2s; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(27,24,21,.5); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: none; }
.chip--diet[aria-pressed="true"] { background: var(--sage-deep); }
.chip .count { font-size: .78rem; opacity: .6; font-variant-numeric: tabular-nums; }
.filters__row { display: flex; align-items: center; gap: 12px; }
.filters__label { font-size: .8rem; font-weight: 600; color: var(--ink-2); flex-shrink: 0; width: 64px; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: .9rem; font-weight: 500; flex-shrink: 0; min-height: 40px; }
.switch input { appearance: none; width: 40px; height: 24px; border-radius: 999px; background: rgba(27,24,21,.2); position: relative; cursor: pointer; transition: background-color .2s; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked { background: var(--sage-deep); }
.switch input:checked::after { transform: translateX(16px); }
.menu-layout { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 28px; padding-top: 40px; }
.menu-main { grid-column: 1 / span 8; }
.menu-side { grid-column: 10 / span 3; }
.menu-side__sticky { position: sticky; top: 210px; display: grid; gap: 18px; }
.course { padding-top: 34px; scroll-margin-top: 200px; }
.course h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); display: flex; align-items: baseline; gap: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.course h2 .sign { font-size: .9rem; color: var(--chilli-ink); letter-spacing: .02em; }
.course__cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.dish.is-hidden, .course.is-empty { display: none; }
.dish__img { width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--cream-3); margin-bottom: 14px; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; }
.menu-empty { padding: 48px 0; display: none; }
.menu-empty.show { display: block; }
.legend { padding: 20px; border-radius: 14px; background: var(--cream-2); font-size: .9rem; }
.legend h3 { font-size: 1rem; margin-bottom: 12px; }
.legend dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 0; align-items: center; }
.legend dd { margin: 0; color: var(--ink-2); }
.result-count { font-size: .9rem; color: var(--ink-2); padding-top: 18px; }
@media (max-width: 1020px) { .menu-main, .menu-side { grid-column: 1 / -1; } .menu-side { order: -1; margin-bottom: 8px; } .menu-side__sticky { position: static; } .course__cols { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .filters { top: 76px; } .filters__label { display: none; } .course { scroll-margin-top: 240px; } }

/* ---------- forms ---------- */
.form-card { background: var(--cream); color: var(--ink); border-radius: 20px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 7px; margin-bottom: 18px; min-width: 0; }
.f label, .f legend, .f .lbl { font-weight: 600; font-size: .92rem; padding: 0; }
.f .hint { font-size: .82rem; color: var(--ink-2); font-weight: 400; }
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=date], .f input[type=number], .f select, .f textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(27,24,21,.25); background: #fffaf2; color: var(--ink);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231b1815' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.f textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(194,53,43,.25); }
.f.has-error input, .f.has-error select, .f.has-error textarea { border-color: var(--chilli-ink); }
.f .err { color: var(--chilli-ink); font-size: .85rem; font-weight: 500; display: none; }
.f.has-error .err { display: block; }
fieldset.f { border: 0; margin: 0 0 18px; padding: 0; }
.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(27,24,21,.25); border-radius: 10px; background: #fffaf2; overflow: hidden; width: max-content; }
.stepper button { width: 50px; height: 50px; border: 0; background: transparent; cursor: pointer; font-size: 1.3rem; color: var(--ink); }
.stepper button:hover { background: rgba(27,24,21,.06); }
.stepper input { width: 64px; text-align: center; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-weight: 600; font-variant-numeric: tabular-nums; min-height: 50px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(27,24,21,.25); font-weight: 500; font-size: .95rem; transition: background-color .2s, color .2s, box-shadow .2s; background: #fffaf2; }
.opt input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.opt input:focus-visible + span { outline: 3px solid var(--chilli-ink); outline-offset: 2px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.card-opt { position: relative; }
.card-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; z-index: 2; }
.card-opt > div { height: 100%; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(27,24,21,.22); background: #fffaf2; transition: box-shadow .2s, background-color .2s; }
.card-opt b { display: block; font-weight: 600; margin-bottom: 3px; }
.card-opt small { display: block; color: var(--ink-2); font-size: .84rem; line-height: 1.4; }
.card-opt input:checked + div { box-shadow: inset 0 0 0 2px var(--ink); background: #fff; }
.card-opt input:focus-visible + div { outline: 3px solid var(--chilli-ink); outline-offset: 2px; }
.card-opt input:disabled + div { opacity: .45; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.form-actions .small { color: var(--ink-2); margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ink); flex-shrink: 0; }
.cap-meter { margin-top: 4px; font-size: .86rem; padding: 10px 12px; border-radius: 10px; background: rgba(77,97,82,.12); color: #2f4033; }
.cap-meter.warn { background: rgba(212,149,74,.2); color: #6b3f10; }
.cap-meter.bad { background: rgba(194,53,43,.12); color: var(--chilli-deep); }
@media (max-width: 640px) { .field-row, .cards { grid-template-columns: 1fr; } }

/* guided brief stepper */
.steps { display: flex; gap: 6px; margin-bottom: 26px; list-style: none; padding: 0; counter-reset: s; }
.steps li { flex: 1; height: 4px; border-radius: 4px; background: rgba(27,24,21,.12); position: relative; }
.steps li.done, .steps li.cur { background: var(--ink); }
.steps li.cur { background: var(--chilli-ink); }
.step-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.step-title h3 { font: 400 1.7rem/1.1 var(--f-display); letter-spacing: -.02em; }
.step-title span { font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.step[hidden] { display: none; }
.req-row { display: grid; grid-template-columns: 1.5fr 80px 1.2fr 44px; gap: 8px; align-items: end; margin-bottom: 10px; }
.req-row .f { margin: 0; }
.icon-btn { width: 44px; height: 50px; border-radius: 10px; border: 1px solid rgba(27,24,21,.2); background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { color: var(--chilli-ink); border-color: var(--chilli-ink); }
.icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .req-row { grid-template-columns: 1fr 80px; } .req-row .f:nth-child(3) { grid-column: 1; } }
.review { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0 0 20px; font-size: .96rem; }
.review dt { font-weight: 600; color: var(--ink-2); }
.review dd { margin: 0; }

/* docket (simulated confirmation) */
.docket { background: #fffaf2; color: var(--ink); border-radius: 6px; padding: 28px 26px 30px; position: relative; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); max-width: 520px; font-variant-numeric: tabular-nums;
  -webkit-mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; mask: radial-gradient(circle 7px at 50% 100%, transparent 98%, #000) 0 0 / 18px 100% repeat-x; padding-bottom: 40px; }
.docket__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 16px; border-bottom: 2px dashed rgba(27,24,21,.25); margin-bottom: 16px; }
.docket__head h3 { font: 400 1.6rem/1.1 var(--f-display); letter-spacing: -.02em; }
.docket__ref { font: italic 800 1rem/1 var(--f-sign); color: var(--chilli-ink); white-space: nowrap; }
.docket dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 18px; font-size: .96rem; }
.docket dt { color: var(--ink-2); }
.docket dd { margin: 0; font-weight: 500; }
.sim { display: flex; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(194,53,43,.09); font-size: .9rem; line-height: 1.45; }
.sim b { color: var(--chilli-deep); }
.sim svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--chilli-ink); margin-top: 1px; }

/* ---------- generic content sections ---------- */
.sec { padding: clamp(64px, 8vw, 120px) 0; }
.sec--tight { padding: clamp(40px, 5vw, 72px) 0; }
.sec-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; margin-bottom: clamp(32px, 4vw, 56px); align-items: end; }
.sec-head h2 { grid-column: 1 / span 7; }
.sec-head p { grid-column: 9 / span 4; margin: 0; color: var(--muted-on-dark); }
.on-cream .sec-head p { color: var(--ink-2); }
@media (max-width: 900px) { .sec-head h2, .sec-head p { grid-column: 1 / -1; } }
.rows { border-top: 1px solid var(--char-line); }
.on-cream .rows { border-color: var(--ink-line); }
.row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--char-line); align-items: start; }
.on-cream .row { border-color: var(--ink-line); }
.row h3 { grid-column: 1 / span 4; font: 400 1.6rem/1.15 var(--f-display); letter-spacing: -.02em; }
.row > div { grid-column: 6 / span 7; }
.row p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .row h3, .row > div { grid-column: 1 / -1; } .row { gap: 10px; } }

/* spaces (venue + functions) */
.space { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--char-line); align-items: center; }
.space__media { grid-column: 1 / span 6; }
.space__media .ph, .space__media .illus { aspect-ratio: 3 / 2; }
.space__copy { grid-column: 8 / span 5; }
.space:nth-child(even) .space__media { grid-column: 7 / span 6; order: 2; }
.space:nth-child(even) .space__copy { grid-column: 1 / span 5; }
.space__copy h3 { font: 400 clamp(1.8rem, 3vw, 2.5rem)/1.05 var(--f-display); letter-spacing: -.02em; margin-bottom: 14px; }
.caps { display: flex; gap: 0; margin: 20px 0 0; border-top: 1px solid var(--char-line); }
.caps div { flex: 1; padding: 14px 0 0; }
.caps div + div { padding-left: 18px; border-left: 1px solid var(--char-line); }
.caps dt { font-size: .8rem; color: var(--muted-on-dark); }
.caps dd { margin: 4px 0 0; font: italic 800 1.6rem/1 var(--f-sign); color: var(--lime); }
.illus { border-radius: var(--radius); background: var(--char-2); box-shadow: inset 0 0 0 1px var(--char-line); display: grid; place-items: center; overflow: hidden; position: relative; }
.illus svg { width: 100%; height: 100%; }
@media (max-width: 900px) { .space__media, .space__copy, .space:nth-child(even) .space__media, .space:nth-child(even) .space__copy { grid-column: 1 / -1; order: 0; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery .ph { height: 100%; }
.g1 { grid-column: span 7; aspect-ratio: 7 / 5; } .g2 { grid-column: span 5; aspect-ratio: 5 / 5; }
.g3 { grid-column: span 4; aspect-ratio: 4 / 5; } .g4 { grid-column: span 4; aspect-ratio: 4 / 5; } .g5 { grid-column: span 4; aspect-ratio: 4 / 5; }
.g6 { grid-column: span 5; aspect-ratio: 5 / 4; } .g7 { grid-column: span 7; aspect-ratio: 7 / 4; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery > * { grid-column: span 1 !important; aspect-ratio: 1 / 1 !important; } .gallery > .g1, .gallery > .g6, .gallery > .g7 { grid-column: span 2 !important; aspect-ratio: 3 / 2 !important; } }

/* native ingredient plates (about) */
.plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink-line); }
.plate { padding: 28px 24px 32px 0; }
.plate + .plate { padding-left: 24px; border-left: 1px solid var(--ink-line); }
.plate svg { width: 100%; max-width: 170px; height: 170px; color: var(--sage-deep); margin-bottom: 18px; }
.plate h3 { font: 400 1.45rem/1.1 var(--f-display); letter-spacing: -.02em; margin-bottom: 8px; }
.plate p { font-size: .96rem; color: var(--ink-2); margin: 0; }
.plate .latin { font-style: italic; font-size: .85rem; color: var(--ink-2); display: block; margin-bottom: 8px; }
@media (max-width: 900px) { .plates { grid-template-columns: 1fr 1fr; } .plate:nth-child(3) { padding-left: 0; border-left: 0; } .plate { border-bottom: 1px solid var(--ink-line); } }
@media (max-width: 520px) { .plates { grid-template-columns: 1fr; } .plate, .plate + .plate { padding-left: 0; border-left: 0; } }

.honest { background: var(--char-2); border-radius: 20px; padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; box-shadow: inset 0 0 0 1px var(--char-line); }
.honest h2 { grid-column: 1 / span 5; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.honest > div { grid-column: 7 / span 6; color: var(--muted-on-dark); }
.honest > div p { margin-bottom: .8em; }
@media (max-width: 900px) { .honest h2, .honest > div { grid-column: 1 / -1; } }

.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--ink-2); padding-bottom: 20px; margin: 0; }

/* ---------- footer ---------- */
.site-foot { background: #0f0e0c; color: var(--muted-on-dark); padding: clamp(64px, 8vw, 110px) 0 28px; position: relative; overflow: hidden; }
.foot-word { font: 400 clamp(3rem, 10.5vw, 9.6rem)/.9 var(--f-display); letter-spacing: -.035em; color: var(--cream); margin: 0 0 clamp(40px, 6vw, 80px); white-space: nowrap; }
.foot-word i { font: italic 800 .8em/1 var(--f-sign); color: var(--lime); padding: 0 .06em; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--char-line); }
.foot-grid h2 { font: 600 .8rem/1 var(--f-text); text-transform: uppercase; letter-spacing: .08em; color: var(--cream); margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot-grid a { text-decoration: none; } .foot-grid a:hover { color: var(--cream); text-decoration: underline; }
.foot-grid p { margin: 0 0 8px; font-size: .95rem; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; font-size: .88rem; }
.foot-base a { color: var(--cream); }
.foot-concept { display: inline-flex; align-items: center; gap: 10px; }
.foot-concept .dot { margin: 0; background: var(--chilli); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-word { font-size: 13.2vw; } }

/* 404 */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.nf h1 { margin: 20px 0; }
.nf p { margin: 0 auto 28px; color: var(--muted-on-dark); }
.nf .bot { width: 160px; margin: 0 auto; color: var(--lime); }

@media print { .site-head, .mnav, .filters, .site-foot { display: none; } body { background: #fff; color: #000; } }

/* package dish lists + inline grid placements collapse on small screens */
.pk-dishes { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pk-dishes a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: rgba(27,24,21,.06); text-decoration: none; font-size: .88rem; font-weight: 500; }
.pk-dishes a:hover { background: rgba(27,24,21,.12); }
@media (max-width: 900px) { .grid > [style*="grid-column"] { grid-column: 1 / -1 !important; } }
.filters__in > * { min-width: 0; }
.filters__row .chips { flex: 1; min-width: 0; }
.menu-layout > * { min-width: 0; }
.note__key { display: none; }
@media (max-width: 1020px) { .legend { display: none; } .note__key { display: inline; font-weight: 500; } }
/* menu page: single board column, thumbnails at the right */
.course__cols { grid-template-columns: 1fr !important; }
.course .dish { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 28px; align-items: start; }
.course .dish > * { grid-column: 1; }
.course .dish__img { grid-column: 2; grid-row: 1 / span 4; width: 148px; aspect-ratio: 1 / 1; margin: 2px 0 0; }
@media (max-width: 640px) { .course .dish { column-gap: 16px; } .course .dish__img { width: 84px; border-radius: 8px; } }
.course .dish { grid-template-rows: auto auto 1fr auto; }
.course .dish__meta { align-self: start; }
@media (max-width: 480px) { .foot-word { font-size: 11.2vw; } }
@media (max-width: 430px) { .site-head__in { gap: 8px; } .brand { gap: 8px; } .brand__mark { width: 32px; height: 32px; } .brand__word { font-size: 1.12rem; } .pill-concept { padding: 0 8px; font-size: .66rem; } .nav-toggle { width: 44px; height: 44px; } }


/* ================= round 2: generated imagery + scroll stories ================= */
.ai-tag { position: absolute; right: 10px; bottom: 10px; z-index: 4; padding: 6px 8px; border-radius: 6px; background: rgba(22,20,18,.74); color: #e4d7c3; font: 600 .68rem/1 var(--f-text); letter-spacing: .03em; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__media .ai-tag { right: 12px; bottom: 12px; }
.hero__next { display: inline-flex; align-items: center; gap: 10px; margin-top: clamp(28px, 4vw, 48px); min-height: 44px; color: var(--muted-on-dark); text-decoration: none; font-weight: 500; font-size: .95rem; }
.hero__next svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .4s var(--ease); }
.hero__next:hover { color: var(--cream); }
.hero__next:hover svg { transform: rotate(90deg) translateX(4px); }

/* ---------- fly-through (scroll-sequence.js) ---------- */
/* Contain the fly-through's overlays before scroll-sequence.js mounts it (and without JS); it injects the same rule. */
.ss { position: relative; }
html:not(.js) .fly__scrim { display: none; }
.fly { --ss-bg: #0f0d0c; --ss-accent: var(--lime); }
.fly__scrim { position: absolute; inset: 0; z-index: 20; pointer-events: none; background: linear-gradient(180deg, rgba(15,13,12,.6) 0, rgba(15,13,12,0) 20%, rgba(15,13,12,0) 46%, rgba(15,13,12,.88) 100%); }
.fly__cap { z-index: 30; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 88px); max-width: 600px; }
.fly__cap h3 { font: 400 clamp(2.1rem, 4.6vw, 3.8rem)/1.02 var(--f-display); letter-spacing: -.02em; margin: 12px 0 14px; text-wrap: balance; }
.fly__cap p { margin: 0; max-width: 44ch; color: #efe4d2; font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.5; text-shadow: 0 1px 14px rgba(0,0,0,.55); }
.fly__count { font: italic 800 .95rem/1 var(--f-sign); color: var(--lime); letter-spacing: .04em; }
.fly__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fly__ai { top: 92px; bottom: auto; right: var(--gutter); z-index: 30; }
@media (prefers-reduced-motion: reduce) {
  .fly__scrim { display: none; }
  .fly .ss__stage { background: var(--char); }
  .fly__cap { padding: 22px var(--gutter) 40px !important; max-width: none; }
  .fly__ai { top: 12px; }
}

/* ---------- anatomy: the green curry taken apart ---------- */
.anat { position: relative; background: #171615; color: var(--cream); }
.anat__stage { position: relative; padding: clamp(72px, 9vw, 130px) 0; overflow: hidden; }
.anat__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 28px); row-gap: 32px; align-items: center; }
.anat__copy { grid-column: 1 / span 5; position: relative; z-index: 3; }
.anat__copy h2 { margin-bottom: 20px; }
.anat__intro { color: var(--muted-on-dark); font-size: 1.08rem; max-width: 44ch; transition: opacity .4s var(--ease); }
.anat__table { grid-column: 6 / span 7; justify-self: end; position: relative; width: 100%; max-width: 760px; aspect-ratio: 1; }
.anat__ring { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(244,234,219,.2); stroke-width: .22; stroke-dasharray: .7 1.3; }
.anat__ring .in { stroke: rgba(201,221,60,.28); stroke-dasharray: none; }
.anat__plate { position: absolute; left: 50%; top: 50%; width: 78%; height: auto; transform: translate(-50%, -50%) scale(.44); opacity: .6; }
.anat__part { position: absolute; margin: 0; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); transform: translate(-50%, -50%); }
.anat__part img { width: 100%; height: auto; }
.anat__label { --fl: var(--cream); position: absolute; left: 50%; top: 100%; transform: translate(-50%, 4px); display: inline-flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 999px; white-space: nowrap; background: rgba(23,22,21,.86); box-shadow: inset 0 0 0 1px var(--char-line); color: var(--cream); font: 600 .8rem/1 var(--f-text); transition: opacity .3s var(--ease), background-color .3s, color .3s; }
.anat__label i { font: italic 800 .74rem/1 var(--f-sign); text-transform: uppercase; letter-spacing: .03em; color: var(--fl); }
.fl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fl); flex-shrink: 0; }
.fl--sour { --fl: var(--lime); } .fl--salt { --fl: var(--sage); } .fl--sweet { --fl: var(--caramel); } .fl--heat { --fl: #ff6a5c; }
.anat__part.is-active .anat__label { background: var(--cream); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(0,0,0,.8); }
.anat__part.is-active .anat__label i { color: var(--ink); }
.anat__read { padding: 18px 0; border-top: 1px solid var(--char-line); }
.anat__flav { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--fl); font: italic 800 1rem/1 var(--f-sign); text-transform: uppercase; letter-spacing: .03em; }
.anat__read h3 { font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.06 var(--f-display); letter-spacing: -.02em; margin-bottom: 12px; text-wrap: balance; }
.anat__read p { color: var(--muted-on-dark); max-width: 46ch; margin-bottom: 12px; }
.anat__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.anat__note { flex-basis: 100%; font-size: .92rem; line-height: 1.5; }
.anat__legend { display: block; font-size: .85rem; }
.anat__legend .tag { margin: 0 2px; }
.tag--dark { background: rgba(169,186,168,.2); color: #dce8da; }
.tag--u.tag--dark { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1px rgba(244,234,219,.5); }
.anat__rail { display: none; }
.anat__ai { right: var(--gutter); bottom: 22px; }

/* static layout (no JS / reduced motion): parts sit around the bowl, every note visible */
@media (min-width: 901px) { .anat:not(.is-live) .anat__table { position: sticky; top: 110px; align-self: start; } .anat:not(.is-live) .anat__grid { align-items: start; } }

/* live, scroll-linked layout */
.anat.is-live { height: 460vh; }
.anat.is-live .anat__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 92px 0 48px; display: flex; align-items: center; }
.anat.is-live .anat__grid { width: 100%; }
.anat.is-live .anat__table { max-width: min(760px, calc(100svh - 150px)); }
.anat.is-live .anat__part, .anat.is-live .anat__plate, .anat.is-live .anat__ring { will-change: transform, opacity; }
.anat.is-live .anat__label { opacity: 0; }
.anat.is-live .anat__part.is-labelled .anat__label { opacity: 1; }
.anat.is-live .anat__body { display: grid; }
.anat.is-live .anat__reads { display: contents; }
.anat.is-live .anat__intro, .anat.is-live .anat__read { grid-area: 1 / 1; }
.anat.is-live .anat__intro.is-off { opacity: 0; }
.anat.is-live .anat__read { padding: 0; border: 0; opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
.anat.is-live .anat__read.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s; }
.anat.is-live .anat__rail { display: flex; position: absolute; left: var(--gutter); bottom: 26px; gap: 6px; margin: 0; padding: 0; list-style: none; }
.anat__rail li { width: 28px; height: 3px; border-radius: 2px; background: rgba(244,234,219,.18); transition: background-color .3s; }
.anat__rail li.is-on { background: var(--lime); }

@media (max-width: 900px) {
  .anat__grid { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .anat__copy { display: contents; }
  .anat__copy h2 { order: 0; margin: 0; }
  .anat__table { order: 1; grid-column: 1; justify-self: center; }
  .anat__body { order: 2; }
  .anat__label { font-size: .72rem; padding: 6px 9px; gap: 6px; }
  .anat__label i { display: none; }
  .anat.is-live { height: 400vh; }
  .anat.is-live .anat__stage { padding: 84px 0 36px; align-items: flex-start; }
  .anat.is-live .anat__copy h2 { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .anat.is-live .anat__table { max-width: min(100%, calc(100svh - 430px)); min-width: 250px; }
  .anat.is-live .anat__intro { font-size: .98rem; }
  .anat.is-live .anat__read h3 { font-size: 1.45rem; margin-bottom: 8px; }
  .anat.is-live .anat__read p { font-size: .95rem; margin-bottom: 8px; }
  .anat.is-live .anat__part:not(.is-active) .anat__label { opacity: 0; }
  .anat.is-live .anat__rail { bottom: 16px; }
  .anat__ai { bottom: 12px; }
}
@media (max-width: 900px) { .hero__media .ai-tag { left: 12px; right: auto; top: 12px; bottom: auto; } }
.on-cream .drink span { color: var(--ink-2); }
.on-cream .drink i { color: var(--chilli-ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Unsplash credits on representative dish photos ---------- */
.ph-credit { pointer-events: auto; font-weight: 500; max-width: calc(100% - 20px); line-height: 1.35; }
@media (max-width: 640px) { .gallery .ph-credit { right: 6px; bottom: 6px; max-width: calc(100% - 12px); padding: 5px 6px; font-size: .6rem; } }
.ph-credit a, .dish__credit a, .fly__credit a, .ph-cap-credit a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.ph-credit a:hover, .dish__credit a:hover, .fly__credit a:hover, .ph-cap-credit a:hover { text-decoration-thickness: 2px; }
.dish__credit { margin: 8px 0 0; font-size: .72rem; line-height: 1.4; color: var(--ink-2, #6b6158); opacity: .85; }
.course .dish__credit { grid-column: 1; }
.ph-cap-credit { display: block; margin-top: 4px; font-size: .64rem; font-weight: 500; line-height: 1.3; opacity: .8; }
@media (max-width: 640px) { .board-sec__photos figcaption { left: 6px; right: 6px; bottom: 6px; padding: 5px 7px; } .ph-cap-credit { font-size: .58rem; } }
.fly__credit { margin: 10px 0 0; font-size: .74rem; opacity: .8; }

/* Smart fill (event brief): describe the event, the server extracts the details */
.smart { margin: 0 0 26px; padding: 18px 18px 16px; border-radius: 16px; background: rgba(77,97,82,.08); border: 1px solid rgba(77,97,82,.22); }
.smart__label { display: block; font: 600 1.05rem/1.3 var(--f-text); color: var(--ink); }
.smart__hint { margin: 4px 0 12px; font-size: .9rem; color: var(--ink-2); }
.smart textarea { width: 100%; min-height: 112px; resize: vertical; font: inherit; font-size: 1rem; line-height: 1.5; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ink-line); background: #fffdf8; color: var(--ink); }
.smart textarea:focus-visible { outline: 2px solid var(--chilli); outline-offset: 2px; }
.smart__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 12px; }
.smart__row .btn[disabled] { opacity: .6; cursor: progress; }
.smart__note { font-size: .8rem; color: var(--ink-2); max-width: 36ch; }
.smart__out:empty { display: none; }
.smart__out { margin-top: 14px; }
.smart__msg { margin: 0 0 8px; font-size: .92rem; color: var(--ink); }
.smart__msg--busy { color: var(--ink-2); }
.smart__msg--err { color: var(--chilli-ink); }
.smart__got { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; }
.smart__got li { display: grid; gap: 2px; padding: 8px 10px; border-radius: 10px; background: #fffdf8; border: 1px solid var(--ink-line); font-size: .85rem; }
.smart__got li span { color: var(--ink-2); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.smart__qs { margin: 4px 0 0; padding-left: 1.1em; font-size: .9rem; color: var(--ink-2); }
.is-prefilled { position: relative; }
.is-prefilled input:not([type=radio]), .is-prefilled select, .is-prefilled textarea { box-shadow: 0 0 0 2px rgba(77,97,82,.45); }
.prefill-tag { display: inline-block; width: fit-content; justify-self: start; align-self: start; margin: 2px 0 6px; font-size: .72rem; font-weight: 600; letter-spacing: .03em; color: #2f4033; background: rgba(77,97,82,.14); padding: 3px 8px; border-radius: 999px; }
@media (max-width: 600px) { .smart { padding: 14px; } .smart__got { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Motion & micro-interactions — warm, a little playful
   Tokens live in :root (top of file). Only transform, opacity, clip-path, filter and colour animate.
   JS pieces: assets/js/micro.js (FLIP, sliding pills, tweens, magnetic CTAs, check draws).
   ===================================================================== */
@supports (transition-timing-function: linear(0, 1)) {
  :root { --spring: linear(0, 0.13, 0.398, 0.672, 0.886, 1.02, 1.082, 1.094, 1.078, 1.052, 1.027, 1.008, 0.997, 0.992, 0.991, 0.993, 0.996, 0.998, 0.999, 1, 1.001, 1.001, 1.001, 1, 1); }
}

/* focus rings ease in (colour only) */
:focus-visible { animation: mi-ring var(--dur-2) var(--ease-out); }
@keyframes mi-ring { from { outline-color: transparent; } }

/* ---------- buttons: lift, springy press, arrow nudge, magnetic primary CTAs ---------- */
.btn {
  transition: transform var(--dur-3) var(--spring), translate var(--dur-3) var(--spring), background-color var(--dur-1) var(--ease-out),
    box-shadow var(--dur-2) var(--ease-out), color var(--dur-1) var(--ease-out);
  translate: var(--mx, 0) var(--my, 0);
}
@media (hover: hover) { .btn:hover { transform: translateY(var(--lift)); } }
.btn:focus-visible { transform: translateY(var(--lift)); }
.btn:active { transform: translateY(0) scale(var(--press)); transition-duration: 90ms, var(--dur-3), var(--dur-1), var(--dur-2), var(--dur-1); transition-timing-function: var(--ease-out); }
.btn[disabled] { transform: none; }
.btn svg { transition: transform var(--dur-2) var(--spring); }
@media (hover: hover) { .btn:hover svg { transform: translateX(3px); } }
.btn:focus-visible svg { transform: translateX(3px); }

/* ---------- links ---------- */
.textlink { transition: text-decoration-color var(--dur-2) var(--ease-out), color var(--dur-1); }
.textlink:focus-visible { text-decoration-color: var(--lime); }
.on-cream .textlink:focus-visible { text-decoration-color: var(--chilli-ink); }
/* single-line link groups: an underline that draws left to right */
.foot-grid ul a, .foot-grid p a, .crumbs a, .contact-lines a, .foot-concept a { position: relative; display: inline-block; text-decoration: none; }
.foot-grid ul a::after, .foot-grid p a::after, .crumbs a::after, .contact-lines a::after, .foot-concept a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; border-radius: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left center; transition: transform var(--dur-2) var(--ease-out);
}
.foot-grid ul a:hover, .foot-grid p a:hover, .crumbs a:hover { text-decoration: none; }
.foot-grid ul a:hover::after, .foot-grid p a:hover::after, .crumbs a:hover::after, .contact-lines a:hover::after, .foot-concept a:hover::after,
.foot-grid ul a:focus-visible::after, .foot-grid p a:focus-visible::after, .crumbs a:focus-visible::after, .contact-lines a:focus-visible::after, .foot-concept a:focus-visible::after { transform: scaleX(1); }
.foot-grid .textlink { display: inline; }
.foot-grid .textlink::after { content: none; }
.foot-grid .textlink:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.foot-grid a { transition: color var(--dur-1) var(--ease-out); }
.hero__next { transition: color var(--dur-1) var(--ease-out); }
.hero__next svg { transition: transform var(--dur-2) var(--spring); }
.hero__next:focus-visible svg { transform: rotate(90deg) translateX(4px); }
.pill-concept, .pk-dishes a { transition: background-color var(--dur-1) var(--ease-out), transform var(--dur-3) var(--spring); }
.pill-concept:active, .pk-dishes a:active { transform: scale(var(--press)); transition-duration: 90ms; }
.mnav a.mnav__link svg { transition: transform var(--dur-2) var(--spring); }
.mnav a.mnav__link:hover svg, .mnav a.mnav__link:focus-visible svg { transform: translateX(4px); }

/* ---------- nav: sliding active indicator, springy toggle, staggered mobile menu ---------- */
.nav { position: relative; }
.nav a { transition: color var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out); }
.nav__ink { position: absolute; left: 0; top: 0; width: 100px; height: 2px; border-radius: 2px; background: var(--lime); transform-origin: 0 50%; opacity: 0; pointer-events: none;
  transition: transform var(--dur-3) var(--spring), opacity var(--dur-2) var(--ease-out); }
.nav.has-ink a[aria-current="page"] { box-shadow: none; }
.nav-toggle { transition: background-color var(--dur-1), transform var(--dur-3) var(--spring); }
.nav-toggle:active { transform: scale(.94); transition-duration: 90ms; }
.nav-toggle span::before, .nav-toggle span::after { top: 0; transition: transform var(--dur-3) var(--spring); }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle span { transition: background-color var(--dur-1); }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
.nav-open .mnav { animation: mi-fade var(--dur-2) var(--ease-out); }
.nav-open .mnav__link, .nav-open .mnav__foot { animation: mi-rise var(--dur-3) var(--ease-out) both; animation-delay: calc(40ms + var(--i, 0) * 35ms); }
.mnav__link:nth-child(2) { --i: 1; } .mnav__link:nth-child(3) { --i: 2; } .mnav__link:nth-child(4) { --i: 3; } .mnav__link:nth-child(5) { --i: 4; } .mnav__link:nth-child(6) { --i: 5; }
.mnav__foot { --i: 6; }
.nav-closing .mnav { display: flex; animation: mi-fade-out var(--dur-2) var(--ease-in) forwards; pointer-events: none; }
@keyframes mi-fade { from { opacity: 0; } }
@keyframes mi-fade-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes mi-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes mi-pop { 0% { transform: scale(.9); } 100% { transform: none; } }
.site-head { transition: background-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out); }

/* ---------- reveals: same idea as before, tightened to the token range ---------- */
.js .rv { transition: opacity var(--dur-4) var(--ease-out), transform var(--dur-4) var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv-img { transition: clip-path 500ms var(--ease-out); transition-delay: var(--d, 0s); }

/* ---------- cards and images ---------- */
.ph img { transition: transform 480ms var(--ease-out); }
a:hover > .ph img, .ph:hover img { transform: none; }
@media (hover: hover) { a:hover > .ph img, .ph:hover img { transform: scale(1.04); } }
a:focus-visible > .ph img { transform: scale(1.04); }
.field__art svg { transition: transform var(--dur-4) var(--spring); }
.field__dish span, .field__idx { transition: transform var(--dur-3) var(--spring); }
@media (hover: hover) {
  .field:hover .field__art svg { transform: scale(1.06) rotate(-3deg); }
  .field:hover .field__dish span { transform: translateX(3px); }
  .field:hover .field__idx { transform: rotate(-8deg) scale(1.1); }
}
.field:focus-visible .field__art svg { transform: scale(1.06) rotate(-3deg); }
.field:focus-visible { outline-offset: -6px; }
.field:active .field__art svg { transform: scale(.98); transition-duration: 120ms; }

/* ---------- menu filters: sliding course pill, springy chips, pop on dietary picks ---------- */
.chips { position: relative; }
.chip { position: relative; z-index: 1; transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), transform var(--dur-3) var(--spring); }
.chip:active { transform: scale(.94); transition-duration: var(--dur-2), var(--dur-2), var(--dur-2), 90ms; }
.chip .count { transition: opacity var(--dur-2); }
.chips.has-ink .chip[aria-pressed="true"] { background: transparent; }
.mi-ink { position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; transition: opacity var(--dur-2) var(--ease-out); }
.mi-ink__fill { position: absolute; inset: 0; transition: clip-path var(--dur-3) var(--spring); }
.mi-ink--pill .mi-ink__fill { background: var(--ink); }
.mi-ink--line .mi-ink__fill { background: var(--chilli-ink); }
.chip--diet[aria-pressed="true"] { animation: mi-pop var(--dur-3) var(--spring); }
.switch input { transition: background-color var(--dur-2) var(--ease-out); }
.switch input::after { transition: transform var(--dur-3) var(--spring); transform-origin: left center; }
.switch input:checked::after { transform-origin: right center; }
.switch input:active::after { transform: scaleX(1.18); transition-duration: 120ms; }
.switch input:checked:active::after { transform: translateX(16px) scaleX(1.18); }
.result-count { transition: color var(--dur-2); }
.result-count, .tot-hl { border-radius: 4px; }

/* ---------- forms ---------- */
.f input[type=text], .f input[type=email], .f input[type=tel], .f input[type=date], .f input[type=number], .f select, .f textarea, .smart textarea {
  transition: border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}
.f.has-error .err, .smart__msg--err { animation: mi-err-in var(--dur-2) var(--ease-out); }
@keyframes mi-err-in { from { opacity: 0; transform: translateY(-3px); } }
.stepper button { transition: background-color var(--dur-1) var(--ease-out), transform var(--dur-3) var(--spring); }
.stepper button:active { transform: scale(.88); transition-duration: 80ms; }
.stepper input { transition: color var(--dur-1); }
.opt span, .card-opt > div { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), transform var(--dur-3) var(--spring); }
.opt input:active + span, .card-opt input:active + div { transform: scale(var(--press)); transition-duration: var(--dur-2), var(--dur-2), var(--dur-2), 90ms; }
.opt input:checked + span { animation: mi-pop var(--dur-3) var(--spring); }
@media (hover: hover) { .card-opt:hover input:not(:checked):not(:disabled) + div { box-shadow: inset 0 0 0 1px rgba(27,24,21,.5); } }
/* selected option card: a little tick badge springs in */
.card-opt > div { position: relative; padding-right: 36px; }
.card-opt > div::after {
  content: ''; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.2 2.2 4.8-5' fill='none' stroke='%23f4eadb' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
  transform: scale(0); opacity: 0; transition: transform var(--dur-3) var(--spring), opacity var(--dur-1) var(--ease-out);
}
.card-opt input:checked + div::after { transform: scale(1); opacity: 1; }
.icon-btn { transition: color var(--dur-1), border-color var(--dur-1), transform var(--dur-3) var(--spring); }
.icon-btn:active { transform: scale(.9); transition-duration: 80ms; }
.cap-meter { transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.check input { transition: transform var(--dur-3) var(--spring); }
.check input:active { transform: scale(.88); transition-duration: 80ms; }

/* guided brief: progress segments fill like a bar, not a jump */
.steps li { overflow: hidden; }
.steps li.done, .steps li.cur { background: rgba(27,24,21,.12); }
.steps li::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--ink); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2) var(--ease-out); }
.steps li.done::after { transform: scaleX(1); }
.steps li.cur::after { transform: scaleX(1); background: var(--chilli-ink); transition-delay: 60ms; }

/* smart fill: a real wait, so the arrow becomes a spinner and the pot simmers */
.mi-swap { position: relative; display: inline-grid; place-items: center; width: 18px; height: 18px; }
.mi-swap svg { transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-2) var(--spring); }
.mi-spin { position: absolute; inset: 1px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; opacity: 0; transform: scale(.4); transition: opacity var(--dur-1) var(--ease-out), transform var(--dur-2) var(--spring); }
[aria-busy="true"] .mi-swap svg { opacity: 0; transform: scale(.4) rotate(-40deg); }
[aria-busy="true"] .mi-spin { opacity: 1; transform: none; animation: mi-spin .8s linear infinite; }
.smart__row .btn[aria-busy="true"] { opacity: .9; }
@keyframes mi-spin { to { transform: rotate(1turn); } }
.mi-simmer { display: inline-flex; gap: 4px; margin-right: 10px; vertical-align: 1px; }
.mi-simmer i { width: 6px; height: 6px; border-radius: 50%; background: var(--sage-deep); animation: mi-simmer 1s var(--ease-out) infinite; }
.mi-simmer i:nth-child(2) { animation-delay: .15s; background: var(--caramel); }
.mi-simmer i:nth-child(3) { animation-delay: .3s; background: var(--chilli-ink); }
@keyframes mi-simmer { 0%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }
.smart__got li { animation: mi-rise var(--dur-3) var(--ease-out) both; animation-delay: calc(80ms + var(--i, 0) * 45ms); }
.prefill-tag.is-arriving { animation: mi-tag-in var(--dur-3) var(--spring) both; animation-delay: var(--d, 0ms); }
@keyframes mi-tag-in { from { opacity: 0; transform: translateY(4px) scale(.85); } }
.is-prefilled input:not([type=radio]), .is-prefilled select, .is-prefilled textarea { transition: box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-2), background-color var(--dur-2); }

/* simulated confirmation: the docket prints out, then the tick draws */
.docket { animation: mi-print var(--dur-4) var(--ease-out) backwards; }
@keyframes mi-print { from { clip-path: inset(0 0 100% 0); transform: translateY(-10px); } to { clip-path: inset(0 0 -20px 0); transform: none; } }
.docket__title { display: flex; align-items: center; gap: 10px; }
.mi-check { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.mi-check circle { stroke: var(--sage-deep); stroke-width: 1.6; fill: rgba(77,97,82,.12); }
.mi-check path { stroke: var(--sage-deep); stroke-width: 2.2; }
.mi-check circle, .mi-check path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mi-check.is-drawing circle { animation: mi-draw var(--dur-3) var(--ease-out) 240ms both; }
.mi-check.is-drawing path { animation: mi-draw var(--dur-3) var(--ease-out) 420ms both; }
@keyframes mi-draw { from { stroke-dashoffset: 1; } }

/* FAQs: smooth expand (grid rows 0fr → 1fr), chevron turns */
.faq__a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows var(--dur-3) var(--ease-out), opacity var(--dur-2) var(--ease-out); }
.faq__a > div { overflow: hidden; min-height: 0; }
.faq details.is-opening .faq__a, .faq details.is-closing .faq__a { grid-template-rows: 0fr; opacity: 0; }
.faq details.is-closing .faq__a { transition-duration: var(--dur-2); transition-timing-function: var(--ease-in); }
.faq summary { transition: color var(--dur-1) var(--ease-out); }
.faq summary::after { transition: transform var(--dur-3) var(--spring); }
.faq details.is-closing summary::after { transform: translateY(-70%) rotate(45deg); }
@media (hover: hover) { .faq summary:hover { color: var(--chilli-ink); } }

/* ---------- reduced motion: keep colour and opacity, drop movement ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .btn svg, .chip, .stepper button, .opt span, .card-opt > div, .icon-btn, .field__art svg, .field__dish span, .field__idx,
  .nav-toggle, .nav-toggle span::before, .nav-toggle span::after, .switch input::after, .hero__next svg, .mnav a.mnav__link svg, .ph img, .pk-dishes a, .pill-concept, .check input { transition-property: background-color, color, box-shadow, opacity, border-color; }
  .btn { translate: none; }
  .btn:hover, .btn:focus-visible, .btn:active, .btn:hover svg, .btn:focus-visible svg, .chip:active, .stepper button:active, .opt input:active + span,
  .card-opt input:active + div, .icon-btn:active, .nav-toggle:active, .pill-concept:active, .pk-dishes a:active, .check input:active, .field .field__art svg,
  .field .field__dish span, .field .field__idx, a:hover > .ph img, .ph:hover img, a:focus-visible > .ph img, .hero__next:hover svg, .mnav a.mnav__link:hover svg,
  .switch input:active::after { transform: none !important; }
  .hero__next svg, .hero__next:hover svg, .hero__next:focus-visible svg { transform: rotate(90deg) !important; }
  .switch input:checked::after, .switch input:checked:active::after { transform: translateX(16px) !important; }
  .nav__ink, .mi-ink { transition-property: opacity; }
  .mi-ink__fill { transition: none; }
  .steps li::after { transition: none; }
  .chip--diet[aria-pressed="true"], .opt input:checked + span, .mi-spin, [aria-busy="true"] .mi-spin { animation: none; }
  .nav-open .mnav__link, .nav-open .mnav__foot, .smart__got li, .prefill-tag.is-arriving, .f.has-error .err { animation-name: mi-fade; }
  .docket { animation-name: mi-fade; }
  .mi-check.is-drawing circle, .mi-check.is-drawing path { animation: none; }
  .mi-simmer i { animation-name: mi-simmer-calm; }
  @keyframes mi-simmer-calm { 0%, 100% { opacity: .35; } 40% { opacity: 1; } }
  .nav-closing .mnav { animation: none; display: none; }
  .faq__a { transition: none; }
  [aria-busy="true"] .mi-spin { opacity: .5; transform: none; }
}
