:root {
  --bg: #FFFFFF;
  --bg-cream: #F8F9FA;
  --bg-lavender: #ced5f6;
  --bg-dark: #05005c;
  --ink: #05005c;
  --ink-dim: #6B7280;
  --ink-dimmer: #9CA3AF;
  --paper: #FFFFFF;
  --accent: #05005c;
  --accent-soft: #ececf8;
  --flow-good: oklch(0.68 0.10 150);
  --flow-good-soft: oklch(0.94 0.04 150);
  --rule: #E5E7EB;
  --rule-dark: rgba(255, 255, 255, 0.12);
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --serif: "Lexend", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --type-scale: 1;
  --saffron: #fa602d;
  --t-pos: #26AE61;
  --t-neg: #be123c;
  --t-neu: #4338ca;
}

* { box-sizing: border-box; }

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

html, body, #root {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { overflow-x: hidden; }

/* Paper grain — disabled for Proshore brand */
body::before { display: none; }

.app { position: relative; }

/* ----- Right Slide Navigation ----- */
.slide-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.slide-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.slide-nav-label {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 999px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.slide-nav-item:hover .slide-nav-label,
.slide-nav-item.active .slide-nav-label {
  opacity: 1;
  transform: translateX(0);
}

.slide-nav-marker {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  flex-shrink: 0;
}

.slide-nav-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
  transition: color 260ms ease;
  line-height: 1;
}

.slide-nav-item.active .slide-nav-marker {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(5, 0, 92, 0.38);
}

.slide-nav-item.active .slide-nav-num {
  color: #fff;
}

.slide-nav-item:hover:not(.active) .slide-nav-marker {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(5, 0, 92, 0.2);
}

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

/* ----- Typography ----- */
.hero-title,
.section-title,
.closer-title,
.conviction-headline,
.intervention-title,
.method-detail-title,
.example-headline {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
  padding-bottom: 0.08em;
  color: var(--accent);
}

/* Dark-background overrides */
.section-dark .section-title,
.closer-title,
.conviction-headline {
  color: var(--paper);
}

.hero-title em,
.section-title em,
.closer-title em,
.conviction-headline em,
.intervention-title em,
.method-detail-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.section-dark .section-title em,
.closer-title em {
  color: var(--accent);
}

.eyebrow, .kv-label, .hero-meta-label,
.stage-label, .method-num, .pill, .metaphor-switch span,
.example-step-num, .intervention-eyebrow,
.muted, .example-placeholder-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* Section label — prominent slide chapter tag */
.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 36px;
  padding-left: 14px;
  border-left: 2.5px solid var(--accent);
  line-height: 1.6;
  font-weight: 500;
}

.section-dark .section-label,
.section-dark .section-label.dim {
  color: rgba(255, 255, 255, 0.45);
  border-left-color: rgba(255, 255, 255, 0.2);
}

.section-lavender .section-label {
  color: var(--accent);
  border-left-color: var(--accent);
}

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

/* (sidenav replaced by .slide-nav above) */

/* ---- Tweaks panel ---- */
.tweaks-panel {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 260px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 16px 18px;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.tweaks-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.tweak-row {
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.tweak-row label { font-size: 13px; color: var(--ink); }
.tweak-row input[type="range"] { width: 100%; accent-color: var(--accent); }
.tweak-val { font-family: var(--mono); font-size: 11px; color: var(--ink-dim); text-align: right; }
.tweaks-hint {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-dim);
  line-height: 1.5;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--rule);
}
.switch {
  width: 40px; height: 22px; border-radius: 999px;
  background: var(--ink-dimmer); border: none; position: relative; cursor: pointer;
  transition: background 220ms ease;
}
.switch.on { background: var(--accent); }
.switch-knob {
  position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--paper);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1);
}
.switch.on .switch-knob { transform: translateX(18px); }

