/* ============================================================
   MIDNIGHT MARQUEE — a drive-in radio spectacular
   O'Hara Family Light Show · design study by Muse Wonder
   Palette pulled from the real display photos: near-black Texas
   night, pixel-bulb amber, spectral violet, ice cyan, prop red.
   Season-aware: body[data-season] swaps the marquee colours.
   ============================================================ */

:root {
  --night: #0a0614;
  --night-2: #120a24;
  --panel: #171029;
  --panel-2: #1e1436;
  --ink: #f6f1e7;
  --muted: #b9b0d0;
  --faint: #8d84ab;
  --bulb: #ffb347;          /* pumpkin amber — Halloween lead */
  --bulb-2: #c99aff;        /* spectral violet */
  --bulb-3: #6ee7ff;        /* ice cyan */
  --bulb-4: #ff5d73;        /* prop red-pink */
  --glow: rgba(255, 179, 71, 0.55);
  --line: rgba(246, 241, 231, 0.13);
  --radius: 20px;
  --max: 74rem;
  --font-display: "Fraunces", "Georgia", serif;
  --font-ui: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", monospace;
}

body[data-season="christmas"] {
  --bulb: #ffd166;
  --bulb-2: #ff5d73;
  --bulb-3: #6ee7ff;
  --glow: rgba(255, 209, 102, 0.5);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--night);
  min-height: 100vh;
  overflow-x: hidden;
}

/* The whole house, lit — fixed page backdrop on both pages.
   The photo is soft and mostly black, so a dark gradient + vignette
   sits on top of it (body::after) to keep text readable and let the
   near-black frame melt into the page night. decor.js drifts
   --bg-shift a few px on scroll for a subtle parallax (desktop);
   the overscan in `inset` hides the edges while it moves. */
