/* =========================================================================
   CYBER UTOPIA, landing page
   Anchored to Deutsche Telekom Liquid Brand Design (Playbook 2025/26).
   Telekom Magenta #E20074 + TeleNeo on the brand layer.
   CCTV chrome stays achromatic, magenta NEVER on the surveillance overlay.
   ========================================================================= */

/* TeleNeo, brand display + body */
@font-face {
  font-family: "TeleNeo";
  src: url("fonts/TeleNeoVariable-Upright.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Static fallbacks if variable fonts unsupported */
@font-face { font-family: "TeleNeo Office"; src: url("fonts/TeleNeoOffice-Regular.ttf")  format("truetype"); font-weight: 400; }
@font-face { font-family: "TeleNeo Office"; src: url("fonts/TeleNeoOffice-Medium.ttf")   format("truetype"); font-weight: 500; }
@font-face { font-family: "TeleNeo Office"; src: url("fonts/TeleNeoOffice-Bold.ttf")     format("truetype"); font-weight: 700; }
@font-face { font-family: "TeleNeo Office"; src: url("fonts/TeleNeoOffice-ExtraBold.ttf") format("truetype"); font-weight: 800; }
@font-face { font-family: "TeleNeo Office"; src: url("fonts/TeleNeoOffice-Ultra.ttf")    format("truetype"); font-weight: 900; }

:root {
  /* PLAYBOOK BRAND */
  --magenta:      #E20074;       /* TeleMagenta, the one non-negotiable */
  --magenta-hot:  #FF0099;       /* installation legacy (used sparingly on quiz screens) */
  --magenta-rgb:  226 0 116;

  /* CCTV / system register, achromatic */
  --acid:         #D6FF40;       /* legacy installation accent for the inner quiz only */
  --teal:         #00FFAA;
  --purple:       #CC44FF;
  --red:          #ff2222;

  --ink:          #0A0A0B;       /* deep neutral, never pure black */
  --dark:         #050d0a;
  --dark2:        #0a1a12;
  --dark3:        #0f1f18;
  --text:         #e8f0ec;
  --muted:        #6a8a76;
  --border:       rgba(214,255,64,0.15);

  /* HUD chrome, always achromatic, NEVER magenta */
  --hud-fg:       rgba(255,255,255,0.92);
  --hud-fg-dim:   rgba(255,255,255,0.55);
  --hud-rule:     rgba(255,255,255,0.18);

  /* Typography */
  --font-display: "TeleNeo", "TeleNeo Office", "Inter", system-ui, sans-serif;
  --font-body:    "TeleNeo", "TeleNeo Office", "Inter", system-ui, sans-serif;
  --font-hud:     "JetBrains Mono", "Space Mono", "Share Tech Mono", ui-monospace, monospace;
  --font-mono:    "Space Mono", monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   UTOPIA UNLOCKED, site-wide PAGE TAKEOVER
   Triggered when score = 100% (42/42). Persists via localStorage.
   The cyber-utopia video becomes the entire background of the
   page, surveillance dies, the bloom comes through everywhere.
   ============================================================ */
.utopia-bg {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 2.2s ease;
}
.utopia-bg video {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.18) brightness(1.0);
}
/* Only a whisper of darkening so text stays readable; NO heavy scrim. */
.utopia-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.32) 60%, rgba(0,0,0,0.48) 100%);
}

/* ── Activate the takeover ─────────────────────────────────── */
body.is-utopia-unlocked { background: #000; }
body.is-utopia-unlocked .utopia-bg { opacity: 1; }

/* Kill the green/magenta ambient wash + scanlines + stars so the
   utopia video is the ONE atmosphere on the page. */
body.is-utopia-unlocked::before { opacity: 0; }
body.is-utopia-unlocked .scanlines { opacity: 0; }
body.is-utopia-unlocked .stars { opacity: 0; transition: opacity 1.2s ease; }

/* Surveillance hero collapses, cams fade way back, grid becomes a
   ghost of itself, content (CTA, title) still reads on top. */
body.is-utopia-unlocked .hero { background: transparent; }
body.is-utopia-unlocked .hero-grid { opacity: 0.18; filter: blur(2px); transition: opacity 1.4s ease, filter 1.4s ease; }
body.is-utopia-unlocked .cam video { filter: grayscale(100%) contrast(0.9) brightness(0.55); }
body.is-utopia-unlocked .cam::after { background: radial-gradient(ellipse at 50% 50%, transparent 20%, rgba(0,0,0,0.92) 100%); }
body.is-utopia-unlocked .hero-cta {
  background: radial-gradient(ellipse 75% 55% at 50% 50%, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.10) 60%, transparent 100%);
}

/* Every section becomes a glass plate on top of the video, not an
   opaque dark block. Borders + scrims keep text on the brand layer. */
body.is-utopia-unlocked .section { background: transparent !important; }
body.is-utopia-unlocked #quiz,
body.is-utopia-unlocked #newsletter,
body.is-utopia-unlocked #learn,
body.is-utopia-unlocked #impressum {
  background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.58) 100%) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
body.is-utopia-unlocked .quiz-shell,
body.is-utopia-unlocked .score-card,
body.is-utopia-unlocked .raffle-callout {
  background: rgba(0,0,0,0.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* Theme cards keep their bright white brand-layer surface even when
   the utopia background takeover is active — no grayscale scrim. */
body.is-utopia-unlocked .theme-card {
  background: #FFFFFF !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Utopia reveal screen sits ON TOP of the takeover — the swim video
   IS the overlay. Drop dimming + the body's page-wide video so the
   swim clip is the only thing on stage. */
body.is-utopia-unlocked #utopia-reveal { background: #000; }
body.is-utopia-unlocked #utopia-reveal .reveal-video { display: block; }
body.is-utopia-unlocked.is-reveal-overlay .utopia-bg { opacity: 0; }

/* Footer transparent too */
body.is-utopia-unlocked .footer { background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }

/* CCTV bar gets a magenta "unlocked" chip */
.unlock-chip {
  display: none;
  align-items: center; gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--magenta);
  color: var(--magenta);
  margin-left: 16px;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(226,0,116,0.45);
  animation: chipPulse 3s ease-in-out infinite;
}
.unlock-chip::before {
  content: "✦"; color: var(--magenta);
}
body.is-utopia-unlocked .unlock-chip { display: inline-flex; }
@keyframes chipPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(226,0,116,0.45); }
  50%      { box-shadow: 0 0 24px rgba(226,0,116,0.75); }
}

/* ---- Global ambient layers ---- */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 50%, rgba(0,80,40,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 85% 30%, rgba(80,0,80,0.25) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(0,40,30,0.4) 0%, transparent 60%);
  pointer-events: none;
}
.scanlines {
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.08) 3px, rgba(0,0,0,0.08) 4px);
}
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; }
.star {
  position: absolute; border-radius: 50%;
  background: rgba(214,255,64,0.5);
  animation: twinkle var(--d) ease-in-out infinite;
}
@keyframes twinkle { 0%,100%{opacity:.1;transform:scale(1)} 50%{opacity:.8;transform:scale(1.4)} }

/* ---- Sticky CCTV bar (achromatic per playbook rule) ---- */
.cctv-bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0,0,0,0.78);
  border-bottom: 1px solid var(--hud-rule);
  padding: 10px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.14em; color: var(--hud-fg);
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
/* Every direct child + the nav links/chips inside align on a single
   centered axis, so the rec-dot, unlock chip, nav links, escape button
   and live clock all share a vertical centerline. */
.cctv-bar > span,
.cctv-bar > nav { display: inline-flex; align-items: center; }
.cctv-bar > span { gap: 10px; }
.cctv-bar nav a,
.cctv-bar nav .nav-has-dropdown,
.cctv-bar nav .nav-has-dropdown > a { display: inline-flex; align-items: center; line-height: 1; }
.cctv-bar #live-clock { display: inline-flex; align-items: center; }
.cctv-bar a { color: var(--hud-fg-dim); text-decoration: none; transition: color .15s; }
.cctv-bar a:hover { color: var(--magenta); }

/* Magenta CTA inside the CCTV bar — the "play the escape room" entry */
.cctv-bar a.cctv-escape-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px 5px 11px;
  border: 1px solid var(--magenta);
  color: var(--magenta);
  letter-spacing: 0.12em;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(226,0,116,0.05);
  transition: background .15s, color .15s, transform .15s, box-shadow .15s;
}
.cctv-bar a.cctv-escape-btn:hover {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 0 18px rgba(226,0,116,0.45);
}
.cctv-bar a.cctv-escape-btn .cctv-escape-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 8px rgba(226,0,116,0.85);
  animation: blink 1.6s step-end infinite;
}
.cctv-bar a.cctv-escape-btn:hover .cctv-escape-dot {
  background: #fff; box-shadow: 0 0 8px rgba(255,255,255,0.9);
}
/* Cluster the nav + clock to the right of the bar; left meta gets the rest. */
.cctv-bar nav { display: flex; gap: 18px; margin-left: auto; margin-right: 24px; }
.rec-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 6px var(--red);
  margin-right: 8px; vertical-align: middle;
  animation: blink 1.6s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.15} }

/* ---- Ticker, TeleMagenta, white type, playbook discipline ---- */
.ticker {
  position: relative; z-index: 10;
  background: var(--magenta);
  overflow: hidden; white-space: nowrap;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(0,0,0,0.18);
}
.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: tickerMove 60s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
}
.ticker-inner .t-run {
  display: inline-block;
  padding-right: 0; /* spacing handled by the trailing ' · ' in the string */
  flex-shrink: 0;
}
@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- Section scaffold (scrollytelling) ---- */
.section {
  position: relative; z-index: 2;
  padding: 80px 24px;
}
.section-inner { max-width: 1100px; margin: 0 auto; }
.section--narrow .section-inner { max-width: 780px; }
.section--wide .section-inner { max-width: 1400px; }

.section-eyebrow {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 0.20em; color: var(--magenta);
  text-transform: uppercase; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--magenta); }
