/*
==============================================================================
shared.css — Aidan Yagu
==============================================================================
  01. FONTS .......................... line 46
  02. VARIABLES ...................... line 88
  03. RESET .......................... line 104
  04. GRAIN .......................... line 116
  05. SCANLINES ...................... line 125
  06. NAV ............................ line 133
  07. PAGE HERO ...................... line 240
  08. SHARED SECTION ................. line 276
  09. CYAN DIVIDER ................... line 292
  10. SPLIT LAYOUT ................... line 301
  11. BUTTONS ........................ line 312
  12. PULL QUOTE ..................... line 329
  13. STAT BLOCK ..................... line 343
  14. LINK ITEM ...................... line 360
  15. CARD BASE ...................... line 389
  16. TAG BADGE ...................... line 411
  17. BUY ME A COFFEE ............... line 424
  18. SOCIAL BAR ..................... line 435
  19. MUSIC / DISCO GRID ............. line 455
  20. MVMT TOGGLE .................... line 500
  21. LYRICS ......................... line 516
  22. BLOG ........................... line 694
  23. PRESS .......................... line 759
  24. COMMUNITY ...................... line 797
  25. DECODE / FREQUENCY ............. line 884
  26. ARTWORK ........................ line 946
  27. ADMIN .......................... line 1034
  28. PERSISTENT AUDIO PLAYER ........ line 1114
  29. VOLUME SLIDER .................. line 1176
  30. FOOTER ......................... line 1208
  31. SCROLL REVEAL .................. line 1241
  32. ANIMATIONS ..................... line 1245
  33. RESPONSIVE ..................... line 1269
  34. FOCUS STATES ................... line 1290
  35. SILKTIDE OVERRIDES ............. line 1337
  36. COMMENT SYSTEM ................. line 1371
  37. SUBSCRIBE GATE ................. line 1592
  38. NEWSLETTER ..................... line 1665
==============================================================================
*/

/* === 01. FONTS === */
@font-face {
  font-family: 'Bebas Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/bebas-neue.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/outfit.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url('/fonts/jetbrains-mono.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-serif-display-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === 02. VARIABLES === */
:root {
  --silver: #c0c0c8;
  --silver-bright: #e8e8f0;
  --gold: #c9a84c;
  --gold-bright: #f0c060;
  --cyan: #00e5ff;
  --cyan-dim: rgba(0,229,255,0.15);
  --bg: #080a0c;
  --bg2: #0d1014;
  --bg3: #111518;
  --text: #b8bcc4;
  --text-dim: #6c7384;
  --border: rgba(255,255,255,0.06);
  --red: #e05555;
}

/* === 03. RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  padding-bottom: 70px;
}

/* === 04. GRAIN === */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* === 05. SCANLINES === */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 8999;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
}

/* === 06. NAV === */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  padding: 0.9rem 2.5rem;
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(to bottom, rgba(8,10,12,0.98) 60%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem; letter-spacing: 0.12em;
  color: var(--silver-bright); text-decoration: none;
  display: flex; align-items: center; gap: 0.5rem;
  flex-shrink: 0;
}
.nav-logo .nd { width: 2px; height: 1rem; background: var(--cyan); display: inline-block; box-shadow: 0 0 8px var(--cyan); }
.nav-logo .na { color: var(--gold); }
.nav-links {
  display: flex; gap: 1.6rem; list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--silver); }
.nav-links a.active { color: var(--cyan); }

/* Nav more dropdown */
.nav-more { position: relative; }
.nav-more-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); background: none; border: none; cursor: pointer;
  transition: color 0.2s; padding: 0;
}
.nav-more-btn:hover { color: var(--silver); }
.nav-dropdown {
  position: absolute; top: calc(100% + 1rem); right: 0;
  background: rgba(13,16,20,0.98);
  border: 1px solid var(--border);
  border-top: 2px solid var(--cyan);
  padding: 0.5rem 0;
  min-width: 160px;
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
}
.nav-more.open .nav-dropdown {
  opacity: 1; pointer-events: all; transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  padding: 0.55rem 1.2rem;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown a:hover { color: var(--silver); background: rgba(255,255,255,0.03); }

.nav-cta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  background: var(--gold); color: var(--bg);
  font-weight: 700; text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-bright); }

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--silver); transition: all 0.3s;
}
.nav-mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,10,12,0.98);
  z-index: 490;
  flex-direction: column;
  padding: 6rem 2.5rem 2rem;
  gap: 0.2rem;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: var(--cyan); }

/* === 07. PAGE HERO === */
.page-hero {
  padding: 9rem 2.5rem 4rem;
  position: relative; overflow: hidden;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--cyan) 30%, var(--cyan) 70%, transparent 100%);
  transform: translateX(-50%);
  opacity: 0.15;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--cyan); display: block; margin-bottom: 0.6rem;
}
.page-hero-eyebrow::before { content: '// '; }
.page-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.9; letter-spacing: 0.02em;
  color: var(--silver-bright);
}
.page-hero-title .gold { color: var(--gold); }
.page-hero-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem; line-height: 1.7;
  color: var(--text-dim); margin-top: 1rem;
  max-width: 600px;
}

/* === 08. SHARED SECTION === */
section { padding: 6rem 2.5rem; }
.container { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  display: block; margin-bottom: 0.5rem;
}
.section-eyebrow::before { content: '// '; }
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95; letter-spacing: 0.02em;
}
.hr { width: 100%; height: 1px; background: var(--border); }

/* === 09. CYAN DIVIDER === */
.cyan-divider {
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--cyan), transparent);
  opacity: 0.3;
  align-self: stretch;
  min-height: 60px;
}

/* === 10. SPLIT LAYOUT === */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
}
.split-left { color: var(--silver); }
.split-right { color: var(--gold); }

/* === 11. BUTTONS === */
.btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.8rem 1.8rem; text-decoration: none; display: inline-block;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-gold { background: var(--gold); color: var(--bg); font-weight: 700; }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--silver); border: 1px solid rgba(192,192,200,0.25); }
.btn-outline:hover { border-color: var(--silver); color: var(--silver-bright); transform: translateY(-2px); }
.btn-silver { background: transparent; color: var(--silver-bright); border: 1px solid rgba(232,232,240,0.35); }
.btn-silver:hover { background: rgba(232,232,240,0.08); color: #fff; border-color: var(--silver-bright); transform: translateY(-2px); }
.btn-cyan { background: transparent; color: var(--cyan); border: 1px solid rgba(0,229,255,0.35); }
.btn-cyan:hover { background: rgba(0,229,255,0.08); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1.1rem; font-size: 0.58rem; }

/* === 12. PULL QUOTE === */
.pull-quote {
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--cyan);
  background: rgba(0,229,255,0.04);
  margin: 2rem 0;
}
.pull-quote p {
  font-family: 'DM Serif Display', serif;
  font-style: italic; font-size: 1.15rem;
  line-height: 1.6; color: var(--silver);
}
.pull-quote em { color: var(--cyan); font-style: normal; }