body::before {
  content: "";
  position: fixed;
  inset: -36px;
  z-index: -2;
  background-image: image-set(
    url("../assets/images/house-lit.webp") type("image/webp"),
    url("../assets/images/house-lit.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: center 34%;
  filter: saturate(1.1) contrast(1.04) brightness(0.92);
  transform: translate3d(0, var(--bg-shift, 0px), 0) scale(1.04);
  will-change: transform;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 38%, transparent 30%, rgba(7, 3, 15, 0.62) 100%),
    linear-gradient(180deg, rgba(7, 3, 15, 0.66) 0%, rgba(7, 3, 15, 0.55) 34%, rgba(7, 3, 15, 0.72) 68%, rgba(7, 3, 15, 0.9) 100%),
    radial-gradient(900px 480px at 85% -10%, rgba(150, 84, 255, 0.14), transparent 60%),
    radial-gradient(800px 420px at -10% 22%, rgba(255, 140, 66, 0.08), transparent 55%);
}

@media (max-width: 680px) {
  /* Portrait phones: keep the house itself (not sky or driveway)
     framed in the visible slice of the wide photo. */
  body::before { background-position: 50% 30%; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--bulb-3); }
::selection { background: var(--bulb); color: #1c0f00; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  padding: 0.8rem 1.1rem; background: var(--bulb); color: #1c0f00;
  font-weight: 700; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }

/* ---------- bulb chase strips (decor, spans injected by decor.js) ---------- */
.bulb-strip {
  display: flex; justify-content: space-between; align-items: center;
  gap: 6px; padding: 7px 10px; pointer-events: none; overflow: hidden;
}
.bulb-strip i {
  flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
  background: var(--bulb);
  box-shadow: 0 0 10px 2px var(--glow);
  animation: chase 1.6s ease-in-out infinite;
}
.bulb-strip i:nth-child(4n + 2) { background: var(--bulb-2); box-shadow: 0 0 10px 2px rgba(201, 154, 255, 0.55); animation-delay: 0.4s; }
.bulb-strip i:nth-child(4n + 3) { background: var(--bulb-3); box-shadow: 0 0 10px 2px rgba(110, 231, 255, 0.5); animation-delay: 0.8s; }
.bulb-strip i:nth-child(4n)     { background: var(--bulb-4); box-shadow: 0 0 10px 2px rgba(255, 93, 115, 0.5); animation-delay: 1.2s; }

@keyframes chase {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.72); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(10, 6, 20, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; min-height: 4.25rem;
  padding: 0.45rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  font-family: var(--font-display); font-weight: 900; font-size: 1.28rem;
  letter-spacing: 0.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.logo::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bulb); box-shadow: 0 0 12px 3px var(--glow);
  animation: chase 1.6s ease-in-out infinite;
}
.logo span { color: var(--bulb); font-style: italic; }
.nav-links {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.15rem;
  list-style: none; margin: 0; padding: 0; font-size: 0.92rem; font-weight: 500;
}
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-links a.nav-cta {
  color: #1c0f00; background: linear-gradient(135deg, var(--bulb), #ff8a3d);
  padding: 0.5rem 1rem; border-radius: 999px; font-weight: 700;
  box-shadow: 0 4px 22px var(--glow);
}
.nav-links a.nav-cta:hover { color: #1c0f00; filter: brightness(1.07); }

/* ---------- generic sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 4.5rem 1.25rem 3.5rem; }
.section-header { margin-bottom: 2.1rem; max-width: 46rem; }
.kicker {
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--bulb); margin: 0 0 0.7rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.kicker::after { content: ""; height: 1px; width: 3.2rem; background: linear-gradient(90deg, var(--bulb), transparent); }
.section-header h2, .section-header h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.02; letter-spacing: -0.01em;
  margin: 0 0 0.65rem; text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.85), 0 1px 6px rgba(0, 0, 0, 0.9);
}
.section-header p, .kicker { text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9); }
.section-header h2 em, .section-header h1 em { font-style: italic; color: var(--bulb); }
.section-header p { margin: 0; color: var(--muted); max-width: 38rem; }
.accent-line { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.7rem; font-size: 1rem; font-weight: 700; font-family: var(--font-ui);
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--bulb), #ff8a3d); color: #1c0f00;
  box-shadow: 0 8px 32px var(--glow);
}
.btn-secondary {
  background: rgba(10, 6, 20, 0.55); color: var(--ink);
  border-color: rgba(246, 241, 231, 0.4); backdrop-filter: blur(6px);
}
.btn-secondary:hover { border-color: var(--bulb-3); color: var(--bulb-3); }
.btn-facebook { background: #1877f2; color: #fff; box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: min(100svh, 60rem);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
  border-bottom: 1px solid var(--line);
}
/* The fixed body backdrop is the hero photo now; .hero-bg stays in
   the DOM (main.js swaps it per season) but is not painted. */
.hero-bg { display: none; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 6, 20, 0.52) 0%, rgba(10, 6, 20, 0.08) 34%, rgba(10, 6, 20, 0.42) 70%, rgba(7, 3, 15, 0.88) 100%),
    radial-gradient(80% 55% at 50% 78%, transparent 40%, rgba(10, 6, 20, 0.45) 100%);
}
/* Twinkle stays a whisper over the real photo — the house is the star. */
#twinkle { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.45; }
.hero-frame { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding-top: 4.25rem; }
.hero-content {
  position: relative; z-index: 3; width: 100%;
  max-width: var(--max); margin: 0 auto; padding: 7rem 1.25rem 2.6rem;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: clamp(0.7rem, 2vw, 0.82rem);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--bulb-3);
  margin: 0 0 1rem; text-shadow: 0 2px 14px rgba(0,0,0,0.8);
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.9rem, 9.2vw, 6.4rem); line-height: 0.94; letter-spacing: -0.015em;
  margin: 0 0 1.1rem; max-width: 11ch; text-wrap: balance;
  text-shadow: 0 4px 34px rgba(0,0,0,0.75), 0 0 64px rgba(255, 150, 60, 0.25);
}
.hero-tagline {
  font-size: clamp(1.08rem, 2.6vw, 1.4rem); line-height: 1.5;
  color: #efe9fb; max-width: 34rem; margin: 0 0 2rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.85);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 2.2rem; }

/* FM radio dial */
.fm-dial {
  max-width: 34rem; padding: 1rem 1.2rem 0.85rem;
  background: rgba(12, 7, 24, 0.72); border: 1px solid var(--line);
  border-radius: 16px; backdrop-filter: blur(10px);
}
.fm-dial-label {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.55rem;
}
.fm-dial-label strong { color: var(--bulb); font-size: 1.35rem; letter-spacing: 0.04em; text-shadow: 0 0 18px var(--glow); }
.fm-scale { position: relative; height: 30px; }
.fm-scale::before {
  content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 2px;
  background: linear-gradient(90deg, rgba(246,241,231,0.15), rgba(246,241,231,0.5), rgba(246,241,231,0.15));
}
.fm-ticks { position: absolute; inset: 0; display: flex; justify-content: space-between; }
.fm-ticks i { width: 1px; height: 8px; background: rgba(246,241,231,0.45); margin-top: 9px; }
.fm-ticks i:nth-child(odd) { height: 13px; margin-top: 6px; }
.fm-needle {
  position: absolute; top: 0; left: 4.5%; width: 3px; height: 26px; border-radius: 2px;
  background: var(--bulb); box-shadow: 0 0 14px 3px var(--glow);
}
.fm-needle::after {
  content: ""; position: absolute; left: 50%; top: -5px; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--bulb);
}
.fm-nums { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.62rem; color: var(--faint); margin-top: 0.3rem; }

