/* Don't Be Shy
   The entrance of a hotel bar at JBR, a minute before the first drink: an
   ivory wall of red-disc tiles, a noir sign band with brass letters, a lit
   arch in the backbar, burgundy velvet inside. The sign itself is the brand
   book's Bodoni artwork; the page is set in Cormorant Garamond with Schibsted
   Grotesk for text, and the one leaning word of each headline is written in
   Pinyon Script, the roman-and-script pairing the owner asked for. The sign's Y is a stemmed glass. The page pours it, then turns the
   lights down and leaves the sign burning. */

:root {
  /* grounds and inks, named after the things they come from */
  --noir: #14100F;
  --noir-deep: #0C0908;
  --noir-2: #211A18;
  --ivory: #F4EDE1;
  --ivory-2: #E9DDC8;
  --tile-ivory: #F1DDBD;
  --cherry: #C8102E;
  --cherry-press: #A60D26;
  --burgundy: #76232F;
  --oxblood: #4A111B;
  --brass: #B8935A;
  --brass-dark: #7A5C2E;
  --glow: #FFCE96;
  --brass-light: #E6C48E;
  --cherry-lit: #E8243F;

  --display: "Cormorant Garamond", "Didot", "Bodoni MT", Georgia, serif;
  --lean: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --text: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;

  /* six sizes, no seventh */
  --t-mega: clamp(4.5rem, 13vw, 14rem);
  --t-display: clamp(3rem, 6.6vw, 6.5rem);
  --t-title: clamp(2.375rem, 1.82rem + 2.3vw, 3.875rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-label: 0.75rem;

  --gutter: clamp(1.25rem, 4.4vw, 5rem);
  --band-h: 64px;
  --in: clamp(72px, 9vw, 136px);
  --out: clamp(104px, 13vw, 200px);
  --tile: clamp(40px, 4.6vw, 72px);
  --gap-l: 6vw; --gap-m: 4vw; --gap-s: 3vw;

  --e-settle: cubic-bezier(0.2, 0.86, 0.24, 1);
  --e-leave: cubic-bezier(0.76, 0, 0.8, 0.14);
  --t-tap: 130ms;
  --t-state: 280ms;
  --t-panel: 480ms;
  --t-arrive: 820ms;
  --t-drift: 46s;

  --ink: var(--noir);
  --muted: var(--brass-dark);
  --ring: var(--cherry);
  --hair: rgb(122 92 46 / 0.45);
  color-scheme: light;
}

/* snap the fluid spacing to the 4px grid where the browser can */
@supports (width: round(nearest, 1vw, 4px)) {
  :root {
    --gutter: clamp(20px, round(nearest, 4.4vw, 4px), 80px);
    --in: clamp(72px, round(nearest, 9vw, 4px), 136px);
    --out: clamp(104px, round(nearest, 13vw, 4px), 200px);
    --tile: clamp(40px, round(nearest, 4.6vw, 4px), 72px);
    --gap-l: round(nearest, 6vw, 4px); --gap-m: round(nearest, 4vw, 4px); --gap-s: round(nearest, 3vw, 4px);
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { scrollbar-width: thin; scrollbar-color: var(--brass-dark) transparent; }

html { scroll-behavior: smooth; scroll-padding-top: var(--band-h); -webkit-text-size-adjust: 100%; }
[data-story="static"] { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font: 400 var(--t-body)/1.53 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ol, dl, dd, address, fieldset { margin: 0; padding: 0; }
ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
address { font-style: normal; }
button, input { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; caret-color: var(--ring); }
button { cursor: pointer; }
a { color: inherit; text-decoration-thickness: 0.06em; text-underline-offset: 0.2em; }
::selection { background: var(--cherry); color: var(--ivory); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }

.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; left: 16px; top: 12px; z-index: 200; padding: 12px 16px; background: var(--ivory); color: var(--noir); }

/* ---------- grounds: each one restates its inks ---------- */
[data-ground="ivory"]   { --ink: var(--noir);  --muted: var(--brass-dark); --ring: var(--cherry); --hair: rgb(122 92 46 / 0.45); background: var(--ivory); color: var(--ink); }
[data-ground="ivory-2"] { --ink: var(--noir);  --muted: var(--brass-dark); --ring: var(--cherry); --hair: rgb(122 92 46 / 0.5);  background: var(--ivory-2); color: var(--ink); }
[data-ground="noir"]    { --ink: var(--ivory); --muted: var(--brass);      --ring: var(--glow);   --hair: rgb(184 147 90 / 0.4);  background: var(--noir); color: var(--ink); }

/* ---------- type roles ---------- */
h1, h2, h3, .mega, .f-line, .num, .card span, .coaster span, .matchbook span, .confirm-formula {
  font-family: var(--display);
  font-weight: 500;
  font-optical-sizing: auto;
}
h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -0.015em; }
h2, h3 { font-size: var(--t-title); line-height: 1.08; letter-spacing: -0.015em; }
/* Small italics are Cormorant. In a headline the leaning word is written in script. */
em, .num { font-family: var(--display); font-style: italic; }
h1 em, h2 em, h3 em, .mega em {
  font-family: var(--lean); font-style: normal; font-weight: 400; letter-spacing: 0;
  font-size-adjust: 0.4; padding: 0 0.1em 0 0.04em;
}

.label {
  display: block;
  font: 500 var(--t-label)/1.333 var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.side-note, figcaption, .foot-small, .reserve-note, .pour-note { font-size: var(--t-small); line-height: 1.5; }
.side-note { color: var(--muted); }

/* a line is its own mask; Bodoni's italics need room on the right and below */
.line { display: block; overflow: clip; padding: 0.1em 0.14em 0.22em 0; margin: -0.1em -0.14em -0.22em 0; }
.line > span { display: block; text-wrap: balance; }
.nb { white-space: nowrap; }
[data-reveal="lines"] .line { padding: 0.1em 0.14em 0.22em 0; margin: -0.1em -0.14em -0.22em 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: 500 var(--t-label)/1 var(--text); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  transition: background-color var(--t-state) var(--e-settle), color var(--t-state) var(--e-settle), translate var(--t-tap) var(--e-settle);
}
.btn-cherry { background: var(--cherry); color: var(--ivory); }
.btn-cherry:hover { background: var(--cherry-press); }
.btn-line { box-shadow: inset 0 0 0 1px currentColor; }
.btn-line:hover { background: var(--ink); color: var(--ivory); }
[data-ground="noir"] .btn-line:hover { color: var(--noir); }
.btn:active { translate: 0 1px; }
.btn:focus-visible { outline-color: var(--glow); outline-offset: 4px; }
[data-ground="ivory"] .btn:focus-visible, [data-ground="ivory-2"] .btn:focus-visible, .reserve .btn:focus-visible { outline-color: var(--noir); }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; }

.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--cherry); }
.text-link:hover { color: var(--cherry); }