/* === 13. STAT BLOCK === */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.stat { background: var(--bg3); padding: 1rem; }
.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.2em; color: var(--text-dim);
  text-transform: uppercase; display: block; margin-bottom: 0.25rem;
}
.stat-value {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; letter-spacing: 0.05em; color: var(--silver-bright);
}

/* === 14. LINK ITEM === */
.link-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; box-sizing: border-box;
  padding: 0.9rem 1.2rem;
  background: var(--bg3); border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  position: relative; overflow: hidden;
}
.link-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--cyan);
  transform: scaleY(0); transition: transform 0.2s;
  transform-origin: bottom;
}
.link-item:hover { background: var(--bg); border-color: rgba(192,192,200,0.15); }
.link-item:hover::before { transform: scaleY(1); }
.li-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--silver);
}
.li-action {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.15em; color: var(--text-dim);
}

/* === 15. CARD BASE === */
.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative; overflow: hidden;
}
.card-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.25em; text-transform: uppercase;
  display: block; margin-bottom: 0.6rem;
}
.card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; letter-spacing: 0.03em;
  line-height: 1; margin-bottom: 0.5rem;
}
.card p { font-size: 0.88rem; line-height: 1.75; color: var(--text-dim); }
.card.border-silver { border-top: 3px solid var(--silver); }
.card.border-gold { border-top: 3px solid var(--gold); }
.card.border-cyan { border-top: 3px solid var(--cyan); }

/* === 16. TAG BADGE === */
.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  color: var(--text-dim);
  display: inline-block;
}
.tag.cyan { border-color: rgba(0,229,255,0.3); color: var(--cyan); }
.tag.gold { border-color: rgba(201,168,76,0.3); color: var(--gold); }
.tag.silver { border-color: rgba(192,192,200,0.3); color: var(--silver); }

/* === 17. BUY ME A COFFEE === */
.bmc-btn {
  font-family: 'JetBrains Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold); background: transparent; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.18s, color 0.18s, border-color 0.18s; white-space: nowrap;
}
.bmc-btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }

/* === 18. SOCIAL BAR === */
.soc-bar {
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
}
.soc-label {
  font-family: 'JetBrains Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan);
  margin-right: 0.25rem; white-space: nowrap;
}
.soc-btn {
  font-family: 'JetBrains Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.28rem 0.65rem; border: 1px solid rgba(192,200,210,0.3);
  color: var(--silver); background: transparent; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: border-color 0.18s, color 0.18s; white-space: nowrap;
}
.soc-btn:hover     { border-color: var(--gold); color: var(--gold); }
.soc-btn.copy.copied { border-color: var(--green,#3ecf7a); color: var(--green,#3ecf7a); }

/* === 19. MUSIC / DISCO GRID === */
.disco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.02);
}
.disco-item {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: var(--bg3);
  text-decoration: none; display: block; cursor: pointer;
}
.disco-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
  filter: saturate(0.7) brightness(0.85);
}
.disco-item:hover img { transform: scale(1.08); filter: saturate(1) brightness(0.95); }
.disco-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,12,0.92) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0.75rem;
  opacity: 0; transition: opacity 0.3s;
}
.disco-item:hover .disco-overlay { opacity: 1; }
.do-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.04em;
  color: var(--silver-bright); display: block;
}
.do-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem; letter-spacing: 0.15em;
  color: var(--cyan); text-transform: uppercase;
}
.disco-item::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--cyan);
  transform: scaleX(0); transition: transform 0.3s;
  transform-origin: left; z-index: 2;
}
.disco-item:hover::before { transform: scaleX(1); }

/* === 20. MVMT TOGGLE === */
.mvmt-toggle {
  width: 100%; background: none; border: none; border-bottom: 1px solid var(--border);
  padding: 1.5rem 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  text-align: left; margin-bottom: 0;
  transition: border-color 0.2s;
}
.mvmt-toggle:hover { border-color: var(--silver); }
.mvmt-toggle-icon {
  font-size: 1.5rem; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace; flex-shrink: 0;
  transition: color 0.2s;
}
.mvmt-toggle:hover .mvmt-toggle-icon { color: var(--silver); }

/* === 21. LYRICS === */
.lyrics-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 3rem;
}
.lyric-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  position: relative; overflow: hidden;
  transition: border-color 0.2s;
}
.lyric-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--cyan);
  transform: scaleY(0); transition: transform 0.3s;
  transform-origin: bottom;
}
.lyric-card:hover { border-color: rgba(0,229,255,0.2); }
.lyric-card:hover::before { transform: scaleY(1); }
.lyric-card.favourite {
  border-color: rgba(201,168,76,0.35);
}
.lyric-card.favourite::before { background: var(--gold); }
.lyric-card.favourite:hover { border-color: rgba(201,168,76,0.6); }
.lyric-card.favourite .lc-title { color: var(--gold); }
.lc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; line-height: 1;
  position: absolute; right: 1rem; top: 0.5rem;
  opacity: 0.05; color: var(--silver);
}
.lc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); display: block; margin-bottom: 0.4rem;
}
.lc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.03em;
  color: var(--silver-bright); margin-bottom: 0.5rem;
}
.lc-excerpt {
  font-size: 0.82rem; line-height: 1.6; color: var(--text-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lc-award-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.45);
  padding: 0.15rem 0.5rem; margin-bottom: 0.4rem; margin-right: 0.3rem;
  background: rgba(201,168,76,0.06);
}
.lc-award-label::before { content: '⬡ '; }
.lc-locked-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); border: 1px solid var(--border);
  padding: 0.15rem 0.5rem; margin-bottom: 0.5rem;
}
.lc-redacted-preview { display: flex; flex-direction: column; gap: 0.35rem; margin-top: 0.6rem; }
.lc-redacted-bar {
  height: 0.7em; background: var(--silver-bright); opacity: 0.1; border-radius: 1px;
  animation: redact-card-flicker 6s infinite;
}
.lc-redacted-bar:nth-child(2) { animation-delay: 1.2s; width: 75%; }
@keyframes redact-card-flicker {
  0%, 88%, 100% { opacity: 0.1; }
  90% { opacity: 0.22; background: var(--cyan); }
  92% { opacity: 0.07; }
  94% { opacity: 0.18; }
}

