/* ============================================================
   SPARROWVERSE — Stylesheet v5  "COSMIC COMIC"
   A daily-rotating VIBE ENGINE. One layout, ~10 moods.
   All color/texture comes from CSS custom properties set by the
   .vibe-* class on <body>. Components only read the vars.
   ============================================================ */

/* ---------- Design tokens (defaults; vibes override the palette) ---------- */
:root {
  --font-display: 'Unbounded', 'Syne', system-ui, sans-serif;
  --font-alt: 'Syne', 'Unbounded', system-ui, sans-serif;
  --font-body: 'Sora', system-ui, -apple-system, sans-serif;

  --maxw: 1240px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Palette vars — overridden per vibe */
  --bg:        #06060e;
  --bg-2:      #0d0820;
  --surface:   rgba(255,255,255,0.045);
  --surface-2: rgba(255,255,255,0.08);
  --border:    rgba(255,255,255,0.12);
  --ink:       #f4f2ff;
  --ink-soft:  #b9b6d6;
  --ink-mute:  #817ea3;

  --accent:    #2ee6d6;   /* primary accent */
  --accent-2:  #ff3cac;   /* secondary accent */
  --accent-3:  #ffd66b;   /* tertiary / gold */
  --glow:      rgba(46,230,214,0.55);
  --glow-2:    rgba(255,60,172,0.5);

  --grad: radial-gradient(ellipse 90% 70% at 50% -10%, var(--bg-2) 0%, var(--bg) 60%);
  --texture-opacity: 0.5;
  --scanline-opacity: 0;
  --particle-color: var(--accent);
  --particle-glow: var(--glow);
  --particle-shape: 50%;
}

/* ============================================================
   THE 10 VIBES
   ============================================================ */