/* ---------- the tile, as one panel ---------- */
.tilewall {
  background-color: var(--tile-ivory);
  background-image:
    radial-gradient(circle closest-side, #DC3A52 0 15%, transparent 16.5%),
    radial-gradient(circle closest-side, transparent 0 33%, rgb(118 35 47 / 0.5) 34.5% 40%, transparent 41.5%),
    radial-gradient(circle closest-side, var(--cherry) 0 58%, transparent 59.5%),
    linear-gradient(to right, rgb(184 147 90 / 0.85) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(184 147 90 / 0.85) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
}
.tilenoir {
  background-color: var(--noir);
  background-image:
    radial-gradient(circle closest-side, transparent 0 33%, rgb(20 16 15 / 0.6) 34.5% 40%, transparent 41.5%),
    radial-gradient(circle closest-side, rgb(118 35 47 / 0.62) 0 58%, transparent 59.5%),
    linear-gradient(to right, rgb(184 147 90 / 0.14) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(184 147 90 / 0.14) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
}

/* five tiles, one lit: the moment marker */
.tiles5 { display: inline-flex; gap: 4px; margin-right: 16px; }
.tiles5 i {
  width: 13px; height: 13px;
  background: radial-gradient(circle closest-side, rgb(200 16 46 / 0.2) 0 62%, transparent 66%), var(--tile-ivory);
  box-shadow: inset 0 0 0 1px rgb(184 147 90 / 0.7);
}
.tiles5[data-now="1"] i:nth-child(1), .tiles5[data-now="2"] i:nth-child(2), .tiles5[data-now="3"] i:nth-child(3),
.tiles5[data-now="4"] i:nth-child(4), .tiles5[data-now="5"] i:nth-child(5) {
  background: radial-gradient(circle closest-side, var(--cherry) 0 62%, transparent 66%), var(--tile-ivory);
}
.moment { display: flex; align-items: center; font: 500 var(--t-small)/1.2 var(--text); color: var(--muted); margin-bottom: 20px; }

/* ---------- loader: the noir field folds up into the sign band ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: var(--noir);
  animation: loader-fold 640ms 1180ms var(--e-leave) forwards;
}
.loader-logo { width: min(46vw, 420px); height: auto; color: var(--ivory); fill: currentColor; animation: loader-lift 640ms 1180ms var(--e-leave) forwards; }
.loader .apos { fill: var(--cherry); animation: loader-drop 420ms 120ms var(--e-settle) both; }
.loader .drink { fill: var(--cherry); transform-box: view-box; transform-origin: 706.64px 299.01px; animation: loader-pour 760ms 320ms var(--e-settle) both; }
.loader.is-done { animation-duration: 1ms; animation-delay: 0s; }
.seen .loader, [data-story="static"] .loader { display: none; }
@keyframes loader-fold { to { clip-path: inset(0 0 calc(100% - var(--band-h)) 0); visibility: hidden; } }
@keyframes loader-lift { to { opacity: 0; transform: translate3d(0, -18svh, 0) scale(0.6); } }
@keyframes loader-drop { from { opacity: 0; transform: translate3d(0, -22px, 0); } }
@keyframes loader-pour { from { transform: scale(0.02); } }

/* ---------- the sign band (navigation) ---------- */
.band {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--band-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  padding: 0 var(--gutter);
  background: rgb(20 16 15 / 0.66); color: var(--ivory);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 rgb(244 237 225 / 0.14);
  transition: background-color var(--t-panel) var(--e-settle);
}
/* over the film and the dark scenes the glass can be almost clear */
/* the lighter glass is only for scenes whose ground stays dark under the header:
   the nights have an ivory band and the footer becomes active while the header
   is still over the ivory FAQ, so both keep the darker glass */
html:is([data-active-scene="arrival"], [data-active-scene="after-dark"], [data-active-scene="close"], [data-active-scene="bill"], [data-active-scene="goodbye"]) .band { background: rgb(20 16 15 / 0.42); }
/* the page ground behind those scenes is dark too, so overscroll and the glass sit on the same colour */
html:is([data-active-scene="arrival"], [data-active-scene="after-dark"], [data-active-scene="close"], [data-active-scene="bill"], [data-active-scene="goodbye"]) body { background-color: var(--noir); }
.sign { display: block; padding: 16px 0; }
.sign-art {
  --lit: var(--t, 1);
  display: block; width: 212px; height: auto; overflow: visible;
  fill: color-mix(in srgb, var(--brass), var(--glow) calc(var(--lit) * 100%));
  filter: drop-shadow(0 0 calc(var(--lit) * 7px) rgb(255 190 120 / calc(var(--lit) * 0.75)));
}
.sign-art .apos, .sign-art .drink { fill: var(--cherry); }
.sign-art .drink { transform-box: view-box; transform-origin: 1073.75px 51.58px; transform: scale(var(--t, 1)); }
.band-nav { display: flex; justify-content: flex-end; gap: clamp(16px, 2.4vw, 40px); }
.band-nav a {
  padding: 16px 0; font: 500 0.65rem/1 var(--text); letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  box-shadow: inset 0 -1px 0 transparent; transition: box-shadow var(--t-state) var(--e-settle), color var(--t-state) var(--e-settle);
}
.band-nav a:hover { color: var(--glow); }
.band-nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--brass); }
.band .btn { min-height: 40px; padding: 0 20px; font-size: 0.65rem; }
.band :focus-visible { outline-color: var(--glow); }

/* ---------- the rail: five tiles down the right edge ---------- */
.rail { position: fixed; right: 12px; top: 50%; z-index: 40; translate: 0 -50%; display: grid; gap: 0; padding: 8px 0; background: var(--noir); box-shadow: 0 0 0 1px rgb(184 147 90 / 0.3); }
.rail a { position: relative; display: grid; place-items: center; width: 32px; height: 32px; }
.rail a::before {
  content: ""; width: 14px; height: 14px;
  background: radial-gradient(circle closest-side, rgb(200 16 46 / 0.22) 0 62%, transparent 66%), var(--tile-ivory);
  box-shadow: inset 0 0 0 1px rgb(184 147 90 / 0.8), 0 0 0 1px rgb(20 16 15 / 0.25);
  transition: scale var(--t-state) var(--e-settle);
}
.rail a[aria-current]::before { background: radial-gradient(circle closest-side, var(--cherry) 0 62%, transparent 66%), var(--tile-ivory); scale: 1.28; }
.rail span {
  position: absolute; right: 36px; top: 50%; translate: 8px -50%; padding: 8px 12px; white-space: nowrap;
  background: var(--noir); color: var(--ivory); font-size: var(--t-small); line-height: 1;
  opacity: 0; pointer-events: none; transition: opacity var(--t-state) var(--e-settle), translate var(--t-state) var(--e-settle);
}
.rail a:hover span, .rail a:focus-visible span { opacity: 1; translate: 0 -50%; }
.rail a:focus-visible { outline-color: var(--glow); outline-offset: -3px; }

/* ---------- stages ---------- */
.stage { position: relative; height: 100svh; min-height: 560px; overflow: clip; }
[data-story="live"] .stage { min-height: 0; }
.chapter.spacer { pointer-events: none; }

/* ============ RUN A ============ */
.stage-a { background: var(--ivory); }
.ground-2 { position: absolute; inset: 0; background: var(--ivory-2); opacity: var(--t, 1); }

.wall-drift { position: absolute; inset: 0; transform: translate3d(0, calc(var(--t, 0) * -5svh), 0); }
.wall { position: absolute; top: -6svh; bottom: -6svh; left: 65.5vw; right: -6vw; transform: translate3d(calc(var(--t, 1) * 52vw), 0, 0); }

/* the arch is a window cut into one full-stage photograph */
.window {
  --w-top: calc(var(--band-h) + 9svh); --w-right: 6.5vw; --w-bottom: 7svh; --w-left: 68.5vw; --w-rad: 12.5vw;
  --f-top: calc(var(--band-h) + 7svh); --f-right: 60vw; --f-bottom: 7svh; --f-left: 6vw; --f-rad: 17vw;
  --shift: 41vw;
  --a0: clamp(0, calc(var(--t, 1) / 0.5), 1);
  --b0: clamp(0, calc((var(--t, 1) - 0.61) / 0.39), 1);
  --a: calc(var(--a0) * var(--a0) * (3 - 2 * var(--a0)));
  --b: calc(var(--b0) * var(--b0) * (3 - 2 * var(--b0)));
  position: absolute; inset: 0; margin: 0;
  clip-path: inset(
    calc(var(--w-top) * (1 - var(--a)) + var(--f-top) * var(--b))
    calc(var(--w-right) * (1 - var(--a)) + var(--f-right) * var(--b))
    calc(var(--w-bottom) * (1 - var(--a)) + var(--f-bottom) * var(--b))
    calc(var(--w-left) * (1 - var(--a)) + var(--f-left) * var(--b))
    round calc(var(--w-rad) * (1 - var(--a)) + var(--f-rad) * var(--b)) calc(var(--w-rad) * (1 - var(--a)) + var(--f-rad) * var(--b)) 0 0);
}
.window-pic { position: absolute; inset: 0; transform: translate3d(calc((1 - var(--a)) * var(--shift)), 0, 0) scale(calc(1.07 - 0.07 * var(--a))); }
.window-pic img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }

