/* ============================================================
   TWAN DINGLE — CINEMATIC 3D SCROLL PORTFOLIO
   ink black · emerald · cream · condensed display
   ============================================================ */

@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Archivo';
  src: url('../fonts/archivo.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #060807;
  --ink-2: #0b0e0c;
  --emerald: #10e58c;
  --emerald-dim: rgba(16, 229, 140, 0.35);
  --emerald-deep: #063d27;
  --cream: #f2ecdd;
  --cream-dim: rgba(242, 236, 221, 0.55);
  --display: 'Anton', 'Arial Narrow', Impact, sans-serif;
  --body: 'Archivo', -apple-system, 'Helvetica Neue', sans-serif;
}

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

html { background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--emerald); color: var(--ink); }

a { color: inherit; text-decoration: none; }

/* ==================== PRELOADER ==================== */
#preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.preloader-inner { text-align: center; width: min(420px, 70vw); }
.preloader-name {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: 0.28em;
  color: var(--cream);
  margin-bottom: 28px;
}
.preloader-bar {
  height: 1px; background: rgba(242, 236, 221, 0.15);
  position: relative; overflow: hidden;
}
.preloader-bar-fill {
  position: absolute; inset: 0;
  background: var(--emerald);
  transform-origin: left center;
  transform: scaleX(0);
}
.preloader-pct {
  margin-top: 14px;
  font-size: 11px; letter-spacing: 0.4em;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}

/* ==================== NAV ==================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px clamp(20px, 4vw, 56px);
  mix-blend-mode: difference;
  opacity: 0;
}
.nav-monogram {
  font-family: var(--display);
  font-size: 26px; letter-spacing: 0.06em;
  color: var(--cream);
}
.nav-dot { color: var(--emerald); }
.nav-links { display: flex; gap: clamp(18px, 3vw, 44px); }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: 0.3em;
  color: var(--cream);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--emerald);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left center; }

/* ==================== HERO ==================== */
#hero { height: 520vh; position: relative; }
.hero-stage {
  position: sticky; top: 0;
  height: 100vh; width: 100%;
  overflow: hidden;
}
#orbit-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, transparent 40%, rgba(6, 8, 7, 0.72) 100%),
    linear-gradient(to bottom, rgba(6, 8, 7, 0.35) 0%, transparent 22%, transparent 72%, var(--ink) 100%);
  pointer-events: none;
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  pointer-events: none;
}
.hero-eyebrow {
  font-size: clamp(10px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.5em;
  color: var(--emerald);
  margin-bottom: 3vh;
}
.hero-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 14.5vw, 240px);
  line-height: 0.92;
  color: var(--cream);
  white-space: nowrap;
  text-shadow: 0 0 80px rgba(6, 8, 7, 0.8);
}
.hero-title .ltr {
  display: inline-block;
  will-change: transform, opacity;
}
.hero-title .sp { display: inline-block; width: 0.28em; }
.hero-sub {
  margin-top: 3.4vh;
  max-width: 560px;
  font-size: clamp(14px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.65;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
.hero-hud {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 clamp(20px, 4vw, 56px) 30px;
  pointer-events: none;
}
.hud-orbit {
  font-size: 11px; letter-spacing: 0.35em;
  color: var(--emerald);
  font-variant-numeric: tabular-nums;
}
.hud-scroll { text-align: right; }
.hud-scroll span {
  font-size: 10px; letter-spacing: 0.45em; color: var(--cream-dim);
}
.hud-line {
  width: 120px; height: 1px; margin-top: 10px;
  background: rgba(242, 236, 221, 0.18);
  position: relative; overflow: hidden;
}
.hud-line-fill {
  position: absolute; inset: 0;
  background: var(--emerald);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ==================== STATS ==================== */
#stats {
  position: relative;
  padding: 16vh clamp(20px, 5vw, 72px);
  background: var(--ink);
  border-top: 1px solid rgba(242, 236, 221, 0.06);
}
.stats-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 4vw, 64px);
  max-width: 1500px; margin: 0 auto;
}
.stat { border-left: 1px solid rgba(16, 229, 140, 0.25); padding-left: clamp(14px, 1.6vw, 26px); }
.stat-num {
  font-family: var(--display);
  font-size: clamp(52px, 7.5vw, 128px);
  line-height: 1;
  color: var(--cream);
}
.stat-num .counter { font-variant-numeric: tabular-nums; }
.stat-label {
  margin-top: 14px;
  font-size: clamp(11px, 1vw, 13px);
  font-weight: 600;
  letter-spacing: 0.22em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--cream-dim);
}

