/* ============================================================
   epideM:Ic — styles
   ============================================================ */

:root {
  --bg-0: #020503;
  --bg-1: #050c06;
  --bg-2: #0a150a;
  --ink-0: #e9ffe0;
  --ink-1: #a9c9a2;
  --ink-2: #5e7858;
  --ink-3: #2e3a2c;

  --tox:   oklch(0.88 0.28 138);          /* radioactive green */
  --tox-d: oklch(0.68 0.28 140);
  --tox-dd: oklch(0.45 0.22 142);
  --rust:  oklch(0.55 0.19 32);           /* oxidized red */
  --rust-d: oklch(0.38 0.17 30);
  --blood: oklch(0.45 0.2 25);

  --hazard-y: oklch(0.9 0.22 100);

  --f-disp: "Stardos Stencil", "Impact", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --f-body: "Inter", system-ui, sans-serif;
}

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

body {
  background: var(--bg-0);
  color: var(--ink-0);
  font-family: var(--f-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background field: toxic haze + scanlines + grid */
.bg-field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 70% 20%, oklch(0.5 0.25 140 / 0.22), transparent 70%),
    radial-gradient(70% 60% at 20% 90%, oklch(0.4 0.2 30 / 0.18), transparent 70%),
    radial-gradient(50% 40% at 50% 50%, oklch(0.3 0.15 140 / 0.15), transparent 70%),
    var(--bg-0);
}
.bg-field::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.5 0.2 140 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.5 0.2 140 / 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
}
.bg-field::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    oklch(0.5 0.2 140 / 0.035) 2px 3px
  );
  mix-blend-mode: overlay;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: relative; z-index: 5;
  border-bottom: 1px solid oklch(0.35 0.18 140 / 0.35);
  background: linear-gradient(180deg, oklch(0.1 0.08 140 / 0.75), oklch(0.05 0.05 140 / 0.4));
  backdrop-filter: blur(8px);
}
.topbar__inner {
  max-width: 1480px; margin: 0 auto;
  padding: 14px 28px;
  display: flex; align-items: center; gap: 28px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--ink-1); text-transform: uppercase;
}
.topbar__brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--tox); font-weight: 700;
}
.topbar__brand svg { width: 22px; height: 22px; }
.topbar__nav { display: flex; gap: 22px; }
.topbar__nav a { color: var(--ink-1); text-decoration: none; }
.topbar__nav a:hover { color: var(--tox); }
.topbar__right { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.clock {
  padding: 4px 10px;
  border: 1px solid oklch(0.4 0.18 140 / 0.4);
  color: var(--tox);
  background: oklch(0.15 0.08 140 / 0.4);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; z-index: 1;
  max-width: 1480px; margin: 0 auto;
  padding: 34px 28px 22px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}
.hero__art {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid oklch(0.45 0.22 140 / 0.4);
  box-shadow:
    0 0 0 1px oklch(0.3 0.2 140 / 0.3),
    0 30px 80px oklch(0.5 0.25 140 / 0.25),
    inset 0 0 120px oklch(0 0 0 / 0.6);
  overflow: hidden;
}
.hero__art img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero__art::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, oklch(0 0 0 / 0.15) 3px 4px);
  mix-blend-mode: multiply;
}
.hero__art::after {
  content: ""; position: absolute; inset: 0;
  box-shadow: inset 0 0 80px oklch(0.5 0.25 140 / 0.35);
}
.hero__corner {
  position: absolute; font-family: var(--f-mono); font-size: 10px;
  color: var(--tox); letter-spacing: 0.15em; padding: 6px 8px;
  background: oklch(0 0 0 / 0.7); border: 1px solid oklch(0.4 0.2 140 / 0.4);
}
.hero__corner--tl { top: 10px; left: 10px; }
.hero__corner--tr { top: 10px; right: 10px; }
.hero__corner--br { bottom: 10px; right: 10px; }

.hero__meta { display: flex; flex-direction: column; gap: 18px; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.2em;
  color: var(--rust); text-transform: uppercase;
}
.hero__eyebrow .bar { width: 36px; height: 1px; background: var(--rust); }

.hero__title {
  font-family: var(--f-disp);
  font-size: clamp(52px, 8vw, 112px);
  line-height: 0.9;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  margin: 0;
  text-shadow:
    0 0 30px oklch(0.7 0.3 140 / 0.35),
    0 0 2px oklch(0.7 0.3 140 / 0.6);
}
.hero__title .word {
  display: block;
}
.hero__title .word--mission { letter-spacing: 0; }
.hero__title .word--infect  {
  /* INFECT (6) nudged to approx MISSION (7) width */
  letter-spacing: 0.1em;
  margin-right: -0.1em;
}
.hero__title .word--epidem  { letter-spacing: 0; }
.hero__title .accent { color: var(--tox); }
.hero__title .rust { color: var(--rust); }

.hero__sub {
  font-family: var(--f-mono); font-size: 14px; color: var(--ink-1);
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; gap: 18px; flex-wrap: wrap; align-items: center;
}
.hero__sub .pill {
  padding: 4px 10px; border: 1px solid oklch(0.4 0.18 140 / 0.5);
  background: oklch(0.15 0.1 140 / 0.3); color: var(--tox);
}
.hero__sub .pill--rust { border-color: oklch(0.45 0.18 30 / 0.6); color: var(--rust); background: oklch(0.15 0.1 30 / 0.3); }

.hero__desc {
  font-size: 15px; line-height: 1.6; color: var(--ink-1);
  max-width: 56ch; text-wrap: pretty;
}

.hero__stripes {
  display: none;                  /* yellow/black hazard bar — retired */
  height: 18px;
  background: repeating-linear-gradient(
    45deg,
    oklch(0.88 0.22 100) 0 14px,
    oklch(0.12 0.06 100) 14px 28px
  );
  opacity: 0.9;
}

.hero__cta {
  display: none;                  /* PLAY ALBUM button — redundant, tracks list handles it */
  gap: 12px; flex-wrap: wrap;
}

