/* Westside Diner preview. One stylesheet; no inline styles anywhere (the CSP has no
   'unsafe-inline'). Colours are OKLCH; the film stage's colour is set from film.js through
   the --stage-bg / --glow custom properties and the .tone-dark class on .film and the header.
   Preference blocks stay LAST. */

@font-face { font-family: "Yellowtail"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/yellowtail-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: "Big Shoulders Display"; font-style: normal; font-weight: 700 900; font-display: swap;
  src: url(/fonts/bigshoulders-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: "Source Serif 4"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/sourceserif4-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: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(/fonts/sourceserif4-italic-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; }

:root {
  --ink: oklch(0.19 0.025 20);
  --night: oklch(0.16 0.03 345);
  --vinyl: oklch(0.47 0.18 24);
  --vinyl-deep: oklch(0.36 0.14 22);
  --cherry: oklch(0.50 0.19 25);
  --steel: oklch(0.92 0.014 230);
  --formica: oklch(0.965 0.004 230);
  --mint: oklch(0.88 0.07 168);
  --mint-ink: oklch(0.36 0.07 168);
  --neon: oklch(0.74 0.22 352);
  --neon-mint: oklch(0.88 0.15 165);
  --chrome: oklch(0.80 0.008 240);
  --muted: oklch(0.42 0.02 240);
  --white: oklch(1 0 0);

  --f-script: "Yellowtail", "Brush Script MT", cursive;
  --f-sign: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", sans-serif;
  --f-text: "Source Serif 4", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --head-h: 64px;
  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --stage-bg: var(--steel);
  --stage-ink: var(--ink);
  --glow: 0;

  --z-film: 1; --z-check: 2; --z-chrome: 3; --z-header: 20; --z-dock: 21; --z-toast: 30;
}
.tone-dark { --stage-ink: var(--formica); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0; background: var(--ink); color: var(--ink);
  font: 400 1.125rem/1.55 var(--f-text);
  font-optical-sizing: auto;
  -webkit-tap-highlight-color: transparent;
}
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 50; padding: .7rem 1rem;
  background: var(--formica); color: var(--ink); border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--neon); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px;
  padding: .7rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  font: 800 1.05rem/1.1 var(--f-sign); letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: transform .25s var(--ease), background-color .25s, color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-solid { background: var(--cherry); color: var(--white); }
.btn-solid:hover { background: var(--vinyl-deep); }
.btn-line { border-color: currentColor; background: transparent; }
.btn-line:hover { background: color-mix(in oklch, currentColor 10%, transparent); }
.btn-ghost { background: transparent; text-decoration: underline; text-underline-offset: .2em; padding-inline: .5rem; }
.btn-light { background: var(--formica); color: var(--vinyl-deep); }
.btn-light:hover { background: var(--white); }
.btn-outline-light { border-color: var(--formica); color: var(--formica); }
.btn-outline-light:hover { background: color-mix(in oklch, var(--formica) 14%, transparent); }
.btn-sub { font-weight: 700; letter-spacing: .02em; opacity: .9; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.add-chip {
  --chip: var(--stage-ink); --chip-on: var(--stage-bg);
  display: inline-flex; align-items: center; gap: .55em; min-height: 44px; padding: .5rem 1rem .5rem .6rem;
  border: 2px dashed var(--chip); border-radius: 12px; background: transparent; color: var(--chip);
  font: 700 1rem/1.2 var(--f-text); transition: background-color .2s;
}
.add-chip::before {
  content: "+"; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%;
  background: var(--chip); color: var(--chip-on); font: 900 1.1rem/1 var(--f-sign);
}
.add-chip:hover { background: color-mix(in srgb, var(--chip) 10%, transparent); }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--head-h);
  display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem);
  padding: env(safe-area-inset-top) var(--gutter) 0;
  color: var(--stage-ink); transition: color .5s, background-color .5s;
}
html.past-film .top { background: color-mix(in oklch, var(--ink) 96%, transparent); color: var(--formica); }
.brand { display: inline-flex; align-items: baseline; gap: .35rem; text-decoration: none; line-height: 1; }
.brand-script { font: 400 1.85rem/1 var(--f-script); color: var(--cherry); }
.top.tone-dark .brand-script { color: oklch(0.96 0.04 350); }
html.past-film .top .brand-script { color: var(--neon); }
.brand-block { font: 900 1rem/1 var(--f-sign); letter-spacing: .3em; text-transform: uppercase; }
.now { display: inline-flex; align-items: center; gap: .45rem; font: 700 .95rem/1 var(--f-sign); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.now-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 3px color-mix(in oklch, var(--neon) 30%, transparent); }
.top-nav { margin-left: auto; display: flex; gap: 1.4rem; font: 800 1.05rem/1 var(--f-sign); letter-spacing: .08em; text-transform: uppercase; }
.top-nav a { text-decoration: none; padding: .6rem 0; }
.top-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.top-call { background: var(--cherry); color: var(--white); min-height: 42px; padding: .5rem 1rem; }
.top.tone-dark .top-call { box-shadow: 0 0 0 2px var(--formica); }