/* ---- Section shell ---- */
.section {
  padding: clamp(36px, 4vh, 72px) clamp(40px, 5vw, 80px);
  position: relative;
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}
.section-light { background: var(--bg); color: var(--ink); }
.section-cream { background: var(--bg-cream); color: var(--ink); }
.section-lavender { background: var(--bg-lavender); color: var(--ink); }
.section-dark { background: var(--bg-dark); color: var(--paper); }
.section-dark .kv-label,
.section-dark .muted { color: #9CA3AF; }
.section-dark .dim { color: #6B7280; }
.section-dark .light { color: var(--paper); }

/* Cards on lavender — use white bg for clear contrast */
.section-lavender .compare,
.section-lavender .intervention-card,
.section-lavender .method-detail,
.section-lavender .dora-detail,
.section-lavender .stage-detail,
.section-lavender .example-context,
.section-lavender .example-step,
.section-lavender .collapsible {
  background: var(--paper);
  border-color: rgba(5, 0, 92, 0.15);
}

.section-lavender .method-nav-item:hover,
.section-lavender .method-nav-item.active,
.section-lavender .dora-nav-item:hover,
.section-lavender .dora-nav-item.active,
.section-lavender .stage-pill {
  background: rgba(255, 255, 255, 0.7);
}

.section-lavender .stage-pill.active {
  background: var(--accent);
}

.section-lavender .compare-toggle {
  background: rgba(5, 0, 92, 0.08);
}

.section-label {
  margin-bottom: clamp(16px, 2vh, 32px);
}

.section-title {
  font-size: calc(52px * var(--type-scale));
  line-height: 1.08;
  max-width: 1100px;
  margin: 0 0 clamp(12px, 1.5vh, 28px);
  text-wrap: balance;
  padding-bottom: 0.1em;
}
.section-dark .section-title { color: var(--paper); }
.section-dark .section-title em { color: var(--accent); }

.section-body {
  max-width: 720px;
  font-size: calc(17px * var(--type-scale));
  line-height: 1.6;
  color: #374151;
  margin: 0 0 clamp(12px, 1.5vh, 32px);
}
.section-dark .section-body { color: #9CA3AF; }

/* ---- Hero ---- */
.hero {
  height: 100vh;
  padding: clamp(40px, 5vh, 80px) clamp(40px, 5vw, 80px) clamp(28px, 4vh, 60px);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  position: relative;
  scroll-snap-align: start;
  box-sizing: border-box;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(900px 500px at 60% 10%, rgba(5, 0, 92, 0.04), transparent 70%);
}
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.eyebrow { margin-bottom: 18px; }
.hero-top { max-width: 900px; text-align: center; margin: 0 auto; }
.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.04;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
  padding-bottom: 0.08em;
}
.hero-sub {
  font-size: calc(19px * var(--type-scale));
  line-height: 1.7;
  color: var(--ink);
  max-width: 650px;
  margin: 0 auto;
  font-weight: 300;
}

/* ---- Pillar diagram ---- */
.hero-pillars-diagram {
  max-width: 740px;
  width: 100%;
  align-self: center;
  justify-self: center;
  margin: 0 auto;
}

/* Entablature — roof beam */
.pillars-entablature {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 10px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  position: relative;
}
/* Triangular pediment hint */
.pillars-entablature::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 14px solid var(--ink);
}

/* Pillar row */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

/* Connection lines between pillars */
.pillars-connections {
  display: flex;
  justify-content: space-around;
  padding: 6px 0 0;
}
.pillars-conn-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--ink-dimmer);
  text-align: center;
}

/* Individual pillar — link that navigates to section */
.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: transform 200ms ease;
}
.pillar:hover {
  transform: translateY(-4px);
}

/* Capital — flared top of the pillar */
.pillar-capital {
  width: 80%;
  height: 10px;
  background: var(--pillar-color);
  border-radius: 2px 2px 0 0;
  position: relative;
  opacity: 0.85;
}
.pillar-capital::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -6%;
  width: 112%;
  height: 4px;
  background: var(--pillar-color);
  border-radius: 0 0 2px 2px;
  opacity: 0.6;
}

/* Shaft — the tall main body */
.pillar-shaft {
  width: 70%;
  flex: 1;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--pillar-color) 8%, var(--bg)) 0%,
    color-mix(in srgb, var(--pillar-color) 4%, var(--bg)) 100%
  );
  border-left: 1.5px solid var(--pillar-color);
  border-right: 1.5px solid var(--pillar-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  gap: 8px;
  text-align: center;
  min-height: 180px;
  transition: background 300ms ease, border-color 300ms ease;
  /* Fluting effect */
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 8px,
    rgba(0,0,0,0.015) 8px,
    rgba(0,0,0,0.015) 9px
  );
}
.pillar:hover .pillar-shaft {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--pillar-color) 14%, var(--bg)) 0%,
    color-mix(in srgb, var(--pillar-color) 8%, var(--bg)) 100%
  );
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 8px,
    rgba(0,0,0,0.02) 8px,
    rgba(0,0,0,0.02) 9px
  );
}

/* Base — pedestal at the bottom */
.pillar-base {
  width: 80%;
  height: 8px;
  background: var(--pillar-color);
  border-radius: 0 0 2px 2px;
  opacity: 0.85;
  position: relative;
}
.pillar-base::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -6%;
  width: 112%;
  height: 4px;
  background: var(--pillar-color);
  border-radius: 2px 2px 0 0;
  opacity: 0.6;
}

/* Stylobate — foundation slab */
.pillars-stylobate {
  background: var(--ink);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 8px 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0 0 4px 4px;
}

/* Text inside pillars */
.pillar-role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pillar-color);
  opacity: 0.8;
}
.pillar-label {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.pillar-question {
  font-size: 12px;
  color: var(--ink-dim);
  font-style: italic;
  line-height: 1.4;
}
.pillar-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
}
.pillar-step-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--pillar-color) 40%, transparent);
  border-radius: 3px;
  color: var(--pillar-color);
  white-space: nowrap;
}
.pillar:hover .pillar-step-tag {
  border-color: var(--pillar-color);
  background: color-mix(in srgb, var(--pillar-color) 8%, transparent);
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  font-size: 14px;
}
.hero-meta-label { margin-bottom: 6px; }

