/* DeepXplore interactive pitch deck — shared chrome & slides */

:root {
  --orange: #d47a0d;
  --orange-bright: #ff9900;
  --orange-soft: rgba(212, 122, 13, 0.14);
  --bg: #080808;
  --bg-2: #0c0c0c;
  --bg-3: #141414;
  --text: #f2f2f2;
  --muted: #9a9a9a;
  --line: rgba(255, 255, 255, 0.08);
  --ok: #6aa84f;
  --mid: #f1c232;
  --bad: #db0000;
  --radius: 14px;
  --max: 1120px;
  --ctrl: 56px;
}

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

html,
body {
  height: 100%;
  overflow: hidden;
}

body.pitch-body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ── Shell ── */
.pitch-shell {
  position: relative;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(212, 122, 13, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(255, 153, 0, 0.06), transparent 50%),
    var(--bg);
}

.pitch-topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.72);
  backdrop-filter: blur(12px);
  z-index: 20;
}

.pitch-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.pitch-brand img {
  height: 36px;
  width: auto;
}

.pitch-brand-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.pitch-progress-wrap {
  flex: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.pitch-progress-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.pitch-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.pitch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.pitch-dot:hover {
  background: rgba(255, 153, 0, 0.55);
}

.pitch-dot.is-active {
  background: var(--orange-bright);
  transform: scale(1.25);
}

.pitch-top-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pitch-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.pitch-icon-btn:focus {
  outline: none;
}

.pitch-icon-btn:focus-visible {
  outline: 2px solid rgba(255, 153, 0, 0.55);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .pitch-icon-btn:hover {
    border-color: rgba(212, 122, 13, 0.55);
    background: var(--orange-soft);
    color: #fff;
  }
}

.pitch-icon-btn.is-active {
  border-color: rgba(212, 122, 13, 0.55);
  background: var(--orange-soft);
  color: #fff;
}

.pitch-icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── Karaoke transcript panel (slides in from right) ── */
.pitch-karaoke {
  position: absolute;
  top: 64px;
  right: 0;
  bottom: 76px;
  width: min(380px, 92vw);
  z-index: 40;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.96);
  border-left: 1px solid rgba(255, 153, 0, 0.28);
  border-radius: 14px 0 0 14px;
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.45);
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.pitch-karaoke.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.pitch-shell.karaoke-open .pitch-stage .pitch-slide-inner {
  padding-right: 0.5rem;
}

.pitch-karaoke-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.pitch-karaoke-kicker {
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-bright);
}

.pitch-karaoke-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 0.15rem;
  color: var(--text);
}

.pitch-karaoke-body {
  flex: 1;
  overflow: auto;
  padding: 1.15rem 1.15rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  word-wrap: break-word;
}

.pitch-karaoke-empty {
  color: var(--muted);
  font-size: 0.9rem;
}

.karaoke-word {
  color: #6e6e6e;
  font-weight: 450;
  transition: color 0.12s ease, text-shadow 0.12s ease;
}

.karaoke-word.is-past {
  color: #8a8a8a;
}

.karaoke-word.is-active {
  color: #ffffff;
  font-weight: 750;
  text-shadow: 0 0 18px rgba(255, 153, 0, 0.35);
}

.karaoke-sentence {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.65rem 0.55rem 0.55rem;
  border-radius: 10px;
  color: #6e6e6e;
  font-weight: 450;
  font-size: 0.98rem;
  line-height: 1.55;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.karaoke-sentence .karaoke-si {
  display: inline-block;
  min-width: 1.4em;
  margin-right: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #555;
  vertical-align: top;
  margin-top: 0.2em;
}

.karaoke-sentence.is-past {
  color: #8a8a8a;
}

.karaoke-sentence.is-active {
  color: #ffffff;
  font-weight: 700;
  background: rgba(255, 153, 0, 0.1);
  border-color: rgba(255, 153, 0, 0.35);
  text-shadow: 0 0 18px rgba(255, 153, 0, 0.25);
}

.karaoke-sentence.is-active .karaoke-si {
  color: var(--orange-bright);
}

@media (max-width: 720px) {
  .pitch-karaoke {
    width: min(100vw, 100%);
  }
}

/* ── Stage ── */
.pitch-stage {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.pitch-controls {
  flex-shrink: 0;
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem 1.1rem;
  background: rgba(8, 8, 8, 0.92);
  border-top: 1px solid var(--line);
}

.pitch-slide {
  position: absolute;
  inset: 0;
  padding: 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateX(28px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  overflow: auto;
}

.pitch-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 2;
}

.pitch-slide.is-exit-left {
  opacity: 0;
  transform: translateX(-28px);
}

.pitch-slide.is-exit-right {
  opacity: 0;
  transform: translateX(28px);
}

.pitch-controls .pitch-nav-btn,
.pitch-controls .pitch-hint,
.pitch-top-actions .pitch-icon-btn {
  position: relative;
  z-index: 31;
}

.pitch-slide-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.pitch-kicker {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-bright);
}

.pitch-title {
  font-size: clamp(1.6rem, 3.2vw, 2.55rem);
  font-weight: 720;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
}

.pitch-title.wide {
  max-width: 34ch;
}

.pitch-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 52ch;
}

.pitch-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.05;
  background: linear-gradient(135deg, #fff 30%, var(--orange-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pitch-cover-logo {
  display: block;
  width: min(16rem, 55vw);
  height: auto;
  margin: 0;
}

/* ── Layout helpers ── */
.pitch-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

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

.pitch-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 900px) {
  .pitch-grid-2,
  .pitch-grid-3,
  .pitch-grid-4 {
    grid-template-columns: 1fr;
  }
}

.pitch-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}

.pitch-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.pitch-card p,
.pitch-card li {
  font-size: 0.92rem;
  color: var(--muted);
}

.pitch-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pitch-card.accent {
  border-color: rgba(255, 153, 0, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.25);
}

.pitch-card .alone,
.pitch-card .together {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
}

.pitch-card .alone strong,
.pitch-card .together strong {
  color: var(--text);
}

.pitch-card .together {
  color: var(--orange-bright);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--orange-soft);
  color: var(--orange-bright);
  margin-bottom: 0.55rem;
}

/* ── Timeline / bars ── */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.timeline-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.timeline-time {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
  text-align: right;
}

.timeline-bar {
  position: relative;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  overflow: hidden;
}

.timeline-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline-bar.bad > span {
  background: linear-gradient(90deg, rgba(219, 0, 0, 0.55), rgba(219, 0, 0, 0.2));
}

.timeline-bar.ok > span {
  background: linear-gradient(90deg, rgba(106, 168, 79, 0.7), rgba(255, 153, 0, 0.45));
}

.pitch-slide.is-active .timeline-bar > span {
  width: var(--w, 100%);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat {
  min-width: 140px;
}

.stat .num {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 760;
  color: var(--orange-bright);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat .lbl {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* ── Cost stats (landing-page red) ── */
.pitch-cost-wrap {
  margin: 0.85rem 0 0.75rem;
}

.pitch-cost-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 1100px) {
  .pitch-cost-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .pitch-cost-grid {
    grid-template-columns: 1fr;
  }
}

.pitch-cost-card {
  border: 1px solid rgba(255, 45, 85, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 45, 85, 0.06);
  padding: 0.75rem 0.8rem;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.pitch-cost-card strong {
  display: block;
  font-size: clamp(1.2rem, 2.1vw, 1.7rem);
  font-weight: 780;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff2d55 45%, #ff0040 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ff2d55;
}

.pitch-cost-card span {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--muted);
}

/* Shared preview dock under cost cards */
.pitch-cost-preview {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
  transition:
    grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    margin-top 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.pitch-cost-preview.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 0.75rem;
  pointer-events: auto;
}

.pitch-cost-preview-stage {
  min-height: 0;
  overflow: hidden;
  display: block;
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 85, 0.28);
  background: rgba(0, 0, 0, 0.4);
}

.pitch-cost-preview-panel {
  display: none;
  width: 100%;
  padding: 0.75rem 0.85rem 0.65rem;
}

.pitch-cost-preview.is-open .pitch-cost-preview-panel.is-active {
  display: block;
}

.pitch-cost-preview-viz {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: stretch;
}

.pitch-cost-preview-viz-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.75rem;
  align-items: stretch;
}

.pitch-cost-preview-viz-cols .pitch-cost-preview-cite {
  grid-column: 1 / -1;
}

.pitch-cost-preview-col {
  min-width: 0;
}

.pitch-cost-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 12rem;
}

.pitch-cost-preview-col .pitch-cost-svg {
  aspect-ratio: 180 / 168;
}

.pitch-cost-svg.pitch-cost-svg-wide {
  aspect-ratio: 420 / 168;
  max-height: 11rem;
}