/* Locked lyric view */
@keyframes locked-glitch-main {
  0%, 91%, 100% { transform: none; }
  92% { transform: translateX(-4px) skewX(-6deg); }
  93% { transform: translateX(4px) skewX(4deg); }
  94% { transform: none; }
  96% { transform: translateX(-2px); }
  97% { transform: none; }
}
@keyframes redact-bar-flicker {
  0%, 80%, 100% { opacity: 0.12; }
  82% { opacity: 0.28; background: var(--cyan); }
  84% { opacity: 0.06; }
  86% { opacity: 0.22; background: var(--silver); }
  88% { opacity: 0.12; }
}
.locked-lyric-view {
  padding: 3rem 0;
}
.locked-lyric-view .locked-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 2rem; display: block;
}
.locked-bars { display: flex; flex-direction: column; gap: 0.6rem; max-width: 560px; }
.locked-bar {
  height: 1em; background: var(--silver-bright); opacity: 0.12; border-radius: 1px;
  animation: redact-bar-flicker 7s infinite;
  animation-delay: var(--d, 0s);
}
.locked-glitch-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem; letter-spacing: 0.05em;
  color: var(--silver-bright); margin-bottom: 2rem;
  animation: locked-glitch-main 8s infinite;
  display: inline-block;
  position: relative;
}
.locked-glitch-title::before {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  color: var(--cyan); clip-path: inset(30% 0 50% 0);
  animation: locked-glitch-main 8s infinite 0.05s;
  opacity: 0.7;
}
.locked-glitch-title::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0;
  color: var(--gold); clip-path: inset(65% 0 10% 0);
  animation: locked-glitch-main 8s infinite 0.1s;
  opacity: 0.7;
}

/* Award badges on lyric detail */
.award-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.4);
  padding: 0.25rem 0.7rem; background: rgba(201,168,76,0.07);
}
.award-badge::before { content: '⬡'; font-size: 0.7rem; }

/* Lyric detail page */
.lyric-detail {
  max-width: 780px;
}
.lyric-stanza { margin-bottom: 2.5rem; }
.lyric-line-wrap {
  display: flex; align-items: baseline;
  gap: 1.5rem;
  padding: 0.35rem 0;
  position: relative;
}
.lyric-line-wrap:hover .lyric-annotation { opacity: 1; max-height: 200px; }
.lyric-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem; font-weight: 400;
  color: var(--silver-bright); line-height: 1.5;
  flex: 1;
  cursor: default;
}
.lyric-text.has-note { color: var(--gold); cursor: help; }
.lyric-annotation {
  font-size: 0.8rem; line-height: 1.6;
  color: var(--text-dim);
  border-left: 2px solid var(--cyan);
  padding-left: 0.8rem;
  max-width: 260px;
  opacity: 0; max-height: 0; overflow: hidden;
  transition: opacity 0.3s, max-height 0.3s;
  font-style: italic;
}
.lyric-section-label { display: none; }

/* === 22. BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.blog-post-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem; margin-bottom: 2.5rem;
}
.blog-post-card:last-child { border-bottom: none; margin-bottom: 0; }
.blog-post-card.bp-featured { border-bottom-color: var(--gold); }
.bp-featured-badge { position: absolute; top: 0; right: 0; font-family: 'JetBrains Mono', monospace; font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); background: rgba(8,10,12,0.75); backdrop-filter: blur(4px); padding: 0.2rem 0.6rem; }
.bp-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); display: block; margin-bottom: 0.4rem;
}
.bp-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; letter-spacing: 0.02em;
  color: var(--silver-bright); margin-bottom: 0.8rem;
  text-decoration: none; display: block;
  transition: color 0.2s;
}
.bp-title:hover { color: var(--cyan); }
.bp-excerpt {
  font-size: 0.92rem; line-height: 1.8; color: var(--text);
  margin-bottom: 1rem;
}
.bp-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Comment section */
.comment-section { margin-top: 4rem; border-top: 1px solid var(--border); padding-top: 3rem; }
.comment {
  padding: 1.2rem;
  background: var(--bg3); border: 1px solid var(--border);
  margin-bottom: 2px;
}
.comment-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 0.5rem;
}
.comment-meta span { color: var(--cyan); }
.comment-body { font-size: 0.88rem; line-height: 1.75; color: var(--text); }
.comment-form { margin-top: 2rem; }
.form-field { margin-bottom: 1rem; }
.form-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); display: block; margin-bottom: 0.4rem;
}
.form-input, .form-textarea {
  width: 100%; background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text); font-family: 'Outfit', sans-serif;
  font-size: 0.9rem; padding: 0.8rem 1rem;
  outline: none; transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus,
.form-input:focus-visible, .form-textarea:focus-visible { border-color: rgba(0,229,255,0.4); }
.form-textarea { resize: vertical; min-height: 120px; }

/* === 23. PRESS === */
.press-list { margin-top: 3rem; display: flex; flex-direction: column; gap: 2px; }
.press-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 1.5rem;
  background: var(--bg3); border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
}
.press-item::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold);
  transform: scaleY(0); transition: transform 0.25s;
  transform-origin: bottom;
}
.press-item:hover { background: var(--bg); border-color: rgba(201,168,76,0.2); }
.press-item:hover::before { transform: scaleY(1); }
.press-outlet {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 0.04em;
  color: var(--silver-bright);
}
.press-headline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem; line-height: 1.4;
  color: var(--text);
}
.press-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); white-space: nowrap;
}

/* === 24. COMMUNITY === */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
  margin-top: 3rem;
}
.community-card {
  background: var(--bg3); border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: border-color 0.2s;
}
.community-card:hover { border-color: rgba(0,229,255,0.15); }
.cc-banner {
  width: 100%; height: 110px;
  background-size: cover; background-position: center;
  flex-shrink: 0;
}
.cc-banner-empty { opacity: 0.4; }
.cc-profile-row {
  padding: 0 1.5rem;
  margin-top: -36px;
  margin-bottom: 0.75rem;
}
.cc-avatar {
  width: 72px; height: 72px;
  border: 2px solid var(--border);
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; color: var(--cyan);
  flex-shrink: 0;
}
.cc-avatar-img {
  width: 72px; height: 72px;
  border: 2px solid var(--border);
  object-fit: cover; display: block;
}
.cc-body { padding: 0 1.5rem 1.5rem; }
.cc-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; letter-spacing: 0.03em;
  color: var(--silver-bright); margin-bottom: 0.3rem;
}
.cc-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.12em;
  color: var(--cyan); margin-bottom: 0.8rem; display: block;
}
.cc-bio { font-size: 0.85rem; line-height: 1.7; color: var(--text-dim); margin: 0; }
.cc-bio-wrap { position: relative; margin-bottom: 1.2rem; }
.cc-bio-wrap.clamped { max-height: 4.25rem; overflow: hidden; }
.cc-bio-wrap.clamped::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2rem; background: linear-gradient(transparent, var(--bg3)); pointer-events: none; }
.cc-bio-expand { display: none; background: none; border: none; padding: 0; font-family: 'JetBrains Mono', monospace; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; margin-bottom: 1.2rem; }
.cc-bio-expand.visible { display: inline-block; }
.cc-bio-expand:hover { opacity: 0.75; }
.cc-featured { border-color: rgba(201,168,76,0.25); }
.cc-type-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid; padding: 0.15rem 0.5rem;
  display: inline-block; margin-bottom: 0.75rem;
}
.cc-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.cc-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid; padding: 0.15rem 0.5rem;
}
.cc-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.cc-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; opacity: 0.8; transition: opacity 0.15s;
}
.cc-link:hover { opacity: 1; }
.cc-collab-badge {
  position: absolute; top: 0.75rem; right: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid var(--gold); color: var(--gold) !important;
  background: rgba(8,10,12,0.75); backdrop-filter: blur(4px);
  padding: 0.2rem 0.6rem; text-decoration: none;
  opacity: 0.9; transition: opacity 0.15s; z-index: 2;
}
.cc-collab-badge:hover { opacity: 1; }