@keyframes drawIn {
  from { stroke-dashoffset: 500; opacity: 0; }
  to { stroke-dashoffset: 0; opacity: 1; }
}

/* ---- Pipeline shared ---- */
.stage-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pipeline-svg { display: block; }

/* ---- Compare (without/with) ---- */
.compare {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px 28px 28px;
}
.compare-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--bg-cream);
  border-radius: 999px;
  margin-bottom: 16px;
}
.compare-toggle button {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 220ms ease;
}
.compare-toggle button.active {
  background: var(--accent);
  color: #fff;
}
.compare-stage { padding: 8px 0 16px; }
.compare-caption {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #374151;
  padding-top: 16px;
  border-top: 1px dashed var(--rule);
  line-height: 1.6;
}
.dot {
  display: inline-block;
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0;
}

/* ---- Convictions ---- */
.convictions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  background: rgba(5, 0, 92, 0.15);
  border: 1px solid rgba(5, 0, 92, 0.15);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 28px;
  flex: 1 1 0;
  min-height: 0;
}
/* Reveal wrapper must stretch to fill the grid cell */
.convictions > div {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.conviction {
  background: var(--bg-lavender);
  padding: 32px 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1;
}
.conviction.emphasis {
  background: #bcc5f4;
}
.conviction-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.1em;
  opacity: 0.5;
}
.conviction-short {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  opacity: 0.55;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.conviction-headline {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.14;
  color: var(--ink);
  margin: 0;
  max-width: 460px;
  padding-bottom: 0.08em;
}
.conviction-body {
  color: var(--ink);
  opacity: 0.65;
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
  margin: 0;
  max-width: 500px;
  font-weight: 300;
}
.conviction.emphasis .conviction-headline em { color: var(--ink); }

@media (max-width: 900px) {
  .convictions { grid-template-columns: 1fr; }
}

/* ---- Explorer ---- */
.explorer {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 24px;
}
.explorer-stage {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 40px 36px 28px;
}
.metaphor-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px dashed var(--rule);
}
.metaphor-switch span {
  color: var(--ink-dim);
}
.metaphor-switch button {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  color: var(--ink-dim);
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: all 180ms ease;
}
.metaphor-switch button.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.intervention-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 36px 34px;
  position: sticky;
  top: 40px;
}
.intervention-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.pill {
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
}
.intervention-title {
  font-size: 28px;
  margin: 0 0 22px;
  line-height: 1.16;
  padding-bottom: 0.08em;
}
.intervention-friction {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 22px;
}
.kv-label { margin-bottom: 6px; display: block; }
.intervention-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  font-size: 14px;
  line-height: 1.5;
}
.intervention-grid .full { grid-column: 1 / -1; }

@media (max-width: 1100px) {
  .explorer { grid-template-columns: 1fr; }
  .intervention-card { position: static; }
}

/* ---- Method ---- */
.method-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  margin-top: 32px;
}
.method-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.method-nav-item {
  background: transparent;
  border: none;
  text-align: left;
  padding: 20px 20px 20px 24px;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  border-left: 2px solid var(--rule);
  transition: all 220ms ease;
}
.method-nav-item:hover { background: var(--paper); }
.method-nav-item.active {
  border-left-color: var(--accent);
  background: var(--paper);
}
.method-num {
  grid-row: 1 / 3;
  font-size: 13px;
  color: var(--ink-dim);
  align-self: center;
}
.method-nav-item.active .method-num { color: var(--accent); }
.method-name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.method-sub {
  font-size: 13px;
  color: var(--ink-dim);
}

.method-detail {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 48px 44px;
  animation: fadeUp 500ms cubic-bezier(.2,.8,.2,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.method-detail-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.method-detail-title {
  font-size: 44px;
  margin: 0 0 26px;
  line-height: 1.1;
  padding-bottom: 0.1em;
}
.method-detail-body {
  font-size: 17px;
  line-height: 1.7;
  color: #374151;
  margin: 0 0 28px;
  max-width: 620px;
  font-weight: 300;
}
.method-output {
  padding: 18px 22px;
  background: var(--bg-cream);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}
.method-progress {
  display: flex;
  gap: 6px;
  margin-top: 28px;
}
.method-progress span {
  height: 3px;
  flex: 1;
  background: var(--rule);
  transition: background 400ms ease;
}
.method-progress span.on { background: var(--accent); }

.method-dora {
  margin-bottom: 24px;
}
.method-dora-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.method-dora-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in oklab, var(--accent) 20%, transparent);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent);
  transition: all 200ms ease;
}
.method-dora-badge:hover {
  background: color-mix(in oklab, var(--accent) 12%, white);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(5, 0, 92, 0.1);
}
.method-dora-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .method-layout { grid-template-columns: 1fr; }
}

