/* Big Shoulders Text — Chicago's municipal display face (self-hosted, OFL).
   Variable weight; used all-caps for brand moments only (wordmark, hero &
   section titles, primary CTAs). The HUD/terminal text stays monospace. */
@font-face {
  font-family: "Big Shoulders Text";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/big-shoulders-text-latin.woff2") format("woff2");
}

:root {
  --bg: #070808;
  --teal: #2bd6c4;
  --teal-dim: #1b8f86;
  /* Brand warm — now Chicago flag red (was orange #ff7a1a). Drives the
     wordmark, hero/section titles, CTAs, and warm glows. */
  --amber: #e6203f;
  --pink: #ff2e88;
  --ink: #04201e;
  /* Chicago flag accents — the red six-point stars and the light-blue bars,
     tuned to glow against the near-black CRT field. Teal is the cool neon;
     Chicago red is the warm brand; pink stays the live/active cue. */
  --chi-blue: #5ab8ec;
  --chi-blue-dim: #2f89bd;
  --chi-red: #e6203f;
  /* Chicago display face for brand moments; cleaner mono for terminal text. */
  --display: "Big Shoulders Text", "Arial Narrow", ui-monospace, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", "Roboto Mono", Menlo, Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--teal);
  font-family: var(--mono);
  overflow: hidden;
  -webkit-font-smoothing: none;
  -webkit-text-size-adjust: 100%;   /* stop mobile browsers inflating small text (e.g. the footer) */
  text-size-adjust: 100%;
}

/* Skip link — off-screen until keyboard-focused, then slides in at top-left. */
.skip-link {
  position: fixed; top: 0; left: 0; z-index: 100; transform: translateY(-130%);
  background: var(--teal); color: #04100e; text-decoration: none;
  font-family: var(--display); font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  font-size: 13px; padding: 10px 16px; border-radius: 0 0 8px 0; transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); outline: 2px solid #fff; outline-offset: 2px; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* Big Shoulders is condensed — all-caps + a touch of tracking makes it read as
   signage. Applied via .display or directly to brand elements below. */