/* === 25. DECODE / FREQUENCY === */
.terminal-block {
  background: var(--bg3); border: 1px solid var(--border);
  border-top: 2px solid var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  padding: 1.5rem;
}
.terminal-header {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}
.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }
.terminal-title {
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim); margin-left: 0.5rem;
}
.terminal-line {
  font-size: 0.72rem; letter-spacing: 0.05em;
  padding: 0.15rem 0;
  color: var(--text-dim);
}
.terminal-line .prompt { color: var(--cyan); margin-right: 0.5rem; }
.terminal-line .val { color: var(--silver-bright); }
.terminal-line .label { color: var(--gold); }
.terminal-line .dim { color: var(--text-dim); opacity: 0.5; }

.freq-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2px;
  margin-bottom: 2px;
}
.freq-stat {
  background: var(--bg3); border: 1px solid var(--border);
  padding: 1.5rem;
  position: relative; overflow: hidden;
}
.freq-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; letter-spacing: 0.03em;
  line-height: 0.9; margin-bottom: 0.4rem;
}
.freq-stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-dim);
}
.freq-stat-ghost {
  position: absolute; right: -0.5rem; bottom: -1rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem; opacity: 0.04;
  color: var(--silver); pointer-events: none;
}

/* === 26. ARTWORK === */
.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
  margin-top: 3rem;
}
.artwork-item {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: var(--bg3);
  cursor: pointer;
}
.artwork-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s;
  filter: saturate(0.8) brightness(0.85);
}
.artwork-item:hover img { transform: scale(1.05); filter: saturate(1) brightness(0.95); }
.artwork-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,10,12,0.9) 0%, transparent 50%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  opacity: 0; transition: opacity 0.3s;
}
.artwork-item:hover .artwork-overlay { opacity: 1; }
.ao-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; color: var(--silver-bright);
}
.ao-actions { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.ao-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(0,229,255,0.4);
  color: var(--cyan); cursor: pointer;
  background: transparent; transition: background 0.2s;
}
.ao-btn:hover { background: rgba(0,229,255,0.1); }

/* Wallpaper mode */
.wallpaper-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 800;
  background: #000;
  padding-bottom: 62px;
}
body.wallpaper-open #audio-player { z-index: 900; }
.wallpaper-overlay.active { display: block; }
/* Full-screen landscape image layers with crossfade */
.wallpaper-artwork {
  position: absolute; inset: 0; bottom: 62px;
}
.wp-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 4s ease;
}
.wp-layer.square { object-fit: contain; background: #000; }
.wp-layer.visible { opacity: 1; }
/* Dark vignette so controls are readable */
.wallpaper-overlay::after {
  content: ''; position: absolute; inset: 0; bottom: 62px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.6) 100%);
  pointer-events: none; z-index: 1;
}
.wallpaper-controls {
  position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 1rem; align-items: center; z-index: 2;
}
.wallpaper-info {
  position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); z-index: 2; white-space: nowrap;
}
.wallpaper-close {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); background: none; border: none; cursor: pointer;
  transition: color 0.2s;
}
.wallpaper-close:hover { color: #fff; }
.wallpaper-close:focus-visible { outline: 2px solid rgba(255,255,255,0.6); outline-offset: 4px; }

/* === 27. ADMIN === */
.admin-body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  padding: 2rem;
}
.admin-container { max-width: 1100px; margin: 0 auto; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.admin-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; letter-spacing: 0.04em;
  color: var(--silver-bright);
}
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
.admin-sidebar {
  background: var(--bg3); border: 1px solid var(--border);
  border-top: 2px solid var(--cyan);
  padding: 1rem;
}
.admin-track-list { display: flex; flex-direction: column; gap: 2px; }
.admin-track-item {
  padding: 0.8rem 1rem;
  background: var(--bg2); border: 1px solid var(--border);
  cursor: pointer; transition: all 0.15s;
  display: flex; justify-content: space-between; align-items: center;
}
.admin-track-item:hover { border-color: rgba(0,229,255,0.2); }
.admin-track-item.active { border-color: var(--cyan); background: rgba(0,229,255,0.05); }
.admin-track-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--silver);
}
.admin-track-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
}
.admin-track-status.done { color: var(--cyan); }
.admin-main {
  background: var(--bg3); border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  padding: 1.5rem;
}
.admin-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
}
.admin-action-row {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.admin-export-area {
  margin-top: 1.5rem;
  background: var(--bg); border: 1px solid var(--border);
  padding: 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem; color: var(--cyan);
  white-space: pre;
  overflow-x: auto;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

/* === 28. PERSISTENT AUDIO PLAYER === */
#audio-player {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 600;
  height: 62px;
  background: rgba(13,16,20,0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,229,255,0.2);
  display: flex; align-items: center;
  padding: 0 1.5rem;
  padding-bottom: env(safe-area-inset-bottom);
  gap: 1.5rem;
}
.player-left {
  display: flex; align-items: center; gap: 1rem;
  flex: 1; min-width: 0;
}
.player-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cyan); white-space: nowrap;
}
.player-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem; letter-spacing: 0.05em;
  color: var(--silver-bright);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player-controls { display: flex; align-items: center; gap: 0.8rem; }
.player-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-dim); font-size: 1rem;
  transition: color 0.2s; padding: 0.3rem;
  font-family: 'JetBrains Mono', monospace;
}
.player-btn:hover { color: var(--silver); }
.player-btn.play-btn { color: var(--cyan); font-size: 1.2rem; }
.player-right { display: flex; align-items: center; gap: 1rem; }
.player-mode {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim);
  display: flex; gap: 0.5rem;
}
.mode-btn {
  background: none; border: 1px solid var(--border);
  padding: 0.2rem 0.6rem; cursor: pointer;
  color: var(--text-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem; letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.2s;
}
#mode-shuffle.active { border-color: var(--gold); color: var(--gold); }
#mode-radio.active { border-color: var(--cyan); color: var(--cyan); }
.mode-btn:hover { color: var(--silver); border-color: rgba(192,192,200,0.3); }
.player-art {
  width: 38px; height: 38px;
  object-fit: cover;
  border: 1px solid var(--border);
  display: none;
  flex-shrink: 0;
}

/* === 29. VOLUME SLIDER === */
.player-volume {
  display: flex; align-items: center; gap: 0.45rem;
}
.player-vol-icon {
  font-size: 0.8rem; color: var(--text-dim); cursor: pointer;
  background: none; border: none; padding: 0; line-height: 1;
  transition: color 0.15s;
}
.player-vol-icon:hover { color: var(--silver); }
.player-vol-slider {
  -webkit-appearance: none; appearance: none;
  width: 70px; height: 3px;
  background: var(--border); border-radius: 2px; outline: none;
  cursor: pointer;
}
.player-vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--silver); cursor: pointer;
  transition: background 0.15s;
}
.player-vol-slider::-webkit-slider-thumb:hover { background: var(--silver-bright); }
.player-vol-slider::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--silver); border: none; cursor: pointer;
}
.player-vol-slider::-moz-range-track {
  height: 3px; background: var(--border); border-radius: 2px; border: none;
}
@media (max-width: 600px) { .player-volume { display: none; } }