/* Hide "CONTAINS: 808s · FEVER · STATIC" — only the bare span (pills stay) */
.hero__sub > span:not(.pill) { display: none; }
.btn {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 12px 18px;
  border: 1px solid oklch(0.5 0.2 140 / 0.5);
  background: oklch(0.15 0.1 140 / 0.35);
  color: var(--tox); cursor: pointer;
  transition: all 0.15s;
}
.btn:hover { background: oklch(0.25 0.2 140 / 0.5); color: var(--bg-0); border-color: var(--tox); }
.btn--primary { background: var(--tox); color: #001; border-color: var(--tox); }
.btn--primary:hover { background: oklch(0.95 0.3 140); box-shadow: 0 0 24px oklch(0.8 0.28 140 / 0.6); }
.btn--rust { border-color: oklch(0.5 0.2 30 / 0.6); color: var(--rust); background: oklch(0.15 0.08 30 / 0.3); }

/* ============================================================
   STAGE — Player + ArtistCard side by side
   ============================================================ */
.stage {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 24px auto 0;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 20px;
}

/* ============================================================
   PLAYER
   ============================================================ */
.player {
  position: relative;
  background: linear-gradient(180deg, oklch(0.13 0.08 140 / 0.55), oklch(0.06 0.04 140 / 0.6));
  border: 1px solid oklch(0.35 0.2 140 / 0.45);
  padding: 22px;
  box-shadow:
    inset 0 1px 0 oklch(0.6 0.25 140 / 0.15),
    0 20px 60px oklch(0 0 0 / 0.5);
}
.player::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, oklch(0.5 0.2 140 / 0.025) 2px 3px);
}
.player__top {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center;
}
.player__cover {
  width: 92px; height: 92px; position: relative;
  border: 1px solid oklch(0.4 0.2 140 / 0.5);
  overflow: hidden;
}
.player__cover img { width: 100%; height: 100%; object-fit: cover; }
.player__cover-pulse {
  position: absolute; inset: 0; border: 1px solid var(--tox);
  animation: pulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulse {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.8; box-shadow: 0 0 24px oklch(0.8 0.28 140 / 0.6); }
}
.player__info { min-width: 0; }
.player__crumb {
  display: flex; gap: 10px; font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--ink-1); margin-bottom: 8px;
}
.crumb { padding: 2px 8px; border: 1px solid oklch(0.35 0.15 140 / 0.4); }
.crumb--live { color: var(--tox); border-color: oklch(0.4 0.2 140 / 0.5); display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 6px; height: 6px; border-radius: 50%; display: inline-block; }
.dot--green { background: var(--tox); box-shadow: 0 0 8px var(--tox); animation: blink 1.2s ease-in-out infinite; }
.dot--red   { background: var(--rust); box-shadow: 0 0 8px var(--rust); animation: blink 1s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.player__title {
  font-family: var(--f-disp);
  font-size: 28px; letter-spacing: -0.01em; color: var(--ink-0);
  line-height: 1;
  text-shadow: 0 0 16px oklch(0.7 0.3 140 / 0.35);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__artists { margin-top: 6px; font-family: var(--f-mono); font-size: 11px; color: var(--ink-1); letter-spacing: 0.1em; }
.player__artist-chip { color: var(--tox); text-transform: uppercase; }
.player__artists-sep { color: var(--ink-2); margin: 0 6px; }

/* VU */
.player__vu { width: 130px; }
.vu { display: flex; gap: 3px; height: 56px; align-items: end; }
.vu__col { flex: 1; background: oklch(0.15 0.08 140 / 0.4); position: relative; }
.vu__bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, var(--tox) 0%, var(--tox) 60%, var(--hazard-y) 78%, var(--rust) 100%);
  transition: height 0.08s linear;
  box-shadow: 0 0 6px var(--tox);
}

/* Waveform */
.waveform {
  position: relative;
  margin: 18px 0 4px;
  height: 92px;
  background: oklch(0.08 0.04 140 / 0.5);
  border: 1px solid oklch(0.3 0.18 140 / 0.35);
  cursor: pointer;
  user-select: none;
}
.waveform__verse-markers { position: absolute; inset: 0; }
.verse-marker {
  position: absolute; top: 0; bottom: 0;
  border-left: 1px dashed oklch(0.5 0.2 140 / 0.45);
}
.verse-marker:last-child { border-right: 1px dashed oklch(0.5 0.2 140 / 0.45); }
.verse-marker__lbl {
  position: absolute; top: 4px; left: 6px;
  font-family: var(--f-mono); font-size: 9px; color: var(--ink-1);
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.7;
  white-space: nowrap; overflow: hidden; max-width: calc(100% - 10px);
  text-overflow: ellipsis;
}
.waveform__bars {
  position: absolute; inset: 14px 0 0 0;
  display: flex; align-items: end; gap: 2px;
  padding: 0 2px;
}
.wb {
  flex: 1; min-width: 2px;
  background: oklch(0.3 0.15 140 / 0.5);
  transition: background 0.1s;
}
.wb.is-filled { background: var(--tox); box-shadow: 0 0 4px oklch(0.8 0.28 140 / 0.5); }
.waveform__playhead {
  position: absolute; top: 0; bottom: 0; width: 2px;
  background: var(--rust);
  box-shadow: 0 0 12px var(--rust);
  pointer-events: none;
}
.ph-flag {
  position: absolute; top: -4px; left: 50%; transform: translate(-50%, -100%);
  font-family: var(--f-mono); font-size: 10px; color: var(--bg-0);
  background: var(--rust); padding: 2px 6px; white-space: nowrap;
  letter-spacing: 0.1em;
}

/* Timecode */
.player__timecode {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-1);
  letter-spacing: 0.1em; margin-top: 6px;
  gap: 12px;
}
.tc-mid { display: flex; gap: 6px; flex: 1; justify-content: center; flex-wrap: wrap; }
.tc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px;
  border: 1px solid oklch(0.3 0.15 140 / 0.4);
  font-size: 10px; color: var(--ink-2); letter-spacing: 0.1em;
  transition: all 0.2s;
}
.tc-chip__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.tc-chip.is-active {
  color: var(--bg-0);
  background: var(--tox); border-color: var(--tox);
  box-shadow: 0 0 18px oklch(0.8 0.28 140 / 0.55);
}
.tc-chip.is-active .tc-chip__dot { background: var(--bg-0); animation: blink 0.8s infinite; }

/* Controls */
.player__controls {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed oklch(0.35 0.15 140 / 0.3);
}
.player__ctrl-left, .player__ctrl-right { display: flex; align-items: center; gap: 12px; }
.iconbtn {
  width: 44px; height: 44px;
  background: oklch(0.12 0.06 140 / 0.5);
  border: 1px solid oklch(0.35 0.18 140 / 0.5);
  color: var(--tox); font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.15s; font-family: var(--f-mono);
}
.iconbtn:hover { background: oklch(0.2 0.12 140 / 0.6); color: var(--ink-0); border-color: var(--tox); }
.iconbtn--primary {
  width: 56px; height: 56px; font-size: 18px;
  background: var(--tox); color: var(--bg-0); border-color: var(--tox);
  box-shadow: 0 0 24px oklch(0.8 0.28 140 / 0.5);
}
.iconbtn--primary:hover { background: oklch(0.95 0.3 140); color: var(--bg-0); }
.player__progress-num {
  font-family: var(--f-mono); font-size: 12px; color: var(--rust);
  letter-spacing: 0.12em; margin-left: 6px;
}

.vol { display: flex; align-items: center; gap: 8px; color: var(--ink-1); font-family: var(--f-mono); font-size: 12px; }
.vol__ico { color: var(--tox); }
.vol input[type=range] {
  width: 100px;
  -webkit-appearance: none; appearance: none;
  height: 2px; background: oklch(0.3 0.15 140 / 0.4);
  cursor: pointer;
}
.vol input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; background: var(--tox); cursor: pointer;
  box-shadow: 0 0 8px var(--tox);
}
.vol input[type=range]::-moz-range-thumb {
  width: 12px; height: 12px; background: var(--tox); cursor: pointer; border: 0;
  box-shadow: 0 0 8px var(--tox);
}
.vol__num { color: var(--tox); min-width: 22px; text-align: right; }
.quality {
  font-family: var(--f-mono); font-size: 10px; color: var(--ink-1);
  letter-spacing: 0.15em;
  padding: 6px 10px;
  border: 1px solid oklch(0.35 0.15 140 / 0.3);
  display: inline-flex; align-items: center; gap: 6px;
}
.quality__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--tox); box-shadow: 0 0 6px var(--tox); }