/* the hero comes first in the document; the stage is pulled up underneath it */
.run-a .hero { position: relative; z-index: 1; }
[data-story="live"] .run-a .hero { margin-bottom: -100svh; }
[data-story="live"] .stage-a + * { margin-top: 0; }
.hero { min-height: 100svh; }
/* the left panel carries the film; it scrolls away over the pinned wall */
.hero-panel {
  --muted: var(--brass-light); --ring: var(--glow);
  position: relative; isolation: isolate; overflow: clip;
  width: 100%; min-height: 100svh;
  padding: calc(var(--band-h) + clamp(28px, 9svh, 104px)) var(--gutter) 40px;
  background: var(--noir); color: var(--ivory);
}
.hero-film { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  /* the first layer shades the film under the glass header, where the menu sits over the brightest part */
  background:
    linear-gradient(to bottom, rgb(20 16 15 / 0.45), transparent calc(var(--band-h) + 72px)),
    linear-gradient(90deg, rgb(20 16 15 / 0.8), rgb(20 16 15 / 0.5) 48%, rgb(20 16 15 / 0.18));
}
.hero h1, .hero .lede { text-shadow: 0 1px 28px rgb(20 16 15 / 0.55); }
.hero .btn-line:hover { background: var(--ivory); color: var(--noir); }
.hero .btn:focus-visible { outline-color: var(--glow); }
.hero-copy { max-width: 62vw; animation: rise var(--t-arrive) 1500ms var(--e-settle) both; }
.seen .hero-copy { animation-delay: 80ms; }
[data-story="static"] .hero-copy { animation: none; }
.hero-leave { --out: var(--t, 0); --rest: 0; animation-name: hero-gone; }
@keyframes hero-gone { 0%, 58% { visibility: visible; } 59%, 100% { visibility: hidden; } }
.hero .label { margin-bottom: 28px; }
.hero h1 .line > span { transform: translate3d(0, calc(clamp(0, calc(var(--out) * 1.5 - var(--i, 0) * 0.2), 1) * -112%), 0); }
.hero h1 .line:nth-child(2) { --i: 1; }
.hero h1 .line:nth-child(3) { --i: 2; }
.hero h1 em { color: var(--glow); }
.hero .lede { max-width: 33rem; margin-top: 32px; }
.hero .cta-row { margin-top: 32px; }
.hero .lede, .hero .cta-row, .hero .label {
  opacity: calc(1 - var(--out) * 1.7);
  transform: translate3d(0, calc(var(--out) * -44px), 0);
}
@keyframes rise { from { opacity: 0; transform: translate3d(0, 20px, 0); } }

.stage-copy {
  position: absolute; left: 46vw; right: 24vw; top: var(--band-h); bottom: 0;
  display: grid; align-content: center;
}
.stage-copy .plate { grid-area: 1 / 1; max-width: 33rem; }
.plate h2 + p, .plate h3 + p { margin-top: 24px; max-width: 30rem; }
.plate-1 { --in: var(--t, 1); opacity: var(--in); }
.plate-2 { --in: var(--t, 1); opacity: var(--in); }
.plate-out { --gone: var(--t, 0); opacity: calc(1 - var(--gone)); transform: translate3d(0, calc(var(--gone) * -36px), 0); }
.stage-copy .line > span { transform: translate3d(0, calc((1 - clamp(0, calc(var(--in) * 1.5 - var(--i, 0) * 0.25), 1)) * 112%), 0); }
.stage-copy .line:nth-child(2) { --i: 1; }
.stage-copy .line:nth-child(3) { --i: 2; }
.stage-copy .plate p:not(.moment) { transform: translate3d(0, calc((1 - var(--in)) * 28px), 0); }