/* === 30. FOOTER === */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 0.1em; color: var(--silver);
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none;
}
.footer-logo .fd { width: 2px; height: 1rem; background: var(--cyan); display: inline-block; }
.footer-logo .fa { color: var(--gold); }
.footer-nav {
  display: flex; gap: 1.5rem; list-style: none;
}
.footer-nav a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-dim); text-decoration: none; transition: color 0.2s;
}
.footer-nav a:hover { color: var(--silver); }
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem; letter-spacing: 0.15em; color: var(--text-dim);
}

/* === 31. SCROLL REVEAL === */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* === 32. ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.cursor { display: inline-block; animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); filter: hue-rotate(90deg); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, -2px); }
  100% { transform: translate(0); filter: none; }
}
@keyframes pulse-cyan {
  0%, 100% { box-shadow: 0 0 4px var(--cyan); }
  50% { box-shadow: 0 0 16px var(--cyan), 0 0 32px rgba(0,229,255,0.3); }
}
@keyframes scan {
  0% { top: -100%; }
  100% { top: 200%; }
}

/* === 33. RESPONSIVE === */
@media (max-width: 960px) {
  section { padding: 4rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .split-layout { grid-template-columns: 1fr; }
  .cyan-divider { display: none; }
  .press-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 3rem 1rem; }
  nav { padding: 0.8rem 1rem; }
  .page-hero { padding: 7rem 1rem 3rem; }
  .player-controls .player-btn:first-child { display: none; }
  .player-label { display: none; }
  #audio-player { padding: 0 1rem; padding-bottom: max(env(safe-area-inset-bottom), 0px); }
}

/* === 34. FOCUS STATES === */
.btn:focus-visible,
.btn-gold:focus-visible,
.btn-outline:focus-visible,
.btn-cyan:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.nav-more-btn:focus-visible,
.nav-hamburger:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.nav-cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.nav-links a:focus-visible,
.nav-dropdown a:focus-visible,
.nav-mobile-menu a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.player-btn:focus-visible,
.mode-btn:focus-visible,

.filter-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid rgba(0,229,255,0.5);
  outline-offset: 0;
}
/* Remove default outline since we supply our own via :focus-visible */
.btn, .nav-more-btn, .nav-hamburger, .player-btn, .mode-btn, .filter-btn {
  outline: none;
}
.btn:focus:not(:focus-visible),
.nav-more-btn:focus:not(:focus-visible),
.nav-hamburger:focus:not(:focus-visible),
.player-btn:focus:not(:focus-visible),
.mode-btn:focus:not(:focus-visible) {
  outline: none;
}

/* === 35. SILKTIDE OVERRIDES === */
#stcm-wrapper {
  --primaryColor:          #c9a84c;
  --backgroundColor:       #080a0c;
  --textColor:             #c0c0c8;
  --fontFamily:            'JetBrains Mono', monospace;
  --iconColor:             #080a0c;
  --iconBackgroundColor:   #00e5ff;
  --boxShadow:             0 0 0 1px rgba(0,229,255,0.2), 0 8px 40px rgba(0,0,0,0.6);
}
#stcm-wrapper .stcm-button-primary {
  background: #c9a84c;
  color: #080a0c;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
}
#stcm-wrapper .stcm-button-secondary {
  background: transparent;
  color: #c0c0c8;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(192,192,200,0.2);
}
#stcm-wrapper .stcm-button-secondary:hover { border-color: #00e5ff; color: #00e5ff; }
#stcm-wrapper .stcm-banner,
#stcm-wrapper #stcm-modal { border-top: 2px solid #00e5ff; }
/* Hide floating icon -- linked from Privacy Policy instead */
#stcm-icon { display: none !important; }

/* === 36. COMMENT SYSTEM === */
.cs-wrap { padding: 4rem 0 2rem; }
.cs-header {
  display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 2rem;
  padding-bottom: 0.8rem; border-bottom: 1px solid var(--border);
}
.cs-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-dim);
}
.cs-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.12em;
  color: var(--cyan);
}

/* Individual comment */
.cs-comment {
  display: flex; gap: 0.9rem; padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
}
.cs-comment:last-child { border-bottom: none; }
.cs-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  flex-shrink: 0; display: block; object-fit: cover;
}
.cs-avatar-init {
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  color: var(--cyan);
}
.cs-avatar-sm { width: 28px; height: 28px; font-size: 0.85rem; }
.cs-comment-inner { flex: 1; min-width: 0; }
.cs-comment-meta {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.35rem; flex-wrap: wrap;
}
.cs-name {
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.82rem; color: var(--silver-bright);
}
.cs-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.1em; color: var(--text-dim);
}
.cs-body {
  font-size: 0.88rem; line-height: 1.7; color: var(--text);
  white-space: pre-wrap; word-break: break-word; margin: 0;
}
.cs-delete-own {
  margin-left: auto; background: none; border: none;
  color: var(--text-dim); cursor: pointer; font-size: 0.6rem;
  padding: 0.1rem 0.3rem; transition: color 0.15s;
}
.cs-delete-own:hover { color: var(--red); }

/* Form area */
.cs-divider {
  height: 1px; background: var(--border); margin: 2rem 0;
}
.cs-loading, .cs-empty, .cs-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.15em; color: var(--text-dim);
  padding: 0.5rem 0;
}

/* Consent gate */
.cs-consent-gate { padding: 1.2rem 1.5rem; background: var(--bg3); border: 1px solid var(--border); border-left: 3px solid var(--gold); }
.cs-consent-text {
  font-size: 0.82rem; line-height: 1.75; color: var(--text);
  margin: 0 0 1rem;
}
.cs-consent-label {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-dim); line-height: 1.5;
  margin-bottom: 1.2rem; cursor: pointer;
}
.cs-consent-label a { color: var(--cyan); text-decoration: none; }
.cs-consent-label a:hover { text-decoration: underline; }
.cs-consent-label input { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--cyan); }

/* Google sign-in button */
.cs-signin-wrap { padding: 0.5rem 0; }
.cs-signin-btn {
  display: inline-flex; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--silver-bright); padding: 0.6rem 1.2rem;
  font-family: 'Outfit', sans-serif; font-size: 0.82rem; font-weight: 500;
  cursor: pointer; transition: border-color 0.18s, color 0.18s;
  text-decoration: none;
}
.cs-signin-btn:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.cs-signin-btn--disabled, .cs-signin-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Signed-in state */
.cs-user-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.2rem; flex-wrap: wrap; gap: 0.5rem;
}
.cs-user-info { display: flex; align-items: center; gap: 0.6rem; }
.cs-user-name { font-size: 0.85rem; color: var(--silver-bright); font-weight: 500; }
.cs-signout-btn {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); font-family: 'JetBrains Mono', monospace;
  font-size: 0.48rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; cursor: pointer; transition: all 0.15s;
}
.cs-signout-btn:hover { border-color: var(--text-dim); color: var(--text); }

