/* ============================================================
   DP NATION — Dynamic Praise Reunion
   Luxury Dark Editorial · Palette: Blue / White / Black
   Built by Callender Lab LLC
   ============================================================ */

:root {
  /* --- surfaces --- */
  --bg: #06070b;
  --bg-raise: #0b0d14;
  --bg-panel: #10131c;
  --bg-blue: #0a1442;

  /* --- ink --- */
  --ink: #f6f8fc;
  --ink-dim: #c6ccdb;
  --muted: #8a92a6;
  --faint: #4c5468;

  /* --- lines --- */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);

  /* --- blue accents (from the DP crest) --- */
  --blue: #1c3fc4;
  --blue-bright: #4d8dff;
  --blue-glow: #7db3ff;
  --blue-deep: #0a1852;

  /* --- white accents --- */
  --white-acc: #eef2fb;
  --white-block: #e4e9f4;

  /* --- type --- */
  --font-head: "Sora", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-serif: "Playfair Display", serif;

  /* --- layout --- */
  --pad: clamp(22px, 5vw, 80px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; height: 100vh; }

::selection { background: var(--blue); color: #fff; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea, select { font: inherit; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--blue);
  color: #fff;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---- faint grid backdrop ---- */
.grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 25vw 25vh;
}

/* ---- ambient blue glow field ---- */
.glow-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.glow-field i {
  position: absolute;
  display: block;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.glow-field i:nth-child(1) {
  width: 46vw; height: 46vw; top: -8%; right: -10%;
  background: radial-gradient(circle, rgba(28, 63, 196, 0.34), transparent 68%);
}
.glow-field i:nth-child(2) {
  width: 38vw; height: 38vw; bottom: 4%; left: -12%;
  background: radial-gradient(circle, rgba(77, 141, 255, 0.18), transparent 68%);
}

main { position: relative; z-index: 1; }

/* ---- scroll progress ---- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--blue), var(--blue-glow), #fff);
  z-index: 200;
}

/* ============ TYPE ============ */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--blue-bright);
  flex-shrink: 0;
}
.eyebrow .accent { color: var(--blue-glow); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.display {
  font-size: clamp(44px, 6.4vw, 96px);
  font-weight: 800;
}
.display .serif,
.h2 .serif,
.h3 .serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: #aeb7cc;
  letter-spacing: 0;
}
.display .serif { display: block; }
.display .accent, .h2 .accent { color: var(--blue-glow); }

.h2 { font-size: clamp(30px, 4vw, 56px); font-weight: 800; }
.h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 700; }

.lede {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 56ch;
}
.lede.tight { max-width: 44ch; }
.lede strong { color: var(--ink-dim); font-weight: 600; }

.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3.4vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 20ch;
}

