/* Lacy's v2, "Open Till 3". One file: fonts, tokens, time-of-night modes, then components in page order.
   Strategy: 16_Lacys_Website_Strategy/ (NEW_CREATIVE_DIRECTION §4 and §6, IMPLEMENTATION §3 and §10).
   Rules: only transform, opacity and clip-path animate; prices, hours and the address never animate. */

/* ---------- Fonts (self-hosted, font-display: swap; only Anybody is preloaded) ---------- */
@font-face { font-family: 'Anybody'; src: url(../fonts/anybody-var.woff2) format('woff2'); font-weight: 400 900; font-stretch: 50% 150%; font-display: swap; }
@font-face { font-family: 'Lacys Mono'; src: url(../fonts/plex-mono-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lacys Mono'; src: url(../fonts/plex-mono-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url(../fonts/instrument-serif-400i.woff2) format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url(../fonts/satoshi-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url(../fonts/satoshi-700.woff2) format('woff2'); font-weight: 700; font-display: swap; }
/* Metric-matched fallbacks (fontTools), so the swap barely moves text */
@font-face { font-family: 'Anybody Fallback'; src: local('Arial'), local('ArialMT'); size-adjust: 98.6%; ascent-override: 80.7%; descent-override: 24.4%; line-gap-override: 0%; }
@font-face { font-family: 'Lacys Mono Fallback'; src: local('Courier New'), local('CourierNewPSMT'); size-adjust: 100%; ascent-override: 102.5%; descent-override: 27.5%; line-gap-override: 0%; }
@font-face { font-family: 'Satoshi Fallback'; src: local('Arial'), local('ArialMT'); size-adjust: 99%; ascent-override: 101.9%; descent-override: 24.2%; line-gap-override: 10.1%; }
@font-face { font-family: 'Serif Fallback'; src: local('Georgia Italic'), local('Georgia-Italic'), local('Georgia'); font-style: italic; size-adjust: 88%; ascent-override: 112%; descent-override: 35%; }

:root {
  --f-display: 'Anybody', 'Anybody Fallback', sans-serif;
  --f-text: 'Satoshi', 'Satoshi Fallback', system-ui, sans-serif;
  --f-serif: 'Instrument Serif', 'Serif Fallback', Georgia, serif;
  --f-mono: 'Lacys Mono', 'Lacys Mono Fallback', ui-monospace, Consolas, monospace;

  --char: #1D1714; --night: #110B08; --grill: #2A211C; --ember: #FF6B1F; --sign: #F5AE5D;
  --oxblood: #6E1F1A; --booth: #500B07; --cheese: #F6B51E; --cream: #F4EADF; --steel: #BFB8B0; --neon: #4FA3FF;

  /* time-of-night tokens (overridden per [data-mode] below) */
  --bg: var(--char); --num: var(--sign); --status: var(--cream); --dot: var(--ember);

  /* motion tokens: CSS and GSAP names match (site.js EASE / DUR) */
  --dur-xs: 120ms; --dur-s: 240ms; --dur-m: 600ms; --dur-l: 900ms;
  --ease-sear: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-press: cubic-bezier(0.32, 0, 0.67, 0);
  --ease-jiggle: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-melt: cubic-bezier(0.37, 0, 0.63, 1);

  --pad: clamp(20px, 4.4vw, 72px);
  --hh: 72px;
  --dock: 0px;
  --sec: clamp(96px, 13vw, 200px);
}
:root[data-mode=late]   { --bg: var(--night); --num: var(--cream); }
:root[data-mode=last]   { --bg: var(--night); --num: var(--neon); --status: var(--neon); --dot: var(--neon); }
:root[data-mode=after]  { --bg: var(--night); --dot: var(--steel); }
:root[data-mode=before] { --dot: var(--steel); }

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--hh); -webkit-text-size-adjust: 100%; background: var(--bg); transition: background-color var(--dur-l) var(--ease-melt); }
body {
  margin: 0; background: var(--bg); color: var(--cream); font: 400 17px/1.6 var(--f-text);
  overflow-x: clip; padding-bottom: var(--dock); transition: background-color var(--dur-l) var(--ease-melt);
}
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button { font: inherit; color: inherit; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.mono { font-family: var(--f-mono); font-weight: 500; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 300; background: var(--cheese); color: var(--char); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Mode-specific copy: one span per state, shown by data-mode (and data-closed on closed days). No JS: "none". */
.m { display: none; }
:root:not([data-mode]) .m[data-m~=none], :root[data-mode=open] .m[data-m~=open], :root[data-mode=late] .m[data-m~=late],
:root[data-mode=last] .m[data-m~=last], :root[data-mode=before] .m[data-m~=before], :root[data-mode=after] .m[data-m~=after] { display: revert; }
:root[data-closed] .m:not([data-m~=closed]) { display: none; }
:root[data-closed] .m[data-m~=closed] { display: revert; }

/* ---------- Shared type ---------- */
.eyebrow { font: 500 13px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); display: flex; gap: 12px; align-items: baseline; }
.eyebrow .mono { color: var(--ember); }
.poster {
  font: 800 min(15vw, 232px)/.8 var(--f-display); font-stretch: 60%; text-transform: uppercase; letter-spacing: -.01em;
  text-wrap: balance;
}
.poster em { font-size: .62em; line-height: 1; color: var(--num); margin-left: .04em; transition: color var(--dur-l) var(--ease-melt); }
.price { font: 700 24px/1 var(--f-display); font-stretch: 80%; color: var(--cheese); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid currentColor; background: none; color: var(--cream); text-decoration: none; cursor: pointer;
  font: 700 14px/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; overflow: hidden; isolation: isolate;
  transition: color var(--dur-xs) linear, border-color var(--dur-xs) linear, transform var(--dur-xs) var(--ease-sear);
}
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 15px; }
.btn-line { border-color: rgb(244 234 223 / .5); }
.btn-line:hover { border-color: var(--cream); background: rgb(244 234 223 / .08); }
/* P2-12: the money buttons. The pill fills from the bottom and the label slides up to its twin. */
.btn-order { background: var(--ember); border-color: var(--ember); color: var(--char); }
.btn-order::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sign); transform: translateY(101%); transition: transform var(--dur-s) var(--ease-sear); }
.btn-order > span { display: block; position: relative; transition: transform var(--dur-s) var(--ease-sear); }
.btn-order > span[data-label]::after { content: attr(data-label); position: absolute; left: 0; right: 0; top: 3em; text-align: center; white-space: nowrap; }
@media (hover: hover) {
  .btn-order:hover::before { transform: none; }
  .btn-order:hover > span[data-label] { transform: translateY(-3em); }
}
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%;
  border: 1.5px solid rgb(244 234 223 / .3); background: none; cursor: pointer; transition: border-color var(--dur-xs) linear;
}
.icon-btn:hover { border-color: var(--cream); }
.tip {
  position: absolute; top: calc(100% + 8px); right: 0; white-space: nowrap; pointer-events: none; background: var(--cream); color: var(--char);
  font: 700 12px/1 var(--f-text); padding: 6px 10px; border-radius: 6px; opacity: 0; transition: opacity var(--dur-xs) linear;
}
.icon-btn:hover .tip, .icon-btn:focus-visible .tip { opacity: 1; }
.motion-icon { width: 12px; height: 12px; background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px); }
.motion-toggle[aria-pressed="true"] .motion-icon { background: currentColor; clip-path: polygon(15% 0, 100% 50%, 15% 100%); }
.bars, .bars::before { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.bars { position: relative; top: -3px; }
.bars::before { content: ""; position: absolute; top: 6px; width: 12px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.chip-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot) 22%, transparent); transition: background-color var(--dur-l) var(--ease-melt); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hh); display: flex; align-items: center; gap: 14px;
  padding-inline: var(--pad); view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgb(17 11 8 / .78), rgb(17 11 8 / 0));
  transition: opacity var(--dur-m) linear;
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; background: color-mix(in srgb, var(--bg) 94%, transparent);
  box-shadow: 0 1px 0 rgb(191 184 176 / .12); transition: opacity var(--dur-m) linear;
}
.site-header.is-compact::after { opacity: 1; }
.mark { display: block; color: var(--cream); flex: none; padding: 6px 0; }
.mark svg { height: 34px; width: auto; aspect-ratio: 2053 / 965; overflow: visible; }
/* P2-12: the wordmark flickers once, like a neon tube, on hover */
@media (hover: hover) { .motion .mark:hover svg { animation: flicker 700ms steps(1) 1; } }
@keyframes flicker { 0%, 100% { opacity: 1; } 10% { opacity: .35; } 18% { opacity: 1; } 26% { opacity: .5; } 34% { opacity: 1; } 60% { opacity: .8; } }
.chip {
  display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 14px 0 12px; margin-left: 10px; border-radius: 999px; text-decoration: none;
  background: rgb(42 33 28 / .66); box-shadow: inset 0 0 0 1px rgb(191 184 176 / .16); font: 400 13px/1 var(--f-mono); color: var(--status);
  white-space: nowrap; min-width: 0; transition: color var(--dur-l) var(--ease-melt);
}
.chip-city, .chip-clock { color: var(--steel); }
.chip-mode { text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.site-nav { display: flex; gap: 6px; margin-left: auto; }
.site-nav a { padding: 12px 12px; text-decoration: none; font-weight: 700; font-size: 15px; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-s) var(--ease-sear); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: none; }