.display, .sig, .hud .sig {
  font-family: var(--display);
  font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* ---- CRT frame ---- */
.crt {
  position: relative;
  height: 100dvh;
  width: 100%;
  background:
    radial-gradient(120% 90% at 50% 35%, #0d2422 0%, #060807 70%, #000 100%);
  overflow: hidden;
}
.scanlines {
  position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: repeating-linear-gradient(
    to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,0.28) 3px, rgba(0,0,0,0) 4px);
  mix-blend-mode: multiply;
  transition: opacity 0.6s ease;   /* fades out in CRT/Event (they draw their own scanlines) */
}
.flicker {
  position: absolute; inset: 0; pointer-events: none; z-index: 6;
  background: rgba(43,214,196,0.03);
  animation: flicker 5s infinite steps(60);
}
@keyframes flicker {
  0%,19%,21%,55%,57%,100% { opacity: 0.9; }
  20%,56% { opacity: 0.4; }
}

/* ---- layout ---- */
.stage {
  position: relative; z-index: 4;
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 14px;
  padding: max(52px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
  text-align: center;
  overflow-y: auto;              /* cards scroll below; top content stays put */
}
.titlebar {
  position: absolute; top: max(16px, env(safe-area-inset-top)); left: 0; right: 0;
  display: flex; justify-content: space-between; padding: 0 18px;
  font-size: 11px; letter-spacing: 3px; color: var(--teal-dim);
}
.sig { color: var(--amber); font-weight: bold; }

/* ---- avatar screen ---- */
.screen {
  position: fixed; inset: 0; z-index: 0;   /* full-screen immersive scene */
}
.head3d { position: absolute; inset: 0; }
.capone {
  width: 62%;
  filter: drop-shadow(0 0 6px rgba(43,214,196,0.5));
}
/* 3D talking head fills the screen; hides the SVG fallback when active */
.head3d { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; z-index: 0; }
.screen--3d .capone { display: none; }
.screen--3d .glitch-text { position: absolute; bottom: 8px; left: 0; right: 0; z-index: 2; margin: 0; }
.screen--3d .eq { display: none; }
.capone .mouth { transform-origin: center; transform-box: fill-box; }

.screen[data-mode="speaking"] .capone { animation: jitter 0.18s infinite steps(2); }
.screen[data-mode="speaking"] .mouth { animation: talk 0.22s infinite alternate; }
.screen[data-mode="listening"] .capone { filter: drop-shadow(0 0 10px var(--amber)); }
.screen[data-mode="connecting"] .capone { animation: glitchshift 0.4s infinite; opacity: 0.7; }

@keyframes talk {
  from { transform: scaleY(0.4); }
  to   { transform: scaleY(1.6); }
}
@keyframes jitter {
  0% { transform: translate(0,0); }
  50% { transform: translate(1px,-1px); }
  100% { transform: translate(-1px,1px); }
}
@keyframes glitchshift {
  0%,100% { transform: translateX(0); }
  33% { transform: translateX(-3px); }
  66% { transform: translateX(3px); }
}

/* ---- glitch status text ---- */
.glitch-text {
  margin-top: 10px;
  font-size: 13px; letter-spacing: 4px; font-weight: bold;
  position: relative; color: var(--teal);
}
.screen[data-mode="speaking"] .glitch-text,
.screen[data-mode="connecting"] .glitch-text { animation: rgbsplit 0.5s infinite; }
@keyframes rgbsplit {
  0%,100% { text-shadow: 1px 0 var(--pink), -1px 0 var(--amber); }
  50% { text-shadow: -2px 0 var(--pink), 2px 0 var(--amber); }
}

/* ---- equalizer ---- */
.eq { display: flex; gap: 4px; height: 22px; margin-top: 12px; align-items: flex-end; opacity: 0.25; }
.eq span { width: 4px; height: 6px; background: var(--teal); border-radius: 2px; }
.screen[data-mode="speaking"] .eq { opacity: 1; }
.screen[data-mode="speaking"] .eq span { animation: bounce 0.6s infinite ease-in-out; }
.eq span:nth-child(2n) { animation-delay: 0.1s; }
.eq span:nth-child(3n) { animation-delay: 0.2s; }
.eq span:nth-child(4n) { animation-delay: 0.3s; }
.eq span:nth-child(5n) { animation-delay: 0.15s; }
@keyframes bounce { 0%,100% { height: 6px; } 50% { height: 22px; } }

/* ---- text + button ---- */
.subtitle { max-width: 320px; font-size: 13px; line-height: 1.5; color: var(--teal-dim); }
.talk {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px;
  background: var(--ink); color: var(--teal);
  border: 2px solid var(--teal); border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: bold; letter-spacing: 2px;
  cursor: pointer; transition: transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 0 24px rgba(43,214,196,0.25);
}
.talk:hover { transform: translateY(-1px); box-shadow: 0 0 32px rgba(43,214,196,0.45); }
.talk:active { transform: translateY(1px); }
.talk[data-active="true"] { border-color: var(--pink); color: var(--pink); box-shadow: 0 0 32px rgba(255,46,136,0.4); }
.talk .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.talk[data-active="true"] .dot { background: var(--pink); animation: pulse 1s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.meter { font-size: 12px; color: var(--amber); letter-spacing: 1px; min-height: 16px; }
.hint { font-size: 11px; color: var(--teal-dim); max-width: 320px; line-height: 1.5; min-height: 14px; }

/* ---- account chip ---- */
.account-chip {
  font-family: inherit; font-size: 11px; letter-spacing: 2px; font-weight: bold;
  color: var(--amber); background: rgba(0,0,0,0.4);
  border: 1px solid rgba(230,32,63,0.5); border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
}
.account-chip:hover { background: rgba(230,32,63,0.12); }

/* ---- overlay + panel ---- */
.overlay {
  position: absolute; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(3px);
  padding: 20px;
}
.overlay[hidden] { display: none; }
.panel {
  position: relative; width: min(92vw, 380px);
  background: linear-gradient(180deg, #0c2422, #060807);
  border: 2px solid rgba(43,214,196,0.3); border-radius: 16px;
  box-shadow: 0 0 50px rgba(43,214,196,0.2);
  padding: 28px 22px; color: var(--teal);
  max-height: 88dvh; overflow-y: auto;
}
.panel h2 { color: var(--amber); font-size: 18px; margin-bottom: 8px; letter-spacing: 1px; }
.panel p { font-size: 13px; color: var(--teal-dim); line-height: 1.5; margin-bottom: 14px; }
.panel-close {
  position: absolute; top: 12px; right: 14px;
  background: none; border: none; color: var(--teal-dim);
  font-size: 18px; cursor: pointer;
}
.panel input[type="email"],
.panel input[type="date"] {
  width: 100%; padding: 13px 14px; margin-bottom: 12px;
  background: rgba(0,0,0,0.5); border: 1px solid rgba(43,214,196,0.4);
  border-radius: 10px; color: var(--teal); font-family: inherit; font-size: 14px;
}
.sponsor-age[hidden], .sponsor-optin[hidden] { display: none; }
.sponsor-age label { display: block; font-size: 12px; color: var(--teal-dim); text-align: left; margin: 2px 0 5px; }
.sponsor-age input[type="date"] { margin-bottom: 6px; color-scheme: dark; }
.btn-primary {
  width: 100%; padding: 14px; cursor: pointer;
  background: var(--ink); color: var(--teal);
  border: 2px solid var(--teal); border-radius: 999px;
  font-family: inherit; font-weight: bold; letter-spacing: 2px; font-size: 13px;
}
.btn-primary:hover { box-shadow: 0 0 22px rgba(43,214,196,0.4); }
.panel-note { margin-top: 14px; color: var(--amber); min-height: 16px; font-size: 12px; }
.balance-line { color: var(--teal); font-size: 13px; }
.link-btn { background: none; border: none; color: var(--teal-dim); font-size: 12px; cursor: pointer; margin-top: 8px; text-decoration: underline; }
.link-btn.danger { color: #c9585a; display: block; margin-top: 14px; }

/* ---- legal: age checkbox, footer links, cookie banner ---- */
.age-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--teal-dim); text-align: left; margin: 8px 0 12px; line-height: 1.4; }
.age-check input { margin-top: 2px; flex: 0 0 auto; }
.age-check a { color: var(--teal); }
.legal-links { font-size: 11px; color: var(--teal-dim); text-align: center; margin-top: 14px; }
.legal-links a { color: var(--teal-dim); }
/* Sign-in panel footer: match the small menu-legal treatment. Needs `.panel`
   in the selector to outrank `.panel p { font-size: 13px }` on specificity. */
.panel .panel-legal { font-size: 10px; line-height: 1.6; margin-top: 18px; }
.panel-legal .copy { white-space: nowrap; }   /* keep "© 2026 HoneyWired LLC" together */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; background: rgba(4,10,9,0.96); backdrop-filter: blur(6px); border-top: 1px solid rgba(43,214,196,0.25); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); font-size: 12px; color: var(--teal-dim); }
.cookie-banner[hidden] { display: none; }
.cookie-text { max-width: 620px; } .cookie-text a { color: var(--teal); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn { font-family: inherit; font-size: 12px; font-weight: bold; letter-spacing: 1px; padding: 8px 16px; border-radius: 999px; cursor: pointer; background: transparent; border: 1px solid var(--teal-dim); color: var(--teal-dim); }
.cookie-btn.accept { border-color: var(--teal); color: var(--teal); }
.site-footer { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 1; text-align: center; font-size: 11px; letter-spacing: 0.5px; color: rgba(138,162,160,0.45); pointer-events: none; }
.site-footer a { color: rgba(138,162,160,0.7); text-decoration: none; pointer-events: auto; }
.site-footer a:hover { color: var(--teal); }

/* ---- main menu overlay ---- */
.menu-panel { text-align: left; }
.menu-nav { display: flex; flex-direction: column; gap: 2px; margin: 6px 0 4px; }
.menu-link {
  display: block; width: 100%; text-align: left;
  font-family: inherit; font-size: 15px; letter-spacing: 1px; font-weight: bold;
  color: var(--teal); background: none; border: none; cursor: pointer;
  text-decoration: none; padding: 11px 8px; border-radius: 8px;
}
.menu-link:hover { color: var(--amber); background: rgba(230,32,63,0.08); }
.menu-divider { height: 1px; background: rgba(43,214,196,0.2); margin: 14px 0; }
.menu-legal { text-align: left; margin-top: 16px; }
/* The popup menu is appended to <body>, so on the .page subpages it would inherit
   their Inter body + heading styles. Force its own typography so the homepage and
   subpage menus read identically. */
.menu-panel { font-family: var(--mono); line-height: 1.4; }
/* .overlay prefix bumps specificity above the later `.page h2 { margin: 40px … }` so the
   drawer heading isn't pushed down on sub-pages. Covers both the homepage + sub-page drawers. */
.overlay .menu-panel h2 { color: var(--amber); font-family: var(--display); border: 0; margin-top: 0; }
.menu-panel .menu-link { font-family: var(--mono); }
.menu-panel .menu-legal { font-family: var(--mono); font-size: 10px; line-height: 1.6;
  color: var(--teal-dim); margin-bottom: 0; }   /* override .page p white color + bottom margin */
.menu-panel .menu-legal a { color: var(--teal-dim); }
.menu-legal .copy { white-space: nowrap; }   /* keep "© 2026 HoneyWired LLC" together if it wraps */

/* ---- packs ---- */
.packs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.pack {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center;
  padding: 13px 15px; cursor: pointer; text-align: left;
  background: rgba(0,0,0,0.4); border: 1.5px solid rgba(43,214,196,0.25);
  border-radius: 12px; color: var(--teal); font-family: inherit;
}
.pack.selected { border-color: var(--amber); box-shadow: 0 0 18px rgba(230,32,63,0.25); }
.pack-name { font-weight: bold; font-size: 13px; }
.pack-min { font-size: 12px; color: var(--teal-dim); }
.pack-price { font-size: 14px; color: var(--amber); font-weight: bold; }

/* ---- lower-third karaoke captions (RSVP, one word, broadcast band) ---- */
.captions {
  position: fixed; left: 50%; bottom: 5vh; transform: translateX(-50%); z-index: 6;
  width: min(94vw, 620px);
  height: 60px; line-height: 60px;
  font-family: "Courier New", monospace;
  font-size: clamp(26px, 5vw, 40px); font-weight: bold; letter-spacing: 1px;
  text-align: center; white-space: nowrap; overflow: hidden;
  color: #eafffb; text-shadow: 0 0 16px rgba(43,214,196,0.7), 0 2px 6px #000;
  background: linear-gradient(180deg, transparent, rgba(4,10,9,0.55) 30%, rgba(4,10,9,0.55) 70%, transparent);
  border-top: 1px solid rgba(43,214,196,0.25);
  border-bottom: 1px solid rgba(43,214,196,0.25);
}
.captions[hidden] { display: none; }
.captions .orp { color: var(--amber); }

/* ---- venue side rail (desktop) / bottom sheet (mobile) ---- */
.venue-rail {
  /* top: clear the minutes counter row with breathing room; bottom: sit ABOVE the
     caption band (fixed at bottom:5vh, 60px tall) and the footer so the rail never
     overlays either. The list inside scrolls, so a shorter rail is fine. */
  position: fixed; top: 104px; right: 14px; bottom: calc(5vh + 76px); z-index: 5;
  width: 340px; display: flex; flex-direction: column;
  background: rgba(4,10,9,0.55); backdrop-filter: blur(6px);
  border: 1px solid rgba(43,214,196,0.2); border-radius: 12px;
  padding: 12px;
}
.venue-rail[hidden] { display: none; }
.venue-rail-head {
  font-size: 10px; letter-spacing: 3px; color: var(--teal-dim);
  text-transform: uppercase; margin-bottom: 10px; text-align: left; flex: 0 0 auto;
}
.venue-rail-list { display: flex; flex-direction: column; gap: 8px; overflow-y: auto; flex: 1 1 auto; }
@media (max-width: 640px) {
  /* Mobile: venues become a low, horizontal swipe strip so they don't cover his face. */
  .venue-rail {
    top: auto; right: 0; left: 0; bottom: 0; width: auto; max-height: none;
    background: linear-gradient(to top, rgba(4,10,9,0.82), rgba(4,10,9,0));
    border: none; border-radius: 0; backdrop-filter: none;
    padding: 6px 10px calc(8px + env(safe-area-inset-bottom));
  }
  .venue-rail-head { display: none; }        /* save vertical space on mobile */
  .venue-rail-list {
    flex-direction: row; overflow-x: auto; overflow-y: hidden; gap: 10px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 2px;
  }
  .venue-rail-list::-webkit-scrollbar { display: none; }
  .venue-rail-list .venue-card { flex: 0 0 78vw; max-width: 300px; scroll-snap-align: start; }
  /* sit just above the card sheet whatever its height (--cap-bottom set live in JS);
     fall back to a fixed offset when there are no cards */
  .captions { bottom: var(--cap-bottom, calc(126px + env(safe-area-inset-bottom))); }
}

/* ---- HUD ---- */
.hud {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: max(14px, env(safe-area-inset-top)) 16px 0;
  pointer-events: none;
}
.hud-left { display: flex; flex-direction: row; align-items: center; gap: 10px; flex-shrink: 0; }   /* keep the wordmark's full width — don't let the right side squeeze it */
.hud-brand { display: flex; flex-direction: column; gap: 2px; }
.hud-right { display: flex; gap: 6px; align-items: center; pointer-events: auto; flex-wrap: wrap; justify-content: flex-end; }
.menu-btn {
  pointer-events: auto; cursor: pointer;
  font-family: inherit; font-size: 18px; line-height: 1;
  color: var(--teal); background: rgba(4,10,9,0.6);
  border: 1.5px solid rgba(43,214,196,0.55); border-radius: 50%;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
}
.menu-btn:hover { background: rgba(43,214,196,0.15); }
.menu-btn[aria-expanded="true"] { color: var(--amber); border-color: rgba(230,32,63,0.6); }
.hud .sig { color: var(--amber); font-weight: bold; letter-spacing: 3px; font-size: 32px; white-space: nowrap; }
.sig .tm { font-size: 0.62em; letter-spacing: 0; vertical-align: super; font-weight: normal; opacity: 0.8; margin-left: -2px; }
/* HUD tagline stays on one line — the break is suppressed on all viewports. */
.hud-brk { display: none; }
/* The brand "AI" occasionally glitch-flickers to "Ai" (see startSigFlicker) — opt
   out of the sig's uppercase transform so the lowercase i can actually render. */
#sigAI { text-transform: none; }
.status-mini {
  font-family: var(--display); font-size: 15px; letter-spacing: 1px; color: var(--teal-dim); min-height: 12px; font-weight: bold;
}
/* ---- status indicator: a distinct animation per voice state, to the RIGHT of the word.
   The HUD is a SIBLING of #screen, so we reach it via the general-sibling combinator. ---- */
.status-line { display: flex; align-items: center; gap: 7px; }
.status-icon { display: none; align-items: flex-end; justify-content: center; gap: 2px; height: 15px; min-width: 15px; color: var(--teal); }
.screen[data-mode="connecting"] ~ .hud .status-icon,
.screen[data-mode="listening"]  ~ .hud .status-icon,
.screen[data-mode="speaking"]   ~ .hud .status-icon { display: inline-flex; }
.status-icon span { width: 2.5px; height: 4px; background: currentColor; border-radius: 1px; }

/* CONNECTING = ascending signal-strength bars lighting up left→right (finding the signal). */
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(1) { height: 4px; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(2) { height: 7px; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(3) { height: 10px; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(4) { height: 12px; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(5) { height: 15px; }
.screen[data-mode="connecting"] ~ .hud .status-icon span { animation: statusSignal 1.5s ease-in-out infinite; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(2) { animation-delay: 0.14s; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(3) { animation-delay: 0.28s; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(4) { animation-delay: 0.42s; }
.screen[data-mode="connecting"] ~ .hud .status-icon span:nth-child(5) { animation-delay: 0.56s; }
@keyframes statusSignal { 0%, 55%, 100% { opacity: 0.28; } 25% { opacity: 1; } }

/* LISTENING = a pulsing red "REC" dot — he's capturing your voice. */
.screen[data-mode="listening"] ~ .hud .status-icon { align-items: center; color: var(--pink); }
.screen[data-mode="listening"] ~ .hud .status-icon span { display: none; }
.screen[data-mode="listening"] ~ .hud .status-icon::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 6px currentColor; animation: statusRec 1.3s ease-in-out infinite;
}
@keyframes statusRec { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }
/* Mic-reactive: JS feeds --mic (0..1) — the dot swells + glows the louder you speak. */
.screen[data-mode="listening"] ~ .hud .status-icon.mic::before {
  animation: none;
  transform: scale(calc(0.8 + var(--mic, 0) * 0.5));   /* composited — cheap */
  box-shadow: 0 0 6px currentColor;                    /* static glow: per-frame blur repaints are costly */
  opacity: calc(0.55 + var(--mic, 0) * 0.45);          /* composited — cheap */
}

/* SPEAKING = a fuller 5-bar equalizer with staggered (organic) timing. */
.screen[data-mode="speaking"] ~ .hud .status-icon span { animation: statusEq 0.62s ease-in-out infinite; }
.screen[data-mode="speaking"] ~ .hud .status-icon span:nth-child(1) { animation-delay: 0.00s; }
.screen[data-mode="speaking"] ~ .hud .status-icon span:nth-child(2) { animation-delay: 0.21s; }
.screen[data-mode="speaking"] ~ .hud .status-icon span:nth-child(3) { animation-delay: 0.07s; }
.screen[data-mode="speaking"] ~ .hud .status-icon span:nth-child(4) { animation-delay: 0.33s; }
.screen[data-mode="speaking"] ~ .hud .status-icon span:nth-child(5) { animation-delay: 0.14s; }
@keyframes statusEq { 0%, 100% { height: 3px; } 50% { height: 15px; } }
/* When JS is driving the bars off his live audio, disable the loop and give each bar a fixed
   full height so JS can scaleY() it (GPU composite, no per-frame layout reflow). */
.status-icon.reactive span { animation: none !important; height: 15px; transform-origin: center bottom; will-change: transform; }

/* Reduced motion: legible static form of each state. */
@media (prefers-reduced-motion: reduce) {
  .status-icon span, .status-icon::before { animation: none !important; opacity: 1; }
  .screen[data-mode="speaking"] ~ .hud .status-icon span { height: 9px; }
}
.mins { font-size: 12px; letter-spacing: 1px; color: var(--amber); font-weight: bold; padding: 6px 4px; white-space: nowrap; }
/* Minutes counter drops to its own row BELOW the START/nav buttons (both viewports). */
#minsCounter { order: 99; flex-basis: 100%; text-align: right; padding-top: 0; }
/* BACKUP — uncomment to revert desktop to the inline (single-row) counter:
@media (min-width: 641px) {
  .hud-right { flex-wrap: nowrap; }
  #minsCounter { order: 0; flex-basis: auto; text-align: left; }
}
*/
.hud-btn {
  font-family: inherit; font-size: 11px; letter-spacing: 2px; font-weight: bold;
  color: var(--teal); background: rgba(4,10,9,0.6);
  border: 1.5px solid var(--teal); border-radius: 999px; padding: 8px 13px; cursor: pointer;
}
.hud-btn:hover { background: rgba(43,214,196,0.15); }
.hud-btn[data-active="true"] { color: var(--pink); border-color: var(--pink); }
.hud-btn.ghost { color: var(--amber); border-color: rgba(230,32,63,0.55); }

/* ---- centered idle prompt + hint ---- */
.center-hint {
  position: fixed; left: 50%; bottom: 5vh; transform: translateX(-50%); z-index: 8;
  font-family: inherit; font-weight: bold; letter-spacing: 2px; font-size: 15px;
  color: var(--teal); background: rgba(4,10,9,0.6);
  border: 2px solid var(--teal); border-radius: 999px; padding: 14px 26px; cursor: pointer;
  box-shadow: 0 0 30px rgba(43,214,196,0.3);
}
.center-hint:hover { box-shadow: 0 0 40px rgba(43,214,196,0.5); }
.center-hint[hidden] { display: none; }
@media (max-width: 640px) {
  .center-hint { min-width: 52vw; font-size: 15px; padding: 15px 26px; white-space: nowrap; bottom: 8vh; }
}
.hint-mini {
  position: fixed; left: 50%; bottom: calc(5vh + 58px); transform: translateX(-50%); z-index: 8;
  font-size: 11.5px; color: var(--teal-dim); text-align: center; max-width: 92vw; min-height: 14px;
  text-wrap: balance;   /* even lines when a longer hint wraps, instead of orphaning a word */
}
/* Mobile: the CTA sits at 8vh (not 5vh), so the hint must clear the taller stack.
   This override MUST come after the base .hint-mini rule to win at equal specificity. */
@media (max-width: 640px) {
  .hint-mini { bottom: calc(8vh + 78px); }
}

/* ---- cold-open title card ---- */
/* Transparent so the brand animates directly on the noir scene (the head is held
   hidden until the reveal). z-index sits BELOW the HUD so the hamburger stays
   clickable, and the centered title never overlaps it. */
.intro-splash {
  position: fixed; inset: 0; z-index: 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; padding: 24px; text-align: center; cursor: pointer; background: transparent;
  transition: opacity 0.7s ease;
}
.intro-splash[hidden] { display: none; }
.intro-splash.fade { opacity: 0; }
.intro-brand {
  font-family: var(--display); font-weight: 800; letter-spacing: 6px; line-height: 1;
  color: var(--amber); font-size: clamp(44px, 13vw, 104px); min-height: 1em;
  text-shadow: 0 0 6px rgba(230,32,63,0.85), 0 0 28px rgba(230,32,63,0.5);
}
.intro-tag {
  font-family: var(--display); font-weight: 800; letter-spacing: 5px; line-height: 1;
  color: var(--teal); font-size: clamp(13px, 4.2vw, 24px); min-height: 1em;
  text-shadow: 0 0 16px rgba(43,214,196,0.5);
}
/* Sponsor interstitial — graceful "SPONSORED BY [logo]" beat before the head reveal. */
.intro-sponsor {
  position: fixed; inset: 0; z-index: 6; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; padding: 24px; opacity: 0; transition: opacity 0.6s ease;
}
.intro-sponsor[hidden] { display: none; }
.intro-sponsor.show { opacity: 1; }
.intro-sponsor-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--teal-dim);
}
.intro-sponsor-logo { width: min(220px, 50vw); height: auto; opacity: 0.96; }

/* Virtual waiting room (concurrency queue) */
.queue-card {
  max-width: 340px; width: 88vw; padding: 30px 26px; text-align: center;
  background: rgba(3,16,14,0.94); border: 1px solid rgba(43,214,196,0.4);
  border-radius: 16px; box-shadow: 0 0 44px rgba(0,0,0,0.65);
}
.queue-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--amber);
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 16px; }
.queue-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); animation: qpulse 1.2s ease-in-out infinite; }
.queue-line { font-family: var(--display); font-weight: 800; font-size: 21px; color: var(--teal); line-height: 1.25; }
.queue-eta { font-family: var(--mono); font-size: 12px; color: var(--teal-dim); margin-top: 10px; min-height: 1em; }
.queue-wave { display: flex; gap: 5px; justify-content: center; margin: 22px 0; }
.queue-wave span { width: 5px; height: 22px; background: var(--teal); border-radius: 3px; animation: qwave 1s ease-in-out infinite; }
.queue-wave span:nth-child(2){animation-delay:.12s} .queue-wave span:nth-child(3){animation-delay:.24s}
.queue-wave span:nth-child(4){animation-delay:.36s} .queue-wave span:nth-child(5){animation-delay:.48s}
.queue-leave { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: var(--teal-dim);
  background: none; border: 1px solid rgba(43,214,196,0.3); border-radius: 8px; padding: 9px 16px; cursor: pointer; }
.queue-leave:hover { color: var(--amber); border-color: rgba(230,32,63,0.45); }
@keyframes qpulse { 0%,100%{opacity:.3} 50%{opacity:1} }
@keyframes qwave { 0%,100%{transform:scaleY(0.4);opacity:.5} 50%{transform:scaleY(1.3);opacity:1} }
@media (prefers-reduced-motion: reduce) { .queue-dot, .queue-wave span { animation: none !important; } }
/* Staggered reveal: these elements start hidden during the cold open (body.intro is
   set in the HTML, so no first-paint flash) and fade up one after another when the
   intro class is removed. The hamburger, footer, and cookie banner are NOT gated. */
.hud-brand, #toggleBtn, #accountChip, #minsCounter, .center-hint { transition: opacity 0.7s ease; }
#toggleBtn, #accountChip, #minsCounter { transition-delay: 0.35s; }   /* buttons after the title */
.center-hint { transition-delay: 0.6s; }                              /* "tap to talk" last */
body.intro .hud-brand,
body.intro #toggleBtn,
body.intro #accountChip,
body.intro #minsCounter,
body.intro .center-hint { opacity: 0; pointer-events: none; }
.venue-card {
  text-align: left;
  /* Near-solid dark fill + blur so the card stays legible over the moving,
     colourful 3D scene (a constant contrast challenge on this app). */
  background: rgba(6,16,15,0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(43,214,196,0.32);
  border-left: 3px solid var(--chi-red);          /* a little Chicago-red "pin" spine */
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  animation: cardin 0.35s ease;
}
@keyframes cardin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.venue-card .vc-name { font-weight: bold; color: var(--amber); font-size: 15px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.venue-card .vc-hood { font-size: 10px; color: var(--amber); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }
.venue-card .vc-type { font-size: 10px; color: var(--teal-dim); letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; }
.venue-card .vc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.venue-card .vc-links a {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: bold; letter-spacing: 1px;
  color: var(--teal); text-decoration: none;
  border: 1px solid var(--teal); border-radius: 999px; padding: 6px 12px;
}
.venue-card .vc-links a svg, .vc-tickets svg { flex: 0 0 auto; }
.venue-card .vc-links a:hover { background: rgba(43,214,196,0.15); }
/* Location pin buttons: the neighborhood IS the map link, in Chicago-blue. */
.venue-card .vc-links a.vc-loc { color: var(--chi-blue); border-color: rgba(90,184,236,0.6); }
.venue-card .vc-links a.vc-loc:hover { background: rgba(90,184,236,0.15); }

/* ---- save bookmark (localStorage) ---- */
.venue-card { position: relative; }              /* anchor for the bookmark */
.venue-card .vc-name { padding-right: 26px; }    /* keep long names clear of the ribbon */
.vc-save {
  position: absolute; top: 7px; right: 7px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; padding: 0; cursor: pointer;
  background: none; border: none; color: var(--teal-dim);
  -webkit-tap-highlight-color: transparent;
}
.vc-save:hover { color: var(--teal); }
.vc-save.saved { color: var(--amber); }          /* filled ribbon = saved (Chicago red) */
.vc-save.saved svg { fill: currentColor; }
.vc-save.saved { animation: savepop 0.28s ease; }
@keyframes savepop { 0% { transform: scale(1); } 45% { transform: scale(1.28); } 100% { transform: scale(1); } }

/* ---- saved joints panel ---- */
.saved-panel { text-align: left; }
.saved-list { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 4px; }

/* ---- tickets: inline pill (next to MAP/INFO) + shows modal ---- */
.venue-card .vc-links { flex-wrap: wrap; }
.vc-tickets {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: inherit; font-size: 11px; font-weight: bold; letter-spacing: 1px; cursor: pointer;
  color: var(--amber); background: transparent;
  border: 1px solid rgba(230,32,63,0.7); border-radius: 999px; padding: 6px 12px;
}
.vc-tickets:hover { background: rgba(230,32,63,0.15); }

/* Event / ticket cards (find_events results) get a Chicago-BLUE accent to set them
   apart from the red-spined venue cards: blue spine, blue title, blue tickets link.
   Scoped to .event-card, so regular venue cards keep their red/amber look. */
.venue-card.event-card { border-left-color: var(--chi-blue); }
.venue-card.event-card .vc-name { color: var(--chi-blue); }
.venue-card.event-card .vc-tickets { color: var(--chi-blue); border-color: rgba(90,184,236,0.7); }
.venue-card.event-card .vc-tickets:hover { background: rgba(90,184,236,0.15); }
.shows-panel { text-align: left; }
.shows-panel .shows-title { color: var(--amber); }
.shows-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.shows-note { font-size: 11px; color: var(--teal-dim); margin-top: 14px; }
.vc-show { border-top: 1px solid rgba(43,214,196,0.15); padding-top: 8px; }
.vc-show-name { font-size: 12px; font-weight: bold; color: #eafffb; line-height: 1.3; }
.vc-show-meta { font-size: 10px; color: var(--teal-dim); margin: 2px 0 5px; letter-spacing: 0.5px; }
.vc-buy {
  display: inline-block; font-family: inherit; font-size: 10px; font-weight: bold; letter-spacing: 1px;
  color: var(--ink); background: var(--amber); text-decoration: none;
  border-radius: 999px; padding: 4px 12px;
}
.vc-buy:hover { box-shadow: 0 0 12px rgba(230,32,63,0.55); }

/* ---- first-run onboarding ("incoming transmission") ---- */
.onboard-overlay { z-index: 30; animation: onboardFade 0.5s ease both; }  /* above sign-in/menu on first load */
@keyframes onboardFade { from { opacity: 0; } to { opacity: 1; } }
.onboard-panel {
  width: min(94vw, 420px); text-align: center;
  border-color: rgba(230,32,63,0.42);
  box-shadow: 0 0 60px rgba(230,32,63,0.18), 0 0 30px rgba(43,214,196,0.12);
}
/* Stagger the instructions on, line by line, when the panel opens. */
.onboard-panel > * { animation: onboardIn 0.5s ease both; }
.onboard-panel > *:nth-child(1)  { animation-delay: 0.10s; }
.onboard-panel > *:nth-child(2)  { animation-delay: 0.20s; }
.onboard-panel > *:nth-child(3)  { animation-delay: 0.30s; }
.onboard-panel > *:nth-child(4)  { animation-delay: 0.40s; }
.onboard-panel > *:nth-child(5)  { animation-delay: 0.50s; }
.onboard-panel > *:nth-child(6)  { animation-delay: 0.60s; }
.onboard-panel > *:nth-child(7)  { animation-delay: 0.70s; }
.onboard-panel > *:nth-child(8)  { animation-delay: 0.80s; }
.onboard-panel > *:nth-child(9)  { animation-delay: 0.90s; }
.onboard-panel > *:nth-child(10) { animation-delay: 1.00s; }
@keyframes onboardIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.onboard-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 3px; font-weight: bold;
  color: var(--teal-dim); text-transform: uppercase; margin-bottom: 14px;
}
.rec-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink);
  box-shadow: 0 0 10px var(--pink); animation: recpulse 1.4s infinite; }
@keyframes recpulse { 0%,100% { opacity: 1; } 50% { opacity: 0.25; } }
.onboard-title { color: var(--amber); font-size: 23px; letter-spacing: 1px; margin-bottom: 10px; }
.onboard-lede { font-size: 14px; color: var(--teal-dim); line-height: 1.6; margin-bottom: 18px; }
.onboard-lede strong { color: #eafffb; }
.onboard-steps { list-style: none; text-align: left; display: flex; flex-direction: column;
  gap: 11px; margin: 0 auto 16px; max-width: 340px; }
.onboard-steps li { display: flex; align-items: flex-start; gap: 12px;
  font-size: 13px; color: var(--teal); line-height: 1.45; }
.os-ico { flex: 0 0 24px; display: flex; align-items: center; justify-content: center; line-height: 1;
  color: var(--teal); filter: drop-shadow(0 0 6px rgba(43,214,196,0.4)); }
.os-ico svg { display: block; }
.onboard-free {
  display: block; font-size: 12.5px; font-weight: bold; letter-spacing: 0.5px;
  color: var(--amber); background: rgba(230,32,63,0.1);
  border: 1px solid rgba(230,32,63,0.35); border-radius: 999px;
  padding: 8px 14px; margin: 0 auto 16px; max-width: fit-content;
}
.onboard-free[hidden] { display: none; }
/* Capone's own color on the hero CTA — makes the one action unmistakable. */
.onboard-cta {
  color: var(--amber); border-color: var(--amber);
  background: rgba(230,32,63,0.08); font-size: 14px; padding: 15px;
  box-shadow: 0 0 26px rgba(230,32,63,0.28);
}
.onboard-cta:hover { box-shadow: 0 0 40px rgba(230,32,63,0.5); background: rgba(230,32,63,0.14); }
.onboard-look { display: block; margin: 12px auto 2px; text-decoration: none; letter-spacing: 1px; }
.onboard-look:hover { color: var(--teal); }
.onboard-legal { margin-top: 16px; }

@media (prefers-reduced-motion: reduce) {
  .flicker, .capone, .mouth, .glitch-text, .eq span, .venue-card, .rec-dot, .vc-save.saved { animation: none !important; }
}

/* ============================================================
   Content pages (about / faq / press) — opt-in via <body class="page">.
   Share the app's palette + CRT vibe, but scroll and read like a document.
   ============================================================ */
html.page { height: auto; overflow-y: auto; }
body.page {
  overflow: visible; height: auto; min-height: 100%;
  color: #e4efec;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(120% 80% at 50% 0%, #0d2422 0%, #060807 55%, #000 100%) fixed;
  line-height: 1.7;
}
/* faint scanlines for brand continuity, kept subtle so text stays crisp */
body.page::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    to bottom, rgba(0,0,0,0) 0, rgba(0,0,0,0) 2px, rgba(0,0,0,0.18) 3px, rgba(0,0,0,0) 4px);
  mix-blend-mode: multiply;
}
.page-wrap { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 34px 22px 96px; }

.page-nav {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  font-family: "Courier New", ui-monospace, monospace;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  padding-bottom: 22px; margin-bottom: 30px;
  border-bottom: 1px solid rgba(43,214,196,0.18);
}
.page-nav .brand { color: var(--amber); font-weight: bold; margin-right: auto; font-size: 14px; }
/* ™ on the sub-page wordmark — matches the homepage logo's mark (sizing + tuck). */
.page-nav .brand .tm { font-size: 0.62em; letter-spacing: 0; vertical-align: super; font-weight: normal; opacity: 0.8; margin-left: -2px; }
.page-nav a { color: var(--teal-dim); text-decoration: none; }
.page-nav a:hover, .page-nav a[aria-current="page"] { color: var(--teal); }
/* Sub-page nav collapses into a circular hamburger + drawer (nav.js). Gated on
   .has-drawer (added by nav.js) so the inline links stay visible without JS. */
.has-drawer .page-nav a:not(.brand) { display: none; }
.page-nav .nav-toggle { margin-left: auto; }   /* .menu-btn gives the circle */
.nav-overlay { position: fixed; }               /* cover the viewport on scrollable pages */
.menu-link[aria-current="page"] { color: var(--amber); }

.page h1 {
  font-family: "Courier New", ui-monospace, monospace;
  color: var(--amber); font-size: clamp(26px, 6vw, 34px);
  letter-spacing: 2px; line-height: 1.2; margin-bottom: 6px;
  text-shadow: 0 0 18px rgba(230,32,63,0.25);
}
.page .lede { color: var(--teal); font-size: 18.5px; line-height: 1.55; margin: 10px 0 30px; }
.page h2 {
  font-family: "Courier New", ui-monospace, monospace;
  color: var(--teal); font-size: 18px; letter-spacing: 1px;
  margin: 40px 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(43,214,196,0.18);
}
.page h3 { color: var(--amber); font-size: 16px; margin: 24px 0 6px; }
.page p, .page li { font-size: 17px; color: #e4efec; }
.page p { margin-bottom: 14px; }
.page ul, .page ol { padding-left: 22px; margin-bottom: 14px; }
.page li { margin-bottom: 7px; }
.page a { color: var(--teal); }
.page strong { color: #eafffb; }
.page em { color: var(--teal-dim); }
.page .muted { color: #8aa2a0; font-size: 14px; }

/* pull-quote / Capone voice line */
.page blockquote {
  margin: 22px 0; padding: 14px 18px;
  border-left: 3px solid var(--amber);
  background: rgba(230,32,63,0.06); border-radius: 0 10px 10px 0;
  color: #eafffb; font-style: italic;
}

/* call-to-action button, mirrors the app's .talk pill */
.page .cta {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 8px;
  padding: 13px 26px; text-decoration: none;
  background: var(--ink); color: var(--teal);
  border: 2px solid var(--teal); border-radius: 999px;
  font-family: "Courier New", ui-monospace, monospace;
  font-weight: bold; letter-spacing: 2px; font-size: 14px;
  box-shadow: 0 0 24px rgba(43,214,196,0.22);
}
.page .cta:hover { box-shadow: 0 0 34px rgba(43,214,196,0.4); }

/* FAQ: native <details> accordions */
.faq-item {
  border: 1px solid rgba(43,214,196,0.22); border-radius: 12px;
  background: rgba(0,0,0,0.35); margin-bottom: 12px; overflow: hidden;
}
.faq-item > summary {
  cursor: pointer; list-style: none; padding: 15px 18px;
  font-family: "Courier New", ui-monospace, monospace;
  color: var(--teal); font-size: 15px; letter-spacing: 0.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; color: var(--amber); font-size: 20px; line-height: 1; }
.faq-item[open] > summary::after { content: "–"; }
.faq-item[open] > summary { color: var(--amber); }
.faq-item .faq-body { padding: 0 18px 16px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }

/* press: fact grid + pack table */
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 8px; }
.fact {
  border: 1px solid rgba(43,214,196,0.22); border-radius: 12px;
  background: rgba(0,0,0,0.35); padding: 14px 16px;
}
.fact .k { font-family: "Courier New", ui-monospace, monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal-dim); }
.fact .v { color: #eafffb; font-size: 15px; margin-top: 4px; }
.page table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.page th, .page td { border: 1px solid rgba(43,214,196,0.2); padding: 9px 12px; text-align: left; font-size: 15px; }
.page th { font-family: "Courier New", ui-monospace, monospace; color: var(--teal); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.page td .amt { color: var(--amber); font-weight: bold; }

.page-footer {
  margin-top: 54px; padding-top: 18px;
  border-top: 1px solid rgba(43,214,196,0.18);
  font-size: 12px; color: #8aa2a0;
  font-family: "Courier New", ui-monospace, monospace; letter-spacing: 0.5px;
}
.page-footer a { color: #8aa2a0; }
.page-footer a:hover { color: var(--teal); }

/* ---- legal pages (Terms/Privacy/Cookies) share the .page shell ---- */
.page .updated { color: #8aa2a0; font-size: 14px; margin-top: -4px; margin-bottom: 22px; }
.page .box {
  background: rgba(6,16,15,0.6);
  border: 1px solid rgba(43,214,196,0.25);
  border-left: 3px solid var(--chi-red);
  border-radius: 10px; padding: 14px 18px; margin: 16px 0 22px;
  font-size: 15px; color: #e4efec;
}
.page .caps { text-transform: uppercase; font-size: 13px; letter-spacing: 0.4px; }
.page footer {
  margin-top: 54px; padding-top: 18px;
  border-top: 1px solid rgba(43,214,196,0.18);
  font-size: 12px; color: #8aa2a0;
  font-family: "Courier New", ui-monospace, monospace; letter-spacing: 0.5px; line-height: 1.6;
}
.page footer a { color: #8aa2a0; }
.page footer a:hover { color: var(--teal); }

/* ============================================================
   Chicago display face on brand moments (wordmark handled at top).
   Big Shoulders for hero/section titles + primary CTAs; the HUD,
   status line, captions, labels and body copy stay in their fonts.
   ============================================================ */
.panel h2, .onboard-title, .page h1, .page-nav .brand {
  font-family: var(--display); text-transform: uppercase; letter-spacing: 1.5px;
}
.page h2 { font-family: var(--display); letter-spacing: 1px; text-transform: uppercase; }
.page h3 { font-family: var(--display); letter-spacing: 0.6px; }
.btn-primary, .talk, .center-hint, .page .cta {
  font-family: var(--display); font-weight: 800; letter-spacing: 2px;
}
/* Every action/control reads in caps — one consistent, signage-like button layer. */
.btn-primary, .talk, .center-hint, .hud-btn, .cookie-btn, .menu-link, .link-btn,
.page .cta, .vc-tickets, .vc-buy, .venue-card .vc-links a, .pack {
  text-transform: uppercase;
}
/* Condensed face reads a bit smaller — nudge a few titles up to compensate. */
.panel h2 { font-size: 21px; }
.onboard-title { font-size: 27px; }

/* Chicago six-point star — the flag's civic mark. */
.chi-star { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; fill: currentColor; }
/* The Chicago flag device: four red six-point stars between two light-blue bars. */
.chi-flag { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.chi-flag .chi-bar { width: 112px; height: 2px; border-radius: 2px;
  background: var(--chi-blue); box-shadow: 0 0 10px rgba(90,184,236,0.55); }
.chi-flag .chi-stars { display: flex; gap: 13px; color: var(--chi-red); }
.chi-flag .chi-stars .chi-star { width: 16px; height: 16px;
  filter: drop-shadow(0 0 6px rgba(230,32,63,0.6)); }
.onboard-crest { margin-bottom: 12px; }

/* End-of-session sponsor thank-you card (shown only when a sponsor underwrote the free minutes) */
.sponsor-thanks {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% + 8px));
  z-index: 40; width: min(90vw, 420px); box-sizing: border-box;
  background: rgba(7, 8, 8, 0.92); border: 1px solid var(--teal-dim); border-radius: 12px;
  padding: 16px 18px; text-align: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none;
}
.sponsor-thanks.show { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.sponsor-thanks-x {
  position: absolute; top: 4px; right: 8px; background: none; border: 0; color: var(--teal-dim);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 4px;
}
.sponsor-thanks-x:hover { color: var(--teal); }
.sponsor-thanks-logo { max-height: 34px; max-width: 150px; margin: 0 auto 10px; display: block; }
.sponsor-thanks-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--teal); }
.sponsor-thanks-link {
  display: inline-block; margin-top: 12px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--teal); color: var(--teal); text-decoration: none; font-size: 12px; letter-spacing: 0.04em;
}
.sponsor-thanks-link:hover { background: var(--teal); color: #04100e; }