/* ---- Severity Diagnostic ---- */
.sev-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 4px;
}
.sev-legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sev-legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.diagnostic-verdict {
  margin-top: 0;
  padding: 22px 28px;
  background: var(--bg-dark);
  color: var(--paper);
  border-radius: 12px;
}
.diagnostic-verdict .kv-label { color: #9CA3AF; }
.verdict-value {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.verdict-value em { color: var(--accent); font-style: italic; }
.muted { color: var(--ink-dim); }

/* ---- Worked example ---- */
.example-placeholder-note {
  display: inline-block;
  background: var(--accent-soft);
  color: color-mix(in oklab, var(--accent) 80%, black 20%);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.example-context {
  max-width: 780px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  margin-bottom: 28px;
}
.example-context p {
  font-size: 16px;
  line-height: 1.7;
  margin: 10px 0 0;
  color: #374151;
  font-weight: 300;
}
.example-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.example-step {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  padding: 0;
  transition: border-color 200ms ease;
}
.example-step:hover { border-color: var(--accent); }
.example-step.open { border-color: var(--accent); }
.example-step-head {
  display: grid;
  grid-template-columns: 60px 1fr 40px;
  align-items: center;
  padding: 22px 28px;
  gap: 12px;
}
.example-step-num {
  color: var(--ink-dim);
}
.example-step.open .example-step-num { color: var(--accent); }
.example-step-name {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.example-step-toggle {
  font-family: var(--mono);
  font-size: 22px;
  text-align: right;
  color: var(--ink-dim);
}
.example-step-body {
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(.2,.8,.2,1);
}
.example-step-inner {
  padding: 0 28px 26px 88px;
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  font-weight: 300;
}
.example-step-inner .mt-8 { margin-top: 8px; }
.example-step-inner strong { color: var(--ink); font-weight: 600; }
.example-headline {
  font-family: var(--serif);
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---- Ops / collapsibles ---- */
.collapsibles {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  max-width: 940px;
}
.collapsible {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
}
.collapsible-head {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.collapsible-toggle {
  font-family: var(--mono);
  font-size: 20px;
  color: var(--ink-dim);
}
.collapsible-body {
  overflow: hidden;
  transition: max-height 420ms cubic-bezier(.2,.8,.2,1);
}
.collapsible-inner {
  padding: 4px 26px 24px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #374151;
  font-weight: 300;
}
.collapsible-inner p { margin: 0 0 12px; }
.collapsible-inner p:last-child { margin-bottom: 0; }
.tool-list, .roles-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tool-list li {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}
.tool-list li:last-child { border-bottom: none; }
.tool-list .mono {
  color: var(--ink);
  font-size: 12.5px;
  text-transform: lowercase;
  letter-spacing: 0;
}
.roles-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}
.roles-list li:last-child { border-bottom: none; }

/* ---- Closer ---- */
.closer {
  padding: clamp(36px, 4vh, 72px) clamp(40px, 5vw, 80px);
  text-align: left;
  min-height: 100vh;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.closer-title {
  font-size: 72px;
  line-height: 1.06;
  color: var(--paper);
  max-width: 1100px;
  margin: 0 0 40px;
  letter-spacing: -0.02em;
  padding-bottom: 0.08em;
}
.closer-title em { color: var(--accent); }
.closer-sub {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: #9CA3AF;
  margin: 0 0 60px;
  font-weight: 300;
}
.closer-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--mono);
  font-size: 11px;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}
.dot-sep { color: #4A4A4E; }

/* ---- Compact for 13\201414" laptops ---- */
@media (max-width: 1440px) {
  /* Global section */
  .section, .hero, .closer { padding: 48px 48px; }
  .section-label { font-size: 12px; margin-bottom: 24px; }
  .section-title { font-size: calc(42px * var(--type-scale)); margin: 0 0 20px; }
  .section-body { font-size: calc(15px * var(--type-scale)); margin: 0 0 24px; }

  /* Hero */
  .hero { padding: 56px 48px 40px; }
  .hero-title { font-size: clamp(40px, 6vw, 72px); margin: 0 0 18px; }
  .hero-sub { font-size: calc(16px * var(--type-scale)); }
  .hero-grid { gap: 28px; }
  .hero-pillars-diagram { max-width: 640px; }
  .pillar-label { font-size: 17px; }
  .pillar-shaft { min-height: 150px; padding: 16px 10px; }
  .hero-meta { gap: 24px; padding-top: 20px; }

  /* Convictions */
  .conviction { padding: 32px 28px 28px; min-height: 280px; }
  .conviction-headline { font-size: 24px; margin: 2px 0 10px; }
  .conviction-body { font-size: 13.5px; }

  /* Explorer */
  .explorer { gap: 24px; }
  .explorer-stage { padding: 28px 24px 20px; }
  .intervention-card { padding: 28px 24px; }
  .intervention-title { font-size: 24px; margin: 0 0 16px; }
  .intervention-grid { gap: 16px 20px; font-size: 13px; }
  .intervention-eyebrow { margin-bottom: 12px; }

  /* Method */
  .method-layout { grid-template-columns: 280px 1fr; gap: 28px; margin-top: 20px; }
  .method-nav-item { padding: 14px 14px 14px 18px; }
  .method-name { font-size: 20px; }
  .method-detail { padding: 32px 28px; }
  .method-detail-eyebrow { margin-bottom: 12px; }
  .method-detail-title { font-size: 34px; margin: 0 0 18px; }
  .method-detail-body { font-size: 15px; margin: 0 0 20px; }
  .method-output { padding: 14px 18px; font-size: 13px; }
  .method-progress { margin-top: 20px; }

  /* Diagnostic */
  .diagnostic-verdict { padding: 18px 22px; }
  .verdict-value { font-size: 20px; }

  /* Worked example */
  .example-context { padding: 22px 24px; margin-bottom: 20px; }
  .example-context p { font-size: 14px; }
  .example-step-head { grid-template-columns: 50px 1fr 36px; padding: 16px 22px; gap: 10px; }
  .example-step-name { font-size: 24px; }
  .example-step-inner { padding: 0 22px 20px 72px; font-size: 13.5px; }
  .example-headline { font-size: 18px; margin-bottom: 10px; }

  /* Ops / collapsibles */
  .collapsible-head { padding: 16px 20px; font-size: 14.5px; }
  .collapsible-inner { padding: 2px 20px 18px; font-size: 13px; }
  .tool-list li { grid-template-columns: 190px 1fr; gap: 12px; }

  /* Adoption stages */
  .stages-track { margin: 20px 0 20px; }
  .stage-pill { padding: 16px 18px; }
  .stage-pill-name { font-size: 24px; }
  .stage-detail { padding: 28px 32px; }
  .stage-detail-grid { gap: 28px; padding-bottom: 24px; margin-bottom: 24px; }
  .stage-title { font-size: 32px; margin: 0 0 14px; }
  .stage-body { font-size: 14px; }
  .stage-budget { padding: 20px 22px; }
  .budget-amount { font-size: 38px; }
  .stage-cols { gap: 16px; }
  .stage-col li, .stage-col p { font-size: 12.5px; padding: 8px 12px; }
  .budget-rationale { margin-top: 28px; padding: 22px 24px; }
  .budget-rationale p { font-size: 13.5px; }

  /* Closer */
  .closer-title { font-size: 56px; margin: 0 0 28px; }
  .closer-sub { font-size: 16px; margin: 0 0 40px; }
}

/* ---- Short viewport (13" with dock/menu) ---- */
@media (max-height: 820px) {
  .section, .hero, .closer { padding: 36px 40px; }
  .section-label { margin-bottom: 18px; }
  .section-title { font-size: calc(36px * var(--type-scale)); margin: 0 0 14px; }
  .section-body { font-size: calc(14px * var(--type-scale)); margin: 0 0 18px; }

  .hero { padding: 40px 40px 28px; }
  .hero-title { font-size: clamp(36px, 5.5vw, 64px); margin: 0 0 12px; }
  .hero-sub { font-size: calc(14.5px * var(--type-scale)); }
  .hero-grid { gap: 20px; }
  .hero-pillars-diagram { max-width: 560px; }
  .pillar-shaft { min-height: 130px; padding: 14px 8px; gap: 6px; }
  .pillar-label { font-size: 15px; }
  .pillar-question { font-size: 11px; }
  .pillar-step-tag { font-size: 8px; padding: 1px 4px; }
  .pillars-conn-label { font-size: 9px; }
  .hero-meta { gap: 18px; padding-top: 14px; font-size: 12.5px; }

  .conviction { padding: 24px 22px 22px; min-height: 240px; gap: 10px; }
  .conviction-headline { font-size: 21px; }
  .conviction-body { font-size: 12.5px; }

  .explorer-stage { padding: 22px 20px 16px; }
  .intervention-card { padding: 22px 20px; }
  .intervention-title { font-size: 22px; }

  .method-layout { gap: 20px; margin-top: 14px; }
  .method-detail { padding: 24px 22px; }
  .method-detail-title { font-size: 28px; margin: 0 0 14px; }
  .method-detail-body { font-size: 14px; margin: 0 0 16px; }

  .diagnostic { gap: 20px; }
  .example-context { padding: 16px 20px; }
  .example-step-head { padding: 12px 18px; }
  .example-step-name { font-size: 20px; }
  .example-step-inner { padding: 0 18px 16px 60px; font-size: 12.5px; }

  .stage-pill { padding: 12px 14px; }
  .stage-pill-name { font-size: 20px; }
  .stage-detail { padding: 22px 24px; }
  .stage-title { font-size: 28px; }
  .stage-body { font-size: 13px; }
  .budget-amount { font-size: 32px; }
  .stage-cols { gap: 12px; }

  .closer-title { font-size: 44px; margin: 0 0 22px; }
  .closer-sub { font-size: 14.5px; margin: 0 0 32px; }

  .collapsible-head { padding: 12px 16px; font-size: 13.5px; }
  .collapsible-inner { padding: 2px 16px 14px; font-size: 12.5px; }
}

/* ---- Responsive clamps ---- */
@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .section, .hero, .closer {
    padding-left: 24px;
    padding-right: 24px;
    min-height: unset;
    height: auto;
    scroll-snap-align: none;
    justify-content: flex-start;
  }
  .hero { padding-top: 64px; overflow: visible; }
  .hero-title { font-size: calc(56px * var(--type-scale)); }
  .section-title { font-size: calc(40px * var(--type-scale)); }
  .closer-title { font-size: 44px; }
  .hero-pillars-diagram { max-width: 100%; }
  .pillar-shaft { min-height: 120px; padding: 12px 6px; }
  .pillar-label { font-size: 14px; }
  .pillar-question { font-size: 10px; }
  .pillar-role { font-size: 9px; }
  .pillar-step-tag { font-size: 8px; }
  .pillars-entablature { font-size: 9px; padding: 8px 16px; }
  .pillars-connections { flex-direction: column; align-items: center; gap: 2px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
  .conviction-headline { font-size: 24px; }
  .method-detail-title { font-size: 32px; }
  .example-step-inner { padding-left: 28px; }
  .example-step-head { grid-template-columns: 50px 1fr 30px; }
  .example-step-name { font-size: 22px; }
  .tweaks-panel { width: calc(100vw - 32px); left: 16px; right: 16px; bottom: 16px; }
}


/* ---- DORA section ---- */
.dora-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  margin-top: 24px;
}
.dora-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dora-nav-item {
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px 18px 16px 20px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  border-left: 2px solid var(--rule);
  transition: all 220ms ease;
  color: var(--ink);
}
.dora-nav-item:hover { background: var(--paper); }
.dora-nav-item.active {
  border-left-color: var(--accent);
  background: var(--paper);
}
.dora-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
}
.dora-nav-item.active .dora-num { color: var(--accent); }
.dora-nav-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}
.dora-detail {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 44px 44px;
  animation: fadeUp 480ms cubic-bezier(.2,.8,.2,1) both;
}
.dora-detail-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.dora-detail-title {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 22px;
  padding-bottom: 0.1em;
}
.dora-detail-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.dora-detail-header { margin-bottom: 4px; }
.dora-detail-summary {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0;
  padding-bottom: 10px;
  
}

/* ---- Tab bar ---- */
.dora-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--bg-cream);
  border-radius: 10px;
  padding: 4px;
}
.dora-tab {
  flex: 1;
  padding: 11px 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 200ms ease;
  letter-spacing: 0.01em;
}
.dora-tab:hover { color: var(--ink); }
.dora-tab.active {
  background: var(--paper);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ---- Card grid ---- */
.dora-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.dora-card {
  background: var(--bg-cream);
  border: 1.5px solid var(--rule);
  border-radius: 12px;
  padding: 20px 20px 18px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  animation: doraCardIn 380ms cubic-bezier(.2,.8,.2,1) both;
}
.dora-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(5,0,92,.08);
  transform: translateY(-2px);
}
@keyframes doraCardIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.dora-card-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--accent);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.dora-card-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 8px;
}
.dora-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0;
}

