:root {
  --bg-canvas: #070709;
  --bg-surface-1: #0e0f12;
  --bg-surface-2: #141519;
  --bg-surface-3: #1c1d22;
  --bg-surface-hover: #25272e;
  --border-subtle: rgba(255, 255, 255, 0.09);
  --border-gold: rgba(244, 178, 102, 0.42);
  --border-accent: rgba(168, 199, 250, 0.36);
  --text-primary: #f2f3f5;
  --text-secondary: #b9bec7;
  --text-muted: #7f8694;
  --gold: #f4b266;
  --gold-bright: #ffd399;
  --gold-ink: #1a0f02;
  --accent: #a8c7fa;
  --accent-strong: #d3e3fd;
  --live-red: #ff4d5a;
  --ok-green: #6dd58c;
  --radius-sm: 11px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  overflow-x: hidden;
}

a {
  color: var(--gold-bright);
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.mono {
  font-family: var(--font-mono);
}

.ic {
  display: inline-block;
  flex-shrink: 0;
}

/* Subtle Film Grain (0 image bytes) */
.film-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.032;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

/* Custom Cinematic Cursor (Desktop) */
.cine-cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 211, 153, 0.9);
  mix-blend-mode: difference;
  z-index: 120;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, border 0.2s ease, opacity 0.25s ease;
}

.cine-cursor.visible {
  opacity: 1;
}

.cine-cursor.hovering {
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1.5px solid #ffd399;
}

@media (pointer: coarse), (max-width: 768px) {
  .cine-cursor {
    display: none !important;
  }
}

/* TOPBAR */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.88), rgba(7, 7, 9, 0.52));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
}

.brand-emblem {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 18px rgba(244, 178, 102, 0.28);
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.1;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ffb4bc;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live-red);
  box-shadow: 0 0 0 0 rgba(255, 77, 90, 0.75);
  animation: pulse 1.8s infinite;
  display: inline-block;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 90, 0.75); }
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 90, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 90, 0); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.16s ease;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-pill-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(20, 21, 25, 0.72);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.icon-pill-btn[aria-pressed="true"],
.icon-pill-btn:hover {
  border-color: var(--border-gold);
  color: var(--gold-bright);
  background: rgba(244, 178, 102, 0.14);
}

.lang-switch {
  display: inline-flex;
  background: rgba(20, 21, 25, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: rgba(244, 178, 102, 0.22);
  color: var(--gold-bright);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.2s ease, background 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 0.94rem;
}

.btn-full {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, #f6be78, #e69745);
  color: var(--gold-ink);
  box-shadow: 0 8px 28px rgba(244, 178, 102, 0.28);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffd399, #f4ad5b);
  box-shadow: 0 12px 34px rgba(244, 178, 102, 0.42);
}

.btn-glass {
  background: rgba(24, 26, 32, 0.74);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
}

.btn-glass:hover {
  background: rgba(36, 39, 48, 0.88);
  border-color: var(--border-gold);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.36);
}

/* =========================================================
   MOBILE BEACONS MODE (Hidden on Desktop, Primary on <=768px)
   ========================================================= */
.mobile-beacons {
  display: none;
}

/* =========================================================
   CH.01 — DESKTOP FULL-BLEED CINEMATIC HERO
   ========================================================= */
.cine-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 104px 0 68px;
  overflow: hidden;
}

.cine-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cine-hero-img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.06) brightness(0.76);
  will-change: transform;
}

/* Volumetric Tharsis Amber God-Rays (CSS-only per cinematic-landing skill) */
.cine-god-rays {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 560px at 78% 36%, rgba(255, 166, 77, 0.24), transparent 62%),
    linear-gradient(118deg, transparent 42%, rgba(255, 187, 110, 0.11) 52%, transparent 62%),
    radial-gradient(640px 420px at 14% 78%, rgba(168, 199, 250, 0.12), transparent 68%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.cine-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 9, 0.94) 0%, rgba(7, 7, 9, 0.74) 44%, rgba(7, 7, 9, 0.25) 75%, rgba(7, 7, 9, 0.55) 100%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.55) 0%, transparent 25%, rgba(7, 7, 9, 0.45) 78%, var(--bg-canvas) 100%);
}

