:root {
  --bg: #07080d;
  --void: #04050a;
  --ink: #f6f7fb;
  --ink-2: #a2a8b5;
  --ink-3: #6b7080;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --teal: #06b6d4;
  --emerald: #34d399;
  --pink: #f472b6;
  --amber: #f59e0b;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.05, 0.7, 0.1, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --panel-bg: rgba(8, 10, 18, 0.78);
  --panel-bg-2: rgba(12, 14, 24, 0.85);
  --panel-border: rgba(255, 255, 255, 0.08);
  --accent: var(--indigo);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

#stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  background: var(--bg);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  padding: 0;
  outline: none;
}

/* ─── Live UI shell ─────────────────────────────────────────────────── */

.ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}

.ui.hidden { opacity: 0; pointer-events: none; }
.ui > * { pointer-events: auto; }

/* Subtle vignette + scanline on the live UI */
.ui::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 60% at 50% 100%, rgba(0,0,0,0.35), transparent 70%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(0,0,0,0.28), transparent 70%);
}

/* ─── Top header ────────────────────────────────────────────────────── */

.ui-top {
  position: fixed;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  pointer-events: none;
}
.ui-top > * { pointer-events: auto; }

.phase-title {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.phase-eyebrow {
  font-size: 10px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.phase-name {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.14em;
}

.brand-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 28px 14px 28px 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.brand-chip-mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.1);
  border-radius: 50%;
}
.brand-chip-mark svg { width: 22px; height: 22px; }

.brand-chip-meta { line-height: 1.1; }

.brand-chip-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.brand-chip-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.005em;
  color: var(--ink);
}

.brand-chip-switch {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background 200ms, color 200ms;
}
.brand-chip-switch:hover { background: rgba(255, 255, 255, 0.06); color: var(--ink); }
.brand-chip-switch:active { transform: scale(0.94); }
.brand-chip-switch svg { width: 14px; height: 14px; }

/* ─── Talking-points card ───────────────────────────────────────────── */

.talking-card {
  position: fixed;
  left: 24px;
  top: 78px;
  width: clamp(290px, 28vw, 380px);
  background: var(--panel-bg-2);
  border: 1px solid var(--panel-border);
  border-radius: 28px 14px 28px 14px;
  padding: 22px 22px 18px;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  transform-origin: top left;
}

.talking-card.swap-out { opacity: 0; transform: translateX(-12px); }
.talking-card.swap-in  { opacity: 1; transform: translateX(0); }

.talking-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.talking-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.talking-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}

.talking-lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  margin-bottom: 18px;
}

.talking-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.stat {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}
.stat .stat-k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.stat .stat-v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat .stat-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 4px;
}

.talking-bullets {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.talking-bullets li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.talking-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--accent);
}

.talking-actions {
  display: flex;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.phase-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 180ms, border-color 180ms, transform 180ms var(--ease-spring);
}
.phase-btn:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); }
.phase-btn:active { transform: scale(0.97); }
.phase-btn svg { width: 12px; height: 12px; }
.phase-btn.next { background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.18), rgba(6, 182, 212, 0.2)); border-color: rgba(139, 92, 246, 0.4); }
.phase-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ─── Heart monitor (top-right pulsing heart) ───────────────────────── */
/* A literal beating-heart icon. Two CSS keyframes — the heart path
   scales in a sharp double-thump (lub-dub) once per second; a soft
   radial glow halo pulses at the same rate. No JS needed. */

.heart-monitor {
  position: fixed;
  top: 78px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 12px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.heart-svg-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  position: relative;
}

.heart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* The heart path scales like a real heartbeat — sharp double thump. */
.heart-path {
  transform-origin: 32px 32px;
  animation: heartbeat 1s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.55));
}

/* The halo behind it pulses on the same rhythm so the whole component
   reads as alive even when bloom is off. */
.heart-glow {
  transform-origin: 32px 28px;
  animation: heartbeat-glow 1s ease-in-out infinite;
}

@keyframes heartbeat {
  0%   { transform: scale(0.94); }
  14%  { transform: scale(1.12); }   /* lub */
  28%  { transform: scale(0.96); }
  42%  { transform: scale(1.06); }   /* dub */
  70%  { transform: scale(0.94); }
  100% { transform: scale(0.94); }
}
@keyframes heartbeat-glow {
  0%   { opacity: 0.35; transform: scale(0.9); }
  14%  { opacity: 0.85; transform: scale(1.15); }
  28%  { opacity: 0.50; transform: scale(0.95); }
  42%  { opacity: 0.75; transform: scale(1.08); }
  70%  { opacity: 0.35; transform: scale(0.9); }
  100% { opacity: 0.35; transform: scale(0.9); }
}