.section-h {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(28px, 5vw, 56px); letter-spacing: 0.10em;
  line-height: 1.1; color: var(--acid);
  text-transform: uppercase; margin-bottom: 16px;
}
.section-h .m { color: var(--magenta); }
.section-h .grad {
  background: linear-gradient(90deg, var(--acid) 0%, var(--teal) 30%, #8888ff 60%, var(--magenta) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-lead {
  font-family: 'Courier Prime', monospace;
  font-style: italic; font-size: 17px; line-height: 1.7;
  color: rgba(232,240,236,0.7); max-width: 640px;
  margin-bottom: 32px;
}

/* ============================================================
   SECTION 1 · CCTV HERO
   ============================================================ */
.hero {
  position: relative; z-index: 2;
  height: 100vh; min-height: 720px;
  overflow: hidden;
  background: #050505;
  padding: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px; background: #0a0a0a;
}
.cam {
  position: relative; overflow: hidden; background: #050505;
}
.cam.feature { grid-column: 1; grid-row: 1 / 3; }
.cam video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15) brightness(0.85);
}
.cam.feature video { filter: grayscale(100%) contrast(1.05) brightness(0.95); }
.cam::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: radial-gradient(ellipse at 50% 50%, transparent 38%, rgba(0,0,0,0.72) 100%);
}
.cam .cam-scan {
  position: absolute; inset: 0; pointer-events: none; z-index: 3;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,0.18) 3px, rgba(0,0,0,0.18) 4px);
}
/* HUD chrome on each camera, strict achromatic per playbook */
.cam .hud {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  font-family: var(--font-hud);
  font-size: clamp(9px, 0.85vw, 12px); color: var(--hud-fg);
  letter-spacing: 0.16em; text-transform: uppercase;
  text-shadow: 0 0 5px rgba(0,0,0,0.95), 1px 1px 0 rgba(0,0,0,0.95);
}
.htl { position: absolute; top: 8px; left: 10px; }
.htr { position: absolute; top: 8px; right: 10px; }
.hbl { position: absolute; bottom: 8px; left: 10px; color: rgba(255,255,255,0.4); font-size: 0.85em; }
.cam .corner {
  position: absolute; width: 14px; height: 14px; z-index: 5; pointer-events: none;
}
.cam .corner.tl { top: 7px; left: 7px; border-top: 2px solid rgba(255,255,255,0.35); border-left: 2px solid rgba(255,255,255,0.35); }
.cam .corner.tr { top: 7px; right: 7px; border-top: 2px solid rgba(255,255,255,0.35); border-right: 2px solid rgba(255,255,255,0.35); }
.cam .corner.bl { bottom: 7px; left: 7px; border-bottom: 2px solid rgba(255,255,255,0.35); border-left: 2px solid rgba(255,255,255,0.35); }
.cam .corner.br { bottom: 7px; right: 7px; border-bottom: 2px solid rgba(255,255,255,0.35); border-right: 2px solid rgba(255,255,255,0.35); }

/* Hero center CTA, brand layer; bold, readable, playbook lockup */
.hero-cta {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  pointer-events: none;
  text-align: center;
  /* Reserve enough vertical room so the meta line never slides
     under the magenta ticker. The ticker is ~38px tall; the cushion
     below the meta text is generous so growing the hero copy still
     keeps clearance. */
  padding-bottom: 140px;
  /* Strong scrim so the title is unmistakably readable over the camera grid */
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.20) 100%);
}
.hero-cta-inner {
  pointer-events: auto; max-width: 780px; padding: 0 32px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--hud-fg-dim);
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid var(--hud-rule);
  background: rgba(0,0,0,0.55);
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot { 50% { opacity: 0.35; transform: scale(0.7); } }

.hero-title {
  font-family: 'VT323', monospace;
  font-weight: 400;
  font-size: clamp(72px, 13vw, 184px);
  letter-spacing: 0.08em;
  line-height: 0.94;
  color: #fff;
  text-transform: uppercase;
  text-shadow: none;
  margin-bottom: 18px;
}
.hero-title .m {
  display: block;
  background: linear-gradient(135deg, var(--acid) 0%, #7fffd4 42%, var(--magenta) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(214,255,64,0.30));
  letter-spacing: 0.10em;
}

.hero-sub {
  /* Hero manifesto: not a HUD micro-label any more. Treat it as a
     short paragraph of brand-layer body copy — readable, legible,
     two lines max on desktop with a few magenta phrase highlights
     that act as visual anchors through the sentence. */
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(15px, 1.35vw, 20px);
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  max-width: 640px;
  margin: 0 auto 32px;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 0 18px rgba(0,0,0,0.40);
}
.hero-sub .m {
  color: var(--magenta);
  font-weight: 700;
  filter: drop-shadow(0 0 14px rgba(226,0,116,0.40));
}
.hero-sub .sep { color: var(--magenta); margin: 0 10px; }

.hero-question {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: clamp(17px, 1.7vw, 21px); line-height: 1.55;
  color: #fff;
  margin-bottom: 40px;
  max-width: 560px; margin-left: auto; margin-right: auto;
  text-wrap: balance;
  /* Make this line readable on EVERY background it can land on —
     the dark CCTV grid, the unlocked utopia video, even a bright
     bloom frame. Heavy text-shadow + a subtle dark scrim chip. */
  padding: 14px 22px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 6px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 1px 2px rgba(0,0,0,0.75), 0 0 18px rgba(0,0,0,0.55);
  display: inline-block;
}
.hero-question .em { color: var(--magenta); font-weight: 700; }
/* In the unlocked utopia takeover the scrim around the hero CTA goes
   nearly transparent, so the question chip needs to be more solid. */
body.is-utopia-unlocked .hero-question {
  background: rgba(0,0,0,0.72);
  border-color: rgba(255,255,255,0.14);
}

.cta-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 15px); letter-spacing: 0.12em;
  background: var(--magenta);
  color: #fff;
  border: none; padding: 18px 36px;
  cursor: pointer; border-radius: 999px;
  transition: all 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 12px;
  box-shadow: 0 12px 36px rgba(226,0,116,0.45);
}
.cta-btn:hover {
  background: #ff0d8c;
  transform: translateY(-2px);
  box-shadow: 0 18px 48px rgba(226,0,116,0.6);
}
.cta-btn:active { transform: translateY(0); }
.cta-btn .arr {
  display: inline-block; transition: transform 0.2s;
  font-family: var(--font-hud);
}
.cta-btn:hover .arr { transform: translateY(2px); }

.cta-meta {
  margin-top: 22px;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--hud-fg-dim); text-transform: uppercase;
}

/* ============================================================
   SECTION 2 · QUIZ, BRAND LAYER (Cyber Utopia CI, bright)
   White surface, TeleNeo display, Telekom Magenta accent.
   Mirrors the Learn section. NO acid green inside this section.
   ============================================================ */
#quiz {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(226,0,116,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(226,0,116,0.06) 0%, transparent 60%),
    #F6F7F9;
  color: var(--ink);
  border-top: 1px solid rgba(10,10,11,0.08);
  border-bottom: 1px solid rgba(10,10,11,0.08);
}

/* Section header, brand layer */
#quiz .section-eyebrow { color: var(--magenta); }
#quiz .section-eyebrow::before { background: var(--magenta); }
#quiz .section-h {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.94;
  color: var(--ink);
  text-transform: none;
  font-size: clamp(40px, 5.8vw, 68px);
  text-shadow: none;
}
#quiz .section-h .m { color: var(--magenta); }
#quiz .section-h .grad {
  background: linear-gradient(95deg, var(--ink) 0%, #6b0035 45%, var(--magenta) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: none;
}
#quiz .section-lead {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: rgba(10,10,11,0.62);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

/* ---- Quiz shell as a white brand card ---- */
#quiz .quiz-shell {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(10,10,11,0.04), 0 24px 60px rgba(10,10,11,0.06);
}
#quiz .quiz-shell::before { background: var(--magenta); }

/* Progress */
#quiz .q-progress-outer { background: rgba(10,10,11,0.08); }
#quiz .q-progress-fill {
  background: var(--magenta);
  box-shadow: none;
}

/* Meta + badges */
#quiz .q-meta { color: rgba(10,10,11,0.55); }
#quiz .cat-badge { color: var(--magenta); border-color: var(--magenta); }

/* Dialogue */
#quiz .dialogue-box {
  background: rgba(226,0,116,0.04);
  border-left: 3px solid var(--magenta);
  padding: 14px 18px;
  margin-bottom: 24px;
}
#quiz .dialogue-speaker {
  color: var(--magenta);
  font-size: 11px;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}
#quiz .dialogue-text {
  color: rgba(10,10,11,0.82);
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  text-wrap: pretty;
}

/* Question text */
#quiz .q-text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.4;
  font-size: clamp(18px, 2.4vw, 22px);
}

/* Options */
#quiz .opt-btn {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.14);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  border-radius: 4px;
  transition: all .18s cubic-bezier(0.2,0.7,0.2,1);
}
#quiz .opt-btn:hover:not(:disabled) {
  background: rgba(226,0,116,0.04);
  border-color: var(--magenta);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(226,0,116,0.10);
}
#quiz .opt-btn.correct {
  background: rgba(46,125,50,0.08);
  border-color: #2E7D32;
  color: #1B5E20;
  box-shadow: 0 0 0 1px rgba(46,125,50,0.18);
}
#quiz .opt-btn.wrong {
  background: rgba(220,0,60,0.06);
  border-color: #cc003c;
  color: #a00030;
}

/* Feedback */
#quiz .feedback-box {
  border-radius: 4px;
  font-family: var(--font-body);
  font-style: normal;
}
#quiz .feedback-box.correct {
  background: rgba(46,125,50,0.07);
  border: 1px solid rgba(46,125,50,0.32);
  color: #1B5E20;
}
#quiz .feedback-box.wrong {
  background: rgba(220,0,60,0.05);
  border: 1px solid rgba(200,0,60,0.30);
  color: #a00030;
}

/* Hint */
#quiz .hint-row { color: rgba(10,10,11,0.45); }
#quiz .hint-row a { color: rgba(10,10,11,0.55); }
#quiz .hint-row a:hover { color: var(--magenta); }