/* ============ HEADER ============ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(6, 7, 11, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { opacity: 1; }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 13px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  position: relative;
  z-index: 210;
  white-space: nowrap;   /* never let "DP NATION" break across two lines */
  flex-shrink: 0;
}
.logo-mark {
  width: 46px; height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 14px rgba(77, 141, 255, 0.35));
}
.logo span small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 0.3em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-dim);
  letter-spacing: 0.03em;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue) 55%, var(--blue-deep));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 28px;
  border-radius: 8px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
  box-shadow: 0 4px 24px rgba(28, 63, 196, 0.32);
  white-space: nowrap;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(77, 141, 255, 0.45);
}
.nav-links .btn-cta { display: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  position: relative;
  z-index: 210;
}
.nav-toggle i {
  position: absolute;
  left: 9px;
  width: 24px; height: 1.6px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle i:nth-child(1) { top: 16px; }
.nav-toggle i:nth-child(2) { top: 24px; }
.nav-toggle.open i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle.open i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ============ BUTTONS ============ */

.btn-block {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line-strong);
  padding: 16px 30px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  overflow: hidden;
  transition: color 0.3s, border-color 0.3s;
}
.btn-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white-block);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.btn-block:hover { color: #06070b; border-color: var(--white-block); }
.btn-block:hover::before { transform: translateY(0); }
.btn-block span { position: relative; z-index: 1; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-glow);
  transition: gap 0.3s var(--ease), color 0.3s;
}
.link-arrow::after { content: "→"; transition: transform 0.3s var(--ease); }
.link-arrow:hover { gap: 16px; color: #fff; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ============ HERO (video) ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 150px;
  padding-bottom: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #05060a;
}
/* 16:9 iframe scaled to always cover the viewport */
.hero-video iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;              /* 16:9 based on width */
  min-height: 100svh;
  min-width: 177.78svh;          /* 16:9 based on height */
  /* Overscaled on purpose: pushes YouTube's own title/branding chrome
     (anchored to the iframe's top edge) out of the viewport. */
  transform: translate(-50%, -50%) scale(1.45);
  border: 0;
  pointer-events: none;
  /* Revealed by JS once the player reports it is actually playing, so the
     player's own mount sequence never flashes through. */
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-video.playing iframe { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-video iframe { opacity: 1; transition: none; }
}
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Heavy scrim — the headline sits mid-frame over moving footage, so the
     video has to give up a lot of luminance for the type to hold up. */
  background:
    linear-gradient(to top, rgba(6, 7, 11, 0.97) 2%, rgba(6, 7, 11, 0.5) 50%, rgba(6, 7, 11, 0.76) 100%),
    linear-gradient(to right, rgba(6, 7, 11, 0.84) 0%, rgba(10, 20, 66, 0.2) 62%, rgba(6, 7, 11, 0.4) 100%);
}
/* Still-image stand-in for a hero whose video can't be embedded. The slow drift
   keeps it from reading as a dead screenshot next to the animated homepage hero. */
.hero-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-still { animation: none; }
}