.heart-readout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.heart-bpm {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.heart-bpm-suffix {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

@media (prefers-reduced-motion: reduce) {
  .heart-path, .heart-glow { animation: none; }
}

@media (max-width: 900px) {
  .heart-monitor { display: none; }
}

/* ─── Right telemetry strip ─────────────────────────────────────────── */

.telemetry-strip {
  position: fixed;
  right: 24px;
  top: 142px;            /* below the heart monitor */
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: right;
  line-height: 1.7;
  max-width: 220px;
}

.telemetry-strip .tel {
  white-space: nowrap;
  opacity: 0.85;
}
.telemetry-strip .tel.live { color: var(--ink-2); }
.telemetry-strip .tel .v { color: var(--ink); }

/* ─── Phase rail (bottom) ───────────────────────────────────────────── */

.phase-rail {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 48px);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.phase-rail::-webkit-scrollbar { display: none; }

.phase-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  transition: background 200ms, color 200ms, transform 180ms var(--ease-spring);
}
.phase-chip:hover { color: var(--ink-2); background: rgba(255, 255, 255, 0.04); }
.phase-chip:active { transform: scale(0.95); }
.phase-chip .chip-num { color: var(--ink-3); font-weight: 600; opacity: 0.6; }
.phase-chip.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.42), rgba(99, 102, 241, 0.38), rgba(6, 182, 212, 0.42));
  color: #fff;
  box-shadow:
    inset 0 0 0 1.5px rgba(167, 139, 250, 0.85),
    0 0 22px rgba(99, 102, 241, 0.4);
  font-weight: 600;
}
.phase-chip.active .chip-num { color: #c4b5fd; opacity: 1; }

/* ─── Post detail modal ─────────────────────────────────────────────── */

.post-detail {
  position: fixed;
  inset: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.post-detail.live {
  opacity: 1;
  pointer-events: auto;
}

.post-detail-scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 10, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.post-detail-card {
  position: relative;
  width: clamp(320px, 56vw, 640px);
  background: var(--panel-bg-2);
  border: 1px solid var(--panel-border);
  border-radius: 36px 14px 36px 14px;
  padding: 32px 32px 24px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  overflow: hidden;
  transform: scale(0.96) translateY(8px);
  transition: transform 0.4s var(--ease-spring);
}
.post-detail.live .post-detail-card {
  transform: scale(1) translateY(0);
}

.pd-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--card-accent, var(--indigo));
}

.post-detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  transition: background 200ms, color 200ms;
}
.post-detail-close:hover { background: rgba(255, 255, 255, 0.12); color: var(--ink); }
.post-detail-close:active { transform: scale(0.94); }
.post-detail-close svg { width: 14px; height: 14px; }

.pd-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
  padding-right: 36px;
}

.pd-handle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.025em;
  color: var(--ink);
}

.pd-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pd-platform { color: var(--card-accent, var(--indigo)); }
.pd-dot      { opacity: 0.5; }

.pd-caption {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  margin-bottom: 22px;
  max-height: 32vh;
  overflow-y: auto;
}

.pd-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.pd-metric {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.pd-metric-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.pd-metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}

.pd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.pd-cell-value { color: var(--emerald); }

@media (max-width: 540px) {
  .pd-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Strategy switcher (phase 7 only) ──────────────────────────────── */

.strategy-pad {
  position: fixed;
  left: 50%;
  bottom: 78px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: 22px 10px 22px 10px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: calc(100vw - 48px);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.strategy-pad::-webkit-scrollbar { display: none; }
.strategy-pad.live {
  opacity: 1;
  pointer-events: auto;
}

.strategy-chip {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 9px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ink-2);
  font-family: var(--font-display);
  text-align: left;
  white-space: nowrap;
  transition: background 200ms, border-color 200ms, transform 180ms var(--ease-spring), color 200ms;
}
.strategy-chip:hover { color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.strategy-chip:active { transform: scale(0.96); }
.strategy-chip .s-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.strategy-chip .s-time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.strategy-chip.active {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.16), rgba(34, 211, 238, 0.14));
  border-color: rgba(52, 211, 153, 0.45);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.4);
}
.strategy-chip.active .s-time { color: var(--emerald); }

/* ─── Pitch card (phase 9 only) ─────────────────────────────────────── */

.pitch-card {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) translateY(8px);
  width: clamp(320px, 64vw, 720px);
  padding: 36px 36px 28px;
  background: var(--panel-bg-2);
  border: 1px solid var(--panel-border);
  border-radius: 36px 14px 36px 14px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.025) inset;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.pitch-card.live {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) translateY(0);
}

.pitch-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.pitch-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #c4b5fd 0%, #a5b4fc 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pitch-sub {
  margin: 14px auto 26px;
  max-width: 520px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.5;
  color: var(--ink-2);
}

.pitch-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  text-align: left;
  margin-bottom: 22px;
}

.pitch-pillar {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.pitch-pillar .p-k {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.pitch-pillar .p-v {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink);
}

.pitch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 22px;
}
.pitch-stat {
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pitch-stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1;
  letter-spacing: -0.025em;
  background: linear-gradient(135deg, #c4b5fd, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pitch-stat span {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.pitch-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: 0.01em;
  color: var(--ink);
  padding: 14px 0 4px;
  border-top: 1px solid var(--line);
  position: relative;
}
.pitch-cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transform: translateX(-50%);
  transition: width 1s var(--ease) 0.2s;
}
.pitch-card.live .pitch-cta::after { width: 60%; }

