/* Midnight Brag landing page. AFTER HOURS v2 tokens (brief section 3.4). One easing curve, transform and opacity only. */

@font-face { font-family: "Oswald Fallback"; src: local("Arial Narrow"), local("ArialNarrow"), local("Arial"); size-adjust: 92%; ascent-override: 128%; descent-override: 31%; }
@font-face { font-family: "Sora Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 108%; ascent-override: 93%; descent-override: 25%; }

:root {
  --ground: #10141b; --abyss: #0a0d12; --surface: #202833; --well: #19212b; --hover: #28333e;
  --edge: #343d47; --edge-strong: #657382;
  --ink: #f4f1e7; --ink-2: #b9c4ce; --ink-3: #8d98a4;
  --gold: #f2c44b; --gold-deep: #d9a92f; --gold-tint: rgba(242, 196, 75, .18);
  --live: #6fbf8a; --alert: #c0564a; --alert-text: #e5a8a5;
  --scrim: rgba(10, 13, 18, .66);
  --ease: cubic-bezier(.19, 1, .22, 1);
  --f-display: "Oswald", "Oswald Fallback", "Arial Narrow", sans-serif;
  --f-text: "Sora", "Sora Fallback", system-ui, sans-serif;
  --gutter: 16px; --max: 1280px; --media-max: 1440px;
  --sec-pad: clamp(72px, 10vw, 144px);
  --head-h: 64px;
  color-scheme: dark;
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 900px) { :root { --head-h: 72px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 clamp(1rem, .95rem + .25vw, 1.125rem)/1.65 var(--f-text);
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--head-h) + 8px); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 32px; height: 32px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; padding: 12px 18px;
  background: var(--gold); color: var(--ground); font: 600 .9375rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; transform: translateY(-200%);
}
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Type roles */
.eyebrow, .chip, .tag, .status, .foot-h, .roster-caps, .read span, .callout-key, figcaption {
  font: 600 .75rem/1.3 var(--f-text); letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow { color: var(--gold); margin: 0 0 16px; font-size: .8125rem; }
h2 { font: 600 clamp(2rem, 1.2rem + 3vw, 3.75rem)/1 var(--f-display); letter-spacing: .01em; margin-bottom: 24px; text-wrap: balance; }
h3 { font: 600 clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)/1.1 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.sec p:not([class]) { max-width: 62ch; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px;
  font: 600 .9375rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border-radius: 2px; border: 1.5px solid transparent; cursor: pointer;
  transition: none;
}
.btn-primary { background: var(--gold); color: var(--ground); }
.btn-primary:hover { background: var(--gold-deep); }
.btn-primary:disabled { background: var(--surface); color: var(--ink-3); border-color: var(--edge-strong); cursor: not-allowed; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: rgba(244, 241, 231, .08); }

/* Chips */
.chip, .tag, .status {
  display: inline-flex; align-items: center; gap: 8px; min-height: 28px; padding: 4px 12px;
  border: 1px solid var(--edge-strong); border-radius: 2px; color: var(--ink-2); background: rgba(10, 13, 18, .55);
}
.chip .ic, .tag .ic, .status .ic { width: 14px; height: 14px; }
.status.live { border-color: var(--gold); color: var(--gold); }
.tag { margin: 0; background: transparent; color: var(--ink-3); font-size: .75rem; min-height: 24px; padding: 2px 10px; }

/* Framed screenshot: 1.5 px gold hairline plus four 8 px corner ticks */
.frame { position: relative; border: 1.5px solid rgba(242, 196, 75, .55); border-radius: 2px; background: var(--well); }
.frame picture, .frame img { border-radius: 1px; width: 100%; }
.frame > picture { overflow: hidden; }
.frame::after {
  content: ""; position: absolute; inset: -5px; pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) left top / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left top / 2px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right top / 2px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) left bottom / 2px 8px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 8px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right bottom / 2px 8px no-repeat;
}
.frame figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: rgba(10, 13, 18, .82); color: var(--ink); }

/* Card */
.card { background: var(--surface); border: 1px solid var(--edge); border-radius: 2px; padding: 24px; transition: none; }
.card:hover { border-color: rgba(242, 196, 75, .4); }