/* Live score */
#quiz .score-live {
  color: rgba(10,10,11,0.55);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: none;
}
#quiz .score-live .sl-bar {
  display: inline-flex;
  width: clamp(120px, 18vw, 220px);
  height: 6px;
  background: rgba(10,10,11,0.08);
  border-radius: 999px;
  overflow: hidden;
}
#quiz .score-live .sl-seg {
  height: 100%;
  transition: width 0.35s cubic-bezier(0.2,0.7,0.2,1);
}
#quiz .score-live .sl-seg.sl-correct { background: var(--magenta); }
#quiz .score-live .sl-seg.sl-wrong   { background: rgba(10,10,11,0.28); }
#quiz .score-live .sl-pct {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.01em;
  color: var(--ink);
  min-width: 38px;
  text-align: right;
}
#quiz .score-live .sl-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(10,10,11,0.55);
  font-variant-numeric: tabular-nums;
}
#quiz .score-live .sl-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 2px;
}
#quiz .score-live .sl-dot.sl-correct { background: var(--magenta); }
#quiz .score-live .sl-dot.sl-wrong   { background: rgba(10,10,11,0.32); }
#quiz .score-live .sl-sep {
  color: rgba(10,10,11,0.22);
  margin: 0 2px;
}
@media (max-width: 560px) {
  #quiz .score-live { gap: 10px; flex-wrap: wrap; }
  #quiz .score-live .sl-bar { width: 100%; flex: 1 1 100%; order: -1; }
}

/* Primary buttons, magenta pill (playbook CTA) */
#quiz .btn-start,
#quiz .btn-next,
#quiz .btn-replay {
  background: var(--magenta);
  border: 1px solid var(--magenta);
  color: #fff;
  border-radius: 999px;
  padding: 13px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.10em;
  font-size: 13px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(226,0,116,0.30);
  transition: all .18s cubic-bezier(0.2,0.7,0.2,1);
}
#quiz .btn-start:hover,
#quiz .btn-next:hover,
#quiz .btn-replay:hover {
  background: #ff0d8c;
  color: #fff;
  box-shadow: 0 14px 36px rgba(226,0,116,0.45);
  transform: translateY(-1px);
}

/* Category intro */
#quiz .cat-intro-box {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 4px;
}
#quiz .ci-icon { color: var(--magenta); }
#quiz .ci-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
}
#quiz .ci-fragment { color: var(--magenta); font-family: var(--font-hud); }
#quiz .ci-desc {
  font-family: var(--font-body);
  font-style: normal;
  color: rgba(10,10,11,0.65);
}

/* Category grid */
#quiz .cat-card {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 4px;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
#quiz .cat-card:hover {
  border-color: var(--magenta);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,10,11,0.06);
}
#quiz .cc-name { color: var(--ink); font-family: var(--font-hud); }
#quiz .cc-count { color: rgba(10,10,11,0.50); }

/* ---- Results inside the brand-layer quiz card ---- */
#quiz .score-headline {
  background: linear-gradient(135deg, var(--ink) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
#quiz .score-label { color: rgba(10,10,11,0.55); }
#quiz .tier-badge {
  color: var(--magenta);
  border-color: var(--magenta);
  background: rgba(226,0,116,0.04);
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(226,0,116,0.10);
}
#quiz .tier-badge.t-low,
#quiz .tier-badge.t-mid { color: var(--magenta); border-color: var(--magenta); box-shadow: 0 0 0 1px rgba(226,0,116,0.10); }
#quiz .tier-statement {
  font-family: var(--font-body);
  font-style: normal;
  color: rgba(10,10,11,0.70);
}

#quiz .score-card {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 4px;
}
#quiz .sc-label { color: rgba(10,10,11,0.50); }
#quiz .sc-val { color: var(--magenta); }

#quiz .cb-label { color: rgba(10,10,11,0.55); }
#quiz .cb-name { color: rgba(10,10,11,0.65); }
#quiz .cb-bar-outer { background: rgba(10,10,11,0.08); }
#quiz .cb-score { color: var(--magenta); }

#quiz .share-wrap {
  background: rgba(226,0,116,0.05);
  border: 1px solid rgba(226,0,116,0.25);
  border-radius: 4px;
}
#quiz .share-label { color: var(--magenta); }

/* ============================================================
   Social media sujet (the share-card poster + raffle CTA).
   Lives inside the results brand-layer (#quiz scope).
   ============================================================ */

/* Two-column layout: square canvas preview on the left, copy + CTAs right */
#quiz .sujet-shell {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 28px;
  align-items: stretch;
  margin: 18px auto 28px;
  padding: 22px;
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.08);
  border-radius: 6px;
  text-align: left;
  position: relative;
}
#quiz .sujet-shell::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--magenta); border-radius: 6px 6px 0 0;
}
@media (max-width: 760px) {
  #quiz .sujet-shell { grid-template-columns: 1fr; padding: 18px; gap: 20px; }
}

#quiz .sujet-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(135deg, rgba(10,10,11,0.05) 0 14px, rgba(10,10,11,0) 14px 28px),
    #0a0a0b;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 14px 30px rgba(10,10,11,0.16);
  isolation: isolate;
}
#quiz .sujet-preview canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
#quiz .sujet-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
#quiz .sujet-preview.is-ready .sujet-placeholder { display: none; }

#quiz .sujet-side {
  display: flex; flex-direction: column;
  gap: 14px;
}
#quiz .sujet-eyebrow {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--magenta);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
#quiz .sujet-eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--magenta);
}
#quiz .sujet-statement {
  font-family: 'Courier Prime', monospace;
  font-style: italic;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  padding: 12px 14px;
  background: rgba(226,0,116,0.04);
  border-left: 3px solid var(--magenta);
  border-radius: 2px;
  text-wrap: pretty;
}
#quiz .sujet-statement strong {
  color: var(--magenta);
  font-style: normal;
  font-weight: 700;
}
#quiz .sujet-byline {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(10,10,11,0.45);
  text-transform: uppercase;
}
#quiz .sujet-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: auto;
}
#quiz .sujet-btn {
  appearance: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  border-radius: 999px;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
#quiz .sujet-btn.primary {
  background: var(--magenta);
  color: #fff;
  border: 1px solid var(--magenta);
  box-shadow: 0 8px 20px rgba(226,0,116,0.24);
}
#quiz .sujet-btn.primary:hover {
  background: #ff0d8c;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(226,0,116,0.30);
}
#quiz .sujet-btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(10,10,11,0.18);
}
#quiz .sujet-btn.ghost:hover {
  border-color: var(--magenta);
  color: var(--magenta);
  transform: translateY(-1px);
}
#quiz .sujet-btn:disabled {
  opacity: 0.45; cursor: not-allowed; transform: none; box-shadow: none;
}
#quiz .sujet-tip {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: rgba(10,10,11,0.45);
  text-transform: none;
  line-height: 1.5;
}
#quiz .sujet-tip.is-success { color: var(--magenta); font-weight: 700; }

#quiz .share-row-label {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(10,10,11,0.40);
  text-transform: uppercase;
  margin: 8px 0 12px;
}

/* ============================================================
   Raffle CTA card (under share-wrap, inside results)
   ============================================================ */
#quiz .raffle-cta {
  margin-top: 26px;
  padding: 28px clamp(20px, 3.5vw, 38px);
  background:
    radial-gradient(ellipse 60% 60% at 0% 0%, rgba(226,0,116,0.06) 0%, transparent 60%),
    #FFFFFF;
  border: 1px solid rgba(226,0,116,0.30);
  border-radius: 6px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
#quiz .raffle-cta::after {
  content: "✦";
  position: absolute; right: 18px; top: 14px;
  color: rgba(226,0,116,0.16);
  font-size: 80px;
  line-height: 1;
  pointer-events: none;
}
#quiz .raffle-cta-eyebrow {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--magenta);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
#quiz .raffle-cta-eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--magenta);
}
#quiz .raffle-cta-h {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 12px;
  text-wrap: balance;
}
#quiz .raffle-cta-h .m { color: var(--magenta); }
#quiz .raffle-cta-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(10,10,11,0.68);
  max-width: 640px;
  margin: 0 0 22px;
  text-wrap: pretty;
}

#quiz .raffle-form {
  display: flex; flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
#quiz .raffle-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  #quiz .raffle-form-row { grid-template-columns: 1fr; }
}
#quiz .raffle-field {
  display: flex; flex-direction: column;
  gap: 6px;
}
#quiz .raffle-lbl {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(10,10,11,0.55);
  text-transform: uppercase;
  font-weight: 700;
}
#quiz .raffle-lbl em {
  font-style: normal;
  color: rgba(10,10,11,0.40);
  font-weight: 400;
  letter-spacing: 0.12em;
}
#quiz .raffle-input {
  appearance: none;
  background: #fff;
  border: 1px solid rgba(10,10,11,0.16);
  border-radius: 3px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}
#quiz .raffle-input:focus {
  outline: none;
  border-color: var(--magenta);
  box-shadow: 0 0 0 3px rgba(226,0,116,0.10);
}
#quiz .raffle-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(10,10,11,0.65);
  cursor: pointer;
  text-wrap: pretty;
}
#quiz .raffle-check input[type="checkbox"] {
  flex-shrink: 0; margin-top: 2px;
  accent-color: var(--magenta);
  width: 16px; height: 16px;
}
#quiz .raffle-check a { color: var(--magenta); }
#quiz .raffle-submit {
  align-self: flex-start;
  appearance: none;
  background: var(--magenta);
  color: #fff;
  border: 1px solid var(--magenta);
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.18s ease;
  box-shadow: 0 10px 26px rgba(226,0,116,0.26);
}
#quiz .raffle-submit:hover {
  background: #ff0d8c;
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(226,0,116,0.34);
}
#quiz .raffle-submit:disabled {
  opacity: 0.6; cursor: not-allowed; transform: none;
}
#quiz .raffle-submit .arr { font-size: 14px; letter-spacing: 0; }

#quiz .raffle-status {
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--magenta);
  min-height: 16px;
}
#quiz .raffle-status.error { color: #ff3030; }
#quiz .share-btn {
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid rgba(10,10,11,0.14);
  border-radius: 999px;
}
#quiz .share-btn:hover {
  background: var(--magenta);
  color: #fff;
  border-color: var(--magenta);
}

#quiz .divider {
  background: linear-gradient(90deg, transparent, rgba(10,10,11,0.15), transparent);
}

/* Quiz intro screen, protocol label + italic body */
#quiz .quiz-protocol {
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--magenta);
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 700;
}
#quiz .quiz-intro-body {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(10,10,11,0.68);
  max-width: 480px;
  margin: 0 auto 24px;
  text-wrap: pretty;
}

/* Keep the quiz section bright even after Utopia unlock */
body.is-utopia-unlocked #quiz {
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(226,0,116,0.10) 0%, transparent 55%),
    #F6F7F9 !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.is-utopia-unlocked #quiz .quiz-shell,
