:root {
  /* TABU brand book: black · deep red · white · gold */
  --bg: #000;
  --ink: #fff;
  --ink-2: rgba(255, 255, 255, .76);
  --ink-3: rgba(255, 255, 255, .52);
  --line: rgba(255, 255, 255, .14);
  --line-2: rgba(255, 255, 255, .28);
  --red: #6F1113;
  --amber: #E7C772;            /* open tables, focus, highlights: the brand gold */
  --amber-rgb: 231, 199, 114;
  --ember: #c9a352;            /* the gold, deeper: gradients and "today" */
  --coral: #c0575a;            /* taken: the brand red lifted so it reads on the dark video */
  --mint: #ffffff;             /* your requests: white */
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --display: "Open Sans", system-ui, sans-serif;                                     /* headlines (uppercase) */
  --num: "Hikou", "Barlow Semi Condensed", "Arial Narrow", sans-serif;              /* numbers */
  --body: "Futura PT Cond", "Futura Condensed", "Barlow Condensed", "Arial Narrow", sans-serif;
  --script: "Calton Elegance Script", "Allison", cursive;
  --ui: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.5 var(--ui);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}
body.is-locked { overflow: hidden; }
button, input, output { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
[hidden] { display: none !important; }
em { font-family: var(--script); font-style: normal; font-weight: 400; text-transform: none; letter-spacing: .04em; color: var(--amber); font-size: 1.35em; line-height: .6; padding: 0 .08em; }

.eyebrow {
  font: 600 11px/1.2 var(--ui);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ───────── Stage ───────── */
.stage {
  position: fixed; inset: 0; overflow: hidden; background: #000;
  opacity: 0; transition: opacity 1.4s var(--ease);
}
body.is-live .stage { opacity: 1; }
.rig { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 50%; }
.scene, .fx { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(130% 100% at 50% 45%, transparent 58%, rgba(0, 0, 0, .55) 100%),
    linear-gradient(180deg, rgba(6, 4, 3, .55) 0%, transparent 15%, transparent 80%, rgba(6, 4, 3, .55) 100%);
}
.stage__grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* scroll track + snap points (touch screens: one swipe = the next table, never skipping one) */
.track { position: relative; width: 1px; pointer-events: none; }
.snap { position: absolute; left: 0; width: 1px; height: 1px; }
html.is-touch { scroll-snap-type: y mandatory; }
html.is-touch .snap { scroll-snap-align: start; scroll-snap-stop: always; }

/* Floating label that rides on top of the tracked booth */
.pin { position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; will-change: transform, opacity; --pin-rgb: var(--amber-rgb); }
.pin__stem {
  position: absolute; left: 0; bottom: 0; width: 1px; height: var(--stem, 0px);
  background: linear-gradient(to top, rgba(var(--pin-rgb), .95), rgba(var(--pin-rgb), 0));
}
.pin__stem::after {
  content: ""; position: absolute; left: -3px; bottom: -3px; width: 7px; height: 7px; border-radius: 50%;
  background: rgb(var(--pin-rgb)); box-shadow: 0 0 12px rgba(var(--pin-rgb), .95);
}
.pin__label {
  position: absolute; left: 0; bottom: var(--stem, 0px);
  transform: translate(-50%, -6px);
  display: flex; align-items: center; gap: 10px;
  padding: 5px 14px 5px 5px; border-radius: 999px; white-space: nowrap;
  background: rgba(14, 9, 7, .74);
  border: 1px solid rgba(var(--pin-rgb), .5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 26px rgba(var(--pin-rgb), .2);
  font: 600 13px/1 var(--ui); letter-spacing: .02em;
}
.pin__num {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgb(var(--pin-rgb)); color: #000; font: 700 13px/1 var(--num);
}
.pin__cap { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-weight: 500; }
.pin__cap::before {
  content: ""; width: 1px; height: 12px; background: var(--line-2); margin-right: 4px;
}

/* ───────── Hero (start of the walk) ───────── */
.hero {
  position: fixed; z-index: 5;
  left: clamp(20px, 6vw, 96px); right: 20px; bottom: clamp(28px, 10vh, 110px);
  max-width: 720px; pointer-events: none; opacity: 0;
}
.hero__title {
  font: 800 clamp(36px, 5.6vw, 84px)/.95 var(--display); text-transform: uppercase;
  letter-spacing: -.045em; margin: 16px 0 18px;
  text-shadow: 0 6px 50px rgba(0, 0, 0, .55);
}
.hero__title em {
  display: block; margin-top: .12em; font-size: .78em; color: var(--amber); letter-spacing: 0;
}
.hero__meta { color: var(--ink-2); font-size: 15px; }
.cue {
  display: flex; align-items: center; gap: 12px; margin-top: 30px;
  font: 600 11px/1 var(--ui); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3);
}
.cue__mouse { position: relative; width: 22px; height: 34px; border: 1.5px solid var(--line-2); border-radius: 12px; }
.cue__mouse i {
  position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: var(--amber); animation: cue 1.8s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ───────── HUD ───────── */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 3vw, 36px); pointer-events: none;
  opacity: 0; transform: translateY(-12px); transition: opacity .9s var(--ease), transform .9s var(--ease);
}
body.is-exploring .hud { opacity: 1; transform: none; }
.hud > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 14px; padding: 6px 0; }
.brand__word img { display: block; height: 26px; width: auto; }
@media (max-width: 640px) { .brand__word img { height: 18px; } }
.brand__zone {
  display: inline-flex; align-items: center; gap: 6px; padding-left: 14px; border-left: 1px solid var(--line-2);
  font: 600 12px/1 var(--ui); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: color .3s;
}
.brand__zone svg { width: 14px; height: 14px; }
.brand:hover .brand__zone { color: var(--amber); }
.hud__right { display: flex; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 999px;
  background: rgba(14, 9, 7, .55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  font: 600 13px/1 var(--ui); transition: border-color .3s, background .3s;
}
.chip:hover { border-color: rgba(var(--amber-rgb), .55); }
.chip svg { width: 16px; height: 16px; flex: none; }
.chip, .brand__zone { white-space: nowrap; }
#nightLabel { display: inline-flex; align-items: center; gap: 6px; }
#nightLabel svg { width: 15px; height: 15px; opacity: .75; }
.chip__sep { width: 1px; height: 14px; margin: 0 3px; background: var(--line-2); }
.chip b {
  display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--amber); color: #000; font-size: 11px;
}
.chip b:empty, .chip b[data-zero] { background: rgba(255, 255, 255, .12); color: var(--ink-2); }
.show-sm { display: none; }