@media (max-width: 720px) {
  .pitch-pillars { grid-template-columns: 1fr; }
  .pitch-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ─── Hint ──────────────────────────────────────────────────────────── */

.hint {
  position: fixed;
  right: 24px;
  bottom: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  opacity: 0.5;
  pointer-events: none;
}

/* ─── Brand picker ──────────────────────────────────────────────────── */

.picker {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(99, 102, 241, 0.07), transparent 70%),
    var(--bg);
  padding: 8vh 6vw 32px;
  overflow-y: auto;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.picker.gone { opacity: 0; transform: scale(0.98); pointer-events: none; }

.picker-header {
  text-align: center;
  margin-bottom: 56px;
  animation: pic-in 0.9s var(--ease) both;
}
@keyframes pic-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.picker-mark {
  width: 64px; height: 64px;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 0 24px rgba(99, 102, 241, 0.35));
}

.picker-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.picker-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #c4b5fd 0%, #a5b4fc 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.picker-sub {
  margin: 18px auto 0;
  max-width: 600px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--ink-2);
  line-height: 1.5;
}

/* ─── Dropdown selector ─────────────────────────────────────────────── */

.picker-row {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.picker-select-wrap {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.picker-select-label {
  position: absolute;
  top: -10px;
  left: 24px;
  padding: 0 8px;
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
  pointer-events: none;
  z-index: 1;
}

.picker-select {
  flex: 1;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(12, 14, 24, 0.78);
  border: 1px solid var(--panel-border);
  border-radius: 18px 8px 18px 8px;
  padding: 22px 56px 22px 24px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.005em;
  cursor: pointer;
  outline: none;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.picker-select:hover  { border-color: rgba(255, 255, 255, 0.18); }
.picker-select:focus  { border-color: rgba(139, 92, 246, 0.5); }

.picker-select option {
  background: #0c0e18;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
}

.picker-select-chev {
  position: absolute;
  right: 22px;
  width: 14px;
  height: 14px;
  color: var(--ink-2);
  pointer-events: none;
}

.picker-enter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 24px;
  background: linear-gradient(135deg, #8b5cf6, #6366f1, #06b6d4);
  border: none;
  border-radius: 18px 8px 18px 8px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  cursor: pointer;
  outline: none;
  box-shadow: 0 8px 28px rgba(99, 102, 241, 0.32);
  transition: transform 200ms var(--ease-spring), box-shadow 200ms var(--ease);
}
.picker-enter:hover  { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(99, 102, 241, 0.42); }
.picker-enter:active { transform: scale(0.97); }
.picker-enter svg    { width: 14px; height: 14px; }

/* ─── Picker live brand summary ──────────────────────────────────────── */

.picker-meta-row {
  width: 100%;
  max-width: 720px;
  margin: 18px auto 0;
}

.picker-brand-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  padding: 16px;
  background: rgba(12, 14, 24, 0.55);
  border: 1px solid var(--panel-border);
  border-radius: 18px 8px 18px 8px;
  position: relative;
  overflow: hidden;
}
.picker-brand-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 0 0;
  width: 3px;
  background: var(--card-accent, var(--indigo));
}

.picker-summary-cell {
  padding: 4px 8px;
}
.picker-summary-cell .k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.picker-summary-cell .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.picker-summary-cell .sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-3);
  margin-top: 2px;
}

.brand-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 22px 20px;
  background: rgba(12, 14, 24, 0.6);
  border: 1px solid var(--panel-border);
  border-radius: 28px 14px 28px 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
  text-align: left;
  transition: transform 320ms var(--ease-spring), border-color 220ms, background 220ms;
  overflow: hidden;
}
.brand-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--card-accent, var(--indigo));
  opacity: 0.85;
}
.brand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 20, 32, 0.7);
}
.brand-card:active { transform: scale(0.98); }

.brand-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.brand-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}

.brand-card-vertical {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}

.brand-card-blurb {
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-2);
  flex-grow: 1;
}

.brand-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.brand-card-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.brand-card-pill .v { color: var(--ink); }

.brand-card-go {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--card-accent, var(--indigo));
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.brand-card-go svg { width: 11px; height: 11px; }

.picker-footer {
  text-align: center;
  margin-top: 36px;
  margin-bottom: 12px;
}
.picker-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ─── iPad / responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .talking-card { width: calc(100vw - 48px); top: auto; bottom: 88px; left: 24px; }
  .telemetry-strip { display: none; }
  .ui-top { gap: 12px; }
  .brand-chip-meta { display: none; }
  .phase-rail { bottom: 12px; }
  .hint { display: none; }
}

@media (max-width: 540px) {
  .picker-grid { grid-template-columns: 1fr; }
  .picker { padding: 6vh 5vw 28px; }
}