/* ---------- the film ---------- */
.film { position: relative; background: var(--stage-bg); }
.stage {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(2rem, 5vw, 6rem); padding: calc(var(--head-h) + 1.5rem) var(--gutter) 2rem;
  background: var(--stage-bg); color: var(--stage-ink);
}
.film.is-live { height: 700vh; }
.film.is-live .stage { position: sticky; top: 0; height: 100vh; height: 100svh; }

/* quilted steel by day, neon by night: two layers whose strength film.js sets */
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: calc(1 - var(--glow));
  background:
    repeating-linear-gradient(45deg, color-mix(in oklch, var(--white) 55%, transparent) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(-45deg, color-mix(in oklch, var(--chrome) 70%, transparent) 0 1px, transparent 1px 34px);
  mask-image: linear-gradient(90deg, #000 0%, transparent 62%);
}
.glow {
  position: absolute; inset: 0; pointer-events: none; opacity: var(--glow);
  background:
    radial-gradient(60% 50% at 82% 18%, color-mix(in oklch, var(--neon) 34%, transparent), transparent 70%),
    radial-gradient(50% 45% at 18% 85%, color-mix(in oklch, var(--neon-mint) 16%, transparent), transparent 70%);
}

.copy { position: relative; z-index: var(--z-chrome); max-width: 36rem; display: grid; gap: clamp(1.25rem, 3vh, 2.25rem); align-content: center; }
.sign { display: flex; flex-direction: column; line-height: .9; }
.sign-script {
  font: 400 clamp(4rem, 8.4vw, 6rem)/1 var(--f-script); color: var(--cherry);
  margin-left: -.05em; padding-right: .15em; transform: rotate(-4deg); transform-origin: left bottom;
  text-shadow: 0 0 calc(var(--glow) * 22px) color-mix(in oklch, var(--neon) 80%, transparent);
}
.tone-dark .sign-script { color: oklch(0.96 0.04 350); }
.sign-block {
  margin-top: .35em; font: 900 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--f-sign); letter-spacing: .42em;
  text-transform: uppercase; padding-left: .2em;
}

.beats { display: grid; }
.beats > .beat { grid-area: 1 / 1; display: grid; gap: 1rem; align-content: start; }
.beat h2 { font: 900 clamp(2.4rem, 4.6vw, 4.25rem)/.95 var(--f-sign); text-transform: uppercase; letter-spacing: .005em; }
.beat p { max-width: 32rem; font-size: clamp(1.05rem, 1.3vw, 1.2rem); }
.when { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1 var(--f-script); color: var(--cherry); }
.tone-dark .when { color: var(--neon-mint); }
.lede { font-size: clamp(1.15rem, 1.55vw, 1.4rem) !important; line-height: 1.45; }
.aside-note { font-style: italic; color: var(--stage-ink); }
.cue { display: flex; align-items: center; gap: .6rem; font: 700 .95rem/1 var(--f-sign); letter-spacing: .1em; text-transform: uppercase; }
.cue span { font: 400 1.5rem/1 var(--f-script); text-transform: none; letter-spacing: 0; color: var(--cherry); }
.cue::after { content: ""; width: 2px; height: 2.2rem; background: linear-gradient(currentColor, transparent); animation: drip 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1) translateY(30%); } }