/* Editorial Vertical Label (writing-mode: vertical-rl per cinematic-landing skill) */
.editorial-rail {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: rgba(255, 211, 153, 0.52);
  z-index: 3;
  user-select: none;
}

.cine-hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.creator-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.76);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin-bottom: 20px;
}

.creator-pill img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.dot-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.cine-hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 4.1vw, 3.65rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 30%, #e4d4be 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 1.05rem;
  color: #cfd5df;
  max-width: 58ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.tech-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(14, 15, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.tech-badge img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.glow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.glow-dot.green {
  background: var(--ok-green);
  box-shadow: 0 0 10px var(--ok-green);
}

/* Live Monitor Card on Hero Right */
.live-monitor-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(244, 178, 102, 0.34);
  background: rgba(14, 15, 18, 0.85);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.72), 0 0 40px rgba(244, 178, 102, 0.12);
  transition: transform 0.25s ease, border-color 0.25s ease;
  margin-bottom: 14px;
}

.live-monitor-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.monitor-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.monitor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.live-monitor-card:hover .monitor-media img {
  transform: scale(1.05);
}

.monitor-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.live-pill-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(18, 10, 12, 0.84);
  border: 1px solid rgba(255, 77, 90, 0.55);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffd0d4;
}

.monitor-sync {
  font-size: 0.68rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 9, 0.74);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.play-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(244, 178, 102, 0.24);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 211, 153, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  padding-left: 3px;
  box-shadow: 0 0 36px rgba(244, 178, 102, 0.45);
  transition: transform 0.22s ease, background 0.22s ease;
}

.live-monitor-card:hover .play-orb {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(244, 178, 102, 0.45);
}

.monitor-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 18px 16px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 9, 0.94));
}

.monitor-bottom .mono {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  margin-bottom: 3px;
}

.monitor-bottom p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.kpi-glass-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.kpi-glass {
  background: rgba(14, 15, 18, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 12px 13px;
}

.kpi-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
}

.kpi-value small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* =========================================================
   SECTIONS & CHAPTER FULL-BLEED SCENIC BACKDROPS
   ========================================================= */
.section {
  padding: 86px 0;
  position: relative;
}

.chapter-scene {
  overflow: hidden;
  isolation: isolate;
}

.chapter-scene > .container {
  position: relative;
  z-index: 2;
}

.chapter-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.chapter-bg-img {
  width: 100%;
  height: 122%;
  object-fit: cover;
  object-position: center;
  transform: translateY(-6%) scale(1.04);
  opacity: 0.42;
  filter: saturate(1.12) contrast(1.06);
  will-change: transform;
}

.chapter-bg-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-canvas) 0%, rgba(7, 7, 9, 0.48) 18%, rgba(7, 7, 9, 0.54) 78%, var(--bg-canvas) 100%),
    radial-gradient(960px 520px at 50% 45%, rgba(7, 7, 9, 0.12), rgba(7, 7, 9, 0.72) 100%);
}

/* Per-Chapter Color Grading Moods */
.scene-cyan .chapter-bg-veil {
  background:
    linear-gradient(180deg, var(--bg-canvas) 0%, rgba(7, 10, 14, 0.45) 18%, rgba(7, 10, 14, 0.56) 80%, var(--bg-canvas) 100%),
    radial-gradient(880px 480px at 78% 28%, rgba(120, 195, 255, 0.14), transparent 65%);
}

.scene-violet .chapter-bg-img {
  opacity: 0.46;
}