/* 1 — Cosmic Comic */
.vibe-cosmic {
  --bg:#06060e; --bg-2:#1a0b3a;
  --ink:#f4f2ff; --ink-soft:#bcb6e6; --ink-mute:#7d79ad;
  --accent:#2ee6d6; --accent-2:#ff3cac; --accent-3:#ffd66b;
  --glow:rgba(46,230,214,0.6); --glow-2:rgba(255,60,172,0.55);
  --grad: radial-gradient(ellipse 100% 80% at 50% -10%, #2a1160 0%, #120833 45%, #06060e 80%);
  --texture-opacity:.42; --scanline-opacity:0;
  --particle-color:#cfe9ff; --particle-glow:rgba(46,230,214,.7); --particle-shape:50%;
}
/* 2 — Dune / Lisan */
.vibe-dune {
  --bg:#160d05; --bg-2:#3a1f06;
  --ink:#fff3e0; --ink-soft:#e6c79a; --ink-mute:#a9885a;
  --accent:#ffb347; --accent-2:#ff6a00; --accent-3:#ffe08a;
  --glow:rgba(255,140,40,0.55); --glow-2:rgba(255,106,0,0.5);
  --grad: radial-gradient(ellipse 120% 90% at 50% -5%, #5a3208 0%, #2e1804 45%, #160d05 82%);
  --texture-opacity:.6; --scanline-opacity:0;
  --particle-color:#ffd591; --particle-glow:rgba(255,160,60,.55); --particle-shape:50%;
}
/* 3 — Bioluminescent Jungle */
.vibe-jungle {
  --bg:#03100b; --bg-2:#06281c;
  --ink:#e9fff2; --ink-soft:#9fe6c0; --ink-mute:#5d997d;
  --accent:#3dffab; --accent-2:#7cff5a; --accent-3:#a0f0ff;
  --glow:rgba(61,255,171,0.55); --glow-2:rgba(124,255,90,0.45);
  --grad: radial-gradient(ellipse 110% 85% at 50% -5%, #0a3b29 0%, #052016 48%, #03100b 84%);
  --texture-opacity:.5; --scanline-opacity:0;
  --particle-color:#9dffcf; --particle-glow:rgba(61,255,171,.7); --particle-shape:50%;
}
/* 4 — Blackjack Noir */
.vibe-noir {
  --bg:#070707; --bg-2:#170406;
  --ink:#f6f2ec; --ink-soft:#cabfb8; --ink-mute:#8a807a;
  --accent:#e11d2e; --accent-2:#f4ede1; --accent-3:#c0182a;
  --glow:rgba(225,29,46,0.5); --glow-2:rgba(244,237,225,0.25);
  --grad: radial-gradient(ellipse 100% 80% at 50% -8%, #2a0508 0%, #120203 45%, #070707 82%);
  --texture-opacity:.55; --scanline-opacity:0;
  --particle-color:#e11d2e; --particle-glow:rgba(225,29,46,.55); --particle-shape:50%;
}
/* 5 — MK-Ultra glitch/VHS */
.vibe-mkultra {
  --bg:#05060a; --bg-2:#0a1430;
  --ink:#eafcff; --ink-soft:#9fd4e6; --ink-mute:#6f8aa3;
  --accent:#00e5ff; --accent-2:#ff2965; --accent-3:#b388ff;
  --glow:rgba(0,229,255,0.55); --glow-2:rgba(255,41,101,0.5);
  --grad: radial-gradient(ellipse 110% 80% at 50% -5%, #16205a 0%, #0a1030 48%, #05060a 84%);
  --texture-opacity:.4; --scanline-opacity:.5;
  --particle-color:#00e5ff; --particle-glow:rgba(255,41,101,.5); --particle-shape:0;
}
/* 6 — Vinyl Rave neon */
.vibe-rave {
  --bg:#0a0316; --bg-2:#23004d;
  --ink:#f7eaff; --ink-soft:#cfa9f0; --ink-mute:#9268c0;
  --accent:#b026ff; --accent-2:#aaff00; --accent-3:#ff43e0;
  --glow:rgba(176,38,255,0.6); --glow-2:rgba(170,255,0,0.45);
  --grad: radial-gradient(ellipse 110% 85% at 50% -8%, #3d0a7a 0%, #1c0540 46%, #0a0316 84%);
  --texture-opacity:.45; --scanline-opacity:0;
  --particle-color:#d36bff; --particle-glow:rgba(170,255,0,.55); --particle-shape:50%;
}
/* 7 — Clown & Pirate carnival */
.vibe-carnival {
  --bg:#0c0507; --bg-2:#2a0810;
  --ink:#fff4ea; --ink-soft:#f0c6b0; --ink-mute:#b88a72;
  --accent:#ff3b3b; --accent-2:#13c4c4; --accent-3:#ffcf3a;
  --glow:rgba(255,59,59,0.5); --glow-2:rgba(19,196,196,0.5);
  --grad: radial-gradient(ellipse 110% 85% at 50% -5%, #4a0c18 0%, #220610 46%, #0c0507 84%);
  --texture-opacity:.5; --scanline-opacity:0;
  --particle-color:#ffcf3a; --particle-glow:rgba(19,196,196,.55); --particle-shape:50%;
}
/* 8 — Coracoa Frost / Ice */
.vibe-ice {
  --bg:#070d12; --bg-2:#0e2735;
  --ink:#f2fbff; --ink-soft:#bfe2f0; --ink-mute:#7fa6b8;
  --accent:#7fe9ff; --accent-2:#d8f6ff; --accent-3:#a9c8ff;
  --glow:rgba(127,233,255,0.5); --glow-2:rgba(216,246,255,0.4);
  --grad: radial-gradient(ellipse 110% 85% at 50% -8%, #15435c 0%, #0b2231 46%, #070d12 84%);
  --texture-opacity:.4; --scanline-opacity:0;
  --particle-color:#d8f6ff; --particle-glow:rgba(127,233,255,.65); --particle-shape:50%;
}
/* 9 — Menace graffiti street */
.vibe-menace {
  --bg:#0c0c0d; --bg-2:#1b1b1e;
  --ink:#f4f4f0; --ink-soft:#c4c4bc; --ink-mute:#86867e;
  --accent:#caff00; --accent-2:#ff2bd0; --accent-3:#ff7a00;
  --glow:rgba(202,255,0,0.5); --glow-2:rgba(255,43,208,0.5);
  --grad: radial-gradient(ellipse 110% 85% at 50% -5%, #26262a 0%, #161618 46%, #0c0c0d 84%);
  --texture-opacity:.7; --scanline-opacity:0;
  --particle-color:#caff00; --particle-glow:rgba(255,43,208,.5); --particle-shape:0;
}
/* 10 — Sentinel holy-light */
.vibe-sentinel {
  --bg:#0d0b06; --bg-2:#322710;
  --ink:#fffbe9; --ink-soft:#e8d9a8; --ink-mute:#ab9a68;
  --accent:#ffe48a; --accent-2:#fffaf0; --accent-3:#ffce5c;
  --glow:rgba(255,228,138,0.6); --glow-2:rgba(255,250,240,0.4);
  --grad: radial-gradient(ellipse 120% 95% at 50% -10%, #5e4b16 0%, #2c2208 48%, #0d0b06 84%);
  --texture-opacity:.35; --scanline-opacity:0;
  --particle-color:#fff3c4; --particle-glow:rgba(255,228,138,.7); --particle-shape:0;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; max-width: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: background 0.6s var(--ease), color 0.6s var(--ease);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 100000;
  background: var(--accent); color: #06060e; padding: 10px 16px;
  border-radius: 10px; font-weight: 700; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ============================================================
   BACKGROUND FIELD (texture layers per vibe)
   ============================================================ */
.bg-field { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.bg-gradient {
  position: absolute; inset: 0; background: var(--grad);
  transition: background 0.6s var(--ease);
}
.bg-texture {
  position: absolute; inset: -20%;
  opacity: var(--texture-opacity);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.10) 1px, transparent 0);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  transition: opacity 0.6s var(--ease);
}
/* per-vibe texture flavour */
.vibe-dune .bg-texture {
  background-image: repeating-linear-gradient(100deg, rgba(255,180,90,0.08) 0 2px, transparent 2px 9px);
  filter: blur(0.4px);
}
.vibe-jungle .bg-texture {
  background-image: radial-gradient(circle at 2px 2px, rgba(120,255,170,0.16) 1.5px, transparent 0);
  background-size: 30px 30px;
}
.vibe-menace .bg-texture {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  -webkit-mask-image: none; mask-image: none;
}
.vibe-noir .bg-texture {
  background-image: radial-gradient(circle at 1px 1px, rgba(225,29,46,0.18) 1px, transparent 0);
  background-size: 22px 22px;
}
.vibe-sentinel .bg-texture {
  background-image: repeating-conic-gradient(from 0deg at 50% -10%, rgba(255,228,138,0.10) 0deg 4deg, transparent 4deg 12deg);
  background-size: cover;
  -webkit-mask-image: linear-gradient(#000, transparent 70%);
          mask-image: linear-gradient(#000, transparent 70%);
}

/* VHS scanlines (mostly MK-Ultra) */
.bg-scanlines {
  position: absolute; inset: 0;
  opacity: var(--scanline-opacity);
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.35) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  transition: opacity 0.6s var(--ease);
}
.vibe-mkultra .bg-scanlines { animation: vhsRoll 8s linear infinite; }
@keyframes vhsRoll { from { background-position: 0 0; } to { background-position: 0 12px; } }

/* ============================================================
   PARTICLES
   ============================================================ */
.particles { position: absolute; inset: 0; }
.particle {
  position: absolute; display: block;
  background: var(--particle-color);
  border-radius: var(--particle-shape);
  box-shadow: 0 0 8px var(--particle-glow);
  opacity: 0;
  animation: twinkle var(--dur, 4s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.6); }
  50% { opacity: 0.9; transform: translateY(var(--drift, 0)) scale(1); }
}
/* profile flavours */
.p-sand   { animation-name: drift; opacity: .5; }
.p-snow   { animation-name: fall; border-radius: 50%; }
.p-spores { animation-name: floatUp; }
.p-confetti { border-radius: 1px; }
.p-rays   { background: linear-gradient(var(--particle-color), transparent); box-shadow: none; opacity:.5; animation-name: rayPulse; transform-origin: top; }
.p-glitch { animation-name: glitchFlick; }
@keyframes drift { 0%,100%{opacity:.2;transform:translateX(0)} 50%{opacity:.7;transform:translateX(var(--drift,20px))} }
@keyframes fall { 0%{opacity:0;transform:translateY(-20px)} 20%{opacity:.8} 100%{opacity:0;transform:translateY(60px) translateX(var(--drift,0))} }
@keyframes floatUp { 0%{opacity:0;transform:translateY(20px) scale(.5)} 40%{opacity:.9} 100%{opacity:0;transform:translateY(-50px) scale(1.1)} }
@keyframes rayPulse { 0%,100%{opacity:.15;transform:scaleY(.7)} 50%{opacity:.55;transform:scaleY(1)} }
@keyframes glitchFlick { 0%,100%{opacity:0;transform:translateX(0)} 48%{opacity:0} 50%{opacity:.95;transform:translateX(-3px)} 52%{transform:translateX(3px)} 54%{opacity:0} }

.shooting-star {
  position: absolute; width: var(--length, 120px); height: 2px;
  background: linear-gradient(90deg, #fff, transparent);
  border-radius: 2px; opacity: 0; transform: rotate(var(--angle, -35deg));
  animation: shoot var(--speed, 1.2s) ease-out forwards;
  box-shadow: 0 0 6px var(--particle-glow);
}
@keyframes shoot {
  0% { opacity: 0; transform: translate(0,0) rotate(var(--angle,-35deg)) scaleX(0); }
  10% { opacity: 1; transform: translate(0,0) rotate(var(--angle,-35deg)) scaleX(1); }
  100% { opacity: 0; transform: translate(300px, 220px) rotate(var(--angle,-35deg)) scaleX(0.6); }
}

/* ============================================================
   SPLASH
   ============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
  background: var(--bg);
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.splash.done { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-disc {
  position: relative; width: min(220px, 50vw); height: min(220px, 50vw);
  border-radius: 50%;
  background: radial-gradient(circle, #181818 0%, #0a0a0a 70%);
  box-shadow: 0 0 0 4px #222, 0 0 60px var(--glow), 0 20px 70px rgba(0,0,0,.7);
  animation: spin 3.2s linear infinite;
}
.splash-grooves {
  position: absolute; inset: 0; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 3px, rgba(30,30,30,.9) 3px 4px, transparent 4px 8px);
}
.splash-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 40%; height: 40%; border-radius: 50%; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px rgba(255,255,255,.08);
}
.splash-label img { width: 100%; height: 100%; object-fit: contain; }
.splash-text { font-family: var(--font-alt); letter-spacing: .14em; color: var(--ink-soft); font-size: .95rem; text-transform: uppercase; }
.splash-text b { color: var(--accent); font-family: var(--font-display); display: block; font-size: 1.5rem; margin-top: .3rem; text-shadow: 0 0 18px var(--glow); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 2.4rem);
  transition: background 0.3s var(--ease), backdrop-filter 0.3s, padding 0.3s var(--ease);
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  padding-top: .8rem; padding-bottom: .8rem;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; }
.nav-sigil { width: 30px; height: 30px; object-fit: contain; filter: drop-shadow(0 0 8px var(--glow)); }
/* Nav drawer at ALL widths — desktop uses the same clean hamburger as mobile
   (the inline bar couldn't hold 10 sections + 6 universes without overflowing). */
.nav-links {
  position: fixed; inset: 0 0 auto auto; top: 0; right: 0;
  height: 100svh; width: min(86vw, 360px);
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  gap: 1.05rem; padding: 5rem 2rem 2.5rem; overflow-y: auto; list-style: none; z-index: 9000;
  background: color-mix(in srgb, var(--bg) 95%, transparent); backdrop-filter: blur(22px);
  border-left: 1px solid var(--border); box-shadow: -24px 0 60px rgba(0,0,0,.5);
  transform: translateX(105%); transition: transform .35s var(--ease);
}
.nav-links.open { transform: none; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); position: relative; padding: .3rem 0; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); box-shadow: 0 0 8px var(--glow); transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 6px; z-index: 9100; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }

/* ============================================================
   VIBE HUD
   ============================================================ */
.vibe-hud {
  position: fixed; right: clamp(.7rem, 3vw, 1.6rem); bottom: clamp(.7rem, 3vw, 1.6rem);
  z-index: 8000; display: flex; align-items: center; gap: .9rem;
  padding: .7rem .9rem; max-width: min(92vw, 360px);
  background: color-mix(in srgb, var(--bg) 70%, transparent);
  border: 1px solid var(--border); border-radius: 16px;
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0,0,0,.45), 0 0 24px color-mix(in srgb, var(--glow) 40%, transparent);
}
.vibe-meta { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.vibe-eyebrow { font-size: .58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute); }
.vibe-name { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--accent); text-shadow: 0 0 12px var(--glow); }
.vibe-blurb { font-size: .68rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vibe-actions { display: flex; gap: .4rem; flex-shrink: 0; }
.vibe-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: .5rem .7rem; border-radius: 11px;
  background: var(--accent); color: #06060e;
  box-shadow: 0 0 16px color-mix(in srgb, var(--glow) 60%, transparent);
  transition: transform .15s var(--ease), filter .2s;
}
.vibe-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.vibe-btn:active { transform: scale(.96); }
.vibe-btn-ghost { background: var(--surface-2); color: var(--ink); box-shadow: none; border: 1px solid var(--border); padding: .5rem .6rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-alt); font-weight: 700; font-size: .9rem; letter-spacing: .03em;
  padding: .85rem 1.6rem; border-radius: 999px; transition: transform .18s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #06060e; box-shadow: 0 8px 30px color-mix(in srgb, var(--glow) 55%, transparent);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px color-mix(in srgb, var(--glow) 70%, transparent); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 1.2rem 4rem; overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; display: flex; flex-direction: column; align-items: center; }
.hero-orbit {
  position: absolute; top: 50%; left: 50%;
  width: min(520px, 78vw); aspect-ratio: 1; object-fit: contain;
  transform: translate(-50%,-54%);
  opacity: .22; filter: blur(2px) saturate(1.2);
  z-index: -1; animation: spin 50s linear infinite;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
          mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}
.hero-eyebrow {
  font-family: var(--font-alt); text-transform: uppercase; letter-spacing: .35em;
  font-size: .72rem; color: var(--ink-mute); margin-bottom: 1.3rem;
  animation: fadeUp .7s var(--ease) both;
}
.hero-wordmark {
  /* aspect-ratio: 1 reserves the box before art/sigil-of-dollar.png (a 1080x1080
     square) loads. Without it only `width` is set here, so the browser has no
     intrinsic height to lay out with and the hero reflows once the image
     arrives -- the classic CLS pattern, and this is the homepage's own hero,
     so it fires on the page that matters most. */
  width: clamp(120px, 26vw, 200px); aspect-ratio: 1; object-fit: contain; margin-bottom: .6rem;
  filter: drop-shadow(0 0 26px var(--glow)) drop-shadow(0 0 50px var(--glow-2));
  animation: fadeUp .8s var(--ease) .05s both, floaty 6s ease-in-out 1s infinite;
}
.hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.5rem, 7vw, 6rem); line-height: .92; letter-spacing: -.03em;
  white-space: nowrap; /* SPARROWVERSE is ONE word — never split or wrap it */
  background: linear-gradient(120deg, var(--ink) 0%, var(--accent) 50%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: 0 0 60px color-mix(in srgb, var(--glow) 30%, transparent);
  margin-bottom: .8rem; animation: fadeUp .9s var(--ease) .1s both;
}
.hero-title span { -webkit-text-fill-color: transparent; background: linear-gradient(120deg, var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; }
.hero-rotator-wrap {
  display: inline-flex; align-items: baseline; gap: .5ch;
  font-family: var(--font-display); font-weight: 700; letter-spacing: .04em;
  font-size: clamp(1rem, 3.4vw, 1.6rem); text-transform: uppercase;
  margin-bottom: 1.2rem; animation: fadeUp 1s var(--ease) .15s both;
}
.hero-rotator-static { color: var(--ink-mute); font-weight: 400; }
.hero-rotator {
  color: var(--accent); text-shadow: 0 0 18px var(--glow);
  transition: opacity .26s var(--ease), transform .26s var(--ease);
  display: inline-block; min-width: 7ch; text-align: left;
}
.hero-rotator.swap { opacity: 0; transform: translateY(-8px); }
.hero-sub {
  max-width: 580px; color: var(--ink-soft); font-size: clamp(.92rem, 2.2vw, 1.05rem);
  margin-bottom: 2.2rem; animation: fadeUp 1.05s var(--ease) .2s both;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; animation: fadeUp 1.1s var(--ease) .25s both; }

.scroll-hint {
  position: absolute; bottom: 1.8rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem; z-index: 2;
  font-size: .64rem; letter-spacing: .25em; text-transform: uppercase; color: var(--ink-mute);
}
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--accent), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100%{transform:scaleY(.4);opacity:.4;transform-origin:top} 50%{transform:scaleY(1);opacity:1;transform-origin:top} }
@keyframes fadeUp { from { opacity:0; transform: translateY(22px);} to { opacity:1; transform:none;} }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { position: relative; padding: clamp(3.5rem, 9vw, 7rem) clamp(1rem, 5vw, 2.4rem); max-width: var(--maxw); margin: 0 auto; }
.section-alt { max-width: none; }
.section-alt::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg-2) 26%, transparent);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section-alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: 2.6rem; }
.section-kicker {
  display: inline-block; font-family: var(--font-alt); font-weight: 700;
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .7rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.02em;
}
.section-desc { color: var(--ink-soft); max-width: 600px; margin-top: .9rem; font-size: 1rem; }
.section-foot { margin-top: 2.4rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.subhead {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  margin: 3rem 0 1.6rem; letter-spacing: -.01em;
}

/* ============================================================
   SHOWS + COUNTDOWN
   ============================================================ */
.countdown {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem;
  padding: 1.1rem 1.4rem; margin-bottom: 1.8rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: inset 0 0 30px color-mix(in srgb, var(--glow) 12%, transparent);
}
.cd-label { font-family: var(--font-alt); font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); }
.cd-clock { display: flex; gap: .9rem; margin-left: auto; }
.cd-unit { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.cd-unit b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 4vw, 1.9rem); color: var(--accent); text-shadow: 0 0 14px var(--glow); }
.cd-unit i { font-style: normal; font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.cd-live { font-family: var(--font-display); font-weight: 800; color: var(--accent-2); text-shadow: 0 0 14px var(--glow-2); letter-spacing: .02em; }

.shows-list { display: grid; gap: 1rem; }
.show-card {
  display: flex; align-items: center; gap: 1.4rem;
  padding: 1.2rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.show-card:hover { transform: translateX(6px); border-color: var(--accent); box-shadow: 0 10px 40px color-mix(in srgb, var(--glow) 22%, transparent); }
.show-date { display: flex; flex-direction: column; align-items: center; min-width: 64px; padding-right: 1.2rem; border-right: 1px solid var(--border); }
.show-date .month { font-family: var(--font-alt); font-weight: 800; letter-spacing: .1em; color: var(--accent); font-size: .82rem; }
.show-date .day { font-family: var(--font-display); font-weight: 900; font-size: 1.9rem; line-height: 1; }
.show-date .year { font-size: .66rem; color: var(--ink-mute); letter-spacing: .1em; }
.show-info { flex: 1; min-width: 0; }
.show-info h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.show-info .venue { color: var(--ink-soft); font-size: .9rem; }
.show-cta {
  font-family: var(--font-alt); font-weight: 700; font-size: .82rem;
  padding: .6rem 1.1rem; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: #06060e; transition: transform .15s var(--ease), filter .2s;
}
.show-cta:hover { transform: scale(1.05); filter: brightness(1.08); }

/* Past Shows archive */
.shows-past-head {
  display: flex; align-items: center; gap: .8rem;
  margin: 1.6rem 0 .4rem; color: var(--muted, #9a9aa8);
  font-family: var(--font-alt); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
}
.shows-past-head::before, .shows-past-head::after {
  content: ''; flex: 1; height: 1px; background: var(--line, rgba(255,255,255,.12));
}
.show-card--past { opacity: .6; }
.show-card--past:hover { opacity: .92; }
.show-card--past .show-cta { background: transparent; color: var(--ink, #f4f4f4); border: 1px solid var(--line, rgba(255,255,255,.2)); }

/* Show flyer thumbnail (from Linktree) */
.show-card--art { flex-wrap: wrap; }
.show-thumb { width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: .6rem; line-height: 0; }
.show-thumb img { width: 100%; height: auto; max-height: 320px; object-fit: cover; display: block; transition: transform .3s var(--ease, ease); }
.show-card--art:hover .show-thumb img { transform: scale(1.02); }

/* Growth graphs (two totals over time) */
.stats-growth {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin: .4rem 0 1.4rem;
}
@media (max-width: 560px) { .stats-growth { grid-template-columns: 1fr; } }
.growth-card {
  border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 14px;
  padding: .9rem 1rem; background: color-mix(in srgb, var(--ink, #fff) 4%, transparent);
}
.growth-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; }
.growth-title { font-family: var(--font-alt); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted, #9a9aa8); }
.growth-now { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.growth-chart { margin-top: .5rem; min-height: 46px; }
.growth-delta { margin-top: .35rem; font-size: .76rem; font-variant-numeric: tabular-nums; color: #36d399; }
.growth-delta.neg { color: #f87272; }
.growth-pending { font-size: .78rem; color: var(--muted, #9a9aa8); padding: .8rem 0; }

.empty-state {
  text-align: center; padding: 3rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px dashed var(--border);
}
.empty-headline { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.empty-sub { color: var(--ink-soft); margin: .5rem 0 1.4rem; }

/* ============================================================
   MIXES
   ============================================================ */
.mix-stage { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.featured-video {
  position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 40px color-mix(in srgb, var(--glow) 18%, transparent);
}
.featured-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.now-playing { padding: .2rem .2rem; }
.np-eyebrow { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }
.now-playing h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-top: .25rem; }
.now-playing p { color: var(--ink-soft); font-size: .9rem; }
.np-share {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: .7rem;
  padding: .42rem .8rem; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--accent); font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.np-share svg { width: 14px; height: 14px; }
.np-share:hover { background: color-mix(in srgb, var(--accent) 24%, transparent); transform: translateY(-1px); }
.np-share:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .np-share { transition: none; } .np-share:hover { transform: none; } }

.video-nav { display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.video-nav-btn {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border);
  transition: background .2s, border-color .2s, transform .15s var(--ease);
}
.video-nav-btn:hover { background: var(--accent); color: #06060e; border-color: var(--accent); transform: scale(1.05); }
.video-nav-btn svg { width: 22px; height: 22px; }
.video-thumbs { display: flex; gap: .7rem; overflow-x: auto; padding: .4rem; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.video-thumbs::-webkit-scrollbar { height: 6px; }
.video-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }
.video-thumb {
  position: relative; flex: 0 0 168px; width: 168px; aspect-ratio: 16/9;
  border-radius: 12px; overflow: hidden; scroll-snap-align: center;
  border: 2px solid transparent; transition: border-color .2s, transform .2s var(--ease); text-align: left;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb:hover { transform: translateY(-3px); }
.video-thumb.active { border-color: var(--accent); box-shadow: 0 0 18px var(--glow); }
.vt-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(6,6,14,.35); opacity: 0; transition: opacity .2s; }
.vt-play svg { width: 32px; height: 32px; fill: #fff; filter: drop-shadow(0 0 8px var(--glow)); }
.video-thumb:hover .vt-play, .video-thumb.active .vt-play { opacity: 1; }
.vt-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: .8rem .6rem .4rem;
  font-size: .66rem; font-weight: 600; line-height: 1.2;
  background: linear-gradient(transparent, rgba(6,6,14,.92));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   THE VAULT — vinyl wall
   ============================================================ */
.vinyl-grid {
  display: grid; gap: clamp(1.4rem, 4vw, 2.4rem);
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.vinyl { display: flex; flex-direction: column; align-items: center; gap: .9rem; cursor: pointer; }
.vinyl-platter { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
/* Real-turntable look: the grooved disc + the round art label spin together,
   continuously (Lucky: "spinning like real records"). Centered via inset/grid
   (NOT transform) so the spin animation's rotate is unobstructed. */
.vinyl-disc {
  position: absolute; inset: 2%; border-radius: 50%;
  background:
    repeating-radial-gradient(circle, #141414 0 2px, #0b0b0b 2px 3px),
    radial-gradient(circle, #1c1c1c 0%, #060606 70%);
  box-shadow: 0 14px 40px rgba(0,0,0,.6), inset 0 0 0 6px #161616;
  animation: spin 9s linear infinite;
  will-change: transform;
}
.vinyl-cover {
  position: relative; width: 70%; aspect-ratio: 1; object-fit: cover;
  border-radius: 50%; box-shadow: 0 14px 44px rgba(0,0,0,.55), 0 0 0 1px var(--border);
  z-index: 2; animation: spin 9s linear infinite;
  will-change: transform;
}
/* Hover/focus: spin up faster + glow the label. */
.vinyl:hover .vinyl-disc, .vinyl:focus-visible .vinyl-disc,
.vinyl:hover .vinyl-cover, .vinyl:focus-visible .vinyl-cover { animation-duration: 3.2s; }
.vinyl:hover .vinyl-cover, .vinyl:focus-visible .vinyl-cover { box-shadow: 0 22px 60px rgba(0,0,0,.6), 0 0 26px color-mix(in srgb, var(--glow) 40%, transparent); }
@media (prefers-reduced-motion: reduce) { .vinyl-disc, .vinyl-cover { animation: none; } }
.vinyl figcaption { text-align: center; }
.vinyl-title { display: block; font-family: var(--font-display); font-weight: 700; font-size: .96rem; }
.vinyl-sub { display: block; font-size: .72rem; color: var(--ink-mute); letter-spacing: .05em; }

/* ============================================================
   LISTEN
   ============================================================ */
.listen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.embed-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: 0 14px 44px rgba(0,0,0,.4); background: var(--surface); }
.embed-card iframe { display: block; width: 100%; }
.listen-links { justify-content: center; }

/* ============================================================
   COMIC UNIVERSE
   ============================================================ */
.comic-reader {
  display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.comic-panel {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  box-shadow: 0 14px 44px rgba(0,0,0,.45); cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.comic-panel::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: repeating-linear-gradient(45deg, transparent 0 18px, color-mix(in srgb, var(--accent) 6%, transparent) 18px 19px);
  opacity: .5;
}
.comic-panel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; transition: transform .5s var(--ease); }
.comic-panel:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 60px color-mix(in srgb, var(--glow) 22%, transparent); }
.comic-panel:hover img { transform: scale(1.04); }
.comic-panel-label {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  padding: .3rem .7rem; border-radius: 999px; letter-spacing: .04em;
  background: var(--accent); color: #06060e; box-shadow: 0 0 14px var(--glow);
}

.character-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.character {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.character-img { aspect-ratio: 3/4; overflow: hidden; }
.character-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.character:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 22px 60px color-mix(in srgb, var(--glow) 22%, transparent); }
.character:hover .character-img img { transform: scale(1.06); }
.character-meta {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.1rem 1rem; background: linear-gradient(transparent 40%, rgba(6,6,14,.92));
  opacity: 1;
}
.character-meta h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.character-meta p {
  font-size: .76rem; color: var(--ink-soft); line-height: 1.4; margin-top: .3rem;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s var(--ease), opacity .3s, margin-top .35s;
}
.character:hover .character-meta p, .character:focus-within .character-meta p { max-height: 6rem; opacity: 1; }

/* ============================================================
   VISUAL ART — masonry
   ============================================================ */
.art-grid { columns: 4 220px; column-gap: 1rem; }
.art-item {
  position: relative; break-inside: avoid; margin-bottom: 1rem;
  border-radius: 14px; overflow: hidden; cursor: pointer; border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.art-item img { width: 100%; display: block; transition: transform .5s var(--ease); }
.art-item:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 20px 50px color-mix(in srgb, var(--glow) 22%, transparent); }
.art-item:hover img { transform: scale(1.05); }
.art-item figcaption {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem;
  background: linear-gradient(transparent 55%, rgba(6,6,14,.88)); opacity: 0; transition: opacity .25s;
}
.art-item:hover figcaption { opacity: 1; }
.art-item figcaption span { font-family: var(--font-alt); font-weight: 700; font-size: .85rem; }

/* ============================================================
   ABOUT + SOCIAL
   ============================================================ */
.about-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-lead { font-family: var(--font-alt); font-weight: 700; font-size: clamp(1.2rem, 3vw, 1.6rem); line-height: 1.3; margin-bottom: 1.2rem; color: var(--ink); }
.about-text p { color: var(--ink-soft); margin-bottom: 1rem; }
.about-text em { color: var(--accent); font-style: italic; }
.social-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.social-pill {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .65rem 1.1rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  background: var(--surface); border: 1px solid var(--border); transition: border-color .2s, transform .15s var(--ease), background .2s;
}
.social-pill svg { width: 18px; height: 18px; }
.social-pill:hover { border-color: var(--accent); transform: translateY(-2px); background: var(--surface-2); }
.about-art { position: relative; }
/* :WHY? height:auto is NOT optional here, it is what makes the new width/height
   attributes on the <img> safe. Those attributes map to presentational hints for
   the CSS height property, so with width:100% and no height:auto the 1600 would
   become a literal 1600px and squash the art. With it, the browser derives the
   aspect ratio and reserves the right box before the image loads, which is the
   point: this was the one .about-art rule with no aspect-ratio guard, so the
   about section jumped when the lazy image arrived. */
.about-art-main { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.about-art-mini {
  position: absolute; bottom: -1.6rem; right: -1.2rem; width: 46%; height: auto;
  border-radius: 14px; border: 2px solid var(--bg); box-shadow: 0 18px 44px rgba(0,0,0,.55), 0 0 24px color-mix(in srgb, var(--glow) 30%, transparent);
}

/* ============================================================
   FAQ: native <details>/<summary> accordion (no JS needed,
   keyboard + screen-reader accessible out of the box).
   ============================================================ */
.faq-list { display: grid; gap: .8rem; max-width: 860px; }
.faq-item {
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item[open] { border-color: var(--accent); background: var(--surface-2); }
.faq-q {
  cursor: pointer; list-style: none; padding: 1.1rem 1.4rem;
  font-family: var(--font-alt); font-weight: 700; font-size: 1rem;
  color: var(--ink); display: flex; align-items: center; gap: .8rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before {
  content: '+'; flex: none; width: 1.4em; text-align: center;
  font-family: var(--font-display); font-weight: 800; color: var(--accent);
  transition: transform .2s var(--ease);
}
.faq-item[open] .faq-q::before { content: '\2212'; }
.faq-q:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-a { padding: 0 1.4rem 1.2rem 3rem; }
.faq-a p { color: var(--ink-soft); font-size: .95rem; line-height: 1.55; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { text-align: center; padding: 4rem 1.4rem 3rem; border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-sigil { width: 48px; height: 48px; object-fit: contain; margin: 0 auto .9rem; filter: drop-shadow(0 0 14px var(--glow)); }
.footer-word { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: .02em; margin-bottom: 1.2rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; justify-content: center; margin-bottom: 1.4rem; }
.footer-links a { font-size: .82rem; color: var(--ink-soft); letter-spacing: .04em; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: .74rem; color: var(--ink-mute); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem; padding: 2rem; cursor: zoom-out;
  background: color-mix(in srgb, var(--bg) 96%, #000);
  backdrop-filter: blur(8px); animation: fadeIn .25s var(--ease);
}
.lightbox-img { max-width: 92vw; max-height: 84vh; object-fit: contain; border-radius: 14px; box-shadow: 0 40px 120px rgba(0,0,0,.7), 0 0 40px color-mix(in srgb, var(--glow) 25%, transparent); }
.lightbox-cap { color: var(--ink-soft); font-size: .85rem; letter-spacing: .06em; }
.lightbox-close { position: fixed; top: 1.2rem; right: 1.6rem; font-size: 2.4rem; line-height: 1; color: var(--ink); width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--border); }
.lightbox-close:hover { background: var(--accent); color: #06060e; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-art { max-width: 420px; }
}
@media (max-width: 820px) {
  /* nav drawer + toggle now apply at all widths (base rules) */
  .nav-links a { font-size: 1rem; }
  .listen-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .show-card { flex-wrap: wrap; }
  .show-cta { width: 100%; }
  .cd-clock { margin-left: 0; width: 100%; }
  .art-grid { columns: 2 150px; }
  .vibe-blurb { display: none; }
  .vibe-btn span { display: none; }
  .vibe-btn { padding: .55rem .7rem; }
  .about-art-mini { right: 0; }
  /* Portrait: stack the wordmark so the leading $ and trailing E never clip */
  /* keep the wordmark on one line on phones too (base clamp already fits) */
  .hero-title { letter-spacing: -.04em; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-orbit, .splash-disc { animation: none; }
  .particles, .shooting-star { display: none; }
}

/* ============================================================
   STICKY MINI-PLAYER + EQ VISUALIZER (W4)
   Reads the active vibe's CSS vars, so it re-themes every day.
   ============================================================ */
/* GEN2-W2 overlap fix: .mini-player{display:flex} and
   .mp-launch{display:inline-flex} override the UA [hidden]{display:none}
   rule (author styles beat UA styles regardless of specificity), so BOTH
   the bar and the Radio pill rendered at page load and collided at tablet
   widths (~820px: bar right edge 743px vs pill left edge 683px). Restore
   the hidden contract so only one is ever on screen. */
.mini-player[hidden],
.mp-launch[hidden] { display: none !important; }
/* Belt-and-braces: in the collision window (bar 680px wide + 122px pill
   gutter -> geometric overlap below 924px viewports), lift the pill clear
   of the bar if both are ever visible, instead of sliding it underneath. */
@media (max-width: 924px) {
  body:has(.mini-player:not([hidden]):not([data-min="1"]))
    .mp-launch:not([hidden]) { bottom: 96px; }
}
.mini-player {
  position: fixed;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 120;
  width: min(680px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-2) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 30px var(--glow);
  animation: mpRise 0.5s var(--ease) both;
}
@keyframes mpRise { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }

.mp-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s;
}
.mp-btn svg { width: 18px; height: 18px; }
.mp-btn:hover { transform: scale(1.08); border-color: var(--accent); background: var(--surface-2); }
.mp-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mp-toggle { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.mp-toggle:hover { background: var(--accent); }
.mp-ic-pause { display: none; }
.mini-player[data-state="playing"] .mp-ic-play { display: none; }
.mini-player[data-state="playing"] .mp-ic-pause { display: block; }
.mp-skip { width: 32px; height: 32px; }
.mp-skip svg { width: 15px; height: 15px; }

.mp-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.mp-eyebrow {
  font-family: var(--font-display);
  font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-2);
}
.mp-title {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.mp-progress {
  flex: 1.4; height: 6px; min-width: 60px;
  border-radius: 999px; background: var(--surface-2);
  cursor: pointer; position: relative; overflow: hidden;
}
.mp-progress:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mp-progress-fill {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px; transition: width 0.25s linear;
}

.mp-close { width: 30px; height: 30px; background: transparent; border-color: transparent; color: var(--ink-mute); }
.mp-close:hover { color: var(--ink); background: var(--surface); }

#mp-sc { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: -9999px; }

/* EQ visualizer — pure motion, only while playing */
.mp-viz { flex-shrink: 0; display: flex; align-items: flex-end; gap: 2px; height: 26px; width: 34px; }
.mp-viz span {
  flex: 1; height: 20%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 2px; opacity: 0.85;
}
.mini-player[data-state="playing"] .mp-viz span { animation: eqBar 0.9s ease-in-out infinite; }
.mp-viz span:nth-child(1) { animation-delay: -0.8s; }
.mp-viz span:nth-child(2) { animation-delay: -0.2s; }
.mp-viz span:nth-child(3) { animation-delay: -0.6s; }
.mp-viz span:nth-child(4) { animation-delay: -0.1s; }
.mp-viz span:nth-child(5) { animation-delay: -0.5s; }
.mp-viz span:nth-child(6) { animation-delay: -0.35s; }
.mp-viz span:nth-child(7) { animation-delay: -0.7s; }
.mp-viz span:nth-child(8) { animation-delay: -0.15s; }
.mp-viz span:nth-child(9) { animation-delay: -0.45s; }
.mp-viz span:nth-child(10) { animation-delay: -0.25s; }
@keyframes eqBar { 0%,100% { height: 18%; } 50% { height: 95%; } }

/* Floating launcher */
.mp-launch {
  position: fixed; right: 16px; bottom: 16px; z-index: 119;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg); background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none; cursor: pointer;
  box-shadow: 0 8px 26px var(--glow);
  transition: transform 0.18s var(--ease), box-shadow 0.18s;
}
.mp-launch svg { width: 16px; height: 16px; }
.mp-launch:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 12px 34px var(--glow-2); }
.mp-launch:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

@media (max-width: 560px) {
  .mp-viz, .mp-eyebrow { display: none; }
  .mp-meta { flex: 0 1 auto; max-width: 38%; }
}

/* ============================================================
   EASTER EGGS — toast + $ burst (W5)
   ============================================================ */
.sv-toast {
  position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 12px);
  z-index: 200; padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 600;
  color: var(--ink); background: color-mix(in srgb, var(--bg-2) 86%, transparent);
  border: 1px solid var(--accent); box-shadow: 0 8px 30px var(--glow);
  opacity: 0; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none; max-width: 90vw; text-align: center;
}
.sv-toast.show { opacity: 1; transform: translate(-50%, 0); }

.sv-egg-burst { position: fixed; inset: 0; z-index: 199; pointer-events: none; overflow: hidden; }
.sv-egg-burst span {
  position: absolute; top: 60%;
  font-family: var(--font-display); font-weight: 900; color: var(--accent-3);
  text-shadow: 0 0 12px var(--glow);
  animation: dollarFly var(--dur, 1.6s) ease-out forwards;
}
@keyframes dollarFly {
  0% { opacity: 0; transform: translateY(0) translateX(0) rotate(0); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-70vh) translateX(var(--x, 0)) rotate(var(--rot, 90deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .mini-player { animation: none; }
  .mp-launch { transition: none; }
  .mini-player[data-state="playing"] .mp-viz span { animation: none; height: 60%; }
}

/* ============================================================
   MERCH STOREFRONT + CART (W5)
   ============================================================ */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.merch-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s;
}
.merch-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 24px var(--glow); }
.merch-art { aspect-ratio: 1; overflow: hidden; background: var(--bg-2); }
.merch-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.merch-card:hover .merch-art img { transform: scale(1.06); }
.merch-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.merch-name { font-family: var(--font-alt); font-size: 0.98rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.merch-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; }
.merch-price { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--accent-3); }
.merch-size {
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.35rem 0.5rem; font-family: var(--font-body); font-size: 0.85rem;
}
.merch-size:focus-visible { outline: 2px solid var(--accent); }
.merch-add { width: 100%; }

/* Nav cart button */
.nav-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink); cursor: pointer;
  margin-left: auto; margin-right: 0.35rem; transition: transform 0.15s var(--ease), border-color 0.15s;
}
.nav-cart svg { width: 19px; height: 19px; }
.nav-cart:hover { transform: scale(1.08); border-color: var(--accent); }
.nav-cart:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 4px;
  background: var(--accent-2); color: #fff; font-family: var(--font-display);
  font-size: 0.64rem; font-weight: 800; border-radius: 999px;
}

/* Cart drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 140; visibility: hidden; }
.cart-drawer.open { visibility: visible; }
.cart-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 0.3s var(--ease); }
.cart-drawer.open .cart-overlay { opacity: 1; }
.cart-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(400px, 90vw);
  display: flex; flex-direction: column;
  background: var(--bg-2); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.32s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart-drawer.open .cart-panel { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.25rem 0.75rem; border-bottom: 1px solid var(--border); }
.cart-head h2 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; color: var(--ink); }
.cart-x { background: none; border: none; color: var(--ink-soft); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.cart-x:hover { color: var(--ink); }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.9rem; }
.cart-empty { color: var(--ink-mute); font-size: 0.9rem; text-align: center; margin-top: 2rem; }
.cart-item { display: flex; gap: 0.75rem; align-items: center; }
.cart-item img { width: 54px; height: 54px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.cart-item-meta { display: flex; flex-direction: column; gap: 0.1rem; flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.84rem; font-weight: 600; color: var(--ink); }
.cart-item-size { font-size: 0.72rem; color: var(--ink-mute); }
.cart-item-price { font-size: 0.82rem; color: var(--accent-3); font-weight: 700; }
.cart-qty { display: flex; align-items: center; gap: 0.5rem; }
.cart-qty button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); cursor: pointer; font-size: 1rem; line-height: 1;
}
.cart-qty button:hover { border-color: var(--accent); }
.cart-foot { padding: 1.1rem 1.25rem 1.4rem; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 0.75rem; }
.cart-total-row { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--font-display); }
.cart-total-row span { color: var(--ink-soft); font-size: 0.85rem; }
.cart-total-row strong { font-size: 1.4rem; color: var(--ink); }
.cart-checkout { width: 100%; }
.cart-note { font-size: 0.72rem; color: var(--ink-mute); text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .merch-card, .merch-art img, .cart-panel, .cart-overlay { transition: none; }
}

/* ============================================================
   HERO VIDEO LOOP + MOTION FEATURE + real-FFT viz override (W5 media)
   ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.28;
  filter: saturate(1.15) contrast(1.05);
  pointer-events: none;
}
.hero-video-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 90% 80% at 50% 40%, transparent 0%, var(--bg) 78%);
}
.hero-inner { position: relative; z-index: 2; }

/* Motion feature card (click-to-play, lazy) */
.motion-feature {
  max-width: 880px; margin: 2.5rem auto 0;
  display: flex; flex-direction: column; gap: 0.6rem; align-items: center;
}
.motion-video {
  width: 100%; border-radius: var(--radius); border: 1px solid var(--border);
  background: #000; box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 30px var(--glow);
  aspect-ratio: 16 / 9;
}
.motion-cap {
  font-family: var(--font-alt); font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--ink-mute); text-transform: uppercase;
}

/* Real-FFT viz: JS sets each bar's height every frame, so kill the old
   keyframe animation (it would override inline heights) and just smooth it. */
.mp-viz span { transition: height 0.07s linear; }
.mini-player[data-state="playing"] .mp-viz span { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  .mp-viz span { transition: none; }
}

/* ============================================================
   MINI-PLAYER PLAYLIST — cover art + subtitle + YT mount (real songs)
   ============================================================ */
/* Idle: park the YT player off-screen. On play: reveal it as a real, visible,
   on-screen 16:9 panel above the bar — mobile browsers won't play a 1x1/off-screen
   iframe via JS, and a visible player is also directly tappable. */
#mp-yt { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; left: -9999px; top: -9999px; overflow: hidden; }
/* Size by the limiting dimension so the box is ALWAYS exactly 16:9 — a 16:9
   video then fills it with NO black bars regardless of the window's aspect.
   (74.6vh * 9/16 = ~42vh, the prior height cap.) Centered horizontally. */
.mini-player[data-started="1"]:not([data-collapsed="1"]) #mp-yt {
  position: absolute; left: 50%; right: auto; bottom: calc(100% + 10px); top: auto;
  transform: translateX(-50%);
  width: min(100%, 74.6vh); aspect-ratio: 16 / 9; height: auto; max-height: none;
  opacity: 1; pointer-events: auto; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--border); background: #000;
  box-shadow: 0 16px 50px rgba(0,0,0,0.6), 0 0 30px var(--glow);
}
.mini-player[data-started="1"] #mp-yt iframe { width: 100%; height: 100%; display: block; }
.mp-art {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 9px;
  object-fit: cover; border: 1px solid var(--border); background: var(--bg-2);
}
.mp-sub {
  font-family: var(--font-body); font-size: 0.68rem; color: var(--ink-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* YouTube blocks Web Audio FFT, so the EQ is a play-state animation again. */
.mini-player[data-state="playing"] .mp-viz span { animation: eqBar 0.9s ease-in-out infinite; }
.mp-viz span { transition: none; }
@media (max-width: 560px) { .mp-art { width: 34px; height: 34px; } .mp-sub { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .mini-player[data-state="playing"] .mp-viz span { animation: none; height: 55%; }
}

/* ============================================================
   UNIVERSE SWITCHER (hamburger) — toggle between site modes
   ============================================================ */
.nav-sep {
  margin-top: .4rem; padding-top: .5rem; border-top: 1px solid var(--border);
  font-family: var(--font-display); font-size: .62rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ink-mute);
  pointer-events: none;
}
.nav-universe { display: flex; align-items: center; gap: .5rem; }
.nav-universe span {
  font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .08rem .4rem; border-radius: 999px; border: 1px solid var(--border); color: var(--ink-mute);
}
.nav-universe--on span, .nav-universe:not(.nav-soon) span {
  color: #000; background: var(--accent); border-color: var(--accent);
}
.nav-soon { opacity: .55; cursor: default; }
.nav-soon span { background: transparent; color: var(--ink-mute); border-color: var(--border); }

/* ============================================================
   NEWEST — THE DROP  (W6)
   ============================================================ */
.newest-section { position: relative; }

/* Spotlight — first/featured item */
.newest-spotlight { margin-bottom: 2.4rem; }
.ndrop-spotlight-inner {
  display: grid;
  grid-template-columns: clamp(240px, 38%, 420px) 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45), 0 0 40px color-mix(in srgb, var(--glow) 14%, transparent);
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.ndrop-spotlight-inner:hover { border-color: var(--accent); box-shadow: 0 24px 70px rgba(0,0,0,.5), 0 0 50px color-mix(in srgb, var(--glow) 25%, transparent); }
.ndrop-spotlight-art { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.ndrop-spotlight-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.ndrop-spotlight-inner:hover .ndrop-spotlight-art img { transform: scale(1.04); }
.ndrop-art-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-2), color-mix(in srgb, var(--accent) 8%, var(--bg-2))); }
.ndrop-spotlight-meta { padding: 1.6rem 2rem 1.6rem 0; display: flex; flex-direction: column; gap: .85rem; align-items: flex-start; }
.ndrop-new-tag {
  font-family: var(--font-display); font-size: .62rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; padding: .28rem .7rem; border-radius: 999px;
  background: var(--accent-2); color: #fff;
  box-shadow: 0 0 14px var(--glow-2); animation: newTagPulse 2s ease-in-out infinite;
}
@keyframes newTagPulse { 0%,100%{box-shadow:0 0 10px var(--glow-2)} 50%{box-shadow:0 0 22px var(--glow-2)} }
.ndrop-spotlight-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.15rem, 3vw, 1.85rem); line-height: 1.1; letter-spacing: -.01em;
}
.ndrop-spotlight-date { font-size: .78rem; color: var(--ink-mute); letter-spacing: .04em; }
.ndrop-cta { align-self: flex-start; }

/* Source badge */
.ndrop-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-alt); font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: .26rem .65rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-soft);
}
.ndrop-badge svg { width: 13px; height: 13px; flex-shrink: 0; }
.ndrop-badge--youtube    { border-color: #ff3e3e; color: #ff3e3e; }
.ndrop-badge--soundcloud { border-color: #ff6600; color: #ff6600; }
.ndrop-badge--mixcloud   { border-color: #5000ff; color: #9b6fff; }
.ndrop-badge--spotify    { border-color: #1db954; color: #1db954; }
.ndrop-badge--instagram  { border-color: #e1306c; color: #e1306c; }
.ndrop-badge--tiktok     { border-color: var(--accent); color: var(--accent); }
.ndrop-badge--live       { border-color: var(--accent-2); color: var(--accent-2); animation: newTagPulse 2s ease-in-out infinite; }

/* Horizontal scroll strip */
.newest-scroll {
  display: flex; gap: 1.1rem; overflow-x: auto; padding-bottom: .8rem;
  scroll-snap-type: x mandatory; scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.newest-scroll::-webkit-scrollbar { height: 5px; }
.newest-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
.ndrop-card {
  flex: 0 0 clamp(200px, 28vw, 260px); display: flex; flex-direction: column;
  border-radius: var(--radius-sm); overflow: hidden; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border);
  text-decoration: none; color: inherit;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.ndrop-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 14px 40px color-mix(in srgb, var(--glow) 20%, transparent); }
.ndrop-card-art { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); }
.ndrop-card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.ndrop-card:hover .ndrop-card-art img { transform: scale(1.06); }
.ndrop-card-body { padding: .85rem 1rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.ndrop-card-title { font-family: var(--font-alt); font-weight: 700; font-size: .88rem; line-height: 1.25; color: var(--ink); }
.ndrop-card-date { font-size: .68rem; color: var(--ink-mute); }
.ndrop-card-cta {
  margin-top: auto; display: inline-block;
  font-family: var(--font-alt); font-size: .72rem; font-weight: 700;
  color: var(--accent); letter-spacing: .04em; text-transform: uppercase;
}

@media (max-width: 720px) {
  .ndrop-spotlight-inner { grid-template-columns: 1fr; }
  .ndrop-spotlight-meta { padding: 1.2rem 1.2rem 1.4rem; }
  .ndrop-spotlight-art { aspect-ratio: 16/9; }
}
@media (prefers-reduced-motion: reduce) {
  .ndrop-new-tag, .ndrop-badge--live { animation: none; }
  .ndrop-spotlight-art img, .ndrop-card-art img { transition: none; }
}

/* ============================================================
   BY THE NUMBERS — live stats  (W6)
   ============================================================ */
.stats-section { position: relative; }

/* Totals headline row */
.stats-totals {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2.8rem;
  margin-bottom: 2.8rem; padding: 1.4rem 2rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,.3), inset 0 0 40px color-mix(in srgb, var(--glow) 8%, transparent);
}
.stats-total-item { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.stats-total-val {
  font-family: var(--font-display); font-weight: 900; font-variant-numeric: tabular-nums;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--glow) 50%, transparent));
}
.stats-total-label {
  font-family: var(--font-alt); font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute);
}

/* Per-source tile grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.stats-tile {
  display: flex; flex-direction: column; gap: .55rem;
  padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.stats-tile:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 36px color-mix(in srgb, var(--glow) 18%, transparent); }
.stats-tile-head { display: flex; align-items: center; gap: .55rem; }
.stats-tile-icon { display: flex; align-items: center; color: var(--accent); flex-shrink: 0; }
.stats-tile-icon svg { width: 18px; height: 18px; }
.stats-tile-label { font-family: var(--font-alt); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.stats-tile-val {
  font-family: var(--font-display); font-weight: 900; font-variant-numeric: tabular-nums;
  font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; color: var(--ink);
  text-decoration: none; letter-spacing: -.02em;
  text-shadow: 0 0 20px color-mix(in srgb, var(--glow) 40%, transparent);
  transition: color .2s, text-shadow .2s;
}
.stats-tile-val:hover { color: var(--accent); text-shadow: 0 0 28px var(--glow); }
.stats-tile-metric { font-size: .68rem; color: var(--ink-mute); letter-spacing: .08em; text-transform: uppercase; }

/* Updated timestamp */
.stats-updated {
  font-size: .72rem; color: var(--ink-mute); text-align: right;
  letter-spacing: .04em; padding-top: .4rem;
}
.stats-updated::before { content: '◎ '; color: var(--accent); }

/* :WHY? uses --ink (full-strength body text) rather than a warm accent, because
   --accent-3 is a near-black red in the 'blood' vibe and would make the one label
   that must be noticed the least legible thing on the page. Going from muted to
   full-strength plus a glyph reads as a warning in all ten vibes without a
   hardcoded colour that can fight any of them. */
.stats-updated--stale { color: var(--ink); }
.stats-updated--stale::before { content: '\26a0\fe0f '; color: var(--ink); }

@media (max-width: 560px) {
  .stats-totals { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .stats-tile, .stats-tile-val { transition: none; }
}

/* ============================================================
   BOOK $PARROW — inquiry form
   ============================================================ */
.book-form {
  max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
}
.book-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.book-field { display: flex; flex-direction: column; gap: .35rem; }
.book-field--full { grid-column: 1 / -1; }
.book-field > span {
  font-family: var(--font-display); font-size: .62rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute);
}
.book-field input, .book-field select, .book-field textarea {
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: .7rem .85rem;
  font-family: var(--font-body); font-size: .95rem; width: 100%;
}
.book-field input::placeholder, .book-field textarea::placeholder { color: var(--ink-mute); }
.book-field input:focus, .book-field select:focus, .book-field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
.book-field textarea { resize: vertical; min-height: 90px; }
.book-submit { align-self: flex-start; margin-top: .25rem; }
.book-note { font-size: .82rem; color: var(--ink-mute); min-height: 1em; }
@media (max-width: 560px) { .book-row { grid-template-columns: 1fr; } }

/* ============================================================
   MOBILE OVERFLOW GUARD — nothing may exceed the viewport (W5)
   ============================================================ */
video, iframe, canvas, svg { max-width: 100%; }
.motion-feature { max-width: min(880px, 100%); }
.motion-video { width: 100%; max-width: 100%; height: auto; }
.newest-section, .stats-section, #newest, #stats { max-width: 100%; overflow: hidden; }

/* ============================================================
   MINI-PLAYER collapse/expand video (audio keeps playing) (W5)
   ============================================================ */
/* When collapsed, the YT iframe stays in the DOM but moves off-screen so audio
   continues while the video is hidden (display:none would pause it). */
.mini-player[data-collapsed="1"] #mp-yt {
  position: absolute; width: 1px; height: 1px; left: -9999px; top: -9999px;
  opacity: 0; pointer-events: none; overflow: hidden;
}
/* The expand/collapse button only appears once a track has started. */
.mp-expand { display: none; }
.mini-player[data-started="1"] .mp-expand { display: inline-flex; }
.mp-ic-expand { display: none; }
.mp-ic-collapse { display: block; }
.mini-player[data-collapsed="1"] .mp-ic-collapse { display: none; }
.mini-player[data-collapsed="1"] .mp-ic-expand { display: block; }

/* Minimize / open-video toggle — lives IN the player bar next to the scrubber
   (mp-btn styling, no longer a floating top-right pill that overlapped the cart).
   2-state: minimize icon while the video is open, expand icon once collapsed.
   Hidden until a track has started. */
.mp-vidmin { display: none; }
.mini-player[data-started="1"] .mp-vidmin { display: inline-flex; }
.mp-vm-open { display: none; }
.mp-vm-min { display: block; }
.mini-player[data-collapsed="1"] .mp-vm-min { display: none; }
.mini-player[data-collapsed="1"] .mp-vm-open { display: block; }

/* ============================================================
   MINI-PLAYER "minimized" (X) — hide UI, keep audio playing (W5)
   The player element stays rendered (NOT display:none, which pauses the iframe);
   only the bar children hide and the YT iframe parks off-screen. Launcher restores.
   ============================================================ */
.mini-player[data-min="1"] {
  background: transparent; border-color: transparent; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; pointer-events: none;
}
.mini-player[data-min="1"] > :not(#mp-yt) { display: none !important; }
.mini-player[data-min="1"] #mp-yt {
  position: absolute; width: 1px; height: 1px; left: -9999px; top: -9999px; opacity: 0; pointer-events: none;
}

/* ============================================================
   MINI-PLAYER on mobile — make room so the collapse + close buttons show (W5)
   ============================================================ */
@media (max-width: 560px) {
  .mini-player .mp-progress { display: none; }
  .mini-player .mp-skip { display: none; }
  .mini-player .mp-expand, .mini-player .mp-close, .mini-player .mp-toggle { flex-shrink: 0; }
  .mini-player .mp-meta { max-width: 46%; }
}
/* Unknown / not-yet-scraped stat reads as a muted dash, not a fake 0 */
.stats-tile-val--na { opacity: .5; }

/* ============================================================
   STATS — MILESTONE MARKERS (change 3)
   ============================================================ */
.stats-milestone {
  display: flex; flex-direction: column; gap: .3rem; margin-top: .4rem;
}
.stats-milestone-bar {
  height: 4px; border-radius: 999px;
  background: var(--surface-2); overflow: hidden;
}
.stats-milestone-fill {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 6px color-mix(in srgb, var(--glow) 70%, transparent);
  transition: width 0.6s var(--ease);
}
.stats-milestone-label {
  font-size: .62rem; color: var(--ink-mute); letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   VIBE CONTROLS IN NAV DRAWER (change 5)
   ============================================================ */
.nav-vibe-section {
  width: 100%; padding: .6rem 0 .3rem;
}
/* Gen-2 wave-2 a11y: the region wrapper div (moved off the li) carries the
   column layout the li used to have. */
.nav-vibe-section > [role="region"] {
  display: flex; flex-direction: column; gap: .45rem; width: 100%;
}
.nav-vibe-name {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--accent); text-shadow: 0 0 10px var(--glow);
}
.nav-vibe-blurb {
  font-size: .7rem; color: var(--ink-soft); line-height: 1.35;
  white-space: normal; /* allow wrapping in the wider drawer */
}
.nav-vibe-actions {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .15rem;
}
/* .vibe-btn already defined — reuse those styles */

/* Gen-2 (plan 3.1): full vibe picker in the nav drawer.
   Each .vibe-pick-swatch also carries its vibe's .vibe-* class, so the
   swatch reads that vibe's own --accent/--glow vars. No palette values
   are duplicated here; the vibe classes in this file stay the source. */
.nav-vibe-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .35rem; margin-top: .3rem; width: 100%;
}
.vibe-pick {
  display: flex; align-items: center; gap: .45rem;
  min-height: 44px; padding: .35rem .55rem;
  background: var(--surface-2); color: var(--ink-soft);
  border: 1px solid var(--border); border-radius: .55rem;
  font: inherit; font-size: .68rem; letter-spacing: .02em;
  text-align: left; cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.vibe-pick:hover { border-color: var(--accent); color: var(--ink); transform: translateY(-1px); }
.vibe-pick:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vibe-pick--on {
  border-color: var(--accent); color: var(--ink);
  box-shadow: 0 0 10px color-mix(in srgb, var(--glow) 45%, transparent);
}
.vibe-pick-swatch {
  flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px color-mix(in srgb, var(--glow) 70%, transparent);
}
.vibe-pick-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .vibe-pick { transition: none; }
  .vibe-pick:hover { transform: none; }
}

/* ============================================================
   FLOATING EXPAND / COLLAPSE VIDEO BUTTON (change 6)
   Sits bottom-right where the old vibe chip was.
   Only shown when a track has started (hidden attr toggled by JS).
   ============================================================ */
.mp-expand-float {
  position: fixed;
  right: clamp(.7rem, 3vw, 1.6rem);
  bottom: clamp(.7rem, 3vw, 1.6rem);
  z-index: 8100;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--bg-2) 80%, transparent);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  box-shadow: 0 6px 22px rgba(0,0,0,.45), 0 0 14px color-mix(in srgb, var(--glow) 35%, transparent);
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform .18s var(--ease), border-color .18s, color .18s, box-shadow .18s;
}
.mp-expand-float svg { width: 18px; height: 18px; pointer-events: none; }
.mp-expand-float:hover {
  transform: scale(1.1); border-color: var(--accent);
  color: var(--accent); box-shadow: 0 8px 28px var(--glow);
}
.mp-expand-float:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* Icon swap handled by mpToggleVideo() in JS — initial state shows collapse icon */
.mp-expand-float .mp-ic-expand { display: none; }
.mp-expand-float .mp-ic-collapse { display: block; }

/* The old in-bar .mp-expand is now gone from the HTML — these rules are no-ops but kept
   so any cached stylesheet reference doesn't break the layout */
.mp-expand { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .stats-milestone-fill { transition: none; }
  .mp-expand-float { transition: none; }
}