.chapters { display: flex; flex-wrap: wrap; gap: .4rem; }
.chapters button {
  min-height: 40px; padding: .35rem .85rem; border-radius: 999px; border: 1.5px solid color-mix(in oklch, currentColor 45%, transparent);
  background: transparent; font: 700 .95rem/1 var(--f-sign); letter-spacing: .06em; text-transform: uppercase;
}
.chapters button.on { background: var(--stage-ink); color: var(--stage-bg); border-color: var(--stage-ink); }

/* the window: chrome table-edge ribs around a 3:4 picture */
.bezel {
  position: relative; z-index: var(--z-film); justify-self: center; padding: 11px; border-radius: 34px;
  background: repeating-linear-gradient(180deg, oklch(0.93 0.005 240) 0 2px, oklch(0.62 0.01 240) 2px 3px, oklch(0.86 0.006 240) 3px 5px);
  box-shadow: 0 30px 60px -20px oklch(0.15 0.03 20 / .55), 0 0 0 1px oklch(0.5 0.01 240 / .5);
}
.window {
  position: relative; overflow: hidden; border-radius: 24px; background: var(--ink);
  height: min(calc(100svh - var(--head-h) - 4.5rem), 900px); aspect-ratio: 3 / 4;
}
.film-poster, .film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film.has-frame .film-poster { visibility: hidden; }

.check {
  position: absolute; inset: -3% -4%; z-index: var(--z-check); visibility: hidden;
  padding: 104px 12% 8%; display: flex; flex-direction: column; gap: .6rem;
  background:
    repeating-linear-gradient(180deg, transparent 0 2.4rem, color-mix(in oklch, var(--mint-ink) 22%, transparent) 2.4rem calc(2.4rem + 1px)),
    var(--mint);
  color: var(--mint-ink); box-shadow: 0 0 60px oklch(0.15 0.03 20 / .45);
  transform: translateY(110%);
}
.check-head { display: flex; justify-content: space-between; gap: 1rem; font: 900 1rem/1 var(--f-sign); letter-spacing: .14em; text-transform: uppercase; border-bottom: 2px solid currentColor; padding-bottom: .55rem; }
.check-no { font: 700 .95rem/1 var(--f-sign); letter-spacing: .1em; text-transform: uppercase; color: var(--cherry); }
.check-lines { display: grid; gap: .1rem; margin-top: .6rem; }
.check-lines li { font: 400 clamp(1.5rem, 2.3vw, 2.1rem)/2.4rem var(--f-script); color: var(--ink); }
.check-lines li.done { color: var(--mint-ink); text-decoration: line-through; text-decoration-thickness: 2px; }
.check-foot { margin-top: auto; font: 400 1.6rem/1 var(--f-script); color: var(--cherry); text-align: center; }

.dayclock {
  position: absolute; z-index: var(--z-chrome); top: 14px; left: 14px; display: flex; align-items: center; gap: .55rem;
  padding: 5px 14px 5px 5px; border-radius: 999px; background: oklch(0.17 0.025 20 / .72); color: var(--formica);
  backdrop-filter: blur(6px);
}
.dc-rim { fill: oklch(0.85 0.006 240); }
.dc-neon { fill: none; stroke: var(--neon); stroke-width: 3; }
.dc-face { fill: var(--ink); }
.dc-ticks path { stroke: var(--formica); stroke-width: 2.4; stroke-linecap: round; }
.dc-hour, .dc-min { stroke: var(--formica); stroke-linecap: round; transform-origin: 32px 32px; }
.dc-hour { stroke-width: 3.6; }
.dc-min { stroke-width: 2.2; }
.dc-pin { fill: var(--neon); }
.dc-label { font: 400 1.45rem/1 var(--f-script); }

