/* ==========================================================================
   Number Nine Clam Shack — shared stylesheet
   Framing: a New England clam shack — order window, number called out, picnic
   tables in sequence. Rules of the house:
   · ALL MOTION IS HORIZONTAL (translateX + opacity only)
   · text never sits on a photograph; photos wear a thick solid-color frame
   · the number is the headline (order numbers, prices, hours)
   · saturated primaries from the objects themselves, on waxed-paper white
   ========================================================================== */

/* ---------- 0. Fallbacks so fonts load without blocking first paint ---------- */
@font-face { font-family: "Slab Fallback"; src: local("Georgia Bold"), local("Georgia"); size-adjust: 96%; ascent-override: 95%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Num Fallback"; src: local("Arial Black"), local("Impact"); size-adjust: 96%; ascent-override: 92%; descent-override: 22%; line-gap-override: 0%; }

/* ---------- 1. Tokens ---------- */
:root {
  --paper: #fff9ec;          /* waxed paper */
  --paper-2: #f6ebd3;        /* a step down: tray liner */
  --ink: #15110e;
  --muted: #5b514a;          /* 7.2:1 on paper */
  --red: #d5251d;            /* 4.8:1 with paper text; 4.8:1 as text on paper */
  --red-text: #c4211a;       /* red used as text on paper: 5.6:1 */
  --blue: #0a4a86;           /* 9:1 with paper text */
  --yellow: #ffc21c;         /* fill only; ink text on it is 12:1 */
  --frame-1: var(--red);
  --frame-2: var(--blue);
  --frame-3: var(--yellow);
  --rule: 4px;
  --font-slab: "Alfa Slab One", "Slab Fallback", Georgia, "Times New Roman", serif;
  --font-num: "Gasoek One", "Num Fallback", "Arial Black", Impact, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2rem; --s5: 3rem; --s6: 4rem; --s8: 6rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1200px;
  --measure: 62ch;
  --ease: cubic-bezier(0.5, 1, 0.89, 1); /* ease-out, same curve as GSAP power2.out */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1a2d;        /* the shack at night */
    --paper-2: #12294a;
    --ink: #fff3df;
    --muted: #b9c2d0;
    --red: #cc2a21;
    --red-text: #ff7468;     /* 5.9:1 on night */
    --blue: #1d6fc4;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; border-radius: 0; }
a { color: inherit; }
p { margin: 0 0 var(--s2); max-width: var(--measure); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-slab); font-weight: 400; line-height: 1.02; letter-spacing: 0.005em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 9.5vw, 7rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5.5vw, 4rem); text-transform: uppercase; }
h3 { font-size: clamp(1.375rem, 2.6vw, 1.875rem); }
h4 { font-size: 1.25rem; }
::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--yellow); } }
.panel--red :focus-visible, .panel--blue :focus-visible { outline-color: var(--yellow); }

.skip-link { position: absolute; left: var(--s2); top: -5rem; z-index: 300; background: var(--ink); color: var(--paper); padding: var(--s1) var(--s2); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: var(--s2); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Numerals are always Gasoek + tabular */
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums lining-nums; letter-spacing: 0; line-height: 1; }

