/* =========================================================
   UNDERGROUND FREQUENCY · criticalbass.com
   Palette and type per brand style guide
   ========================================================= */

:root {
  --bg: #05020e;
  --bg-2: #0b0620;
  --surface: #0f0828;
  --surface-2: #150a35;
  --cyan: #00ffff;
  --magenta: #ff00b4;
  --purple: #8a2bff;
  --violet: #a98bff;
  --white: #ffffff;
  --text: #e9e6ff;
  --muted: #8a82b5;
  --dim: #5b5480;
  --border: rgba(0, 255, 255, 0.12);
  --border-soft: rgba(255, 255, 255, 0.06);
  --grad: linear-gradient(135deg, var(--cyan) 0%, var(--magenta) 100%);
  --grad-soft: linear-gradient(135deg, rgba(0, 255, 255, 0.35), rgba(255, 0, 180, 0.35));
  --glow-cyan: 0 0 24px rgba(0, 255, 255, 0.45);
  --glow-magenta: 0 0 24px rgba(255, 0, 180, 0.45);
  --shadow-lift: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 255, 255, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', system-ui, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Background FX ---------- */

#starfield {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.grid-overlay {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.9) 30%, transparent 85%);
}
.scanlines {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 2;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.012) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.scroll-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 2px;
  background: var(--grad);
  box-shadow: var(--glow-cyan);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Nav ---------- */

nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 40px;
  background: rgba(5, 2, 14, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s, padding 0.3s;
}
nav.scrolled {
  padding: 10px 40px;
  background: rgba(5, 2, 14, 0.92);
  border-bottom-color: rgba(0, 255, 255, 0.2);
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-mark {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #000;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.nav-logo-text {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  line-height: 1.15;
  color: var(--white);
}
.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--muted);
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--grad);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--cyan); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 10px 20px;
  border: 1px solid var(--cyan);
  background: rgba(0, 255, 255, 0.04);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
.nav-cta:hover {
  background: rgba(0, 255, 255, 0.14);
  box-shadow: var(--glow-cyan);
  transform: translateY(-1px);
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta), 0 0 20px var(--magenta);
  animation: livePulse 1.6s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  position: relative;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  padding: 140px 40px 100px;
  overflow: hidden;
}
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
}
.nebula-1 {
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(138, 43, 255, 0.45), transparent 70%);
  top: -220px; left: -180px;
  animation: drift 14s ease-in-out infinite;
}
.nebula-2 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.28), transparent 70%);
  bottom: -180px; right: -160px;
  animation: drift 18s ease-in-out infinite reverse;
}
.nebula-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 0, 180, 0.28), transparent 70%);
  top: 45%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 10s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero-inner {
  max-width: 960px; margin: 0 auto;
  text-align: center;
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  gap: 28px;
}
.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: rgba(0, 255, 255, 0.03);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero-logo {
  width: clamp(140px, 18vw, 200px);
  height: auto;
  filter: drop-shadow(0 0 28px rgba(0, 255, 255, 0.35)) drop-shadow(0 0 40px rgba(255, 0, 180, 0.18));
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(44px, 10vw, 130px);
  line-height: 0.88;
  letter-spacing: -1px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-title .glitch {
  background: linear-gradient(180deg, #ffffff 0%, var(--cyan) 55%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-title .glitch::before,
.hero-title .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  opacity: 0;
}
.hero-title .glitch:hover::before {
  opacity: 0.6;
  transform: translate(-3px, 0);
  filter: hue-rotate(30deg);
  animation: glitchA 0.7s steps(3) infinite;
}
.hero-title .glitch:hover::after {
  opacity: 0.6;
  transform: translate(3px, 0);
  filter: hue-rotate(-30deg);
  animation: glitchB 0.7s steps(3) infinite;
}
@keyframes glitchA {
  0%, 100% { clip-path: inset(0 0 80% 0); }
  50% { clip-path: inset(40% 0 20% 0); }
}
@keyframes glitchB {
  0%, 100% { clip-path: inset(80% 0 0 0); }
  50% { clip-path: inset(20% 0 40% 0); }
}

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.5px;
}
.hero-meta .dot { color: var(--cyan); }

.hero-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3.5px;
  color: var(--muted);
}
.hero-tags .sep { color: var(--magenta); }

