:root {
  --bg: #0f1115;
  --bg-2: #0a0c10;
  --panel: #161a23;
  --panel-2: #1a1f2b;
  --line: #2a3140;
  --line-2: #3a4254;
  --text: #e6e8ee;
  --text-dim: #b8bdc9;
  --text-faint: #8a93a6;
  --accent: #e07a3c;
  --accent-2: #f0a86b;
  --accent-soft: rgba(224, 122, 60, 0.12);
  --accent-glow: rgba(224, 122, 60, 0.28);
  --good: #6cc78a;
  --bad: #d9605c;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

#deck {
  position: relative;
  width: 100vw;
  height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 6vh 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1500px;
  margin: 0 auto;
  overflow-y: auto;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}

.slide.active {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  animation: fade 280ms ease;
  z-index: 2;
}

@keyframes fade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide.tall { justify-content: flex-start; padding-top: 4vh; }

.eyebrow, .kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.kicker { color: var(--text-faint); }

h1 {
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 1.2rem;
}

h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.6rem);
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin: 0 0 1.4rem;
  color: var(--text);
  max-width: 28ch;
}

.title h2 {
  font-weight: 400;
  color: var(--text-dim);
  max-width: 58ch;
}

h3 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.meta {
  margin-top: 2.4rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--text-faint);
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 0.05em 0.4em;
  border-radius: 4px;
  color: var(--accent);
}

/* ---------- Slide 2: hero thesis ---------- */
.hero-thesis {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
  max-width: 24ch;
  color: var(--text);
}
.hero-thesis em {
  color: var(--accent);
  font-style: normal;
  font-weight: 700;
}
.hero-thesis .small {
  display: block;
  margin-top: 1.4rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-faint);
  max-width: 60ch;
}

/* ---------- Slide 3: bullets ---------- */
ul.bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 82ch;
}
ul.bullets li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
}
ul.bullets li:last-child { border-bottom: none; }
ul.bullets li::before {
  content: '';
  position: absolute;
  left: 0.3rem;
  top: 1.15rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
ul.bullets li b { color: var(--text); font-weight: 600; }
.aside {
  margin-top: 1.6rem;
  font-size: 0.95rem;
  color: var(--text-faint);
  font-style: italic;
  max-width: 70ch;
}

/* ---------- Slide 4: stacked-bar chart ---------- */
.role-chart {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  max-width: 88ch;
  margin: 1rem 0 1.4rem;
}
.role-row { display: grid; grid-template-columns: 7rem 1fr 8rem; align-items: center; gap: 1rem; }
.role-name { font-weight: 600; color: var(--text); }
.role-bar {
  position: relative;
  height: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
}
.role-bar .seg { height: 100%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 600; color: rgba(0,0,0,0.7); transition: width 400ms ease; }
.role-bar .producing { background: var(--accent); }
.role-bar .coord { background: linear-gradient(90deg, #2a3140, #3a4254); color: var(--text-dim); }
.role-cap { font-family: var(--mono); font-size: 0.78rem; color: var(--text-faint); text-align: right; }
.chart-legend { display: flex; gap: 1.4rem; font-family: var(--mono); font-size: 0.78rem; color: var(--text-faint); margin-top: 0.5rem; }
.chart-legend .swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: middle; margin-right: 0.35rem; }
.swatch-producing { background: var(--accent); }
.swatch-coord { background: linear-gradient(90deg, #2a3140, #3a4254); }

/* ---------- Slide 5: before/after panels ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.4rem;
  position: relative;
  min-height: 360px;
}
.panel.after { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.panel-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.4rem;
}
.panel.after .panel-tag { color: var(--accent); }
.panel h3 { margin-bottom: 1rem; }
.panel svg.relations { width: 100%; height: 280px; display: block; }
.panel svg.relations text { font-family: var(--sans); fill: var(--text-dim); font-size: 12px; }
.panel svg.relations .node circle { fill: var(--panel-2); stroke: var(--line-2); }
.panel svg.relations .hub circle { fill: var(--accent); stroke: var(--accent); }
.panel svg.relations .hub text { fill: #0f1115; font-weight: 700; }
.panel svg.relations line, .panel svg.relations path { stroke: var(--line-2); stroke-width: 1.2; fill: none; }
.panel.after svg.relations line, .panel.after svg.relations path { stroke: var(--accent); opacity: 0.85; }
.panel-caption { margin-top: 0.6rem; color: var(--text-faint); font-size: 0.9rem; font-style: italic; }

/* ---------- Slide 6: 3+1 cards ---------- */
.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.2rem;
  margin-top: 0.6rem;
}
.k-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.k-card .k-num {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.5rem;
}
.k-card h3 { margin-bottom: 0.6rem; }
.k-card p { color: var(--text-dim); font-size: 0.92rem; margin: 0; }
.k-card.plus-one { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--panel); }
.k-card.plus-one .k-num { color: var(--accent); font-weight: 700; }
.knowledge-tagline { margin-top: 1.4rem; color: var(--text-dim); font-size: 1rem; font-style: italic; max-width: 70ch; }

/* ---------- Slide 7: PM moment walkthrough ---------- */
.pm-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 1.6rem;
  margin-top: 0.6rem;
}
.pm-prompt {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1.2rem;
  font-family: var(--mono);
  font-size: 0.94rem;
  color: var(--text-dim);
}
.pm-prompt .pm-label { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.6rem; display: block; }
.pm-prompt em { color: var(--text); font-style: italic; }
.pm-outputs {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
}
.pm-outputs .pm-label { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--text-faint); font-family: var(--mono); text-transform: uppercase; margin-bottom: 0.7rem; display: block; }
.pm-outputs ul { list-style: none; padding: 0; margin: 0; }
.pm-outputs li { padding: 0.5rem 0 0.5rem 1.5rem; position: relative; color: var(--text-dim); border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.pm-outputs li:last-child { border-bottom: none; }
.pm-outputs li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.pm-outputs li b { color: var(--text); }

/* ---------- Slides 9, 10: pain/solution ---------- */
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 0.6rem;
}
.pair .panel { min-height: auto; }
.pair .panel.before { border-color: var(--line); }
.pair .panel.before .panel-tag { color: var(--text-faint); }
.pair .panel p { color: var(--text-dim); font-size: 0.96rem; margin: 0 0 0.6rem; }
.pair .panel .punchline { color: var(--text); font-weight: 600; font-size: 1.05rem; margin-top: 0.6rem; }
.pair .panel.after .punchline { color: var(--accent); }