/* Wordmark */
.wordmark { font: 600 1.375rem/1 var(--f-display); letter-spacing: .04em; text-decoration: none; min-width: 0; overflow-wrap: anywhere; }
.wm-a { color: var(--ink); }
.wm-b { color: var(--gold); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.header-bar {
  position: relative; display: flex; align-items: center; gap: 16px; height: var(--head-h);
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) 0 max(var(--gutter), env(safe-area-inset-left));
}
.header-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(16, 20, 27, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--edge); transition: opacity 300ms var(--ease);
}
.site-header.is-scrolled .header-bar::before, .no-js .header-bar::before { opacity: 1; }
.header-bar .wordmark { margin-right: auto; font-size: 1.25rem; }
.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--ink-2);
  font: 600 .8125rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; transition: none;
}
.nav a:hover { color: var(--gold); }
.btn-head { min-height: 44px; padding: 0 12px; font-size: .75rem; letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 899px) { .header-bar { gap: 10px; } .header-bar .wordmark { font-size: 1.0625rem; } }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
  background: transparent; color: var(--ink); border: 1px solid var(--edge-strong); border-radius: 2px; cursor: pointer;
}
.menu-btn .ic { width: 22px; height: 22px; }
.no-js .menu-btn { display: none; }
@media (max-width: 379px) { .btn-head { display: none; } }
@media (min-width: 900px) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .btn-head { padding: 0 20px; font-size: .8125rem; letter-spacing: .08em; }
}