.waveform {
  display: flex; gap: 4px; align-items: center;
  height: 52px;
  margin: 6px 0;
}
.waveform span {
  display: block;
  width: 3px;
  background: var(--grad);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
  animation: wave 1.2s ease-in-out infinite;
}
.waveform span:nth-child(1)  { animation-delay: 0.00s; }
.waveform span:nth-child(2)  { animation-delay: 0.08s; }
.waveform span:nth-child(3)  { animation-delay: 0.16s; }
.waveform span:nth-child(4)  { animation-delay: 0.24s; }
.waveform span:nth-child(5)  { animation-delay: 0.32s; }
.waveform span:nth-child(6)  { animation-delay: 0.40s; }
.waveform span:nth-child(7)  { animation-delay: 0.48s; }
.waveform span:nth-child(8)  { animation-delay: 0.56s; }
.waveform span:nth-child(9)  { animation-delay: 0.64s; }
.waveform span:nth-child(10) { animation-delay: 0.72s; }
.waveform span:nth-child(11) { animation-delay: 0.80s; }
.waveform span:nth-child(12) { animation-delay: 0.88s; }
.waveform span:nth-child(13) { animation-delay: 0.96s; }
.waveform span:nth-child(14) { animation-delay: 1.04s; }
.waveform span:nth-child(15) { animation-delay: 1.12s; }
.waveform span:nth-child(16) { animation-delay: 1.20s; }
.waveform span:nth-child(17) { animation-delay: 1.28s; }
.waveform span:nth-child(18) { animation-delay: 1.36s; }
.waveform span:nth-child(19) { animation-delay: 1.44s; }
.waveform span:nth-child(20) { animation-delay: 1.52s; }
.waveform span:nth-child(21) { animation-delay: 1.60s; }
.waveform span:nth-child(22) { animation-delay: 1.68s; }
.waveform span:nth-child(23) { animation-delay: 1.76s; }
.waveform span:nth-child(24) { animation-delay: 1.84s; }
.waveform span:nth-child(25) { animation-delay: 1.92s; }
@keyframes wave {
  0%, 100% { height: 12%; }
  50% { height: 100%; }
}

.hero-ctas {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  margin-top: 8px;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 16px 28px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
  position: relative;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: var(--grad);
  color: #000;
  font-weight: 800;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(0, 255, 255, 0.35), 0 0 0 1px rgba(255, 0, 180, 0.3);
}
.btn-ghost {
  background: rgba(0, 255, 255, 0.04);
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn-ghost:hover {
  background: rgba(0, 255, 255, 0.12);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}

.scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-hint span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--muted);
}
.scroll-hint .scroll-line {
  width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: pulseLine 2s ease-in-out infinite;
}
@keyframes pulseLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- Section primitives ---------- */

.section {
  position: relative;
  z-index: 3;
  padding: 140px 40px;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.section-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.section-head.center { justify-content: center; }
.section-number, .section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.section-number { color: var(--cyan); }
.section-label { color: var(--muted); }
.section-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.section-title.center { text-align: center; }
.section-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

.divider {
  position: relative;
  z-index: 3;
  display: flex; align-items: center; gap: 16px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.divider span {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.25), transparent);
}
.divider i {
  display: block; width: 8px; height: 8px;
  background: var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 12px var(--cyan);
}

/* ---------- Signal (About) ---------- */

.signal-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 72px; align-items: center;
  margin-top: 32px;
}
.signal-copy p {
  font-size: 17px; line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}