/* ---------- 1. Tonight ---------- */
/* The loop fills the first screen; the copy sits bottom left, where the footage is already dark */
.tonight {
  position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--hh) + 24px) var(--pad) clamp(48px, 11svh, 120px);
}
.pass { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
.pass > picture, .pass > video { position: absolute; inset: 0; }
.pass img, .pass video { width: 100%; height: 100%; object-fit: cover; }
.pass-video { opacity: 0; transition: opacity var(--dur-l) var(--ease-melt); }
.pass-video.is-playing { opacity: 1; }
.pass-store { display: none; opacity: 0; transition: opacity var(--dur-l) var(--ease-melt); object-position: 50% 30%; }
:root[data-mode=before] .pass-store-lit, :root[data-mode=after] .pass-store-off { display: block; animation: fade-in var(--dur-l) var(--ease-melt) forwards; }
/* closed all day (Monday): the sign is off, whatever the hour */
:root[data-closed] .pass-store-lit { display: none; }
:root[data-closed] .pass-store-off { display: block; animation: fade-in var(--dur-l) var(--ease-melt) forwards; }
@keyframes fade-in { to { opacity: 1; } }
.pass::after { /* dark only where the type sits (left and bottom), and the header's strip; the bottom melts into The Smash */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(17 11 8 / .86), rgb(17 11 8 / .62) 30%, rgb(17 11 8 / 0) 58%),
    linear-gradient(rgb(17 11 8 / 0) 48%, rgb(17 11 8 / .55) 78%, var(--bg)), linear-gradient(rgb(17 11 8 / .5), rgb(17 11 8 / 0) 20%);
}

.tonight-copy { position: relative; display: grid; justify-items: start; }
.mixed { display: flex; flex-direction: column; line-height: .84; }
.mx-sans { font: 800 min(9.4vw, 14.5svh)/.84 var(--f-display); font-stretch: 58%; text-transform: uppercase; letter-spacing: -.01em; }
.mx-serif { font-size: min(8vw, 12.4svh); line-height: .9; color: var(--num); margin-left: .5em; transition: color var(--dur-l) var(--ease-melt); }
.tonight-status {
  display: flex; align-items: center; gap: 12px; margin-top: clamp(18px, 3svh, 28px);
  font: 500 clamp(15px, 1.3vw, 18px)/1.3 var(--f-mono); letter-spacing: .02em; color: var(--status); transition: color var(--dur-l) var(--ease-melt);
}
.tonight-copy > .btn { margin-top: clamp(20px, 3.4svh, 32px); }

/* The footer's "Preview the night" switch */
.preview fieldset { display: flex; align-items: center; gap: 14px; }
.preview legend { float: left; font: 500 12px/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); padding: 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgb(42 33 28 / .8); box-shadow: inset 0 0 0 1px rgb(191 184 176 / .18); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font: 500 13px/1 var(--f-mono); color: var(--steel); white-space: nowrap; transition: background-color var(--dur-s) var(--ease-sear), color var(--dur-xs) linear; }
.seg input:checked + span { background: var(--cream); color: var(--char); }
.seg input:focus-visible + span { outline: 3px solid var(--cheese); outline-offset: 2px; }
.seg label:hover span { color: var(--cream); }
.seg input:checked:hover + span { color: var(--char); }

/* Hero entrance: Sear, once, CSS only, the three lines 80 ms apart. The h1 only rises (no fade from 0), so it is the
   LCP from the first paint: Chrome never counts a loop or poster that exactly fills the viewport. */
.motion .tonight-copy > * { animation: arrive var(--dur-l) var(--ease-sear) both; }
.motion .tonight-copy > h1 { animation-name: rise; }
.motion .tonight-copy > :nth-child(2) { animation-delay: 80ms; } .motion .tonight-copy > :nth-child(3) { animation-delay: 160ms; }
@keyframes arrive { from { opacity: 0; transform: translateY(20px); } }
@keyframes rise { from { transform: translateY(20px); } }