/* ───────── Rail ───────── */
.rail {
  position: fixed; z-index: 15; right: clamp(12px, 2vw, 28px); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  opacity: 0; pointer-events: none; transition: opacity .9s var(--ease);
}
body.is-exploring .rail { opacity: 1; pointer-events: auto; }
.rail__line { position: absolute; left: 50%; top: 13px; bottom: 13px; width: 1px; background: var(--line); transform: translateX(-50%); }
.rail__fill {
  position: absolute; left: 0; top: 0; width: 100%; height: var(--fill, 0%);
  background: linear-gradient(var(--amber), var(--ember)); box-shadow: 0 0 8px rgba(var(--amber-rgb), .8);
}
.rail__dot { position: relative; width: 26px; height: 26px; display: grid; place-items: center; }
.rail__dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: #141010; border: 1.5px solid var(--ink-3); transition: all .4s var(--ease);
}
.rail__dot.is-passed::before { border-color: var(--amber); }
.rail__dot[data-status="taken"]::before { border-color: var(--coral); }
.rail__dot[data-status="mine"]::before { border-color: var(--mint); background: var(--mint); }
.rail__dot.is-active::before {
  width: 13px; height: 13px; background: var(--amber); border-color: var(--amber);
  box-shadow: 0 0 0 5px rgba(var(--amber-rgb), .15), 0 0 18px rgba(var(--amber-rgb), .85);
}
.rail__dot.is-active[data-status="taken"]::before { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 5px rgba(192, 87, 90, .15), 0 0 18px rgba(192, 87, 90, .8); }
.rail__dot.is-active[data-status="mine"]::before { background: var(--mint); border-color: var(--mint); box-shadow: 0 0 0 5px rgba(255, 255, 255, .15), 0 0 18px rgba(255, 255, 255, .8); }
.rail__label {
  position: absolute; right: 34px; top: 50%; transform: translate(8px, -50%); opacity: 0; pointer-events: none;
  white-space: nowrap; padding: 7px 10px; border-radius: 9px;
  background: rgba(14, 9, 7, .85); border: 1px solid var(--line);
  font: 600 12px/1 var(--ui); letter-spacing: .03em; transition: all .3s var(--ease);
}
.rail__label small { color: var(--ink-3); font-weight: 500; margin-left: 6px; }
.rail__dot:hover .rail__label, .rail__dot:focus-visible .rail__label { opacity: 1; transform: translate(0, -50%); }