/* ---------- Slide 11: meetings disappear ---------- */
.cycle-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 0.4rem;
}
.cycle {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}
.cycle.now .panel-tag { color: var(--text-faint); }
.cycle.next { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--panel); }
.cycle.next .panel-tag { color: var(--accent); }
.cycle ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0.6rem 0 0;
}
.cycle ol li {
  counter-increment: step;
  position: relative;
  padding: 0.55rem 0 0.55rem 2.4rem;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.96rem;
}
.cycle ol li:last-child { border-bottom: none; }
.cycle ol li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: 0.72rem;
  display: grid;
  place-items: center;
}
.cycle ol li.gone {
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--bad);
  text-decoration-thickness: 1.5px;
}
.cycle.next ol li::before { color: var(--accent); border-color: var(--accent); }
.cycle ol li b { color: var(--text); }

/* ---------- Slide 13: metric tiles ---------- */
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.4rem;
  margin-top: 1rem;
}
.metric-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.6rem 1.4rem 1.4rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.metric-tile.hero { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.metric-num {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.metric-label { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.7rem; }
.metric-body { color: var(--text-dim); font-size: 0.92rem; margin-top: auto; }
.metric-body b { color: var(--text); }

.investor-reframe {
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: var(--panel-2);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: 1.05rem;
  color: var(--text);
  max-width: 70ch;
}
.investor-reframe em { color: var(--accent); font-style: normal; font-weight: 600; }

/* ---------- Slide 14: competitive picture ---------- */
.outcomes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.4rem;
  margin-top: 0.4rem;
}
.outcome {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.outcome .o-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.35rem; }
.outcome p { margin: 0; color: var(--text-dim); font-size: 0.96rem; }
.outcome p b { color: var(--text); }
.moat-line {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  color: var(--text);
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  max-width: 70ch;
}

/* ---------- Slide 15: status + proof ---------- */
.status-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.2rem;
  margin-top: 0.4rem;
}
.status-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem;
}
.status-col.live { border-top: 3px solid var(--good); }
.status-col.flight { border-top: 3px solid var(--accent); }
.status-col.next { border-top: 3px solid var(--line-2); }
.status-col h3 { margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.status-col .pulse { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-col.live .pulse { background: var(--good); box-shadow: 0 0 0 4px rgba(108,199,138,0.18); }
.status-col.flight .pulse { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-glow); }
.status-col.next .pulse { background: var(--line-2); }
.status-col ul { list-style: none; padding: 0; margin: 0; }
.status-col li { padding: 0.45rem 0; border-bottom: 1px dashed var(--line); color: var(--text-dim); font-size: 0.92rem; }
.status-col li:last-child { border-bottom: none; }
.status-col li b { color: var(--text); }

.proof {
  margin-top: 1.4rem;
  background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--panel);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.proof-text { color: var(--text-dim); }
.proof-text .proof-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 0.4rem; }
.proof-text h3 { color: var(--text); margin-bottom: 0.3rem; }
.proof-text p { margin: 0.2rem 0; font-size: 0.95rem; }
.proof-text b { color: var(--text); }
.proof-stats { display: flex; gap: 1.2rem; }
.proof-stats .ps { text-align: center; }
.proof-stats .ps-num { font-size: 1.8rem; font-weight: 700; color: var(--accent); line-height: 1; }
.proof-stats .ps-lbl { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); margin-top: 0.3rem; }