body.is-utopia-unlocked #quiz .score-card,
body.is-utopia-unlocked #quiz .cat-card,
body.is-utopia-unlocked #quiz .cat-intro-box,
body.is-utopia-unlocked #quiz .opt-btn,
body.is-utopia-unlocked #quiz .share-btn {
  background: #FFFFFF !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.quiz-shell {
  max-width: 780px; margin: 0 auto;
  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border);
  padding: 36px clamp(20px, 4vw, 48px) 48px;
  position: relative;
}
.quiz-shell::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--acid), var(--teal), var(--magenta));
}
.quiz-screen { display: none; }
.quiz-screen.is-active { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }

.q-progress-outer {
  height: 3px; background: rgba(255,255,255,0.06);
  margin-bottom: 6px; overflow: hidden;
}
.q-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--acid), var(--magenta));
  box-shadow: 0 0 8px var(--acid);
  transition: width 0.5s ease;
}
.q-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; color: var(--muted);
  margin-bottom: 28px;
}
.cat-badge {
  padding: 3px 10px; border: 1px solid currentColor;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
}
.dialogue-box {
  border-left: 3px solid var(--acid);
  background: rgba(214,255,64,0.04);
  padding: 12px 16px; margin-bottom: 22px;
}
.dialogue-speaker {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 0.10em; color: var(--acid);
  text-transform: uppercase; margin-bottom: 6px;
}
.dialogue-text {
  font-family: 'Courier Prime', monospace; font-style: italic;
  font-size: 14px; line-height: 1.6;
  color: rgba(232,240,236,0.7);
}
.q-text {
  font-family: 'Space Mono', monospace;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.6; color: var(--text);
  margin-bottom: 22px; font-weight: 700;
}
.options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.opt-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(232,240,236,0.85);
  font-family: 'Space Mono', monospace; font-size: 13px;
  padding: 14px 18px; text-align: left;
  cursor: pointer; border-radius: 2px;
  transition: all 0.18s; line-height: 1.5;
}
.opt-btn:hover:not(:disabled) {
  background: rgba(214,255,64,0.06);
  border-color: rgba(214,255,64,0.4);
  color: var(--text);
}
.opt-btn.correct {
  background: rgba(0,255,100,0.08);
  border-color: #00cc66; color: #00ff88;
  box-shadow: 0 0 14px rgba(0,200,80,0.25);
}
.opt-btn.wrong {
  background: rgba(255,0,80,0.08);
  border-color: #cc0044; color: #ff4466;
}
.opt-btn:disabled { cursor: default; }
.feedback-box {
  padding: 12px 16px; margin-bottom: 18px;
  font-family: 'Courier Prime', monospace; font-size: 14px; line-height: 1.7;
  animation: fadeUp .25s ease;
}
.feedback-box.correct { background: rgba(0,255,100,0.06); border: 1px solid rgba(0,200,80,0.3); color: #7fffa0; }
.feedback-box.wrong   { background: rgba(255,0,80,0.06); border: 1px solid rgba(200,0,60,0.3); color: #ff8899; }
.hint-row {
  font-family: 'Share Tech Mono', monospace; font-size: 11px;
  color: var(--muted); margin-bottom: 18px;
}
.hint-row a {
  color: var(--muted); text-decoration: underline; cursor: pointer;
  letter-spacing: 0.08em;
}
.hint-row a:hover { color: var(--acid); }
.nav-row { display: flex; justify-content: space-between; align-items: center; }
.score-live {
  font-family: 'Share Tech Mono', monospace; font-size: 12px;
  letter-spacing: 0.10em; color: var(--muted);
}
.btn-next.btn-start.btn-replay {
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px; letter-spacing: 0.15em;
  background: transparent; border: 1px solid var(--acid);
  color: var(--acid); padding: 12px 30px;
  cursor: pointer; border-radius: 2px;
  transition: all 0.2s; text-transform: uppercase;
}
.btn-next:hover.btn-start:hover {
  background: var(--acid); color: #050d0a;
  box-shadow: 0 0 16px var(--acid);
}
.btn-replay {
  background: var(--magenta); border-color: var(--magenta); color: #fff;
}
.btn-replay:hover { background: #ff33bb; box-shadow: 0 0 20px var(--magenta); }

/* Category intro */
.cat-intro-box {
  border: 1px solid var(--border);
  padding: 40px 28px;
  background: rgba(0,0,0,0.4);
  text-align: center;
  animation: fadeUp 0.5s ease;
  margin-bottom: 28px;
}
.ci-icon { font-size: 32px; margin-bottom: 16px; color: var(--acid); }
.ci-title {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(18px, 3vw, 26px); letter-spacing: 0.15em;
  color: var(--acid); margin-bottom: 12px;
  text-transform: uppercase;
}
.ci-fragment {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 0.10em;
  color: var(--magenta); margin-bottom: 16px;
}
.ci-desc {
  font-family: 'Courier Prime', monospace; font-style: italic;
  font-size: 15px; line-height: 1.7;
  color: rgba(232,240,236,0.65);
  max-width: 460px; margin: 0 auto;
}

/* Six-category grid (in hero info row above quiz) */
.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px; margin-bottom: 28px;
}
.cat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(214,255,64,0.12);
  padding: 14px;
  position: relative;
}
.cc-icon { font-size: 18px; margin-bottom: 8px; }
.cc-name {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 0.10em; color: var(--acid);
  text-transform: uppercase; margin-bottom: 4px;
}
.cc-count { font-size: 11px; color: var(--muted); }
.cc-bar { height: 2px; margin-top: 10px; opacity: 0.6; }

/* ============================================================
   SECTION 3 · RESULTS + SHARE
   ============================================================ */
.results-hero { text-align: center; padding: 40px 0 30px; }
.score-headline {
  font-family: 'VT323', monospace;
  font-size: clamp(72px, 12vw, 156px); line-height: 1;
  background: linear-gradient(135deg, var(--acid), var(--teal), var(--magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.score-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px; letter-spacing: 0.22em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 20px;
}
.tier-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 13px; letter-spacing: 0.18em;
  color: var(--acid); border: 1px solid var(--acid);
  padding: 10px 22px;
  text-transform: uppercase;
  margin-bottom: 30px;
  box-shadow: 0 0 18px rgba(214,255,64,0.25);
}
.tier-badge.t-low  { color: var(--magenta); border-color: var(--magenta); box-shadow: 0 0 18px rgba(255,0,153,0.25); }
.tier-badge.t-mid  { color: var(--teal); border-color: var(--teal); box-shadow: 0 0 18px rgba(0,255,170,0.20); }
.tier-statement {
  font-family: 'Courier Prime', monospace; font-style: italic;
  font-size: clamp(15px, 1.8vw, 18px); line-height: 1.8;
  color: rgba(232,240,236,0.75); max-width: 540px; margin: 0 auto;
}

.score-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 10px; margin: 40px 0 32px;
}
@media (min-width: 500px) { .score-grid { grid-template-columns: repeat(4, 1fr); } }
.score-card {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  padding: 18px 12px; text-align: center;
}
.sc-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 9px; letter-spacing: 0.14em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 10px;
}
.sc-val {
  font-family: 'Share Tech Mono', monospace;
  font-size: 26px; color: var(--acid);
}

.cb-section { margin-bottom: 36px; }
.cb-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; color: var(--muted);
  text-transform: uppercase; margin-bottom: 14px;
}
.cb-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cb-name {
  font-family: 'Share Tech Mono', monospace; font-size: 10px;
  letter-spacing: 0.06em; color: rgba(232,240,236,0.55);
  width: 200px; flex-shrink: 0; text-transform: uppercase;
}
.cb-bar-outer { flex: 1; height: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.cb-bar-inner { height: 100%; transition: width 0.8s ease; }
.cb-score {
  font-family: 'Share Tech Mono', monospace; font-size: 10px;
  color: var(--acid); width: 44px; text-align: right; flex-shrink: 0;
}

/* Share */
.share-wrap {
  margin-top: 36px;
  padding: 28px;
  background: rgba(255,0,153,0.04);
  border: 1px solid rgba(255,0,153,0.25);
  text-align: center;
}
.share-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 0.18em; color: var(--magenta);
  text-transform: uppercase; margin-bottom: 16px;
}
.share-row {
  display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 18px; cursor: pointer;
  background: transparent; color: var(--text);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none; transition: all 0.18s;
}
.share-btn:hover { border-color: var(--acid); color: var(--acid); }
.share-btn svg { width: 14px; height: 14px; }

@media (max-width: 500px) {
  .cb-name { width: 110px; font-size: 9px; }
}

/* ============================================================
   SECTION 4 · UTOPIA REVEAL (gated)
   ============================================================ */
#utopia-reveal {
  position: relative;
  padding: 0; min-height: 100vh;
  display: none; /* shown only at ≥60% */
  overflow: hidden;
  background: #000;
}
#utopia-reveal.is-revealed { display: block; }

/* ── Overlay mode: section appears as a full-viewport modal ──
   Set when the quiz hits ≥60%. The user clicks the X to drop
   the overlay; the section then settles into its in-document
   position so the rest of the page can be scrolled. */
#utopia-reveal.is-overlay {
  position: fixed; inset: 0;
  z-index: 9999;
  min-height: 100vh;
  animation: revealOverlayIn 380ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes revealOverlayIn {
  from { opacity: 0; transform: scale(1.02); }
  to   { opacity: 1; transform: scale(1); }
}
/* When overlay mode is active, freeze body scroll so the modal is the only thing */
body.is-reveal-overlay { overflow: hidden; }

/* Close button — lives in the overlay; styled for both states but
   only visually prominent when the section is the modal. */
.reveal-close {
  position: absolute;
  top: clamp(18px, 3vw, 28px);
  right: clamp(18px, 3vw, 28px);
  z-index: 4;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.92);
  padding: 9px 14px 9px 16px;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.reveal-close:hover {
  background: var(--magenta);
  border-color: var(--magenta);
  color: #fff;
}
.reveal-close:active { transform: scale(0.97); }
.reveal-close .reveal-close-x {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1; font-weight: 400;
  letter-spacing: 0;
  display: inline-block; transform: translateY(-1px);
}
/* Hide the close button when the section is NOT in overlay mode —
   it makes no sense as in-document chrome. */
#utopia-reveal:not(.is-overlay) .reveal-close { display: none; }
#utopia-reveal:not(.is-overlay) .reveal-hint  { display: none; }