.pour {
  --in: var(--t, 1);
  position: absolute; right: 8vw; top: calc(var(--band-h) + 6svh); bottom: 6svh; width: 15vw; min-width: 104px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
  opacity: var(--in); transform: translate3d(0, calc((1 - var(--in)) * 40px), 0);
}
.pour-glass { width: 100%; height: auto; overflow: visible; fill: var(--noir); }
.pour-glass .drink { fill: var(--cherry); transform-box: view-box; transform-origin: 137.8px 163.81px; transform: scale(var(--t, 1)); }
.pour-note { text-align: center; color: var(--muted); max-width: 11rem; }
.pour-count { counter-reset: pct calc(var(--t, 1) * 72); font-variant-numeric: tabular-nums; }
.pour-count::after { content: counter(pct) "%."; content: counter(pct) "%." / ""; }
.coaster {
  align-self: flex-start; margin: -8px 0 0 -8px;
  width: 112px; height: 112px; display: grid; place-items: center; border-radius: 50%;
  background: var(--cherry); color: var(--ivory); text-align: center; rotate: -9deg;
}
.coaster span { font-size: var(--t-small); line-height: 1.15; }

/* ============ shared bands ============ */
.band-y { padding-block: var(--in) var(--out); }
.seam { position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--hair); transform: scaleX(var(--enter, 1)); transform-origin: left center; }
.rule { display: block; height: 1px; background: var(--hair); }

.arch { margin: 0; }
.arch-frame { border-radius: 999px 999px 0 0; overflow: clip; background: var(--noir-2); }
.arch-frame picture, .arch-frame img { width: 100%; height: 100%; }
.arch-frame img { max-width: none; object-fit: cover; }
figcaption { margin-top: 16px; max-width: 22rem; }
figcaption b { font-weight: 500; }

/* ============ the room ============ */
.room { padding-inline: var(--gutter); overflow-x: clip; }
.room-head { display: grid; grid-template-columns: 6fr 5fr; gap: var(--gap-l); align-items: end; }
.room-head p { max-width: 30rem; }
.arches {
  --sp: calc((var(--enter, 1) + var(--p, 0.5) + var(--leave, 0)) / 2.5);
  position: relative; display: grid; grid-template-columns: 5fr 4fr 6fr; align-items: end; gap: var(--gap-s); margin-top: 88px;
}
.arches > .arch { transform: translate3d(0, calc((0.6 - var(--sp)) * var(--r) * 1svh), 0); }
.arch-1 { --r: 7; }
.arch-2 { --r: 20; margin-left: -6vw; margin-bottom: 9svh; position: relative; z-index: 2; }
.arch-3 { --r: 33; }
.arch-1 .arch-frame { aspect-ratio: 3 / 4.1; }
.arch-2 .arch-frame { aspect-ratio: 3 / 3.5; box-shadow: 0 0 0 12px var(--ivory); }
.arch-2 figcaption { padding-left: 7vw; }
.arch-3 .arch-frame { aspect-ratio: 3 / 4.5; }
.arch-1 img { object-position: 22% 50%; }
.arch-2 img { object-position: 46% 50%; }
.arch-3 img { object-position: 12% 50%; }

.card { background: var(--ivory); color: var(--noir); text-align: center; }
.card span { display: block; font-size: var(--t-small); line-height: 1.2; }
.card-reserved {
  position: absolute; z-index: 3; left: 43%; bottom: 14svh; width: 176px; padding: 20px 16px 24px; rotate: 5deg;
  box-shadow: 0 0 0 1px rgb(122 92 46 / 0.5);
  transform: translate3d(0, calc((0.6 - var(--sp)) * 46svh), 0);
}
.card-reserved .label { margin-bottom: 12px; }
.card-reserved span { font-size: 1.0625rem; }

/* ============ the menu ============ */
.menu { position: relative; padding-inline: var(--gutter); display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-l); align-items: start; }
.menu-head p { margin-top: 24px; max-width: 28rem; }
.menu-arch { width: 62%; margin-top: 56px; }
.menu-arch .arch-frame { aspect-ratio: 4 / 5; }
.menu-arch img { object-position: 62% 50%; }
.chapters li { position: relative; display: grid; grid-template-columns: clamp(64px, 7.4vw, 112px) 1fr; align-items: baseline; padding: 32px 0 40px; }
.chapters .rule { position: absolute; inset: 0 0 auto 0; }
.chapters .num { font-size: var(--t-title); line-height: 1.08; color: var(--muted); letter-spacing: -0.02em; }
.chapters h3 em { color: var(--cherry); }
.chapters p { margin-top: 12px; }
.chapters .chapters-foot { padding: 0; }

/* ============ the turn ============ */
.turn { position: relative; }
.turn-stage { background: var(--ivory-2); color: var(--noir); }
.mega {
  position: absolute; inset: var(--band-h) 0 0 0; margin: 0; display: grid; place-items: center; text-align: center;
  font-size: var(--t-mega); line-height: 1; letter-spacing: -0.02em; white-space: nowrap;
}
.mega > span { display: block; }
.mega-base em { color: var(--cherry); }
.flood { position: absolute; inset: 0; background: var(--cherry); color: var(--ivory); clip-path: inset(calc((1 - var(--t, 1)) * 100%) 0 0 0); }
.dark { position: absolute; inset: 0; background: var(--noir); color: var(--ivory); opacity: var(--t, 1); }
.dark .mega { opacity: calc(1 - var(--t, 1)); }
.dark .mega em { color: var(--cherry); }
.tilefield {
  --beat: calc(sin(calc(var(--t, 0.25) * 9.42)) * sin(calc(var(--t, 0.25) * 9.42)));
  position: absolute; inset: 0;
  opacity: calc(min(1, calc(var(--t, 1) * 4)) * (0.4 + 0.6 * var(--beat)));
  -webkit-mask-image: radial-gradient(ellipse 62% 64% at 46% 54%, transparent 0 64%, #000 100%);
          mask-image: radial-gradient(ellipse 62% 64% at 46% 54%, transparent 0 64%, #000 100%);
}
.lightline {
  position: absolute; top: var(--band-h); bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--glow) 10% 90%, transparent);
  box-shadow: 0 0 22px 3px rgb(255 190 120 / 0.5);
  transform: scaleY(var(--t, 1)); transform-origin: center top;
}
.ll-1 { left: 5vw; } .ll-2 { left: 8.5vw; transform-origin: center bottom; }
.ll-3 { right: 8.5vw; } .ll-4 { right: 5vw; transform-origin: center bottom; }
.sting {
  position: absolute; left: 31vw; top: calc(50% + var(--band-h) / 2); width: min(40vw, 72svh); height: auto; overflow: visible;
  fill: var(--ivory); opacity: var(--t, 1);
  transform: translate3d(-50%, -50%, 0) scale(calc(0.93 + 0.07 * var(--t, 1)));
  filter: drop-shadow(0 0 26px rgb(255 190 120 / 0.34));
}
.sting .apos, .sting .drink { fill: var(--cherry); }