/* ---------- 2. The Smash ---------- */
.smash { position: relative; }
.motion:not(.still):not(.no-scrub) .smash { height: 220svh; }
.smash-stage { position: relative; height: 100svh; min-height: 520px; overflow: clip; }
.motion:not(.still):not(.no-scrub) .smash-stage { position: sticky; top: 0; }
.smash-media { position: absolute; inset: 0; }
.motion:not(.still):not(.no-scrub) .smash-media { container-type: size; overflow: clip; inset: 0 -2%; } /* still clip, bleeding past the sides: the frame shakes inside it */
.smash-media::after { /* feather all four edges into the page (P1-08) and keep the copy side legible (P1-15) */
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: linear-gradient(var(--bg), transparent 16%, transparent 62%, var(--bg)), linear-gradient(90deg, rgb(17 11 8 / .75), transparent 46%), radial-gradient(120% 90% at 60% 45%, transparent 55%, var(--bg));
}
/* One frame in the press video's own coordinates (sized like object-fit: cover), so the ball, the patty, the melt, the
   flash and the sparks line up at every screen size. Geometry in % of the frame: --ball is where the press bottoms out
   (cx cy w h, measured on its last frame; site.js grows the patty from it), --pat-* is where the cooked patty settles,
   a little smaller and higher than the melt's patty (--melt-*), which site.js pushes in to as the cheese lands. */
.smash-frame {
  --ar: 1.7778; --ball: 49.6 52.8 32.3 35.3; --base-y: 69%; --pat-x: 51.2%; --pat-y: 49%; --pat-w: 44%; --melt-y: 55.8%; --melt-w: 55.6%; --ml: 0%; --mt: 0%; --mw: 100%;
  --fw: max(100cqw, 100cqh * var(--ar)); position: absolute; left: 50%; top: 50%; width: var(--fw); aspect-ratio: var(--ar);
  margin: calc(var(--fw) / var(--ar) / -2) 0 0 calc(var(--fw) / -2); /* centred by margins: its transform is the impact's shake */
  background: #0B0905; /* the melt's own black, so its edges never show */
}
.smash-still, .smash-flash, .smash-burst, .beef-glow { position: absolute; inset: 0; }
.smash-video, .smash-still-ball img, .smash-melt > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.smash-still-ball { display: none; }
.smash-still figcaption:not(.lbl) { display: none; }
/* The cooked patty on the empty flat-top (tools/flattop_plate.py: the press clip's first frame without the ball), so the
   steel never changes under the cut. It starts as the ball's footprint and spreads (site.js); the clip is the radial reveal. */