/* ───────── Table card ───────── */
.card { position: fixed; left: 0; top: 0; z-index: 18; width: 372px; pointer-events: none; --accent-rgb: var(--amber-rgb); }
.card.is-visible { pointer-events: auto; }
.card__body {
  position: relative; padding: 22px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(38, 25, 19, .74), rgba(13, 9, 7, .7));
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transform: perspective(1000px) translateY(30px) rotateX(-16deg) scale(.97);
  transform-origin: 50% 100%;
  transition: opacity .45s var(--ease), transform .85s var(--ease);
}
.card.is-visible .card__body { opacity: 1; transform: perspective(1000px) translateY(0) rotateX(0) scale(1); }
.card__body::before {
  content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .95), transparent);
}
.card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.card__num {
  flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), .6); color: rgb(var(--accent-rgb));
  font: 700 24px/1 var(--num);
  box-shadow: inset 0 0 22px rgba(var(--accent-rgb), .14), 0 0 34px rgba(var(--accent-rgb), .14);
}
.card__num svg { width: 24px; height: 24px; }
.card__name { font: 800 24px/1.05 var(--display); letter-spacing: -.035em; text-transform: uppercase; margin-top: 6px; }
.card__name--sm { font-size: 22px; margin: 6px 0 2px; }
.card__facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.card__facts li {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
  font-size: 13px; line-height: 1.25; color: var(--ink-2);
}
.card__facts b { color: var(--ink); font-weight: 700; }
.card__facts svg { width: 17px; height: 17px; flex: none; color: rgb(var(--accent-rgb)); }
.card__note { color: var(--ink-3); font-size: 13px; margin-bottom: 12px; }
.card__list { display: grid; gap: 4px; margin: 2px 0 14px; }
.row {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 10px;
  padding: 7px 10px 7px 7px; border-radius: 12px; text-align: left; transition: background .25s;
}
.row:hover { background: rgba(255, 255, 255, .06); }
.row__num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-2); font: 700 12px/1 var(--num);
}
.row__name { font-weight: 600; font-size: 13.5px; }
.row__cap { color: var(--ink-3); font-size: 12px; }
.row i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.row[data-status="taken"] i { background: var(--coral); box-shadow: 0 0 8px var(--coral); }
.row[data-status="mine"] i { background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.status { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px var(--mint); }
.status[data-tone="taken"] i { background: var(--coral); box-shadow: 0 0 10px var(--coral); }
.status[data-tone="warn"] i { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.status[data-tone="info"] i { background: var(--ember); box-shadow: 0 0 10px var(--ember); }
.card__ask { font: 500 21px/1.3 var(--body); margin: 14px 0 16px; }
.card__actions { display: flex; gap: 10px; }

.btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  font: 700 13px/1.1 var(--ui); letter-spacing: .04em; text-align: center;
  transition: transform .2s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--red); color: #fff;
  box-shadow: 0 10px 30px rgba(111, 17, 19, .45), inset 0 0 0 1px rgba(231, 199, 114, .35);
}
.btn--primary:hover { background: var(--amber); color: #000; box-shadow: 0 14px 44px rgba(231, 199, 114, .3); }
.btn--ghost { border: 1px solid var(--line-2); }
.btn--ghost:hover { border-color: rgba(var(--amber-rgb), .6); }
.btn--lg { width: 100%; min-height: 56px; font-size: 14px; }
.btn kbd { font: 600 10px/1 var(--ui); padding: 3px 5px; border-radius: 5px; border: 1px solid currentColor; opacity: .55; }

.field { display: block; margin-bottom: 12px; }
.field > span {
  display: block; margin-bottom: 7px;
  font: 600 10.5px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3);
}
.field input {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; outline: none;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.field input:focus { border-color: rgba(var(--amber-rgb), .75); background: rgba(255, 255, 255, .08); }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.field--row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.field--row > span { margin: 0; }
.times { display: flex; flex-wrap: wrap; gap: 6px; }
.time {
  height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  font: 600 12px/1 var(--ui); color: var(--ink-2); transition: all .25s var(--ease);
}
.time:hover { border-color: var(--line-2); }
.time[aria-pressed="true"] { background: rgba(var(--amber-rgb), .16); border-color: var(--amber); color: var(--ink); }

.stepper { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); }
.stepper button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; transition: background .2s; }
.stepper button:hover { background: rgba(255, 255, 255, .08); }
.stepper output { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.tether { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 17; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .45s var(--ease); }
.tether.is-visible { opacity: 1; }
.tether path { fill: none; stroke: rgba(var(--amber-rgb), .6); stroke-width: 1; stroke-dasharray: 2 5; }
.tether circle { fill: var(--amber); }

/* ───────── Lobby: the club entrance (area → night) ───────── */
.lobby {
  position: fixed; inset: 0; z-index: 40; display: flex; align-items: safe center;
  padding: clamp(20px, 6vw, 110px); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s;
}
.lobby.is-open { opacity: 1; visibility: visible; }
.lobby__video {
  position: fixed; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 56% 50%;
  background: #000; transform: scale(1.06); transition: transform 8s var(--ease), opacity .6s;
}
.lobby.is-ready .lobby__video { transform: scale(1); }
.lobby__shade {
  position: fixed; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .84) 34%, rgba(0, 0, 0, .25) 62%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 40%);
}
.lobby.is-modal { background: rgba(8, 5, 4, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lobby.is-modal .lobby__video, .lobby.is-modal .lobby__shade, .lobby.is-modal .floors { opacity: 0; }
.lobby.is-modal .lobby__panel {
  padding: 28px; border-radius: 26px; border: 1px solid var(--line);
  background: rgba(16, 11, 9, .84); box-shadow: 0 40px 100px rgba(0, 0, 0, .6);
}
.lobby.is-modal .back { display: none; }
.lobby__panel { position: relative; width: min(540px, 100%); }
.lobby.is-ready .lobby__panel:not([hidden]) { animation: panelIn .7s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(-18px); } }
.lobby__panel > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.lobby.is-ready .lobby__panel > * { opacity: 1; transform: none; }
.lobby.is-ready .lobby__panel > :nth-child(2) { transition-delay: .06s; }
.lobby.is-ready .lobby__panel > :nth-child(3) { transition-delay: .12s; }
.lobby.is-ready .lobby__panel > :nth-child(4) { transition-delay: .18s; }
.lobby.is-ready .lobby__panel > :nth-child(5) { transition-delay: .24s; }
.lobby__title { font: 800 clamp(30px, 3.8vw, 54px)/1 var(--display); letter-spacing: -.045em; text-transform: uppercase; margin: 14px 0 26px; }
.lobby__title em { color: var(--amber); font-size: 1.04em; white-space: nowrap; }
.lobby__note { margin-top: 16px; color: var(--ink-3); font-size: 13px; }

.zones { display: grid; gap: 10px; perspective: 900px; }
.zone {
  --tx: 0deg; --ty: 0deg;
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  width: 100%; padding: 14px 18px 14px 14px; border-radius: 18px; text-align: left;
  background: rgba(12, 6, 6, .55); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform .5s var(--ease), border-color .3s, background .3s, box-shadow .4s;
}
.zone:hover { --tx: -2deg; border-color: var(--line-2); }
.zone__num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  border: 1px solid var(--line-2); font: 700 18px/1 var(--num); color: var(--ink-2);
}
.zone__area { display: block; font: 700 10px/1 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.zone__name { display: block; margin: 6px 0 4px; font: 800 19px/1.1 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.zone__blurb { display: block; font-size: 12.5px; color: var(--ink-3); }
.zone__side { display: flex; align-items: center; gap: 8px; white-space: nowrap; font: 700 11px/1 var(--ui); letter-spacing: .08em; }
.zone__side svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.zone[data-status="open"] { border-color: rgba(var(--amber-rgb), .45); background: linear-gradient(120deg, rgba(var(--amber-rgb), .14), rgba(12, 6, 6, .6) 60%); }
.zone[data-status="open"] .zone__num { border-color: var(--amber); color: var(--amber); box-shadow: 0 0 24px rgba(var(--amber-rgb), .25); }
.zone[data-status="open"] .zone__side { color: var(--amber); }
.zone[data-status="open"]:hover { box-shadow: 0 18px 50px rgba(231, 199, 114, .18); border-color: var(--amber); }
.zone[data-status="open"]:hover .zone__side svg { transform: translateX(4px); }
.zone[data-status="soon"] { cursor: default; }
.zone[data-status="soon"] .zone__name, .zone[data-status="soon"] .zone__num { color: var(--ink-3); }
.zone[data-status="soon"] .zone__side {
  padding: 7px 10px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--ink-3); text-transform: uppercase;
}
.zone.is-nudged { animation: nudge .45s var(--ease); }
@keyframes nudge { 20% { transform: translateX(-6px); } 45% { transform: translateX(5px); } 70% { transform: translateX(-3px); } }

/* schematic of the two floors; the hovered area lifts out of its level */
.floors {
  position: fixed; right: clamp(24px, 5vw, 80px); bottom: clamp(24px, 6vh, 70px);
  width: 260px; height: 230px; perspective: 1100px; pointer-events: none;
  transition: opacity .6s;
}
.floors__stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg); }
.floors__level {
  position: absolute; left: 30px; top: 40px; width: 200px; height: 150px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; background: rgba(0, 0, 0, .45);
  transform-style: preserve-3d;
}
.floors__level--upper { transform: translateZ(84px); }
.floors__tag {
  position: absolute; left: -2px; top: -22px; font: 700 9px/1 var(--ui); letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-3);
}
.slab {
  position: relative; display: grid; place-items: center; border-radius: 6px; text-align: center;
  border: 1px dashed rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .03);
  font: 700 9px/1.2 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  transition: transform .5s var(--ease), background .4s, border-color .4s, box-shadow .4s, color .4s;
}
.slab[data-status="open"] { border-style: solid; border-color: rgba(var(--amber-rgb), .55); color: var(--amber); background: rgba(var(--amber-rgb), .1); }
.slab.is-lit {
  transform: translateZ(18px); color: #000; border-style: solid; border-color: var(--amber);
  background: rgba(var(--amber-rgb), .85); box-shadow: 0 0 30px rgba(var(--amber-rgb), .6);
}
.slab[data-status="soon"].is-lit { background: rgba(255, 255, 255, .6); border-color: var(--ink); box-shadow: 0 0 24px rgba(255, 255, 255, .3); }