/* ==================== PILLARS ==================== */
#pillars { height: 440vh; position: relative; }
.pillars-stage {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  background: var(--ink-2);
}
.bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.stage-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(6, 8, 7, 0.88) 0%, rgba(6, 8, 7, 0.45) 55%, rgba(6, 8, 7, 0.25) 100%),
    linear-gradient(to bottom, var(--ink) 0%, transparent 18%, transparent 82%, var(--ink) 100%);
}
.pillars-header {
  position: absolute; top: 12vh; left: clamp(20px, 5vw, 72px);
}
.section-tag {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.5em;
  color: var(--emerald);
  border: 1px solid rgba(16, 229, 140, 0.35);
  padding: 10px 18px;
  display: inline-block;
}
.pillar {
  position: absolute;
  left: clamp(20px, 5vw, 72px);
  top: 50%; transform: translateY(-50%);
  max-width: min(760px, 72vw);
  opacity: 0;
  visibility: hidden;
}
.pillar-index {
  font-family: var(--display);
  font-size: clamp(16px, 2vw, 26px);
  color: var(--emerald);
  letter-spacing: 0.2em;
  margin-bottom: 1.6vh;
}
.pillar-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 150px);
  line-height: 0.9;
  color: var(--cream);
  -webkit-text-stroke: 0;
}
.pillar-pitch {
  margin-top: 3vh;
  max-width: 480px;
  font-size: clamp(14px, 1.35vw, 18px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--cream-dim);
}
.pillar-meta {
  margin-top: 2.6vh;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--emerald);
}
.pillar-dots {
  position: absolute; right: clamp(20px, 4vw, 56px); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 14px;
}
.pdot {
  width: 8px; height: 8px; border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(242, 236, 221, 0.4);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.pdot.active {
  background: var(--emerald);
  border-color: var(--emerald);
  transform: scale(1.4);
}

/* ==================== WORK ==================== */
#work {
  position: relative;
  min-height: 100vh;
  padding: 18vh clamp(20px, 5vw, 72px) 22vh;
  overflow: hidden;
}
.work-bg { position: absolute; opacity: 0.5; }
.work-shade {
  background:
    linear-gradient(to bottom, var(--ink) 0%, rgba(6, 8, 7, 0.62) 30%, rgba(6, 8, 7, 0.62) 70%, var(--ink) 100%);
}
.work-inner { position: relative; max-width: 1500px; margin: 0 auto; }
.work-header { margin-bottom: 9vh; }
.work-title {
  margin-top: 4vh;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 190px);
  line-height: 0.9;
  color: var(--cream);
}
.work-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--emerald);
}
.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 32px);
}
.card {
  position: relative;
  border: 1px solid rgba(242, 236, 221, 0.14);
  background: rgba(6, 8, 7, 0.55);
  backdrop-filter: blur(6px);
  padding: clamp(24px, 2.6vw, 44px);
  min-height: 380px;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}
.card-num {
  font-size: 11px; letter-spacing: 0.4em;
  color: var(--emerald);
  margin-bottom: 5vh;
}
.card-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1.04;
  color: var(--cream);
  margin-bottom: 20px;
  transform: translateZ(30px);
}
.card-pitch {
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--cream-dim);
  flex: 1;
}
.card-tag {
  margin-top: 26px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--cream-dim);
  border-top: 1px solid rgba(242, 236, 221, 0.12);
  padding-top: 18px;
  transition: color 0.3s;
}
.card-glow {
  position: absolute; inset: 0;
  opacity: 0;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(16, 229, 140, 0.16), transparent 65%);
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover { border-color: var(--emerald-dim); }
.card:hover .card-glow { opacity: 1; }
.card:hover .card-tag { color: var(--emerald); }