.signal-copy p.lead {
  font-size: 20px;
  color: var(--text);
}
.signal-copy p strong { color: var(--white); font-weight: 600; }
.signal-copy .whisper {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 24px;
}
.stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat {
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.8), rgba(21, 10, 53, 0.5));
  border: 1px solid var(--border-soft);
  padding: 26px 22px;
  position: relative;
  transition: transform 0.3s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.stat::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--grad);
}
.stat::after {
  content: '';
  position: absolute;
  top: -2px; right: -2px;
  width: 16px; height: 16px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
}
.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 255, 0.3);
}
.stat:hover::after { opacity: 1; }
.stat-num {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 34px;
  font-weight: 800;
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.5);
  margin-bottom: 8px;
  letter-spacing: -1px;
}
.stat-num small {
  font-size: 14px;
  color: var(--magenta);
  text-shadow: 0 0 10px rgba(255, 0, 180, 0.5);
  margin-left: 2px;
}
.stat-lbl {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}

/* ---------- Work / Gallery ---------- */

.filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.filter {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 10px 18px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.filter:hover { color: var(--cyan); border-color: var(--cyan); }
.filter.active {
  color: #000;
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.tile {
  position: relative;
  overflow: hidden;
  grid-column: span 2;
  grid-row: span 1;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: transform 0.45s var(--ease), border-color 0.35s, box-shadow 0.35s, opacity 0.35s;
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.35s;
}
.tile::before, .tile::after {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.tile::before {
  top: 10px; right: 10px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
}
.tile::after {
  bottom: 10px; left: 10px;
  border-bottom: 2px solid var(--magenta);
  border-left: 2px solid var(--magenta);
}
.tile:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: var(--shadow-lift);
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile:hover img { transform: scale(1.06); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 18px 16px;
  background: linear-gradient(0deg, rgba(5, 2, 14, 0.96) 10%, rgba(5, 2, 14, 0.4) 70%, transparent);
  transform: translateY(30%);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s;
  z-index: 2;
}
.tile:hover figcaption { transform: translateY(0); opacity: 1; }
.tile-cat {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.tile-title {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.tile-meta {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.tile-lg  { grid-column: span 4; grid-row: span 2; }
.tile-tall { grid-row: span 2; }
.tile-wide { grid-column: span 4; }

.tile.hidden {
  opacity: 0; pointer-events: none;
  transform: scale(0.92);
  display: none;
}

/* ---------- Broadcast ---------- */

.broadcast-section { background: linear-gradient(180deg, transparent, rgba(15, 8, 40, 0.5), transparent); }
.broadcast-card {
  position: relative;
  margin-top: 40px;
  padding: 56px 52px;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.95), rgba(21, 10, 53, 0.75));
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}
.broadcast-glow {
  position: absolute;
  top: -40%; right: -10%;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(255, 0, 180, 0.3), transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}
.broadcast-content { position: relative; z-index: 2; }
.broadcast-status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--cyan);
  background: rgba(0, 255, 255, 0.06);
  margin-bottom: 20px;
}
.broadcast-title {
  font-family: 'Orbitron', monospace;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.broadcast-copy {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 30px;
}
.broadcast-copy strong { color: var(--white); }
.broadcast-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.broadcast-eq {
  display: flex; gap: 5px; align-items: flex-end;
  height: 160px;
  position: relative; z-index: 2;
}
.broadcast-eq span {
  display: block;
  width: 6px;
  background: var(--grad);
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.45);
  animation: eq 1.4s ease-in-out infinite;
}
.broadcast-eq span:nth-child(1)  { animation-delay: 0.00s; }
.broadcast-eq span:nth-child(2)  { animation-delay: 0.07s; }
.broadcast-eq span:nth-child(3)  { animation-delay: 0.14s; }
.broadcast-eq span:nth-child(4)  { animation-delay: 0.21s; }
.broadcast-eq span:nth-child(5)  { animation-delay: 0.28s; }
.broadcast-eq span:nth-child(6)  { animation-delay: 0.35s; }
.broadcast-eq span:nth-child(7)  { animation-delay: 0.42s; }
.broadcast-eq span:nth-child(8)  { animation-delay: 0.49s; }
.broadcast-eq span:nth-child(9)  { animation-delay: 0.56s; }
.broadcast-eq span:nth-child(10) { animation-delay: 0.63s; }
.broadcast-eq span:nth-child(11) { animation-delay: 0.70s; }
.broadcast-eq span:nth-child(12) { animation-delay: 0.77s; }
.broadcast-eq span:nth-child(13) { animation-delay: 0.84s; }
.broadcast-eq span:nth-child(14) { animation-delay: 0.91s; }
.broadcast-eq span:nth-child(15) { animation-delay: 0.98s; }
.broadcast-eq span:nth-child(16) { animation-delay: 1.05s; }
.broadcast-eq span:nth-child(17) { animation-delay: 1.12s; }
.broadcast-eq span:nth-child(18) { animation-delay: 1.19s; }
.broadcast-eq span:nth-child(19) { animation-delay: 1.26s; }
.broadcast-eq span:nth-child(20) { animation-delay: 1.33s; }
@keyframes eq {
  0%, 100% { height: 15%; }
  50% { height: 100%; }
}

/* ---------- Merch ---------- */

.merch-card {
  margin-top: 40px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
  padding: 52px;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.9), rgba(21, 10, 53, 0.6));
  border: 1px solid var(--border-soft);
  position: relative; overflow: hidden;
}
.merch-visual {
  position: relative;
  aspect-ratio: 1/1;
  transform: rotate(-2deg);
}
.merch-visual img {
  position: absolute;
  width: 80%; height: 80%;
  object-fit: cover;
  top: 0; left: 0;
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  transition: transform 0.4s var(--ease);
}
.merch-visual-2 {
  top: auto !important; left: auto !important;
  bottom: 0; right: 0;
  transform: rotate(6deg);
  z-index: 2;
}
.merch-card:hover .merch-visual img { transform: translate(-6px, -6px); }
.merch-card:hover .merch-visual-2 { transform: rotate(6deg) translate(6px, 6px) !important; }
.merch-copy .section-label { display: block; margin-bottom: 12px; color: var(--cyan); }
.merch-copy h3 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.merch-copy p {
  font-size: 17px; color: var(--muted); line-height: 1.75;
  margin-bottom: 28px;
}