/* ---------- marquee ticker ---------- */
.ticker {
  overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(255, 179, 71, 0.09), rgba(201, 154, 255, 0.09), rgba(110, 231, 255, 0.09));
  padding: 0.7rem 0; white-space: nowrap;
}
.ticker-track {
  display: inline-flex; gap: 2.6rem; padding-right: 2.6rem;
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink); animation: tick 36s linear infinite; will-change: transform;
}
.ticker-track b { color: var(--bulb); font-weight: 400; }
@keyframes tick { to { transform: translateX(-100%); } }

/* ---------- status chip ---------- */
.status-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 1rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 1.4rem;
  border: 1px solid var(--line); background: var(--panel); color: var(--muted);
}
.status-chip::before {
  content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: currentColor; box-shadow: 0 0 10px currentColor;
  animation: chase 1.8s ease-in-out infinite;
}
.status-open { color: #7dffa8; border-color: rgba(125, 255, 168, 0.45); background: rgba(125, 255, 168, 0.09); }
.status-opening_soon { color: var(--bulb); border-color: rgba(255, 179, 71, 0.45); background: rgba(255, 179, 71, 0.09); }
.status-closed { color: var(--muted); }

/* ---------- show-bill (season) ---------- */
.showbill {
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 55%);
  overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.showbill-body {
  display: grid; gap: 0;
}
@media (min-width: 860px) {
  .showbill-body { grid-template-columns: 1.05fr 0.95fr; }
}
.showbill-photo { min-height: 17rem; position: relative; }
.showbill-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.showbill-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 55%, rgba(18, 10, 36, 0.65));
}
.showbill-facts { padding: 2rem 1.8rem 2.2rem; display: flex; flex-direction: column; justify-content: center; }
.season-grid { display: grid; gap: 1rem; }
@media (min-width: 520px) { .season-grid { grid-template-columns: 1fr 1fr; } }
.info-card {
  background: rgba(10, 6, 20, 0.42); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem 1.35rem;
}
.info-card h3 {
  margin: 0 0 0.45rem; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.24em; color: var(--bulb);
}
.info-card p { margin: 0; font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; line-height: 1.2; }
.info-card .detail { margin-top: 0.45rem; font-family: var(--font-ui); font-size: 0.92rem; font-weight: 400; color: var(--muted); line-height: 1.55; }
.detail { color: var(--muted); }

/* ---------- visit ---------- */
.visit-layout { display: grid; gap: 1.6rem; }
@media (min-width: 860px) { .visit-layout { grid-template-columns: 0.92fr 1.08fr; align-items: stretch; } }
.visit-address-big {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.9rem, 4.6vw, 2.7rem); line-height: 1.08; margin: 0 0 0.4rem;
}
.map-embed-wrap, .map-placeholder {
  border-radius: calc(var(--radius) + 4px); overflow: hidden; padding: 0;
  border: 1px solid var(--line); background: var(--panel);
  min-height: 320px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.map-embed-wrap iframe, .map-placeholder iframe {
  width: 100%; height: 100%; min-height: 320px; border: 0; display: block;
  filter: saturate(0.85) hue-rotate(-8deg);
}
.visit-notes { list-style: none; margin: 1.3rem 0 0; padding: 0; counter-reset: note; display: grid; gap: 0.7rem; }
.visit-notes li {
  counter-increment: note; position: relative;
  padding: 0.95rem 1rem 0.95rem 3.4rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  color: var(--ink); font-size: 0.98rem;
}
.visit-notes li::before {
  content: counter(note, decimal-leading-zero);
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 0.8rem; color: var(--bulb);
}
.house-rules { display: grid; gap: 0.7rem; margin-top: 0.7rem; }
@media (min-width: 520px) { .house-rules { grid-template-columns: 1fr 1fr; } }
.house-rule {
  padding: 1rem 1.1rem; border-radius: 14px;
  border: 1px dashed rgba(255, 179, 71, 0.5); background: rgba(255, 179, 71, 0.07);
  font-size: 0.95rem;
}
.house-rule strong {
  display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--bulb); margin-bottom: 0.35rem;
}