/* reduced motion / no JavaScript: the day as five stills */
.still-day { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 40%), 1fr)); gap: 1.25rem; padding: 2rem var(--gutter) 4rem; background: var(--stage-bg); color: var(--stage-ink); }
.still-day img { border-radius: 16px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.still-day p { margin-top: .6rem; font-size: 1rem; }
.film.is-live .still-day { display: none; }
.film:not(.is-live) .beat:not(.beat-hero), .film:not(.is-live) .chapters, .film:not(.is-live) .check, .film:not(.is-live) .dayclock { display: none; }

/* ---------- the room ---------- */
.room { background: var(--night); color: var(--formica); padding: clamp(4rem, 10vw, 8rem) var(--gutter); position: relative; overflow: hidden; }
.room::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 55% at 85% 20%, color-mix(in oklch, var(--neon) 22%, transparent), transparent 70%); }
.room-inner { position: relative; max-width: 72rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.room-photo img { width: 100%; border-radius: 22px; box-shadow: 0 0 0 10px oklch(0.24 0.04 350), 0 0 70px color-mix(in oklch, var(--neon) 30%, transparent); }
.room-photo figcaption { margin-top: 1.1rem; font-size: .95rem; font-style: italic; color: oklch(0.86 0.02 340); }
.room h2 { font: 900 clamp(2.6rem, 6vw, 5rem)/.92 var(--f-sign); text-transform: uppercase; }
.room h2::first-line { color: var(--neon); }
.room-copy > p { margin-top: 1.4rem; max-width: 34rem; color: oklch(0.9 0.01 340); }
.facts { margin-top: 2rem; display: grid; gap: .25rem; border-top: 1px solid oklch(0.4 0.05 350); }
.facts li { padding: .9rem 0; border-bottom: 1px solid oklch(0.4 0.05 350); font-size: 1.1rem; }
.fact-k { display: inline-block; min-width: 7.5rem; font: 800 1.1rem/1 var(--f-sign); letter-spacing: .1em; text-transform: uppercase; color: var(--neon-mint); }

/* ---------- the menu ---------- */
.menu { background: var(--formica); color: var(--ink); padding: clamp(4rem, 9vw, 7rem) var(--gutter); }
.menu-head, .menu-body { max-width: 76rem; margin-inline: auto; }
.menu-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.menu h2 { font: 900 clamp(3rem, 8vw, 6rem)/.85 var(--f-sign); text-transform: uppercase; color: var(--cherry); }
.menu-lede { max-width: 30rem; font-size: 1.15rem; }
.plus-glyph { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--cherry); color: var(--white); font: 900 1rem/1 var(--f-sign); vertical-align: .05em; }
.menu-tools { display: grid; gap: 1rem; position: sticky; top: var(--head-h); z-index: 5; background: var(--formica); padding: .75rem 0; margin-bottom: 2rem; border-bottom: 2px solid var(--ink); }
.search { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.search-label { font: 800 1.05rem/1 var(--f-sign); letter-spacing: .08em; text-transform: uppercase; }
.search input {
  flex: 1 1 16rem; min-height: 48px; padding: .6rem 1rem; border: 2px solid var(--ink); border-radius: 12px;
  background: var(--white); color: var(--ink);
}
.search input::placeholder { color: var(--muted); opacity: 1; }
.cats { display: flex; flex-wrap: wrap; gap: .45rem; }
.cats button {
  flex: 0 0 auto; min-height: 44px; padding: .45rem 1rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--white); color: var(--ink); font: 800 1rem/1 var(--f-sign); letter-spacing: .06em; text-transform: uppercase;
}
.cats button[aria-pressed="true"] { background: var(--ink); color: var(--formica); }