/* ---- Semantic text colors ---- */
.t-pos { color: var(--t-pos); font-weight: 650; }
.t-neg { color: var(--t-neg); font-weight: 650; }
.t-neu { color: var(--t-neu); font-weight: 650; }

/* ---- Step list (team-does tab) ---- */
.dora-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}
.dora-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0;
  animation: doraCardIn 380ms cubic-bezier(.2,.8,.2,1) both;
}
.dora-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dora-step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.dora-step-line {
  width: 2px;
  flex: 1;
  background: var(--rule);
  min-height: 20px;
}
.dora-step-content {
  padding: 4px 0 28px 16px;
}
.dora-step-title {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.3;
}
.dora-step-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-dim);
  margin: 0;
  
}
.dora-step:last-child .dora-step-content { padding-bottom: 8px; }

/* ---- Signal strip ---- */
.dora-signal {
  padding: 18px 20px;
  background: var(--bg-dark);
  color: var(--paper);
  border-radius: 10px;
}
.dora-signal .kv-label { color: #9CA3AF; margin-bottom: 10px; }
.dora-signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dora-signal-list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  animation: signalFade 350ms ease both;
}
.dora-signal-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: #34D399;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
@keyframes signalFade {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* -- Compact for smaller laptops (13"-14" screens) -- */
@media (max-width: 1440px) {
  .dora-layout { grid-template-columns: 300px 1fr; gap: 28px; }
  .dora-nav-item { padding: 12px 14px 12px 16px; }
  .dora-nav-name { font-size: 13.5px; }
  .dora-detail { padding: 28px 28px; }
  .dora-detail-eyebrow { margin-bottom: 12px; }
  .dora-detail-title { font-size: 30px; margin: 0 0 14px; }
  .dora-detail-summary { font-size: 13.5px; padding-bottom: 6px; }
  .dora-tabs { margin-bottom: 14px; }
  .dora-tab { padding: 8px 0; font-size: 12px; }
  .dora-cards { gap: 8px; margin-bottom: 14px; }
  .dora-card { padding: 14px 14px 12px; border-radius: 10px; }
  .dora-card-num { font-size: 9px; padding: 2px 6px; margin-bottom: 8px; }
  .dora-card-title { font-size: 13px; margin: 0 0 5px; }
  .dora-card-desc { font-size: 11.5px; line-height: 1.5; }
  .dora-step-num { width: 26px; height: 26px; font-size: 11px; }
  .dora-step-content { padding: 2px 0 20px 12px; }
  .dora-step-title { font-size: 13px; margin: 0 0 4px; }
  .dora-step-desc { font-size: 11.5px; line-height: 1.5; }
  .dora-steps { margin-bottom: 14px; }
  .dora-signal { padding: 14px 16px; }
  .dora-signal .kv-label { margin-bottom: 8px; }
  .dora-signal-list { gap: 5px; }
  .dora-signal-list li { font-size: 12px; padding-left: 20px; }
  .dora-signal-list li::before { font-size: 11px; }
}

/* -- Even smaller height (short viewport, e.g. 13" with dock) -- */
@media (max-height: 820px) {
  .dora-detail { padding: 22px 24px; }
  .dora-detail-title { font-size: 26px; margin: 0 0 10px; }
  .dora-detail-summary { font-size: 12.5px; }
  .dora-tabs { margin-bottom: 10px; }
  .dora-tab { padding: 7px 0; }
  .dora-cards { gap: 6px; margin-bottom: 10px; }
  .dora-card { padding: 12px 12px 10px; }
  .dora-card-title { font-size: 12.5px; }
  .dora-card-desc { font-size: 11px; }
  .dora-step-content { padding: 1px 0 16px 12px; }
  .dora-step-title { font-size: 12.5px; }
  .dora-step-desc { font-size: 11px; }
  .dora-signal { padding: 12px 14px; }
  .dora-signal-list li { font-size: 11.5px; }
}

@media (max-width: 980px) {
  .dora-layout { grid-template-columns: 1fr; }
  .dora-cards { grid-template-columns: 1fr; }
}

/* ---- Adoption stages ---- */
.stages-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 32px 0 28px;
}
.stage-pill {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 22px 24px;
  cursor: pointer;
  text-align: left;
  transition: all 240ms cubic-bezier(.2,.8,.2,1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stage-pill:hover { border-color: var(--ink-dim); transform: translateY(-2px); }
.stage-pill.active {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(5, 0, 92, 0.2);
}
.stage-pill-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
}
.stage-pill.active .stage-pill-num { color: var(--accent); }
.stage-pill-name {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-weight: 500;
  color: var(--ink);
}
.stage-pill.active .stage-pill-name { color: var(--paper); }
.stage-pill-dur {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}
.stage-pill.active .stage-pill-dur { color: rgba(255,255,255,0.7); }

.stage-detail {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 40px 44px;
  animation: fadeUp 480ms cubic-bezier(.2,.8,.2,1) both;
}
.stage-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 32px;
}
.stage-eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.stage-title {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 18px;
  padding-bottom: 0.08em;
}
.stage-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.stage-body {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin: 0;
  font-weight: 300;
}
.stage-budget {
  background: var(--bg-dark);
  color: var(--paper);
  border-radius: 12px;
  padding: 26px 28px;
  align-self: start;
}
.stage-budget .kv-label { color: #9CA3AF; }
.budget-amount {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--accent);
  margin: 8px 0 4px;
}
.budget-note {
  font-family: var(--mono);
  font-size: 11px;
  color: #9CA3AF;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.budget-divider {
  height: 1px;
  background: var(--rule-dark);
  margin: 22px 0 16px;
}
.budget-dora {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dora-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule-dark);
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--paper);
}
.dora-chip-num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.stage-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stage-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.col-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
}
.stage-col.do .col-label { color: var(--flow-good); }
.stage-col.dont .col-label { color: var(--accent); }
.stage-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stage-col li, .stage-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #1F2937;
  padding: 10px 14px;
  background: var(--bg-cream);
  border-radius: 6px;
  margin: 0;
  font-weight: 300;
}
.stage-col.dont li {
  background: color-mix(in oklab, var(--accent-soft) 70%, var(--bg-cream) 30%);
}
.stage-col.exit p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  background: var(--bg-dark);
  color: var(--paper);
}