/* ============================================================
   ARTIST CARD
   ============================================================ */
.artist-card {
  position: relative;
  background:
    linear-gradient(180deg, oklch(0.12 0.1 140 / 0.6), oklch(0.05 0.05 140 / 0.6));
  border: 1px solid oklch(0.4 0.22 140 / 0.5);
  box-shadow:
    inset 0 1px 0 oklch(0.7 0.28 140 / 0.2),
    0 20px 60px oklch(0 0 0 / 0.5),
    0 0 40px oklch(0.5 0.25 140 / 0.12);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: card-boot 0.5s ease-out;
}
@keyframes card-boot {
  0% { opacity: 0; transform: translateY(8px); filter: hue-rotate(80deg); }
  100% { opacity: 1; transform: none; filter: none; }
}
.artist-card.is-glitch { animation: glitch 0.4s steps(6); }
@keyframes glitch {
  0%   { transform: translate(0,0); filter: hue-rotate(0); }
  20%  { transform: translate(-3px, 1px); filter: hue-rotate(30deg) saturate(1.4); }
  40%  { transform: translate(2px, -2px); filter: hue-rotate(-20deg); }
  60%  { transform: translate(-2px, 2px); filter: hue-rotate(60deg); }
  80%  { transform: translate(1px, 0);    filter: saturate(1.6); }
  100% { transform: translate(0,0); filter: none; }
}
.artist-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, oklch(0.5 0.2 140 / 0.04) 2px 3px);
}

.artist-card__chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: oklch(0.1 0.08 140 / 0.7);
  border-bottom: 1px solid oklch(0.35 0.18 140 / 0.35);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-1); text-transform: uppercase;
}
.artist-card__chrome-label { color: var(--rust); }
.artist-card__chrome-id { margin-left: auto; color: var(--tox); }

.artist-card__body {
  display: grid; grid-template-columns: 180px 1fr; gap: 18px;
  padding: 18px;
  flex: 1;
}
.artist-card__portrait { display: flex; flex-direction: column; gap: 10px; }
.portrait-img {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid oklch(0.5 0.22 140 / 0.6);
  overflow: hidden;
}
.portrait-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  z-index: 1;
}
.portrait-initials {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-size: 72px; letter-spacing: -0.04em;
  color: oklch(0.9 0.2 140 / 0.85);
  text-shadow: 0 0 24px oklch(0.7 0.3 140 / 0.5);
  mix-blend-mode: screen;
  z-index: 0;
}
.portrait-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, oklch(0.7 0.25 140 / 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, oklch(0.7 0.25 140 / 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  z-index: 3;
  pointer-events: none;
}
.portrait-scan {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, oklch(0.7 0.25 140 / 0.22), transparent);
  height: 40%;
  animation: scan 3s linear infinite;
  z-index: 3;
  pointer-events: none;
}
@keyframes scan {
  0% { transform: translateY(-60%); }
  100% { transform: translateY(220%); }
}
.portrait-target { position: absolute; inset: 6px; pointer-events: none; z-index: 3; }
.portrait-target .t {
  position: absolute; width: 14px; height: 14px;
  border: 2px solid var(--rust);
}
.t-tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.t-tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.t-bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.t-br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.portrait-tags { display: flex; flex-direction: column; gap: 5px; }
.tag {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 4px 8px;
  background: oklch(0.12 0.06 140 / 0.5);
  border: 1px solid oklch(0.35 0.15 140 / 0.4);
  color: var(--ink-1);
}
.tag--live { color: var(--rust); border-color: oklch(0.45 0.18 30 / 0.5); display: inline-flex; align-items: center; gap: 6px; }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rust); animation: blink 1s infinite; box-shadow: 0 0 6px var(--rust); }

.artist-card__meta { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.artist-card__name {
  position: relative;
  font-family: var(--f-disp);
  font-size: clamp(28px, 3.2vw, 44px); line-height: 0.95;
  color: var(--ink-0);
  letter-spacing: -0.01em;
  text-shadow: 0 0 16px oklch(0.7 0.3 140 / 0.35);
}
.artist-card__name::before, .artist-card__name::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  mix-blend-mode: screen; pointer-events: none;
  opacity: 0.6;
}
.artist-card__name::before { color: var(--tox); transform: translate(-1px, 0); }
.artist-card__name::after  { color: var(--rust); transform: translate(1px, 1px); }

.artist-card__tagline {
  color: var(--tox);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
}

.artist-card__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin: 2px 0; padding: 0;
}
.artist-card__stats > div {
  border: 1px solid oklch(0.3 0.15 140 / 0.3);
  padding: 6px 8px;
  background: oklch(0.08 0.05 140 / 0.5);
}
.artist-card__stats dt {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.18em;
  color: var(--ink-2); text-transform: uppercase; margin-bottom: 2px;
}
.artist-card__stats dd {
  margin: 0; font-family: var(--f-mono); font-size: 11px; color: var(--tox);
  letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.artist-card__stats dd.pulse { color: var(--rust); animation: blink 1.4s infinite; }

.artist-card__links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 4px;
}
.alink {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  background: oklch(0.1 0.06 140 / 0.5);
  border: 1px solid oklch(0.35 0.18 140 / 0.4);
  color: var(--ink-1); text-decoration: none;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.15s;
}
.alink:hover {
  color: var(--bg-0); background: var(--tox); border-color: var(--tox);
  box-shadow: 0 0 16px oklch(0.8 0.28 140 / 0.5);
}
.alink:hover .alink__arr { transform: translate(3px, -3px); }
.alink__i {
  width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor; font-weight: 700;
}
.alink__lbl { flex: 1; }
.alink__arr { opacity: 0.7; transition: transform 0.15s; }

.artist-card__footer {
  padding: 10px 14px;
  border-top: 1px solid oklch(0.3 0.15 140 / 0.3);
  background: oklch(0.08 0.05 140 / 0.5);
  display: flex; align-items: center; gap: 12px;
}
.bars { display: flex; gap: 2px; flex: 1; height: 18px; align-items: end; }
.bars span {
  flex: 1; background: var(--tox); opacity: 0.5;
  animation: bars 1s ease-in-out infinite alternate;
}
@keyframes bars {
  0% { height: 20%; opacity: 0.35; }
  100% { height: 95%; opacity: 0.9; }
}
.artist-card__footer-txt {
  font-family: var(--f-mono); font-size: 9px; color: var(--ink-2);
  letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap;
}

.artist-card--empty {
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.artist-card__label {
  font-family: var(--f-mono); color: var(--rust);
  letter-spacing: 0.2em; font-size: 14px;
  animation: blink 1.2s infinite;
}

/* ============================================================
   TRACKLIST
   ============================================================ */
.section {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 30px auto 0;
  padding: 0 28px;
}
.section__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 16px;
}
.section__num {
  font-family: var(--f-mono); font-size: 11px; color: var(--rust);
  letter-spacing: 0.2em;
}
.section__title {
  font-family: var(--f-disp);
  font-size: clamp(24px, 3vw, 40px);
  color: var(--ink-0);
  letter-spacing: -0.01em;
  margin: 0;
}
.section__sub {
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-2);
  letter-spacing: 0.15em; text-transform: uppercase;
  margin-left: auto;
}