.scene-violet .chapter-bg-veil {
  background:
    linear-gradient(180deg, var(--bg-canvas) 0%, rgba(9, 8, 16, 0.42) 16%, rgba(8, 8, 14, 0.58) 82%, var(--bg-canvas) 100%),
    radial-gradient(920px 520px at 22% 24%, rgba(154, 134, 255, 0.16), transparent 66%);
}

.scene-steel .chapter-bg-img {
  opacity: 0.34;
}

.scene-steel .chapter-bg-veil {
  background:
    linear-gradient(180deg, var(--bg-canvas) 0%, rgba(8, 12, 16, 0.56) 18%, rgba(7, 10, 14, 0.64) 82%, var(--bg-canvas) 100%),
    radial-gradient(860px 440px at 75% 35%, rgba(168, 199, 250, 0.15), transparent 66%);
}

.scene-gold .chapter-bg-img {
  opacity: 0.44;
}

.scene-gold .chapter-bg-veil {
  background:
    linear-gradient(180deg, var(--bg-canvas) 0%, rgba(12, 10, 7, 0.46) 16%, rgba(10, 9, 8, 0.58) 82%, var(--bg-canvas) 100%),
    radial-gradient(900px 500px at 72% 32%, rgba(244, 178, 102, 0.18), transparent 65%);
}

.scene-deep .chapter-bg-img {
  opacity: 0.36;
}

.rail-subtle {
  opacity: 0.55;
}

/* Right-Side Floating Chapter Progress Nav */
.chapter-nav {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.68);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chapter-counter {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

.ch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ch-dot:hover {
  background: var(--gold);
  transform: scale(1.25);
}

.ch-dot.active {
  background: var(--gold-bright);
  transform: scale(1.35);
  box-shadow: 0 0 12px rgba(244, 178, 102, 0.85);
}

@media (max-width: 1120px) {
  .chapter-nav {
    display: none;
  }
}

/* Frosted Glass Elevation over Scenic Chapter Backdrops */
.chapter-scene .channel-card,
.chapter-scene .surface-card,
.chapter-scene .gallery-card,
.chapter-scene .roster-panel,
.chapter-scene .faq-list details {
  background: rgba(16, 17, 22, 0.74);
  backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.12);
}

.chapter-scene .channel-card.featured {
  background: linear-gradient(155deg, rgba(88, 101, 242, 0.22), rgba(16, 17, 22, 0.8) 58%);
  border-color: rgba(114, 128, 255, 0.5);
}

.chapter-scene .roster-panel {
  border-color: var(--border-gold);
}

.section-alt {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(244, 178, 102, 0.055), transparent 70%),
    var(--bg-surface-1);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 8px;
}

h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.section-sub {
  margin: 0;
  max-width: 52ch;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Platform Colors */
.soc-discord { background: #5865F2; color: #fff; }
.soc-yt { background: #FF0033; color: #fff; }
.soc-tt { background: #141418; color: #25F4EE; border: 1px solid rgba(37, 244, 238, 0.45); }
.soc-fb { background: #1877F2; color: #fff; }
.soc-x { background: #16181c; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); }

.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.channel-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.channel-card.featured {
  grid-column: span 2;
  border-color: rgba(88, 101, 242, 0.48);
  background: linear-gradient(155deg, rgba(88, 101, 242, 0.14), var(--bg-surface-2) 55%);
}

.ch-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0b0c0f;
}

.channel-card.featured .ch-thumb {
  aspect-ratio: 21 / 9;
}

.ch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.channel-card:hover .ch-thumb img {
  transform: scale(1.06);
}

.ch-thumb-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 9, 0.35) 0%, transparent 45%, rgba(20, 21, 25, 0.96) 100%);
}

.ch-plat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.live-pill-mini {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(15, 8, 10, 0.84);
  border: 1px solid rgba(255, 77, 90, 0.55);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  color: #ffc8ce;
}

.status-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.status-hq {
  color: var(--ok-green);
  border-color: rgba(109, 213, 140, 0.42);
}

.ch-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.ch-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
}

.ch-body p {
  margin: 0;
  font-size: 0.89rem;
  color: var(--text-secondary);
  flex: 1;
}

.channel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-bright);
  margin-top: 6px;
}