.budget-rationale {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--paper);
  border: 1px dashed var(--rule);
  border-radius: 12px;
  max-width: 860px;
}
.budget-rationale p {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin: 8px 0 0;
  font-weight: 300;
}
.budget-rationale em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 980px) {
  .stages-track { grid-template-columns: 1fr 1fr; }
  .stage-detail-grid { grid-template-columns: 1fr; }
  .stage-cols { grid-template-columns: 1fr; }
}

.saffron
{
  color: var(--saffron)
}

/* ==========================================================================
   Audience toggle (top-center pill nav)
   ========================================================================== */
.audience-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rule);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.audience-pill {
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-dim);
  letter-spacing: 0.01em;
  transition: background 200ms ease, color 200ms ease;
}

.audience-pill:hover:not(.active) {
  color: var(--ink);
}

.audience-pill.active {
  background: var(--accent);
  color: var(--paper);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(5, 0, 92, 0.25);
}

@media (max-width: 600px) {
  .audience-nav { top: 12px; padding: 3px; }
  .audience-pill { padding: 6px 14px; font-size: 12px; }
}

/* ==========================================================================
   Outcomes (client) — 6 cards
   ========================================================================== */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 48px auto 0;
}

.outcome-card {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.outcome-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-soft);
  box-shadow: 0 10px 28px rgba(5, 0, 92, 0.08);
}