.tracklist {
  background: oklch(0.08 0.05 140 / 0.35);
  border: 1px solid oklch(0.3 0.15 140 / 0.35);
}
.tracklist__hdr, .tl-row {
  display: grid;
  grid-template-columns: 48px 1fr 160px 68px;
  gap: 12px;
  padding: 12px 16px;
  align-items: center;
}
.tracklist__hdr {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-2); text-transform: uppercase;
  border-bottom: 1px solid oklch(0.3 0.15 140 / 0.35);
}
.tl-row {
  width: 100%;
  background: transparent; border: 0;
  border-bottom: 1px solid oklch(0.2 0.1 140 / 0.25);
  color: var(--ink-0); text-align: left; cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.tl-row:hover { background: oklch(0.15 0.1 140 / 0.35); }
.tl-row:last-child { border-bottom: 0; }
.tl-row.is-active {
  background: oklch(0.18 0.12 140 / 0.5);
  box-shadow: inset 3px 0 0 var(--tox);
}
.tl-num { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.1em; }
.tl-row.is-active .tl-num { color: var(--tox); }
.tl-eq { display: inline-flex; gap: 2px; align-items: end; height: 18px; width: 18px; }
.tl-eq span {
  width: 3px; height: 30%; background: var(--tox);
  animation: eq 0.7s ease-in-out infinite alternate;
  box-shadow: 0 0 6px var(--tox);
}
@keyframes eq { 0% { height: 20%; } 100% { height: 95%; } }

.tl-title { display: flex; flex-direction: column; gap: 2px; min-width: 0; position: relative; }
.tl-title__main {
  font-family: var(--f-disp); font-size: 16px; letter-spacing: 0.01em;
  color: var(--ink-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tl-row.is-active .tl-title__main { color: var(--tox); text-shadow: 0 0 12px oklch(0.8 0.28 140 / 0.4); }
.tl-title__sub {
  font-family: var(--f-mono); font-size: 11px; color: var(--ink-2);
  letter-spacing: 0.1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.expl {
  width: 14px; height: 14px; background: var(--rust); color: var(--bg-0);
  font-size: 9px; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.tl-prog {
  margin-top: 6px; height: 2px; background: oklch(0.2 0.1 140 / 0.4);
  position: relative;
}
.tl-prog__fill {
  position: absolute; inset: 0 auto 0 0; background: var(--tox);
  box-shadow: 0 0 6px var(--tox);
  transition: width 0.2s linear;
}
.tl-payload {
  font-family: var(--f-mono); font-size: 10px; color: var(--ink-2);
  letter-spacing: 0.15em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tl-dur {
  font-family: var(--f-mono); font-size: 12px; color: var(--ink-1);
  letter-spacing: 0.08em; text-align: right;
}
.tl-row.is-active .tl-dur { color: var(--tox); }

/* ============================================================
   ROSTER (all artists grid)
   ============================================================ */
.roster {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 16px;
  justify-content: center;          /* centers last partial row */
}
.roster__card {
  flex: 0 0 calc((100% - 60px) / 6);  /* 6 cols (5 gaps × 12px = 60px) */
}
.roster__card {
  position: relative;
  padding: 14px;
  background: oklch(0.08 0.05 140 / 0.4);
  border: 1px solid oklch(0.3 0.15 140 / 0.35);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
  transition: all 0.2s;
  cursor: default;
}
.roster__card:hover {
  border-color: var(--tox);
  box-shadow: 0 0 24px oklch(0.6 0.25 140 / 0.25);
  transform: translateY(-2px);
}
.roster__av {
  aspect-ratio: 1; border: 1px solid oklch(0.4 0.2 140 / 0.45);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-size: 38px; color: var(--tox);
  position: relative; overflow: hidden;
}
.roster__av-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  z-index: 1;
}
.roster__av::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 2px, oklch(0 0 0 / 0.2) 2px 3px);
  z-index: 3;
  pointer-events: none;
}
.roster__name { font-family: var(--f-disp); font-size: 16px; color: var(--ink-0); }
.roster__role {
  font-family: var(--f-mono); font-size: 10px; color: var(--ink-2);
  letter-spacing: 0.14em; text-transform: uppercase;
}

/* ============================================================
   MR. GREY — fucked up transmission card
   Lives at the end of the roster, looks like a corrupted feed.
   ============================================================ */
.roster__card--grey {
  position: relative;
  background: linear-gradient(180deg, oklch(0.07 0.01 240 / 0.65), oklch(0.04 0.005 240 / 0.6));
  border-color: oklch(0.4 0.04 240 / 0.5);
  animation: grey-jitter 6.4s steps(8) infinite;
  overflow: hidden;
}
.roster__card--grey::before {
  /* static grain overlay */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, oklch(0 0 0 / 0.15) 0 1px, transparent 1px 2px),
    repeating-linear-gradient(90deg, oklch(0.6 0.01 240 / 0.08) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
  animation: grey-static 0.18s steps(2) infinite;
  z-index: 4;
}
.roster__av--grey {
  border-color: oklch(0.5 0.05 240 / 0.5);
  filter: contrast(1.25) brightness(0.85) saturate(0.4);
}
.roster__av--grey .roster__av-img {
  /* chromatic aberration via dual-shadow */
  filter:
    drop-shadow(-1.5px 0 0 oklch(0.7 0.3 25 / 0.7))
    drop-shadow(1.5px 0 0 oklch(0.6 0.25 200 / 0.7))
    contrast(1.1) grayscale(0.3);
  animation: grey-aberr 4s infinite;
}
.roster__av--grey::after {
  /* heavier static scanlines on the photo */
  background:
    repeating-linear-gradient(to bottom, transparent 0 2px, oklch(0 0 0 / 0.45) 2px 3px),
    repeating-linear-gradient(to right, transparent 0 1px, oklch(0.6 0.04 240 / 0.06) 1px 2px);
}
.roster__static {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(60% 60% at 50% 50%, transparent 40%, oklch(0 0 0 / 0.5) 100%);
  mix-blend-mode: multiply;
}
.roster__redacted {
  position: absolute; bottom: 6px; left: 6px; z-index: 5;
  font-family: var(--f-mono); font-size: 8px;
  letter-spacing: 0.2em;
  color: oklch(0.78 0.18 25);
  background: oklch(0 0 0 / 0.7);
  padding: 2px 5px;
  border: 1px solid oklch(0.55 0.18 25 / 0.5);
  text-transform: uppercase;
  animation: grey-blink 1.6s steps(2) infinite;
}
.roster__name--grey {
  position: relative;
  color: oklch(0.78 0.04 240);
  letter-spacing: 0.05em;
}
.roster__name--grey::before,
.roster__name--grey::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.85;
}
.roster__name--grey::before {
  color: oklch(0.7 0.3 25);
  animation: grey-rgb-r 3s infinite;
}
.roster__name--grey::after {
  color: oklch(0.6 0.25 200);
  animation: grey-rgb-b 3s 0.15s infinite;
}
.roster__card--grey .roster__role {
  color: oklch(0.55 0.04 240);
}
.roster__grey-flags {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto;
}
.roster__grey-flag {
  font-family: var(--f-mono); font-size: 9px;
  letter-spacing: 0.18em;
  color: oklch(0.78 0.18 25);
  border: 1px solid oklch(0.55 0.18 25 / 0.4);
  padding: 3px 6px;
  background: oklch(0.1 0.04 25 / 0.4);
}

@keyframes grey-jitter {
  0%, 88%, 100% { transform: translate(0, 0); }
  90% { transform: translate(-1px, 0.5px); }
  92% { transform: translate(1.5px, -0.5px); }
  94% { transform: translate(-0.5px, 1px); }
  96% { transform: translate(0.5px, 0); }
}
@keyframes grey-static {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 1px 1px, -1px 0; }
}
@keyframes grey-aberr {
  0%, 88%, 100% { filter:
      drop-shadow(-1.5px 0 0 oklch(0.7 0.3 25 / 0.7))
      drop-shadow(1.5px 0 0 oklch(0.6 0.25 200 / 0.7))
      contrast(1.1) grayscale(0.3); }
  90% { filter:
      drop-shadow(-3px 1px 0 oklch(0.7 0.3 25 / 0.85))
      drop-shadow(3px -1px 0 oklch(0.6 0.25 200 / 0.85))
      contrast(1.4) grayscale(0.5); }
  93% { filter:
      drop-shadow(2px 0 0 oklch(0.7 0.3 25 / 0.6))
      drop-shadow(-2px 0 0 oklch(0.6 0.25 200 / 0.6))
      contrast(1.2) grayscale(0.4); }
}
@keyframes grey-rgb-r {
  0%, 88%, 100% { transform: translate(-1px, 0); }
  90% { transform: translate(-3px, 1px); }
  92% { transform: translate( 2px,-1px); }
  94% { transform: translate(-2px, 0); }
}
@keyframes grey-rgb-b {
  0%, 88%, 100% { transform: translate(1px, 0); }
  90% { transform: translate( 3px,-1px); }
  92% { transform: translate(-2px, 1px); }
  94% { transform: translate( 2px, 0); }
}
@keyframes grey-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative; z-index: 2;
  max-width: 1480px; margin: 40px auto 0; padding: 32px 28px 28px;
  border-top: 1px solid oklch(0.3 0.15 140 / 0.3);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-2); text-transform: uppercase;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid oklch(0.3 0.15 140 / 0.25);
}
.footer__col {
  display: flex; flex-direction: column; gap: 8px;
  min-width: 0;
}
.footer__col--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  align-content: start;
}
.footer__col--wide .footer__hdr {
  grid-column: 1 / -1;
}
.footer__hdr {
  font-family: var(--f-disp); font-size: 13px; color: var(--tox);
  letter-spacing: 0.2em; margin-bottom: 8px;
  border-bottom: 1px dashed oklch(0.3 0.15 140 / 0.4);
  padding-bottom: 6px;
}
.footer__col a {
  color: var(--ink-1); text-decoration: none;
  font-size: 10px; letter-spacing: 0.14em;
  padding: 2px 0;
  transition: color 0.15s, padding 0.15s;
  border-left: 2px solid transparent;
  padding-left: 0;
}
.footer__col a:hover {
  color: var(--tox);
  border-left-color: var(--tox);
  padding-left: 6px;
}
.footer__bottom {
  display: flex; gap: 30px; justify-content: space-between; align-items: flex-end;
  padding-top: 24px;
}
.footer__legal { line-height: 1.8; }
.footer__big {
  font-family: var(--f-disp); font-size: clamp(40px, 6vw, 96px);
  color: var(--ink-3); line-height: 0.9;
  letter-spacing: -0.01em;
}
.footer__big .green { color: var(--tox-dd); }