.smash-beef { z-index: 1; transform-origin: var(--pat-x) var(--pat-y); }
.beef-plate, .beef-plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beef-glow { background: radial-gradient(36% 30% at var(--pat-x) var(--pat-y), rgb(255 107 31 / .22), transparent); }
/* contact shadow: a soft dark ellipse a little wider and lower than the patty, so it sits on the steel */
.beef-shadow { position: absolute; left: calc(var(--pat-x) - var(--pat-w) * .56); top: var(--pat-y); width: calc(var(--pat-w) * 1.12); aspect-ratio: 1.6; margin-top: calc(var(--pat-w) * -.3); border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .78), rgb(0 0 0 / .42) 64%, rgb(0 0 0 / 0)); }
.beef-pat { position: absolute; left: calc(var(--pat-x) - var(--pat-w) / 2); top: var(--pat-y); width: var(--pat-w); aspect-ratio: 1096 / 851; margin-top: calc(var(--pat-w) * -.3882); }
.beef-clip { position: absolute; inset: -10%; border-radius: 50%; overflow: hidden; }
.beef-clip picture { position: absolute; inset: 8.333%; } /* back to the patty's own box (10 / 120) */
.beef-clip img { width: 100%; height: 100%; }
.lbl { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; font: italic 400 clamp(22px, 2.4vw, 36px)/1 var(--f-serif); color: var(--sign); white-space: nowrap; text-shadow: 0 2px 12px rgb(17 11 8 / .9); }
.lbl i { display: block; height: 1.5px; width: clamp(40px, 6vw, 96px); background: var(--sign); transform-origin: left; }
.lbl-edge { left: calc(var(--pat-x) + var(--pat-w) * .5 + 1%); top: var(--pat-y); margin-top: -.5em; }
/* Cheese: crossfades in on the patty's spot, plays once, holds the last frame */
.smash-melt { z-index: 2; inset: auto; left: var(--ml); top: var(--mt); width: var(--mw); aspect-ratio: 16 / 9; }
.melt-still { display: none; } /* only Pause and the stills need it, so it never downloads otherwise */
.melt-still.is-on { display: block; }
/* The impact (site.js plays it where the press bottoms out): a warm flash on the ball and sparks from its base */
.smash-flash { z-index: 3; background: radial-gradient(40% 50% at 49.6% 58%, rgb(255 236 200), rgb(255 150 60 / .7) 34%, rgb(255 107 31 / 0) 72%); }
.smash-burst { z-index: 4; pointer-events: none; }
.smash-burst i { position: absolute; left: 49.6%; top: var(--base-y); width: .8%; aspect-ratio: 1; margin: -.4% 0 0 -.4%; border-radius: 50%; background: radial-gradient(closest-side, #FFE6B0, var(--ember) 60%, transparent); }
.motion:not(.still):not(.no-scrub) :is(.beef-plate, .beef-glow, .beef-shadow, .beef-pat, .lbl, .smash-melt, .smash-flash, .smash-burst i) { opacity: 0; }
.motion:not(.still):not(.no-scrub) :is(.smash-frame, .smash-beef, .beef-shadow, .beef-pat, .beef-clip, .beef-clip picture, .smash-burst i, .smash-word, .smash-word > span) { will-change: transform; }
.motion:not(.still):not(.no-scrub) .smash:not(.is-near) .smash-still { display: none; } /* lazy stills wait for the scrub */

.smash-copy { position: absolute; z-index: 5; left: var(--pad); bottom: max(6svh, 40px); right: var(--pad); pointer-events: none; }
/* P2-04: weight as pressure. The word narrows as the press comes down (scaleX on the h2), then squashes flat on the
   impact (its inner span): transforms only, the width axis stays put. */
.smash-word {
  font: 800 min(15vw, 26svh)/.8 var(--f-display); /* fits its box at width 150 from 360 px up */ text-transform: uppercase; letter-spacing: -.01em; color: var(--cream);
  font-variation-settings: 'wdth' 150, 'wght' 800; margin: 10px 0 14px -.04em; transform-origin: left bottom; white-space: nowrap;
}
.smash-word > span { display: inline-block; transform-origin: left bottom; }
.beats { display: grid; max-width: 640px; }
.beat { grid-area: 1 / 1; font: 700 clamp(20px, 2vw, 28px)/1.25 var(--f-text); color: var(--cream); display: flex; gap: 12px; align-items: baseline; }
.beat .mono { font-size: 13px; color: var(--ember); letter-spacing: .1em; }
.motion:not(.still):not(.no-scrub) .beat { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-s) linear, transform var(--dur-m) var(--ease-sear); }
.motion:not(.still):not(.no-scrub) .beat.is-on { opacity: 1; transform: none; }
.smash-progress { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: max(3svh, 18px); height: 1.5px; background: rgb(191 184 176 / .2); }
.smash-progress i { position: absolute; inset: 0; background: var(--sign); transform: scaleX(0); transform-origin: left; }
/* Reduced motion, Save-Data, no GSAP or no H.264: no pin, no impact, three stills in order with the label drawn */
:is(.rm, .still, .no-scrub) .smash { padding-block: var(--sec) 0; }
:is(.rm, .still, .no-scrub) .smash-stage { height: auto; min-height: 0; display: flex; flex-direction: column-reverse; gap: 40px; padding-inline: var(--pad); overflow: visible; }
:is(.rm, .still, .no-scrub) .smash-media { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
:is(.rm, .still, .no-scrub) .smash-frame { display: contents; }
:is(.rm, .still, .no-scrub) .smash-media::after, :is(.rm, .still, .no-scrub) :is(.smash-video, .melt-video, .smash-progress, .beat .mono, .smash-flash, .smash-burst, .beef-glow) { display: none; }
:is(.rm, .still, .no-scrub) .smash-still { position: relative; inset: auto; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--night); }
:is(.rm, .still, .no-scrub) .smash-beef { --pat-x: 50%; --pat-y: 48%; --pat-w: 78%; }
:is(.rm, .still, .no-scrub) .smash-melt { left: auto; top: auto; width: auto; }
:is(.rm, .still, .no-scrub) .smash-still figcaption:not(.lbl) { display: block; position: absolute; left: 16px; bottom: 14px; font: italic 400 24px/1 var(--f-serif); color: var(--sign); text-shadow: 0 2px 10px rgb(0 0 0 / .9); }
:is(.rm, .still, .no-scrub) .lbl { font-size: 20px; left: auto; right: 10px; bottom: 14px; top: auto; }
:is(.rm, .still, .no-scrub) .lbl i { width: 24px; }
:is(.rm, .still, .no-scrub) .melt-still { display: block; }
:is(.rm, .still, .no-scrub) .smash-copy { position: static; }
:is(.rm, .still, .no-scrub) .beats { gap: 6px; }
:is(.rm, .still, .no-scrub) .beat { grid-area: auto; }

/* ---------- 3. The line-up (P1-07, P2-11) ---------- */
.lineup { position: relative; isolation: isolate; padding: var(--sec) var(--pad); }
.lineup::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(60% 40% at 30% 30%, color-mix(in srgb, var(--fam-burgers) 85%, transparent), transparent 75%); }
:root { --fam-burgers: #4A170C; --fam-sides: #3E2D0A; --fam-shakes: #431826; --acc-burgers: var(--ember); --acc-sides: var(--cheese); --acc-shakes: #EFA6B4; }
.lu-head { display: grid; gap: 20px; margin-bottom: clamp(24px, 4vw, 56px); }
.lu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(16px, 2.4vw, 36px); }
.lu-item { position: relative; display: grid; align-content: start; gap: 16px; }
.lu-ghost { display: none; }
.lu-img { position: relative; }
.lu-img::after { content: ""; position: absolute; z-index: -1; left: 14%; right: 14%; bottom: -2%; height: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .6), transparent); }
.lu-img img { width: 100%; }
.lu-body { display: grid; gap: 6px; justify-items: start; }
.lu-pick { display: none; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--char); background: var(--cheese); padding: 7px 10px; border-radius: 6px; }
.lu-item h3 { font: 800 clamp(26px, 2.6vw, 38px)/.95 var(--f-display); font-stretch: 62%; text-transform: uppercase; }
.lu-btn { all: unset; cursor: pointer; }
.lu-btn::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 20px; }
.lu-item:has(.lu-btn:focus-visible) { outline: 3px solid var(--cheese); outline-offset: 8px; border-radius: 20px; }
.lu-btn:focus-visible { outline: none; }
.lu-who { font: italic 400 22px/1.1 var(--f-serif); color: var(--sign); }
.lu-line { color: var(--steel); font-size: 16px; max-width: 34ch; }
.lu-item .price { margin-top: 8px; font-size: 30px; }
.lu-item .lu-img img { transition: transform var(--dur-m) var(--ease-sear); }
@media (hover: hover) { .lu-item:hover .lu-img img { transform: translateY(-6px) scale(1.02); } }
/* The house pick for this hour leads at hero scale with its giant outlined name behind it */
.lu-item.is-pick, :root:not([data-pick]) .lu-item[data-burger=the-press] { grid-column: 1 / -1; grid-row: 1; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; column-gap: clamp(20px, 4vw, 64px); padding-block: clamp(20px, 4vw, 60px) clamp(28px, 4vw, 64px); }
:root[data-pick] .lu-item:not(.is-pick) { grid-row: auto; }
.lu-item.is-pick .lu-ghost, :root:not([data-pick]) .lu-item[data-burger=the-press] .lu-ghost {
  display: block; position: absolute; z-index: -1; left: -.02em; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none;
  font: 900 min(20vw, 300px)/.8 var(--f-display); font-stretch: 52%; text-transform: uppercase; white-space: nowrap; overflow: hidden;
  color: transparent; -webkit-text-stroke: 1.5px rgb(245 174 93 / .62);
}
.lu-item.is-pick .lu-pick, :root:not([data-pick]) .lu-item[data-burger=the-press] .lu-pick { display: inline-block; }
.lu-item.is-pick h3, :root:not([data-pick]) .lu-item[data-burger=the-press] h3 { font-size: clamp(44px, 5.6vw, 88px); }
.lu-item.is-pick .lu-line { font-size: 19px; color: var(--cream); }
.lu-item.is-pick .price { font-size: 44px; }
.lu-item.is-pick .lu-img img { filter: drop-shadow(0 40px 40px rgb(0 0 0 / .55)); }
/* the other three step down like a counter line-up, not a grid */
.lu-item:nth-child(2 of :not(.is-pick)) { margin-top: clamp(40px, 6vw, 96px); }
.lu-item:nth-child(3 of :not(.is-pick)) { margin-top: clamp(20px, 3vw, 48px); }
.lu-more { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: clamp(40px, 6vw, 88px); }
/* P2-10: each menu family owns a dark tone that carries into menu.html */
.lu-fam { display: inline-flex; gap: 18px; align-items: center; min-height: 64px; padding: 0 22px; border-radius: 16px; text-decoration: none; font-weight: 700; background: var(--fam); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--acc) 30%, transparent); transition: box-shadow var(--dur-s) linear; }
.lu-fam .price { color: var(--acc); font-size: 22px; }
.lu-fam:hover { box-shadow: inset 0 0 0 1.5px var(--acc); }
[data-fam=sides] { --fam: var(--fam-sides); --acc: var(--acc-sides); } [data-fam=shakes] { --fam: var(--fam-shakes); --acc: var(--acc-shakes); }

/* ---------- 4. The ritual (P2-09) ---------- */
.ritual { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding: calc(var(--sec) * .5) var(--pad) var(--sec) 0; }
.ritual-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 0 28px 28px 0; }
.ritual-photo picture, .ritual-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.ritual-lead { font: italic 400 clamp(30px, 3.4vw, 52px)/1 var(--f-serif); color: var(--sign); }
.ritual-list { display: grid; margin-top: 12px; }
.ritual-list li { grid-area: 1 / 1; font: 800 min(7.4vw, 112px)/.86 var(--f-display); font-stretch: 58%; text-transform: uppercase; text-wrap: balance; }
.motion:not(.rm) .ritual-list li { opacity: 0; transform: translateY(.3em); transition: opacity var(--dur-s) linear, transform var(--dur-m) var(--ease-sear); }
.motion:not(.rm) .ritual-list li.is-on { opacity: 1; transform: none; }
.rm .ritual-list { gap: 10px; }
.rm .ritual-list li { grid-area: auto; font-size: min(5vw, 60px); }