/* ---------- 3. Layout ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.panel { padding-block: clamp(3rem, 7vw, 5rem); }
.panel--red { background: var(--red); color: #fff9ec; }
.panel--blue { background: var(--blue); color: #fff9ec; }
.panel--yellow { background: var(--yellow); color: #15110e; }
.panel--paper2 { background: var(--paper-2); }
.rule { border: 0; border-top: var(--rule) solid var(--ink); margin: 0; }

/* order-number heading: "No. 14" then the title */
.tag { display: flex; align-items: baseline; gap: var(--s2); margin: 0 0 var(--s3); font-family: var(--font-slab); font-size: 1.125rem; text-transform: uppercase; }
.tag .num { font-size: 1.75rem; color: var(--red-text); }
.panel--red .tag .num, .panel--blue .tag .num { color: var(--yellow); }
.panel--yellow .tag .num { color: #8f120b; }
.tag::after { content: ""; flex: 1; border-top: var(--rule) solid currentColor; transform: translateY(-0.3em); opacity: 0.9; }

.lede { font-size: clamp(1.1875rem, 2vw, 1.5rem); line-height: 1.5; max-width: 52ch; }
.muted { color: var(--muted); }

.split { display: grid; gap: var(--s5); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(12, 1fr); column-gap: var(--s4); align-items: center; }
  .split > :first-child { grid-column: 1 / span 6; }
  .split > :last-child { grid-column: 8 / span 5; }
  .split--flip > :first-child { grid-column: 7 / span 6; grid-row: 1; }
  .split--flip > :last-child { grid-column: 1 / span 5; grid-row: 1; }
}