/* ---------- Connect ---------- */

.connect-inner { max-width: 760px; text-align: center; }
.socials {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 44px 0 36px;
}
.social {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 26px 16px;
  background: rgba(15, 8, 40, 0.6);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s, background 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.social::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
}
.social svg {
  width: 28px; height: 28px;
  color: var(--muted);
  transition: color 0.3s, filter 0.3s;
}
.social span {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
}
.social:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 255, 0.35);
  background: rgba(0, 255, 255, 0.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 24px rgba(0, 255, 255, 0.15);
}
.social:hover::before { transform: scaleX(1); }
.social:hover svg { color: var(--cyan); filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.6)); }
.social:hover span { color: var(--white); }

.email-link {
  display: inline-flex; flex-direction: column; gap: 6px;
  padding: 22px 36px;
  border: 1px dashed rgba(0, 255, 255, 0.3);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.email-link:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.18);
}
.email-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--magenta);
  text-transform: uppercase;
}
.email-addr {
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  letter-spacing: 1.5px;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

/* ---------- Footer ---------- */

footer {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--border);
  padding: 28px 40px;
  background: rgba(5, 2, 14, 0.6);
  backdrop-filter: blur(8px);
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  color: var(--muted);
  text-transform: uppercase;
}
.footer-left { display: flex; align-items: center; gap: 14px; }
.footer-mark {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-family: 'Orbitron', monospace;
  font-size: 12px; font-weight: 900;
  background: var(--grad);
  color: #000;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.footer-center {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
  font-size: 12px;
}
.footer-right { text-align: right; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }

/* ---------- Case study pages ---------- */