.sheet {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; gap: 24px;
  padding: 0 max(var(--gutter), env(safe-area-inset-right)) max(32px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: var(--ground); overflow-y: auto;
}
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: var(--head-h); flex: none; }
.sheet-nav li { border-bottom: 1px solid var(--edge); }
.sheet-nav a { display: flex; align-items: center; min-height: 64px; text-decoration: none; font: 600 2rem/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.sheet-nav a:hover { color: var(--gold); }
.sheet .btn { align-self: stretch; }
@media (min-width: 900px) { .sheet { display: none !important; } }


/* Website v2: the footage sits in reserved boxes; copy never covers the frames. */
.sec { padding: var(--sec-pad) 0; border-top: 1px solid var(--edge); }
.section-head { margin-bottom: 48px; }
.section-head h2 { max-width: 24ch; }
.section-head .lead { margin-bottom: 0; }
.section-note { color: var(--ink-2); max-width: 65ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.text-link, .scroll-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 5px; font-size: .875rem; }
.hero-v2 { position: relative; isolation: isolate; min-height: min(920px, 100svh); padding: calc(var(--head-h) + 64px) 0 32px; overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.hero-v2::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ground), rgba(16,20,27,.35)), linear-gradient(0deg, var(--ground), transparent 50%); }
.hero-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px 64px; align-items: center; }
.hero-copy { padding: 12px 0 16px; }
.hero-copy .eyebrow { font-size: .75rem; }
.hero-wordmark { width: min(100%, 340px); height: auto; }
.subtitle { display: block; margin-top: 20px; font: 500 1.75rem/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .32em; color: var(--ink); }
.hero-line { color: var(--ink-2); font-size: clamp(1.125rem, 1.6vw, 1.375rem); margin: 28px 0 32px; line-height: 1.6; }
.hero-reel { min-width: 0; }
.hero-reel .film { border-color: var(--edge-strong); }
.reel-note { margin: 20px 0 0; color: var(--ink-2); font-size: .8125rem; letter-spacing: .02em; }
.hero-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; border-top: 1px solid var(--edge-strong); padding-top: 28px; margin-top: 16px; }
.store-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.store-chips li { display: flex; align-items: center; gap: 12px; min-height: 42px; border: 1px solid var(--edge-strong); padding: 8px 14px; font-size: .8125rem; font-weight: 600; }
.store-chips span { font-size: .75rem; color: var(--ink-2); font-weight: 400; }
.store-chips li.live { border-color: var(--gold); }
.store-chips li.live a { display: flex; flex-direction: inherit; align-items: inherit; gap: inherit; color: inherit; text-decoration: none; }
.store-chips li.live span { color: var(--gold); }
.store-chips li.live:hover { background: rgba(244, 241, 231, .06); }
a.status { text-decoration: none; }
.scroll-link { font-size: .75rem; color: var(--ink-2); text-decoration: none; }
.film, .still { min-width: 0; background: var(--well); border: 1px solid var(--edge); border-radius: 2px; overflow: hidden; }
.film { position: relative; }
.loop-video { position: absolute; left: 0; top: 0; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: transparent; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.loop-video.is-playing { opacity: 1; }
.film > img, .still > img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--well); }
.film figcaption, .still figcaption { display: flex; align-items: center; gap: 10px; padding: 13px 16px; min-height: 42px; color: var(--ink-2); background: var(--abyss); font-size: .75rem; letter-spacing: .1em; }
.film-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.film-type { margin-left: auto; color: var(--ink-3); font-size: .75rem; }
.play-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: start; }
.play-still { margin-top: 24px; }
.rule-beats { display: grid; }
.rule-beats li { display: flex; gap: 24px; border-top: 1px solid var(--edge); padding: 24px 0; }
.rule-beats li:first-child { padding-top: 0; border-top: 0; }
.rule-beats > li > span { color: var(--gold); font: 500 1.25rem/1.5 var(--f-display); }
.rule-beats h3 { font-size: 1.625rem; margin-bottom: 10px; text-transform: none; }
.rule-beats p { color: var(--ink-2); font-size: .9375rem; margin: 0; }
.ladder-v2 { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--edge); }
.ladder-intro { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 24px; align-items: start; margin-bottom: 32px; }
.ladder-intro .eyebrow { margin-top: 8px; }
.ladder-intro h3 { font-size: 1.75rem; text-transform: none; }
.ladder-intro p:last-child { color: var(--ink-2); font-size: .875rem; margin: 0; }
.hand-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); border-top: 1px solid var(--edge-strong); border-bottom: 1px solid var(--edge); }
.hand-grid li { position: relative; padding: 20px 16px; border-left: 1px solid var(--edge); }
.hand-grid li:first-child { border-left: 0; }
.hand-number { color: var(--ink-3); font: 500 1rem/1 var(--f-display); }
.mini-cards { display: block; color: var(--gold); font: 600 clamp(.875rem,1.25vw,1.125rem)/1.5 var(--f-display); white-space: nowrap; margin: 20px 0 12px; }
.hand-grid h4 { min-height: 40px; font: 500 1.125rem/1.2 var(--f-display); }
.hand-grid p { margin: 8px 0 0; font-size: .75rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hand-grid p span { display: block; color: var(--ink-3); margin-top: 4px; }
.ladder-note { color: var(--ink-3); font-size: .75rem; margin: 16px 0 0; }
.showdown-row, .media-pair, .screen-strip, .phone-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.showdown-row { margin-top: 48px; }
.clubs-section, .homes-section, .circuit-section { background: var(--abyss); }
.clubs-section .section-note { margin: -20px 0 48px; }
.venue-panel { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; padding: 40px 0; border-top: 1px solid var(--edge); }
.venue-panel:last-child { padding-bottom: 0; }
.venue-hero { position: relative; align-self: stretch; min-width: 0; background: var(--well); overflow: hidden; }
.venue-hero > img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; }
.venue-index { position: absolute; left: 16px; top: 16px; padding: 8px 12px; background: rgba(10,13,18,.86); color: var(--gold); font: 500 1.5rem/1 var(--f-display); border: 1px solid var(--edge-strong); }
.venue-info { display: grid; grid-template-columns: 1fr; gap: 16px; align-content: start; min-width: 0; }
.venue-info .eyebrow { margin: 0; }
.venue-info h3 { font-size: clamp(1.75rem,2.3vw,2.5rem); }
.venue-info > p:not(.eyebrow) { color: var(--ink-2); margin: 0; font-size: .9375rem; }
.portraits { display: flex; flex-wrap: wrap; gap: 20px; margin: 4px 0; }
.host-portrait { display: flex; align-items: center; gap: 12px; max-width: 100%; }
.host-portrait img { width: 80px; height: 100px; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--edge); }
.host-portrait figcaption { max-width: 9ch; font-size: .75rem; color: var(--ink); line-height: 1.6; letter-spacing: .08em; }
.orbit { width: 260px; max-width: 100%; }
.orbit figcaption { padding: 10px 12px; font-size: .75rem; }
.live-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: start; }
.live-notes { display: grid; gap: 24px; }
.live-notes .eyebrow { font-size: .75rem; display: block; margin-bottom: 8px; }
.live-notes h3 { font-size: 1.5rem; margin-bottom: 12px; text-transform: none; }
.live-notes p { color: var(--ink-2); font-size: .9375rem; margin: 0; }
.media-pair { margin-top: 32px; }
.home-gallery { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; }
.home-gallery figcaption { padding: 10px 12px; font-size: .75rem; min-height: 52px; letter-spacing: .06em; }
.home-tour-row, .heat-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; margin-top: 48px; }
.heat-layout h3 { margin-bottom: 24px; font-size: 2.5rem; text-transform: none; }
.heat-layout p:not(.eyebrow) { color: var(--ink-2); }
.circuit-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px; }
.feature-copy { padding: 32px 0; }
.feature-copy h3 { margin-bottom: 20px; font-size: 2rem; text-transform: none; }
.feature-copy p:not(.eyebrow) { color: var(--ink-2); font-size: .9375rem; }
.feature-copy p:last-child { margin-bottom: 0; }
.phone-pair { margin-top: 48px; }
.phone-frame { border: 8px solid #05070b; border-radius: 24px; padding: 4px 18px; background: #05070b; }
.phone-frame img { width: 100%; height: auto; aspect-ratio: 2556/1179; border-radius: 3px; }
.phone-pair figcaption { color: var(--ink-3); font-size: .75rem; margin-top: 16px; }
.platforms-v2 { background: var(--well); }
.platform-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--edge-strong); }
.platform-grid > li { padding: 32px 28px; border-bottom: 1px solid var(--edge-strong); border-left: 1px solid var(--edge); display: flex; flex-direction: column; align-items: start; }
.platform-grid > li:first-child { border-left: 0; padding-left: 0; }
.platform-num { font: 500 1rem/1 var(--f-display); color: var(--gold); margin-bottom: 24px; }
.platform-grid h3 { margin-bottom: 20px; }
.platform-grid p { color: var(--ink-2); font-size: .9375rem; flex: 1; }
.platform-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 48px; }
.platform-plans h3 { text-transform: none; margin-bottom: 16px; }
.platform-plans p:not(.eyebrow) { color: var(--ink-2); font-size: .9375rem; }
.signup-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.signup-v2 h2 { font-size: clamp(3rem,5vw,5rem); }
.signup-panel .tag { margin: 0 0 24px; color: var(--gold); }
.signup-form { margin: 24px 0; }
.signup-form input[type=email] { min-width: 0; }
.signup-form input:disabled { opacity: .7; cursor: not-allowed; }
.signup-form .btn { font-size: .75rem; padding: 0 16px; }
.faq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; }
.faq summary { font-size: 1.375rem; text-transform: none; }
.music-credit { max-width: 100ch; font-size: .75rem; line-height: 1.7; margin-bottom: 24px; color: var(--ink-2); }
.tm { font-size: .75rem; }
/* Keep the established AFTER HOURS palette in both system colour schemes. */
@media (prefers-color-scheme: light) { :root { color-scheme: dark; } }
@media (prefers-reduced-motion: no-preference) { html:not([data-motion=off]) .btn { transition: transform 220ms var(--ease); } html:not([data-motion=off]) .btn:not(:disabled):hover { transform: translateY(-1px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none; } }
html[data-motion=off] *, html[data-motion=off] *::before, html[data-motion=off] *::after { scroll-behavior: auto !important; animation: none !important; transition: none; }
@media (max-width: 1199px) {
  .hero-layout { gap: 32px; }
  .play-layout { gap: 32px; }
  .hand-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hand-grid li:nth-child(4) { border-left: 0; }
  .hand-grid li:nth-child(n+4) { border-top: 1px solid var(--edge); }
  .home-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mini-cards { font-size: 1.125rem; }
  .venue-panel { grid-template-columns: 1fr .8fr; gap: 24px; }
  .live-layout { gap: 32px; }
}
@media (max-width: 899px) {
  .hero-v2 { padding-top: calc(var(--head-h) + 40px); }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .hero-wordmark { width: 240px; }
  .hero-reel { max-width: 640px; }
  .hero-bottom { margin-top: 0; }
  .play-layout, .live-layout, .home-tour-row, .heat-layout, .signup-layout, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .rule-beats { margin-top: 16px; }
  .venue-panel { grid-template-columns: 1fr; gap: 24px; }
  .venue-hero > img { height: auto; }
  .venue-info { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
  .venue-info > .eyebrow, .venue-info > h3, .venue-info > p { grid-column: 1/-1; }
  .orbit { width: 100%; }
  .portraits { align-content: start; }
  .circuit-grid { gap: 24px; }
  .platform-grid > li { padding: 24px 16px; }
  .platform-grid h3 { font-size: 1.625rem; }
  .platform-plans { gap: 32px; }
  .signup-panel { padding: 24px; }
  .ladder-intro { grid-template-columns: 1fr 2fr; }
  .ladder-intro .eyebrow { grid-column: 1/-1; margin-bottom: 0; }
  .footer-nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .no-js .nav { display: block; }
  .no-js .header-bar { height: auto; min-height: var(--head-h); flex-wrap: wrap; }
  .no-js .nav ul { flex-wrap: wrap; }
}
@media (max-width: 599px) {
  .hero-v2 { padding-top: 96px; padding-bottom: 24px; }
  .hero-layout { gap: 24px; }
  .hero-copy { padding: 0; }
  .hero-wordmark { width: 188px; }
  .hero-copy .eyebrow { font-size: .75rem; margin-bottom: 20px; }
  .subtitle { font-size: 1.25rem; margin-top: 16px; }
  .hero-line { font-size: 1.0625rem; margin: 20px 0 24px; }
  .actions { gap: 20px; }
  .hero-copy .btn { padding: 0 20px; font-size: .8125rem; }
  .text-link { font-size: .8125rem; }
  .reel-note { margin-top: 12px; font-size: .75rem; }
  .hero-bottom { padding-top: 20px; }
  .store-chips { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); width: 100%; gap: 8px; }
  .store-chips li { flex-direction: column; align-items: start; padding: 10px 8px; gap: 6px; font-size: .75rem; }
  .store-chips span { font-size: .75rem; }
  .scroll-link { display: none; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 2.25rem; }
  .film figcaption, .still figcaption { font-size: .75rem; padding: 12px; letter-spacing: .08em; }
  .ladder-v2 { margin-top: 40px; padding-top: 32px; }
  .ladder-intro { grid-template-columns: 1fr; gap: 16px; }
  .hand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hand-grid li:nth-child(4) { border-left: 1px solid var(--edge); }
  .hand-grid li:nth-child(odd) { border-left: 0; }
  .hand-grid li:nth-child(n+3) { border-top: 1px solid var(--edge); }
  .hand-grid h4 { min-height: 28px; }
  .showdown-row, .media-pair, .circuit-grid, .screen-strip, .phone-pair, .platform-plans { grid-template-columns: 1fr; }
  .venue-info { grid-template-columns: 1fr; }
  .venue-info > * { grid-column: 1/-1; }
  .venue-panel { padding: 32px 0; }
  .venue-info h3 { font-size: 2rem; }
  .portraits { margin-bottom: 8px; gap: 12px; }
  .orbit { max-width: 270px; }
  .host-portrait img { width: 64px; height: 80px; }
  .host-portrait figcaption { font-size: .75rem; }
  .home-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .home-gallery figcaption { min-height: 54px; font-size: .75rem; }
  .home-tour-row, .heat-layout { margin-top: 32px; }
  .feature-copy { padding-top: 24px; }
  .circuit-grid { gap: 48px; }
  .phone-frame { border-width: 6px; border-radius: 18px; padding: 2px 10px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-grid > li, .platform-grid > li:first-child { border-left: 0; padding: 28px 0; }
  .platform-num { margin-bottom: 16px; }
  .platform-grid h3 { font-size: 2rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}

/* 08 Signup */
.signup .sec-bg::after { background: rgba(16, 20, 27, .78); }
.signup-grid { display: grid; gap: 40px; align-items: center; }
.closing-line { margin: 0; font: 600 clamp(2.75rem, 1.4rem + 4.6vw, 6rem)/.94 var(--f-display); text-transform: uppercase; color: var(--ink); }
.signup-panel { background: rgba(16, 20, 27, .86); border: 1px solid var(--edge); border-radius: 2px; padding: clamp(24px, 4vw, 48px); }
.signup-panel > p:not([class]) { color: var(--ink-2); }
.signup-form { margin: 28px 0 24px; }
.signup-form label { display: block; margin-bottom: 8px; font: 600 .8125rem/1.3 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.field-row { display: flex; flex-direction: column; gap: 12px; }
.signup-form input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 16px; background: var(--well); color: var(--ink);
  border: 1px solid var(--edge-strong); border-radius: 2px; font: 400 1rem/1 var(--f-text);
  transition: none;
}
.signup-form input[type="email"]:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.signup-form input[aria-invalid="true"] { border-color: var(--alert); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field-error { margin: 10px 0 0; color: var(--alert-text); font-size: .9375rem; }
.form-status { margin: 10px 0 0; color: var(--live); font-size: .9375rem; }
.form-status:empty { margin: 0; }
.tag-wait { margin-top: 12px; }
.consent { margin: 16px 0 0; font-size: .8125rem; color: var(--ink-3); line-height: 1.55; }
.consent a, .press-line a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.press-line { margin: 0; padding-top: 20px; border-top: 1px solid var(--edge); color: var(--ink-2); font-size: .9375rem; }
.signup-h { margin: 0 0 8px; font: 600 1.25rem/1.25 var(--f-text); color: var(--ink); }
.signup-cta { margin: 20px 0 0; }
.signup-alt { margin: 28px 0 24px; padding-top: 24px; border-top: 1px solid var(--edge); }
@media (min-width: 600px) { .field-row { flex-direction: row; } .field-row input { flex: 1; } }
@media (min-width: 900px) { .signup-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* 09 FAQ */
.faq-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.faq-list { border-top: 1px solid var(--edge); }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font: 600 clamp(1.125rem, 1rem + .6vw, 1.5rem)/1.25 var(--f-display); letter-spacing: .02em; text-transform: uppercase;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.75rem/1 var(--f-text); color: var(--gold); transition: transform 300ms var(--ease); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--gold); }
.faq details p { margin: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* Footer */
.site-footer { background: var(--abyss); border-top: 1px solid var(--edge); padding: 64px 0 max(32px, env(safe-area-inset-bottom)); font-size: .9375rem; }
.footer-grid { display: grid; gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--ink-2); max-width: 40ch; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; }
.foot-h { color: var(--gold); margin: 0 0 12px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); }
.footer-base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--edge); color: var(--ink-3); font-size: .8125rem; }
.base-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.base-row p { margin: 0; }
.motion-toggle {
  min-height: 44px; padding: 0 16px; background: transparent; color: var(--ink-2); border: 1px solid var(--edge-strong); border-radius: 2px;
  font: 600 .75rem/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.motion-toggle[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }
.motion-toggle[aria-pressed="true"]::before { content: "\2713\00a0"; }
.no-js .motion-toggle { display: none; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1fr 1.6fr; } }