.pitch-cost-preview-cite {
  margin: 0;
  font-size: 0.65rem;
  line-height: 1.3;
  color: rgba(148, 148, 154, 0.95);
  text-align: center;
}

/* Mobile only: dock under active card + tighter graph sizing */
@media (max-width: 900px) {
  .pitch-cost-grid > .pitch-cost-preview {
    grid-column: 1 / -1;
  }

  .pitch-cost-preview.is-open {
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
  }

  .pitch-cost-preview-panel {
    padding: 0.55rem 0.65rem 0.5rem;
  }

  .pitch-cost-preview-viz-cols {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .pitch-cost-preview-col .pitch-cost-svg {
    max-height: 8.5rem;
  }

  .pitch-cost-svg.pitch-cost-svg-wide {
    aspect-ratio: 420 / 140;
    max-height: 7.25rem;
  }
}

/* Narrator-driven slide highlights (only while .narrating) */
.pitch-shell.narrating [data-hl] {
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.pitch-shell.narrating [data-hl].is-hl-active {
  opacity: 1;
  border-color: rgba(255, 153, 0, 0.55);
  background: rgba(255, 153, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.25), 0 12px 32px rgba(255, 153, 0, 0.12);
  transform: translateY(-1px);
}

.pitch-shell.narrating .pitch-cause-panel[data-hl],
.pitch-shell.narrating .pitch-feat-tile[data-hl] {
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.pitch-shell.narrating h2[data-hl].is-hl-active,
.pitch-shell.narrating .pitch-title[data-hl].is-hl-active {
  text-shadow: 0 0 24px rgba(255, 153, 0, 0.35);
  border: none;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.pitch-shell.narrating .pitch-cost-card[data-hl].is-hl-active {
  border-color: rgba(255, 45, 85, 0.55);
  background: rgba(255, 45, 85, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.3), 0 12px 32px rgba(255, 45, 85, 0.15);
}

/* Problem slide: 31% / 4+ hrs / $44.5B light up together */
.pitch-shell.narrating:has(.pitch-hl-cost-mid.is-hl-active) .pitch-cost-card.cost-mid {
  opacity: 1;
  border-color: rgba(255, 45, 85, 0.55);
  background: rgba(255, 45, 85, 0.14);
  box-shadow: 0 0 0 1px rgba(255, 45, 85, 0.3), 0 12px 32px rgba(255, 45, 85, 0.15);
}

/* ── Cause panels ── */
.pitch-cause-grid {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  margin-top: 0.85rem;
  min-height: min(42vh, 340px);
}

.pitch-cause-panel {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.9rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.pitch-cause-panel h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pitch-cause-lead {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.pitch-cause-bullets {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.pitch-cause-bullets li {
  margin: 0.15rem 0;
}

.pitch-cause-bullets li::marker {
  color: var(--orange-bright);
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active {
  border-color: rgba(255, 153, 0, 0.55);
  background: rgba(255, 153, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.25), 0 16px 40px rgba(255, 153, 0, 0.14);
}

.pitch-traffic-chart,
.pitch-mini-timelines,
.pitch-agent-pains,
.pitch-rca-silos {
  margin-top: 0.55rem;
}

/* No testing — flat vs realistic traffic (usecase inspiration) */
.pitch-traffic-chart {
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 85, 0.22);
  background: rgba(0, 0, 0, 0.28);
  padding: 0.35rem 0.4rem 0.2rem;
}

.pitch-traffic-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Cause visual animations — loop while highlighted; keep revealed when past */
.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-traffic-fill,
.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-traffic-peak-label {
  opacity: 0;
}

.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-traffic-peak {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-peak {
  stroke-dasharray: 320;
  animation: pitch-traffic-draw-loop 7s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-fill {
  animation: pitch-traffic-fill-loop 7s ease infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-peak-label {
  animation: pitch-traffic-label-loop 7s ease infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-flat {
  animation: pitch-traffic-flat-pulse 1.6s 0.2s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-traffic-peak {
  stroke-dasharray: 320;
  stroke-dashoffset: 0;
  animation: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-traffic-fill,
.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-traffic-peak-label {
  opacity: 1;
  animation: none;
}

@keyframes pitch-traffic-draw-loop {
  0% {
    stroke-dashoffset: 320;
  }
  14% {
    stroke-dashoffset: 0;
  }
  85% {
    stroke-dashoffset: 0;
  }
  88%,
  100% {
    stroke-dashoffset: 320;
  }
}

@keyframes pitch-traffic-fill-loop {
  0%,
  5% {
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  88%,
  100% {
    opacity: 0;
  }
}

@keyframes pitch-traffic-label-loop {
  0%,
  9% {
    opacity: 0;
  }
  16% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  88%,
  100% {
    opacity: 0;
  }
}

@keyframes pitch-traffic-flat-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.85;
  }
}

/* RCA timelines — grow on highlight (loop); stay filled when past */
.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .timeline.compact .timeline-bar > span {
  width: 0;
  transform: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .timeline.compact .timeline-bar > span {
  width: var(--w, 100%);
  transform-origin: left center;
  animation: pitch-bar-grow-loop 7.2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-past .timeline.compact .timeline-bar > span {
  width: var(--w, 100%);
  transform: none;
  animation: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .timeline.compact .timeline-row:nth-child(1) .timeline-bar > span {
  animation-delay: 0s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .timeline.compact .timeline-row:nth-child(2) .timeline-bar > span {
  animation-delay: 0.12s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .timeline.compact .timeline-row:nth-child(3) .timeline-bar > span {
  animation-delay: 0.24s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .timeline.compact .timeline-row:nth-child(4) .timeline-bar > span {
  animation-delay: 0.36s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-mini-timelines > div:nth-child(2) .timeline-row:nth-child(1) .timeline-bar > span {
  animation-delay: 0.5s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-mini-timelines > div:nth-child(2) .timeline-row:nth-child(2) .timeline-bar > span {
  animation-delay: 0.62s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-mini-timelines > div:nth-child(2) .timeline-row:nth-child(3) .timeline-bar > span {
  animation-delay: 0.74s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-mini-timelines > div:nth-child(2) .timeline-row:nth-child(4) .timeline-bar > span {
  animation-delay: 0.86s;
}

@keyframes pitch-bar-grow-loop {
  0% {
    transform: scaleX(0);
  }
  10% {
    transform: scaleX(1);
  }
  82% {
    transform: scaleX(1);
  }
  86%,
  100% {
    transform: scaleX(0);
  }
}

.pitch-mini-timelines {
  display: grid;
  gap: 0.55rem;
}

.pitch-mini-tl-label {
  font-size: 0.72rem;
  font-weight: 650;
  margin-bottom: 0.25rem;
}

.pitch-mini-tl-label.bad {
  color: #ff6b6b;
}

.pitch-mini-tl-label.ok {
  color: #6aa84f;
}

.timeline.compact .timeline-time {
  width: 2.1rem;
  font-size: 0.65rem;
}

.timeline.compact .timeline-bar {
  height: 16px;
}

.timeline.compact .timeline-bar > span {
  font-size: 0.62rem;
  padding: 0 0.3rem;
}

/* No RCA — telemetry live; knowledge & change missing */
.pitch-rca-silos {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.4rem 0.35rem 0.3rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.28);
}

.pitch-rca-silos-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.pitch-rca-silo {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.4rem 0.3rem 0.35rem;
  border-radius: 8px;
  border-style: dotted;
  border-width: 1.5px;
  min-width: 0;
  min-height: 4.1rem;
}

.pitch-rca-silo-icons {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.15rem;
  margin-top: auto;
}

.pitch-rca-silo[data-silo="telemetry"] {
  border-color: rgba(52, 211, 153, 0.7);
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}

.pitch-rca-silo[data-silo="knowledge"] {
  border-color: rgba(255, 153, 0, 0.55);
  background: rgba(255, 153, 0, 0.08);
  color: #ffb020;
}

.pitch-rca-silo[data-silo="change"] {
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.08);
  color: #7dd3fc;
}

.pitch-rca-silo.is-missing {
  opacity: 0.48;
}

.pitch-rca-silo-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  color: inherit;
}

.pitch-rca-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.pitch-rca-silos-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  height: 0.55rem;
  align-items: center;
  justify-items: center;
}

.pitch-rca-link {
  display: block;
  width: 2px;
  height: 100%;
  border-radius: 2px;
}

.pitch-rca-link.is-live {
  background: #34d399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.45);
}

.pitch-rca-link.is-missing {
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    currentColor 0 3px,
    transparent 3px 6px
  );
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.4);
}

.pitch-rca-silos-flow .pitch-rca-link.is-missing:nth-child(2) {
  color: #ffb020;
}

.pitch-rca-silos-flow .pitch-rca-link.is-missing:nth-child(3) {
  color: #7dd3fc;
}

.pitch-rca-hub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 45, 85, 0.35);
  background: rgba(255, 45, 85, 0.08);
  color: #ff6b6b;
  font-size: 0.68rem;
  font-weight: 650;
}

.pitch-rca-silos-caption {
  margin: 0;
  text-align: center;
  font-size: 0.58rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.45);
}

/* Highlight: telemetry stays lit while active/past; missing knowledge/change pulse */
.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-rca-silo,
.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-rca-hub,
.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-rca-link {
  opacity: 0.35;
  box-shadow: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-silo.is-live {
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4), 0 0 14px rgba(52, 211, 153, 0.25);
  animation: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-silo.is-missing[data-silo="knowledge"] {
  animation: pitch-rca-missing-pulse-amber 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-silo.is-missing[data-silo="change"] {
  animation: pitch-rca-missing-pulse-sky 2.8s ease-in-out infinite;
  animation-delay: 0.35s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-link.is-live {
  opacity: 1;
  transform: scaleY(1);
  animation: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-link.is-missing {
  animation: pitch-rca-link-missing 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-link.is-missing:nth-child(3) {
  animation-delay: 0.2s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-rca-silo.is-live,
.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-rca-link.is-live,
.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-rca-hub {
  opacity: 1;
  animation: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-rca-silo.is-live {
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4), 0 0 14px rgba(52, 211, 153, 0.25);
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-rca-silo.is-missing,
.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-rca-link.is-missing {
  opacity: 0.48;
  animation: none;
  box-shadow: none;
}

@keyframes pitch-rca-missing-pulse-amber {
  0%,
  100% {
    opacity: 0.28;
    border-color: rgba(255, 153, 0, 0.35);
    box-shadow: none;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    border-color: rgba(255, 153, 0, 0.95);
    box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.35), 0 0 16px rgba(255, 153, 0, 0.28);
    transform: scale(1);
  }
}

@keyframes pitch-rca-missing-pulse-sky {
  0%,
  100% {
    opacity: 0.28;
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: none;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.85;
    border-color: rgba(56, 189, 248, 0.95);
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 0 16px rgba(56, 189, 248, 0.28);
    transform: scale(1);
  }
}

@keyframes pitch-rca-link-missing {
  0%,
  100% {
    opacity: 0.15;
    transform: scaleY(0.55);
  }
  50% {
    opacity: 0.85;
    transform: scaleY(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-silo.is-missing,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-rca-link.is-missing {
    animation: none;
  }
}

/* Unguarded agents — three pain points with person icons */
.pitch-agent-pains {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.pitch-agent-pain {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-agent-pain {
  opacity: 0.35;
  transform: translateX(-8px);
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-agent-pain {
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain {
  animation: pitch-pain-in-loop 7s ease infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain:nth-child(1) {
  animation-delay: 0s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain:nth-child(2) {
  animation-delay: 0.14s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain:nth-child(3) {
  animation-delay: 0.28s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-person {
  animation: pitch-agent-warn-pulse 2.4s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain:nth-child(1) .pitch-person {
  animation-delay: 0s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain:nth-child(2) .pitch-person {
  animation-delay: 0.2s;
}

.pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain:nth-child(3) .pitch-person {
  animation-delay: 0.4s;
}

@keyframes pitch-pain-in-loop {
  0% {
    opacity: 0.35;
    transform: translateX(-8px);
  }
  10% {
    opacity: 1;
    transform: translateX(0);
  }
  82% {
    opacity: 1;
    transform: translateX(0);
  }
  88%,
  100% {
    opacity: 0.35;
    transform: translateX(-8px);
  }
}

@keyframes pitch-agent-warn-pulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.55));
  }
}

.pitch-person {
  flex-shrink: 0;
  width: 2.6rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  color: var(--orange-bright);
}

.pitch-person.warn {
  color: #ff6b6b;
}

.pitch-person.muted {
  color: #cfcfcf;
}

.pitch-person em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.01em;
  color: inherit;
}

.pitch-agent-pain strong {
  display: block;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 650;
  line-height: 1.25;
}

.pitch-agent-pain > div span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.3;
  margin-top: 0.1rem;
}

@media (prefers-reduced-motion: reduce) {
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-peak,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-fill,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-peak-label,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-flat,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-person,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .timeline.compact .timeline-bar > span {
    animation: none;
  }

  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-fill,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-peak-label,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-traffic-fill,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-traffic-peak-label {
    opacity: 1;
  }

  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-traffic-peak,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-traffic-peak {
    stroke-dashoffset: 0;
  }

  .pitch-shell.narrating .pitch-cause-panel:not(.is-hl-active):not(.is-hl-past) .pitch-agent-pain,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .pitch-agent-pain,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-past .pitch-agent-pain {
    opacity: 1;
    transform: none;
  }

  .pitch-shell.narrating .pitch-cause-panel.is-hl-active .timeline.compact .timeline-bar > span,
  .pitch-shell.narrating .pitch-cause-panel.is-hl-past .timeline.compact .timeline-bar > span {
    width: var(--w, 100%);
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .pitch-cause-grid {
    flex-direction: column;
    min-height: 0;
  }
}

/* ── Matrix ── */
.matrix-wrap {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
}

.matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 32rem;
  font-size: 0.8rem;
}

.matrix th,
.matrix td {
  padding: 0.48rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}

.matrix th:first-child,
.matrix td:first-child {
  text-align: left;
  color: var(--text);
  font-weight: 550;
  min-width: 11rem;
  max-width: 16rem;
}

.matrix thead th {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.25);
}

.matrix tbody tr:last-child td {
  border-bottom: none;
}

.matrix .hl {
  background: rgba(255, 153, 0, 0.08);
}

.matrix .logo-cell {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.matrix .logo-cell img {
  height: 18px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  filter: brightness(1.05);
}

.matrix .logo-cell span {
  font-size: 0.62rem;
  line-height: 1.2;
}

.matrix-wrap.compact .matrix {
  font-size: 0.76rem;
  min-width: 34rem;
}

.matrix-wrap.compact.matrix-wide .matrix {
  min-width: 42rem;
}

.matrix-wrap.compact .matrix th,
.matrix-wrap.compact .matrix td {
  padding: 0.4rem 0.5rem;
}

.matrix tbody tr {
  cursor: help;
}

.matrix td.has-tip .matrix-dim::after {
  content: " ⓘ";
  font-size: 0.65em;
  color: var(--muted);
  font-weight: 500;
}

/* Tip text lives in the row but is shown via the floating cursor tip */
.matrix td.has-tip .matrix-why {
  display: none;
}

.pitch-matrix-cursor-tip {
  position: fixed;
  z-index: 10050;
  left: 0;
  top: 0;
  width: min(28rem, calc(100vw - 2rem));
  max-width: 28rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 153, 0, 0.45);
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.74rem;
  font-weight: 450;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.12s ease, visibility 0.12s;
}

.pitch-matrix-cursor-tip.is-visible {
  opacity: 1;
  visibility: visible;
}

.matrix-footnote {
  margin: 0.55rem 0 0;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted);
  max-width: 52rem;
}

.cell-ok {
  color: var(--ok);
  font-weight: 700;
}

.cell-mid {
  color: var(--mid);
  font-weight: 700;
}

.cell-bad {
  color: #ff6b6b;
  font-weight: 700;
}

/* Narrator row focus */
.pitch-shell.narrating .matrix tbody tr[data-hl] {
  transition: opacity 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.pitch-shell.narrating .matrix:has(tr.is-hl-active) tbody tr[data-hl]:not(.is-hl-active) {
  opacity: 0.38;
}

.pitch-shell.narrating .matrix tbody tr[data-hl].is-hl-active {
  opacity: 1;
  background: rgba(255, 153, 0, 0.16);
  box-shadow: inset 3px 0 0 var(--orange-bright);
  transform: none;
  border-color: transparent;
}

.pitch-shell.narrating .matrix tbody tr[data-hl].is-hl-active td:first-child {
  color: #fff;
  font-weight: 700;
  background: #1a140c;
}

.pitch-slide.is-active .matrix tbody tr {
  animation: rowIn 0.45s ease both;
}

.pitch-slide.is-active .matrix tbody tr:nth-child(1) { animation-delay: 0.05s; }
.pitch-slide.is-active .matrix tbody tr:nth-child(2) { animation-delay: 0.1s; }
.pitch-slide.is-active .matrix tbody tr:nth-child(3) { animation-delay: 0.15s; }
.pitch-slide.is-active .matrix tbody tr:nth-child(4) { animation-delay: 0.2s; }
.pitch-slide.is-active .matrix tbody tr:nth-child(5) { animation-delay: 0.25s; }
.pitch-slide.is-active .matrix tbody tr:nth-child(6) { animation-delay: 0.3s; }

@keyframes rowIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ── Solution flowchart (HTML, highlightable) ── */
.pitch-flow {
  display: grid;
  grid-template-columns:
    minmax(0, 2.6fr)
    auto
    minmax(0, 0.95fr)
    auto
    minmax(0, 1fr)
    auto
    minmax(0, 0.9fr);
  align-items: stretch;
  gap: 0.35rem 0.4rem;
  margin-top: 0.9rem;
  overflow: visible;
}

.pitch-flow-ingress {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 5.75rem minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-width: 0;
  overflow: visible;
}

.pitch-flow-col.triggers {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.65rem;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  justify-items: stretch;
  overflow: visible;
}

/* Sibling cards keep the track width while one card grows on hover */
.pitch-flow-col.triggers > .pitch-flow-card:not(:hover):not(.is-media-enlarged) {
  width: 100%;
  max-width: 100%;
}

.pitch-flow-fork {
  position: relative;
  align-self: stretch;
  min-width: 5.25rem;
  margin: 0 -1px;
}

.pitch-flow-fork svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pitch-flow-fork .fork-line {
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pitch-flow-fork .fork-line.proactive {
  stroke: rgba(56, 189, 248, 0.9);
}

.pitch-flow-fork .fork-line.reactive {
  stroke: rgba(248, 113, 113, 0.9);
}

.pitch-flow-fork .fork-arrow {
  fill: rgba(255, 153, 0, 0.95);
  stroke: none;
}

.pitch-flow-ingress .pitch-flow-card.rca {
  align-self: center;
  height: fit-content;
}

/* Grow downward when the in-box drawer opens so media never covers the headline */
.pitch-flow-ingress .pitch-flow-card.rca.is-drawer-open {
  align-self: start;
}

.pitch-flow-card {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.55rem 0.6rem 0.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: opacity 0.35s ease, filter 0.35s ease, border-color 0.35s ease,
    background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease,
    width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pitch-flow-card.is-drawer-open {
  z-index: 3;
}

/*
 * In-box 16:9 grow on hover/pin.
 * Card widens itself but must NOT resize the grid track (siblings stay put):
 * parent columns use minmax(0, fr), non-hovered cards stay max-width: 100%.
 */
.pitch-flow-card.is-drawer-open:hover,
.pitch-flow-card.is-drawer-open.is-media-enlarged {
  z-index: 8;
  justify-self: start;
  width: min(calc(20rem * 16 / 9 + 1.4rem), 92vw);
  max-width: min(calc(20rem * 16 / 9 + 1.4rem), 92vw);
}

/* In-box media drawer (direction via data-drawer-dir) */
.pitch-flow-drawer {
  max-height: 0;
  opacity: 0;
  width: 100%;
  order: 10;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    margin-top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    margin-bottom 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.pitch-flow-card[data-drawer-dir="above"] .pitch-flow-drawer {
  order: -1;
}

.pitch-flow-card.is-drawer-open .pitch-flow-drawer {
  max-height: 8.5rem;
  opacity: 1;
  pointer-events: auto;
}

.pitch-flow-card.is-drawer-open:hover .pitch-flow-drawer,
.pitch-flow-card.is-drawer-open.is-media-enlarged .pitch-flow-drawer {
  max-height: calc(20rem + 1.25rem);
}

.pitch-flow-card[data-drawer-dir="below"].is-drawer-open .pitch-flow-drawer,
.pitch-flow-card:not([data-drawer-dir]).is-drawer-open .pitch-flow-drawer {
  margin-top: 0.4rem;
}

.pitch-flow-card[data-drawer-dir="above"].is-drawer-open .pitch-flow-drawer {
  margin-bottom: 0.4rem;
}

.pitch-flow-drawer-inner {
  cursor: zoom-in;
}

.pitch-flow-card.is-drawer-open:hover .pitch-flow-drawer-inner,
.pitch-flow-card.is-media-enlarged .pitch-flow-drawer-inner {
  cursor: zoom-out;
}

.pitch-flow-drawer-inner img,
.pitch-flow-drawer-inner video {
  display: block;
  width: 100%;
  height: 6.5rem;
  max-height: 6.5rem;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #fff;
  transition:
    height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.pitch-flow-card.path-b .pitch-flow-drawer-inner img,
.pitch-flow-card.perf .pitch-flow-drawer-inner img {
  background: #fff;
}

/* Hover / pinned: 16:9 media inside the growing box */
.pitch-flow-card.is-drawer-open:hover .pitch-flow-drawer-inner img,
.pitch-flow-card.is-drawer-open:hover .pitch-flow-drawer-inner video,
.pitch-flow-card.is-drawer-open.is-media-enlarged .pitch-flow-drawer-inner img,
.pitch-flow-card.is-drawer-open.is-media-enlarged .pitch-flow-drawer-inner video {
  width: 100%;
  height: auto;
  max-height: 20rem;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-color: rgba(255, 153, 0, 0.4);
}

.pitch-flow-hint {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: rgba(148, 148, 154, 0.95);
  text-align: center;
}

@media (max-width: 900px) {
  .pitch-flow-card.is-drawer-open:hover,
  .pitch-flow-card.is-drawer-open.is-media-enlarged {
    width: 100%;
    max-width: 100%;
  }

  .pitch-flow-drawer-inner img,
  .pitch-flow-drawer-inner video {
    height: 5.5rem;
    max-height: 5.5rem;
  }

  .pitch-flow-card.is-drawer-open:hover .pitch-flow-drawer-inner img,
  .pitch-flow-card.is-drawer-open:hover .pitch-flow-drawer-inner video,
  .pitch-flow-card.is-drawer-open.is-media-enlarged .pitch-flow-drawer-inner img,
  .pitch-flow-card.is-drawer-open.is-media-enlarged .pitch-flow-drawer-inner video {
    width: 100%;
    height: auto;
    max-height: 14rem;
    aspect-ratio: 16 / 9;
  }

  .pitch-flow-hint {
    font-size: 0.68rem;
  }
}

.pitch-flow-card h3 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.pitch-flow-card p {
  margin: 0;
  font-size: 0.62rem;
  line-height: 1.35;
  color: var(--muted);
}

.pitch-flow-tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pitch-flow-card.perf {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.08);
}

.pitch-flow-card.perf .pitch-flow-tag {
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.16);
  border-color: rgba(56, 189, 248, 0.35);
}

.pitch-flow-card.path-b {
  border-color: rgba(248, 113, 113, 0.35);
  opacity: 0.9;
}

.pitch-flow-card.path-b .pitch-flow-tag {
  color: #fda4a4;
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
}

.pitch-flow-card.rca {
  border-color: rgba(255, 153, 0, 0.5);
  background: rgba(255, 153, 0, 0.07);
  box-shadow: 0 0 24px rgba(255, 153, 0, 0.12);
}

.pitch-flow-card.rca .pitch-flow-tag {
  color: var(--orange-bright);
  background: rgba(255, 153, 0, 0.14);
  border-color: rgba(255, 153, 0, 0.4);
}

.pitch-flow-card.output {
  border-color: rgba(34, 197, 94, 0.4);
  align-self: center;
}

.pitch-flow-card.output .pitch-flow-tag {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.pitch-flow-card.code {
  border-color: rgba(244, 114, 182, 0.45);
  background: rgba(244, 114, 182, 0.06);
  box-shadow: 0 0 24px rgba(244, 114, 182, 0.1);
  align-self: center;
}

.pitch-flow-card.code .pitch-flow-tag {
  color: #f9a8d4;
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.35);
}

.pitch-flow-card.notify {
  border-color: rgba(34, 197, 94, 0.4);
  align-self: center;
}

.pitch-flow-card.notify .pitch-flow-tag {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
}

.pitch-flow-edge {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 3.4rem;
  align-self: center;
  transition: opacity 0.35s ease;
}

.pitch-flow-edge::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.75), transparent);
}

.pitch-flow-edge span {
  position: relative;
  z-index: 1;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  background: #0a0a0a;
  color: var(--orange-bright);
  border: 1px solid rgba(255, 153, 0, 0.35);
}

/* Narration: one product lit, others grey */
.pitch-shell.narrating .pitch-flow:has(.pitch-flow-card[data-hl].is-hl-active) .pitch-flow-card.product:not(.is-hl-active),
.pitch-shell.narrating .pitch-flow:has(.pitch-flow-card[data-hl].is-hl-active) .pitch-flow-card.path-b,
.pitch-shell.narrating .pitch-flow:has(.pitch-flow-card[data-hl].is-hl-active) .pitch-flow-card.output,
.pitch-shell.narrating .pitch-flow:has(.pitch-flow-card[data-hl].is-hl-active) .pitch-flow-card.notify,
.pitch-shell.narrating .pitch-flow:has(.pitch-flow-card[data-hl].is-hl-active) .pitch-flow-fork,
.pitch-shell.narrating .pitch-flow:has(.pitch-flow-card[data-hl].is-hl-active) .pitch-flow-edge {
  opacity: 0.28;
  filter: grayscale(0.55);
}

.pitch-shell.narrating .pitch-flow-card.product[data-hl].is-hl-active {
  opacity: 1;
  filter: none;
  transform: translateY(-2px) scale(1.02);
  z-index: 2;
}

.pitch-shell.narrating .pitch-flow-card.perf[data-hl].is-hl-active {
  border-color: rgba(56, 189, 248, 0.85);
  background: rgba(14, 165, 233, 0.16);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35), 0 14px 36px rgba(56, 189, 248, 0.2);
}

.pitch-shell.narrating .pitch-flow-card.rca[data-hl].is-hl-active {
  border-color: rgba(255, 153, 0, 0.9);
  background: rgba(255, 153, 0, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.4), 0 14px 36px rgba(255, 153, 0, 0.22);
}

.pitch-shell.narrating .pitch-flow-card.code[data-hl].is-hl-active {
  border-color: rgba(244, 114, 182, 0.9);
  background: rgba(244, 114, 182, 0.14);
  box-shadow: 0 0 0 1px rgba(244, 114, 182, 0.4), 0 14px 36px rgba(244, 114, 182, 0.2);
}

/* Shared path-lit look */
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.perf,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.rca,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.output,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.code,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.notify,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.path-b,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.rca,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.output,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.code,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.notify {
  opacity: 1;
  filter: none;
  transform: none;
}

.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.perf {
  border-color: rgba(56, 189, 248, 0.85);
  background: rgba(14, 165, 233, 0.14);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.18);
}

.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.rca,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.rca {
  border-color: rgba(255, 153, 0, 0.85);
  background: rgba(255, 153, 0, 0.14);
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.18);
}

.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.output,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.output,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.notify,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.notify {
  border-color: rgba(34, 197, 94, 0.75);
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.14);
}

.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.code,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.code {
  border-color: rgba(244, 114, 182, 0.85);
  background: rgba(244, 114, 182, 0.12);
  box-shadow: 0 0 20px rgba(244, 114, 182, 0.16);
}

.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.path-b {
  border-color: rgba(248, 113, 113, 0.85);
  background: rgba(239, 68, 68, 0.14);
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.18);
}

/* Dim boxes / lines not on the active path */
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-card.path-b,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-fork .fork-line.reactive,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-card.perf,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-fork .fork-line.proactive {
  opacity: 0.22;
  filter: grayscale(0.6);
}

.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-fork,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-fork .fork-line.proactive,
.pitch-shell.narrating:has(.pitch-hl-proactive.is-hl-active) .pitch-flow-edge,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-fork,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-fork .fork-line.reactive,
.pitch-shell.narrating:has(.pitch-hl-reactive.is-hl-active) .pitch-flow-edge {
  opacity: 1;
  filter: none;
}

@media (max-width: 1100px) {
  .pitch-flow {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .pitch-flow-ingress {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .pitch-flow-col.triggers {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }

  .pitch-flow-fork {
    min-height: 4.5rem;
    min-width: 0;
  }

  .pitch-flow-fork svg {
    transform: rotate(90deg);
    transform-origin: center;
    width: 4.5rem;
    height: 100%;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
  }

  /* Rotation swaps arms visually — swap colours so blue stays with Product (left), red with Customer (right) */
  .pitch-flow-fork .fork-line.proactive {
    stroke: rgba(248, 113, 113, 0.9);
  }

  .pitch-flow-fork .fork-line.reactive {
    stroke: rgba(56, 189, 248, 0.9);
  }

  .pitch-flow-edge::before {
    left: 50%;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(255, 153, 0, 0.75), transparent);
  }

  .pitch-flow-card.rca,
  .pitch-flow-card.output,
  .pitch-flow-card.code,
  .pitch-flow-card.notify {
    align-self: stretch;
  }
}

/* ── Feature tiles (image + text) ── */
.pitch-feat-grid,
.pitch-feat-grid.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.65rem 0 0.4rem;
}

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

.pitch-feat-tile {
  display: grid;
  grid-template-columns: minmax(5.5rem, 42%) 1fr;
  gap: 0.55rem;
  align-items: center;
  min-width: 0;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.45s ease,
    background 0.45s ease,
    box-shadow 0.45s ease,
    opacity 0.45s ease,
    padding 0.45s ease,
    gap 0.45s ease,
    filter 0.45s ease;
}

.pitch-feat-img {
  position: relative;
  min-width: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  aspect-ratio: 16 / 10;
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    min-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    aspect-ratio 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pitch-feat-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.25s ease;
}

.pitch-feat-img .pitch-feat-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pitch-feat-img.is-playing-video img {
  opacity: 0;
}

.pitch-feat-img.is-playing-video .pitch-feat-video {
  opacity: 1;
}

.pitch-feat-img.fit-contain {
  background: #fff;
}

.pitch-feat-body {
  min-width: 0;
}

.pitch-feat-badge {
  display: inline-flex;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.55rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange-bright);
  background: rgba(255, 153, 0, 0.12);
  border: 1px solid rgba(255, 153, 0, 0.28);
}

.pitch-feat-tile h3 {
  margin: 0.28rem 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

.pitch-feat-tile p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted);
}

/* Larger tiles when a slide only has a few (e.g. RCA) */
.pitch-feat-grid.feat-lg {
  gap: 1rem;
  margin: 1rem 0 0.5rem;
}

.pitch-feat-grid.feat-lg .pitch-feat-tile {
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  align-items: stretch;
}

.pitch-feat-grid.feat-lg .pitch-feat-img {
  aspect-ratio: 16 / 10;
  min-height: 9.5rem;
  border-radius: 10px;
}

.pitch-feat-grid.feat-lg .pitch-feat-badge {
  padding: 0.16rem 0.5rem;
  font-size: 0.62rem;
}

.pitch-feat-grid.feat-lg .pitch-feat-tile h3 {
  margin: 0.4rem 0 0.3rem;
  font-size: 1.15rem;
}

.pitch-feat-grid.feat-lg .pitch-feat-tile p {
  font-size: 0.88rem;
  line-height: 1.4;
}

/* Four-tile Code slide: compact side-by-side so 2×2 fits the viewport */
.pitch-feat-grid.feat-lg.cols-2 {
  gap: 0.7rem;
  margin: 0.7rem 0 0.35rem;
}

.pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile {
  grid-template-columns: minmax(7.5rem, 40%) 1fr;
  grid-template-rows: none;
  gap: 0.7rem;
  padding: 0.7rem;
  align-items: center;
}

.pitch-feat-grid.feat-lg.cols-2 .pitch-feat-img {
  aspect-ratio: 16 / 10;
  min-height: 5.25rem;
  max-height: 6.5rem;
  border-radius: 8px;
}

.pitch-feat-grid.feat-lg.cols-2 .pitch-feat-badge {
  padding: 0.12rem 0.4rem;
  font-size: 0.55rem;
}

.pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile h3 {
  margin: 0.28rem 0 0.2rem;
  font-size: 0.98rem;
}

.pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile p {
  font-size: 0.78rem;
  line-height: 1.35;
}

/* Highlighted tile: expand to full row with large media — no scale (avoids overlap) */
.pitch-shell.narrating .pitch-feat-grid:has(.is-hl-active) {
  align-items: start;
}

.pitch-shell.narrating .pitch-feat-grid:has(.is-hl-active) .pitch-feat-tile[data-hl]:not(.is-hl-active) {
  opacity: 0.42;
  filter: grayscale(0.35);
  padding: 0.4rem;
}

.pitch-shell.narrating .pitch-feat-grid:has(.is-hl-active) .pitch-feat-tile[data-hl]:not(.is-hl-active) .pitch-feat-img {
  min-height: 3.25rem;
  max-height: 4.5rem;
}

.pitch-shell.narrating .pitch-feat-grid:has(.is-hl-active) .pitch-feat-tile[data-hl]:not(.is-hl-active) h3 {
  font-size: 0.8rem;
  transition: font-size 0.45s ease;
}

.pitch-shell.narrating .pitch-feat-grid:has(.is-hl-active) .pitch-feat-tile[data-hl]:not(.is-hl-active) p {
  font-size: 0.65rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: font-size 0.45s ease;
}

.pitch-shell.narrating .pitch-feat-tile[data-hl].is-hl-active {
  grid-column: 1 / -1;
  order: -1;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.9rem;
  align-items: stretch;
  opacity: 1;
  filter: none;
  border-color: rgba(255, 153, 0, 0.55);
  background: rgba(255, 153, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.25), 0 18px 44px rgba(255, 153, 0, 0.22);
  animation: pitch-feat-hl-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pitch-shell.narrating .pitch-feat-tile[data-hl].is-hl-active .pitch-feat-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: min(38vh, 22rem);
  max-height: min(46vh, 28rem);
  animation: pitch-feat-media-in 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.pitch-shell.narrating .pitch-feat-tile[data-hl].is-hl-active h3 {
  font-size: 1.1rem;
  transition: font-size 0.45s ease;
}

.pitch-shell.narrating .pitch-feat-tile[data-hl].is-hl-active p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  transition: font-size 0.45s ease, color 0.45s ease;
}

.pitch-shell.narrating .pitch-feat-grid.feat-lg .pitch-feat-tile[data-hl].is-hl-active .pitch-feat-img,
.pitch-shell.narrating .pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile[data-hl].is-hl-active .pitch-feat-img {
  min-height: min(40vh, 24rem);
  max-height: min(48vh, 30rem);
}

@keyframes pitch-feat-hl-in {
  from {
    opacity: 0.55;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pitch-feat-media-in {
  from {
    min-height: 4.75rem;
    max-height: 6rem;
    opacity: 0.7;
  }
  to {
    min-height: min(38vh, 22rem);
    max-height: min(46vh, 28rem);
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .pitch-feat-grid,
  .pitch-feat-grid.cols-3,
  .pitch-feat-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  /* Image above text — same stack as RCA feat-lg tiles */
  .pitch-feat-tile,
  .pitch-feat-grid.feat-lg .pitch-feat-tile,
  .pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0.65rem;
    padding: 0.75rem;
    align-items: stretch;
  }

  .pitch-feat-img,
  .pitch-feat-grid.feat-lg .pitch-feat-img,
  .pitch-feat-grid.feat-lg.cols-2 .pitch-feat-img {
    aspect-ratio: 16 / 10;
    min-height: 7rem;
    max-height: none;
    width: 100%;
  }

  .pitch-feat-grid.feat-lg .pitch-feat-tile h3,
  .pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile h3 {
    font-size: 1.05rem;
  }

  .pitch-feat-grid.feat-lg .pitch-feat-tile p,
  .pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile p {
    font-size: 0.82rem;
  }

  .pitch-shell.narrating .pitch-feat-grid:has(.is-hl-active) .pitch-feat-tile[data-hl]:not(.is-hl-active) {
    opacity: 0.45;
  }

  .pitch-shell.narrating .pitch-feat-tile[data-hl].is-hl-active .pitch-feat-img,
  .pitch-shell.narrating .pitch-feat-grid.feat-lg .pitch-feat-tile[data-hl].is-hl-active .pitch-feat-img,
  .pitch-shell.narrating .pitch-feat-grid.feat-lg.cols-2 .pitch-feat-tile[data-hl].is-hl-active .pitch-feat-img {
    min-height: min(34vh, 16rem);
    max-height: min(42vh, 20rem);
  }

  @keyframes pitch-feat-media-in {
    from {
      min-height: 4rem;
      max-height: 5rem;
      opacity: 0.7;
    }
    to {
      min-height: min(34vh, 16rem);
      max-height: min(42vh, 20rem);
      opacity: 1;
    }
  }

  /* Comparison matrices: scroll sideways */
  .matrix-wrap {
    margin-inline: -0.25rem;
    border-radius: 12px;
  }

  .matrix-wrap.compact .matrix {
    min-width: 36rem;
    font-size: 0.72rem;
  }

  .matrix-wrap.compact.matrix-wide .matrix {
    min-width: 44rem;
  }

  .matrix th,
  .matrix td {
    padding: 0.45rem 0.4rem;
  }

  .matrix th:first-child,
  .matrix td:first-child {
    min-width: 6.5rem;
    max-width: 8.5rem;
    font-size: 0.68rem;
    line-height: 1.25;
  }

  .matrix .logo-cell img {
    height: 14px;
    max-width: 72px;
  }

  .matrix .logo-cell span {
    font-size: 0.55rem;
  }
}

/* ── Loop / flywheel ── */
.loop-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.loop-step {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 153, 0, 0.35);
  background: var(--orange-soft);
  font-weight: 650;
  font-size: 0.9rem;
}

.loop-arrow {
  color: var(--orange-bright);
  font-weight: 700;
}

.flywheel {
  display: grid;
  place-items: center;
  margin: 0.5rem 0;
}

.flywheel svg {
  width: min(100%, 360px);
  height: auto;
}

.flywheel-center {
  fill: #111;
  stroke: rgba(255, 153, 0, 0.45);
  stroke-width: 2;
}

.flywheel text {
  fill: var(--text);
  font-size: 11px;
  font-family: inherit;
}

/* ── Team ── */
.team-card {
  text-align: left;
}

.team-card .role {
  color: var(--orange-bright);
  font-size: 0.8rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.team-card .name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.team-card .flag {
  margin-right: 0.35rem;
}

/* ── Placeholder ── */
.ph {
  display: inline-block;
  padding: 0.05em 0.35em;
  border-radius: 6px;
  background: rgba(255, 153, 0, 0.12);
  border: 1px dashed rgba(255, 153, 0, 0.45);
  color: var(--orange-bright);
  font-weight: 650;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

/* ── Controls ── */
.pitch-nav-btn {
  min-width: var(--ctrl);
  height: var(--ctrl);
  padding: 0 1.1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pitch-nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 153, 0, 0.5);
  background: var(--orange-soft);
}

.pitch-nav-btn.primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(212, 122, 13, 0.28);
}

.pitch-nav-btn.primary.is-countdown {
  animation: pitch-countdown-pulse 1s ease-in-out infinite;
}

@keyframes pitch-countdown-pulse {
  0%,
  100% {
    box-shadow: 0 10px 28px rgba(212, 122, 13, 0.28);
  }
  50% {
    box-shadow: 0 10px 36px rgba(255, 153, 0, 0.55);
  }
}

.pitch-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.pitch-hint {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: center;
}

/* Start-tour gate — required user gesture for audio autoplay */
.pitch-start-overlay {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 153, 0, 0.16), transparent 55%),
    rgba(6, 6, 6, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pitch-start-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pitch-start-card {
  width: min(26rem, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.75rem 1.5rem 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 153, 0, 0.35);
  background: rgba(12, 12, 12, 0.94);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.pitch-start-logo {
  width: min(12rem, 55vw);
  height: auto;
  margin-bottom: 0.25rem;
}

.pitch-start-speaker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 0;
}

.pitch-start-speaker svg {
  width: clamp(2.75rem, 10vw, 3.5rem);
  height: auto;
  display: block;
}

.pitch-start-copy {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--orange-bright);
  max-width: 28ch;
}

.pitch-start-btn {
  margin-top: 0.5rem;
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 0.95rem 1.75rem;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #111;
  background: linear-gradient(135deg, #ffb347, var(--orange-bright));
  box-shadow: 0 10px 28px rgba(255, 153, 0, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.pitch-start-btn:hover {
  filter: brightness(1.05);
  box-shadow: 0 12px 32px rgba(255, 153, 0, 0.45);
}

.pitch-start-btn:active {
  transform: scale(0.98);
}

.pitch-start-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-weight: 650;
  background: linear-gradient(135deg, var(--orange), var(--orange-bright));
  color: #fff;
  box-shadow: 0 10px 28px rgba(212, 122, 13, 0.28);
}

.cta-btn.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.stack-pills span {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}

.note-line {
  font-size: 0.88rem;
  color: var(--muted);
  border-left: 3px solid var(--orange-bright);
  padding-left: 0.75rem;
}

.product-logos {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.5rem;
}

.product-logos img {
  height: 28px;
  width: auto;
  opacity: 0.9;
}

/* ── VC gate ── */
html.pitch-vc-locked {
  overflow: hidden;
}

.pitch-vc-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 153, 0, 0.12), transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(255, 45, 85, 0.08), transparent 45%),
    #0a0a0a;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.pitch-vc-gate.is-unlocked {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pitch-shell.is-gated {
  visibility: hidden;
}

.pitch-vc-gate-card {
  width: min(100%, 22rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 18, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.pitch-vc-gate-card.is-shake {
  animation: pitch-vc-gate-shake 0.45s ease;
}

@keyframes pitch-vc-gate-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-8px);
  }
  40% {
    transform: translateX(8px);
  }
  60% {
    transform: translateX(-5px);
  }
  80% {
    transform: translateX(5px);
  }
}

.pitch-vc-gate-logo {
  align-self: center;
  margin-bottom: 0.35rem;
}

.pitch-vc-gate-kicker {
  margin: 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 153, 0, 0.85);
}

.pitch-vc-gate-title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 650;
  color: #fff;
}

.pitch-vc-gate-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.pitch-vc-gate-input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.95rem;
}

.pitch-vc-gate-input:focus {
  outline: none;
  border-color: rgba(255, 153, 0, 0.65);
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.2);
}

.pitch-vc-gate-error {
  margin: 0;
  min-height: 1.1em;
  font-size: 0.78rem;
  color: #ff6b6b;
}

.pitch-vc-gate-btn {
  margin-top: 0.25rem;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 8px;
  background: #ff9900;
  color: #111;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
}

.pitch-vc-gate-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* ── VC-only slide visuals ── */
.pitch-vc-ask {
  margin: 1.25rem 0 0;
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 153, 0, 0.4);
  background: rgba(255, 153, 0, 0.1);
  color: #ffb020;
  font-size: 0.92rem;
  font-weight: 650;
}

.pitch-vc-why-grid,
.pitch-vc-gtm-steps,
.pitch-vc-team-grid,
.pitch-vc-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.pitch-vc-team-grid,
.pitch-vc-market-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pitch-vc-why-card,
.pitch-vc-gtm-step,
.pitch-vc-team-card,
.pitch-vc-market-card,
.pitch-vc-ms {
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

.pitch-vc-why-card h3,
.pitch-vc-gtm-step h3,
.pitch-vc-team-card h3,
.pitch-vc-market-card h3,
.pitch-vc-ms h3 {
  margin: 0.35rem 0 0.35rem;
  font-size: 1rem;
}

.pitch-vc-why-card p,
.pitch-vc-gtm-step p,
.pitch-vc-team-card p,
.pitch-vc-market-card p,
.pitch-vc-ms p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.pitch-vc-why-grid {
  gap: 1rem;
  margin-top: 1.15rem;
}

.pitch-vc-why-card {
  padding: 1.05rem 1.1rem 1.1rem;
}

.pitch-vc-why-card h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.05rem;
}

.pitch-vc-why-card > p {
  font-size: 0.84rem;
  line-height: 1.45;
}

.pitch-vc-why-viz {
  margin-top: 1rem;
  padding: 0.75rem 0.7rem 0.55rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.28);
  min-height: 7.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.pitch-vc-why-flow,
.pitch-vc-why-loop,
.pitch-vc-why-reach,
.pitch-vc-why-unlock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  min-height: 5.6rem;
}

.why-flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  flex: 0 0 auto;
  min-width: 2.6rem;
  color: rgba(255, 255, 255, 0.75);
}

.why-flow-node span {
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.why-flow-node.why-prod,
.why-flow-blast,
.why-reach-spoke {
  color: #ff6b6b;
}

.why-flow-node.why-scale {
  color: #34d399;
}

.why-flow-node.why-gate {
  color: #ffb020;
}

.why-flow-rail {
  position: relative;
  flex: 1 1 auto;
  height: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-prompt-rail,
.why-path,
.why-path-live {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
}

.why-prompt-rail {
  background: repeating-linear-gradient(
    90deg,
    #9a9a9a 0 4px,
    transparent 4px 7px
  );
}

.why-prompt-label {
  font-size: 0.5rem;
  color: #9a9a9a;
  white-space: nowrap;
}

.why-flow-blast {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.why-path {
  background: rgba(255, 255, 255, 0.2);
}

.why-path-live {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #34d399;
  opacity: 0.25;
}

/* Agents: laptop center · icons at rectangle corners · elbow spokes */
.pitch-vc-why-reach {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 7.6rem;
  padding-top: 0.15rem;
}

.why-reach-orbit {
  position: relative;
  width: 100%;
  max-width: 17rem;
  height: 7.4rem;
  margin: 0 auto;
}

.why-reach-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
  pointer-events: none;
}

.why-reach-spoke {
  fill: none;
  stroke: rgba(160, 160, 160, 0.55);
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 3 4;
  stroke-dashoffset: 0;
}

.why-reach-laptop {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.9);
}

.why-reach-node.why-prod {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  width: 3.4rem;
  --reach-color: rgba(160, 160, 160, 0.85);
  color: var(--reach-color);
  transform: translate(-50%, -50%);
}

.why-reach-node span {
  font-size: 0.55rem;
  font-weight: 650;
  color: inherit;
  text-align: center;
  line-height: 1.15;
  white-space: nowrap;
}

.why-reach-node[data-slot="0"] {
  left: 8%;
  top: 24%;
}

.why-reach-node[data-slot="1"] {
  left: 92%;
  top: 24%;
}

.why-reach-node[data-slot="2"] {
  left: 92%;
  top: 76%;
}

.why-reach-node[data-slot="3"] {
  left: 8%;
  top: 76%;
}

/* Compliance: three keys unlock buyers */
.pitch-vc-why-unlock {
  gap: 0.45rem;
}

.why-unlock-keys {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 auto;
  min-width: 0;
}

.why-unlock-key {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.45rem;
  border-radius: 5px;
  border: 1px dashed rgba(255, 176, 32, 0.4);
  background: rgba(255, 176, 32, 0.06);
  color: #ffb020;
  font-size: 0.58rem;
  font-weight: 650;
  opacity: 0.55;
}

.why-unlock-key span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.why-unlock-rail {
  flex: 0 0 1.1rem;
}

.pitch-vc-why-loop {
  gap: 0.25rem;
}

.why-loop-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.45rem 0.3rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.why-loop-node.is-live {
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
}

.why-loop-node.is-gap {
  border-style: dashed;
  border-color: rgba(255, 176, 32, 0.45);
  background: rgba(255, 176, 32, 0.05);
}

.why-loop-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.why-loop-node.is-gap .why-loop-icons {
  color: #ffb020;
  opacity: 0.7;
}

.why-loop-node span {
  font-size: 0.62rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  line-height: 1.15;
}

.why-loop-node.is-gap span {
  color: #ffb020;
}

.why-loop-gap {
  flex: 0 0 0.55rem;
  height: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 176, 32, 0.55) 0 3px,
    transparent 3px 5px
  );
}

.pitch-vc-why-caption {
  margin: 0.25rem 0 0;
  text-align: center;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.4);
}

.pitch-vc-why-footer {
  margin: 0.9rem 0 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.pitch-vc-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.pitch-vc-product-card {
  padding: 0.9rem 0.95rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

.pitch-vc-product-card h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: 1.05rem;
}

.pitch-vc-product-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
}

.pitch-vc-product-note {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.pitch-vc-product-note a {
  color: #ffb020;
}

/* Why-now highlight animations */
.pitch-shell.narrating .pitch-vc-why-card:not(.is-hl-active):not(.is-hl-past) .pitch-vc-why-viz {
  opacity: 0.35;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-spoke {
  stroke: rgba(255, 107, 107, 0.9);
  animation: pitch-vc-why-stream 2.6s linear infinite;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-spoke:nth-child(2) {
  animation-delay: 0.12s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-spoke:nth-child(3) {
  animation-delay: 0.24s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-spoke:nth-child(4) {
  animation-delay: 0.36s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-node {
  animation: pitch-vc-why-icon-pulse 4.2s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-node[data-slot="1"] {
  animation-delay: 0.15s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-node[data-slot="2"] {
  animation-delay: 0.3s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="agents"] .why-reach-node[data-slot="3"] {
  animation-delay: 0.45s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="loop"] .why-loop-node.is-live {
  animation: pitch-vc-why-spend 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="loop"] .why-missing,
.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="loop"] .why-missing-label,
.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="loop"] .why-gap-arrow {
  animation: pitch-vc-why-missing-pulse 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="compliance"] .why-lock-shackle {
  animation: pitch-vc-why-unlock 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="compliance"] .why-unlock-key {
  animation: pitch-vc-why-key-lit 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="compliance"] .why-unlock-key[data-key="runtime"] {
  animation-delay: 0.35s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="compliance"] .why-unlock-key[data-key="iso"] {
  animation-delay: 0.7s;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="compliance"] .why-path-live,
.pitch-shell.narrating .pitch-vc-why-card.is-hl-active[data-why="compliance"] .why-scale {
  animation: pitch-vc-why-path-open 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-past .pitch-vc-why-viz {
  opacity: 1;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-past[data-why="agents"] .why-reach-spoke {
  animation: none;
  stroke: rgba(255, 107, 107, 0.75);
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-past[data-why="agents"] .why-reach-node {
  color: var(--reach-color);
  animation: none;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-past[data-why="loop"] .why-missing,
.pitch-shell.narrating .pitch-vc-why-card.is-hl-past[data-why="compliance"] .why-path-live,
.pitch-shell.narrating .pitch-vc-why-card.is-hl-past[data-why="compliance"] .why-unlock-key {
  opacity: 1;
  animation: none;
}

.pitch-shell.narrating .pitch-vc-product-card:not(.is-hl-active):not(.is-hl-past) {
  opacity: 0.4;
}

.pitch-shell.narrating .pitch-vc-product-card.is-hl-active {
  border-color: rgba(255, 153, 0, 0.55);
  background: rgba(255, 153, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.2), 0 12px 32px rgba(255, 153, 0, 0.12);
  animation: pitch-vc-hl-pulse 2.8s ease-in-out infinite;
}

@keyframes pitch-vc-why-stream {
  from {
    stroke-dashoffset: 28;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pitch-vc-why-icon-pulse {
  0%,
  100% {
    color: var(--reach-color);
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    color: #ff6b6b;
    filter: drop-shadow(0 0 6px rgba(255, 45, 85, 0.4));
  }
}

@keyframes pitch-vc-why-blast {
  0%,
  100% {
    opacity: 0.35;
  }
  45%,
  70% {
    opacity: 1;
  }
}

@keyframes pitch-vc-why-prompt-break {
  0%,
  40% {
    opacity: 0.7;
  }
  55%,
  100% {
    opacity: 0.15;
  }
}

@keyframes pitch-vc-why-prod-flash {
  0%,
  45% {
    color: rgba(255, 107, 107, 0.55);
    filter: drop-shadow(0 0 0 transparent);
  }
  60%,
  75% {
    color: #ff6b6b;
    filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.45));
  }
  100% {
    color: rgba(255, 107, 107, 0.55);
    filter: drop-shadow(0 0 0 transparent);
  }
}

@keyframes pitch-vc-why-spend {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pitch-vc-why-missing-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}

@keyframes pitch-vc-why-unlock {
  0%,
  35% {
    transform: scale(1);
    opacity: 0.85;
  }
  55%,
  100% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes pitch-vc-why-key-lit {
  0%,
  25% {
    opacity: 0.4;
    border-color: rgba(255, 176, 32, 0.35);
    background: rgba(255, 176, 32, 0.05);
  }
  45%,
  100% {
    opacity: 1;
    border-style: solid;
    border-color: rgba(52, 211, 153, 0.45);
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
  }
}

@keyframes pitch-vc-why-path-open {
  0%,
  30% {
    opacity: 0.2;
  }
  55%,
  100% {
    opacity: 1;
  }
}

.pitch-vc-market-num {
  margin: 0.4rem 0 0.2rem !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.pitch-vc-som {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.pitch-vc-refs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.pitch-vc-ref {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

.pitch-vc-ref.is-blank {
  opacity: 0.55;
  border-style: dashed;
}

.pitch-vc-ref-head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.pitch-vc-ref-logo {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 780;
  background: rgba(255, 153, 0, 0.18);
  color: #ffb020;
  flex-shrink: 0;
}

.pitch-vc-ref-logo.muted {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
}

.pitch-vc-ref-head h3 {
  margin: 0;
  font-size: 1.05rem;
}

.pitch-vc-ref-meta {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.pitch-vc-ref-outcomes {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.pitch-vc-quote {
  margin: 0.9rem 0 0;
  padding: 0.7rem 0.8rem;
  border-left: 3px solid rgba(255, 153, 0, 0.65);
  background: rgba(255, 153, 0, 0.06);
  border-radius: 0 8px 8px 0;
}

.pitch-vc-quote p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.pitch-vc-quote footer {
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.pitch-vc-ref-placeholder {
  margin: 1.2rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.pitch-vc-traction-note {
  margin: 0.9rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.pitch-vc-flywheel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 1.4rem 0.5rem 0.5rem;
}

.pitch-vc-fly-step {
  text-align: center;
  padding: 0.65rem 0.4rem;
  border-radius: 8px;
  border: 1px dashed rgba(255, 153, 0, 0.4);
  font-size: 0.78rem;
  font-weight: 650;
  color: #ffb020;
  background: rgba(255, 153, 0, 0.06);
}

.pitch-vc-fly-hub {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -35%);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 153, 0, 0.5);
  background: #121212;
  color: #ff9900;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.pitch-vc-plan-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pitch-vc-plan {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  min-width: 28rem;
}

.pitch-vc-plan th,
.pitch-vc-plan td {
  padding: 0.45rem 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.pitch-vc-plan th:first-child,
.pitch-vc-plan td:first-child,
.pitch-vc-plan tbody th {
  text-align: left;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.pitch-vc-plan thead th {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.pitch-vc-plan-note {
  margin: 0;
  padding: 0.45rem 0.65rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
}

.pitch-vc-raise-hero {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0.85rem 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 153, 0, 0.4);
  background: rgba(255, 153, 0, 0.08);
  max-width: 22rem;
}

.pitch-vc-raise-amount {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 780;
  color: #ffb020;
  line-height: 1.1;
}

.pitch-vc-raise-meta {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.pitch-vc-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.pitch-vc-funds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.pitch-vc-funds li {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.pitch-vc-contact {
  margin: 1.25rem 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* VC highlight loops */
.pitch-shell.narrating .pitch-vc-why-card:not(.is-hl-active):not(.is-hl-past),
.pitch-shell.narrating .pitch-vc-gtm-step:not(.is-hl-active):not(.is-hl-past),
.pitch-shell.narrating .pitch-vc-team-card:not(.is-hl-active):not(.is-hl-past),
.pitch-shell.narrating .pitch-vc-market-card:not(.is-hl-active):not(.is-hl-past),
.pitch-shell.narrating .pitch-vc-ms:not(.is-hl-active):not(.is-hl-past),
.pitch-shell.narrating .pitch-vc-fly-step:not(.is-hl-active):not(.is-hl-past),
.pitch-shell.narrating .pitch-vc-ref:not(.is-hl-active):not(.is-hl-past),
.pitch-shell.narrating .pitch-card[data-hl]:not(.is-hl-active):not(.is-hl-past) {
  opacity: 0.4;
}

.pitch-shell.narrating .pitch-vc-why-card.is-hl-active,
.pitch-shell.narrating .pitch-vc-gtm-step.is-hl-active,
.pitch-shell.narrating .pitch-vc-team-card.is-hl-active,
.pitch-shell.narrating .pitch-vc-market-card.is-hl-active,
.pitch-shell.narrating .pitch-vc-ms.is-hl-active,
.pitch-shell.narrating .pitch-vc-fly-step.is-hl-active,
.pitch-shell.narrating .pitch-vc-ref.is-hl-active,
.pitch-shell.narrating .pitch-vc-ask.is-hl-active,
.pitch-shell.narrating .pitch-vc-raise-hero.is-hl-active,
.pitch-shell.narrating .pitch-vc-plan-wrap.is-hl-active,
.pitch-shell.narrating .pitch-vc-som.is-hl-active,
.pitch-shell.narrating .pitch-vc-funds.is-hl-active,
.pitch-shell.narrating .pitch-card[data-hl].is-hl-active {
  border-color: rgba(255, 153, 0, 0.55);
  background: rgba(255, 153, 0, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.2), 0 12px 32px rgba(255, 153, 0, 0.12);
  animation: pitch-vc-hl-pulse 2.8s ease-in-out infinite;
}

.pitch-shell.narrating .pitch-vc-quote.is-hl-active {
  animation: pitch-vc-hl-pulse 2.8s ease-in-out infinite;
  border-left-color: #ff9900;
}

.pitch-shell.narrating .pitch-vc-ref-outcomes.is-hl-active {
  color: rgba(255, 255, 255, 0.9);
}

@keyframes pitch-vc-hl-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.15);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(255, 153, 0, 0.35), 0 0 18px rgba(255, 153, 0, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .why-reach-spoke,
  .why-reach-elbow,
  .why-reach-bus,
  .why-reach-bus::before,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active,
  .pitch-shell.narrating .pitch-vc-product-card.is-hl-active,
  .pitch-shell.narrating .pitch-vc-gtm-step.is-hl-active,
  .pitch-shell.narrating .pitch-vc-team-card.is-hl-active,
  .pitch-shell.narrating .pitch-vc-market-card.is-hl-active,
  .pitch-shell.narrating .pitch-vc-ms.is-hl-active,
  .pitch-shell.narrating .pitch-vc-fly-step.is-hl-active,
  .pitch-shell.narrating .pitch-vc-ref.is-hl-active,
  .pitch-shell.narrating .pitch-vc-ask.is-hl-active,
  .pitch-shell.narrating .pitch-vc-raise-hero.is-hl-active,
  .pitch-shell.narrating .pitch-vc-quote.is-hl-active,
  .pitch-shell.narrating .pitch-card[data-hl].is-hl-active,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-reach-spoke,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-reach-node,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-prod,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-loop-node,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-missing,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-missing-label,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-gap-arrow,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-lock-shackle,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-unlock-key,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-path-live,
  .pitch-shell.narrating .pitch-vc-why-card.is-hl-active .why-scale {
    animation: none;
  }
}

@media (max-width: 900px) {
  .pitch-vc-why-grid,
  .pitch-vc-gtm-steps,
  .pitch-vc-milestones,
  .pitch-vc-refs,
  .pitch-vc-flywheel,
  .pitch-vc-product-grid {
    grid-template-columns: 1fr;
  }

  .pitch-vc-team-grid,
  .pitch-vc-market-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pitch-vc-fly-hub {
    position: static;
    transform: none;
    justify-self: center;
    margin-bottom: 0.35rem;
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .pitch-vc-team-grid,
  .pitch-vc-market-grid {
    grid-template-columns: 1fr;
  }
}