/* ---------- gallery: photo wall ---------- */
.gallery-grid { columns: 1; column-gap: 1.1rem; }
@media (min-width: 520px) { .gallery-grid { columns: 2; } }
@media (min-width: 940px) { .gallery-grid { columns: 3; } }
.gallery-item {
  break-inside: avoid; display: block; width: 100%; text-align: left;
  margin: 0 0 1.4rem; padding: 0.55rem 0.55rem 0.7rem;
  background: #f8f3e6; border: none; border-radius: 6px; cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  transform: rotate(-1.1deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-item:nth-child(3n + 2) { transform: rotate(1.2deg); }
.gallery-item:nth-child(4n) { transform: rotate(-0.5deg); }
.gallery-item:hover, .gallery-item:focus-visible {
  transform: rotate(0deg) translateY(-5px) scale(1.015);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--bulb), 0 0 34px var(--glow);
  outline: none; z-index: 2; position: relative;
}
.gallery-item figure { margin: 0; }
.gallery-item img { width: 100%; border-radius: 3px; }
.gallery-item figcaption { padding: 0.55rem 0.2rem 0; color: #241a3a; font-size: 0.82rem; }

/* ---------- playlist: tonight's tracklist ---------- */
.playlist-grid { display: grid; gap: 0.85rem; grid-template-columns: 1fr; counter-reset: track; }
@media (min-width: 720px) { .playlist-grid { grid-template-columns: 1fr 1fr; } }
.playlist-card {
  counter-increment: track; position: relative;
  background: linear-gradient(150deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.25rem 4.4rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.playlist-card::before {
  content: counter(track, decimal-leading-zero);
  position: absolute; left: 1.25rem; top: 1.15rem;
  font-family: var(--font-mono); font-size: 1rem; color: var(--bulb);
  text-shadow: 0 0 12px var(--glow);
}
.playlist-card:hover { border-color: rgba(255, 179, 71, 0.5); transform: translateY(-2px); }
.playlist-card h3 { margin: 0 0 0.3rem; font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; line-height: 1.2; }
.playlist-card p { margin: 0 0 0.7rem; font-size: 0.9rem; color: var(--muted); }
.playlist-card a { font-size: 0.9rem; font-weight: 600; }
.playlist-card .btn { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
.playlist-video-wrap {
  margin-top: 0.4rem; border-radius: 12px; overflow: hidden; background: #000; aspect-ratio: 16 / 9;
}
.playlist-video-wrap video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* ---------- homepage show focus (now playing + requests) ---------- */
.show-focus {
  padding-top: 2.6rem;
  padding-bottom: 2.4rem;
  scroll-margin-top: 5.5rem;
}
.show-focus-header { margin-bottom: 1.25rem; }
.show-focus-grid {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 920px) {
  .show-focus-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.75rem;
  }
}
.show-focus-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bulb-3);
}
.show-focus-request-note {
  margin: -0.35rem 0 0.85rem;
  max-width: 38rem;
}
.show-focus-request-note a { font-weight: 600; }
.show-focus-now .live-bridge-chip { margin-bottom: 0.85rem; }
.show-focus .now-sign { margin-top: 0; }
.show-focus .live-request-card {
  max-height: min(52vh, 28rem);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- stats (secondary) ---------- */
.stats-section--quiet {
  padding-top: 2.2rem !important;
  padding-bottom: 2.4rem !important;
  border-top: 1px solid var(--line);
}
.stats-section--quiet .section-header {
  margin-bottom: 1.25rem;
  max-width: 36rem;
}
.stats-section--quiet .section-header h2 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
}
.stats-section--quiet .kicker {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.45rem;
}
.stats-panel { display: grid; gap: 1.25rem; }
.stats-section--quiet .stats-panel { gap: 0.85rem; }
.stats-metrics {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
}
.stats-metric .stats-big {
  margin: 0.15rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  color: var(--bulb);
  text-shadow: 0 0 18px rgba(255, 179, 71, 0.35);
}
.stats-section--quiet .stats-metric .stats-big {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  text-shadow: none;
}
.stats-section--quiet .stats-metric,
.stats-section--quiet .stats-leaderboard-card {
  padding: 0.95rem 1rem;
}
.stats-section--quiet .stats-metric h3 {
  font-size: 0.65rem;
}
.stats-leaderboard-card h3 { margin-top: 0; }
.stats-leaderboard {
  list-style: none; margin: 0.75rem 0 0; padding: 0;
  display: grid; gap: 0.55rem;
}
.stats-leaderboard li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.55rem 0.65rem; border-radius: 10px; background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.stats-rank {
  font-family: var(--font-mono); font-weight: 700; color: var(--bulb); min-width: 1.6rem;
}
.stats-title { font-weight: 600; }
.stats-count {
  font-family: var(--font-mono); font-size: 0.88rem; color: var(--muted);
}
.stats-empty { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- follow ---------- */
.follow-panel {
  text-align: center; position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px);
  padding: 3.2rem 1.6rem 3.4rem;
  background:
    radial-gradient(560px 260px at 50% -20%, rgba(255, 179, 71, 0.22), transparent 65%),
    linear-gradient(160deg, var(--panel-2), var(--panel));
}
.follow-panel h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 0.7rem; }
.follow-panel h2 em { font-style: italic; color: var(--bulb); }
.follow-panel p { color: var(--muted); max-width: 30rem; margin: 0 auto 1.6rem; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 2.4rem 1.25rem 2.8rem;
  text-align: center; font-size: 0.9rem; color: var(--muted);
}
.site-footer p { margin: 0.3rem 0; }
.site-footer .foot-bulbs { display: flex; justify-content: center; margin-bottom: 1.1rem; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; padding: 1rem;
  background: rgba(6, 3, 14, 0.94); display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.22s ease, visibility 0.22s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-inner { max-width: min(58rem, 100%); max-height: 92vh; position: relative; background: #f8f3e6; padding: 0.7rem; border-radius: 8px; }
.lightbox-inner img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox-caption { text-align: center; margin-top: 0.7rem; color: var(--muted); font-size: 0.95rem; }
.lightbox-close {
  position: absolute; top: -2.6rem; right: 0; background: none; border: none;
  color: var(--ink); font-size: 2.1rem; cursor: pointer; line-height: 1; padding: 0.25rem;
}
.lightbox-close:hover { color: var(--bulb); }

/* ---------- rendered preview teaser (homepage) ---------- */
.render-teaser-band {
  max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 2.2rem;
}
.render-teaser-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.6rem; align-items: center;
  border: 1px solid rgba(255, 179, 71, 0.32); border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(155deg, rgba(30, 20, 54, 0.92), rgba(23, 16, 41, 0.88));
  padding: 1.5rem 1.6rem; box-shadow: 0 20px 55px rgba(0, 0, 0, 0.42);
}
.render-teaser-copy h2 {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(1.65rem, 4vw, 2.35rem);
  margin: 0 0 0.55rem; line-height: 1.05;
}
.render-teaser-copy h2 em { font-style: italic; color: var(--bulb); }
.render-teaser-copy p { margin: 0 0 1rem; color: var(--muted); max-width: 36rem; }
.render-teaser-frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 16 / 9;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}
.render-teaser-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.render-teaser-badge {
  position: absolute; left: 0.75rem; top: 0.75rem;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.32rem 0.65rem; border-radius: 999px;
  color: #1c0f00; background: linear-gradient(135deg, var(--bulb-3), #7dffa8);
}

@media (max-width: 820px) {
  .render-teaser-inner { grid-template-columns: 1fr; }
  .render-teaser-visual { order: -1; }
}

/* ---------- mobile nav squeeze ---------- */
@media (max-width: 680px) {
  .hero-frame { padding-top: 5.6rem; }
  .nav-inner { padding-inline: 0.9rem; gap: 0.6rem; }
  .logo { font-size: 1.08rem; }
  .nav-links { font-size: 0.78rem; gap: 0.25rem 0.7rem; justify-content: flex-end; }
  .nav-links a.nav-cta { padding: 0.42rem 0.8rem; }
  .section { padding: 3.4rem 1rem 2.6rem; }
  .hero-content { padding-top: 5.5rem; }
  .fm-dial { padding: 0.85rem 0.95rem 0.7rem; }
  .showbill-facts { padding: 1.5rem 1.15rem 1.7rem; }
  .playlist-card { padding-left: 3.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .ticker-track { animation: none; }
  body::before { transform: none; }
  #twinkle { opacity: 0.3; }
}