/* ---------- Slide 16: closing ---------- */
.closing { justify-content: center; text-align: left; }
.closing .big {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
  margin: 0 0 1.4rem;
  max-width: 22ch;
}
.closing .big em { color: var(--accent); font-style: normal; }
.closing .sub { font-size: 1.15rem; color: var(--text-dim); max-width: 60ch; padding-left: 1rem; border-left: 3px solid var(--accent); }

/* ---------- Mermaid container ---------- */
.mermaid {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0.6rem 0;
}
.mermaid svg {
  max-width: 100% !important;
  max-height: 56vh !important;
  height: auto !important;
}

/* ---------- HUD ---------- */
#hud {
  position: fixed;
  bottom: 1.2rem;
  right: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
  z-index: 10;
}
#hud button {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}
#hud button:hover { background: var(--panel); color: var(--accent); }
#counter { min-width: 4.4rem; text-align: center; }

/* ---------- Day in the life columns ---------- */
.day-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.1rem; margin-top: 0.6rem; }
.day-col { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1rem 1.1rem; }
.day-col .day-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem; display: block; }
.day-col ul { list-style: none; padding: 0; margin: 0; }
.day-col li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.85rem;
  color: var(--text-dim);
  align-items: baseline;
}
.day-col li:last-child { border-bottom: none; }
.day-col li .t { font-family: var(--mono); font-size: 0.74rem; color: var(--text-faint); }
.day-col li.flow { color: var(--good); }
.day-col li.flow .t { color: var(--good); }
.day-col li.flow span:last-child { font-weight: 600; }

/* ---------- Asset (appreciation) pair ---------- */
.asset-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 0.6rem; }
.asset-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1.4rem; }
.asset-panel.tomorrow { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.asset-panel .asset-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.4rem; }
.asset-panel.tomorrow .asset-tag { color: var(--accent); }
.asset-panel h3 { margin-bottom: 1rem; }
.asset-panel ul { list-style: none; padding: 0; margin: 0; }
.asset-panel li { padding: 0.55rem 0 0.55rem 1.5rem; position: relative; color: var(--text-dim); border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.asset-panel li:last-child { border-bottom: none; }
.asset-panel li::before { content: '−'; position: absolute; left: 0.2rem; color: var(--text-faint); font-weight: 700; }
.asset-panel.tomorrow li::before { content: '+'; color: var(--accent); }
.asset-panel li b { color: var(--text); }

/* ---------- Agent for every role ---------- */
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.4rem; }
.agent-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.agent-card .a-role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; display: block; }
.agent-card h4 { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--text); }
.agent-card p { font-size: 0.86rem; color: var(--text-dim); margin: 0; }
.hub-line {
  margin: 1rem 0 1.2rem;
  padding: 0.85rem 1.2rem;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.98rem;
  color: var(--text);
  max-width: 90ch;
}
.hub-line b { color: var(--accent); }

/* ---------- Role day before/after ---------- */
.role-day-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 0.6rem; }
.role-day-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.3rem; }
.role-day-panel.after { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--panel); }
.role-day-panel .rd-tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.4rem; }
.role-day-panel.after .rd-tag { color: var(--accent); }
.role-day-panel h3 { margin-bottom: 0.8rem; }
.role-day-panel ul { list-style: none; padding: 0; margin: 0; }
.role-day-panel li { padding: 0.45rem 0 0.45rem 1.4rem; position: relative; color: var(--text-dim); font-size: 0.93rem; border-bottom: 1px dashed var(--line); }
.role-day-panel li:last-child { border-bottom: none; }
.role-day-panel li::before { content: '•'; position: absolute; left: 0.3rem; color: var(--text-faint); }
.role-day-panel.after li::before { color: var(--accent); }
.role-day-panel li b { color: var(--text); }
.role-day-punch { margin-top: 1.2rem; padding-left: 1rem; border-left: 3px solid var(--accent); font-size: 1.08rem; color: var(--text); max-width: 80ch; }
.role-day-punch b { color: var(--accent); }