/* ==================== THE SOUND ==================== */
#sound {
  position: relative;
  padding: 18vh clamp(20px, 5vw, 72px) 20vh;
  background:
    radial-gradient(ellipse 55% 40% at 85% 8%, rgba(16, 229, 140, 0.07), transparent 70%),
    var(--ink);
  border-top: 1px solid rgba(242, 236, 221, 0.06);
}
.sound-inner { max-width: 1500px; margin: 0 auto; }
.sound-header { margin-bottom: 9vh; }
.sound-title {
  margin-top: 4vh;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 170px);
  line-height: 0.92;
  color: var(--cream);
}
.sound-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--emerald);
}
.sound-sub {
  margin-top: 3.5vh;
  max-width: 520px;
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  line-height: 1.7;
  color: var(--cream-dim);
}
.albums {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 48px);
}
.album-card {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid rgba(242, 236, 221, 0.14);
  background: rgba(6, 8, 7, 0.55);
  padding: clamp(24px, 2.6vw, 44px);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}
.album-art-wrap {
  position: relative;
  width: min(72%, 420px);
  aspect-ratio: 1;
  margin-bottom: 4vh;
}
.album-art {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 12px 24px 60px rgba(0, 0, 0, 0.6);
}
.vinyl {
  position: absolute; z-index: 0;
  top: 2%; left: 2%;
  width: 96%; height: 96%;
  border-radius: 50%;
  background:
    radial-gradient(circle, #060807 0 5.5%, transparent 5.5%),
    radial-gradient(circle, var(--emerald) 5.5% 17%, transparent 17%),
    repeating-radial-gradient(circle, #0d100e 0 1.6%, #1a1e1c 1.6% 3.2%);
  box-shadow: 8px 12px 40px rgba(0, 0, 0, 0.65);
  transform: translateX(0) rotate(0deg);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.album-card:hover .vinyl { transform: translateX(34%) rotate(80deg); }
.album-card.spinning .vinyl { animation: vinyl-spin 2.4s linear infinite; }
@keyframes vinyl-spin {
  from { transform: translateX(34%) rotate(0deg); }
  to { transform: translateX(34%) rotate(360deg); }
}
.album-genre {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--emerald);
  margin-bottom: 18px;
}
.album-artist {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1;
  color: var(--cream);
}
.album-name {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(18px, 1.7vw, 28px);
  letter-spacing: 0.14em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 236, 221, 0.65);
}
.album-credit {
  margin-top: 18px;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  color: var(--cream-dim);
}
/* ---- track previews ---- */
.tracklist {
  margin-top: 26px;
  border-top: 1px solid rgba(242, 236, 221, 0.12);
}
.track {
  position: relative;
  display: grid;
  grid-template-columns: 22px 30px 1fr auto;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 2px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(242, 236, 221, 0.07);
  font-family: var(--body);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  color: var(--cream-dim);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s;
}
.track:hover { color: var(--cream); }
.track:hover .tr-name { color: var(--emerald); }
.tr-icon {
  position: relative;
  width: 14px; height: 12px;
  display: flex; align-items: flex-end; gap: 2px;
}
.tr-icon::before {
  content: '';
  position: absolute; left: 1px; top: 50%;
  transform: translateY(-50%);
  border-left: 9px solid var(--emerald);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.tr-icon span {
  display: none;
  width: 3px; height: 100%;
  background: var(--emerald);
  transform-origin: bottom center;
  animation: eq 0.7s ease-in-out infinite alternate;
}
.tr-icon span:nth-child(2) { animation-delay: 0.22s; }
.tr-icon span:nth-child(3) { animation-delay: 0.44s; }
.track.playing .tr-icon::before { display: none; }
.track.playing .tr-icon span { display: block; }
.track.playing .tr-name { color: var(--emerald); }
@keyframes eq {
  from { transform: scaleY(0.2); }
  to { transform: scaleY(1); }
}
.tr-num { font-size: 10px; letter-spacing: 0.2em; color: rgba(242, 236, 221, 0.35); }
.tr-name { transition: color 0.25s; }
.tr-name em { font-style: normal; font-size: 0.82em; color: rgba(242, 236, 221, 0.4); }
.tr-time { font-variant-numeric: tabular-nums; font-size: 11px; color: rgba(242, 236, 221, 0.4); }
.tr-progress {
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left center;
}

.album-cta {
  display: inline-block;
  margin-top: 26px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--cream);
  padding-top: 4px;
  transition: color 0.3s, letter-spacing 0.3s;
}
.album-card:hover { border-color: var(--emerald-dim); }
.album-card:hover .album-cta { color: var(--emerald); letter-spacing: 0.42em; }
.album-card:hover .card-glow { opacity: 1; }

/* ---- BingeVox originals strip ---- */
.bv-strip {
  margin-top: clamp(20px, 3vw, 48px);
  border: 1px solid rgba(242, 236, 221, 0.14);
  background: rgba(6, 8, 7, 0.55);
  padding: clamp(24px, 2.6vw, 44px);
}
.bv-kicker {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--emerald);
}
.bv-title {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: 1;
  color: var(--cream);
}
.bv-sub {
  margin-top: 14px;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  color: var(--cream-dim);
}
.bv-shows {
  margin-top: 5vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 40px);
}
.bv-show {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.bv-cover {
  width: clamp(88px, 8vw, 124px);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 8px 12px 34px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.4s;
}
.bv-show.playing .bv-cover {
  box-shadow: 0 0 0 1px var(--emerald), 0 0 34px rgba(16, 229, 140, 0.35);
}
.bv-info { flex: 1; min-width: 0; }
.bv-show-name {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 26px);
  line-height: 1.05;
  color: var(--cream);
}
.bv-show-tag {
  margin-top: 8px;
  font-size: 11px;
  font-weight: 500;
  font-style: italic;
  color: var(--cream-dim);
}
.bv-track { margin-top: 14px; border-top: 1px solid rgba(242, 236, 221, 0.12); }
.bv-strip .album-cta { margin-top: 5vh; }