/* =========================================================
   CH.03 — CANON CAST & WORLD GALLERY
   ========================================================= */
.cast-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 26px;
}

.cast-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0c0d10;
  border: 1px solid var(--border-subtle);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.cast-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-gold);
}

.cast-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.cast-card:hover img {
  transform: scale(1.06);
}

.cast-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 9, 0.95) 62%);
}

.cast-code {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 3px;
}

.cast-overlay h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.cast-overlay p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.22s ease, transform 0.22s ease;
}

.gallery-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card figcaption {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gal-num {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.gallery-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.gallery-card span:last-child {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* =========================================================
   CH.04 — TELEMETRY
   ========================================================= */
.telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.surface-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.progress-block {
  margin-bottom: 18px;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7cacf8, #a8c7fa);
  transition: width 0.5s ease;
}

.progress-bar.bar-gold {
  background: linear-gradient(90deg, #e69745, #ffd399);
}

.progress-bar.bar-green {
  background: linear-gradient(90deg, #37be6f, #6dd58c);
}

.command-box {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.command-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.command-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.command-pills code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
}

.command-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.table-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.ssot-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.ssot-table th,
.ssot-table td {
  padding: 11px 8px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
  vertical-align: top;
}

.ssot-table tr:last-child th,
.ssot-table tr:last-child td {
  border-bottom: 0;
}

.ssot-table th {
  width: 38%;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================
   CH.05 — FOUNDING CREW & LIVE WALL OF FAME
   ========================================================= */
.crew-grid {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 30px;
  align-items: start;
}

.crew-copy p {
  color: var(--text-secondary);
}

.crew-perks {
  margin: 18px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.93rem;
}

.roster-panel {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-2);
  border: 1px solid var(--border-gold);
}

.roster-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.roster-title {
  font-size: 0.86rem;
  font-weight: 600;
}

.roster-count {
  font-size: 0.86rem;
  color: var(--gold-bright);
}

.roster-track {
  height: 7px;
  margin-bottom: 14px;
}

.roster-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.roster-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--bg-surface-3);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
}

.roster-pill code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-bright);
}

.roster-empty {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

input,
select,
textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-3);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
}

.form-error {
  margin: 10px 0 0;
  color: #ffb4ab;
  font-size: 0.85rem;
}

.boarding-pass {
  padding: 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(244, 178, 102, 0.16), #16171d 65%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.pass-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pass-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pass-brand img {
  border-radius: 50%;
  border: 1px solid var(--border-gold);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.chip-gold {
  background: rgba(244, 178, 102, 0.18);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
}

.pass-id {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-bright);
}

.boarding-pass h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.pass-meta {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--accent-strong);
}

.pass-hint {
  margin: 0 0 16px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.pass-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* FAQ & FOOTER */
.faq-wrap {
  max-width: 880px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  background: var(--bg-surface-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-surface-1);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  border-radius: 50%;
  border: 1px solid var(--border-gold);
}

.footer p {
  margin: 3px 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--gold-bright);
}

/* =========================================================
   TABLET BREAKPOINT
   ========================================================= */
@media (max-width: 1024px) {
  .editorial-rail,
  .nav-links {
    display: none;
  }

  .cine-hero-content,
  .telemetry-grid,
  .crew-grid {
    grid-template-columns: 1fr;
  }

  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-card.featured {
    grid-column: span 2;
  }
}

/* =========================================================
   MOBILE BEACONS MODE (<= 768px) — Ultra-Clean Link-in-Bio!
   ========================================================= */