.reveal-hint {
  margin-top: clamp(22px, 3vw, 36px);
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
}
.reveal-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.reveal-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(5,13,10,0.85) 100%);
}
.reveal-content {
  position: relative; z-index: 3;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.reveal-star {
  font-size: clamp(44px, 7vw, 80px);
  color: var(--acid);
  filter: drop-shadow(0 0 28px var(--acid));
  margin-bottom: 14px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.reveal-title {
  font-family: 'VT323', monospace;
  font-size: clamp(48px, 10vw, 132px); letter-spacing: 0.10em; line-height: 0.95;
  background: linear-gradient(135deg, var(--acid) 0%, #7fffd4 42%, var(--magenta) 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(214,255,64,0.30));
  margin-bottom: 14px;
}
.reveal-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(10px, 1.3vw, 13px); letter-spacing: 0.30em;
  color: rgba(255,255,255,0.55); text-transform: uppercase;
  margin-bottom: 28px;
}
.reveal-body {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.reveal-body .m { color: var(--magenta); font-weight: 700; }
.pillars-wrap { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 760px; margin: 0 auto; }
.pillar-tag {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(8px, 0.9vw, 11px); letter-spacing: 0.18em;
  padding: 7px 13px;
  border: 1px solid rgba(214,255,64,0.4); color: var(--acid);
  background: rgba(214,255,64,0.05);
}
.pillar-tag.m { border-color: rgba(255,0,153,0.4); color: var(--magenta); background: rgba(255,0,153,0.05); }

/* ============================================================
   SECTION 5 · LEARN MORE (themes), BRAND LAYER
   White surface, TeleNeo, magenta accent. A bright pop deliberately
   contrasting the dark CCTV chrome above and below, readable.
   ============================================================ */
#learn {
  background: #F6F7F9;                /* playbook off-white */
  color: var(--ink);
  border-top: 1px solid rgba(10,10,11,0.08);
  border-bottom: 1px solid rgba(10,10,11,0.08);
}
/* Override the dark-page section header chrome inside this section */
#learn .section-eyebrow { color: var(--magenta); }
#learn .section-eyebrow::before { background: var(--magenta); }
#learn .section-h {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.94;
  color: var(--ink);
  text-transform: none;
  font-size: clamp(36px, 5.6vw, 64px);
}
#learn .section-h .m { color: var(--magenta); }
#learn .section-lead {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: rgba(10,10,11,0.62);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
}

.themes-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px; margin-top: 36px;
}
.theme-card {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 4px;                 /* --r-md per playbook */
  padding: 28px 26px 24px;
  position: relative;
  transition: transform .2s cubic-bezier(0.2,0.7,0.2,1), box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 1px 0 rgba(10,10,11,0.04);
}
.theme-card:hover {
  border-color: rgba(10,10,11,0.18);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10,10,11,0.10);
}
/* 2px brand-card accent rule along the top, Magenta by default,
   category color for variety. */
.theme-card .t-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--magenta);
  border-radius: 4px 4px 0 0;
}
.theme-card .t-num {
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.18em; color: var(--ink);
  text-transform: uppercase; margin-bottom: 14px;
  opacity: 0.55;
  /* link reset */
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.theme-card .t-num:hover {
  opacity: 1;
  color: var(--magenta);
}
.theme-card .t-num .t-num-arr {
  font-size: 10px;
  opacity: 0.7;
  transition: transform 0.15s ease;
}
.theme-card .t-num:hover .t-num-arr {
  transform: translate(2px, -2px);
}
.theme-card .t-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 1.8vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 14px;
  text-transform: none;
  display: flex; align-items: baseline; gap: 12px;
  /* link reset */
  text-decoration: none;
  transition: color 0.15s ease;
}
.theme-card .t-name:hover {
  color: var(--magenta);
}
.theme-card .t-name:hover .t-mark {
  color: var(--magenta) !important;
}
.theme-card .t-name .t-mark {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.theme-card .t-desc {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(10,10,11,0.70);
  margin-bottom: 18px;
  text-wrap: pretty;
}
.theme-yt {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  background: #0A0A0B;
  border-radius: 2px;
  margin-bottom: 18px;
}
.theme-yt iframe.theme-yt .yt-placeholder {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.yt-placeholder {
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
  font-family: var(--font-hud);
  text-decoration: none;
  text-transform: uppercase;
  background: #0A0A0B;
  border: 1px solid rgba(255,255,255,0.10);
  transition: background .2s, border-color .2s;
  padding: 16px;
  text-align: center;
}
.yt-placeholder:hover { background: #15171a; border-color: var(--magenta); }
.yt-placeholder .yt-play {
  font-size: 36px;
  color: var(--magenta);
  line-height: 1;
  filter: drop-shadow(0 0 18px rgba(226,0,116,0.55));
}
.yt-placeholder .yt-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #FFFFFF;
}
.yt-placeholder .yt-q {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.55);
  max-width: 80%;
}

/* ---- Reels rail, vertical TikTok previews above the rooms ---- */
.reels-rail-wrap { margin: 36px 0 40px; }
.reels-rail-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}
.reels-rail-label {
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--magenta);
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 10px;
}
.rr-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(226,0,116,0.7);
  animation: blink 1.8s step-end infinite;
}
.reels-rail-link {
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(10,10,11,0.22);
  transition: color .15s, border-color .15s;
}
.reels-rail-link:hover { color: var(--magenta); border-color: var(--magenta); }

.reels-rail {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  padding: 4px 2px 14px;
}
@media (max-width: 980px) { .reels-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .reels-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.reels-rail::-webkit-scrollbar { display: none; }
.reels-rail::-webkit-scrollbar-track { background: transparent; }
.reels-rail::-webkit-scrollbar-thumb { background: transparent; }
.reels-rail::-webkit-scrollbar-thumb:hover { background: transparent; }

.reel-card {
  min-width: 0;
  width: 100%;
}
.reel-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #0A0A0B;
  border: 2px solid rgba(10,10,11,0.10);
  box-shadow: 0 6px 20px rgba(10,10,11,0.08);
  transition: transform .2s cubic-bezier(0.2,0.7,0.2,1),
              box-shadow .2s ease,
              border-color .2s ease;
}
/* phone-style notch hint */
.reel-frame::before {
  content: "";
  position: absolute; top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,0.18);
  z-index: 3;
  pointer-events: none;
}
.reel-card:hover .reel-frame {
  transform: translateY(-4px);
  border-color: var(--c, var(--magenta));
  box-shadow: 0 14px 32px rgba(10,10,11,0.16),
              0 0 0 1px var(--c, var(--magenta));
}
.reel-frame iframe,
.reel-frame .reel-placeholder {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.reel-placeholder {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center;
  padding: 22px 16px;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-hud);
  background:
    radial-gradient(ellipse 100% 60% at 50% 30%, rgba(226,0,116,0.18) 0%, transparent 70%),
    linear-gradient(180deg, #0A0A0B 0%, #1a1a22 100%);
  color: #fff;
  transition: background .2s ease;
}
.reel-placeholder:hover {
  background:
    radial-gradient(ellipse 100% 60% at 50% 30%, rgba(226,0,116,0.32) 0%, transparent 70%),
    linear-gradient(180deg, #0A0A0B 0%, #1a1a22 100%);
}
.reel-placeholder .rp-play {
  font-size: 30px;
  color: var(--c, var(--magenta));
  filter: drop-shadow(0 0 14px var(--c, var(--magenta)));
  line-height: 1;
}
.reel-placeholder .rp-label {
  font-size: 10px; letter-spacing: 0.22em;
  color: #fff;
  font-weight: 700;
}
.reel-placeholder .rp-q {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 11px; letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.60);
  line-height: 1.35;
}
.reel-meta {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--ink);
  text-transform: uppercase;
}
.reel-meta .reel-mark { font-size: 14px; line-height: 1; }
.reel-meta .reel-name { color: rgba(10,10,11,0.78); font-weight: 700; }

@media (max-width: 760px) {
  /* width handled by the grid track */
}
.t-resource-group {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(10,10,11,0.08);
}
.t-resource-group:first-of-type { margin-top: 0; }
.t-rg-label {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 8px;
  font-weight: 700;
}
.theme-resources {
  display: flex; flex-direction: column; gap: 6px;
  border-top: none;
  padding-top: 0;
}
.theme-resources a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 2px 0;
  text-transform: none;
  transition: color .15s;
  line-height: 1.4;
}
.theme-resources a::before {
  content: "→";
  color: var(--magenta);
  font-family: var(--font-hud);
  font-weight: 700;
  transition: transform .15s;
  flex-shrink: 0;
}
.theme-resources a:hover { color: var(--magenta); }
.theme-resources a:hover::before { transform: translateX(3px); }

/* Bottom CTA, link to learn-deeper for this room */
.theme-card .t-deeper {
  margin-top: 18px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}
.theme-card .t-deeper:hover {
  background: var(--magenta);
}
.theme-card .t-deeper .t-deeper-arr {
  font-size: 16px;
  letter-spacing: 0;
  transition: transform 0.15s ease;
}
.theme-card .t-deeper:hover .t-deeper-arr {
  transform: translateX(4px);
}

/* Unlocked state: this section stays a bright island, only the
   surrounding glass treatment from earlier rules should not apply. */
body.is-utopia-unlocked #learn {
  background: #F6F7F9 !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* ============================================================
   SECTION 6 · NEWSLETTER / RAFFLE
   ============================================================ */
#newsletter {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(226,0,116,0.20) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(226,0,116,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #15050d 0%, var(--dark) 50%, #15050d 100%);
  border-top: 1px solid rgba(226,0,116,0.30);
  border-bottom: 1px solid rgba(226,0,116,0.30);
}

/* Newsletter section header, Cyber Utopia CI brand layer */
#newsletter .section-eyebrow { color: var(--magenta); }
#newsletter .section-eyebrow::before {
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(226,0,116,0.6);
}
#newsletter .section-h {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.92;
  color: #fff;
  text-transform: none;
  font-size: clamp(40px, 6vw, 72px);
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
#newsletter .section-h .m {
  color: var(--magenta);
  filter: drop-shadow(0 0 18px rgba(226,0,116,0.45));
}
#newsletter .section-lead {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 520px;
}
.newsletter-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: start;
}
@media (max-width: 760px) {
  .newsletter-grid { grid-template-columns: 1fr; gap: 32px; }
}
.raffle-callout {
  border: 1px solid rgba(226,0,116,0.40);
  padding: 22px;
  background: rgba(226,0,116,0.06);
  border-radius: 4px;
}
.raffle-callout .label {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em; color: var(--magenta);
  text-transform: uppercase; margin-bottom: 12px;
  font-weight: 700;
}
.raffle-prizes {
  display: flex; flex-direction: column; gap: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}