/* ==================== FINALE ==================== */
#finale {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 16vh clamp(20px, 5vw, 72px) 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 92%, rgba(16, 229, 140, 0.12), transparent 70%),
    var(--ink);
}
.finale-inner { text-align: center; margin: auto; }
.finale-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(58px, 11vw, 200px);
  line-height: 0.95;
  color: var(--cream);
}
.fl-line { display: block; overflow: hidden; }
.fl-line > span { display: inline-block; transform: translateY(110%); }
.fl-line.accent > span { color: var(--emerald); }
.finale-actions {
  margin-top: 7vh;
  display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
}
.btn {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.32em;
  padding: 20px 44px;
  border: 1px solid var(--emerald);
  position: relative;
  overflow: hidden;
  transition: color 0.35s, border-color 0.35s;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: var(--emerald);
  transform: scaleY(0); transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}
.btn-primary { background: var(--emerald); color: var(--ink); }
.btn-primary:hover { background: transparent; color: var(--emerald); }
.btn-primary::before { display: none; }
.btn-ghost { color: var(--cream); border-color: rgba(242, 236, 221, 0.35); z-index: 0; }
.btn-ghost:hover { color: var(--ink); border-color: var(--emerald); }
.btn-ghost:hover::before { transform: scaleY(1); }

.finale-socials {
  margin-top: 6vh;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  flex-wrap: wrap;
}
.socials-handle {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--emerald);
}
.socials-sep {
  width: 44px; height: 1px;
  background: rgba(242, 236, 221, 0.25);
}
.finale-socials a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--cream-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}
.finale-socials a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--emerald);
  transform: scaleX(0); transform-origin: right center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.finale-socials a:hover { color: var(--cream); }
.finale-socials a:hover::after { transform: scaleX(1); transform-origin: left center; }

#footer {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  padding: 34px 0;
  margin-top: 14vh;
  border-top: 1px solid rgba(242, 236, 221, 0.08);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--cream-dim);
}
.footer-links { display: flex; gap: clamp(16px, 3vw, 40px); }
.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--emerald); }

/* ==================== OVERLAYS ==================== */
#grain {
  position: fixed; inset: -100%;
  z-index: 900;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-jitter 0.9s steps(6) infinite;
}
@keyframes grain-jitter {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}
#progress-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 950;
  background: var(--emerald);
  transform-origin: left center;
  transform: scaleX(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .stats-rail { grid-template-columns: repeat(2, 1fr); row-gap: 8vh; }
  .work-cards { grid-template-columns: 1fr; }
  .albums { grid-template-columns: 1fr; }
  .album-art-wrap { width: min(88%, 420px); }
  .bv-shows { grid-template-columns: 1fr; }
  .hero-title { white-space: normal; }
  .pillar-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  #grain { animation: none; }
}