.case-hero {
  position: relative;
  z-index: 3;
  padding: 140px 40px 40px;
  overflow: hidden;
}
.case-hero-inner {
  max-width: 920px;
  margin: 0 auto;
}
.case-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-bottom: 22px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.case-meta .note-cat { color: var(--cyan); }
.case-meta .case-format { color: var(--muted); }
.case-title {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: clamp(36px, 5.4vw, 72px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 14px;
}
.case-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 28px;
}
.case-byline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.case-image-wrap {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px 30px;
  text-align: center;
}
.case-image-wrap::before {
  content: '';
  position: absolute;
  inset: 30px 30px;
  background: radial-gradient(ellipse at center, rgba(0, 255, 255, 0.12), transparent 60%);
  filter: blur(60px);
  z-index: -1;
}
.case-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 86vh;
  object-fit: contain;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 0, 180, 0.08);
}

.case-body {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 50px 40px 30px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  line-height: 1.85;
  color: #cac5ea;
  margin: 0 auto;
}
.case-body p {
  margin-bottom: 22px;
}
.case-body p.case-lede {
  font-size: 21px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 30px;
}
.case-body strong {
  color: var(--white);
  font-weight: 600;
}

.case-specs {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.spec {
  display: flex; flex-direction: column; gap: 8px;
}
.spec-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--magenta);
  text-transform: uppercase;
}
.spec-value {
  font-family: 'Orbitron', monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}
.case-palette {
  display: flex; align-items: center; gap: 6px;
}
.case-swatch {
  width: 24px; height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-nav {
  position: relative;
  z-index: 3;
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.case-nav a {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 26px;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.7), rgba(21, 10, 53, 0.35));
  border: 1px solid var(--border-soft);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}
.case-nav a:hover {
  border-color: rgba(0, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.45), 0 0 22px rgba(0, 255, 255, 0.08);
}
.case-nav-direction {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
}
.case-nav-title {
  font-family: 'Orbitron', monospace;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.2px;
  line-height: 1.25;
}
.case-nav-format {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}
.case-nav-next {
  text-align: right;
  align-items: flex-end;
}
.case-nav a.disabled {
  opacity: 0.35;
  pointer-events: none;
}

@media (max-width: 980px) {
  .case-hero { padding: 120px 24px 32px; }
  .case-image-wrap { padding: 40px 24px 20px; }
  .case-body { padding: 36px 24px 20px; font-size: 17px; }
  .case-body p.case-lede { font-size: 19px; }
  .case-specs { padding: 32px 24px; gap: 20px; }
  .case-nav { padding: 40px 24px; grid-template-columns: 1fr; }
  .case-nav-next { text-align: left; align-items: flex-start; }
}

/* Hidden case data source (cloned into overlay) */
#case-data { display: none; }

/* Case overlay (modal) */
.case-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(5, 2, 14, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: none;
  overflow: hidden;
}
.case-overlay.open {
  display: block;
  animation: caseOverlayIn 0.35s var(--ease) both;
}
@keyframes caseOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.case-overlay-scroll {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.case-overlay-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 88px 24px 60px;
  position: relative;
  animation: caseContentIn 0.5s 0.08s var(--ease) both;
}
@keyframes caseContentIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tighter spacing inside overlay than standalone pages */
.case-overlay-content .case-hero {
  padding: 0 0 28px;
}
.case-overlay-content .case-hero-inner {
  padding: 0;
  max-width: none;
}
.case-overlay-content .case-image-wrap {
  padding: 28px 0;
}
.case-overlay-content .case-image-wrap::before {
  inset: 12px;
}
.case-overlay-content .case-body {
  padding: 32px 0 16px;
  max-width: 720px;
  margin: 0 auto;
}
.case-overlay-content .case-specs {
  padding: 32px 0;
}