.outcome-card-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--saffron);
  margin-bottom: 16px;
}

.outcome-card-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
  margin: 0 0 10px;
  line-height: 1.25;
}

.outcome-card-body {
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
  font-weight: 300;
}

@media (max-width: 900px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .outcomes { grid-template-columns: 1fr; gap: 16px; } }

/* ---- Safety cards (client-only) — same grid + card shell as outcomes,
   no numeral chip, subtle green left accent to read as accountability. ---- */
.outcomes.safety { grid-template-columns: repeat(2, 1fr); max-width: 980px; }
.safety-card { border-left: 3px solid var(--t-pos); padding-left: 24px; }
@media (max-width: 700px) { .outcomes.safety { grid-template-columns: 1fr; } }

/* ==========================================================================
   Perspectives (client) — two-column "client gets / team gets"
   ========================================================================== */
.perspectives {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 48px auto 0;
}

.perspectives-col {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px 28px 8px;
}

.perspectives-head {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.perspectives-row {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-weight: 400;
}

.perspectives-row:last-child {
  border-bottom: none;
}

@media (max-width: 800px) {
  .perspectives { grid-template-columns: 1fr; gap: 20px; }
}

/* ==========================================================================
   Examples (client) — AI initiatives grouped by delivery stage
   ========================================================================== */
.examples-stages {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 1200px;
  margin: 48px auto 0;
}

.examples-stage-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}