.hero-video-fallback {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, #16276e, #06070b 70%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; }

.hero-title {
  font-size: clamp(46px, 8vw, 124px);
  font-weight: 800;
  line-height: 0.96;
  max-width: 15ch;
}
.hero-title .serif {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: #cdd6ea;
  letter-spacing: -0.01em;
}
.hero .eyebrow { margin-bottom: 28px; }
.hero-copy { margin-top: 30px; max-width: 60ch; }
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.hero-scroll {
  margin-top: 54px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll .bar {
  width: 60px; height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hero-scroll .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue-glow);
  animation: scrollBar 2.2s var(--ease) infinite;
}
@keyframes scrollBar {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

/* sound toggle for the hero video */
.hero-sound {
  position: absolute;
  right: var(--pad);
  bottom: 30px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(6, 7, 11, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.25s, border-color 0.25s;
}
.hero-sound:hover { color: #fff; border-color: var(--blue-bright); }
.hero-sound .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue-glow);
  box-shadow: 0 0 0 0 rgba(77, 141, 255, 0.6);
  animation: pulseDot 2.4s ease-out infinite;
}
@keyframes pulseDot {
  70% { box-shadow: 0 0 0 9px rgba(77, 141, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(77, 141, 255, 0); }
}

/* ============ STATS PANEL ============ */

.stats-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(11, 13, 20, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.stat-cell {
  padding: clamp(22px, 2.6vw, 40px);
  border-right: 1px solid var(--line);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.stat-num em { font-style: normal; color: var(--blue-glow); }
.stat-label {
  margin-top: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============ TICKER ============ */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.015);
}
.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ticker-track span {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 17px 20px 17px 56px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-track span::after {
  content: "◆";
  color: var(--blue-bright);
  font-size: 8px;
}
.ticker.blue { background: var(--bg-blue); border-color: rgba(255, 255, 255, 0.12); }
.ticker.blue .ticker-track span { color: #cfdcff; }
.ticker.blue .ticker-track span::after { color: #fff; }

/* ============ SECTIONS ============ */

.section { padding: clamp(74px, 10vw, 150px) 0; position: relative; }
.section.tight { padding: clamp(56px, 7vw, 100px) 0; }
.section.raise { background: var(--bg-raise); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.section-head .col { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head .lede { margin-top: 20px; }

/* ============ CARD GRIDS ============ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card {
  background: var(--bg);
  padding: clamp(28px, 3vw, 46px);
  position: relative;
  overflow: hidden;
  transition: background 0.45s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { background: var(--bg-panel); }
.card:hover::after { transform: scaleX(1); }
.card-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--faint);
  margin-bottom: 22px;
  display: block;
}
.card h3 { margin-bottom: 14px; font-size: clamp(19px, 1.7vw, 24px); }
.card p { color: var(--muted); font-size: 15.5px; }
.card .link-arrow { margin-top: 24px; }
.card.feature {
  background: linear-gradient(150deg, rgba(28, 63, 196, 0.22), var(--bg) 62%);
}

/* ============ MEDIA / VIDEO CARDS ============ */

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: clamp(22px, 2.6vw, 38px);
}

/* Single-row archive carousel. Shared media grids elsewhere stay unchanged. */
.archive-carousel .archive-track {
  /* Explicit column-flow grid guarantees one row even though this element
     also carries the site's shared .media-grid class. */
  display: grid;
  grid-template-columns: none;
  grid-template-rows: minmax(0, 1fr);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 44px) / 3);
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 2px 1px 12px;
}
.archive-carousel .archive-track::-webkit-scrollbar { display: none; }
.archive-carousel .archive-track > .media-card {
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.archive-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
}
.archive-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-dim);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.archive-arrow:hover:not(:disabled) {
  color: #fff;
  border-color: var(--blue-bright);
  background: rgba(77, 141, 255, 0.12);
  transform: translateY(-2px);
}
.archive-arrow:disabled { opacity: 0.28; cursor: default; }
.archive-dots { display: flex; align-items: center; gap: 7px; margin: 0 4px; }
.archive-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: width 0.3s var(--ease), background 0.3s;
}
.archive-dot.active { width: 24px; background: var(--blue-glow); }
.archive-page {
  min-width: 54px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--faint);
  text-align: center;
}
@media (max-width: 900px) {
  .archive-carousel .archive-track { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 620px) {
  .archive-carousel .archive-track { gap: 14px; grid-auto-columns: 88%; }
  .archive-pagination { justify-content: center; }
}
.media-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-raise);
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}
.media-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.media-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d1020;
}
.media-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(28%) contrast(1.05);
  transition: transform 0.7s var(--ease), filter 0.6s;
}
.media-card:hover .media-thumb img { transform: scale(1.06); filter: grayscale(0%); }
.media-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(6, 7, 11, 0.22);
  transition: background 0.4s;
}
.media-card:hover .play-badge { background: rgba(6, 7, 11, 0.05); }
.play-badge i {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(6, 7, 11, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), background 0.4s;
}
.play-badge i::before {
  content: "";
  border-left: 15px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}
.media-card:hover .play-badge i { transform: scale(1.1); background: var(--blue); }
.media-meta { padding: 22px 24px 26px; }
.media-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 12px;
}
.media-meta h3 { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.media-meta p { color: var(--muted); font-size: 14.5px; }
.media-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ============ PROCESS / TIMELINE ROWS ============ */

.process-list { border-top: 1px solid var(--line); counter-reset: step; }
.process-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 26px;
  align-items: start;
  padding: clamp(28px, 3.2vw, 46px) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-left 0.5s var(--ease);
}
.process-row::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  color: var(--faint);
  line-height: 1;
  transition: color 0.4s;
}
.process-row:hover { padding-left: 16px; }
.process-row:hover::before { color: var(--blue-bright); }
.process-row h3 { font-size: clamp(20px, 2vw, 28px); }
.process-row p { color: var(--muted); font-size: 16px; }