/* Floating overlay controls */
.case-overlay-close,
.case-overlay-prev,
.case-overlay-next {
  position: fixed;
  width: 48px; height: 48px;
  background: rgba(5, 2, 14, 0.85);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s, border-color 0.25s;
}
.case-overlay-close svg,
.case-overlay-prev svg,
.case-overlay-next svg {
  width: 18px; height: 18px;
}
.case-overlay-close {
  top: 24px; right: 24px;
}
.case-overlay-close:hover {
  background: rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.35);
  transform: rotate(90deg);
}
.case-overlay-prev,
.case-overlay-next {
  top: 50%;
  transform: translateY(-50%);
}
.case-overlay-prev { left: 24px; }
.case-overlay-next { right: 24px; }
.case-overlay-prev:hover,
.case-overlay-next:hover {
  background: rgba(0, 255, 255, 0.15);
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.3);
}

@media (max-width: 760px) {
  .case-overlay-prev,
  .case-overlay-next {
    top: auto; bottom: 24px;
    transform: none;
  }
  .case-overlay-prev { left: 16px; }
  .case-overlay-next { right: 16px; }
  .case-overlay-close {
    top: 16px; right: 16px;
    width: 42px; height: 42px;
  }
  .case-overlay-content {
    padding: 72px 16px 100px;
  }
}

/* Tile becomes a button */
.tile { font-family: inherit; text-align: left; color: inherit; padding: 0; }
.tile:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* ---------- Manifesto section breaker ---------- */

.manifesto {
  position: relative;
  z-index: 3;
  padding: 140px 40px;
  overflow: hidden;
  text-align: center;
}
.manifesto-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 820px; height: 500px;
  max-width: 90vw;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(0, 255, 255, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(255, 0, 180, 0.18), transparent 70%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}
.manifesto-quote {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(34px, 7vw, 88px);
  line-height: 1.02;
  letter-spacing: -2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.manifesto-line {
  color: var(--white);
  display: block;
}
.manifesto-line-accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(0, 255, 255, 0.2));
}

/* ---------- Notes / long-form pages ---------- */

.nav-links a.active {
  color: var(--cyan);
}
.nav-links a.active::after {
  width: 100%;
}

.page-hero {
  position: relative;
  z-index: 3;
  padding: 180px 40px 80px;
  overflow: hidden;
}
.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 26px;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text);
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: rgba(0, 255, 255, 0.03);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.page-title {
  font-family: 'Orbitron', monospace;
  font-weight: 900;
  font-size: clamp(56px, 11vw, 140px);
  line-height: 0.9;
  letter-spacing: -2px;
}
.page-title .glitch {
  background: linear-gradient(180deg, #ffffff 0%, var(--cyan) 55%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  position: relative;
}
.page-lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 620px;
}