.turn-copy { position: relative; display: grid; gap: 92svh; padding: 62svh var(--gutter) 28svh; pointer-events: none; }
.plate-card { pointer-events: auto; max-width: 38rem; padding: 32px 32px 36px; background: var(--ivory); color: var(--noir); --muted: var(--brass-dark); }
.plate-right { justify-self: end; }

/* ============ the formula nights ============ */
.nights { position: relative; padding-top: var(--in); }
.nights-head { padding: 0 var(--gutter) 72px; }
.formula li { display: grid; grid-template-columns: 8fr 4fr; gap: var(--gap-m); align-items: center; padding: 40px var(--gutter) 44px; }
.f-line { font-size: var(--t-title); line-height: 1.15; letter-spacing: 0.1em; text-transform: uppercase; }
.f-line em { letter-spacing: 0.08em; }
.apos-t { font-weight: 400; color: var(--cherry); }
.f-note { max-width: 24rem; }
.f-note .label { margin-bottom: 8px; }
.f-noir    { background: var(--noir); color: var(--ivory); --muted: var(--brass-light); box-shadow: inset 0 1px 0 rgb(184 147 90 / 0.3); }
.f-cherry  { background: var(--cherry); color: var(--ivory); --muted: var(--ivory); }
.f-cherry .apos-t { color: inherit; }
.f-ivory   { background: var(--ivory-2); color: var(--noir); --muted: var(--brass-dark); }
.f-oxblood { background: var(--oxblood); color: var(--brass-light); --muted: var(--brass-light); }
.f-oxblood .apos-t { color: var(--cherry-lit); }
.f-oxblood .f-note { color: var(--ivory); }

/* ============ after dark: one strip, panned by the scroll ============ */
.afterdark { position: relative; }
.dark-stage { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding-top: var(--band-h); background: var(--noir); color: var(--ivory); }
.dark-head { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap-l); align-items: end; padding: 40px var(--gutter) 24px; }
.dark-head p { max-width: 26rem; opacity: var(--enter, 1); transform: translate3d(0, calc((1 - var(--enter, 1)) * 36px), 0); }
.dark-head .line > span { transform: translate3d(0, calc((1 - clamp(0, calc(var(--enter, 1) * 1.4 - 0.4), 1)) * 112%), 0); }
.strip {
  display: flex; align-items: center; gap: var(--gap-s); width: max-content; height: 100%; padding: 0 var(--gutter) 80px;
  transform: translate3d(calc(var(--t, 0) * (100vw - 100%)), 0, 0);
}
.frame { margin: 0; flex: none; }
.frame picture, .frame img { height: var(--h); width: auto; max-width: none; }
.frame img { aspect-ratio: var(--ar); object-fit: cover; }
.frame figcaption { max-width: min(22rem, 100%); width: 0; min-width: 100%; }
.fr-wide   { --h: 50svh; --ar: 1677 / 938; }
.fr-slim   { --h: 54svh; --ar: 319 / 891; margin-top: 4svh; }
.fr-band   { --h: 26svh; --ar: 1090 / 403; margin-bottom: 14svh; }
.fr-tall   { --h: 56svh; --ar: 937 / 1679; }
.fr-square { --h: 42svh; --ar: 718 / 706; margin-top: 8svh; }
.fr-band:last-child { --ar: 1072 / 262; --h: 20svh; margin-bottom: 4svh; }
.strip-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 4svh; height: 1px; background: var(--brass); transform: scaleX(var(--t, 1)); transform-origin: left center; }