.menu-body { margin-top: 2.5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.cat + .cat { margin-top: 3rem; }
.cat h3 { font: 900 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--f-sign); text-transform: uppercase; }
.cat-note { margin-top: .4rem; font-style: italic; color: var(--muted); }
.dishes { margin-top: 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); column-gap: 2.5rem; }
.dish { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: .95rem 0; border-bottom: 1px dashed oklch(0.7 0.01 240); }
.dish h4 { font: 600 1.08rem/1.25 var(--f-text); font-variant-caps: small-caps; letter-spacing: .02em; }
.dish p { margin-top: .25rem; font-size: .98rem; line-height: 1.45; color: oklch(0.33 0.015 240); }
.add {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--cherry);
  background: var(--white); color: var(--cherry); font: 900 1.5rem/1 var(--f-sign);
  transition: background-color .2s, color .2s, transform .2s var(--ease);
}
.add:hover { background: var(--cherry); color: var(--white); }
.add.added { background: var(--cherry); color: var(--white); transform: rotate(90deg); }
.menu-empty { padding: 1.5rem 0; font-style: italic; }
.menu-note { margin-top: 2.5rem; font-size: .95rem; font-style: italic; color: var(--muted); }

.ticket { position: sticky; top: calc(var(--head-h) + 1.5rem); }
.ticket-paper {
  padding: 1.4rem 1.4rem 1.2rem; border-radius: 6px; color: var(--mint-ink);
  background: repeating-linear-gradient(180deg, transparent 0 2.2rem, color-mix(in oklch, var(--mint-ink) 18%, transparent) 2.2rem calc(2.2rem + 1px)), var(--mint);
  box-shadow: 0 18px 40px -18px oklch(0.2 0.03 20 / .45);
  transform: rotate(.6deg);
}
.ticket h3 { margin-top: .9rem; font: 900 1.6rem/1 var(--f-sign); text-transform: uppercase; color: var(--ink); }
.ticket-empty { margin-top: .7rem; font-style: italic; }
.ticket-lines { margin-top: .6rem; display: grid; }
.ticket-lines li { display: flex; align-items: center; gap: .5rem; padding: .3rem 0; border-bottom: 1px solid color-mix(in oklch, var(--mint-ink) 25%, transparent); }
.t-name { flex: 1; font: 400 1.45rem/1.15 var(--f-script); color: var(--ink); }
.t-qty { min-width: 1.6rem; text-align: center; font: 900 1.2rem/1 var(--f-sign); color: var(--ink); }
.t-step { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--mint-ink); background: transparent; color: var(--mint-ink); font: 900 1.15rem/1 var(--f-sign); }
.t-step:hover { background: var(--mint-ink); color: var(--mint); }
.ticket-note { display: grid; gap: .35rem; margin-top: 1rem; font: 800 .95rem/1 var(--f-sign); letter-spacing: .08em; text-transform: uppercase; }
.ticket-note textarea { resize: vertical; min-height: 3.5rem; padding: .55rem .7rem; border: 2px solid var(--mint-ink); border-radius: 8px; background: color-mix(in srgb, var(--white) 70%, var(--mint)); color: var(--ink); font: 400 1rem/1.4 var(--f-text); letter-spacing: 0; text-transform: none; }
.ticket-note textarea::placeholder { color: var(--mint-ink); opacity: 1; }
.ticket-actions { margin-top: 1rem; display: grid; gap: .55rem; }
.ticket-actions .btn { width: 100%; font-size: .98rem; }
.ticket-actions .btn-line { color: var(--ink); }
.ticket-actions .btn-ghost { color: var(--mint-ink); min-height: 44px; }
.ticket-fine { margin-top: .6rem; font-size: .88rem; font-style: italic; }