@media (max-width: 768px) {
  .topbar,
  .cine-hero,
  #channels {
    display: none !important;
  }

  .mobile-beacons {
    display: block;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 18px;
  }

  .beacons-cover {
    position: relative;
    height: 158px;
    overflow: hidden;
  }

  .beacons-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 65% center;
  }

  .beacons-cover-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 7, 9, 0.32) 0%, rgba(7, 7, 9, 0.25) 48%, var(--bg-canvas) 100%);
  }

  .beacons-floating-bar {
    position: absolute;
    top: 12px;
    left: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .beacons-top-tools {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .beacons-profile {
    position: relative;
    margin-top: -50px;
    padding: 0 18px;
    text-align: center;
  }

  .beacons-avatar-ring {
    position: relative;
    width: 94px;
    height: 94px;
    margin: 0 auto 10px;
  }

  .beacons-avatar-main {
    width: 94px;
    height: 94px;
    border-radius: 50%;
    border: 2.5px solid var(--gold);
    box-shadow: 0 0 28px rgba(244, 178, 102, 0.42);
    object-fit: cover;
  }

  .beacons-avatar-creator {
    position: absolute;
    right: -4px;
    bottom: -2px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--bg-canvas);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  }

  .beacons-name-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
  }

  .beacons-title {
    font-family: var(--font-display);
    font-size: 1.24rem;
    letter-spacing: 0.08em;
  }

  .ic-verified {
    color: var(--gold);
  }

  .beacons-handle {
    margin: 0 auto 10px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    max-width: 34ch;
  }

  .beacons-mini-stats {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
  }

  .beacons-mini-stats strong {
    color: var(--gold-bright);
  }

  .beacons-mini-stats .sep {
    color: var(--text-muted);
  }

  .beacons-social-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .soc-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42);
    transition: transform 0.16s ease;
  }

  .soc-circle:active {
    transform: scale(0.93);
  }

  .beacons-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 16px;
  }

  .b-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px 9px 9px;
    border-radius: 16px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
    transition: transform 0.14s ease, border-color 0.16s ease;
  }

  .b-link:active {
    transform: scale(0.98);
  }

  .b-link-gold {
    background: linear-gradient(135deg, rgba(244, 178, 102, 0.2), rgba(20, 21, 25, 0.96) 65%);
    border-color: var(--border-gold);
  }

  .b-link-discord {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.22), rgba(20, 21, 25, 0.96) 65%);
    border-color: rgba(88, 101, 242, 0.5);
  }

  .b-thumb-wrap {
    position: relative;
    flex-shrink: 0;
  }

  .b-thumb {
    width: 54px;
    height: 54px;
    border-radius: 11px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .b-plat-dot {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-surface-2);
  }

  .b-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
  }

  .b-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    color: var(--text-muted);
  }

  .b-badge-gold {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(244, 178, 102, 0.22);
    color: var(--gold-bright);
    font-weight: 700;
  }

  .b-badge-green {
    padding: 2px 6px;
    border-radius: 999px;
    background: rgba(109, 213, 140, 0.18);
    color: var(--ok-green);
    font-weight: 700;
  }

  .b-badge-live {
    color: #ff7c86;
    font-weight: 700;
  }

  .b-info strong {
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .b-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
  }

  .b-link-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .b-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    background: var(--bg-surface-2);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
  }

  .soc-mini {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .b-mini-card strong {
    display: block;
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .b-mini-card small {
    font-size: 0.68rem;
    color: var(--text-muted);
  }

  /* Swipeable Media Reel */
  .beacons-reel-section {
    margin-top: 20px;
    padding: 0 16px;
  }

  .beacons-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 10px;
  }

  .beacons-reel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  .beacons-reel::-webkit-scrollbar {
    display: none;
  }

  .beacons-reel img {
    flex: 0 0 168px;
    height: 112px;
    border-radius: 13px;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
    scroll-snap-align: start;
  }

  /* Compact Below-the-Fold Sections on Mobile */
  .section {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

  .gallery-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .cast-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .cast-overlay {
    padding: 28px 10px 10px;
  }

  .cast-overlay p {
    display: none;
  }

  #telemetry {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