.raffle-prizes li { list-style: none; padding-left: 22px; position: relative; }
.raffle-prizes li::before {
  content: "✦"; position: absolute; left: 0; top: 0; color: var(--magenta);
  font-size: 14px; line-height: 1.55;
}

/* ============================================================
   NEWSLETTER PERKS — what you get when you sign up.
   Replaces the old raffle callout in the newsletter section.
   ============================================================ */
.perks-callout {
  border: 1px solid rgba(226,0,116,0.40);
  border-left: 3px solid var(--magenta);
  padding: 24px 26px 20px;
  background: rgba(226,0,116,0.05);
  border-radius: 4px;
  position: relative;
}
.perks-callout .label {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em; color: var(--magenta);
  text-transform: uppercase; margin-bottom: 16px;
  font-weight: 700;
}
.perks-list {
  display: flex; flex-direction: column; gap: 16px;
  list-style: none; margin: 0; padding: 0;
}
.perks-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.55;
  color: rgba(255,255,255,0.82);
}
.perks-list .perks-k {
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.18em; font-weight: 700;
  color: var(--magenta);
  border: 1px solid var(--magenta);
  border-radius: 999px;
  padding: 4px 8px;
  text-align: center;
  align-self: start;
  background: rgba(0,0,0,0.30);
}
.perks-list .perks-v strong { color: #fff; font-weight: 700; }
.perks-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.18);
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.20em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
body.is-utopia-unlocked .perks-callout {
  background: rgba(0,0,0,0.55) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-color: rgba(255,255,255,0.18);
  border-left-color: var(--magenta);
}

.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.20em; color: var(--magenta);
  text-transform: uppercase;
  font-weight: 700;
}
.form-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.20);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  border-radius: 4px;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.form-input::placeholder {
  color: rgba(255,255,255,0.35);
  font-weight: 400;
}
.form-input:focus {
  border-color: var(--magenta);
  background: rgba(226,0,116,0.06);
  box-shadow: 0 0 0 3px rgba(226,0,116,0.18);
}
.form-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  line-height: 1.55;
}
.form-check input { margin-top: 3px; accent-color: var(--magenta); }
.form-check a { color: var(--magenta); border-bottom: 1px solid rgba(226,0,116,0.35); text-decoration: none; }
.form-check a:hover { color: #ff33aa; border-color: #ff33aa; }
.form-submit {
  width: 100%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.10em;
  background: var(--magenta);
  color: #fff;
  border: none;
  padding: 16px 24px;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(226,0,116,0.40);
  transition: all .18s cubic-bezier(0.2,0.7,0.2,1);
}
.form-submit:hover {
  background: #ff0d8c;
  box-shadow: 0 16px 40px rgba(226,0,116,0.55);
  transform: translateY(-1px);
}
.form-status {
  margin-top: 12px;
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--magenta);
  text-transform: uppercase;
  display: none;
  font-weight: 700;
}
.form-status.is-shown { display: block; }

/* ============================================================
   SECTION 7 / 8 · IMPRESSUM + CONTACT, Cyber Utopia CI (TeleNeo)
   Stays on the dark layer, but type system swaps to TeleNeo with
   magenta brand accent per playbook.
   ============================================================ */
#impressum .section-eyebrow { color: var(--magenta); }
#impressum .section-eyebrow::before { background: var(--magenta); }
#impressum .section-h {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.94;
  color: #fff;
  text-transform: none;
  font-size: clamp(40px, 5.6vw, 64px);
  text-shadow: none;
}
#impressum .section-h .m { color: var(--magenta); }

.legal-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) { .legal-grid { grid-template-columns: 1fr; } }
.legal-col h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.01em;
  color: #fff;
  text-transform: none;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.legal-col p.legal-col address {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(232,240,236,0.72);
  margin-bottom: 12px;
}
.legal-col strong {
  color: #fff;
  font-weight: 700;
}
.legal-col a {
  color: var(--magenta);
  text-decoration: none;
  border-bottom: 1px solid rgba(226,0,116,0.35);
  transition: color .15s, border-color .15s;
}
.legal-col a:hover {
  color: #ff33aa;
  border-bottom-color: #ff33aa;
}
.contact-row {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0;
  color: rgba(232,240,236,0.85);
  margin-bottom: 10px;
  text-transform: none;
}
.contact-row .k {
  color: #ffffff;
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  width: 90px;
  flex-shrink: 0;
}
.contact-row a {
  font-family: var(--font-body);
  font-weight: 500;
  color: #ffffff;
  border-bottom: 1px solid rgba(255,255,255,0.30);
}
.contact-row a:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 24px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; color: var(--muted);
  text-align: center; text-transform: uppercase;
  position: relative; z-index: 2;
}
.footer .pillars-wrap {
  margin-bottom: 18px;
  /* Footer pillars stay on a single row regardless of width.
     Horizontal scroll kicks in on narrow viewports so chips never
     wrap to a second line. */
  flex-wrap: nowrap;
  max-width: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.footer .pillars-wrap::-webkit-scrollbar { display: none; }
.footer .pillar-tag { flex: 0 0 auto; white-space: nowrap; }
.footer-credit { color: rgba(232,240,236,0.45); }
.footer-credit .m { color: var(--magenta); }

/* Footer nav (legal / credits links that moved out of the top bar) */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  margin: 0 auto 16px;
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.22em;
}
.footer-nav a {
  color: rgba(232,240,236,0.55);
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.15s ease;
}
.footer-nav a:hover { color: var(--magenta); }
.footer-nav .sep {
  color: rgba(232,240,236,0.18);
  user-select: none;
}
/* Light-page (learn-deeper / thanks) footer nav inherits dark text */
.ld-body .footer-nav a { color: rgba(10,10,11,0.55) !important; }
.ld-body .footer-nav a:hover { color: var(--magenta) !important; }
.ld-body .footer-nav .sep { color: rgba(10,10,11,0.18); }

/* Utility */
.divider {
  border: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 40px 0;
}

/* Hero responsive collapse */
@media (max-width: 760px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 1fr 1fr;
  }
  .cam.feature { grid-column: 1 / 3; grid-row: 1; }
  .hero { min-height: 640px; }
}


/* ============================================================
   COMMUNITY MAP — newsletter section, full width below grid.
   Bright brand-layer plate so it reads as paper/poster art with
   magenta city dots on a fine constellation of land cells.
   ============================================================ */
.cmap-wrap {
  margin-top: 56px;
  padding: 28px 28px 32px;
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid rgba(10,10,11,0.10);
  position: relative;
  overflow: hidden;
}
.cmap-wrap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--magenta);
}
.cmap-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  margin-bottom: 14px;
}
.cmap-eyebrow {
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--magenta); text-transform: uppercase; font-weight: 700;
  display: inline-flex; align-items: center; gap: 9px;
}
.cmap-eyebrow .cmap-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(226,0,116,0.7);
  animation: blink 1.6s step-end infinite;
}
.cmap-stats {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(10,10,11,0.60); text-transform: uppercase;
}
.cmap-stats .cmap-stat-num { color: var(--ink); font-weight: 700; }
.cmap-stats .cmap-sep { color: rgba(10,10,11,0.25); }

.cmap-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  margin: 4px 0 8px;
  color: var(--ink);
  text-wrap: balance;
}
.cmap-h .m { color: var(--magenta); }
.cmap-lead {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.55;
  color: rgba(10,10,11,0.70);
  max-width: 720px;
  margin-bottom: 22px;
  text-wrap: pretty;
}

.cmap-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 880px) {
  .cmap-grid { grid-template-columns: 1fr; }
}

/* ── Map stage ───────────────────────────────────────────── */
.cmap-stage {
  position: relative;
  background: #F6F7F9;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 4px;
  padding: 16px;
  aspect-ratio: 2 / 1;
}
.cmap-stage #cm-svg { width: 100%; height: 100%; display: block; }
.cm-land-dot {
  fill: var(--magenta);
  fill-opacity: 0.35;
}
.cm-city-dot {
  fill: #FFFFFF;
  stroke: var(--magenta);
  stroke-width: 1.3;
  filter: drop-shadow(0 0 4px rgba(226,0,116,0.55));
  cursor: pointer;
  transition: transform .15s ease;
  transform-origin: center;
}
.cm-city-dot:hover { fill: var(--magenta); }
.cm-halo {
  fill: rgba(226,0,116,0.22);
  animation: haloPulse 2.4s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.30; transform: scale(0.7); }
  50%      { opacity: 0.65; transform: scale(0.95); }
}
.cm-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em;
  padding: 6px 9px;
  border-radius: 3px;
  border-left: 2px solid var(--magenta);
  transform: translate(-50%, calc(-100% - 10px));
  opacity: 0; transition: opacity .15s;
  white-space: nowrap;
  z-index: 5;
  text-transform: uppercase;
}
.cm-tooltip.is-visible { opacity: 1; }
.cm-tooltip strong { color: var(--magenta); }

/* Cosmetic CCTV-style corner brackets on the stage */
.cmap-frame-corners {
  position: absolute; inset: 8px; pointer-events: none;
}
.cmap-frame-corners .cf {
  position: absolute; width: 14px; height: 14px;
  border-color: var(--magenta);
}
.cmap-frame-corners .tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.cmap-frame-corners .tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.cmap-frame-corners .bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.cmap-frame-corners .br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }

/* ── Side panel ──────────────────────────────────────────── */
.cmap-side {
  display: flex; flex-direction: column; gap: 18px;
}
.cmap-side-block {
  background: #F6F7F9;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 4px;
  padding: 14px 16px 16px;
}
.cmap-side-label {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--magenta); text-transform: uppercase; font-weight: 700;
  margin-bottom: 10px;
}
/* Top cities list */
.cm-top { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.cm-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 24px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body); font-size: 13px;
  color: rgba(10,10,11,0.85);
}
.cm-top-city { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-top-bar {
  height: 4px;
  background: rgba(10,10,11,0.10);
  border-radius: 2px;
  overflow: hidden;
}
.cm-top-bar > span {
  display: block; height: 100%;
  background: var(--magenta);
  box-shadow: 0 0 6px rgba(226,0,116,0.6);
}
.cm-top-n {
  font-family: var(--font-hud); font-size: 11px;
  color: var(--ink); text-align: right; letter-spacing: 0.10em;
}
/* Recent feed */
.cm-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cm-feed-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body); font-size: 12px;
  color: rgba(10,10,11,0.85);
}
.cm-feed-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 6px rgba(226,0,116,0.6);
}
.cm-feed-row.is-elsewhere .cm-feed-dot {
  background: rgba(10,10,11,0.35); box-shadow: none;
}
.cm-feed-city { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-feed-when {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.12em;
  color: rgba(10,10,11,0.45); text-transform: uppercase;
}
.cm-note {
  margin-top: 10px;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em;
  color: rgba(10,10,11,0.45); text-transform: uppercase;
}

/* In the utopia-unlocked takeover, keep the map plate bright so
   the magenta dots still pop and the type remains readable. */
body.is-utopia-unlocked .cmap-wrap {
  background: #FFFFFF !important;
  border-color: rgba(10,10,11,0.10);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* ============================================================
   BRIGHT BRAND-LAYER OVERRIDES — newsletter + impressum
   ──────────────────────────────────────────────────────────
   Flip these two sections from the CCTV dark plate to the
   bright brand layer. Kept on-brand with magenta accents, mono
   HUD micro-type, and CCTV corner brackets so the section still
   reads as "Cyber Utopia", not a vanilla form section.
   ============================================================ */

/* ── NEWSLETTER (Digital literacy in progress) ─────────────── */
#newsletter {
  background:
    /* corner washes of magenta to keep the bloom */
    radial-gradient(ellipse 60% 40% at 0% 0%,   rgba(226,0,116,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(226,0,116,0.10) 0%, transparent 70%),
    /* fine HUD scanline texture (1px lines @ 4px) for CCTV feel */
    repeating-linear-gradient(180deg, rgba(10,10,11,0.04) 0 1px, transparent 1px 4px),
    /* paper base */
    #F6F4EF;
  border-top: 1px solid rgba(226,0,116,0.30);
  border-bottom: 1px solid rgba(226,0,116,0.30);
  color: var(--ink);
  position: relative;
}
/* CCTV-style timestamp ribbon at the top */
#newsletter::before {
  content: "// REC · TRANSMISSION CHANNEL OPEN · BUFFER OK";
  position: absolute; top: 14px; left: 24px;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: rgba(10,10,11,0.45); text-transform: uppercase;
  z-index: 1;
}

/* Section type */
#newsletter .section-eyebrow { color: var(--magenta); }
#newsletter .section-eyebrow::before {
  background: var(--magenta);
  box-shadow: 0 0 10px rgba(226,0,116,0.4);
}
#newsletter .section-h {
  color: var(--ink);
  text-shadow: none;
}
#newsletter .section-h .m {
  color: var(--magenta);
  filter: drop-shadow(0 0 14px rgba(226,0,116,0.30));
}
#newsletter .section-lead {
  color: rgba(10,10,11,0.72);
}

/* Form labels look like CCTV terminal labels */
#newsletter .form-label {
  color: var(--magenta);
}
#newsletter .form-input {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.18);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(10,10,11,0.02);
}
#newsletter .form-input::placeholder {
  color: rgba(10,10,11,0.40);
}
#newsletter .form-input:focus {
  border-color: var(--magenta);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(226,0,116,0.16);
}
#newsletter .form-check {
  color: rgba(10,10,11,0.78);
}
#newsletter .form-check a {
  color: var(--magenta);
  border-bottom-color: rgba(226,0,116,0.35);
}
#newsletter .form-status { color: var(--magenta); }

/* Perks callout flipped to bright plate w/ CCTV corner brackets */
#newsletter .perks-callout {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-left: 3px solid var(--magenta);
  position: relative;
}
#newsletter .perks-callout::before,
#newsletter .perks-callout::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--magenta);
  pointer-events: none;
}
#newsletter .perks-callout::before {
  top: -1px; right: -1px;
  border-left: none; border-bottom: none;
}
#newsletter .perks-callout::after {
  bottom: -1px; right: -1px;
  border-left: none; border-top: none;
}
#newsletter .perks-list li { color: rgba(10,10,11,0.82); }
#newsletter .perks-list .perks-v strong { color: var(--ink); }
#newsletter .perks-list .perks-k {
  background: #FFF;
  color: var(--magenta);
  border-color: var(--magenta);
}
#newsletter .perks-foot {
  color: rgba(10,10,11,0.55);
  border-top-color: rgba(10,10,11,0.18);
}

/* Form submit button — magenta filled, paper layer surround */
#newsletter .form-submit {
  background: var(--magenta);
  color: #fff;
  border: none;
  box-shadow: 0 12px 28px rgba(226,0,116,0.30);
}
#newsletter .form-submit:hover {
  background: #ff0d8c;
  box-shadow: 0 16px 36px rgba(226,0,116,0.40);
}

/* The community map already uses the bright plate; only the
   wrapper's outer border needs to match the new section tone. */
#newsletter .cmap-wrap { border-color: rgba(10,10,11,0.10); }


/* ── IMPRESSUM + CONTACT ───────────────────────────────────── */
#impressum {
  background:
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(226,0,116,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(226,0,116,0.08) 0%, transparent 70%),
    repeating-linear-gradient(180deg, rgba(10,10,11,0.04) 0 1px, transparent 1px 4px),
    #F6F4EF;
  color: var(--ink);
  border-top: 1px solid rgba(226,0,116,0.30);
  border-bottom: 1px solid rgba(226,0,116,0.30);
  position: relative;
}
#impressum::before {
  content: "// FILE · LEGAL · § 5 ECG / § 25 MEDIENG";
  position: absolute; top: 14px; left: 24px;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: rgba(10,10,11,0.45); text-transform: uppercase;
  z-index: 1;
}
#impressum .section-h { color: var(--ink); text-shadow: none; }
#impressum .section-h .m { color: var(--magenta); }

/* Each legal column becomes a CCTV "report card" plate */
#impressum .legal-col {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
#impressum .legal-col::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--magenta);
}
/* CCTV corner brackets on each legal card */
#impressum .legal-col::after {
  content: "";
  position: absolute;
  top: 14px; right: 14px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--magenta);
  border-right: 1px solid var(--magenta);
  pointer-events: none;
}

#impressum .legal-col h3 {
  color: var(--ink);
  border-bottom: 1px solid rgba(10,10,11,0.12);
}
#impressum .legal-col p,
#impressum .legal-col address {
  color: rgba(10,10,11,0.78);
}
#impressum .legal-col strong { color: var(--ink); }
#impressum .legal-col a {
  color: var(--magenta);
  border-bottom: 1px solid rgba(226,0,116,0.35);
}
#impressum .legal-col a:hover {
  color: #ff0d8c;
  border-bottom-color: #ff0d8c;
}

/* Contact rows on the bright plate */
#impressum .contact-row { color: rgba(10,10,11,0.80); }
#impressum .contact-row .k { color: var(--ink); }
#impressum .contact-row a {
  color: var(--ink);
  border-bottom: 1px solid rgba(10,10,11,0.30);
}
#impressum .contact-row a:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}

/* Utopia-unlocked: don't darken these sections back; the bright
   brand layer is now the canonical look. */
body.is-utopia-unlocked #newsletter,
body.is-utopia-unlocked #impressum {
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%,   rgba(226,0,116,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(226,0,116,0.10) 0%, transparent 70%),
    repeating-linear-gradient(180deg, rgba(10,10,11,0.04) 0 1px, transparent 1px 4px),
    #F6F4EF !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(226,0,116,0.30);
}
body.is-utopia-unlocked #newsletter .perks-callout,
body.is-utopia-unlocked #impressum .legal-col {
  background: #FFFFFF !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* ============================================================
   CATEGORY-INTRO BANNER (inside the question screen).
   Replaces the standalone cat-intro screen so the user goes
   straight from picking a category into the first question.
   ============================================================ */
#quiz .cat-intro-banner {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-left: 3px solid var(--magenta);
  border-radius: 6px;
  padding: 14px 18px 16px;
  margin-bottom: 18px;
  position: relative;
}
#quiz .cat-intro-banner::after {
  content: "";
  position: absolute; top: 8px; right: 8px;
  width: 12px; height: 12px;
  border-top: 1px solid var(--magenta);
  border-right: 1px solid var(--magenta);
  pointer-events: none;
}
#quiz .cat-intro-banner .cib-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}
#quiz .cat-intro-banner .cib-icon {
  width: 44px; height: 44px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 800;
}
#quiz .cat-intro-banner .cib-eyebrow {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: rgba(10,10,11,0.50); text-transform: uppercase; font-weight: 700;
  margin-bottom: 2px;
}
#quiz .cat-intro-banner .cib-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.1;
}
#quiz .cat-intro-banner .cib-fragment {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--magenta);
  margin-top: 2px;
  text-transform: uppercase;
}
#quiz .cat-intro-banner .cib-meta {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em;
  color: rgba(10,10,11,0.55); text-transform: uppercase; font-weight: 700;
  text-align: right;
  white-space: nowrap;
  align-self: start;
  padding-top: 4px;
}
#quiz .cat-intro-banner .cib-desc {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(10,10,11,0.14);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.55;
  color: rgba(10,10,11,0.72);
  text-wrap: pretty;
}
@media (max-width: 520px) {
  #quiz .cat-intro-banner .cib-row { grid-template-columns: 36px minmax(0, 1fr); }
  #quiz .cat-intro-banner .cib-meta { display: none; }
  #quiz .cat-intro-banner .cib-icon { width: 36px; height: 36px; font-size: 18px; }
}
body.is-utopia-unlocked #quiz .cat-intro-banner { background: #FFFFFF !important; }


/* ============================================================
   RESULTS · PDF DOWNLOAD CARD
   Sits between the quiz results header and the share-card sujet.
   Bright brand-layer plate with magenta accents + CCTV bracket so
   it reads as part of the Cyber Utopia kit, not a stock CTA.
   ============================================================ */