/* ============================================================
   RESPONSIVE
   Mobile-first principle: §02 stays SIDE-BY-SIDE at every width.
   Player on the left, live artist card on the right — whoever is
   rapping pops up next to the controls.
   ============================================================ */

/* Tablet (≤1100px) — keep 2-col stage, slim things down */
@media (max-width: 1100px) {
  .stage {
    grid-template-columns: 5fr 6fr;     /* slight emphasis on artist */
    gap: 16px;
    padding: 0 18px;
  }
  .hero { grid-template-columns: 1fr; }
  .roster__card { flex: 0 0 calc((100% - 24px) / 3); }   /* 3 cols (2 gaps × 12px) */
  .artist-card__body { grid-template-columns: 130px 1fr; gap: 14px; }
  .player__top { grid-template-columns: 72px 1fr; }
  .player__vu { display: none; }
  .tracklist__hdr, .tl-row { grid-template-columns: 36px 1fr 56px; }
  .tl-hide { display: none; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__col--wide { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* Default: tracks-grid is invisible on desktop (children flow to .section).
   Mobile artist + mini-player targets hidden on desktop. */
.tracks-grid { display: contents; }
#artist-root-mobile,
#player-root-mobile { display: none; }

/* Mobile (≤640px) — kill the §02 player entirely.
   Tracklist on the LEFT, live artist card on the RIGHT. */
@media (max-width: 640px) {
  /* Hide the live "since drop" counter from the hero eyebrow on mobile —
     it crowded the title area. Date stays visible. */
  .eyebrow__live { display: none; }

  /* ---------- HERO: matches §03 grid (album = tracklist width) ---------- */
  .hero {
    grid-template-columns: 6fr 5fr;         /* aligns with .tracks-grid below */
    gap: 10px;
    padding: 14px 12px 14px;
    align-items: start;
  }
  .hero__art {
    box-shadow: 0 0 0 1px oklch(0.3 0.2 140 / 0.3),
                0 8px 24px oklch(0 0 0 / 0.45);
  }
  .hero__corner--tl,
  .hero__corner--tr,
  .hero__corner--br { display: none; }      /* CAT#, MASTER, ◉REC labels */
  .hero__meta {
    gap: 6px;
    container-type: inline-size;            /* enable cqw units below */
    min-width: 0;                            /* let grid column shrink */
  }
  .hero__eyebrow { font-size: 9px; gap: 6px; }
  .hero__eyebrow .bar { width: 18px; }
  .hero__title {
    line-height: 0.95;
    text-shadow: 0 0 12px oklch(0.7 0.3 140 / 0.3);
  }
  /* Each word scales to fit the meta column width.
     1cqw = 1% of .hero__meta inline size. Tuned so MISSION / INFECT / epideM:Ic
     each visually fill the column. Adjust if your display font has different
     metrics. */
  .hero__title .word--mission { font-size: 26cqw; letter-spacing: -0.01em; }
  .hero__title .word--infect  { font-size: 27cqw; letter-spacing: 0.05em; margin-right: -0.05em; }
  .hero__title .word--epidem  { font-size: 22cqw; letter-spacing: -0.01em; }
  .hero__sub {
    gap: 5px;
    font-size: 10px;
  }
  .hero__sub .pill { padding: 2px 6px; font-size: 9px; }
  .hero__sub > span:not(.pill) { display: none; }   /* hide "CONTAINS: 808s · FEVER · STATIC" */
  .hero__desc { display: none; }            /* skip the prose blurb on mobile */
  .hero__cta { display: none; }             /* PLAY ALBUM redundant — tap a track */
  .hero__stripes { display: none; }

  /* ---------- HIDE §02 PLAYER COMPLETELY ON MOBILE ---------- */
  .stage { display: none; }

  /* ---------- §03 BECOMES THE FULL EXPERIENCE ---------- */
  .tracks-grid {
    display: grid;
    grid-template-columns: 6fr 5fr;     /* tracklist gets slight emphasis */
    gap: 10px;
    align-items: start;
  }
  #artist-root-mobile { display: block; }

  /* ---------- MOBILE MINI-PLAYER (2-line layout) ----------
     Row 1: [controls]  [track title]  [time]
     Row 2: [waveform spanning the full strip ............]
  */
  #player-root-mobile {
    display: block;
    margin: 0 0 10px;
  }
  #player-root-mobile .player {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    padding: 10px 12px;
    align-items: center;
  }
  #player-root-mobile .player::before { display: none; }   /* skip extra scanline overlay */

  /* Row 1, col 1 — controls */
  #player-root-mobile .player__controls {
    grid-column: 1;
    grid-row: 1;
    flex-direction: row;
    align-items: center;
    gap: 0;
    margin: 0;                  /* was margin-top: 18px (desktop layout) */
    padding: 0;                 /* was padding-top: 16px */
    border-top: 0;              /* drop the dashed separator */
  }
  #player-root-mobile .player__ctrl-left { gap: 6px; }
  #player-root-mobile .player__ctrl-right { display: none; }
  #player-root-mobile .player__progress-num { display: none; }
  #player-root-mobile .iconbtn { width: 32px; height: 32px; font-size: 13px; }
  #player-root-mobile .iconbtn--primary { width: 40px; height: 40px; font-size: 15px; }

  /* Title block hidden on mobile — the active row in the tracklist already
     shows the current track. Removing it also lets controls/time line up. */
  #player-root-mobile .player__top { display: none; }

  /* Row 1, col 3 — time */
  #player-root-mobile .player__timecode {
    grid-column: 3;
    grid-row: 1;
    font-size: 10px;
    gap: 6px;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
  }
  #player-root-mobile .player__timecode .tc-mid { display: none; }

  /* Row 2 — waveform spans full width */
  #player-root-mobile .waveform {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 38px;
    min-width: 0;
    margin: 0;
    overflow: hidden;                 /* belt + suspenders */
  }
  /* Let each bar shrink past 2px so 120 bars fit narrow phones */
  #player-root-mobile .waveform__bars { gap: 1px; padding: 0; }
  #player-root-mobile .wb { min-width: 0; }
  #player-root-mobile .waveform__verse-markers { display: none; }
  #player-root-mobile .ph-flag { display: none; }

  .section { padding: 16px 12px 32px; }
  .section__head { margin-bottom: 12px; }
  .section__title { font-size: 22px; }
  .section__sub { font-size: 10px; }

  /* ---------- TRACKLIST (now the player) ---------- */
  .tracklist__hdr {
    display: none;                    /* hide the # / TITLE / RUN header */
  }
  .tl-row {
    grid-template-columns: 20px 1fr;  /* tighter num column */
    padding: 12px 2px 12px 6px;       /* shave a couple px off both sides */
    gap: 2px;                          /* title sits flush against the # */
    min-height: 52px;                  /* finger-friendly tap target */
  }
  .tl-title__main {
    font-size: 13px; line-height: 1.2;
    letter-spacing: -0.01em;
    /* keep on one line, no ellipsis truncation */
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  .tl-title__sub { display: none; }   /* artist names — too cramped */
  .expl { display: none; }            /* explicit sticker — too cramped */
  .tl-dur { display: none; }          /* duration — too cramped */
  .tl-num { font-size: 11px; }
  .tl-eq { gap: 2px; }
  .tl-eq span { width: 2px; }
  .tl-resume {
    font-size: 14px;
    color: var(--tox);
    line-height: 1;
  }
  .tl-prog { height: 2px; }

  /* ---------- ARTIST CARD on right ---------- */
  /* Strip the player-y chrome */
  .artist-card__chrome { display: none; }
  .artist-card__footer { display: none; }
  .portrait-tags { display: none; }

  .artist-card { position: sticky; top: 8px; }   /* stays visible while scrolling */
  .artist-card__body {
    grid-template-columns: 1fr;
    padding: 10px;
    gap: 8px;
  }
  .artist-card__portrait { gap: 0; }
  .portrait-initials { font-size: 38px; }
  .artist-card__name { font-size: 18px; letter-spacing: -0.02em; }
  .artist-card__tagline { font-size: 11px; line-height: 1.25; }
  .artist-card__stats {
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 4px 0;
  }
  .artist-card__stats > div {
    grid-template-columns: 56px 1fr;
    align-items: baseline;
    gap: 6px;
    padding: 2px 0;
  }
  .artist-card__stats dt { font-size: 8px; letter-spacing: 0.12em; }
  .artist-card__stats dd { font-size: 10px; }
  .artist-card__links {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
  }
  .alink { padding: 6px 4px; gap: 4px; }
  .alink__lbl { font-size: 9px; letter-spacing: 0.06em; }
  .alink__arr { display: none; }
  .alink__i { font-size: 12px; }

  /* ---------- ROSTER §04 ---------- */
  #carriers .section__num { display: none; }   /* hide "§04" */
  #carriers .section__sub { display: none; }   /* hide "9 CONFIRMED CARRIERS…" */
  #carriers .section__title {
    font-size: 16px;
    white-space: nowrap;
  }
  #carriers .section__head { margin-bottom: 10px; gap: 0; }
  .roster { gap: 10px; }
  .roster__card { flex: 0 0 calc((100% - 10px) / 2); min-height: 0; }   /* 2 cols (1 gap × 10px) */

  /* ---------- TOPBAR — single row, centered ---------- */
  .topbar__inner {
    justify-content: center;
    gap: 18px;
    padding: 10px 12px;
  }
  .topbar__nav {
    gap: 16px;
  }
  .topbar__right { display: none; }

  /* ---------- FOOTER — single column, everything centered ---------- */
  .footer { padding: 24px 16px 24px; text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__col { align-items: center; }
  .footer__col--wide {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .footer__hdr { text-align: center; }
  .footer__col a {
    border-left: 0;
    padding-left: 0;
    text-align: center;
  }
  .footer__col a:hover {
    border-left: 0;
    padding-left: 0;
  }
  .footer__bottom {
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .footer__legal { line-height: 1.6; }
}

/* Very narrow phones (≤380px / iPhone SE) — final squeeze */
@media (max-width: 380px) {
  .hero { grid-template-columns: 6fr 5fr; gap: 6px; padding: 12px 8px; }
  /* hero__title uses cqw from the ≤640px block — stays responsive automatically */
  .hero__sub { font-size: 9px; gap: 4px; }
  .hero__sub .pill { padding: 2px 5px; font-size: 8px; }
  .tracks-grid { gap: 6px; }
  .section { padding: 12px 8px 24px; }
  .tl-row { grid-template-columns: 20px 1fr; padding: 10px 4px 10px 6px; gap: 4px; }
  .tl-title__main { font-size: 13px; }
  .artist-card__body { padding: 8px; }
  .artist-card__name { font-size: 16px; }
  .artist-card__tagline { font-size: 10px; }
  .artist-card__links { grid-template-columns: 1fr; }
  .alink__lbl { display: none; }              /* icons-only */
}

/* ============================================================
   ANIMATIONS — ambient atmosphere, hero accents, reveals
   ============================================================ */

/* ---- Living background: gradients slowly drift ---- */
.bg-field {
  animation: field-drift 28s ease-in-out infinite alternate;
  will-change: background-position;
}
@keyframes field-drift {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%, 0 0; }
  100% { background-position: 6% -4%, -5% 5%, 3% 2%, 0 0; }
}

/* ---- Viral spores falling downward ---- */
.spores {
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.spore {
  position: absolute; top: -24px;
  width: 3px; height: 3px; border-radius: 50%;
  background: oklch(0.88 0.28 140);
  box-shadow:
    0 0 6px oklch(0.85 0.28 140 / 0.9),
    0 0 14px oklch(0.7 0.25 140 / 0.45);
  opacity: 0;
  animation: spore-fall linear infinite;
  will-change: transform, opacity;
}
@keyframes spore-fall {
  0%   { transform: translate3d(0, 0, 0) scale(0.8); opacity: 0; }
  10%  { opacity: 0.75; }
  50%  { transform: translate3d(calc(var(--drift, 40px) * 0.5), 55vh, 0) scale(1.1); opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translate3d(var(--drift, 40px), 115vh, 0) scale(1); opacity: 0; }
}
/* occasional rust-colored spore */
.spore.spore--rust {
  background: oklch(0.6 0.22 28);
  box-shadow:
    0 0 6px oklch(0.6 0.22 28 / 0.8),
    0 0 14px oklch(0.5 0.2 25 / 0.35);
}

/* ---- Album cover: breathe + radar scan ---- */
.hero__art { animation: art-breathe 5.2s ease-in-out infinite; }
@keyframes art-breathe {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px oklch(0.3 0.2 140 / 0.3),
      0 30px 80px oklch(0.5 0.25 140 / 0.25),
      inset 0 0 120px oklch(0 0 0 / 0.6);
  }
  50% {
    transform: scale(1.012);
    box-shadow:
      0 0 0 1px oklch(0.4 0.22 140 / 0.55),
      0 34px 100px oklch(0.6 0.28 140 / 0.45),
      inset 0 0 120px oklch(0 0 0 / 0.5);
  }
}
.hero__art-scan {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(
    180deg,
    transparent 0%,
    oklch(0.85 0.28 140 / 0.0) 40%,
    oklch(0.88 0.3 140 / 0.55) 49%,
    oklch(0.95 0.32 140 / 0.85) 50%,
    oklch(0.88 0.3 140 / 0.55) 51%,
    oklch(0.85 0.28 140 / 0.0) 60%,
    transparent 100%
  );
  transform: translateY(-110%);
  mix-blend-mode: screen;
  animation: art-scan 6.4s linear infinite;
  animation-delay: 1.5s;
}
@keyframes art-scan {
  0%   { transform: translateY(-110%); }
  70%  { transform: translateY(110%); }
  100% { transform: translateY(110%); }
}

/* ---- Hero title glitch-in + ambient chromatic aberration ----
   No baseline opacity:0 — the keyframes set the starting opacity:0 themselves.
   That way if `animation: none` is applied (mobile/reduced-motion), the
   element falls back to opacity:1 instead of staying invisible. */
.hero__title .word {
  display: block;
  animation: word-enter 0.9s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero__title .word--mission { animation-delay: 0.15s; }
.hero__title .word--infect  { animation-delay: 0.35s; }
.hero__title .word--epidem  { animation-delay: 0.55s; }
@keyframes word-enter {
  0%   { opacity: 0; transform: translateX(-18px) skewX(-8deg); filter: blur(10px); }
  40%  { opacity: 1; transform: translateX(6px)  skewX( 2deg); filter: blur(0); }
  55%  { opacity: 0.45; transform: translateX(-4px) skewX(-1deg); filter: blur(3px); }
  70%  { opacity: 1; transform: translateX(2px) skewX(0.5deg); filter: blur(0); }
  100% { opacity: 1; transform: translateX(0)   skewX(0);      filter: blur(0); }
}

/* chromatic flicker on the epidem word */
.hero__title .word--epidem { position: relative; }
.hero__title .word--epidem::before,
.hero__title .word--epidem::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  letter-spacing: inherit;
  opacity: 0;
}
.hero__title .word--epidem::before {
  color: oklch(0.78 0.3 140);
  animation: aberr-g 7s infinite;
}
.hero__title .word--epidem::after {
  color: oklch(0.55 0.22 25);
  animation: aberr-r 7s 0.18s infinite;
}
@keyframes aberr-g {
  0%, 89%, 100% { opacity: 0; transform: translate(0, 0); }
  90% { opacity: 0.7; transform: translate(-3px, 1px); }
  92% { opacity: 0.9; transform: translate( 4px, -1px); }
  94% { opacity: 0.4; transform: translate(-2px, 1px); }
  96% { opacity: 0.6; transform: translate( 2px, 0); }
}
@keyframes aberr-r {
  0%, 89%, 100% { opacity: 0; transform: translate(0, 0); }
  90% { opacity: 0.8; transform: translate( 3px, -1px); }
  92% { opacity: 0.5; transform: translate(-4px, 1px); }
  94% { opacity: 0.7; transform: translate( 2px, -1px); }
  96% { opacity: 0.3; transform: translate(-2px, 0); }
}

/* ---- Hero cursor-reactive toxic glow ---- */
.hero { /* already position: relative */ overflow: hidden; }
.hero__glow {
  position: absolute; pointer-events: none;
  width: 360px; height: 360px; border-radius: 50%;
  top: var(--gy, 50%); left: var(--gx, 50%);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at center,
    oklch(0.85 0.28 140 / 0.22),
    oklch(0.6 0.22 140 / 0.08) 38%,
    transparent 66%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  filter: blur(6px);
}
.hero:hover .hero__glow { opacity: 1; }

/* ---- Marquee biohazard ticker ---- */
.ticker {
  position: relative; z-index: 3;
  max-width: 1480px; margin: 10px auto 0; padding: 0;
  overflow: hidden;
  border-top: 1px solid oklch(0.4 0.2 140 / 0.35);
  border-bottom: 1px solid oklch(0.4 0.2 140 / 0.35);
  background:
    linear-gradient(180deg, oklch(0.08 0.06 140 / 0.85), oklch(0.04 0.04 140 / 0.85));
  mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 60px), transparent 100%);
}
.ticker__track {
  display: inline-flex; gap: 44px;
  padding: 12px 0;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.32em;
  color: var(--tox); text-transform: uppercase;
  white-space: nowrap;
  animation: ticker-scroll 48s linear infinite;
  will-change: transform;
}
.ticker__track > span {
  display: inline-flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.ticker__track > span::before {
  content: "⚠"; color: var(--rust); font-size: 13px;
  text-shadow: 0 0 8px oklch(0.55 0.2 30 / 0.6);
}
.ticker__track > span.tok--rust { color: var(--rust); }
.ticker__track > span.tok--warn { color: var(--hazard-y); }
@keyframes ticker-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ---- Scroll reveal (section heads + any .reveal) ---- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity  0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.section__head.reveal {
  transform: translateY(14px) skewX(-3deg);
}
.section__head.reveal.is-in {
  transform: translateY(0) skewX(0);
}

/* ---- Tracklist stagger: rows slide in when list is visible ---- */
.tracklist.is-in .tl-row {
  animation: tl-enter 0.55s both cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tracklist.is-in .tl-row:nth-of-type(1)  { animation-delay: 0.05s; }
.tracklist.is-in .tl-row:nth-of-type(2)  { animation-delay: 0.11s; }
.tracklist.is-in .tl-row:nth-of-type(3)  { animation-delay: 0.17s; }
.tracklist.is-in .tl-row:nth-of-type(4)  { animation-delay: 0.23s; }
.tracklist.is-in .tl-row:nth-of-type(5)  { animation-delay: 0.29s; }
.tracklist.is-in .tl-row:nth-of-type(6)  { animation-delay: 0.35s; }
.tracklist.is-in .tl-row:nth-of-type(7)  { animation-delay: 0.41s; }
.tracklist.is-in .tl-row:nth-of-type(8)  { animation-delay: 0.47s; }
.tracklist.is-in .tl-row:nth-of-type(9)  { animation-delay: 0.53s; }
.tracklist.is-in .tl-row:nth-of-type(10) { animation-delay: 0.59s; }
@keyframes tl-enter {
  0%   { opacity: 0; transform: translateX(-16px); filter: blur(4px); }
  60%  { opacity: 1; transform: translateX(2px);   filter: blur(0); }
  100% { opacity: 1; transform: translateX(0);     filter: blur(0); }
}

/* Roster stagger */
.roster.is-in .roster__card {
  animation: roster-enter 0.6s both cubic-bezier(0.2, 0.8, 0.2, 1);
}
.roster.is-in .roster__card:nth-child(1) { animation-delay: 0.05s; }
.roster.is-in .roster__card:nth-child(2) { animation-delay: 0.12s; }
.roster.is-in .roster__card:nth-child(3) { animation-delay: 0.19s; }
.roster.is-in .roster__card:nth-child(4) { animation-delay: 0.26s; }
.roster.is-in .roster__card:nth-child(5) { animation-delay: 0.33s; }
.roster.is-in .roster__card:nth-child(6) { animation-delay: 0.40s; }
.roster.is-in .roster__card:nth-child(7) { animation-delay: 0.47s; }
.roster.is-in .roster__card:nth-child(8) { animation-delay: 0.54s; }
.roster.is-in .roster__card:nth-child(9) { animation-delay: 0.61s; }
@keyframes roster-enter {
  0%   { opacity: 0; transform: translateY(20px) scale(0.96); filter: blur(4px); }
  60%  { opacity: 1; transform: translateY(-2px) scale(1.01); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0)    scale(1);    filter: blur(0); }
}

/* ---- Page-wide periodic glitch flash ---- */
.glitch-flash {
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0;
  background: transparent;
  mix-blend-mode: screen;
}
.glitch-flash.is-on {
  animation: page-glitch 220ms steps(4, end);
}
@keyframes page-glitch {
  0% {
    opacity: 0;
    background: transparent;
    transform: translate3d(0, 0, 0);
  }
  20% {
    opacity: 0.75;
    background: linear-gradient(
      90deg,
      oklch(0.7 0.3 140 / 0.12) 0%,
      transparent 22%,
      oklch(0.55 0.22 25 / 0.1) 78%,
      transparent 100%
    );
    transform: translate3d(6px, 0, 0);
  }
  45% {
    opacity: 0.5;
    background: repeating-linear-gradient(
      to bottom,
      transparent 0 2px,
      oklch(0.75 0.3 140 / 0.12) 2px 3px
    );
    transform: translate3d(-7px, 0, 0);
  }
  70% {
    opacity: 0.8;
    background: linear-gradient(
      180deg,
      oklch(0.88 0.3 140 / 0.08) 0,
      transparent 100%
    );
    transform: translate3d(3px, 0, 0);
  }
  100% {
    opacity: 0;
    background: transparent;
    transform: translate3d(0, 0, 0);
  }
}

/* ---- Blink the REC corner + a subtle breathing on the dot ---- */
.hero__corner--br {
  animation: blink 1.4s steps(2, end) infinite;
  color: var(--rust);
  border-color: oklch(0.5 0.2 30 / 0.55);
}

/* ---- Tracklist row hover scan sweep ---- */
.tl-row { position: relative; overflow: hidden; }
.tl-row::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    oklch(0.85 0.28 140 / 0.12) 45%,
    oklch(0.9 0.3 140 / 0.22) 50%,
    oklch(0.85 0.28 140 / 0.12) 55%,
    transparent 100%
  );
  transform: translateX(-100%);
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  mix-blend-mode: screen;
}
.tl-row:hover::after { transform: translateX(100%); }