/* ---------- 5. Inside (P1-14, P2-06 shutter) ---------- */
.inside { padding: var(--sec) 0 0; }
.inside-head { padding-inline: var(--pad); margin-bottom: clamp(28px, 4vw, 56px); display: grid; gap: 20px; }
.shutter { position: relative; margin-inline: var(--pad); aspect-ratio: 16 / 9; max-height: 88svh; width: calc(100% - 2 * var(--pad)); overflow: hidden; border-radius: 28px; }
.shutter img { width: 100%; height: 100%; object-fit: cover; }
.shutter-door { /* a roll-up shutter: steel slats that lift as the section arrives (scrubbed; gone under reduced motion) */
  position: absolute; inset: 0; transform-origin: top; display: none;
  background: repeating-linear-gradient(180deg, #3a322d 0 22px, #2a231f 22px 24px, #463d37 24px 26px, #2f2823 26px 34px), #2f2823;
  box-shadow: inset 0 -14px 0 #1a1411, inset 0 -18px 0 #6a5a4c;
}
.motion:not(.rm) .shutter-door { display: block; }
.founder { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(24px, 5vw, 96px); align-items: center; padding: var(--sec) var(--pad) calc(var(--sec) * .7); }
.founder blockquote p { font: italic 400 clamp(32px, 4vw, 64px)/1.08 var(--f-serif); color: var(--cream); text-wrap: balance; }
.founder footer { margin-top: 24px; font: 500 13px/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.founder .sig { font: italic 400 30px/1 var(--f-serif); letter-spacing: 0; text-transform: none; color: var(--sign); }
.booth { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.booth img, .shutter picture, .booth picture { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 6. Visit ---------- */
.visit { position: relative; isolation: isolate; padding-bottom: var(--sec); }
.store { position: relative; height: min(100svh, 62vw); }
.store picture { position: absolute; inset: 0; transition: opacity var(--dur-l) var(--ease-melt); }
.store img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 62%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 62%, transparent); }
.store-off { opacity: 0; }
:root[data-mode=after] .store-off, :root[data-closed] .store-off { opacity: 1; } :root[data-mode=after] .store-lit, :root[data-closed] .store-lit { opacity: 0; }
.visit-body { position: relative; margin-top: calc(-1 * min(24svh, 16vw)); padding-inline: var(--pad); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(24px, 4vw, 72px); }
.visit-body > .eyebrow, .visit-body > .poster, .visit-body > .visit-status { grid-column: 1; }
.visit-body > .poster { margin-top: 18px; }
.visit-status { display: flex; align-items: center; gap: 12px; margin-top: 26px; font: 400 clamp(16px, 1.4vw, 19px)/1.3 var(--f-mono); color: var(--status); min-height: 1.3em; transition: color var(--dur-l) var(--ease-melt); }
.visit-info { grid-column: 2; grid-row: 1 / 4; align-self: end; display: grid; gap: 22px; }
.visit-info > div { border-top: 1px solid rgb(191 184 176 / .22); padding-top: 14px; display: grid; grid-template-columns: 9ch 1fr; gap: 16px; }
.visit-info dt { font: 500 12px/1.6 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); }
.visit-info dd { font-size: 19px; line-height: 1.45; }
.visit-info a { text-underline-offset: 4px; }
.visit-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* ---------- Rendering cost (P1-05) ----------
   The sections below the first screen skip style, layout and paint until they come near the viewport, so opening a
   sheet (which restyles the whole page as it goes inert) stays cheap. The intrinsic sizes are the measured section
   heights (2026-11-12, 360-1440 px); `auto` then remembers each section's real size once it has rendered. */
.lineup, .ritual, .inside, .visit { content-visibility: auto; }
.site-footer { content-visibility: auto; contain-intrinsic-size: auto calc(40vw + 330px); } /* last on the page: nothing below it can shift */
/* content-box heights, fitted to measurements at 360-1440 px (padding is outside contain-intrinsic-size) */
.lineup { contain-intrinsic-size: auto calc(101vw + 264px); }
.ritual { contain-intrinsic-size: auto 40vw; }
.inside { contain-intrinsic-size: auto calc(128vw + 38px); }
.visit { contain-intrinsic-size: auto calc(41vw + 408px); }
@media (max-width: 860px) {
  .lineup { contain-intrinsic-size: auto calc(150vw + 964px); } .ritual { contain-intrinsic-size: auto calc(76vw + 100px); }
  .inside { contain-intrinsic-size: auto calc(66vw + 1256px); } .visit { contain-intrinsic-size: auto calc(87vw + 409px); }
}
@media (max-width: 520px) {
  .lineup { contain-intrinsic-size: auto calc(67vw + 1290px); } .inside { contain-intrinsic-size: auto calc(186vw + 629px); } .visit { contain-intrinsic-size: auto 870px; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: clip; padding: clamp(40px, 6vw, 96px) var(--pad) calc(48px + var(--dock)); text-align: center; view-transition-name: site-footer; }
.embers { position: absolute; inset: 0; z-index: -1; background: var(--night) url(../video/embers-poster.jpg) center / cover; }
.embers::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--bg), rgb(17 11 8 / .3) 40%, rgb(17 11 8 / .65)); }
.embers video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity var(--dur-l) var(--ease-melt); }
.embers video.is-playing { opacity: .8; }
.finale { width: min(88%, 1180px); height: auto; margin: 0 auto; color: var(--sign); overflow: visible; filter: drop-shadow(0 0 40px rgb(255 107 31 / .35)); }
.footer-inner { display: grid; justify-items: center; gap: 22px; margin-top: clamp(28px, 4vw, 48px); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 26px; font-weight: 700; }
.footer-links a, .footer-links .link-btn { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.footer-links a:hover, .footer-links .link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.ph { font-weight: 400; color: var(--steel); }
.footer-hours { font: 400 13px/1.5 var(--f-mono); color: var(--steel); }
.motion-toggle-foot { width: auto; height: auto; border-radius: 999px; }
.motion-toggle-foot .tip { position: static; opacity: 1; background: none; color: inherit; padding: 0; font-size: 13px; }
.fiction { font-size: 14px; color: var(--steel); }
.preview-foot { padding: 0; justify-self: center; }

/* ---------- Phone dock (P1-10) ---------- */
.dock { display: none; }

/* ---------- Sheets and dialogs (native <dialog>: inert page, Escape; focus trap and return in site.js) ---------- */
dialog { padding: 0; border: 0; color: var(--cream); max-width: none; max-height: none; overscroll-behavior: contain; }
dialog::backdrop { background: rgb(12 9 8 / .72); }
dialog.prewarm { display: block !important; visibility: hidden !important; transition: none !important; }
.sheet, .detail { opacity: 0; transition: opacity var(--dur-s) linear, transform var(--dur-m) var(--ease-sear), overlay var(--dur-s) allow-discrete, display var(--dur-s) allow-discrete; }
.sheet[open], .detail[open] { opacity: 1; transform: none; }
@starting-style { .sheet[open], .detail[open] { opacity: 0; } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sheet-mark { height: 38px; width: auto; aspect-ratio: 2053 / 965; color: var(--cream); overflow: visible; }
.sheet-close { font-size: 26px; line-height: 1; color: var(--cream); }
/* P2-02: the oxblood night sheet */
.night-sheet {
  width: 100%; height: 100%; inset: 0; margin: 0; overflow-y: auto; transform: translateY(-3%);
  background: repeating-linear-gradient(118deg, transparent 0 14vw, rgb(255 120 90 / .06) 14vw 22vw, transparent 22vw 40vw), linear-gradient(160deg, #7A1E18, var(--booth) 55%, #2A0604);
}
@starting-style { .night-sheet[open] { transform: translateY(-3%); } }
.night-sheet .sheet-inner { min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); grid-template-rows: auto 1fr; gap: 24px clamp(24px, 5vw, 80px); padding: 18px var(--pad) 40px; }
.night-sheet .sheet-top { grid-column: 1 / -1; }
.sheet-words { display: grid; align-content: center; }
.sheet-words a { font: 800 min(15vw, 21svh)/.86 var(--f-display); font-stretch: 56%; text-transform: uppercase; text-decoration: none; color: var(--cream); width: fit-content; transition: color var(--dur-xs) linear, font-stretch var(--dur-m) var(--ease-sear); }
.sheet-words a:hover, .sheet-words a:focus-visible { color: var(--sign); }
.sheet-card { align-self: end; display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: rgb(17 11 8 / .55); box-shadow: inset 0 0 0 1px rgb(244 234 223 / .14); }
.sheet-status { display: flex; align-items: center; gap: 10px; font: 400 14px/1.35 var(--f-mono); color: var(--status); }
.sheet-card dl { display: grid; gap: 12px; }
.sheet-card dl div { display: grid; grid-template-columns: 13ch 1fr; gap: 10px; border-top: 1px solid rgb(244 234 223 / .14); padding-top: 10px; }
.sheet-card dt { font: 500 11px/1.6 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgb(244 234 223 / .78); }
.sheet-card dd { font-size: 16px; }
/* The order sheet: a side panel on desktop, a bottom sheet on phones */
.order-sheet { inset: 0 0 0 auto; margin: 0; width: min(560px, 100vw); height: 100%; background: var(--grill); overflow-y: auto; transform: translateX(6%); box-shadow: -30px 0 60px rgb(0 0 0 / .45); }
@starting-style { .order-sheet[open] { transform: translateX(6%); } }
.order-inner { padding: 18px clamp(20px, 3vw, 36px) 36px; display: grid; gap: 20px; }
.order-step { display: grid; gap: 18px; }
.order-step[hidden] { display: none; }
.order-title { font: 800 clamp(44px, 5vw, 64px)/.86 var(--f-display); font-stretch: 58%; text-transform: uppercase; }
.order-title em { color: var(--sign); }
.order-title:focus { outline: none; }
.demo { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--steel); padding: 10px 12px; border-radius: 10px; background: rgb(79 163 255 / .08); box-shadow: inset 0 0 0 1px rgb(79 163 255 / .35); }
.demo strong { font: 500 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--char); background: var(--neon); padding: 5px 7px; border-radius: 4px; flex: none; }
.order-status { display: flex; align-items: center; gap: 10px; font: 400 13px/1.35 var(--f-mono); color: var(--status); }
.order-items fieldset + fieldset { margin-top: 18px; }
.order-items legend { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); padding: 0 0 8px; }
.oi { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgb(191 184 176 / .14); }
.oi-name { font-weight: 700; font-size: 16px; line-height: 1.25; }
.oi-price { font: 700 18px/1 var(--f-display); font-stretch: 80%; color: var(--cheese); }
.qty { display: inline-flex; align-items: center; gap: 2px; border-radius: 999px; background: rgb(17 11 8 / .45); }
.qty button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: none; cursor: pointer; font-size: 20px; line-height: 1; }
.qty button:hover { background: rgb(244 234 223 / .1); }
.qty output { min-width: 2ch; text-align: center; font: 500 15px/1 var(--f-mono); }
.order-foot { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: rgb(17 11 8 / .5); }
.pickup { display: grid; gap: 8px; font: 500 12px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--steel); }
.pickup select { min-height: 48px; border-radius: 12px; border: 1px solid rgb(191 184 176 / .35); background: var(--char); color: var(--cream); font: 400 16px/1 var(--f-text); padding: 0 12px; letter-spacing: 0; text-transform: none; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.order-total output { font: 700 30px/1 var(--f-display); font-stretch: 80%; color: var(--cheese); }
.order-hint { font-size: 14px; color: var(--steel); }
.order-hint:empty { display: none; }
.order-alt { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.order-alt p { flex-basis: 100%; color: var(--steel); font-size: 14px; }
.order-pick { font-size: 19px; }
.order-pick strong { color: var(--sign); }
.order-summary { display: grid; gap: 6px; font: 400 15px/1.4 var(--f-mono); }
/* Burger detail */
.detail { width: min(940px, calc(100vw - 24px)); max-height: calc(100svh - 24px); border-radius: 28px; background: var(--grill); overflow: auto; transform: translateY(16px) scale(.98); }
@starting-style { .detail[open] { transform: translateY(16px) scale(.98); } }
.detail-inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; padding: 44px; }
.detail .sheet-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.detail-media img { max-height: min(62svh, 560px); width: auto; margin-inline: auto; } /* tall shakes stay inside the card */
.detail-title { font: 800 clamp(40px, 5vw, 72px)/.86 var(--f-display); font-stretch: 58%; text-transform: uppercase; }
.detail-body { display: grid; gap: 14px; justify-items: start; }
.detail-content ul { display: grid; gap: 6px; margin-bottom: 12px; }
.detail-content li { padding-left: 22px; position: relative; }
.detail-content li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--ember); }
.detail-content p { color: var(--steel); }
.detail .price { font-size: 36px; }
.detail-cta { display: flex; flex-wrap: wrap; gap: 10px; }
/* Lenis: stopping it for a dialog must not re-lay out the page (P1-05) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: visible; }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) and (min-width: 861px) {
  .site-nav { display: none; }
}
@media (max-width: 860px) {
  :root { --hh: 58px; --dock: calc(64px + env(safe-area-inset-bottom)); }
  .site-header { gap: 10px; }
  .site-header .site-nav, .site-header .btn-order, .site-header .nav-btn { display: none; }
  .site-header .motion-toggle { margin-left: auto; }
  .mark svg { height: 28px; }
  .chip { margin-left: 2px; padding: 0 10px; font-size: 12px; min-height: 32px; gap: 8px; }
  /* Tonight: the copy sits at the top, where the portrait loop is smoke and shadow; the dock carries Order */
  .tonight { justify-content: flex-start; min-height: calc(100svh - var(--dock)); padding: calc(var(--hh) + 22px) var(--pad) 0; }
  .pass::after { background: linear-gradient(rgb(17 11 8 / .88), rgb(17 11 8 / .76) 32%, rgb(17 11 8 / 0) 56%, rgb(17 11 8 / 0) 74%, var(--bg)); }
  .pass-poster img { object-position: 62% 50%; }
  /* closed states: the storefront fills the screen below the copy, so its sign never sits behind the headline */
  .pass .pass-store { position: absolute; left: 0; top: 30%; height: 70%; -webkit-mask-image: linear-gradient(transparent, #000 24%); mask-image: linear-gradient(transparent, #000 24%); }
  .mx-sans { font-size: min(17vw, 9.4svh); }
  .mx-serif { font-size: min(14vw, 8svh); margin-left: .3em; }
  .tonight-copy > .btn { display: none; }
  .preview fieldset { flex-wrap: wrap; gap: 8px; }
  .preview legend { float: none; width: 100%; }
  .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg span { padding: 0 12px; min-height: 40px; }
  /* The Smash: full-bleed, copy over a scrim, labels at least 16 px (P1-11) */
  .motion:not(.still):not(.no-scrub) .smash { height: 180svh; }
  .smash-progress { bottom: calc(var(--dock) + 10px); }
  .lbl { font-size: 20px; gap: 6px; }
  .lbl i { width: 22px; }
  .smash-copy { bottom: calc(var(--dock) + 26px); }
  .beat { font-size: 19px; }
  :is(.rm, .still, .no-scrub) .smash-media { grid-template-columns: 1fr; }
  .ritual, .founder { grid-template-columns: 1fr; }
  .lu-grid { grid-template-columns: 1fr 1fr; }
  .lu-item.is-pick, :root:not([data-pick]) .lu-item[data-burger=the-press] { grid-template-columns: 1fr; }
  .lu-item.is-pick .lu-ghost, :root:not([data-pick]) .lu-item[data-burger=the-press] .lu-ghost { top: 26%; font-size: 30vw; }
  .ritual { padding-right: var(--pad); }
  .ritual-photo { border-radius: 0 22px 22px 0; margin-left: 0; }
  .ritual-copy { padding-left: var(--pad); }
  .ritual-list li { font-size: min(13vw, 72px); }
  .rm .ritual-list li { font-size: min(9vw, 48px); }
  .shutter { aspect-ratio: 4 / 5; }
  .shutter img { object-position: 62% 50%; }
  .booth { max-width: 420px; }
  .store { height: auto; aspect-ratio: 4 / 3; }
  .store img { object-position: 50% 30%; }
  .visit-body { margin-top: -6svh; grid-template-columns: 1fr; }
  .visit-info { grid-column: 1; grid-row: auto; margin-top: 30px; }
  .visit-cta .btn { flex: 1 1 auto; }
  /* The docked bar reserves its own space (body padding) and is the only Order button on screen */
  .dock {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px;
    height: var(--dock); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 96%, transparent);
    box-shadow: 0 -1px 0 rgb(191 184 176 / .16);
  }
  .dock-btn, .dock-order { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgb(244 234 223 / .4); background: none; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .dock-order { background: var(--ember); border-color: var(--ember); color: var(--char); padding: 0 24px; }
  .order-sheet { inset: auto 0 0 0; width: 100%; height: auto; max-height: 92dvh; border-radius: 24px 24px 0 0; transform: translateY(8%); }
  @starting-style { .order-sheet[open] { transform: translateY(8%); } }
  .night-sheet .sheet-inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .sheet-words a { font-size: min(21vw, 15svh); }
  .detail-inner { grid-template-columns: 1fr; padding: 56px 22px 28px; gap: 16px; }
  .detail-media img { width: auto; max-width: min(320px, 86%); max-height: 40svh; margin-inline: auto; }
}
@media (max-width: 520px) {
  .lu-grid { grid-template-columns: 1fr; }
  .lu-item:not(.is-pick) { grid-template-columns: 40% 1fr; align-items: center; column-gap: 16px; }
  :root:not([data-pick]) .lu-item[data-burger=the-press] { grid-template-columns: 1fr; }
  .lu-fam { width: 100%; justify-content: space-between; }
}
/* Portrait phones scrub the 3:4 press cut (site.js MEDIA.press): the frame sits in the top 60 % above the copy, and the
   16:9 melt is set wider than the frame so its patty lands where the cooked one settled */
@media (max-width: 860px) and (orientation: portrait) {
  .motion:not(.still):not(.no-scrub) .smash-media { inset: var(--hh) -4% auto; height: 60%; height: round(down, 60%, 1px); } /* whole pixels: no seam at the clip; bleeds past the sides for the shake */
  .smash-media::after { background: linear-gradient(var(--bg), transparent 26%, transparent 66%, var(--bg)); }
  .smash-frame { --ar: .75; --ball: 49.4 49.5 76 42; --base-y: 69%; --pat-x: 51.9%; --pat-y: 52%; --pat-w: 76%; --melt-y: 52%; --melt-w: 89%; --ml: -30%; --mt: 14.3%; --mw: 160%; }
  /* the melt is narrower than the frame here: its top and bottom edges fade out (a static mask, never animated) */
  .motion:not(.still):not(.no-scrub) .smash-melt { -webkit-mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
  .smash-flash { background: radial-gradient(64% 36% at 49.4% 54%, rgb(255 236 200), rgb(255 150 60 / .7) 34%, rgb(255 107 31 / 0) 72%); }
  .smash-burst i { width: 1.4%; margin: -.7% 0 0 -.7%; }
  .lbl-edge { left: auto; right: 6%; top: calc(var(--pat-y) + 23%); margin-top: 0; }
}
/* Short landscape screens (phones on their side): the desktop layout, bottom left, on one screen */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --hh: 50px; --dock: calc(54px + env(safe-area-inset-bottom)); }
  .tonight { justify-content: flex-end; min-height: calc(100svh - var(--dock)); padding: calc(var(--hh) + 8px) var(--pad) 18px; }
  .pass::after { background: linear-gradient(90deg, rgb(17 11 8 / .86), rgb(17 11 8 / .62) 34%, rgb(17 11 8 / 0) 62%), linear-gradient(rgb(17 11 8 / 0) 60%, var(--bg)); }
  .pass .pass-store { top: 0; height: 100%; -webkit-mask-image: none; mask-image: none; }
  .mx-sans { font-size: 15svh; } .mx-serif { font-size: 13svh; }
  .dock { height: var(--dock); padding-block: 4px calc(4px + env(safe-area-inset-bottom)); }
  .dock-btn, .dock-order { min-height: 44px; }
  .smash-word { font-size: 26svh; }
  .beat { font-size: 16px; }
  .night-sheet .sheet-inner { grid-template-columns: 1fr 1fr; }
  .sheet-words a { font-size: 17svh; }
}