.back {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px;
  font: 700 11px/1 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2);
}
.back svg { width: 16px; height: 16px; }
.back:hover { color: var(--amber); }

.dates {
  display: flex; gap: 10px; overflow-x: auto; padding: 12px 4px 14px; margin: 0 -4px 6px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 84%, transparent); mask-image: linear-gradient(90deg, #000 84%, transparent);
}
.dates::-webkit-scrollbar { display: none; }
.date {
  position: relative; flex: none; scroll-snap-align: start;
  width: 72px; height: 96px; border-radius: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.date:hover { border-color: var(--line-2); transform: translateY(-2px); }
.date small { font: 700 10px/1 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.date strong { font: 700 30px/1 var(--num); }
.date[aria-selected="true"] {
  border-color: var(--amber); background: rgba(var(--amber-rgb), .1);
  box-shadow: 0 0 0 4px rgba(var(--amber-rgb), .08), 0 14px 34px rgba(231, 199, 114, .16);
}
.date[aria-selected="true"] strong { color: var(--amber); }
.date__tag {
  position: absolute; top: -8px; padding: 4px 7px; border-radius: 999px;
  font: 800 8.5px/1 var(--ui); letter-spacing: .12em; text-transform: uppercase;
  background: var(--ember); color: #000;
}
.date__tag--tonight { background: var(--ink); }
.planner__summary { min-height: 22px; margin-bottom: 18px; color: var(--ink-2); font-size: 14px; }
.planner__summary b { color: var(--amber); font-weight: 700; }
.planner__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; margin-bottom: 26px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.planner__note { margin-top: 16px; color: var(--ink-3); font-size: 13px; max-width: 440px; }

/* ───────── Requests drawer ───────── */
.scrim { position: fixed; inset: 0; z-index: 29; background: rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 30; width: min(420px, 100vw);
  display: flex; flex-direction: column; padding: 22px;
  background: rgba(14, 9, 7, .9); border-left: 1px solid var(--line);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transform: translateX(102%); transition: transform .6s var(--ease);
}
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.drawer h3 { font: 800 21px/1 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.drawer__list { overflow-y: auto; display: grid; gap: 10px; align-content: start; }
.drawer__empty { color: var(--ink-3); padding: 20px 0; }
.req {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
}
.req__num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6); color: var(--mint); font: 700 16px/1 var(--num);
}
.req__title { font-weight: 700; }
.req__meta { color: var(--ink-3); font-size: 12.5px; }
.req__go { text-align: left; }
.req__x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); color: var(--ink-3); }
.req__x:hover { color: var(--coral); border-color: var(--coral); }