/* ---- Play button idle pulse ---- */
.btn--primary {
  animation: btn-pulse 2.6s ease-in-out infinite;
}
@keyframes btn-pulse {
  0%, 100% { box-shadow: 0 0 0 0 oklch(0.8 0.28 140 / 0.55); }
  50%      { box-shadow: 0 0 0 10px oklch(0.8 0.28 140 / 0); }
}

/* ---- Respect reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .bg-field,
  .hero__art,
  .hero__art-scan,
  .hero__title .word,
  .hero__title .word--epidem::before,
  .hero__title .word--epidem::after,
  .ticker__track,
  .btn--primary,
  .hero__corner--br,
  .spore,
  .tracklist.is-in .tl-row,
  .roster.is-in .roster__card,
  .glitch-flash.is-on { animation: none !important; }
  .hero__title .word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Mobile perf: kill the lag ----
   Phones can't keep up with all the ambient animation on top of audio + React.
   Disable the heavy stuff at ≤800px so the player + artist swap stay smooth. */
@media (max-width: 800px) {
  .bg-field,
  .hero__art,
  /* .hero__art-scan,   ← TRIAL: scanline kept ON for album art. If mobile lags, uncomment. */
  .player__cover-pulse,
  /* .portrait-scan,    ← TRIAL: scanline kept ON for live artist card. If mobile lags, uncomment. */
  .roster__av::after,
  .hero__title .word,
  .hero__title .word--epidem::before,
  .hero__title .word--epidem::after,
  .hero__corner--br,
  .pulse,
  .blink,
  .bars span { animation: none !important; }
  /* Ticker stays — it's a single transform, cheap on mobile */

  /* The hero title words start at opacity:0 and rely on the animation to
     fade in. Killing the animation leaves them invisible — force them on. */
  .hero__title .word {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .hero__glow,
  .glitch-flash,
  .spores { display: none !important; }

  /* TRIAL: artist-card glitch swap left ON for mobile so verse changes feel
     alive instead of just snapping. If this stutters or lags on phones,
     uncomment these two lines to disable. */
  /* .artist-card.is-glitch { animation: none !important; } */
  /* .artist-card.is-glitch .portrait-photo { filter: none !important; } */

  /* Reveal everything immediately so IntersectionObserver work doesn't pile up */
  .reveal { opacity: 1; transform: none; }
  .tracklist .tl-row,
  .roster .roster__card { opacity: 1; transform: none; animation: none !important; }

  /* Simplify the box-shadow stack — the multi-layer shadows are a known
     mobile repaint hot spot. */
  .player,
  .artist-card,
  .tracklist,
  .roster__card {
    box-shadow: 0 8px 24px oklch(0 0 0 / 0.45);
  }
}