/* ---------- visit ---------- */
.visit {
  color: var(--formica); padding: clamp(4rem, 10vw, 8rem) var(--gutter);
  background:
    repeating-linear-gradient(90deg, oklch(0 0 0 / .14) 0 2px, transparent 2px 7px, oklch(1 0 0 / .05) 7px 9px, transparent 9px 64px),
    linear-gradient(180deg, var(--vinyl), var(--vinyl-deep));
}
.visit-inner { max-width: 76rem; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); }
.visit h2 { font: 400 clamp(2.6rem, 5.5vw, 4.4rem)/1 var(--f-script); color: var(--formica); }
.address { margin: 1.2rem 0 2rem; font: 900 clamp(2.2rem, 4.6vw, 4.2rem)/.95 var(--f-sign); text-transform: uppercase; letter-spacing: .01em; }
.clockcard { align-self: start; padding: 1.6rem; border-radius: 22px; background: var(--night); box-shadow: inset 0 0 0 2px color-mix(in oklch, var(--neon) 55%, transparent), 0 0 40px color-mix(in oklch, var(--neon) 22%, transparent); }
.clock-time { font: 900 clamp(1.8rem, 3vw, 2.4rem)/1.05 var(--f-sign); text-transform: uppercase; color: var(--neon-mint); }
.clock-hours { margin-top: .8rem; font-size: 1.1rem; }
.clock-hours a { color: var(--neon); font-weight: 700; }
.clock-tip { margin-top: .8rem; color: oklch(0.9 0.01 340); }
.clockcard .add-chip { --chip: var(--formica); --chip-on: var(--night); margin-top: 1rem; }
.visit-notes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem 2.5rem; padding-top: 2rem; border-top: 2px solid oklch(1 0 0 / .35); }
.visit-notes li { font-size: 1.02rem; }
.visit-notes strong { display: block; font: 800 1.15rem/1.2 var(--f-sign); letter-spacing: .08em; text-transform: uppercase; }
.visit-notes a { color: var(--white); text-underline-offset: .18em; }
.when-posted { font-style: italic; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--formica); padding: 3rem var(--gutter) calc(3rem + env(safe-area-inset-bottom)); display: grid; gap: .6rem; text-align: center; }
.disc { font: 800 1.1rem/1.3 var(--f-sign); letter-spacing: .06em; text-transform: uppercase; }
.credit a { color: var(--neon); font-weight: 700; text-underline-offset: .2em; }
.fine { max-width: 44rem; margin-inline: auto; font-size: .92rem; color: oklch(0.84 0.01 20); }

/* film.js paints a copy of the lower sections here for a few frames at load, so their shaders compile
   while the hero is still; every copy is stacked at the top so its first screen is rasterised */
.paint-warm { position: fixed; inset: 0; z-index: var(--z-toast); overflow: hidden; opacity: .004; pointer-events: none; }
.paint-warm > * { position: absolute; inset: 0 0 auto 0; }