/* Cinematics restored from the original AFTER HOURS site, on the v2 layout. */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none;
  background: url("assets/img/grain.png") repeat; opacity: .05;
}
.hero-backdrop { overflow: hidden; }
.hero-par { position: absolute; inset: -12px; }
.hero-glow {
  position: absolute; z-index: -1; left: 22%; top: -20%; width: 46%; height: 90%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(242, 196, 75, .12), rgba(242, 196, 75, 0));
}
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 55% 40%, transparent 25%, rgba(10, 13, 18, .5) 100%);
}
.ln { display: block; overflow: hidden; padding-bottom: .04em; }
.ln > span { display: block; }
.dust { display: none; position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.dust i { position: absolute; bottom: -10px; width: 2px; height: 2px; border-radius: 50%; background: #f6e3b0; opacity: .16; }
.dust i:nth-child(3n) { width: 1px; height: 1px; opacity: .22; }
.dust i:nth-child(4n) { opacity: .1; }
.scroll-cue i { display: block; width: 2px; height: 32px; background: var(--gold); transform-origin: top; }
.sec { position: relative; isolation: isolate; }
.the-line { position: relative; z-index: 2; height: 2px; max-width: var(--max); margin: 0 auto; }
.the-line::before { content: ""; position: absolute; inset: 0 var(--gutter); background: linear-gradient(90deg, var(--gold), rgba(242, 196, 75, .15)); transform-origin: left; }
.the-line i { position: absolute; left: var(--gutter); top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2px solid var(--gold); border-radius: 50%; background: var(--ground); }
.the-line + .sec { border-top: 0; }
.chapter { position: relative; isolation: isolate; background: var(--wash); }
.chapter::before {
  content: ""; position: absolute; left: -10px; top: 40px; bottom: 40px; width: 2px;
  background: linear-gradient(var(--gold), transparent); transform-origin: top; pointer-events: none;
}
.ch-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--wash), transparent 35%);
  background: linear-gradient(0deg, color-mix(in srgb, var(--wash) 70%, transparent), transparent 35%);
}
.ch-text { position: relative; }
.venue-info { padding: 0 20px 20px 0; }
.venue-index { z-index: 1; }
.roster { position: relative; border-top: 1px solid rgba(242, 196, 75, .28); background: var(--abyss); margin-bottom: 48px; }
.roster-scroll { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.roster-caps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-width: 760px; }
.roster-caps li { min-width: 0; border-left: 1px solid var(--edge); scroll-snap-align: start; }
.roster-caps li:first-child { border-left: 0; }
.roster-caps a { display: block; text-decoration: none; }
.roster-caps img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.roster-caps span { display: block; padding: 14px 8px 16px; font: 600 .6875rem/1.5 var(--f-text); letter-spacing: .1em; text-transform: uppercase; text-align: center; color: var(--ink-2); }
.roster-caps a:hover span { color: var(--gold); }
.roster-caps a:focus-visible { outline-offset: -3px; }
.swipe-hint { position: absolute; right: 12px; top: 12px; margin: 0; padding: 6px 10px; background: rgba(10, 13, 18, .8); color: var(--ink); font-size: .75rem; pointer-events: none; }
.roster.is-swiped .swipe-hint { opacity: 0; }
.rail { display: none; }
@media (min-width: 900px) {
  .roster-caps { min-width: 0; }
  .swipe-hint { display: none; }
  .ch-media::after {
    background: linear-gradient(90deg, transparent 50%, var(--wash) 100%);
    background:
      linear-gradient(90deg, transparent 50%, color-mix(in srgb, var(--wash) 45%, transparent) 80%, var(--wash) 100%),
      linear-gradient(0deg, color-mix(in srgb, var(--wash) 70%, transparent), transparent 30%);
  }
}
@media (min-width: 1200px) {
  .rail { position: fixed; right: 12px; top: 50%; z-index: 40; display: flex; flex-direction: column; gap: 28px; transform: translateY(-50%); opacity: 0; pointer-events: none; }
  .rail::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; background: var(--edge); }
  .rail i { position: relative; width: 10px; height: 10px; border: 2px solid var(--edge-strong); border-radius: 50%; background: var(--ground); }
  .rail i.on { background: var(--gold); border-color: var(--gold); }
  .rail.is-visible { opacity: 1; }
}
@media (min-width: 1440px) {
  .ch-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--wash), transparent 12%, transparent 88%, var(--wash)); }
}
/* Only transform and opacity animate. Reduced motion keeps every layer static. */
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="off"]) .hero-pic img { animation: hero-zoom 14s var(--ease) both; }
  html:not([data-motion="off"]) .hero-par { transform: translate3d(var(--px, 0px), var(--py, 0px), 0); transition: transform 600ms ease; }
  html:not([data-motion="off"]) .hero-glow { animation: glow-drift 24s ease-in-out infinite alternate; }
  html:not([data-motion="off"]) .dust i { animation: dust-rise var(--d, 40s) linear infinite; animation-delay: var(--dl, 0s); }
  html:not([data-motion="off"]) body::after { animation: grain .5s steps(1) infinite; }
  html:not([data-motion="off"]) .hero-copy .ln > span { animation: line-up 900ms var(--ease) both; animation-delay: calc(250ms + var(--i, 0) * 90ms); }
  html:not([data-motion="off"]) .scroll-cue i { animation: draw-down 900ms var(--ease) 1.2s both; }
  html:not([data-motion="off"]) .chapter.is-current::before { animation: draw-down 900ms var(--ease) both; }
  html.has-reveals:not([data-motion="off"]) [data-reveal] { transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  html.has-reveals:not([data-motion="off"]) [data-reveal]:not(.is-in):not(:focus-within) { opacity: 0; transform: translateY(16px); }
  html.has-reveals:not([data-motion="off"]) .the-line[data-reveal] { opacity: 1; transform: none; }
  html.has-reveals:not([data-motion="off"]) .the-line::before { transition: transform 900ms var(--ease); }
  html.has-reveals:not([data-motion="off"]) .the-line:not(.is-in)::before { transform: scaleX(0); }
  html.has-reveals:not([data-motion="off"]) .the-line i { transition: opacity 400ms var(--ease) 200ms; }
  html.has-reveals:not([data-motion="off"]) .the-line:not(.is-in) i { opacity: 0; }
  html:not([data-motion="off"]) .sheet:not([hidden]) { animation: sheet-in 300ms var(--ease) both; }
  html:not([data-motion="off"]) .swipe-hint, html:not([data-motion="off"]) .rail { transition: opacity 400ms var(--ease); }
  @supports (animation-timeline: view()) {
    html:not([data-motion="off"]) .ch-media > img { animation: ch-zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
    html.has-reveals:not([data-motion="off"]) .chapter .ch-text[data-reveal] { opacity: 1; transform: none; transition: none; animation: ch-slide linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
  }
}
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) { html:not([data-motion="off"]) .dust { display: block; } }
html.is-hidden *, html.is-hidden *::before, html.is-hidden *::after { animation-play-state: paused !important; }

@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
@keyframes glow-drift { from { transform: translateX(0); } to { transform: translateX(3%); } }
@keyframes dust-rise { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(12px, -110vh, 0); } }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
@keyframes draw-down { from { transform: scaleY(0); } to { transform: none; } }
@keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes ch-zoom { from { transform: scale(1.08); } to { transform: none; } }
@keyframes ch-slide { from { transform: translateY(24px); } to { transform: none; } }