/* Comment form */
.cs-textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: 0.75rem 1rem; resize: vertical;
  font-family: 'Outfit', sans-serif; font-size: 0.88rem; line-height: 1.6;
  box-sizing: border-box; min-height: 100px; outline: none;
  transition: border-color 0.2s;
}
.cs-textarea:focus { border-color: rgba(62,207,207,0.4); }
.cs-textarea::placeholder { color: var(--text-dim); }
.cs-form-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.75rem; flex-wrap: wrap; gap: 0.5rem;
}
.cs-submit {
  background: var(--cyan); color: var(--bg); border: none;
  font-family: 'JetBrains Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.55rem 1.4rem; cursor: pointer; transition: opacity 0.18s;
}
.cs-submit:hover:not(:disabled) { opacity: 0.85; }
.cs-submit:disabled { opacity: 0.4; cursor: not-allowed; }
.cs-delete-account {
  background: none; border: none; color: var(--text-dim);
  font-family: 'JetBrains Mono', monospace; font-size: 0.46rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: color 0.15s; padding: 0;
}
.cs-delete-account:hover { color: var(--red); }

/* Owner comment highlight */
.cs-comment--owner {
  background: rgba(201, 168, 76, 0.07);
  border-left: 2px solid var(--gold);
  padding-left: 0.7rem;
  border-radius: 0 4px 4px 0;
}
.cs-comment--owner .cs-name::after {
  content: ' ✦';
  color: var(--gold);
  font-size: 0.65em;
}

/* Threaded comments */
.cs-comment-row { display: flex; gap: 0.7rem; }
.cs-replies { margin-top: 0.5rem; padding-left: 0; }
.cs-depth-0 { border-bottom: 1px solid var(--border); padding-bottom: 1rem; margin-bottom: 1rem; }
.cs-depth-0:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.cs-depth-1 {
  margin-top: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--bg3);
  border-radius: 6px;
  border-left: 2px solid var(--border);
}
.cs-actions { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; }
.cs-action-btn {
  background: none; border: none;
  font-family: 'JetBrains Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); cursor: pointer; padding: 0;
  transition: color 0.15s;
}
.cs-action-btn:hover { color: var(--cyan); }
.cs-reply-btn { color: var(--text-dim); }
.cs-reply-btn:hover { color: var(--cyan); }

.cs-inline-reply { margin-top: 0.6rem; }
.cs-inline-reply-inner {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; padding: 0.75rem;
}
.cs-reply-who {
  font-family: 'JetBrains Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.5rem;
}
.cs-reply-actions { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; }
.cs-submit-sm {
  background: var(--cyan); color: #000; border: none;
  font-family: 'JetBrains Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 4px;
  cursor: pointer; font-weight: 700; transition: opacity 0.15s;
}
.cs-submit-sm:hover:not(:disabled) { opacity: 0.85; }
.cs-submit-sm:disabled { opacity: 0.4; cursor: not-allowed; }
.cs-cancel-reply {
  background: none; border: none;
  font-family: 'JetBrains Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim); cursor: pointer; padding: 0;
  transition: color 0.15s;
}
.cs-cancel-reply:hover { color: var(--text); }

.cs-name-deleted { color: var(--text-dim); font-style: italic; }
.cs-avatar-deleted {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--text-dim); flex-shrink: 0;
}

@media (max-width: 600px) {
  .cs-form-footer { flex-direction: column; align-items: flex-start; }
  .cs-submit { width: 100%; }
  .cs-depth-1 { padding: 0.6rem 0.7rem; }
  .cs-gif-grid { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); max-height: 200px; }
}