/* ---------- Flywheel ---------- */
.flywheel-wrap { display: grid; grid-template-columns: 460px 1fr; gap: 2.4rem; margin-top: 0.6rem; align-items: center; }
.flywheel-svg { width: 100%; max-width: 460px; height: auto; }
.flywheel-svg .ring { fill: none; stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 6; }
.flywheel-svg .stage-circle { fill: var(--panel); stroke: var(--accent); stroke-width: 2; }
.flywheel-svg .stage-num { font-family: var(--sans); font-weight: 700; fill: var(--accent); font-size: 14px; text-anchor: middle; }
.flywheel-svg .stage-label { font-family: var(--sans); font-size: 11px; fill: var(--text-dim); text-anchor: middle; }
.flywheel-svg .arrow { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: 0.75; }
.flywheel-svg .arrowhead { fill: var(--accent); }
.flywheel-svg .center-circle { fill: var(--accent); stroke: var(--accent); }
.flywheel-svg .center-text { fill: #0f1115; font-weight: 700; font-size: 13px; text-anchor: middle; font-family: var(--sans); }
.flywheel-stages { list-style: none; padding: 0; margin: 0; }
.flywheel-stages li { display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; padding: 0.55rem 0; border-bottom: 1px dashed var(--line); align-items: baseline; }
.flywheel-stages li:last-child { border-bottom: none; }
.flywheel-stages .fw-num { font-family: var(--mono); font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.flywheel-stages .fw-text { color: var(--text-dim); font-size: 0.96rem; }
.flywheel-stages .fw-text b { color: var(--text); }

/* ---------- Skills as multipliers ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.4rem; }
.skill-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; }
.skill-card .s-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; display: block; margin-bottom: 0.3rem; }
.skill-card h4 { font-size: 1rem; font-weight: 600; margin: 0 0 0.4rem; color: var(--text); }
.skill-card p { font-size: 0.87rem; color: var(--text-dim); margin: 0; }
.skill-card.extensible { border: 1px dashed var(--accent); background: rgba(224, 122, 60, 0.06); grid-column: 1 / -1; text-align: center; }
.skill-card.extensible h4 { color: var(--accent); }
.skill-card.extensible p { max-width: 70ch; margin: 0 auto; }

/* ---------- Timeline (grid-based, line behind dots, labels strictly below) ---------- */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.6rem;
  position: relative;
  padding: 1.5rem 1rem 1rem;
}
.timeline-grid::before {
  content: '';
  position: absolute;
  left: calc(100% / 12 + 1rem);
  right: calc(100% / 12 + 1rem);
  top: calc(1.5rem + 7px);
  height: 3px;
  background: var(--line);
  border-radius: 2px;
  z-index: 0;
}
.timeline-grid::after {
  content: '';
  position: absolute;
  left: calc(100% / 12 + 1rem);
  width: calc((100% - 2rem - (100% / 6)) * var(--progress, 0.66));
  top: calc(1.5rem + 7px);
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  z-index: 0;
}
.tl-point {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.3rem;
}
.tl-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--line-2);
  margin-bottom: 1.1rem;
  flex-shrink: 0;
}
.tl-point.done .tl-dot { background: var(--accent); border-color: var(--accent); }
.tl-point.now .tl-dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px var(--accent-glow); }
.tl-when {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 0.35rem;
}
.tl-point.done .tl-when, .tl-point.now .tl-when { color: var(--accent); }
.tl-point.now .tl-when { font-weight: 700; }
.tl-label { font-size: 0.84rem; color: var(--text-dim); line-height: 1.4; }
.tl-point.now .tl-label, .tl-label b { color: var(--text); }
.tl-caption { margin-top: 2rem; color: var(--text-faint); font-style: italic; font-size: 0.95rem; max-width: 70ch; }

/* ---------- Sales & marketing asset grid ---------- */
.sm-asset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 0.4rem;
}
.sm-asset {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
}
.sm-asset .sm-aud {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.sm-asset h4 { font-size: 0.94rem; font-weight: 600; margin: 0 0 0.3rem; color: var(--text); }
.sm-asset p { font-size: 0.83rem; color: var(--text-dim); margin: 0; }
.sm-academy-strip {
  margin-top: 1.2rem;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(90deg, var(--accent-soft), transparent);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 0.98rem;
  color: var(--text);
  max-width: 100ch;
}
.sm-academy-strip b { color: var(--accent); }

#toc {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  background: rgba(15,17,21,0.6);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  z-index: 10;
  max-width: 16rem;
  text-align: right;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Brand name keeps its case even inside uppercase-styled containers */
.brand { text-transform: none; letter-spacing: normal; }