/* ---------- Reduced motion and Pause ---------- */
@media (prefers-reduced-motion: reduce) {
  html, body, .chip, .mx-serif, .poster em, .chip-dot, .tonight-status, .visit-status, .store picture { transition: none; }
  .sheet, .detail { transition: opacity 120ms linear, overlay 120ms allow-discrete, display 120ms allow-discrete; transform: none !important; }
  .pass-store { animation: none !important; }
  .pass-store { opacity: 1; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
html.paused .chip-dot { box-shadow: none; }

/* Cross-document view transitions (P2-10): the page crossfades, the header and footer hold still, at most 300 ms */
::view-transition-group(*) { animation-duration: 300ms; animation-timing-function: var(--ease-sear); }
::view-transition-old(root) { animation: 180ms var(--ease-press) both vt-out; }
::view-transition-new(root) { animation: 300ms var(--ease-sear) 60ms both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ===================== menu.html: the typeset night card (P1-12) ===================== */
.menu-page { padding: calc(var(--hh) + clamp(20px, 3vw, 40px)) var(--pad) var(--sec); }
.mp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 10px 24px; margin-bottom: clamp(16px, 2.4vw, 32px); }
.mp-head h1 { font: 800 clamp(30px, 3.4vw, 48px)/.9 var(--f-display); font-stretch: 58%; text-transform: uppercase; }
.mp-head h1 em { color: var(--num); }
.mp-head p { font: 400 13px/1.4 var(--f-mono); color: var(--steel); }
.mp-burgers { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 72px); align-items: start; }
.mp-list { border-top: 1px solid rgb(191 184 176 / .22); }
.mp-item { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: baseline; padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid rgb(191 184 176 / .22); scroll-margin-top: 20px; }
.mp-item h2 { font: 800 clamp(36px, 5vw, 76px)/.86 var(--f-display); font-stretch: 58%; text-transform: uppercase; transition: color var(--dur-xs) linear; }
.mp-item .price { font-size: clamp(32px, 4vw, 60px); }
.mp-who { grid-column: 1 / -1; font: italic 400 21px/1.1 var(--f-serif); color: var(--sign); }
.mp-line { grid-column: 1 / -1; color: var(--steel); font-size: 16px; max-width: 52ch; }
.mp-btn { all: unset; cursor: pointer; }
.mp-btn::after { content: ""; position: absolute; inset: 0; }
.mp-item:has(.mp-btn:focus-visible) { outline: 3px solid var(--cheese); outline-offset: 4px; border-radius: 6px; }
.mp-btn:focus-visible { outline: none; }
.mp-item.is-on h2, .mp-item:hover h2 { color: var(--sign); }
.mp-photo { position: sticky; top: calc(var(--hh) + 20px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 28px; background: radial-gradient(60% 50% at 50% 60%, color-mix(in srgb, var(--fam-burgers) 90%, transparent), transparent 72%), var(--grill); }
.mp-photo picture, .mp-shake-lit picture { display: contents; }
.mp-photo img { grid-area: 1 / 1; width: 88%; opacity: 0; transform: translateY(10px) scale(.97); transition: opacity var(--dur-s) linear, transform var(--dur-m) var(--ease-sear); filter: drop-shadow(0 30px 30px rgb(0 0 0 / .55)); }
.mp-photo img.is-on { opacity: 1; transform: none; }
.mp-note { margin-top: 14px; color: var(--steel); font-size: 14px; }
.mp-fam { margin-top: clamp(56px, 8vw, 120px); border-radius: 28px; padding: clamp(24px, 4vw, 56px); background: linear-gradient(160deg, var(--fam), color-mix(in srgb, var(--fam) 40%, var(--bg))); scroll-margin-top: 20px; }
.mp-fam h2 { font: 800 min(13vw, 180px)/.8 var(--f-display); font-stretch: 58%; text-transform: uppercase; }
.mp-fam h2 em { color: var(--acc); font-size: .42em; }
.mp-sides { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 64px); align-items: center; margin-top: 24px; }
.mp-sides img { border-radius: 20px; width: 100%; max-width: 460px; aspect-ratio: 1; object-fit: cover; object-position: 50% 12%; } /* the purple cone stays out of frame until I5 lands */
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgb(244 234 223 / .14); }
.price-list .pl-name { font: 750 clamp(22px, 2.2vw, 32px)/1 var(--f-display); font-stretch: 66%; text-transform: uppercase; }
.price-list .pl-desc { display: block; font: 400 15px/1.4 var(--f-text); color: var(--steel); text-transform: none; margin-top: 6px; }
.price-list .dots { flex: 1; border-bottom: 2px dotted rgb(244 234 223 / .3); transform: translateY(-6px); min-width: 20px; }
.price-list .price { color: var(--acc); font-size: clamp(22px, 2.2vw, 32px); }
.mp-shakes { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 4vw, 64px); align-items: center; margin-top: 24px; }
.mp-shake-lit { position: relative; display: grid; place-items: center; aspect-ratio: 3 / 4; max-height: 560px; }
.mp-shake-lit::before { content: ""; position: absolute; inset: 10% 0 0; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 30%, transparent), transparent); }
.mp-shake-lit img { grid-area: 1 / 1; position: relative; height: 100%; width: auto; max-width: 100%; object-fit: contain; opacity: 0; transition: opacity var(--dur-s) linear; filter: drop-shadow(0 24px 24px rgb(0 0 0 / .5)); }
.mp-shake-lit img.is-on { opacity: 1; }
.mp-shakes .price-list li { position: relative; }
.mp-shakes .price-list button { background: none; border: 0; padding: 0; color: inherit; text-align: left; cursor: pointer; }
.mp-shakes .price-list button::after { content: ""; position: absolute; inset: 0; }
.mp-shakes .price-list li:has(button:focus-visible) { outline: 3px solid var(--cheese); outline-offset: 2px; border-radius: 6px; }
.mp-shakes .price-list li.is-on .pl-name { color: var(--acc); }
@media (max-width: 860px) {
  .mp-burgers { grid-template-columns: 1fr; }
  .mp-photo { position: relative; top: 0; order: -1; aspect-ratio: auto; height: min(170px, 20svh); width: 100%; border-radius: 20px; }
  .mp-photo img { width: auto; height: 92%; }
  .mp-item { padding: 10px 0; }
  .mp-item h2 { font-size: 34px; }
  .mp-item .price { font-size: 30px; }
  .mp-who { font-size: 18px; }
  .mp-line { font-size: 15px; }
  .mp-head { margin-bottom: 12px; }
  .mp-sides, .mp-shakes { grid-template-columns: 1fr; }
  .mp-shake-lit { max-height: none; aspect-ratio: auto; height: 260px; }
  .mp-shake-lit img { height: 260px; }
}
@media (max-width: 860px) and (max-height: 500px) { .mp-photo { display: none; } }