/* ============ RUN C: the bill, goodbye ============ */
.close-stage { background: var(--noir); color: var(--ivory); }
.nightwall {
  position: absolute; inset: 0 0 auto 0; height: calc(var(--band-h) + 46svh); opacity: 0.55; animation: wall-drift var(--t-drift) linear infinite;
  -webkit-mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0 72%, transparent 100%);
}
.nightwall {
  background-color: var(--noir);
  background-image:
    radial-gradient(circle closest-side, rgb(118 35 47 / 0.5) 0 58%, transparent 59.5%),
    linear-gradient(to right, rgb(184 147 90 / 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(184 147 90 / 0.12) 1px, transparent 1px);
  background-size: var(--tile) var(--tile);
}
@keyframes wall-drift { to { background-position: var(--tile) 0; } }
.signband {
  --lit: var(--t, 1);
  position: absolute; inset: calc(var(--band-h) + 8svh) 0 auto 0; height: 24svh; display: grid; place-items: center;
  background: var(--noir-deep);
  box-shadow: 0 1px 0 rgb(184 147 90 / 0.3), 0 -1px 0 rgb(184 147 90 / 0.3);
}
.signband-art {
  width: min(64vw, 980px); height: auto; overflow: visible;
  fill: color-mix(in srgb, var(--brass), var(--glow) calc(var(--lit) * 100%));
  filter: drop-shadow(0 0 calc(4px + var(--lit) * 18px) rgb(255 190 120 / calc(0.15 + var(--lit) * 0.6)));
  transform: translate3d(0, calc((1 - var(--enter, 1)) * 48px), 0);
}
.signband-art .apos, .signband-art .drink { fill: var(--cherry); filter: drop-shadow(0 0 calc(var(--lit) * 10px) rgb(200 16 46 / 0.9)); }

.close-copy { position: absolute; left: var(--gutter); right: 38vw; top: calc(var(--band-h) + 36svh); bottom: 5svh; display: grid; align-content: center; }
.close-copy .plate { grid-area: 1 / 1; max-width: 40rem; }
.plate-4 { --in: var(--enter, 1); opacity: var(--in); }
.plate-5 { --in: var(--t, 1); opacity: var(--in); pointer-events: none; position: relative; z-index: 1; }
.run-c:has(#goodbye:not([data-state="before"])) .plate-5, [data-story="static"] .plate-5 { pointer-events: auto; }
.close-copy .plate p:not(.moment), .plate-5 .cta-row { transform: translate3d(0, calc((1 - var(--in)) * 28px), 0); }
.plate-5 .cta-row { margin-top: 32px; }
.plate-5 .side-note { margin-top: 20px; }
.close-copy .line > span { transform: translate3d(0, calc((1 - clamp(0, calc(var(--in) * 1.5 - var(--i, 0) * 0.25), 1)) * 112%), 0); }
.close-copy .line:nth-child(2) { --i: 1; }
.close-copy .line:nth-child(3) { --i: 2; }
.close-copy h2 em { color: var(--glow); }

.billset { position: absolute; right: 6vw; bottom: 7svh; width: 26vw; height: 44svh; transform: translate3d(0, calc((1 - var(--t, 1)) * 12svh), 0); }
.folder { position: absolute; left: 6%; bottom: 0; width: 46%; aspect-ratio: 5 / 7; display: grid; place-items: center; background: var(--cherry); rotate: -5deg; }
.folder svg { width: 22%; fill: var(--ivory); }
.card-bill { position: absolute; left: 38%; bottom: 20%; width: 46%; padding: 28px 16px 32px; rotate: calc(7deg + var(--t, 1) * 5deg); box-shadow: 0 0 0 1px rgb(122 92 46 / 0.4); }
.card-bill span { font-size: 1.0625rem; }
.matchbook { position: absolute; right: 0; bottom: 2%; width: 27%; aspect-ratio: 3 / 4; display: grid; place-items: center; background: var(--ivory); color: var(--noir); text-align: center; rotate: 9deg; box-shadow: inset 0 -16px 0 var(--cherry); }
.matchbook span { font-size: var(--t-small); line-height: 1.15; padding: 0 8px 12px; }

/* ============ find us ============ */
.find { position: relative; padding-inline: var(--gutter); }
.find-head { display: grid; grid-template-columns: 5fr 6fr; gap: var(--gap-l); align-items: end; }
.find-arch .arch-frame { aspect-ratio: 16 / 9; }
.find-arch img { object-position: 40% 50%; }
.find-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-m); margin-top: 88px; }
.find-col .rule { margin-bottom: 24px; }
.find-col h3 { font: 500 var(--t-small)/1.2 var(--text); letter-spacing: 0; color: var(--muted); margin-bottom: 12px; }
.find-col p + p { margin-top: 8px; }
.faq { margin-top: var(--out); display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap-l); align-items: start; }
.faq dl > div { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; padding: 0 0 28px; }
.faq .rule { grid-column: 1 / -1; margin-bottom: 4px; }
.faq dt { font-weight: 500; }

/* ============ footer ============ */
.foot { position: relative; padding: 88px var(--gutter) 112px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.foot-apos { width: 28px; height: auto; fill: var(--cherry); }
.foot-nav { display: flex; gap: 28px; }
.foot-nav a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: var(--t-small); text-decoration: none; }
.foot-nav a:hover { color: var(--glow); }
.foot-small { grid-column: 1 / -1; color: var(--brass); max-width: 36rem; }
.foot { --fe: clamp(0, calc(var(--enter, 1) * 4), 1); }
.foot-apos, .foot-line, .foot-nav, .foot-small { opacity: var(--fe); transform: translate3d(0, calc((1 - var(--fe)) * 32px), 0); }

/* ============ phone dock ============ */
.dock { display: none; }

/* ============ WhatsApp: a cherry disc with two slow rings ============ */
.wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 46;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--cherry); color: var(--ivory); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgb(244 237 225 / 0.65);
  transition: background-color var(--t-state) var(--e-settle), scale var(--t-tap) var(--e-settle), translate var(--t-panel) var(--e-settle);
}
.wa:hover { background: var(--cherry-press); }
.wa:active { scale: 0.95; }
.wa:focus-visible { outline: 2px solid var(--glow); outline-offset: 4px; }
.wa svg { position: relative; z-index: 1; width: 32px; height: 32px; }
.wa-bubble { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.wa-phone { fill: currentColor; }
.wa::before, .wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 2px var(--cherry), 0 0 0 3px rgb(244 237 225 / 0.4);
  animation: wa-ring 2600ms cubic-bezier(0.2, 0.62, 0.3, 1) infinite;
}
.wa::after { animation-delay: 1300ms; }
@keyframes wa-ring { from { transform: scale(1); opacity: 0.85; } to { transform: scale(1.85); opacity: 0; } }
.wa span {
  position: absolute; right: 72px; top: 50%; translate: 8px -50%; padding: 12px 16px; white-space: nowrap;
  background: var(--noir); color: var(--ivory); font: 500 var(--t-small)/1 var(--text);
  opacity: 0; pointer-events: none; transition: opacity var(--t-state) var(--e-settle), translate var(--t-state) var(--e-settle);
}
.wa:hover span, .wa:focus-visible span { opacity: 1; translate: 0 -50%; }
[data-story="static"] .wa::before, [data-story="static"] .wa::after { animation: none; opacity: 0; }

