@font-face{font-family:"Big Shoulders Display";font-weight:700 900;font-display:swap;src:url(/fonts/big-shoulders-display-900.woff2)}
@font-face{font-family:"Work Sans";font-weight:400 700;font-display:swap;src:url(/fonts/work-sans-400.woff2)}
/* DEGTHAI — shared styles. Tokens from DESIGN.md. Library type: Big Shoulders Display (display),
   Work Sans (text), Space Mono (labels). Fonts self-hosted in /fonts (website-upgrade library). */
:root {
  --ink: #171717;
  --ink-2: #505050;
  --paper: #ffffff;
  --warm: #f2f1ed;
  --green: #1e5a3c;
  --green-deep: #133d28;
  --green-soft: #e3eee6;
  --line: #d9d7d0;
  --night: #0c110e;
  --gold: #ffd84d;
  --display: "Big Shoulders Display", "Arial Narrow", Arial, sans-serif;
  --sans: "Work Sans", system-ui, Arial, Helvetica, sans-serif;
  --mono: "Courier New", monospace;
  --gutter: 40px;
  --section: 96px;
  --max: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1023px) { :root { --gutter: 24px; --section: 72px; } }
@media (max-width: 599px) { :root { --gutter: 20px; --section: 64px; } }
@media (max-width: 359px) { :root { --gutter: 16px; --section: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.55 var(--sans);
}
@media (max-width: 599px) { body { font-size: 16px; } }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px #fff; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--ink); }
.kicker { font: 700 14px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.eyebrow { font: 700 13px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; color: var(--ink-2); }
.lede { font-size: 20px; line-height: 1.5; max-width: 60ch; }
@media (max-width: 599px) { .lede { font-size: 18px; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { font: 800 30px/1 var(--display); letter-spacing: .03em; text-decoration: none; }
.brand small { display: block; font: 700 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-top: 4px; }
.nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 10px 0; font: 700 15px/1.2 var(--sans); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .2s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.menu-btn { display: none; }
@media (max-width: 899px) {
  .js .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1px solid var(--ink); background: #fff; font: 700 15px var(--sans); cursor: pointer; }
  .menu-btn .bars { width: 18px; height: 12px; position: relative; border-top: 2px solid; border-bottom: 2px solid; }
  .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
  .site-header .wrap { flex-wrap: wrap; }
  .nav { width: 100%; }
  .js .nav { display: none; }
  .js .nav.open { display: block; padding: 4px 0 16px; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; padding: 14px 0; border-top: 1px solid var(--line); font-size: 18px; background: none; }
  .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font: 700 16px/1.25 var(--sans); text-align: center; max-width: 100%; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease), transform .1s; }
.btn:hover { background: #333; border-color: #333; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; color: var(--green-deep); border-color: #fff; }
.btn.light:hover { background: var(--green-soft); border-color: var(--green-soft); }
.btn.line-light { background: transparent; color: #fff; border-color: #fff; }
.btn.line-light:hover { background: #fff; color: var(--green-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.via { display: block; font-size: 14px; color: var(--ink-2); margin-top: 8px; }
.on-dark .via { color: #d6e6db; }
@media (prefers-reduced-motion: reduce) { .btn, .nav a { transition: none; } .btn:active { transform: none; } }

/* Home hero: full-bleed photo of DEGTHAI Thai tea under a night scrim */
.hero { position: relative; display: grid; align-items: end; min-height: min(780px, calc(100svh - 68px)); background: var(--night); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,13,11,.34) 0%, rgba(9,13,11,.44) 44%, rgba(9,13,11,.9) 100%); }
.hero-inner { position: relative; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; width: 100%; padding: 120px var(--gutter) 56px; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; color: #fff; }
.hero h1 { font-size: clamp(64px, 10vw, 152px); line-height: .92; font-weight: 900; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .kicker { color: var(--gold); }
.crave { margin-top: 28px; font: 500 22px/1.3 var(--sans); }
.crave .slot { display: inline-block; position: relative; min-width: 9ch; color: var(--gold); border-bottom: 3px solid var(--gold); font-weight: 600; }
.crave .slot span { display: inline-block; }
.crave .slot span.out { animation: slotOut .28s var(--ease) forwards; }
.crave .slot span.in { animation: slotIn .32s var(--ease); }
@keyframes slotOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes slotIn { from { opacity: 0; transform: translateY(10px); } }
.hero-actions { border-top: 1px solid rgba(255,255,255,.4); }
.hero-actions > a { display: grid; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.4); text-decoration: none; }
.hero-actions > a strong { font: 800 clamp(28px, 2.8vw, 40px)/1 var(--display); letter-spacing: .02em; }
.hero-actions > a span { font: 400 15px/1.4 var(--sans); color: #d6e6db; }
.hero-actions > a strong { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat; transition: background-size .25s var(--ease); padding-bottom: 4px; }
.hero-actions > a:hover strong, .hero-actions > a:focus-visible strong { background-size: 100% 3px; }
@media (max-width: 899px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 88px; }
}
@media (max-width: 599px) { .hero { min-height: min(640px, calc(100svh - 68px)); } .hero-inner { padding: 72px var(--gutter) 44px; } .hero h1 { font-size: clamp(64px, 21vw, 88px); } .crave { font-size: 19px; } }
@media (max-width: 359px) { .hero h1 { font-size: 54px; } }
@media (prefers-reduced-motion: reduce) { .hero-actions a strong { transition: none; } .crave .slot span.out, .crave .slot span.in { animation: none; } }

/* Dish rail */
.rail { border-bottom: 1px solid var(--line); overflow: hidden; position: relative; }
.rail-track { display: flex; width: max-content; animation: rail 38s linear infinite; }
.rail:hover .rail-track, .rail:focus-within .rail-track, .rail.paused .rail-track { animation-play-state: paused; }
.rail ul { display: flex; list-style: none; margin: 0; padding: 0; }
.rail li { font: 800 clamp(32px, 4.6vw, 64px)/1 var(--display); letter-spacing: .01em; padding: 22px 0; white-space: nowrap; }
.rail li::after { content: "·"; margin: 0 .5em; color: var(--gold); }
.rail-toggle { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--ink); font: 700 13px var(--sans); cursor: pointer; }
@keyframes rail { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .rail-track { animation: none; width: auto; }
  .rail ul[aria-hidden] { display: none; }
  .rail ul { flex-wrap: wrap; padding: 0 var(--gutter); }
  .rail li { font-size: 28px; padding: 14px 0; }
  .rail-toggle { display: none; }
}

/* Sections */
.section { padding: var(--section) 0; }
.section.warm { background: var(--warm); }
.section-head { display: grid; grid-template-columns: 5fr 7fr; gap: 20px 48px; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(42px, 5.2vw, 76px); line-height: .96; font-weight: 800; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 58ch; }
@media (max-width: 899px) { .section-head { grid-template-columns: 1fr; margin-bottom: 32px; } }
@media (max-width: 599px) { .section-head h2 { font-size: 44px; } }

/* Location chapters (signature) */
.chapters { position: relative; }
.chapter { display: grid; grid-template-columns: 5fr 7fr; gap: 20px 48px; padding: 56px 0; border-top: 2px solid var(--ink); }
.chapter:last-of-type { padding-bottom: 32px; }
.chapter-num { font: 700 14px/1.4 var(--mono); letter-spacing: .12em; color: var(--ink-2); }
.chapter h3 { font-size: clamp(44px, 5vw, 76px); line-height: .94; margin: 8px 0 12px; }
.chapter .tag { display: inline-block; font: 700 13px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--green-soft); color: var(--green-deep); padding: 8px 10px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 28px; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 700 13px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.facts dd a { text-underline-offset: 4px; }
.facts dd small { display: block; font-size: 14px; color: var(--ink-2); }
@media (max-width: 899px) { .chapter { grid-template-columns: 1fr; padding: 40px 0; } }
@media (max-width: 599px) { .facts { grid-template-columns: 1fr; } .chapter h3 { font-size: 46px; } }
@media (max-width: 359px) { .chapter h3 { font-size: 40px; } }

.dock { position: sticky; bottom: 16px; z-index: 20; display: flex; justify-content: center; pointer-events: none; margin-top: 8px; }
.dock-pill { pointer-events: auto; display: inline-flex; align-items: center; gap: 14px; background: var(--ink); color: #fff; padding: 12px 20px; min-height: 48px; }
.dock-count { font: 400 14px/1 var(--mono); letter-spacing: .06em; color: #cfcfcf; }
.dock-name { font: 800 18px/1 var(--display); letter-spacing: .03em; display: inline-block; min-width: 13ch; }
.dock-name.swap { animation: slotIn .22s var(--ease); }
.dock-bar { width: 64px; height: 3px; background: #444; position: relative; }
.dock-bar i { position: absolute; inset: 0 auto 0 0; width: 50%; background: #fff; transition: width .22s var(--ease); }
@media (max-width: 359px) { .dock-bar { display: none; } .dock-name { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .dock-name.swap { animation: none; } .dock-bar i { transition: none; } }

/* Story (juice editorial intro + entrance) */
.brand-art { margin: 0 auto 56px; max-width: 980px; }
.brand-art img { width: 100%; height: auto; }
.story-statement { text-align: center; max-width: 18ch; margin: 0 auto 56px; font-size: clamp(44px, 5.6vw, 80px); line-height: .96; font-weight: 800; }
.story-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.story-copy p { max-width: 58ch; }
.reveal { opacity: 1; }
.js .reveal.pending { opacity: .85; transform: translateY(20px); }
.js .reveal.shown { opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
@media (max-width: 599px) { .js .reveal.pending { transform: translateY(12px); } .js .reveal.shown { transition-duration: .3s; } }
@media (prefers-reduced-motion: reduce) { .js .reveal.pending { opacity: 1; transform: none; } .js .reveal.shown { transition: none; } }
/* In-page YouTube player (provider player, lazy) */
.film-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); }
.film-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-note { font: 400 14px/1.5 var(--mono); color: var(--ink-2); margin-top: 10px; }
@media (max-width: 899px) { .story-grid { grid-template-columns: 1fr; gap: 32px; } .story-statement { margin-bottom: 36px; } }
@media (max-width: 599px) { .story-statement { font-size: 46px; } .brand-art { margin-bottom: 36px; } }
@media (max-width: 359px) { .story-statement { font-size: 40px; } }
@media (max-width: 899px) { .story-grid { grid-template-columns: 1fr; gap: 32px; } .story-statement { margin-bottom: 36px; } }
@media (max-width: 599px) { .story-statement { font-size: 32px; } }
@media (max-width: 359px) { .story-statement { font-size: 28px; } }

/* Stories list */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px 32px; align-items: baseline; padding: 24px 0; text-decoration: none; }
.rows .yr { font: 400 16px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.rows .ttl { font: 800 clamp(26px, 2.8vw, 38px)/1.05 var(--display); letter-spacing: .01em; }
.rows .pub { display: block; font: 400 15px/1.4 var(--sans); color: var(--ink-2); margin-top: 6px; letter-spacing: 0; }
.rows .go { font: 700 15px var(--sans); white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .2s var(--ease); }
.rows a:hover .go, .rows a:focus-visible .go { background-size: 100% 2px; }
.rows a:hover .ttl { color: var(--green); }
@media (max-width: 599px) { .rows a { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; } .rows .go { justify-self: start; margin-top: 6px; } }

/* Band / invitation */
.band { background: var(--green); color: #fff; }
.band .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 48px; align-items: end; padding-top: var(--section); padding-bottom: var(--section); }
.band h2 { font-size: clamp(42px, 5vw, 76px); line-height: .96; }
.band p { color: #e6efe9; }
@media (max-width: 899px) { .band .wrap { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .band h2 { font-size: 44px; } }

/* Inner-page hero */
.page-hero { padding: 72px 0 56px; border-bottom: 2px solid var(--ink); }
.page-hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 32px 48px; align-items: end; }
.page-hero h1 { font-size: clamp(52px, 6.6vw, 96px); line-height: .94; }
.page-hero .lede { margin-top: 20px; color: var(--ink-2); }
.page-hero aside { border-left: 2px solid var(--ink); padding-left: 24px; }
@media (max-width: 899px) { .page-hero { padding: 48px 0 40px; } .page-hero .wrap { grid-template-columns: 1fr; } .page-hero aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; } }
@media (max-width: 599px) { .page-hero h1 { font-size: 50px; } }
@media (max-width: 359px) { .page-hero h1 { font-size: 44px; } }

/* Menu category board */
.board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.board li { list-style: none; border-bottom: 1px solid var(--line); padding: 24px 24px 24px 0; display: flex; gap: 20px; align-items: baseline; transition: background-color .2s var(--ease), padding .2s var(--ease); }
.board li:nth-child(odd) { border-right: 1px solid var(--line); }
.board li:nth-child(even) { padding-left: 24px; }
.board .n { font: 400 15px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-2); min-width: 2ch; }
.board strong { font: 800 clamp(26px, 2.8vw, 38px)/1.05 var(--display); letter-spacing: .01em; display: block; }
.board span { display: block; color: var(--ink-2); font-size: 16px; margin-top: 6px; }
.board-wrap { margin: 0; padding: 0; }
@media (max-width: 599px) { .board { grid-template-columns: 1fr; } .board li, .board li:nth-child(even) { padding: 18px 0; border-right: 0; } .board li:nth-child(odd) { border-right: 0; } }
@media (prefers-reduced-motion: reduce) { .board li { transition: none; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 899px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.panel { border-top: 2px solid var(--ink); padding-top: 24px; }
.panel h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; margin-bottom: 16px; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 16px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.steps strong { display: block; font-size: 19px; margin-bottom: 4px; }

/* Mobile action bar (location pages) */
.action-bar { display: none; }
@media (max-width: 599px) {
  .has-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .action-bar .btn { min-height: 52px; padding: 0 12px; font-size: 15px; }
  .menu-open .action-bar { display: none; }
}

/* Footer */
.site-footer { background: var(--warm); padding: var(--section) 0 40px; text-align: center; }
.footer-invite { font-size: clamp(48px, 6.4vw, 96px); line-height: .94; font-weight: 800; max-width: 16ch; margin: 0 auto 32px; }
.site-footer .btn-row { justify-content: center; margin-bottom: 64px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; text-align: left; border-top: 2px solid var(--ink); padding-top: 32px; }
.footer-grid h2 { font: 700 13px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 12px; }
.footer-grid p, .footer-grid li { font-size: 16px; line-height: 1.6; margin: 0 0 6px; overflow-wrap: anywhere; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid a { text-underline-offset: 3px; }
.footer-grid a:hover { color: var(--green); }
.footer-base { margin-top: 48px; font-size: 14px; color: var(--ink-2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } .footer-invite { font-size: 32px; } }
@media (max-width: 359px) { .footer-invite { font-size: 28px; } }

/* ===== Imagery pass 2026-09-26: the business's own photos ===== */

/* Staggered dish gallery (home). Photos are cropped inside the old menu-slide
   ovals (2026-09-27), so every tile is a clean full-bleed photo. */
.plates { background: var(--green-deep); color: #fff; }
.plates .section-head p { color: #cfe0d5; }
.plate-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: start; }
.plate { margin: 0; background: #070a08; overflow: hidden; }
.plate img { display: block; width: 100%; height: auto; object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) { .plate:hover img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .plate img { transition: none; } .plate:hover img { transform: none; } }
.plate figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; font: 700 13px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.plate figcaption span { color: #9fb8a9; text-align: right; }
.plate-a { grid-column: 1 / span 7; }
.plate-b { grid-column: 8 / span 5; }
.plate-c { grid-column: 1 / span 5; }
.plate-d { grid-column: 6 / span 7; }
.plate-a img { aspect-ratio: 3 / 2; }
.plate-b img, .plate-c img { aspect-ratio: 1 / 1; }
.plate-d img { aspect-ratio: 16 / 10; }
@media (max-width: 899px) {
  .plate-grid { grid-template-columns: 1fr 1fr; }
  .plate-a, .plate-b, .plate-c, .plate-d { grid-column: auto; }
}
@media (max-width: 599px) { .plate-grid { grid-template-columns: 1fr; gap: 16px; } }

/* Photo strips on inner pages (menu/catering context) */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.strip .plate img { aspect-ratio: 4 / 3; }
@media (max-width: 899px) { .strip { grid-template-columns: 1fr 1fr; } .strip .plate:last-child { grid-column: 1 / -1; } .strip .plate:last-child img { aspect-ratio: 16 / 9; } }
@media (max-width: 599px) { .strip { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; } .strip .plate:last-child img { aspect-ratio: 4 / 3; } }

/* Dish rail: hover pause for mouse only, so a tap never leaves it stuck */
.rail:hover .rail-track { animation-play-state: running; }
@media (hover: hover) { .rail:hover .rail-track { animation-play-state: paused; } }
.rail:focus-within .rail-track, .rail.paused .rail-track { animation-play-state: paused; }

/* Choose section: map beside the chapters */
.choose-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.map-col { position: sticky; top: 96px; }
.choose-grid .chapter { grid-template-columns: 1fr; gap: 12px; padding: 40px 0; }
.choose-grid .chapter h3 { font-size: clamp(34px, 3.8vw, 52px); }
@media (max-width: 1023px) { .choose-grid { grid-template-columns: 1fr; gap: 24px; } .map-col { position: relative; top: 0; } }

/* Route map */
.route-map { margin: 0; background: var(--green); color: #fff; }
.route-map svg { display: block; width: 100%; height: auto; }
.route-map .dot { fill: rgba(255,255,255,.16); }
.route-map .compass path { fill: rgba(255,255,255,.7); }
.route-map .compass text { fill: rgba(255,255,255,.7); font: 700 20px var(--sans); }
.route-map .route-base { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 4; stroke-dasharray: 2 14; stroke-linecap: round; }
.route-map .route-line { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; }
.route-map .pin { cursor: pointer; }
.route-map .pin-dot { fill: #fff; stroke: var(--green-deep); stroke-width: 5; transition: fill .25s var(--ease); }
.route-map .pin-halo { fill: rgba(255,255,255,.18); transform-box: fill-box; transform-origin: center; transform: scale(.4); opacity: 0; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.route-map .pin.is-on .pin-halo, .route-map .pin:hover .pin-halo, .route-map .pin:focus-visible .pin-halo { transform: scale(1); opacity: 1; }
.route-map .pin.is-on .pin-dot { fill: #ffd84d; }
.route-map .pin-name { fill: #fff; font: 800 46px var(--display); letter-spacing: .02em; }
.route-map .pin-sub { fill: #d6e6db; font: 700 22px var(--sans); }
.route-map .pin:focus-visible { outline: none; }
.route-map .pin:focus-visible .pin-dot { stroke: #fff; stroke-width: 8; }
.route-map .truck-body { fill: #ffd84d; }
.route-map .truck-cab { fill: #fff; }
.route-map .truck-win { fill: var(--green-deep); }
.route-map .truck-wheel { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.route-map figcaption { font-size: 13px; color: #d6e6db; padding: 0 16px 12px; }
@media (max-width: 599px) { .route-map .pin-sub { display: none; } .route-map .pin-name { font-size: 56px; } }
@media (prefers-reduced-motion: reduce) { .route-map .pin-halo, .route-map .pin-dot { transition: none; } }
.panel .route-map { margin: 0 0 20px; }
.map-wide { margin-bottom: 40px; max-width: 760px; }

/* Staggered reveals: content stays readable before reveal */
.js [data-reveal].pending > * { opacity: .7; transform: translateY(24px); }
.js [data-reveal].shown > * { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
@media (max-width: 599px) { .js [data-reveal].pending > * { transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { .js [data-reveal].pending > * { opacity: 1; transform: none; } .js [data-reveal].shown > * { transition: none; } }

/* Board and step underline sweep */
.board li { position: relative; }
.board li::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--green); transition: width .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + .15s); }
.js .board.shown li::before, html:not(.js) .board li::before { width: 100%; }
.board li:nth-child(even)::before { left: 24px; }
@media (max-width: 599px) { .board li:nth-child(even)::before { left: 0; } }
.steps li { position: relative; }
.steps li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--green); transition: width .6s var(--ease); transition-delay: calc(var(--i, 0) * 140ms + .2s); }
.js .steps.shown li::after { width: 100%; }
@media (prefers-reduced-motion: reduce) { .board li::before, .steps li::after { transition: none; } }

/* Stories timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 42px; height: 3px; background: var(--ink); transform-origin: left; }
.js .timeline.pending::before { transform: scaleX(0); }
.js .timeline.shown::before { transform: scaleX(1); transition: transform 1.2s var(--ease); }
.timeline li { position: relative; padding: 0 16px 0 0; }
.timeline .t-yr { display: block; font: 400 17px/1.2 var(--mono); letter-spacing: .06em; color: var(--ink-2); height: 30px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 34px; width: 19px; height: 19px; background: var(--warm); border: 3px solid var(--ink); border-radius: 50%; z-index: 1; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.timeline .t-origin::before { background: var(--green); border-color: var(--green); }
.timeline .t-body { display: block; padding-top: 44px; text-decoration: none; }
.timeline .t-body strong { display: block; font: 900 20px/1.15 var(--display); margin-bottom: 8px; }
.timeline .t-body span { display: block; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.timeline .t-body em { display: inline-block; margin-top: 12px; font: 700 14px var(--sans); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .2s var(--ease); }
.timeline a.t-body:hover em, .timeline a.t-body:focus-visible em { background-size: 100% 2px; }
.timeline a.t-body:hover strong { color: var(--green); }
.timeline li:hover::before { background: var(--green); border-color: var(--green); }
@media (max-width: 1023px) {
  .timeline { grid-template-columns: 1fr; padding-left: 36px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 3px; height: auto; transform-origin: top; }
  .js .timeline.pending::before { transform: scaleY(0); }
  .js .timeline.shown::before { transform: scaleY(1); }
  .timeline li { padding: 0 0 32px; }
  .timeline li::before { left: -36px; top: 0; }
  .timeline .t-yr { height: auto; margin-bottom: 6px; }
  .timeline .t-body { padding-top: 0; }
  .timeline .t-body strong { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .js .timeline.pending::before, .js .timeline.shown::before { transform: none; transition: none; } .timeline li::before { transition: none; } }

/* Captions on the dark plate frames: readable on every page (they inherited near-black text in light sections) */
.plate figcaption { color: #fff; }
/* Catering: a dish in the opening */
.hero-dish { margin: 0 0 20px; background: #070a08; }
.hero-dish img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.page-hero + .section { padding-top: clamp(48px, 6vw, 72px); }
/* Phone: two call buttons after the hero; the chapter dock stays off phones so it never covers contact details */
.mobile-call { display: none; }
@media (max-width: 760px) {
  .dock { display: none; }
  body { padding-bottom: 84px; }
  .mobile-call { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; background: var(--ink); box-shadow: 0 12px 30px rgba(0,0,0,.35); transition: transform .32s var(--ease), opacity .24s ease; }
  .mobile-call a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px; background: var(--gold); color: var(--ink); font: 800 17px/1.05 var(--display); letter-spacing: .03em; text-decoration: none; text-transform: uppercase; }
  .mobile-call a + a { background: #fff; }
  .mobile-call small { font: 700 10px/1.2 var(--mono); letter-spacing: .14em; }
  html.callbar-managed .mobile-call { opacity: 0; transform: translateY(140%); pointer-events: none; }
  html.callbar-managed .mobile-call.is-shown { opacity: 1; transform: none; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .mobile-call { transition: none; } }

/* ===== 2026-09-27: proof strip and hero call line ===== */
.hero-call { margin: 16px 0 0; font: 400 14px/1.5 var(--sans); color: #d6e6db; }
.hero-call a { color: #fff; text-underline-offset: 3px; }
.hero-call a:hover, .hero-call a:focus-visible { color: var(--gold); }
.proof { background: var(--gold); color: var(--ink); }
.proof-row { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-row li { border-left: 2px solid var(--ink); }
.proof-row li:first-child { border-left: 0; }
.proof-row li > b, .proof-row li > a { display: block; }
.proof-row b { display: block; font: 900 clamp(40px, 4.4vw, 64px)/.9 var(--display); letter-spacing: .01em; }
.proof-row span { display: block; margin-top: 8px; font: 700 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.proof-row li { padding: 26px 24px 24px; }
.proof-row li:first-child { padding-left: 0; }
.proof-row a { color: inherit; text-decoration: none; font-size: 12px; line-height: 1.4; }
.proof-row a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s var(--ease); padding-bottom: 2px; display: inline; }
.proof-row a b { margin-bottom: 8px; }
.proof-row a:hover span, .proof-row a:focus-visible span { background-size: 100% 2px; }
.proof-row a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
@media (max-width: 899px) {
  .proof-row { grid-template-columns: 1fr 1fr; }
  .proof-row li { padding: 20px 16px; border-left: 0; border-top: 2px solid var(--ink); }
  .proof-row li:nth-child(-n+2) { border-top: 0; }
  .proof-row li:nth-child(odd) { padding-left: 0; }
  .proof-row li:nth-child(even) { border-left: 2px solid var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .proof-row a span { transition: none; } }