/* ============ QUOTE BAND ============ */

.quote-band {
  background: var(--bg-blue);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.quote-band::before {
  content: "";
  position: absolute;
  top: -30%; left: 50%;
  width: 70vw; height: 70vw;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(77, 141, 255, 0.22), transparent 62%);
  pointer-events: none;
}
.quote-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
}
.quote-mark {
  font-family: var(--font-serif);
  font-size: 130px;
  line-height: 0.5;
  color: rgba(255, 255, 255, 0.16);
  display: block;
  margin-bottom: 18px;
}
.quote-attr {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9fb4e6;
}
.quote-attr strong { display: block; color: #fff; font-size: 14px; letter-spacing: 0.1em; margin-bottom: 4px; }

/* ============ CTA BAND ============ */

.cta-band {
  padding: clamp(74px, 9vw, 140px) 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(28, 63, 196, 0.16), var(--bg) 60%);
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

/* ============ PAGE HERO (inner pages) ============ */

.page-hero {
  padding-top: clamp(140px, 17vw, 210px);
  padding-bottom: clamp(46px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}
.page-hero .display { max-width: 16ch; }
.page-hero .lede { margin-top: 26px; }

/* Video-backed variant — reuses .hero-video / .hero-sound from the homepage hero. */
.page-hero.has-video {
  min-height: clamp(560px, 82svh, 940px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(54px, 7vw, 96px);
}
.page-hero.has-video .hero-inner { position: relative; z-index: 2; width: 100%; }
.page-hero-glow {
  position: absolute;
  top: -10%; right: -8%;
  width: 52vw; height: 52vw;
  max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(28, 63, 196, 0.2), transparent 64%);
  pointer-events: none;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 26px;
}
.crumb a:hover { color: var(--blue-glow); }

/* ============ THEATER (video.html custom player) ============ */

/* Full-screen theater: the section fills the viewport under the fixed header.
   The queue keeps a fixed width on the right; the player takes every remaining
   pixel, its size capped by whichever runs out first — column width or viewport
   height — so the 16:9 ratio always holds. */
.theater {
  /* header is ~83px tall (46px logo + 18px padding either side + border);
     +12px breathing room puts the player flush under the nav */
  padding-top: 95px;
  padding-bottom: 26px;
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.theater-wrap {
  width: 100%;
  padding: 0 clamp(16px, 2.2vw, 36px);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.theater-grid {
  flex: 1;
  display: grid;
  /* right column is fixed — the playlist never grows, only the player does */
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(18px, 2vw, 30px);
  align-items: start;
}
.theater-main { min-width: 0; }

/* Cap the player by viewport height (header + now-bar + paddings ≈ 252px),
   converted back to a width through the 16:9 ratio. min() lets column width
   win on smaller screens. */
.theater-main .player-shell,
.theater-main .now-bar {
  width: min(100%, calc((100svh - 252px) * 16 / 9));
  margin-left: auto;
  margin-right: auto;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #04050a;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  outline-offset: 4px;
}
.player-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-tap {
  position: absolute;
  inset: 0;
  cursor: pointer;
}
.player-shell.native .player-tap,
.player-shell.native .player-controls,
.player-shell.native .player-unmute { display: none; }

/* Branded right-click menu for the archive player. Kept outside the player
   shell so it cannot be clipped near an edge or lost when the fallback embed
   replaces the player's internal markup. */
.player-context-menu {
  position: fixed;
  z-index: 1000;
  width: min(280px, calc(100vw - 24px));
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: rgba(7, 9, 16, 0.94);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(77, 141, 255, 0.06) inset;
  transform-origin: top left;
}
.player-context-menu[hidden] { display: none; }
.player-context-menu.open { animation: contextMenuIn 0.18s var(--ease) both; }
@keyframes contextMenuIn {
  from { opacity: 0; transform: translateY(-5px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.player-context-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--ink-dim);
  transition: color 0.2s, background 0.2s;
}
.player-context-menu a:hover,
.player-context-menu a:focus-visible {
  color: #fff;
  background: rgba(77, 141, 255, 0.13);
  outline: none;
}
.player-context-brand { flex-direction: column; align-items: flex-start !important; gap: 3px !important; }
.player-context-brand > span {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.player-context-brand small { font-size: 11px; color: var(--muted); }
.player-context-brand strong { color: var(--blue-glow); font-weight: 700; }
.player-context-rule { display: block; height: 1px; margin: 4px 7px; background: var(--line); }
.player-context-youtube { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; }
.player-context-youtube svg { flex: 0 0 auto; color: #ff3158; }
@media (prefers-reduced-motion: reduce) {
  .player-context-menu.open { animation: none; }
}

.player-boot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: radial-gradient(ellipse at 50% 40%, #101a3f, #04050a 75%);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 2;
}
.player-boot .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-glow);
  animation: pulseDot 1.6s ease-out infinite;
}
.player-boot[hidden] { display: none; }

.player-unmute {
  position: absolute;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(6, 7, 11, 0.66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.player-unmute:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateX(-50%) translateY(-2px);
}
.player-unmute[hidden] { display: none; }

/* ---- control bar ---- */
.player-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 34px 16px 12px;
  background: linear-gradient(to top, rgba(4, 5, 10, 0.92), rgba(4, 5, 10, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.player-shell.show-ctrl .player-controls,
.player-shell:focus-visible .player-controls {
  opacity: 1;
  pointer-events: auto;
}

.scrub {
  position: relative;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  margin-bottom: 10px;
  touch-action: none;
}
.scrub:hover { height: 6px; }
.scrub i {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  border-radius: 999px;
  pointer-events: none;
}
.scrub .buf { background: rgba(255, 255, 255, 0.28); width: 0; }
.scrub .fill {
  background: linear-gradient(90deg, var(--blue), var(--blue-glow));
  width: 0;
}
.scrub .knob {
  position: absolute;
  top: 50%; left: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s var(--ease);
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.scrub:hover .knob, .player-shell.show-ctrl .scrub .knob { transform: translate(-50%, -50%) scale(1); }

.ctrl-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ctrl-btn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.ctrl-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.ctrl-time {
  margin-left: 6px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ctrl-spacer { flex: 1; }

/* ---- now-playing bar ---- */
.now-bar { margin-top: 18px; }
.now-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.now-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.now-chip.accent {
  border-color: var(--blue);
  background: rgba(28, 63, 196, 0.18);
  color: var(--blue-glow);
}
.now-title {
  font-size: clamp(20px, 2.3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 30ch;
}

/* ---- up-next queue ---- */
.theater-aside { position: sticky; top: 95px; }
/* the playlist column never grows — long queues scroll inside it */
.theater-aside .queue {
  max-height: calc(100svh - 250px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--faint) transparent;
}
.aside-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.aside-head h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aside-head .n {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  text-align: right;
}

.queue {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.queue-item {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  width: 100%;
  padding: 9px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-raise);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.queue-item[data-qi] { cursor: pointer; }
.queue-item[data-qi]:hover {
  border-color: var(--line-strong);
  background: var(--bg-panel);
  transform: translateY(-2px);
}
.queue-item.active {
  border-color: var(--blue-bright);
  background: rgba(28, 63, 196, 0.14);
}
.queue-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue-deep), #05060a 75%);
  display: grid;
  place-items: center;
}
.queue-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.queue-item.active .queue-thumb img { opacity: 0.45; }
.soon-mark {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.queue-meta { min-width: 0; }
.queue-meta b {
  display: block;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink-dim);
}
.queue-item[data-qi]:hover .queue-meta b,
.queue-item.active .queue-meta b { color: #fff; }
.queue-meta small {
  display: block;
  margin-top: 5px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.queue-item.soon { opacity: 0.55; }

/* equalizer on the active row */
.eq {
  position: relative;
  z-index: 1;
  display: none;
  align-items: flex-end;
  gap: 3px;
  height: 16px;
}
.queue-item.active .eq { display: inline-flex; }
.eq s {
  width: 3.5px;
  background: var(--blue-glow);
  border-radius: 2px;
  animation: eqBar 1s ease-in-out infinite;
}
.eq s:nth-child(1) { height: 60%; animation-delay: 0s; }
.eq s:nth-child(2) { height: 100%; animation-delay: 0.18s; }
.eq s:nth-child(3) { height: 45%; animation-delay: 0.34s; }
@keyframes eqBar {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .eq s { animation: none; }
}

@media (max-width: 1000px) {
  .theater { min-height: 0; }
  .theater-grid { grid-template-columns: 1fr; }
  .theater-main .player-shell,
  .theater-main .now-bar { width: 100%; }
  .theater-aside { position: static; }
  .theater-aside .queue { max-height: none; overflow: visible; padding-right: 0; }
  .player-unmute { bottom: 64px; }
}
@media (max-width: 520px) {
  .queue-item { grid-template-columns: 96px minmax(0, 1fr); }
  .ctrl-time { display: none; }
}

/* ============ MEMBERS ============ */

.roster-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-btn {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.filter-btn:hover { color: #fff; border-color: var(--line-strong); }
.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 22px rgba(28, 63, 196, 0.4);
}
.filter-btn em { font-style: normal; opacity: 0.6; margin-left: 6px; }

.search-field {
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  max-width: 340px;
}
.search-field input {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 13px 20px 13px 46px;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.25s;
}
.search-field input::placeholder { color: var(--faint); }
.search-field input:focus { outline: none; border-color: var(--blue-bright); }
.search-field svg {
  position: absolute;
  left: 17px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  stroke: var(--faint);
  fill: none;
  stroke-width: 2;
}

.roster-count {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.roster-count strong { color: var(--blue-glow); font-size: 15px; }

.section-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: clamp(38px, 4vw, 62px) 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.section-label h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 800;
}
.section-label .n {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--faint);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.member {
  background: var(--bg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  position: relative;
  transition: background 0.35s var(--ease);
}
.member:hover { background: var(--bg-panel); }
.member-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(140deg, var(--blue-bright), var(--blue-deep));
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
  position: relative;
}
.member-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member:hover .member-avatar { transform: scale(1.08) rotate(-4deg); }
.member-name {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink-dim);
}
.member:hover .member-name { color: #fff; }
.member-role {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 3px;
}
.no-results {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

/* ============ NAME MARQUEE ============ */

.name-marquee {
  overflow: hidden;
  padding: clamp(30px, 4vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.name-marquee-track {
  display: flex;
  width: max-content;
  gap: 44px;
  will-change: transform;
}
.name-marquee-track b {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.6vw, 54px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  white-space: nowrap;
}
.name-marquee-track b:nth-child(3n) {
  color: var(--blue-glow);
  -webkit-text-stroke: 0;
}

/* ============ ALBUM / DISCOGRAPHY ============ */

.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
}
.album {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-raise);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.album:hover { transform: translateY(-6px); border-color: var(--blue-bright); }
.album-art {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--blue-deep), #05060a 70%);
}
.album-art::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: conic-gradient(from 0deg, transparent, rgba(77, 141, 255, 0.35), transparent 40%);
  animation: spinSheen 9s linear infinite;
}
@keyframes spinSheen { to { transform: rotate(360deg); } }
.album-art span {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 2.6vw, 38px);
  color: #fff;
  text-align: center;
  padding: 0 20px;
}
.album-meta { padding: 20px 22px 24px; }
.album-meta h3 { font-size: 18px; margin-bottom: 6px; }
.album-meta p { font-size: 13px; color: var(--muted); }

/* ============ EPISODE LIST (podcast) ============ */

.episode-list { border-top: 1px solid var(--line); }
.episode {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.45s var(--ease), background 0.4s;
}
.episode:hover { padding-left: 14px; }
.episode-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--faint);
}
.episode h3 { font-size: clamp(18px, 1.8vw, 24px); margin-bottom: 8px; }
.episode p { color: var(--muted); font-size: 15px; max-width: 62ch; }
.episode-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.episode-tags i { font-style: normal; color: var(--blue-glow); }
.episode-play {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.episode-play::before {
  content: "";
  border-left: 12px solid var(--ink);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  margin-left: 3px;
  transition: border-left-color 0.35s;
}
.episode:hover .episode-play { background: var(--blue); border-color: var(--blue); transform: scale(1.06); }
.episode:hover .episode-play::before { border-left-color: #fff; }

.subscribe-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.subscribe-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.subscribe-chip:hover {
  color: #fff;
  border-color: var(--blue-bright);
  background: rgba(28, 63, 196, 0.16);
  transform: translateY(-2px);
}

/* ============ EVENT / REUNION ============ */

.event-hero-card {
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(150deg, rgba(28, 63, 196, 0.24), var(--bg-raise) 62%);
}
.event-hero-card .media-thumb { border-radius: 0; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.detail-cell { background: var(--bg); padding: clamp(24px, 2.6vw, 38px); }
.detail-cell .k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 12px;
}
.detail-cell .v {
  font-family: var(--font-head);
  font-size: clamp(17px, 1.7vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}
.detail-cell .v small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 6px; letter-spacing: 0; }

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
  max-width: 620px;
}
.count-cell {
  background: var(--bg-raise);
  padding: clamp(18px, 2vw, 30px) 10px;
  text-align: center;
}
.count-cell b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.count-cell span {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.schedule { border-top: 1px solid var(--line); }
.schedule-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: padding-left 0.4s var(--ease);
}
.schedule-row:hover { padding-left: 14px; }
.schedule-time {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue-glow);
}
.schedule-row h3 { font-size: clamp(18px, 1.7vw, 22px); margin-bottom: 6px; }
.schedule-row p { color: var(--muted); font-size: 15px; }

/* ============ GALLERY ============ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.g-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, var(--blue-deep), #06070b);
  display: grid;
  place-items: center;
  color: var(--faint);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.6s; }
.g-item:hover img { transform: scale(1.07); }
.g-item.tall { aspect-ratio: 3 / 4; }
.g-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }

/* ============ CONTACT ============ */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-info-row {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
}
.contact-info-row .k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.contact-info-row .v { font-size: 16px; color: var(--ink-dim); }
.contact-info-row .v a:hover { color: var(--blue-glow); }

.contact-form {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 44px);
  background: var(--bg-raise);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field select { appearance: none; cursor: pointer; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(77, 141, 255, 0.14);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form-note { font-size: 13px; color: var(--faint); margin-top: 16px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(77, 141, 255, 0.45);
  background: rgba(28, 63, 196, 0.14);
  border-radius: 8px;
  font-size: 14.5px;
  color: #cfdcff;
}
.form-success.show { display: block; }

/* ============ FAQ ============ */

.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: clamp(20px, 2.4vw, 30px) 46px clamp(20px, 2.4vw, 30px) 0;
  font-family: var(--font-head);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  position: relative;
  color: var(--ink);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--blue-glow); }
.faq-q::after {
  content: "+";
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--blue-bright);
  transition: transform 0.4s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { overflow: hidden; height: 0; }
.faq-a p { color: var(--muted); font-size: 16px; padding-bottom: 28px; max-width: 74ch; }

/* ============ FOOTER ============ */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-raise);
  padding: clamp(56px, 6vw, 92px) 0 0;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 68px);
}
.footer-brand .logo { margin-bottom: 22px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 38ch; }
.footer-col h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  font-size: 15px;
  color: var(--ink-dim);
  transition: color 0.25s, padding-left 0.25s var(--ease);
}
.footer-col a:hover { color: var(--blue-glow); padding-left: 5px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: var(--faint);
}
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.3s;
}
.powered-by::before {
  content: "◆";
  font-size: 7px;
  color: var(--blue-bright);
  transition: transform 0.4s var(--ease);
}
.powered-by strong {
  color: var(--ink-dim);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
.powered-by:hover { color: var(--ink-dim); }
.powered-by:hover strong { color: #fff; border-bottom-color: var(--blue-bright); }
.powered-by:hover::before { transform: rotate(180deg) scale(1.3); }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.social-row a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
.social-row svg { width: 16px; height: 16px; fill: currentColor; }

/* ============ PRELOADER + PAGE CURTAIN ============ */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--bg);
  display: grid;
  place-items: center;
}
.preloader-inner { text-align: center; width: min(420px, 76vw); }
.preloader-logo {
  width: 88px; height: 88px;
  object-fit: contain;
  margin: 0 auto 26px;
  filter: drop-shadow(0 6px 30px rgba(77, 141, 255, 0.45));
}
.preloader-word {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 26px;
}
.preloader-bar {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.preloader-bar i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-glow), #fff);
  transform: scaleX(0);
  transform-origin: left;
}
.preloader-pct {
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}


/* ============ CUSTOM CURSOR ============ */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 600;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--blue-glow); margin: -3px 0 0 -3px; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin: -17px 0 0 -17px;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), margin 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor-ring.hovering {
  width: 62px; height: 62px;
  margin: -31px 0 0 -31px;
  background: rgba(77, 141, 255, 0.14);
  border-color: var(--blue-bright);
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ REVEAL ============ */

.reveal { opacity: 0; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; }
.char { display: inline-block; will-change: transform; }

/* ============ RESPONSIVE ============ */

@media (max-width: 1100px) {
  .contact-grid { grid-template-columns: 1fr; }
  .quote-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-panel { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .process-row { grid-template-columns: 70px minmax(0, 1fr); }
  .process-row p { grid-column: 2; }
  .episode { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; }
  .schedule-row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-inner > .btn-cta { display: none; }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    background: rgba(6, 7, 11, 0.97);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 205;
    clip-path: circle(0% at calc(100% - 40px) 40px);
    transition: clip-path 0.65s var(--ease);
  }
  .nav-links.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .nav-links a {
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    padding: 12px 0;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s ease, transform 0.4s var(--ease), color 0.25s;
  }
  .nav-links a::after { display: none; }
  .nav-links.open a { opacity: 1; transform: none; }
  .nav-links.open a:nth-child(1) { transition-delay: 0.16s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.21s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.26s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.31s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.36s; }
  .nav-links.open a:nth-child(6) { transition-delay: 0.41s; }
  .nav-links .btn-cta { display: inline-block; margin-top: 26px; font-size: 12px; }
  .nav-links.open .btn-cta { transition-delay: 0.46s; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .hero { padding-top: 128px; }
  .hero-sound { right: auto; left: var(--pad); bottom: 18px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .countdown { grid-template-columns: 1fr 1fr; }
  .g-item.wide { grid-column: span 1; }
  .contact-info-row { grid-template-columns: 1fr; gap: 6px; }
  .quote-mark { font-size: 90px; }
  .roster-controls { flex-direction: column; align-items: stretch; }
  .search-field { max-width: none; }
}

@media (max-width: 520px) {
  .stats-panel { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .stat-cell:last-child { border-bottom: none; }
  .member-grid { grid-template-columns: 1fr; }
  .episode { grid-template-columns: minmax(0, 1fr) auto; }
  .episode-num { display: none; }
}

/* ============ MOTION PREFERENCES ============ */

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ PRINT ============ */

@media print {
  .site-header, .preloader, .grid-bg, .glow-field,
  .cursor-dot, .cursor-ring, .hero-video, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
}