.notes-section {
  padding-top: 60px;
}
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.note-card {
  display: flex; flex-direction: column;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.85), rgba(21, 10, 53, 0.55));
  border: 1px solid var(--border-soft);
  padding: 28px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
  min-height: 240px;
}
.note-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.note-card::after {
  content: '';
  position: absolute;
  top: 12px; right: 12px;
  width: 18px; height: 18px;
  border-top: 2px solid var(--cyan);
  border-right: 2px solid var(--cyan);
  opacity: 0;
  transition: opacity 0.3s;
}
.note-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 255, 0.35);
  box-shadow: var(--shadow-lift);
}
.note-card:hover::before { transform: scaleX(1); }
.note-card:hover::after { opacity: 1; }
.note-card-body { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.note-meta {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.note-cat {
  color: var(--cyan);
  padding: 4px 10px;
  border: 1px solid var(--border);
  background: rgba(0, 255, 255, 0.05);
}
.note-date { color: var(--dim); }
.note-title {
  font-family: 'Orbitron', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.note-excerpt {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.note-read {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  transition: gap 0.3s, text-shadow 0.3s;
}
.note-read svg { width: 14px; height: 14px; }
.note-card:hover .note-read {
  gap: 14px;
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.notes-empty {
  margin-top: 40px;
  padding: 64px 48px;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.6), rgba(21, 10, 53, 0.35));
  border: 1px dashed rgba(0, 255, 255, 0.25);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.notes-empty-bars {
  display: flex; gap: 4px; align-items: center; justify-content: center;
  height: 64px;
  margin-bottom: 28px;
}
.notes-empty-bars span {
  display: block;
  width: 3px;
  background: var(--grad);
  border-radius: 2px;
  opacity: 0.6;
  animation: wave 1.8s ease-in-out infinite;
}
.notes-empty-bars span:nth-child(1)  { animation-delay: 0.00s; }
.notes-empty-bars span:nth-child(2)  { animation-delay: 0.10s; }
.notes-empty-bars span:nth-child(3)  { animation-delay: 0.20s; }
.notes-empty-bars span:nth-child(4)  { animation-delay: 0.30s; }
.notes-empty-bars span:nth-child(5)  { animation-delay: 0.40s; }
.notes-empty-bars span:nth-child(6)  { animation-delay: 0.50s; }
.notes-empty-bars span:nth-child(7)  { animation-delay: 0.60s; }
.notes-empty-bars span:nth-child(8)  { animation-delay: 0.70s; }
.notes-empty-bars span:nth-child(9)  { animation-delay: 0.80s; }
.notes-empty-bars span:nth-child(10) { animation-delay: 0.90s; }
.notes-empty-bars span:nth-child(11) { animation-delay: 1.00s; }
.notes-empty-bars span:nth-child(12) { animation-delay: 1.10s; }
.notes-empty-bars span:nth-child(13) { animation-delay: 1.20s; }
.notes-empty h3 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.notes-empty p {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.notes-empty-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* Featured latest-article card */
.notes-featured {
  margin-top: 40px;
  max-width: 900px;
}
.notes-more-label {
  margin: 72px 0 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.notes-more-label span {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--magenta);
  text-transform: uppercase;
}
.note-card-featured {
  padding: 40px 40px 36px;
  min-height: 0;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.92), rgba(21, 10, 53, 0.65));
  border-color: var(--border);
}
.note-featured-flag {
  display: inline-block;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.note-card-featured .note-title {
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.2;
  margin: 6px 0 10px;
}
.note-card-featured .note-excerpt {
  font-size: 16px;
  margin-bottom: 20px;
}
.note-read-time {
  color: var(--dim);
}

/* ---------- Article / long-form reading ---------- */

.article {
  position: relative;
  z-index: 3;
}
.article-hero {
  position: relative;
  padding: 160px 40px 60px;
  overflow: hidden;
}
.article-hero-inner {
  max-width: 820px;
  margin: 0 auto;
}
.article-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--border-soft);
  background: rgba(0, 255, 255, 0.03);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
  margin-bottom: 28px;
}
.article-back svg { width: 14px; height: 14px; }
.article-back:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  background: rgba(0, 255, 255, 0.08);
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 24px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.article-date { color: var(--muted); }
.article-read { color: var(--dim); }
.article-title {
  font-family: 'Orbitron', monospace;
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 24px;
}
.article-title .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.article-byline {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.35);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-soft);
}

.article-body {
  max-width: 720px;
  padding: 60px 40px 80px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  line-height: 1.85;
  color: #cac5ea;
}
.article-body p {
  margin-bottom: 24px;
}
.article-body p.article-lede {
  font-size: 22px;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 36px;
  font-weight: 400;
}
.article-body h2 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--white);
  margin: 56px 0 20px;
  padding-top: 12px;
  position: relative;
}
.article-body h2::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 2px;
  background: var(--grad);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.35);
}
.article-body h3 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
  margin: 40px 0 14px;
  letter-spacing: -0.2px;
}
.article-body strong {
  color: var(--white);
  font-weight: 600;
}
.article-body code {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.92em;
  color: var(--cyan);
  background: rgba(0, 255, 255, 0.06);
  border: 1px solid rgba(0, 255, 255, 0.15);
  padding: 1px 7px;
  border-radius: 3px;
}
.article-body pre {
  margin: 32px 0;
  padding: 24px 26px;
  background: linear-gradient(145deg, rgba(10, 5, 25, 0.95), rgba(21, 10, 53, 0.75));
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--cyan);
  overflow-x: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 0 60px rgba(0, 255, 255, 0.03);
  position: relative;
}
.article-body pre::before {
  content: '// CODE';
  position: absolute;
  top: 10px; right: 14px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--dim);
}
.article-body pre code {
  background: none;
  border: none;
  padding: 0;
  color: #d3ceff;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre;
  display: block;
}
.article-body a {
  color: var(--cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  transition: border-color 0.25s, text-shadow 0.25s;
}
.article-body a:hover {
  border-bottom-color: var(--cyan);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}
.article-signoff {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--cyan);
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.4);
  margin: 40px 0 48px !important;
  text-align: center;
}