#quiz .results-pdf {
  background: #FFFFFF;
  border: 1px solid rgba(10,10,11,0.10);
  border-left: 3px solid var(--magenta);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 28px 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#quiz .results-pdf::after {
  content: "";
  position: absolute;
  top: 8px; right: 8px;
  width: 14px; height: 14px;
  border-top: 1px solid var(--magenta);
  border-right: 1px solid var(--magenta);
  pointer-events: none;
}
#quiz .results-pdf-mark {
  color: var(--magenta);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--magenta);
  border-radius: 4px;
  background: rgba(226,0,116,0.06);
}
#quiz .results-pdf-eyebrow {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--magenta); text-transform: uppercase; font-weight: 700;
  margin-bottom: 2px;
}
#quiz .results-pdf-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.1;
  color: var(--ink);
}
#quiz .results-pdf-desc {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: 13px; line-height: 1.55;
  color: rgba(10,10,11,0.70);
  text-wrap: pretty;
  max-width: 56ch;
}
#quiz .results-pdf-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.18em; font-weight: 700;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--magenta);
  color: #fff;
  text-decoration: none;
  border: none;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(226,0,116,0.30);
  transition: background .15s, box-shadow .15s, transform .15s;
}
#quiz .results-pdf-btn:hover {
  background: #ff0d8c;
  box-shadow: 0 14px 32px rgba(226,0,116,0.40);
  transform: translateY(-1px);
}
#quiz .results-pdf-btn svg { width: 16px; height: 16px; }

@media (max-width: 640px) {
  #quiz .results-pdf {
    grid-template-columns: 36px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  #quiz .results-pdf-btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
  #quiz .results-pdf-mark { width: 36px; height: 36px; }
  #quiz .results-pdf-mark svg { width: 22px; height: 22px; }
}

body.is-utopia-unlocked #quiz .results-pdf { background: #FFFFFF !important; }


/* ── Community map zoom controls ─────────────────────────────
   Smaller dots (the renderer now uses size = cell × 0.45, so they
   read as a fine constellation). Cursor cues for pan/zoom and a
   small reset button on the stage. */
.cmap-stage #cm-svg { cursor: grab; touch-action: none; }
.cmap-stage #cm-svg.is-dragging { cursor: grabbing; }
.cm-land-dot { fill: var(--magenta); fill-opacity: 0.45; }
.cm-reset {
  position: absolute;
  top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  background: #FFFFFF;
  color: var(--magenta);
  border: 1px solid var(--magenta);
  border-radius: 3px;
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em; font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 6;
  transition: background .15s, color .15s;
}
.cm-reset:hover { background: var(--magenta); color: #fff; }
.cm-hint {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: var(--font-hud);
  font-size: 9px; letter-spacing: 0.18em;
  color: rgba(10,10,11,0.40);
  text-transform: uppercase;
  z-index: 6;
  pointer-events: none;
}


/* ============================================================
   IMPRESSUM — CI cleanup
   Four cards in a 2×2 grid (Impressum, Privacy, Contact, Credits),
   each on the bright brand-layer plate. Each card opens with a
   HUD eyebrow, a TeleNeo display headline (with magenta accent),
   and structured key/value rows. Replaces the prior wall-of-text
   address block with explicit fields.
   ============================================================ */
#impressum .legal-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) {
  #impressum .legal-grid { grid-template-columns: 1fr; gap: 22px; }
}

#impressum .legal-col {
  background: #FFFFFF;
  padding: 26px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#impressum .legal-eyebrow {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--magenta);
  text-transform: uppercase;
  font-weight: 700;
}
#impressum .legal-col h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 6px;
  padding: 0;
  border: none;
}
#impressum .legal-col h3 .m { color: var(--magenta); }
#impressum .legal-col h3 .legal-h-sep {
  color: rgba(10,10,11,0.30);
  margin: 0 8px;
  font-weight: 400;
}

/* Key/value definition list */
#impressum .legal-dl {
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
#impressum .legal-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(10,10,11,0.12);
}
#impressum .legal-row:last-child { border-bottom: none; }
#impressum .legal-row dt {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
#impressum .legal-row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: rgba(10,10,11,0.85);
  line-height: 1.5;
}
#impressum .legal-row dd a {
  color: var(--ink);
  border-bottom: 1px solid rgba(10,10,11,0.30);
}
#impressum .legal-row dd a:hover {
  color: var(--magenta);
  border-bottom-color: var(--magenta);
}
#impressum .legal-tag {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--font-hud);
  font-size: 9px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--magenta);
  background: rgba(226,0,116,0.08);
  border: 1px solid rgba(226,0,116,0.30);
  padding: 2px 6px;
  border-radius: 2px;
  vertical-align: middle;
}

/* Numbered privacy/credits list */
#impressum .legal-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
#impressum .legal-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
#impressum .legal-list .legal-list-k {
  font-family: var(--font-hud);
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--magenta);
  background: #FFFFFF;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  padding: 3px 0;
  text-align: center;
}
#impressum .legal-list .legal-list-v {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(10,10,11,0.82);
  text-wrap: pretty;
}
#impressum .legal-list .legal-list-v a {
  color: var(--magenta);
  border-bottom: 1px solid rgba(226,0,116,0.35);
}
#impressum .legal-list .legal-list-v a:hover { color: #ff0d8c; border-bottom-color: #ff0d8c; }

/* Fine-print footer */
#impressum .legal-fineprint {
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(10,10,11,0.14);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.55;
  color: rgba(10,10,11,0.55);
  text-wrap: pretty;
}

/* Contact rows: realign to match the new card spacing */
#impressum #contact .contact-row {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(10,10,11,0.12);
  margin-bottom: 0;
}
#impressum #contact .contact-row:last-of-type { border-bottom: none; }

/* ── Learn-deeper · rooms overview section ──────────────────
   First definition (kept earlier in the file). The wrapper now
   uses no internal horizontal padding — the parent .ld-shell
   already caps width at 1120px, so leaving padding off keeps
   the card flush with the .ld-slide above it. */
.ld-rooms-overview {
  max-width: 1120px;
  margin: 60px auto 80px;
  padding: 0;
}
.ld-rooms-overview-head {
  text-align: center;
  margin-bottom: 32px;
}
.ld-rooms-overview-head .ld-eyebrow {
  font-family: var(--font-hud);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--magenta);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.ld-rooms-overview-head .ld-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.ld-rooms-overview-head .ld-h2 .m { color: var(--magenta); }
.ld-rooms-overview-head .ld-lead {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(10,10,11,0.70);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: pretty;
}
.ld-rooms-overview .themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}


/* ============================================================
   IMPRESSUM — CI cleanup
   Four cards in a 2×2 grid (Impressum, Privacy, Contact, Credits),
   each on the bright brand-layer plate.
   ============================================================ */
#impressum .legal-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 760px) {
  #impressum .legal-grid { grid-template-columns: 1fr; gap: 22px; }
}
#impressum .legal-col {
  background: #FFFFFF;
  padding: 26px 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#impressum .legal-eyebrow {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--magenta);
  text-transform: uppercase;
  font-weight: 700;
}
#impressum .legal-col h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-transform: none;
  margin: 0 0 6px;
  padding: 0;
  border: none;
}
#impressum .legal-col h3 .m { color: var(--magenta); }
#impressum .legal-col h3 .legal-h-sep {
  color: rgba(10,10,11,0.30); margin: 0 8px; font-weight: 400;
}
#impressum .legal-dl { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#impressum .legal-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(10,10,11,0.12);
}
#impressum .legal-row:last-child { border-bottom: none; }
#impressum .legal-row dt {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  color: var(--ink); margin: 0;
}
#impressum .legal-row dd {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px; font-weight: 500;
  color: rgba(10,10,11,0.85); line-height: 1.5;
}
#impressum .legal-row dd a {
  color: var(--ink);
  border-bottom: 1px solid rgba(10,10,11,0.30);
}
#impressum .legal-row dd a:hover { color: var(--magenta); border-bottom-color: var(--magenta); }
#impressum .legal-tag {
  display: inline-block; margin-left: 8px;
  font-family: var(--font-hud);
  font-size: 9px; letter-spacing: 0.18em; font-weight: 700; text-transform: uppercase;
  color: var(--magenta);
  background: rgba(226,0,116,0.08);
  border: 1px solid rgba(226,0,116,0.30);
  padding: 2px 6px; border-radius: 2px; vertical-align: middle;
}
#impressum .legal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#impressum .legal-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
}
#impressum .legal-list .legal-list-k {
  font-family: var(--font-hud);
  font-size: 10px; letter-spacing: 0.18em; font-weight: 700; text-transform: uppercase;
  color: var(--magenta);
  background: #FFFFFF;
  border: 1px solid var(--magenta);
  border-radius: 999px;
  padding: 3px 0;
  text-align: center;
}
#impressum .legal-list .legal-list-v {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.55;
  color: rgba(10,10,11,0.82);
  text-wrap: pretty;
}
#impressum .legal-list .legal-list-v a {
  color: var(--magenta); border-bottom: 1px solid rgba(226,0,116,0.35);
}
#impressum .legal-list .legal-list-v a:hover { color: #ff0d8c; border-bottom-color: #ff0d8c; }
#impressum .legal-fineprint {
  margin: 6px 0 0;
  padding-top: 12px;
  border-top: 1px dashed rgba(10,10,11,0.14);
  font-family: var(--font-body);
  font-size: 12px; line-height: 1.55;
  color: rgba(10,10,11,0.55);
  text-wrap: pretty;
}
#impressum #contact .contact-row {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(10,10,11,0.12);
  margin-bottom: 0;
}
#impressum #contact .contact-row:last-of-type { border-bottom: none; }

/* ── Learn-deeper · rooms overview section ──────────────────
   Width matches the .ld-shell container above (1120px) so the
   card sits flush with the episode slide. */
.ld-rooms-overview {
  max-width: 1120px;
  margin: 60px auto 80px;
  padding: 0;
}
.ld-rooms-overview-head { text-align: center; margin-bottom: 32px; }
.ld-rooms-overview-head .ld-eyebrow {
  font-family: var(--font-hud);
  font-size: 11px; letter-spacing: 0.22em; font-weight: 700;
  color: var(--magenta); text-transform: uppercase;
  margin-bottom: 10px;
}
.ld-rooms-overview-head .ld-h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}
.ld-rooms-overview-head .ld-h2 .m { color: var(--magenta); }
.ld-rooms-overview-head .ld-lead {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.55;
  color: rgba(10,10,11,0.70);
  max-width: 640px;
  margin: 0 auto;
  text-wrap: pretty;
}
.ld-rooms-overview .themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

/* When filtered to a single room, the card fills the full wrapper
   width so it sits flush with the .ld-slide above. */
.ld-rooms-overview .themes-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}
.ld-rooms-overview .themes-grid.is-single .theme-card {
  padding-bottom: 28px;
}