/* ───────── Loader ───────── */
.loader {
  position: fixed; inset: 0; z-index: 50; overflow: hidden;
  display: grid; place-items: center; align-content: center; gap: 30px;
  background: rgba(0, 0, 0, .72);
  -webkit-backdrop-filter: blur(28px) saturate(1.2); backdrop-filter: blur(28px) saturate(1.2);
  transition: opacity 1.2s var(--ease), visibility 1.2s, -webkit-backdrop-filter 1.2s, backdrop-filter 1.2s;
}
.loader.is-done { opacity: 0; visibility: hidden; -webkit-backdrop-filter: blur(0); backdrop-filter: blur(0); }
.loader.is-done .loader__word, .loader.is-done .loader__meta { transform: scale(1.08); transition: transform 1.2s var(--ease); }
.loader__word {
  position: relative; display: block;
  font: 800 clamp(60px, 13vw, 170px)/1 var(--display); letter-spacing: -.05em; text-transform: uppercase;
  letter-spacing: .3em; margin-right: -.3em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}
.loader__word::after {
  content: attr(data-text); position: absolute; inset: 0;
  -webkit-text-stroke: 0;
  background: linear-gradient(180deg, #fff 0%, #E7C772 50%, #b8923f 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0);
  filter: drop-shadow(0 0 26px rgba(231, 199, 114, .5));
}
.loader__meta {
  position: relative; display: flex; align-items: baseline; gap: 14px;
  font: 600 11px/1 var(--ui); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-3);
}
.loader__meta em { font-size: 18px; letter-spacing: .01em; text-transform: none; color: var(--ink-2); }
.loader__pct { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: right; }