.examples-stage-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.examples-stage-head {
  position: sticky;
  top: 80px;
}

.examples-stage-name {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 8px;
}

.examples-stage-note {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  line-height: 1.4;
}

.examples-stage-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.example-workflow-card {
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--t-neu);
  border-radius: 10px;
  transition: transform 240ms ease, box-shadow 240ms ease, border-left-color 240ms ease;
}

.example-workflow-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(67, 56, 202, 0.10);
  border-left-color: var(--accent);
}

.example-workflow-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 8px;
  line-height: 1.25;
}

.example-workflow-body {
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
  margin: 0;
  font-weight: 300;
}

@media (max-width: 1100px) { .examples-stage-items { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 800px) {
  .examples-stage-row { grid-template-columns: 1fr; gap: 16px; }
  .examples-stage-head { position: static; }
  .examples-stage-name { font-size: 22px; }
}
@media (max-width: 540px) { .examples-stage-items { grid-template-columns: 1fr; } }

/* ==========================================================================
   Indicators (client) — measurable signals
   ========================================================================== */
.indicators {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
  max-width: 1000px;
  margin: 40px auto 0;
}

.indicator-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.indicator-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.indicator-body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: #374151;
  font-weight: 300;
}

@media (max-width: 800px) {
  .indicators { grid-template-columns: 1fr; gap: 0; }
  .indicator-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
}

/* ---- DORA owner chips (client mode) ---- */
.dora-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  margin-bottom: 12px;
}
.dora-owner-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 500;
}
.dora-owner-chip-inline {
  margin-left: 10px;
}
.dora-owner-client {
  background: rgba(250, 96, 45, 0.10);
  border-color: rgba(250, 96, 45, 0.45);
  color: var(--saffron);
}
.dora-owner-proshore {
  background: var(--accent-soft);
  border-color: rgba(5, 0, 92, 0.30);
  color: var(--accent);
}
.dora-owner-shared {
  background: rgba(67, 56, 202, 0.10);
  border-color: rgba(67, 56, 202, 0.40);
  color: var(--t-neu);
}

@media (max-width: 720px) {
  .dora-nav-item { grid-template-columns: 32px 1fr; }
  .dora-nav-item .dora-owner-chip {
    grid-column: 2 / 3;
    justify-self: start;
    margin-top: 4px;
  }
}