/* ============ reservation ============ */
.reserve { width: min(560px, calc(100vw - 32px)); max-height: calc(100svh - 32px); padding: 0; border: 0; background: var(--ivory); color: var(--noir); --muted: var(--brass-dark); --hair: rgb(122 92 46 / 0.5); overflow: auto; }
.reserve::backdrop { background: rgb(20 16 15 / 0.82); }
.reserve[open] { animation: rise var(--t-panel) var(--e-settle) both; }
.reserve-form, .confirm { position: relative; display: grid; gap: 24px; padding: 56px clamp(24px, 6vw, 48px) 48px; }
.reserve h2 em { color: var(--cherry); }
.reserve-close { position: absolute; right: 12px; top: 8px; min-height: 44px; padding: 0 12px; font-size: var(--t-small); text-decoration: underline; text-decoration-color: var(--cherry); }
.reserve-note { color: var(--muted); }
.field label, .field legend { display: block; font: 500 var(--t-small)/1.2 var(--text); color: var(--muted); margin-bottom: 8px; padding: 0; }
.field input[type="text"], .field input[type="date"], .field input[type="time"] {
  width: 100%; min-height: 48px; padding: 8px 0; box-shadow: inset 0 -1px 0 var(--noir); font-variant-numeric: tabular-nums;
}
.field input:focus-visible { outline: 2px solid var(--cherry); outline-offset: 4px; box-shadow: inset 0 -2px 0 var(--cherry); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span { display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; color: var(--noir); box-shadow: inset 0 0 0 1px rgb(20 16 15 / 0.4); font-variant-numeric: tabular-nums; transition: background-color var(--t-tap) var(--e-settle), color var(--t-tap) var(--e-settle); }
.chips input:checked + span { background: var(--noir); color: var(--ivory); }
.chips input:focus-visible + span { outline: 2px solid var(--cherry); outline-offset: 3px; }
.reserve-error { color: var(--cherry); font-weight: 500; }
.reserve .btn { justify-self: start; }
.confirm { justify-items: start; }
.confirm-apos { width: 34px; fill: var(--cherry); }
.confirm-formula { font-size: var(--t-title); line-height: 1.15; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 24px; box-shadow: inset 0 1px 0 var(--hair); width: 100%; }
[hidden] { display: none !important; }

/* ============ static mode: no pins, every scene a finished still ============ */
[data-story="static"] .run-a .hero, [data-story="static"] .hero-panel { min-height: 0; }
[data-story="static"] .hero-panel { min-height: 100svh; }
[data-story="static"] .stage-a { height: auto; min-height: max(100svh, 800px); }
[data-story="static"] .wall-drift { display: none; }
[data-story="static"] .stage-copy { gap: 40px; }
[data-story="static"] .stage-copy .plate, [data-story="static"] .close-copy .plate { grid-area: auto; }
[data-story="static"] .turn-copy { gap: 32px; padding-block: 72px; background: var(--noir); }
[data-story="static"] .dark-stage { height: auto; overflow: visible; }
[data-story="static"] .strip { transform: none; flex-wrap: wrap; width: auto; height: auto; row-gap: 40px; align-items: flex-start; }
[data-story="static"] .strip .frame { margin-block: 0; }
[data-story="static"] .strip-progress { display: none; }
[data-story="static"] .nightwall { animation: none; }
[data-story="static"] .close-copy { gap: 40px; top: calc(var(--band-h) + 38svh); }
[data-story="static"] .close-stage { height: auto; min-height: max(100svh, 1080px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; }
  .nightwall, .hero-copy, .reserve[open] { animation: none; }
  .wa::before, .wa::after { animation: none; opacity: 0; }
}

/* ============ tablet ============ */
@media (max-width: 1100px) {
  .band-nav { gap: 16px; }
  .stage-copy { right: 14vw; }
  .formula li { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ phone: subject in the bottom half, copy above it ============ */
@media (max-width: 760px) {
  :root { --band-h: 56px; --tile: 40px; }
  .rail { display: none; }
  .band { grid-template-columns: auto 1fr; gap: 12px; }
  .band-cta { display: none; }
  .band-nav { gap: 4px; }
  .band-nav a { padding: 16px 8px; letter-spacing: 0.14em; }
  .band-nav a:nth-child(1), .band-nav a:nth-child(3) { display: none; }
  .sign-art { width: 168px; }

  .hero-panel { min-height: 100svh; padding: calc(var(--band-h) + 20px) var(--gutter) 28px; }
  .hero-copy { max-width: none; }
  .hero .label { margin-bottom: 12px; letter-spacing: 0.14em; }
  h1 { font-size: clamp(2.5rem, 12.2vw, 3rem); line-height: 1.04; }
  .hero .lede { margin-top: 16px; font-size: var(--t-small); line-height: 1.5; }
  .hero .cta-row { margin-top: 20px; gap: 8px; }
  .hero .btn { min-height: 48px; padding: 0 16px; letter-spacing: 0.12em; }

  .wall { left: -4vw; right: -4vw; top: 68svh; bottom: -4svh; transform: translate3d(0, calc(var(--t, 1) * 40svh), 0); }
  .window {
    --w-top: 71svh; --w-right: 22vw; --w-bottom: 0svh; --w-left: 22vw; --w-rad: 28vw;
    --f-top: max(50svh, 350px); --f-right: 34vw; --f-bottom: 10svh; --f-left: 6vw; --f-rad: 30vw;
    --shift: 0vw;
  }
  .window-pic img { object-position: 50% 62%; }
  .stage-copy { left: var(--gutter); right: var(--gutter); top: calc(var(--band-h) + 20px); bottom: 50svh; align-content: start; }
  .stage-copy .plate p:not(.moment) { font-size: var(--t-small); line-height: 1.5; }
  .plate h2 + p { margin-top: 16px; }
  .moment { margin-bottom: 12px; }
  .pour { right: 6vw; left: auto; top: max(50svh, 350px); bottom: 10svh; width: 24vw; gap: 12px; }
  .pour-note { font-size: 0.8125rem; line-height: 1.35; }
  .coaster { display: none; }

  .room-head, .find-head, .dark-head, .faq, .menu { grid-template-columns: 1fr; gap: 24px; }
  .arches { grid-template-columns: 1fr 1fr; gap: 24px 16px; margin-top: 56px; }
  .arch-1 { grid-column: 1 / -1; width: 78%; }
  .arch-2 { margin: 0 0 6svh; }
  .arch-2 .arch-frame { box-shadow: none; }
  .arch-1 { --r: 3; } .arch-2 { --r: 8; } .arch-3 { --r: 13; }
  .card-reserved { left: auto; right: 0; top: 30%; bottom: auto; width: 148px; padding: 16px 12px 20px; }

  .menu-arch { width: 52%; margin-top: 32px; }
  .chapters li { grid-template-columns: 56px 1fr; padding: 24px 0 28px; }

  .turn-copy { padding-inline: var(--gutter); }
  .plate-card { padding: 24px 20px 28px; }
  .mega { white-space: normal; line-height: 0.96; }
  .sting { left: 50%; top: 19%; width: 56vw; }
  .ll-2, .ll-3 { display: none; }

  .formula li { padding: 28px var(--gutter) 32px; }
  .f-line { letter-spacing: 0; }

  .dark-head { padding-top: 3svh; }
  .fr-wide { --h: 34svh; } .fr-slim { --h: 40svh; } .fr-band { --h: 18svh; margin-bottom: 8svh; }
  .fr-tall { --h: 42svh; } .fr-square { --h: 32svh; } .fr-band:last-child { --h: 13svh; }
  .strip { gap: 20px; }

  .signband { height: 15svh; inset: calc(var(--band-h) + 4svh) 0 auto 0; }
  .nightwall { height: calc(var(--band-h) + 24svh); }
  .signband-art { width: 84vw; }
  .close-copy { left: var(--gutter); right: var(--gutter); top: calc(var(--band-h) + 22svh); bottom: 30svh; }
  .billset { right: 6vw; width: 64vw; height: 24svh; bottom: 11svh; }
  .card-bill { padding: 16px 8px 20px; }
  .card-bill span { font-size: var(--t-small); }
  .matchbook span { font-size: 0.75rem; }

  .find-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .faq dl > div { grid-template-columns: 1fr; gap: 8px; }
  .foot { grid-template-columns: auto 1fr; padding-bottom: 136px; }
  .foot-nav { grid-column: 1 / -1; flex-wrap: wrap; gap: 8px 24px; }

  .dock {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 45; padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: var(--noir); box-shadow: 0 -1px 0 rgb(184 147 90 / 0.3);
    translate: 0 110%; transition: translate var(--t-panel) var(--e-settle);
  }
  .dock .btn { width: 100%; min-height: 48px; }
  .wa { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 56px; height: 56px; }
  .wa span { display: none; }
  html[data-active-scene]:not([data-active-scene=""]):not([data-active-scene="arrival"]) .wa, [data-story="static"] .wa { translate: 0 -68px; }
  html[data-active-scene]:not([data-active-scene=""]):not([data-active-scene="arrival"]) .dock, [data-story="static"] .dock { translate: 0 0; }
  .field-row { grid-template-columns: 1fr; }

  /* static mode on a phone: the still needs more room than one screen */
  [data-story="static"] .stage-a { height: auto; min-height: max(150svh, 1040px); }
  [data-story="static"] .window { --f-top: calc(100% - 52svh); --f-bottom: 4svh; }
  [data-story="static"] .stage-copy { bottom: 56svh; }
  [data-story="static"] .pour { top: calc(100% - 52svh); bottom: 4svh; }
  [data-story="static"] .close-stage { min-height: 1200px; }
  [data-story="static"] .close-copy { top: calc(var(--band-h) + 24svh); bottom: 34svh; }
  [data-story="static"] .strip .frame { --h: auto; }
  [data-story="static"] .strip .frame picture, [data-story="static"] .strip .frame img { width: 100%; height: auto; }
  [data-story="static"] .strip .frame { width: 100%; }
  [data-story="static"] .strip .fr-slim, [data-story="static"] .strip .fr-tall { width: 56%; }
}

/* ============ adjustments ============ */
:root { --t-mega: clamp(4.5rem, 11.5vw, 14rem); }
.loader { clip-path: inset(0); }
.pour-count::after { font-variant-numeric: normal; }
.run-c:not([data-state="active"]) .nightwall { animation-play-state: paused; }
@supports not (color: color-mix(in srgb, red, blue)) { .sign-art, .signband-art { fill: var(--glow); } }
/* glow is light, never ink: the leaning word and the hovers use the brand's light brass */
.hero h1 em, .close-copy h2 em { color: var(--brass-light); }
.band-nav a:hover, .foot-nav a:hover { color: var(--brass-light); }
.band .btn { min-height: 44px; }
.turn-copy { padding-top: 46svh; }
.turn-copy .plate-card:first-child { justify-self: end; }
.menu { padding-bottom: var(--in); }
.billset { right: max(6vw, 112px); transform: translate3d(0, calc((1 - var(--t, 1)) * 5svh), 0); }
.strip-progress { right: max(var(--gutter), 108px); }
.matchbook { min-width: 100px; }
.matchbook span { font-size: clamp(0.6875rem, 1.02vw, var(--t-small)); padding: 0 4px 12px; }
.card-bill { left: 24%; }
.frame figcaption { width: 0; min-width: min(100%, 22rem, calc(100vw - 2 * var(--gutter))); max-width: none; }
.nightwall { height: calc(var(--band-h) + 32svh); }
/* the reserved card sits in the gap above the middle arch, never on a photograph */
.card-reserved { left: 39%; top: 16px; bottom: auto; transform: translate3d(0, calc((0.6 - var(--sp)) * 20svh), 0); }
[data-story="static"] .stage-a { min-height: max(100svh, 860px); }

@media (max-width: 1280px) { .sting { left: 25vw; width: min(28vw, 60svh); } }
@media (min-width: 761px) and (max-height: 880px) {
  .fr-wide { --h: 44svh; } .fr-slim { --h: 38svh; } .fr-tall { --h: 44svh; } .fr-square { --h: 36svh; }
}
@media (max-width: 1100px) {
  .stage-copy { right: 26vw; }
  .coaster { display: none; }
  .plate-right { max-width: 44vw; }
}
@media (max-width: 1000px) { .rail { display: none; } }
@media (max-width: 760px) {
  .sting { left: 50%; top: 19%; width: 64vw; }
  .loader-logo { width: min(64vw, 420px); }
  .tilefield {
    -webkit-mask-image: radial-gradient(ellipse 74% 70% at 50% 36%, transparent 0 64%, #000 100%);
            mask-image: radial-gradient(ellipse 74% 70% at 50% 36%, transparent 0 64%, #000 100%);
  }
  .stage-copy { right: var(--gutter); }
  .plate-right { max-width: none; }
  .pour { min-width: 0; }
  .arch-2 figcaption { padding-left: 0; }
  .card-reserved { display: none; }
  .chips { display: grid; grid-template-columns: repeat(3, 1fr); }
  .strip { align-items: flex-start; padding-bottom: 96px; }
  .fr-wide { --h: min(34svh, calc(100svh - 430px)); }
  .fr-slim, .fr-tall { --h: min(40svh, calc(100svh - 430px)); }
  .fr-square { --h: min(32svh, calc(100svh - 430px)); }
  .strip-progress { right: var(--gutter); bottom: calc(72px + env(safe-area-inset-bottom)); }
  .nightwall { height: calc(var(--band-h) + 19svh); }
  .close-copy { align-content: start; }
  .billset { right: 24vw; }
}
@media (max-width: 760px) and (max-height: 740px) {
  .billset { display: none; }
  .close-copy { bottom: 12svh; }
  .pour-note { display: none; }
  .sting { top: 17%; width: 50vw; }
}
/* on phones the second turn card rests at the bottom of the screen, clear of the logo above it */
@media (max-width: 760px) {
  [data-story="live"] .turn-copy { min-height: calc(var(--span, 2.6) * 100svh); align-content: space-between; padding-bottom: 20svh; }
  .fr-wide { --h: min(38svh, calc(100svh - 430px)); }
  .fr-square { --h: min(36svh, calc(100svh - 430px)); }
}
@media (max-width: 760px) and (max-height: 740px) {
  [data-story="live"] .turn-copy { padding-bottom: 15svh; }
}
@media (max-width: 1100px) { .card-reserved { display: none; } }

.confirm-note { max-width: 30rem; margin: 12px 0 20px; font-size: var(--t-body); line-height: 1.5; }