/* ---------- phone dock + toast ---------- */
.dock { display: none; }
.toast {
  position: fixed; left: 50%; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: var(--z-toast);
  translate: -50% 0; max-width: min(92vw, 28rem); padding: .75rem 1.1rem; border-radius: 14px;
  background: var(--ink); color: var(--formica); font-size: 1rem; box-shadow: 0 10px 30px oklch(0.1 0.02 20 / .5);
  visibility: hidden;
}
.toast.show { visibility: visible; }
.toast a { color: var(--neon); font-weight: 700; }
.toast-btn { min-height: 32px; padding: .15rem .35rem; border: 0; background: none; color: var(--neon); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- breakpoints ---------- */
@media (max-width: 1100px) {
  .now-where { display: none; }
}

@media (max-width: 860px) {
  :root { --head-h: 56px; --gutter: 1.15rem; }
  body { font-size: 1.0625rem; }
  .top { gap: .6rem; background: color-mix(in oklch, var(--ink) 96%, transparent); color: var(--formica); }
  .brand-script { font-size: 1.6rem; color: var(--neon); }
  .brand-block { font-size: .85rem; letter-spacing: .24em; }
  .now { font-size: .85rem; }
  .top-call, .top-nav { display: none; }
  .now-where { display: inline; }

  .stage { display: flex; flex-direction: column; gap: 0; padding: var(--head-h) 0 0; align-items: stretch; }
  .film.is-live { height: 620vh; }
  .bezel { order: 1; flex: 1 1 auto; min-height: 0; padding: 0 0 6px; border-radius: 0; box-shadow: none; }
  .window { height: 100%; min-height: 46svh; width: 100%; aspect-ratio: auto; border-radius: 0; }
  .film:not(.is-live) .window { aspect-ratio: 3 / 4; height: auto; }
  .copy { order: 2; max-width: none; gap: .75rem; padding: 1rem var(--gutter) calc(76px + env(safe-area-inset-bottom)); }
  .sign { flex-direction: row; align-items: baseline; gap: .6rem; }
  .sign-script { font-size: 2.6rem; transform: rotate(-3deg); }
  .sign-block { margin: 0; font-size: 1.05rem; letter-spacing: .3em; }
  html:not(.past-film) .top .brand { display: none; }
  .now { margin-left: 0; }
  .beat h2 { font-size: 2rem; }
  .beat p { font-size: 1rem; }
  .beat .cta-row, .aside-note, .chapters { display: none; }
  .when { font-size: 1.7rem; }
  .lede { font-size: 1.08rem !important; }
  .cue { font-size: .85rem; }
  .dayclock { top: 10px; left: 10px; }
  .dayclock svg { width: 44px; height: 44px; }
  .dc-label { font-size: 1.25rem; }
  .check { padding: 84px 10% 9%; }

  .room-inner, .visit-inner, .menu-head { grid-template-columns: 1fr; }
  .menu-body { grid-template-columns: 1fr; }
  .ticket { position: static; }
  .ticket-paper { transform: none; }
  .menu-tools { gap: .6rem; padding: .6rem 0; margin-bottom: 1.25rem; }
  .search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .dishes { grid-template-columns: 1fr; }

  .dock {
    position: fixed; inset: auto 0 0 0; z-index: var(--z-dock); display: grid; grid-template-columns: repeat(3, 1fr);
    padding: 0 0 env(safe-area-inset-bottom); background: var(--ink); border-top: 2px solid var(--cherry);
  }
  .dock a {
    display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 60px;
    color: var(--formica); text-decoration: none; font: 800 1.05rem/1 var(--f-sign); letter-spacing: .08em; text-transform: uppercase;
  }
  .dock a:first-child { background: var(--cherry); color: var(--white); }
  .dock-count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .35rem; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: .95rem; letter-spacing: 0; }
  .foot { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* phones on their side: window beside the copy, both between the header and the dock */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 520px) {
  .stage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.25rem; align-items: center;
    padding: calc(var(--head-h) + .5rem) var(--gutter) calc(68px + env(safe-area-inset-bottom)); }
  .bezel { order: 0; padding: 0; border-radius: 14px; }
  .window { height: calc(100svh - var(--head-h) - 84px); min-height: 0; width: auto; aspect-ratio: 3 / 4; border-radius: 14px; }
  .copy { order: 2; padding: 0; gap: .35rem; }
  .sign-script { font-size: 1.9rem; }
  .sign-block { font-size: .85rem; }
  .when { font-size: 1.3rem; }
  .beat { gap: .4rem; }
  .beat h2 { font-size: 1.5rem; }
  .beat p, .lede { font-size: .92rem !important; line-height: 1.35; }
  .cue { display: none; }
  .dayclock { top: 6px; left: 6px; padding-right: 10px; }
  .dayclock svg { width: 34px; height: 34px; }
  .dc-label { font-size: 1.05rem; }
  .check { padding: 60px 8% 6%; }
  .check-lines li { font-size: 1.1rem; line-height: 1.6rem; }
}

/* preference blocks: last, so no breakpoint above can override them */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .film.is-live { height: auto; }
}