/* Dust positions, desktop only (20 specks) */
.dust i:nth-child(1) { left: 34%; --d: 42s; --dl: -3s; } .dust i:nth-child(2) { left: 41%; --d: 36s; --dl: -18s; }
.dust i:nth-child(3) { left: 47%; --d: 48s; --dl: -9s; } .dust i:nth-child(4) { left: 52%; --d: 33s; --dl: -25s; }
.dust i:nth-child(5) { left: 38%; --d: 45s; --dl: -31s; } .dust i:nth-child(6) { left: 56%; --d: 39s; --dl: -12s; }
.dust i:nth-child(7) { left: 44%; --d: 50s; --dl: -40s; } .dust i:nth-child(8) { left: 60%; --d: 31s; --dl: -6s; }
.dust i:nth-child(9) { left: 49%; --d: 44s; --dl: -21s; } .dust i:nth-child(10) { left: 36%; --d: 37s; --dl: -28s; }
.dust i:nth-child(11) { left: 63%; --d: 46s; --dl: -15s; } .dust i:nth-child(12) { left: 42%; --d: 34s; --dl: -2s; }
.dust i:nth-child(13) { left: 58%; --d: 41s; --dl: -35s; } .dust i:nth-child(14) { left: 46%; --d: 30s; --dl: -11s; }
.dust i:nth-child(15) { left: 54%; --d: 49s; --dl: -44s; } .dust i:nth-child(16) { left: 39%; --d: 35s; --dl: -20s; }
.dust i:nth-child(17) { left: 66%; --d: 43s; --dl: -8s; } .dust i:nth-child(18) { left: 50%; --d: 38s; --dl: -30s; }
.dust i:nth-child(19) { left: 45%; --d: 47s; --dl: -26s; } .dust i:nth-child(20) { left: 61%; --d: 32s; --dl: -16s; }