/* === 37. SUBSCRIBE GATE === */
.sub-gate-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,10,12,0.85);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
}
.sub-gate-overlay.sub-gate-visible { opacity: 1; }
.sub-gate-card {
  background: var(--bg2); border: 1px solid var(--border);
  padding: 2.5rem 2.2rem; max-width: 400px; width: 90vw;
  text-align: center; position: relative;
}
.sub-gate-close {
  position: absolute; top: 0.8rem; right: 1rem;
  background: none; border: none; color: var(--text-dim);
  font-size: 1.4rem; cursor: pointer; line-height: 1;
  transition: color 0.15s;
}
.sub-gate-close:hover { color: var(--text); }
.sub-gate-icon {
  width: 56px; height: 56px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: rgba(255,0,0,0.1);
  border: 2px solid rgba(255,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #FF0000;
}
.sub-gate-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; letter-spacing: 0.04em;
  color: var(--silver-bright); margin-bottom: 0.6rem;
}
.sub-gate-desc {
  font-size: 0.82rem; line-height: 1.75; color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.sub-gate-yt-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.7rem 1.6rem; width: 100%; box-sizing: border-box;
  background: #fff; color: #000; text-decoration: none;
  font-family: 'Outfit', sans-serif; font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.02em;
  border: none; cursor: pointer;
  transition: background 0.15s;
  margin-bottom: 1rem;
}
.sub-gate-yt-btn:hover { background: #eee; }
.sub-gate-confirm {
  display: block; width: 100%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 0.65rem 1.2rem;
  background: transparent; border: 1px solid var(--cyan);
  color: var(--cyan); cursor: pointer;
  transition: all 0.18s;
}
.sub-gate-confirm:hover { background: rgba(62,207,207,0.08); }
.sub-gate-google-btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  padding: 0.65rem 1.2rem; margin-bottom: 1rem;
  background: #fff; color: #000; border: none;
  font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em;
  cursor: pointer; transition: background 0.15s;
}
.sub-gate-google-btn:hover { background: #f0f0f0; }
.sub-gate-google-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.sub-gate-privacy {
  font-size: 0.68rem; line-height: 1.7; color: var(--text-dim); margin-top: 0.5rem;
}
.sub-gate-privacy-link { color: var(--cyan); text-decoration: none; }
.sub-gate-privacy-link:hover { text-decoration: underline; }

/* === 38. NEWSLETTER === */
/* Base: flex column, works in any context */
.newsletter-form { display: flex; flex-direction: column; gap: 0.4rem; }

/* Inline success/error feedback (used in all contexts) */
.nl-msg {
  font-family: 'JetBrains Mono', monospace; font-size: 0.52rem;
  color: var(--text-dim); margin: 0;
}
.nl-success {
  font-family: 'JetBrains Mono', monospace; font-size: 0.52rem;
  color: var(--cyan); margin: 0;
}
/* Gate newsletter opt-in checkbox */
.sg-nl-label {
  display: flex; gap: 0.5rem; align-items: center; cursor: pointer;
  margin: 0.8rem 0 0;
}
.sg-nl-label input[type="checkbox"] { accent-color: var(--cyan); flex-shrink: 0; }
.sg-nl-label span { font-size: 0.78rem; color: var(--text-dim); line-height: 1.5; }

/* SSO first-login newsletter modal */
.nl-sso-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(8,10,12,0.85);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s; pointer-events: none;
}
.nl-sso-overlay.nl-sso-visible { opacity: 1; pointer-events: all; }
.nl-sso-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-top: 2px solid var(--cyan); padding: 2rem;
  max-width: 400px; width: 90%; position: relative;
}
.nl-sso-close {
  position: absolute; top: 0.75rem; right: 1rem;
  background: none; border: none; color: var(--text-dim);
  font-size: 1.2rem; cursor: pointer; padding: 0; line-height: 1;
}
.nl-sso-close:hover { color: var(--text); }
.nl-sso-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem; letter-spacing: 0.05em;
  color: var(--silver-bright); margin: 0 0 0.5rem;
}
.nl-sso-desc {
  font-size: 0.82rem; color: var(--text-dim);
  line-height: 1.7; margin: 0 0 1.2rem;
}
.nl-sso-email {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  color: var(--text-dim); margin-bottom: 0.8rem; display: block;
}
.nl-sso-opts { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.2rem; }
.nl-sso-opt {
  display: flex; gap: 0.5rem; align-items: flex-start; cursor: pointer;
}
.nl-sso-opt input[type="checkbox"] {
  accent-color: var(--cyan); flex-shrink: 0; margin-top: 0.15rem;
}
.nl-sso-opt span {
  font-size: 0.82rem; color: var(--text); line-height: 1.5;
}
.nl-sso-opt span small { display: block; font-size: 0.68rem; color: var(--text-dim); }
.nl-sso-actions { display: flex; gap: 0.7rem; }
.nl-sso-save {
  background: var(--cyan); color: var(--bg); border: none;
  padding: 0.6rem 1.2rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: opacity 0.2s; flex: 1;
}
.nl-sso-save:hover { opacity: 0.85; }
.nl-sso-save:disabled { opacity: 0.45; cursor: not-allowed; }
.nl-sso-skip {
  background: none; border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.6rem 1rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.nl-sso-skip:hover { border-color: var(--text-dim); color: var(--text); }

/* ── HERO VIDEO OVERLAY ── */
#hero-video-overlay {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; opacity: 0;
  transition: opacity 0.25s ease;
}
#hero-video-overlay.open { pointer-events: all; opacity: 1; }
#hero-video-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,5,10,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#hero-video-box {
  position: relative; z-index: 1;
  width: min(92vw, 960px);
  aspect-ratio: 16/9;
  border: 1px solid var(--cyan);
  box-shadow: 0 0 0 1px rgba(0,229,255,0.12), 0 0 80px rgba(0,229,255,0.1), 0 40px 100px rgba(0,0,0,0.95);
  transform: scale(0.88) translateY(44px);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), opacity 0.4s ease;
  background: #000;
  overflow: hidden;
}
#hero-video-overlay.open #hero-video-box { transform: scale(1) translateY(0); opacity: 1; }
#hero-video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes heroScan {
  0%   { top: -3px; opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
#hero-video-box::before {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; z-index: 3;
  background: linear-gradient(90deg, transparent 0%, var(--cyan) 30%, rgba(255,255,255,0.9) 50%, var(--cyan) 70%, transparent 100%);
  top: -3px; opacity: 0; pointer-events: none;
}
#hero-video-overlay.open #hero-video-box::before { animation: heroScan 0.9s ease-in 0.2s forwards; }
#hero-video-close {
  position: absolute; top: -2.2rem; right: 0; z-index: 4;
  background: none; border: none; cursor: pointer;
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.18em; color: var(--text-dim); padding: 0.3rem 0;
  transition: color 0.2s;
}
#hero-video-close:hover { color: var(--cyan); }

/* === 39. BLOG POST META + LEDE === */
.post-meta-row {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.post-meta-row a { color: var(--text); text-decoration: none; transition: color 0.18s; }
.post-meta-row a:hover { color: var(--cyan); }
.post-meta-row .post-meta-author a { color: var(--text); }
.post-meta-sep { color: var(--text-dim); opacity: 0.55; }
.post-meta-bmc .bmc-btn { font-size: 0.5rem; padding: 0.2rem 0.6rem; }

.post-lede {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem; line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 2rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--cyan);
}

@media (max-width: 600px) {
  .post-meta-row { gap: 0.55rem; font-size: 0.55rem; }
  .post-lede { font-size: 1rem; }
}