.article-author {
  display: flex; gap: 20px; align-items: flex-start;
  margin-top: 48px;
  padding: 28px 28px;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.75), rgba(21, 10, 53, 0.45));
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--magenta);
}
.article-author-mark {
  width: 46px; height: 46px;
  flex-shrink: 0;
  display: grid; place-items: center;
  font-family: 'Orbitron', monospace;
  font-size: 14px; font-weight: 900;
  background: var(--grad);
  color: #000;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
}
.article-author p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* Article outro */

.article-outro {
  position: relative;
  z-index: 3;
  padding: 40px 40px 120px;
}
.outro-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 52px 48px;
  background: linear-gradient(145deg, rgba(15, 8, 40, 0.92), rgba(21, 10, 53, 0.6));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.outro-glow {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(255, 0, 180, 0.2), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.outro-card > * { position: relative; z-index: 2; }
.outro-card .section-label {
  display: block;
  color: var(--cyan);
  margin-bottom: 14px;
}
.outro-card h3 {
  font-family: 'Orbitron', monospace;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
  margin-bottom: 16px;
}
.outro-card p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto 32px;
}
.outro-ctas {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* ---------- Scroll reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .tile-lg { grid-column: span 4; grid-row: span 2; }
  .tile-wide { grid-column: span 4; }
  .tile, .tile-tall { grid-column: span 2; }
  .notes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  nav { padding: 14px 24px; }
  nav.scrolled { padding: 10px 24px; }
  .nav-links { display: none; }
  .section { padding: 100px 24px; }
  .divider { padding: 0 24px; }
  .signal-grid { grid-template-columns: 1fr; gap: 48px; }
  .broadcast-card { grid-template-columns: 1fr; gap: 40px; padding: 40px 32px; }
  .broadcast-eq { height: 100px; }
  .merch-card { grid-template-columns: 1fr; padding: 36px 28px; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .footer-left, .footer-right { justify-content: center; }
}
@media (max-width: 680px) {
  .hero { padding: 120px 20px 80px; }
  .section { padding: 80px 20px; }
  .divider { padding: 0 20px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 12px; }
  .tile, .tile-lg, .tile-tall, .tile-wide { grid-column: span 2; grid-row: span 1; }
  .tile-lg { grid-row: span 2; }
  .stats { grid-template-columns: 1fr 1fr; }
  .socials { grid-template-columns: 1fr 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .btn { justify-content: center; }
  .manifesto { padding: 80px 20px; }
  .page-hero { padding: 140px 20px 60px; }
  .notes-grid { grid-template-columns: 1fr; }
  .notes-empty { padding: 48px 24px; }
  .notes-empty-ctas { flex-direction: column; align-items: stretch; }
  .article-hero { padding: 120px 20px 40px; }
  .note-card-featured { padding: 28px 24px; }
  .article-body { padding: 40px 20px 60px; font-size: 17px; }
  .article-body p.article-lede { font-size: 19px; }
  .article-body pre { padding: 18px 16px; }
  .article-body pre code { font-size: 12.5px; }
  .article-author { flex-direction: column; padding: 22px; }
  .article-outro { padding: 24px 20px 80px; }
  .outro-card { padding: 36px 24px; }
  .outro-ctas { flex-direction: column; align-items: stretch; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