/* ---------- Subpages: press kit, legal drafts, 404 ---------- */
.subpage .header-bar::before { opacity: 1; }
.nav-sub { display: block; }
@media (max-width: 599px) { .nav-sub { display: none; } }
.page { padding-top: var(--head-h); }
.page-sec { padding-top: clamp(48px, 7vw, 96px); }
.page-h { font: 600 clamp(2.25rem, 1.4rem + 3.4vw, 4rem)/1 var(--f-display); letter-spacing: .01em; margin-bottom: 32px; text-wrap: balance; }
.page-h2 { font: 600 1.5rem/1.2 var(--f-display); letter-spacing: .04em; text-transform: uppercase; margin: 48px 0 16px; color: var(--ink); }
.page p:not([class]), .page-note, .prose p { color: var(--ink-2); max-width: 62ch; }
.press-grid { display: grid; gap: 0 64px; }
@media (min-width: 900px) { .press-grid { grid-template-columns: 1fr 1.3fr; } }
.facts { margin: 0; border-top: 1px solid var(--edge); }
.facts div { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--edge); }
.facts dt { flex: 0 0 9rem; max-width: 100%; font: 600 .75rem/1.6 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.facts dd { flex: 1 1 12rem; min-width: 0; margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.press-grid > * { min-width: 0; }
.page-h, .page-h2 { overflow-wrap: anywhere; }
.venue-list { display: grid; gap: 8px; counter-reset: v; }
.venue-list li { counter-increment: v; padding: 12px 0; border-bottom: 1px solid var(--edge); color: var(--ink-2); }
.venue-list li::before { content: "0" counter(v); font: 600 1.25rem/1 var(--f-display); color: var(--gold); margin-right: 16px; }
.venue-list strong { color: var(--ink); font-weight: 600; margin-right: 8px; }
.file-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--edge); }
.file-list a, .page a:not(.btn):not(.wordmark) { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.size { color: var(--ink-3); font-size: .875rem; }
.press-shots { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.press-shot a { display: block; text-decoration: none; }
.press-shot img { width: 100%; border: 1px solid var(--edge); border-radius: 2px; aspect-ratio: 16 / 9; object-fit: cover; transition: none; }
.press-shot a:hover img { border-color: var(--gold); }
.press-shot span { display: block; margin-top: 8px; font-size: .8125rem; color: var(--ink-2); }
.placeholder-note { padding: 16px; border: 1px dashed var(--edge-strong); border-radius: 2px; color: var(--ink); }
.page-404 { min-height: 70vh; }
.page-404 .lead { margin-bottom: 32px; }
.footer-base-sub { margin-top: 0; padding-top: 0; border-top: 0; }
.footer-base-sub > p { color: var(--ink-2); }
.sub-links { display: flex; flex-wrap: wrap; gap: 0 24px; margin-bottom: 16px; }
.sub-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }

@media (max-width: 899px) { .no-js .site-header { position: relative; } .no-js .hero-v2 { padding-top: 40px; } .no-js .nav { flex-basis: 100%; order: 3; } }

/* The name story, right under the hero (Ahmed, 2026-10-25): why "Before Poker". Compact: a title left, two short paragraphs right. */
.name-section { padding: 72px 0 80px; }
.name-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.name-story .section-head { margin-bottom: 0; }
.name-story .section-head h2 { max-width: 16ch; }
.name-lines p + p { margin-top: 20px; }
@media (max-width: 899px) {
  .name-section { padding: 48px 0 56px; }
  .name-story { grid-template-columns: 1fr; gap: 20px; }
}

/* A venue's cinematic plays in its big picture (Ahmed, 2026-10-25): the video fills the hero, whatever its height. */
.venue-hero .loop-video { height: 100%; }