/* ───────── Toast ───────── */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px;
  background: rgba(12, 6, 6, .92); border: 1px solid rgba(255, 255, 255, .45);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 600; pointer-events: none;
  opacity: 0; transform: translate(-50%, 18px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ───────── Small screens: bottom sheet card, horizontal rail ───────── */
@media (max-width: 760px), (orientation: portrait) and (max-width: 1024px) {
  .card {
    left: 10px !important; right: 10px; top: auto !important; width: auto;
    /* --kb = height of the on-screen keyboard (set from visualViewport) */
    bottom: calc(10px + env(safe-area-inset-bottom) + var(--kb, 0px));
  }
  .card__body { padding: 18px; max-height: calc(var(--vvh, 100dvh) - 96px); overflow-y: auto; overscroll-behavior: contain; }
  .field input { height: 48px; font-size: 16px; } /* 16px stops iOS from zooming into the field */
  .btn { min-height: 50px; }
  .time { height: 40px; padding: 0 14px; }
  .stepper button { width: 40px; height: 40px; }
  .chip { height: 40px; }
  .rail__dot { width: 30px; height: 30px; }
  .card__head { margin-bottom: 14px; }
  .card__num { width: 48px; height: 48px; font-size: 18px; }
  .card__name { font-size: 22px; }
  .card__note { display: none; }
  .card__ask { font-size: 19px; margin: 10px 0 14px; }
  .card__form .card__note { display: block; }
  .tether { display: none; }
  .rail { top: 74px; right: auto; left: 50%; transform: translateX(-50%); flex-direction: row; gap: 8px; }
  .rail__line { left: 15px; right: 15px; top: 50%; bottom: auto; width: auto; height: 1px; transform: translateY(-50%); }
  .rail__fill { height: 100%; width: var(--fill, 0%); }
  .rail__label { display: none; }
  .hud { padding: 14px 14px; }
  .brand { flex-direction: column; align-items: flex-start; gap: 5px; }
  .brand__word { font-size: 15px; }
  .brand__zone { padding-left: 0; border: 0; font-size: 10px; }
  .hide-sm { display: none; }
  .show-sm { display: block; }
  .hero { bottom: calc(40px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1120px) { .floors { display: none; } }
@media (max-height: 760px) and (min-width: 761px) {
  .lobby { padding-top: 28px; padding-bottom: 28px; }
  .lobby__title { font-size: 40px; margin: 10px 0 18px; }
  .zones { gap: 8px; }
  .zone { padding: 10px 14px 10px 10px; }
  .zone__num { width: 40px; height: 40px; border-radius: 12px; }
  .zone__name { font-size: 18px; margin: 4px 0 2px; }
  .zone__blurb, .lobby__note { display: none; }
  .dates { padding-top: 10px; }
  .planner__row { margin-bottom: 18px; padding: 10px 0; }
  .btn--lg { min-height: 50px; }
}
@media (max-width: 760px) {
  .lobby { align-items: flex-end; padding: 18px 16px calc(20px + env(safe-area-inset-bottom)); background: #000; }
  /* the whole vertical sign fits in the top half, above the panel */
  .lobby__video { bottom: auto; height: 56vh; height: 56svh; }
  .lobby__shade { background: linear-gradient(0deg, #000 0%, #000 44%, rgba(0, 0, 0, .3) 62%, rgba(0, 0, 0, .1) 100%); }
  .lobby__title { margin-bottom: 18px; font-size: 34px; }
  .lobby.is-modal .lobby__panel { padding: 20px; }
  .floors { display: none; }
  .zones { gap: 8px; }
  .zone { padding: 11px 14px 11px 11px; gap: 12px; }
  .zone__num { width: 38px; height: 38px; font-size: 14px; border-radius: 12px; }
  .zone__name { font-size: 18px; margin: 4px 0 2px; }
  .zone__blurb { display: none; }
  .zone[data-status="soon"] .zone__side { padding: 6px 8px; font-size: 9.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage__grain, .cue__mouse i { animation: none; }
  .lobby__video { display: none; }
  .lobby { background: #000 url(../media/entrance.jpg) 56% 50% / cover; }
}