/* === 39. TOAST + CONFIRM (AY.toast, AY.confirm) === */
#ay-toast-container {
  position: fixed; right: 1.25rem; bottom: 88px; z-index: 10001;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none; max-width: min(420px, calc(100vw - 2.5rem));
}
.ay-toast {
  background: var(--bg3); color: var(--silver-bright);
  border: 1px solid var(--border); border-left: 3px solid var(--cyan);
  padding: 0.75rem 1rem; font-family: 'Outfit', sans-serif; font-size: 0.85rem;
  line-height: 1.4; box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  opacity: 0; transform: translateX(20px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: auto;
}
.ay-toast-visible { opacity: 1; transform: none; }
.ay-toast-success { border-left-color: var(--gold); }
.ay-toast-error   { border-left-color: #e05555; }
@media (max-width: 600px) {
  #ay-toast-container { right: 0.75rem; left: 0.75rem; bottom: 80px; max-width: none; }
}

.ay-confirm-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(8,10,12,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; transition: opacity 0.18s ease;
  backdrop-filter: blur(2px);
}
.ay-confirm-visible { opacity: 1; }
.ay-confirm-box {
  background: var(--bg2); border: 1px solid var(--border);
  max-width: 420px; width: 100%; padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.ay-confirm-message {
  font-family: 'Outfit', sans-serif; font-size: 0.95rem;
  color: var(--silver-bright); line-height: 1.55; margin: 0 0 1.25rem;
}
.ay-confirm-actions {
  display: flex; gap: 0.6rem; justify-content: flex-end; flex-wrap: wrap;
}
.ay-confirm-cancel, .ay-confirm-ok {
  font-family: 'JetBrains Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border: 1px solid var(--border);
  background: transparent; cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.ay-confirm-cancel { color: var(--text-dim); }
.ay-confirm-cancel:hover { color: var(--silver); border-color: var(--silver); }
.ay-confirm-ok { color: var(--cyan); border-color: var(--cyan); }
.ay-confirm-ok:hover { background: var(--cyan); color: var(--bg); }
.ay-confirm-cancel:focus-visible, .ay-confirm-ok:focus-visible {
  outline: 2px solid var(--cyan); outline-offset: 2px;
}

/* === 40. ACCOUNT CHIP (replaces Stream Now CTA on sign-in) === */
.nav-account {
  position: relative; display: flex; align-items: center;
}
.nav-account-btn {
  display: flex; align-items: center; gap: 0.5rem;
  background: transparent; border: 1px solid var(--border);
  color: var(--silver-bright); padding: 0.3rem 0.7rem 0.3rem 0.4rem;
  font-family: 'JetBrains Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: border-color 0.15s, color 0.15s;
  line-height: 1;
}
.nav-account-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-account-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.nav-account-avatar {
  width: 24px; height: 24px; border-radius: 50%;
  object-fit: cover; display: inline-flex;
  align-items: center; justify-content: center;
  border: 1px solid var(--border); flex-shrink: 0;
}
.nav-account-avatar-init {
  background: var(--cyan); color: var(--bg);
  font-family: 'Bebas Neue', sans-serif; font-size: 0.85rem;
  border-color: var(--cyan);
}
.nav-account-name { color: inherit; letter-spacing: 0.1em; }
.nav-account-chevron {
  color: var(--text-dim); font-size: 0.55rem; transition: transform 0.15s;
}
.nav-account-btn[aria-expanded="true"] .nav-account-chevron { transform: rotate(180deg); }

.nav-account-menu {
  position: absolute; top: calc(100% + 0.5rem); right: 0;
  background: var(--bg2); border: 1px solid var(--border);
  min-width: 240px; box-shadow: 0 8px 24px rgba(0,0,0,0.55);
  z-index: 500; padding: 0.4rem 0;
}
.nav-account-menu[hidden] { display: none; }
.nav-account-header {
  padding: 0.7rem 0.95rem; border-bottom: 1px solid var(--border); margin-bottom: 0.35rem;
}
.nav-account-name-full {
  font-family: 'Outfit', sans-serif; font-size: 0.88rem;
  color: var(--silver-bright); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-account-email {
  font-family: 'JetBrains Mono', monospace; font-size: 0.55rem;
  color: var(--text-dim); margin-top: 0.25rem; letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nav-account-item {
  display: flex; align-items: center; gap: 0.55rem; width: 100%;
  padding: 0.55rem 0.95rem; background: transparent; border: none;
  text-align: left; cursor: pointer; text-decoration: none;
  font-family: 'JetBrains Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); transition: background 0.12s, color 0.12s;
}
.nav-account-item:hover { background: var(--bg3); color: var(--silver-bright); }
.nav-account-item:focus-visible { outline: 2px solid var(--cyan); outline-offset: -2px; }
.nai-icon { color: var(--cyan); flex-shrink: 0; width: 14px; text-align: center; }
.nai-arrow { margin-left: auto; color: var(--text-dim); font-size: 0.55rem; }
.nav-account-item-admin { color: var(--gold); }
.nav-account-item-admin:hover { color: var(--gold-bright); }
.nav-account-item-admin .nai-icon { color: var(--gold); }
.nav-account-divider {
  height: 1px; background: var(--border); margin: 0.4rem 0;
}
.nav-account-item-destructive { color: #e05555; opacity: 0.85; }
.nav-account-item-destructive:hover {
  color: #e05555; background: rgba(224,85,85,0.08); opacity: 1;
}

@media (max-width: 768px) {
  .nav-account-name { display: none; }
  .nav-account-chevron { display: none; }
  .nav-account-btn { padding: 0.3rem; }
  .nav-account-menu { right: 0; min-width: 220px; }
}

/* === 39. RELATED BLOCK (SSR linked_content) ===
   Rendered by functions/_shared/linked-content.js on blog / lyric / project
   slug pages. Three layout variants: horizontal-scroll (blog), list (lyric
   sidebar), grid (project). Always optional — when SSR has nothing to render,
   the placeholder div stays empty and this CSS produces zero visible weight.
   That's why the band styling (bg + padding) lives on the layout-variant
   classes that only exist when the helper renders content. */
.related-block {
  display: block;
  /* Override the global `section { padding: 6rem 2.5rem; }` rule —
     related-block is a sub-section, not a full-bleed page section.
     Variant classes below add their own padding where needed. */
  padding: 0;
}
.related-block-heading {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 1rem;
  font-weight: 400;
}
.related-block-heading::before { content: '// '; }

.related-card {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  background: var(--bg3);
  border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.related-card:hover {
  border-color: var(--cyan);
  background: var(--bg2);
}
.related-card-cover {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--bg2);
  overflow: hidden;
  position: relative;
}
.related-card-cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.related-card-cover-empty {
  background: linear-gradient(135deg, var(--bg3) 0%, var(--bg2) 100%);
}
.related-card-cover-empty::after {
  content: '♪';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 1.3rem; opacity: 0.4;
}
.related-card-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0.5rem 0.75rem 0.5rem 0;
}
.related-card-type {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}
.related-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 0.02em;
  color: var(--silver-bright);
  line-height: 1.15;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-subtitle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem; letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 0.2rem;
}
/* Per-type accent (left border) */
.related-card-track   { border-left: 2px solid var(--cyan); }
.related-card-blog    { border-left: 2px solid var(--gold); }
.related-card-project { border-left: 2px solid var(--silver); }
.related-card-track   .related-card-type { color: var(--cyan); }
.related-card-blog    .related-card-type { color: var(--gold); }
.related-card-project .related-card-type { color: var(--silver); }

/* Layout: horizontal-scroll — used on blog/post pages. Full-bleed band. */
.related-block-horizontal-scroll {
  background: var(--bg2);
  padding: 1.75rem 2.5rem;
}
.related-block-horizontal-scroll > .related-block-heading,
.related-block-horizontal-scroll > .related-block-list {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.related-block-horizontal-scroll .related-block-list {
  display: flex; gap: 0.75rem;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  /* Hide scrollbar visually but keep functional */
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.related-block-horizontal-scroll .related-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
}

/* Layout: list — used on lyric sidebar. Sits inside the sidebar so no
   extra background / padding — the sidebar group provides context.
   Heading matches .lyric-sidebar-label sizing for visual continuity with
   sibling groups (// STREAM, // ENGAGE, etc) that share the column. */
.related-block-list > .related-block-heading {
  font-size: 0.5rem;
  margin: 0 0 0.2rem;
}
.related-block-list .related-block-list {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.related-block-list .related-card-cover { width: 48px; height: 48px; }
.related-block-list .related-card-cover img { width: 48px; height: 48px; }
.related-block-list .related-card-title { font-size: 0.95rem; }

/* Layout: grid — used on project page. Full-bleed band. */
.related-block-grid {
  background: var(--bg2);
  padding: 2rem 2.5rem;
}
.related-block-grid > .related-block-heading {
  max-width: 1200px;
  margin: 0 auto 1rem;
}
.related-block-grid .related-block-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  /* Grid collapses to single column on mobile */
  .related-block-grid .related-block-list {
    grid-template-columns: 1fr;
  }
  .related-block-horizontal-scroll .related-card { flex-basis: 78%; }
  .related-block-horizontal-scroll { padding: 1.25rem 1rem; }
  .related-block-grid { padding: 1.5rem 1rem; }
}