/* ---------- 4. Photos: thick solid frame, never touching the edge, no text on top ---------- */
.photo { margin: 0; border: 8px solid var(--frame-1); background: var(--paper-2); overflow: hidden; position: relative; }
@media (min-width: 700px) { .photo { border-width: 12px; } }
.photo picture { width: 100%; height: 100%; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.frame-red { --frame-1: var(--red); } .frame-blue { --frame-1: var(--blue); } .frame-yellow { --frame-1: var(--yellow); } .frame-ink { --frame-1: var(--ink); }
.photo--43 { aspect-ratio: 4 / 3; } .photo--45 { aspect-ratio: 4 / 5; } .photo--11 { aspect-ratio: 1 / 1; } .photo--169 { aspect-ratio: 16 / 9; }
.caption { margin: 0.6rem 0 0; font-size: 0.9375rem; color: var(--muted); }
.caption strong { color: var(--ink); font-family: var(--font-slab); font-weight: 400; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: 0.75rem 1.75rem;
  background: var(--yellow); color: #15110e; border: 4px solid #15110e; border-radius: 0;
  font: 400 1.125rem/1.1 var(--font-slab); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  box-shadow: 6px 6px 0 #15110e;           /* sign-painter offset shadow (this model allows it) */
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { background: #15110e; color: var(--yellow); }
.btn--red { background: var(--red); color: #fff9ec; }
.btn--red:hover { background: #15110e; color: #fff9ec; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #15110e; color: #fff9ec; }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1.1rem; font-size: 0.9375rem; border-width: 3px; box-shadow: 4px 4px 0 #15110e; }
.btn[disabled] { opacity: 0.6; cursor: progress; }
@media (prefers-color-scheme: dark) { .btn, .btn--sm { border-color: #fff3df; box-shadow: 6px 6px 0 #fff3df; } .btn--sm { box-shadow: 4px 4px 0 #fff3df; } .btn:hover { background: #fff3df; color: #15110e; } .btn--red:hover, .btn--paper:hover { background: #fff3df; color: #15110e; } }
.link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.25em; text-decoration-color: var(--red-text); }
.link:hover { text-decoration-color: currentColor; }
.panel--red .link, .panel--blue .link { text-decoration-color: var(--yellow); }

/* ---------- 6. Header, awning, order bar ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); border-bottom: var(--rule) solid var(--ink); }
.awning { height: 18px; background: repeating-linear-gradient(90deg, var(--red) 0 36px, var(--paper) 36px 72px); border-bottom: var(--rule) solid var(--ink); }
.site-header .wrap { display: flex; align-items: center; gap: var(--s2); min-height: 4.25rem; }
.brand { margin-right: auto; text-decoration: none; display: inline-flex; align-items: center; gap: 0.65rem; line-height: 1; }
.brand__no { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--red); color: #fff9ec; font-family: var(--font-num); font-size: 1.6rem; border: 3px solid var(--ink); }
.brand__txt { font-family: var(--font-slab); font-size: 1.1875rem; text-transform: uppercase; display: grid; }
.brand__txt small { white-space: nowrap; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); }
.nav { display: none; }
.nav-toggle { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; background: var(--yellow); color: #15110e; border: 3px solid #15110e; border-radius: 0; font: 400 1rem var(--font-slab); text-transform: uppercase; cursor: pointer; }
.header-open { display: none; }
.header-phone { display: none; font-family: var(--font-num); font-variant-numeric: tabular-nums; text-decoration: none; font-size: 1.125rem; white-space: nowrap; }
.header-cta { display: none; }

.site-header.nav-open .nav { display: block; position: absolute; inset: 100% 0 auto 0; background: var(--paper); border-bottom: var(--rule) solid var(--ink); padding: var(--s2) var(--gutter) var(--s4); }
.nav ul { display: grid; }
.nav a { display: flex; align-items: baseline; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 3px solid var(--ink); font-family: var(--font-slab); font-size: 1.75rem; text-transform: uppercase; text-decoration: none; }
.nav a .num { font-size: 1.1rem; color: var(--red-text); }
.nav a[aria-current="page"] { color: var(--red-text); }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .nav { display: block; }
  .nav ul { display: flex; gap: var(--s3); }
  .nav a { white-space: nowrap; border: 0; padding: 0.25rem 0; font-family: var(--font-body); font-weight: 800; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.04em; position: relative; }
  .nav a .num { display: none; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { color: inherit; }
  .header-cta { display: inline-flex; }
  .header-open { display: inline-flex; }
}
.status { align-items: center; gap: 0.5rem; padding: 0.25rem 0.7rem; background: var(--ink); color: var(--paper); font: 800 0.8125rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; border: 0; white-space: nowrap; }
.status[data-state="open"] { background: var(--yellow); color: #15110e; }
.status[data-state="closed"] { background: var(--ink); color: var(--paper); }
@media (prefers-color-scheme: dark) { .status[data-state="closed"] { background: var(--paper-2); color: var(--ink); } }

.order-bar { position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: var(--rule) solid var(--ink); }
.order-bar a { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; font: 400 1.0625rem var(--font-slab); text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.order-bar a:first-child { border-right: var(--rule) solid var(--ink); }
.order-bar a:last-child { background: var(--yellow); color: #15110e; }
.order-bar--single { grid-template-columns: 1fr; }
.order-bar--single a:first-child { border: 0; background: var(--yellow); color: #15110e; }
@media (min-width: 980px) { .order-bar { display: none; } }
@media (max-width: 979px) { body { padding-bottom: 3.5rem; } }
@media (max-width: 359px) { .order-bar a { font-size: 0.9375rem; } }

/* ---------- 7. Hero: the order window ---------- */
.hero { background: var(--paper); padding-block: clamp(2rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.hero__grid { display: grid; gap: var(--s4); }
.hero__panel { background: var(--red); color: #fff9ec; padding: clamp(1.5rem, 4vw, 3rem); border: var(--rule) solid var(--ink); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.hero__panel h1 { color: #fff9ec; font-size: clamp(2.5rem, 10.5vw, 4.5rem); overflow-wrap: anywhere; }
@media (min-width: 980px) { .hero__panel h1 { font-size: clamp(2.5rem, 4.7vw, 3.9rem); } }
.hero__panel h1 .line { display: block; }
.hero__sub { margin: var(--s3) 0 0; font-size: clamp(1.1875rem, 2vw, 1.4375rem); max-width: 34ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s4); }
.hero__window { position: relative; }
.hero__window .photo { aspect-ratio: 4 / 3; --frame-1: var(--yellow); border-color: var(--yellow); outline: var(--rule) solid var(--ink); }
.hero__drift { width: 112%; max-width: none; height: 100%; margin-left: -6%; will-change: transform; }
.hero__drift img { width: 100%; height: 100%; object-fit: cover; }
.hero__ticket { margin-top: var(--s3); display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s3); align-items: center; padding: var(--s2) var(--s3); background: var(--paper); color: var(--ink); border: var(--rule) solid var(--ink); }
.hero__ticket .num { font-size: clamp(2.5rem, 7vw, 4rem); color: var(--red-text); }
.hero__ticket p { margin: 0; font-weight: 700; line-height: 1.25; }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s4); }
  .hero__panel { grid-column: 1 / span 6; }
  .hero__window { grid-column: 7 / span 6; }
}

/* facts strip (first mobile viewport must show hours / address / order) */
.facts { display: grid; border: var(--rule) solid var(--ink); background: var(--paper); }
.facts > div { padding: var(--s2) var(--s3); border-bottom: var(--rule) solid var(--ink); }
.facts > div:last-child { border-bottom: 0; }
.facts dt { font: 800 0.8125rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--font-slab); font-size: 1.375rem; line-height: 1.15; }
.facts a { text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } .facts > div { border-bottom: 0; border-right: var(--rule) solid var(--ink); } .facts > div:last-child { border-right: 0; } }

/* ---------- 8. Page heads ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) var(--s4); }
.page-head h1 { font-size: clamp(2.5rem, 8vw, 5.5rem); }
.page-head .lede { margin-top: var(--s3); }

/* ---------- 9. The board: numbered rows, price right-aligned ---------- */
.board { border-top: var(--rule) solid var(--ink); }
.board li, .menu-item { display: grid; grid-template-columns: 3rem 1fr auto; gap: 0.25rem var(--s2); align-items: baseline; padding: 1rem 0; border-bottom: var(--rule) solid var(--ink); }
.board .num, .menu-item .num { display: grid; place-items: center; width: 3rem; height: 3rem; font-size: 1.5rem; background: var(--red); color: #fff9ec; border: 3px solid var(--ink); align-self: start; }
.board li:nth-child(3n+2) .num, .menu-item:nth-child(3n+2) .num { background: var(--blue); color: #fff9ec; }
.board li:nth-child(3n) .num, .menu-item:nth-child(3n) .num { background: var(--yellow); color: #15110e; }
.price .cur { font-size: 0.55em; vertical-align: 0.5em; margin-right: 0.08em; }
.board h3, .menu-item h3 { font-size: clamp(1.25rem, 2.4vw, 1.625rem); }
.board .price, .menu-item .price { font-family: var(--font-num); font-variant-numeric: tabular-nums lining-nums; font-size: clamp(1.375rem, 3vw, 1.875rem); text-align: right; min-width: 5.5rem; }
.board p, .menu-item p { grid-column: 2 / span 2; margin: 0; color: var(--muted); font-size: 1rem; max-width: 52ch; }
.dietary { grid-column: 2 / span 2; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.15rem 0 0; }
.dietary li { padding: 0.1rem 0.5rem; border: 3px solid var(--ink); font: 800 0.75rem/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; display: inline-block; }
.menu-item .dietary { margin-top: 0.3rem; }

/* menu page: category tabs (CSS-only filter) */
.menu-tabs { position: sticky; top: 4.3rem; z-index: 50; background: var(--paper); border-block: var(--rule) solid var(--ink); }
.menu-tabs .wrap { display: flex; gap: 0.5rem; overflow-x: auto; padding-block: 0.6rem; scrollbar-width: none; }
.menu-tabs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.menu-tabs label { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 3px solid var(--ink); font: 400 0.9375rem var(--font-slab); text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.menu-tabs label:hover { background: var(--paper-2); }
.menu-tabs input:checked + label { background: var(--red); color: #fff9ec; border-color: var(--ink); }
.menu-tabs input:focus-visible + label { outline: 4px solid var(--blue); outline-offset: 2px; }
.menu-wrap:has(#c-fried:checked) .menu-cat:not([data-cat="fried"]),
.menu-wrap:has(#c-rolls:checked) .menu-cat:not([data-cat="rolls"]),
.menu-wrap:has(#c-soup:checked) .menu-cat:not([data-cat="soup"]),
.menu-wrap:has(#c-sides:checked) .menu-cat:not([data-cat="sides"]),
.menu-wrap:has(#c-sweets:checked) .menu-cat:not([data-cat="sweets"]),
.menu-wrap:has(#c-drinks:checked) .menu-cat:not([data-cat="drinks"]) { display: none; }
.menu-cat { padding-block: var(--s5) var(--s3); scroll-margin-top: 9rem; }
.menu-cat__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem var(--s3); margin-bottom: var(--s3); }
.menu-cat__head p { margin: 0; color: var(--muted); }
.menu-layout { display: grid; gap: var(--s4); }
@media (min-width: 960px) { .menu-layout { grid-template-columns: 1fr 340px; column-gap: var(--s6); align-items: start; } .menu-layout aside { position: sticky; top: 11rem; } }
.note { border: var(--rule) solid var(--ink); padding: var(--s3); background: var(--paper-2); }
.note p { max-width: none; margin: 0 0 0.5rem; }
.note p:last-child { margin: 0; }

/* ---------- 10. Sequence: order -> number -> table ---------- */
.steps { display: grid; gap: var(--s3); }
.ticket { position: relative; background: var(--paper); color: var(--ink); border: var(--rule) solid var(--ink); padding: var(--s3); display: grid; grid-template-columns: auto 1fr; gap: 0 var(--s3); align-items: center; }
.ticket .num { font-size: clamp(3rem, 8vw, 4.5rem); color: var(--red-text); }
.ticket h3 { margin-bottom: 0.25rem; }
.ticket p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .ticket { grid-template-columns: 1fr; gap: var(--s2); align-content: start; } }

/* hours board: three cells, one big number each (churrascaria tiers) */
.tiers { display: grid; border: var(--rule) solid var(--ink); background: var(--paper); }
.tiers > div { padding: var(--s3); border-bottom: var(--rule) solid var(--ink); }
.tiers > div:last-child { border-bottom: 0; }
.tiers h3 { font-size: 1.25rem; text-transform: uppercase; }
.tiers .num { display: block; margin-top: 0.5rem; font-size: clamp(2.5rem, 6vw, 3.75rem); color: var(--red-text); }
.tiers p { margin: 0.5rem 0 0; color: var(--muted); font-size: 1rem; }
@media (min-width: 760px) { .tiers { grid-template-columns: repeat(3, 1fr); } .tiers > div { border-bottom: 0; border-right: var(--rule) solid var(--ink); } .tiers > div:last-child { border-right: 0; } }

/* stats receipt */
.receipt { display: grid; gap: 0; border-top: var(--rule) solid currentColor; }
.receipt > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: var(--s2); padding: 0.9rem 0; border-bottom: var(--rule) solid currentColor; }
.receipt dt { font-family: var(--font-slab); font-size: clamp(1.125rem, 2.4vw, 1.5rem); text-transform: uppercase; }
.receipt dd { margin: 0; font-family: var(--font-num); font-variant-numeric: tabular-nums lining-nums; font-size: clamp(2.25rem, 6vw, 3.5rem); text-align: right; }

/* license card (health inspection / hours) */
.license { background: var(--paper); color: var(--ink); border: var(--rule) solid var(--ink); outline: 3px solid var(--ink); outline-offset: 6px; padding: var(--s3); display: grid; gap: var(--s2); }
.license__top { display: flex; justify-content: space-between; gap: var(--s2); border-bottom: var(--rule) solid var(--ink); padding-bottom: var(--s2); font: 800 0.8125rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; }
.license dl { display: grid; gap: 0.35rem; margin: 0; }
.license dl div { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s2); border-bottom: 2px dotted var(--ink); padding-bottom: 0.35rem; }
.license dt { color: var(--muted); font-size: 0.9375rem; }
.license dd { margin: 0; font-weight: 700; }
.stamp { justify-self: start; border: 4px solid var(--red-text); color: var(--red-text); padding: 0.2rem 0.8rem; font: 400 1.5rem var(--font-slab); text-transform: uppercase; }

/* neighbor tickets */
.quotes { display: grid; gap: var(--s3); }
.quote { background: var(--paper); color: var(--ink); border: var(--rule) solid var(--ink); padding: var(--s3); display: flex; flex-direction: column; }
.quote blockquote { margin: 0; font-family: var(--font-slab); font-size: 1.3125rem; line-height: 1.3; }
.quote p.who { margin: auto 0 0; padding-top: var(--s3); font-size: 1rem; }
.quote .who strong { display: block; font-family: var(--font-body); font-weight: 800; }
.quote .who span { color: var(--muted); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11. Gallery ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--s4); }
.filter input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter label { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.1rem; border: 3px solid var(--ink); font: 400 0.9375rem var(--font-slab); text-transform: uppercase; cursor: pointer; }
.filter label:hover { background: var(--paper-2); }
.filter input:checked + label { background: var(--red); color: #fff9ec; }
.filter input:focus-visible + label { outline: 4px solid var(--blue); outline-offset: 2px; }
.grid { display: grid; gap: var(--s4) var(--s3); align-items: start; grid-template-columns: 1fr; }
@media (min-width: 600px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid figure { margin: 0; }
.grid a.open { display: block; text-decoration: none; cursor: zoom-in; }
.gallery:has(#f-food:checked) figure:not([data-cat~="food"]),
.gallery:has(#f-place:checked) figure:not([data-cat~="place"]),
.gallery:has(#f-sweet:checked) figure:not([data-cat~="sweet"]) { display: none; }
.credits { margin-top: var(--s6); border-top: var(--rule) solid var(--ink); padding-top: var(--s3); }
.credits ul { display: grid; gap: 0.35rem; font-size: 0.9375rem; color: var(--muted); }
.credits p { font-size: 1rem; color: var(--muted); }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; gap: var(--s5); }
@media (min-width: 960px) { .contact-grid { grid-template-columns: repeat(12, 1fr); column-gap: var(--s4); } .contact-grid > form { grid-column: 1 / span 7; } .contact-grid > aside { grid-column: 9 / span 4; } }
.field { display: grid; gap: 0.4rem; margin-bottom: var(--s3); }
.field-row { display: grid; gap: 0 var(--s3); align-items: start; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label, .label { font-weight: 800; font-size: 1rem; }
.req { color: var(--red-text); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; min-height: 3.25rem; padding: 0.75rem 0.9rem; background: var(--paper); color: var(--ink); border: 4px solid var(--ink); border-radius: 0; font: 400 1.0625rem/1.4 var(--font-body); }
textarea { min-height: 9rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 4px solid var(--blue); outline-offset: 2px; }
@media (prefers-color-scheme: dark) { input:focus-visible, select:focus-visible, textarea:focus-visible { outline-color: var(--yellow); } }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-text); }
.error-msg { color: var(--red-text); font-weight: 800; font-size: 0.9375rem; margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: var(--s3); padding: var(--s3); border: var(--rule) solid var(--ink); background: var(--yellow); color: #15110e; }
.form-status[hidden] { display: none; }
.form-status h3 { margin-bottom: 0.4rem; }
.form-status p { margin: 0; }
.form-status--err { background: var(--red); color: #fff9ec; }
.next-step { margin: var(--s3) 0 0; color: var(--muted); font-size: 1rem; max-width: 52ch; }
.map { aspect-ratio: 4 / 3; width: 100%; border: 12px solid var(--blue); background: var(--paper-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-tel { font-family: var(--font-num); font-variant-numeric: tabular-nums; font-size: clamp(2rem, 6vw, 3rem); text-decoration: none; border-bottom: 6px solid var(--red); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem var(--s3); margin: 0; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 800; }
.hours dd { margin: 0; }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: var(--s6) var(--s4); font-size: 1rem; }
@media (prefers-color-scheme: dark) { .site-footer { background: #060f1b; color: #fff3df; } }
.site-footer a { text-underline-offset: 0.25em; text-decoration-thickness: 2px; }
.footer-awning { height: 18px; background: repeating-linear-gradient(90deg, var(--red) 0 36px, #fff9ec 36px 72px); margin-bottom: var(--s5); }
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1.25rem; color: var(--yellow); margin-bottom: var(--s2); text-transform: uppercase; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer p { max-width: 34ch; }
.site-footer .hours dt { color: #d9d2c4; font-weight: 700; }
.footer-list li + li { margin-top: 0.4rem; }
.footer-base { margin-top: var(--s5); padding-top: var(--s3); border-top: 3px solid #fff9ec; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); font-size: 0.875rem; color: #d9d2c4; }
.footer-base p { margin: 0; max-width: none; }

/* ---------- 14. 404 ---------- */
.notfound { min-height: 78vh; display: grid; align-items: center; }
.notfound .num { font-size: clamp(7rem, 30vw, 18rem); color: var(--red-text); line-height: 0.9; }
.notfound ul { margin-top: var(--s4); display: grid; border-top: var(--rule) solid var(--ink); max-width: 30rem; }
.notfound li a { display: block; padding: 0.8rem 0; border-bottom: var(--rule) solid var(--ink); font: 400 1.5rem var(--font-slab); text-transform: uppercase; text-decoration: none; }
.notfound li a:hover { color: var(--red-text); }

/* ---------- 15. Third-party lightbox ---------- */
.glightbox-clean .gslide-description { background: var(--paper); color: var(--ink); }
.glightbox-clean .gslide-title { font-family: var(--font-slab); font-weight: 400; }
.glightbox-clean .gslide-desc { color: var(--muted); }

/* ---------- 16. Motion (opt-in; content is visible by default). ALL MOTION IS HORIZONTAL ---------- */
.anim-on [data-slide], .anim-on [data-stagger] > * { opacity: 0; transform: translate3d(-28px, 0, 0); }
.anim-on .hero h1 { visibility: hidden; }
.anim-on .hero h1.is-split { visibility: visible; }
.anim-on .hero__sub, .anim-on .hero__cta, .anim-on .hero__ticket, .anim-on .facts { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .anim-on [data-slide], .anim-on [data-stagger] > * { opacity: 1 !important; transform: none !important; }
  .anim-on .hero h1 { visibility: visible !important; }
  .anim-on .hero__sub, .anim-on .hero__cta, .anim-on .hero__ticket, .anim-on .facts { opacity: 1 !important; }
}

/* no-JS: nav inline */
.no-js .nav { display: block; position: static; }
.no-js .nav ul { display: flex; flex-wrap: wrap; gap: var(--s2); }
.no-js .nav a { font-size: 1rem; border: 0; font-family: var(--font-body); font-weight: 800; }
.no-js .nav-toggle { display: none; }
.no-js .site-header { position: static; }

@media print { .site-header, .order-bar, .awning, .footer-awning { display: none; } body { padding: 0; } }

/* ---------- 17. Additions ---------- */
.hero__drift picture { width: 100%; height: 100%; }
.photo > .hero__drift { height: 100%; }
.panel--paper2 { background: var(--paper-2); }
.ticket > div { min-width: 0; }
.board li > h3 { overflow-wrap: anywhere; }
.facts [data-status] { font-family: var(--font-slab); }
.menu-cat .menu-cat__head h2 { color: inherit; }
.menu-cat:first-of-type { padding-top: var(--s4); }

@media (min-width: 1220px) { .header-phone { display: inline; } }
.brand__txt { white-space: nowrap; }

/* ---------- 18. Critic round 1 fixes ---------- */
@media (max-width: 479px) { .brand__txt small { display: none; } .brand__txt { font-size: 1.0625rem; } .order-bar a { font-size: 0.9375rem; } .site-header .wrap { gap: 0.6rem; } }
.today-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; padding: 0.55rem var(--gutter); background: var(--yellow); color: #15110e; border-bottom: var(--rule) solid var(--ink); font: 800 0.875rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; }
.today-strip a { color: inherit; font-weight: 800; }
@media (min-width: 980px) { .today-strip { display: none; } }
.trays { display: grid; gap: var(--s4) var(--s3); }
@media (min-width: 760px) { .trays { grid-template-columns: repeat(3, 1fr); } }
.trays figure { margin: 0; }
.trays .caption { display: flex; justify-content: space-between; gap: var(--s2); align-items: baseline; font-size: 1rem; color: var(--ink); }
.trays .caption strong { font-size: 1.125rem; }
.trays .caption .num { font-size: 1.5rem; color: var(--red-text); }
.tables-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .tables-row { grid-template-columns: repeat(9, 1fr); } }
.tables-row li { display: grid; place-items: center; aspect-ratio: 1.25; background: var(--red); color: #fff9ec; border: 4px solid var(--ink); font-family: var(--font-num); font-size: clamp(1.75rem, 4vw, 2.5rem); position: relative; }
.tables-row li:nth-child(3n+2) { background: var(--blue); }
.tables-row li:nth-child(3n) { background: var(--yellow); color: #15110e; }
.tables-row li::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 10%; height: 6px; background: currentColor; opacity: 0.55; }
.quotes--lead { display: grid; gap: var(--s3); }
@media (min-width: 860px) { .quotes--lead { grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; } .quotes--lead .quote:first-child { grid-row: span 2; justify-content: center; padding: var(--s5); } .quotes--lead .quote:first-child blockquote { font-size: clamp(1.75rem, 3vw, 2.5rem); } }
.menu-head-compact { padding-block: clamp(1.5rem, 4vw, 2.5rem) var(--s2); }
.menu-head-compact h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
@media (max-width: 359px) { .order-bar a { font-size: 0.8125rem; padding-inline: 0.25rem; } .brand__txt { font-size: 0.9375rem; } .brand__no { width: 2.2rem; height: 2.2rem; font-size: 1.3rem; } .nav-toggle { padding: 0 0.7rem; } }

.walkin-note { display: inline-block; margin: 0 0 var(--s3); padding: 0.4rem 0.9rem; background: var(--ink); color: var(--paper); font: 800 0.875rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: 0.06em; }
@media (prefers-color-scheme: dark) { .walkin-note { background: var(--yellow); color: #15110e; } }
.market { margin: 0 0 var(--s3); font-weight: 700; }
.market span { display: inline-block; padding: 0.1rem 0.5rem; background: var(--yellow); color: #15110e; border: 3px solid var(--ink); margin-right: 0.5rem; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- 19. ICP round 1 fixes ---------- */
@media (max-width: 699px) { .menu-tabs { position: static; } .menu-tabs .wrap { flex-wrap: wrap; overflow: visible; } .menu-tabs label { min-height: 2.5rem; padding: 0 0.7rem; font-size: 0.8125rem; } }
.glightbox-clean .gslide-description { background: var(--paper) !important; color: var(--ink) !important; border-top: 4px solid var(--ink); }
.glightbox-clean .gslide-title { font-family: var(--font-slab) !important; font-weight: 400 !important; color: var(--ink) !important; text-transform: uppercase; }
.glightbox-clean .gslide-desc { color: var(--muted) !important; }

/* ---------- Demo-site notice bar (static, above the header) ---------- */
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.1rem 0.9rem; padding: 0.45rem var(--gutter); background: var(--yellow); color: #15110e; border-bottom: var(--rule) solid var(--ink); font: 700 0.875rem/1.3 var(--font-body); text-align: center; }
.demo-bar strong { font-family: var(--font-slab); font-weight: 400; text-transform: uppercase; letter-spacing: 0.04em; }
.demo-bar a { color: inherit; font-weight: 800; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
.demo-bar a:focus-visible { outline: 4px solid #15110e; outline-offset: 2px; }
@media (max-width: 479px) { .demo-bar { font-size: 0.8125rem; } }
@media print { .demo-bar { display: none; } }
