:root {
  color-scheme: light;
  --paper: oklch(0.985 0.003 190);
  --white: oklch(1 0 0);
  --mist: oklch(0.955 0.012 190);
  --slate: oklch(0.91 0.025 198);
  --ink: oklch(0.19 0.025 202);
  --ink-soft: oklch(0.34 0.03 202);
  --muted: oklch(0.49 0.028 202);
  --line: oklch(0.83 0.018 195);
  --line-dark: oklch(0.69 0.025 195);
  --summit: oklch(0.52 0.105 174);
  --summit-deep: oklch(0.34 0.075 174);
  --summit-bright: oklch(0.76 0.135 170);
  --summit-pale: oklch(0.93 0.045 174);
  --blue: oklch(0.56 0.16 250);
  --blue-deep: oklch(0.36 0.12 250);
  --blue-pale: oklch(0.93 0.04 250);
  --orange: oklch(0.72 0.16 55);
  --orange-deep: oklch(0.31 0.07 50);
  --orange-pale: oklch(0.94 0.045 62);
  --red: oklch(0.57 0.2 28);
  --shadow-small: 0 4px 8px oklch(0.16 0.02 202 / 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-height: 64px;
  --control-height: 62px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Onest", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: "Outfit", "Onest", ui-sans-serif, system-ui, sans-serif;
}

button,
a {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 3px solid var(--summit-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.deck-meta {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(18px, 3vw, 52px);
  color: var(--ink-soft);
  pointer-events: none;
  transition: color 240ms ease;
}

.on-dark .deck-meta,
.on-warning .deck-meta {
  color: oklch(0.94 0.01 180 / 0.78);
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
  pointer-events: auto;
}

.wordmark-mark {
  width: 16px;
  height: 16px;
  background: var(--summit);
  clip-path: polygon(50% 0, 100% 100%, 68% 100%, 50% 61%, 32% 100%, 0 100%);
}

.on-dark .wordmark-mark,
.on-warning .wordmark-mark {
  background: var(--summit-bright);
}

.deck-meta-title {
  justify-self: center;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deck-meta-year {
  justify-self: end;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.deck {
  min-height: 100dvh;
}

.slide {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--paper);
}

.js .slide {
  display: none;
}

.js .slide.is-active {
  display: block;
}

.no-js .slide {
  border-bottom: 8px solid var(--ink);
}

.slide-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 1600px);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(86px, 9vh, 110px) clamp(28px, 5vw, 86px) clamp(88px, 10vh, 112px);
}

.js .slide.is-active .slide-frame {
  animation: slide-enter 520ms var(--ease-out) both;
}

@keyframes slide-enter {
  from {
    opacity: 0.65;
    transform: translateY(8px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.slide-light {
  background: var(--paper);
}

.slide-white {
  background: var(--white);
}

.slide-slate {
  background: var(--slate);
}

.slide-ink,
.slide-close,
.slide-cover {
  background: var(--ink);
  color: var(--white);
}

.slide-warning {
  background: var(--orange);
  color: var(--orange-deep);
}

.slide-split {
  isolation: isolate;
  background: var(--paper);
}

.slide-split::before,
.slide-split::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  z-index: 0;
}

.slide-split::before {
  background: var(--paper);
}

.slide-split::after {
  left: 50%;
  background: var(--ink);
}

.slide-heading {
  max-width: 1200px;
}

.slide-heading h2,
.slide-heading h1,
.close-copy h2,
.cover-copy h1 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}

.slide-heading h2 {
  max-width: 22ch;
  font-size: clamp(36px, 4.8vw, 76px);
}

.heading-compact h2 {
  font-size: clamp(34px, 4.2vw, 64px);
  max-width: 25ch;
}

.heading-on-dark,
.heading-on-dark h2,
.heading-on-warning,
.heading-on-warning h2 {
  color: inherit;
}

.section-label,
.cover-label {
  margin: 0 0 16px;
  color: var(--summit-deep);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.heading-on-dark .section-label,
.slide-cover .cover-label,
.slide-close .cover-label {
  color: var(--summit-bright);
}

.heading-on-warning .section-label {
  color: var(--orange-deep);
}

.slide-lede {
  max-width: 64ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 23px);
  text-wrap: pretty;
}

/* Cover */

.cover-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
}

.cover-copy {
  align-self: center;
}

.cover-copy h1 {
  max-width: 10ch;
  font-size: clamp(54px, 7.2vw, 96px);
}

.cover-subtitle {
  max-width: 44ch;
  margin: 28px 0 0;
  color: oklch(0.87 0.016 190);
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.45;
  text-wrap: pretty;
}

.objective-lockup {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  max-width: 62ch;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.9 0.02 180 / 0.2);
}

.objective-lockup p {
  margin: 0;
  color: oklch(0.95 0.01 180);
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.5;
}

.objective-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--summit-bright);
  box-shadow: 0 0 0 6px oklch(0.76 0.135 170 / 0.14);
}

.cover-visual {
  width: 100%;
  max-width: 650px;
  justify-self: end;
}

.cover-visual svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.cover-contour {
  fill: none;
  stroke: oklch(0.78 0.04 180 / 0.18);
  stroke-width: 2;
}

.contour-two {
  stroke-dasharray: 8 8;
}

.cover-route {
  fill: none;
  stroke: var(--summit-bright);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 720;
  stroke-dashoffset: 0;
}

.js .slide-cover.is-active .cover-route {
  animation: route-draw 1200ms 240ms var(--ease-out) both;
}

@keyframes route-draw {
  from { stroke-dashoffset: 720; }
  to { stroke-dashoffset: 0; }
}

.cover-point circle {
  fill: var(--ink);
  stroke: var(--summit-bright);
  stroke-width: 4;
}

.cover-point text {
  fill: var(--white);
  font-family: "Onest", sans-serif;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.07em;
}

.cover-point .point-label {
  fill: oklch(0.78 0.02 185);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.09em;
}

.cover-help {
  position: absolute;
  left: clamp(28px, 5vw, 86px);
  bottom: 32px;
  margin: 0;
  color: oklch(0.75 0.015 190);
  font-size: 12px;
}

/* Executive */

.executive-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(30px, 5vh, 58px);
}

.executive-layout .slide-heading h2 {
  max-width: 19ch;
}

.throughline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: clamp(18px, 2.8vw, 42px);
}

.throughline-step {
  min-height: 230px;
  padding: 28px 2px 24px;
  border-top: 3px solid var(--line-dark);
}

.throughline-step.is-focus {
  border-color: var(--summit);
}

.throughline-index {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.09em;
}

.throughline-step h3 {
  margin: 28px 0 14px;
  font-size: clamp(24px, 2.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.throughline-step p {
  max-width: 33ch;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.55;
}

.throughline-arrow {
  align-self: center;
  color: var(--summit);
  font-size: 30px;
}

.throughline-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
}

.throughline-four .throughline-step {
  min-height: 224px;
}

.throughline-four .throughline-step h3 {
  margin-top: 22px;
  font-size: clamp(22px, 2.1vw, 34px);
}

.executive-constraint {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.executive-constraint span {
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.executive-constraint p {
  margin: 0;
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 550;
}

/* Today */

.today-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(30px, 5vh, 60px);
}

.audience-journeys {
  border-top: 1px solid var(--line);
}

.audience-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 26px;
  align-items: center;
  padding: clamp(20px, 2.5vh, 30px) 0;
  border-bottom: 1px solid var(--line);
}

.audience-row.is-clinical {
  color: var(--summit-deep);
}

.audience-name {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
}

.audience-symbol {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.symbol-patient::before,
.symbol-clinician::before,
.symbol-owner::before {
  content: "";
  position: absolute;
  inset: 8px;
  background: currentColor;
  border-radius: 50%;
}

.symbol-clinician::after {
  content: "+";
  position: absolute;
  right: -7px;
  bottom: -8px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  color: currentColor;
  font-size: 17px;
  font-weight: 700;
}

.symbol-owner::before {
  inset: 6px 7px 13px;
  border-radius: 4px;
}

.symbol-owner::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 6px;
  height: 5px;
  background: currentColor;
  border-radius: 2px;
}

.journey-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.journey-track span {
  flex: 0 1 auto;
  font-size: clamp(14px, 1.35vw, 19px);
  font-weight: 650;
  text-align: center;
  text-wrap: balance;
}

.journey-track i {
  flex: 1 1 34px;
  min-width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
}

.today-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 72px);
  padding-top: 8px;
}

.today-proof-three {
  grid-template-columns: repeat(3, 1fr);
}

.today-proof p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.today-proof strong {
  color: var(--ink);
}

/* Current stack */

.current-stack-layout {
  display: grid;
  grid-template-rows: auto minmax(360px, 1fr) auto;
  gap: 28px;
}

.current-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(280px, 1.2fr) minmax(210px, 1fr);
  grid-template-rows: auto 1fr;
  gap: 64px clamp(32px, 5vw, 84px);
  align-items: center;
  width: min(100%, 1120px);
  margin: 0 auto;
}

.stack-node {
  position: relative;
  z-index: 2;
  min-height: 126px;
  padding: 22px 24px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: oklch(0.98 0.006 195);
}

.stack-node strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.stack-node small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.node-label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.stack-web {
  grid-column: 2;
  grid-row: 1;
  text-align: center;
  border-color: var(--summit);
  background: var(--summit-pale);
}

.stack-hub {
  grid-column: 2;
  grid-row: 2;
  min-height: 230px;
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.stack-hub .node-label {
  color: var(--summit-bright);
}

.stack-hub ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: oklch(0.88 0.015 190);
  font-size: 13px;
}

.stack-hub li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--summit-bright);
}

.stack-ai {
  grid-column: 1;
  grid-row: 2;
}

.stack-vendors {
  grid-column: 3;
  grid-row: 2;
}

.stack-connector {
  position: absolute;
  z-index: 1;
  background: var(--ink-soft);
  opacity: 0.45;
}

.stack-connector::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--ink-soft);
  border-right: 1px solid var(--ink-soft);
}

.connector-down {
  top: 126px;
  left: 50%;
  width: 1px;
  height: 62px;
}

.connector-down::after {
  bottom: -1px;
  left: -4px;
  transform: rotate(135deg);
}

.connector-left,
.connector-right {
  top: 70%;
  width: 16%;
  height: 1px;
}

.connector-left {
  left: 24%;
}

.connector-left::after {
  left: -1px;
  top: -4px;
  transform: rotate(-135deg);
}

.connector-right {
  right: 24%;
}

.connector-right::after {
  right: -1px;
  top: -4px;
  transform: rotate(45deg);
}

.stack-diagnosis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
}

.stack-diagnosis > div {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 18px 26px 0 0;
}

.stack-diagnosis > div + div {
  padding-left: 26px;
  border-left: 1px solid var(--line-dark);
}

.stack-diagnosis span {
  color: var(--summit-deep);
  font-size: 12px;
  font-weight: 750;
}

.stack-diagnosis p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

/* Rebuild */

.rebuild-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(36px, 6vh, 70px);
}

.rebuild-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}

.rebuild-ledger article {
  padding-top: 24px;
  border-top: 2px solid oklch(0.9 0.02 180 / 0.25);
}

.ledger-verb {
  display: inline-block;
  color: var(--summit-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ledger-verb.replace {
  color: oklch(0.8 0.14 50);
}

.ledger-verb.add {
  color: oklch(0.75 0.14 250);
}

.rebuild-ledger h3 {
  margin: 30px 0 14px;
  color: var(--white);
  font-size: clamp(24px, 2.6vw, 40px);
  letter-spacing: -0.025em;
}

.rebuild-ledger p {
  max-width: 34ch;
  margin: 0;
  color: oklch(0.8 0.02 190);
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.6;
}

.rebuild-statement {
  padding: 22px 0;
  border-top: 1px solid oklch(0.9 0.02 180 / 0.25);
  border-bottom: 1px solid oklch(0.9 0.02 180 / 0.25);
}

.rebuild-statement p {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 600;
  text-align: center;
}

/* Migration triad */

.migration-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(24px, 4vh, 42px);
}

.migration-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.triad-column {
  min-height: 340px;
  padding: clamp(24px, 3vw, 42px);
}

.triad-column + .triad-column {
  border-left: 1px solid var(--line);
}

.triad-adopt {
  background: var(--summit-pale);
}

.triad-enhance {
  background: var(--blue-pale);
}

.triad-build {
  background: var(--orange-pale);
}

.triad-topline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.triad-topline span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.triad-topline strong {
  font-size: clamp(34px, 3.5vw, 54px);
  letter-spacing: -0.03em;
}

.triad-column > p {
  min-height: 76px;
  margin: 22px 0 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
}

.triad-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.triad-column li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
}

.triad-column li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.7;
}

.migration-rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 16px 0;
}

.migration-rule span {
  color: var(--summit-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.migration-rule p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

/* Architecture */

.architecture-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  padding-bottom: 68px;
}

.architecture-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.architecture-heading h2 {
  font-size: clamp(34px, 4vw, 62px);
}

.fragment-hint {
  max-width: 26ch;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.architecture-canvas {
  min-height: 0;
  display: grid;
  place-items: center;
}

.architecture-canvas svg {
  display: block;
  width: min(100%, 1300px);
  max-height: 55vh;
  overflow: visible;
}

.aws-boundary {
  fill: oklch(0.96 0.018 195);
  stroke: var(--line-dark);
  stroke-width: 1.5;
  stroke-dasharray: 8 8;
}

.aws-label,
.arch-kicker {
  fill: var(--muted);
  font-family: "Onest", sans-serif;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.arch-box {
  fill: var(--white);
  stroke: var(--line-dark);
  stroke-width: 1.3;
}

.arch-person {
  fill: var(--mist);
}

.arch-web {
  fill: var(--summit-pale);
  stroke: var(--summit);
}

.arch-medplum {
  fill: var(--summit-pale);
  stroke: var(--summit);
  stroke-width: 2;
}

.arch-api {
  fill: var(--blue-pale);
  stroke: var(--blue);
  stroke-width: 2;
}

.arch-store {
  fill: var(--white);
}

.arch-event {
  fill: oklch(0.93 0.03 250);
  stroke: var(--blue);
}

.arch-harness,
.arch-mcp {
  fill: var(--orange-pale);
  stroke: var(--orange);
  stroke-width: 1.6;
}

.arch-vendor {
  fill: var(--mist);
}

.arch-title,
.door-title {
  fill: var(--ink);
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.arch-title-large {
  font-size: 26px;
  letter-spacing: -0.02em;
}

.arch-detail,
.door-detail {
  fill: var(--ink-soft);
  font-family: "Onest", sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.arch-line {
  fill: none;
  stroke-width: 2;
}

.line-ink {
  stroke: var(--ink-soft);
}

.line-green {
  stroke: var(--summit);
}

.line-blue {
  stroke: var(--blue);
}

.line-dashed {
  stroke: var(--ink-soft);
  stroke-dasharray: 6 6;
}

#arrow-ink path { fill: var(--ink-soft); }
#arrow-green path { fill: var(--summit); }
#arrow-blue path { fill: var(--blue); }

.door-label {
  stroke-width: 1;
}

.door-one {
  fill: var(--summit-pale);
  stroke: var(--summit);
}

.door-two {
  fill: var(--blue-pale);
  stroke: var(--blue);
}

.door-title {
  font-size: 11px;
  letter-spacing: 0.07em;
}

.door-detail {
  font-size: 10px;
}

.architecture-legend {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  color: var(--muted);
  font-size: 11px;
}

.architecture-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-line {
  display: inline-block;
  width: 24px;
  height: 2px;
}

.legend-green { background: var(--summit); }
.legend-blue { background: var(--blue); }
.legend-dashed {
  background: transparent;
  border-top: 2px dashed var(--ink-soft);
  height: 0;
}

.js [data-fragment] {
  opacity: 0.12;
  filter: blur(1.5px) saturate(0.4);
  transition: opacity 420ms var(--ease-out), filter 420ms var(--ease-out), transform 420ms var(--ease-out);
}

.js [data-fragment].is-revealed {
  opacity: 1;
  filter: blur(0) saturate(1);
}

/* App and AI split */

.split-layer-layout {
  color: var(--ink);
}

.split-heading {
  position: relative;
  z-index: 3;
  margin-bottom: clamp(28px, 5vh, 56px);
}

.split-heading .section-label {
  color: var(--summit-deep);
}

.split-heading h2 {
  max-width: 20ch;
}

.layer-compare {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 170px 1fr;
  gap: clamp(20px, 3vw, 48px);
  align-items: stretch;
}

.layer-column {
  padding: 24px 0 0;
  border-top: 2px solid currentColor;
}

.layer-ai {
  color: var(--white);
}

.layer-column-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.layer-ai .layer-column-head span {
  color: var(--summit-bright);
}

.layer-column-head h3 {
  margin: 10px 0 26px;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.03em;
}

.layer-column ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.layer-column li {
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) 1.3fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid currentColor;
}

.layer-column li:last-child {
  border-bottom: 1px solid currentColor;
}

.layer-column li strong {
  font-size: 14px;
}

.layer-column li span {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.layer-ai li {
  border-color: oklch(0.9 0.02 180 / 0.22);
}

.layer-ai li span {
  color: oklch(0.82 0.015 190);
}

.layer-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.bridge-token {
  width: 150px;
  padding: 14px;
  border: 1px solid var(--summit);
  border-radius: var(--radius-sm);
  background: var(--white);
  text-align: center;
}

.bridge-token span {
  display: block;
  color: var(--summit-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.bridge-token strong {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.bridge-line {
  width: 1px;
  height: 58px;
  background: var(--summit);
}

.layer-rule {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(760px, calc(100% - 56px));
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--summit-bright);
  color: var(--ink);
  font-size: 13px;
  text-align: center;
}

/* Scribe */

.scribe-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(30px, 5vh, 54px);
}

.scribe-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  grid-template-rows: auto 62px auto;
  align-items: center;
  gap: 0 12px;
}

.capture-path {
  grid-row: 1;
  grid-column: 1 / span 2;
  min-height: 138px;
  padding: 22px 24px;
  border-top: 3px solid var(--summit);
  background: var(--summit-pale);
}

.capture-tele {
  grid-column: 3 / span 2;
  border-color: var(--blue);
  background: var(--blue-pale);
}

.capture-mode {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.capture-path strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.02em;
}

.capture-path p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.flow-merge {
  grid-row: 2;
  grid-column: 1 / span 4;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-self: stretch;
  position: relative;
}

.flow-merge span {
  border-bottom: 1px solid var(--ink-soft);
}

.flow-merge span:first-child {
  border-right: 1px solid var(--ink-soft);
}

.flow-merge i {
  position: absolute;
  right: -28px;
  bottom: -4px;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--ink-soft);
  border-right: 1px solid var(--ink-soft);
  transform: rotate(45deg);
}

.scribe-stage {
  grid-row: 3;
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--white);
}

.scribe-stage span {
  display: block;
  color: var(--summit-deep);
  font-size: 10px;
  font-weight: 800;
}

.scribe-stage strong {
  display: block;
  margin-top: 20px;
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.1;
}

.scribe-stage small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.stage-transcript { grid-column: 1; }
.stage-agent { grid-column: 3; border-color: var(--orange); background: var(--orange-pale); }
.stage-human { grid-column: 5; border-color: var(--blue); background: var(--blue-pale); }
.stage-record { grid-column: 7; border-color: var(--summit); background: var(--summit-pale); }

.scribe-arrow {
  grid-row: 3;
  color: var(--summit);
  font-size: 26px;
  text-align: center;
}

.scribe-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}

.scribe-rules span {
  display: flex;
  gap: 10px;
}

.scribe-rules span::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--summit);
}

/* Environments */

.environments-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(32px, 5vh, 58px);
}

.environment-track {
  display: grid;
  grid-template-columns: 1fr 54px 1fr 54px 1fr 94px 1fr;
  align-items: center;
}

.environment {
  min-height: 250px;
  padding: 24px 22px;
  border-top: 4px solid var(--line-dark);
  background: var(--mist);
}

.environment.env-staging {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.environment.env-production {
  border-color: var(--summit);
  background: var(--summit-pale);
}

.env-index {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.environment h3 {
  margin: 28px 0 12px;
  font-size: clamp(25px, 2.5vw, 38px);
  letter-spacing: -0.025em;
}

.environment p {
  min-height: 66px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.environment small {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.env-arrow {
  color: var(--muted);
  font-size: 26px;
  text-align: center;
}

.env-gate-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--summit-deep);
}

.env-gate-arrow span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.environment-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.environment-principles div {
  display: grid;
  gap: 6px;
}

.environment-principles strong {
  font-size: 14px;
}

.environment-principles span {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

/* Capability map */

.capability-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(30px, 5vh, 58px);
}

.phase-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: stretch;
}

.phase {
  position: relative;
  z-index: 2;
  min-height: 292px;
  padding: 22px 16px 18px;
  border-top: 3px solid var(--summit);
  background: oklch(0.98 0.006 195 / 0.9);
}

.phase:nth-child(2),
.phase:nth-child(5) {
  border-color: var(--blue);
}

.phase:nth-child(3),
.phase:nth-child(4) {
  border-color: var(--orange);
}

.phase-number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.phase h3 {
  margin: 44px 0 14px;
  font-size: clamp(19px, 1.8vw, 28px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.phase p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.phase ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.3;
}

.phase li {
  display: flex;
  gap: 7px;
}

.phase li::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.62;
}

.phase-spine {
  position: absolute;
  z-index: 1;
  top: 43px;
  left: 36px;
  right: 36px;
  height: 1px;
  background: var(--ink-soft);
  opacity: 0.35;
}

.phase-spine::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--ink-soft);
  border-right: 1px solid var(--ink-soft);
  transform: rotate(45deg);
}

.capability-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  padding: 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.capability-rule span {
  margin-right: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.capability-rule strong {
  font-size: 14px;
}

.capability-rule i {
  color: var(--summit);
  font-style: normal;
  font-size: 18px;
}

/* Clinic day */

.clinic-day-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(32px, 5vh, 60px);
}

.clinic-day {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.clinic-step {
  position: relative;
  min-height: 310px;
  padding: 30px 24px;
}

.clinic-step + .clinic-step {
  border-left: 1px solid var(--line);
}

.clinic-step-focus {
  background: var(--summit-pale);
}

.clinic-step-time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.clinic-step h3 {
  margin: 58px 0 18px;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.clinic-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.clinic-step::after {
  content: "";
  position: absolute;
  top: 33px;
  right: -5px;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
  transform: rotate(45deg);
  background: var(--white);
}

.clinic-step-focus::after {
  background: var(--summit-pale);
}

.clinic-step:last-child::after {
  display: none;
}

.clinic-day-outcome {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 30px;
  align-items: center;
}

.clinic-day-outcome span {
  color: var(--summit-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.clinic-day-outcome p {
  margin: 0;
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.45;
}

/* Roadmap */

.roadmap-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  padding-bottom: 76px;
}

.roadmap-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.roadmap-heading h2 {
  font-size: clamp(34px, 4.2vw, 64px);
}

.roadmap-key {
  display: grid;
  gap: 2px;
  margin-bottom: 6px;
  text-align: right;
}

.roadmap-key span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-key strong {
  font-size: 12px;
}

.roadmap-table {
  display: grid;
  grid-template-columns: 152px repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(54px, auto);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.roadmap-table > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roadmap-corner,
.month,
.roadmap-lane-name {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: var(--mist);
}

.roadmap-corner {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.month {
  justify-content: space-between;
  gap: 10px;
}

.month strong {
  font-size: 14px;
  letter-spacing: 0.05em;
}

.month span {
  color: var(--muted);
  font-size: 10px;
}

.roadmap-lane-name {
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.roadmap-cell {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 11px 13px;
  background: var(--white);
}

.roadmap-cell span {
  font-size: 11px;
  line-height: 1.35;
}

.build-core {
  background: var(--summit-pale);
}

.build-tail {
  background: color-mix(in oklch, var(--summit-pale) 62%, var(--white));
}

.release-cell {
  background: var(--mist);
}

.ai-cell {
  background: var(--blue-pale);
}

.ai-proof {
  background: color-mix(in oklch, var(--blue-pale) 62%, var(--white));
}

.qa-cell {
  grid-column: span 4;
  justify-content: center;
  background: var(--orange-pale);
  text-align: center;
}

.compliance-cell {
  background: color-mix(in oklch, var(--orange-pale) 58%, var(--white));
}

.gate-cell {
  background: var(--ink);
  color: var(--white);
}

.roadmap-truth {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  align-items: start;
  padding-top: 12px;
}

.truth-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--orange-deep);
  font-weight: 800;
}

.roadmap-truth p {
  margin: 3px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.roadmap-truth strong {
  color: var(--ink);
}

/* Protect date */

.protect-layout {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding-top: 74px;
  padding-bottom: 68px;
}

.protect-list {
  display: grid;
  border-top: 1px solid oklch(0.31 0.07 50 / 0.35);
}

.protect-list article {
  display: grid;
  grid-template-columns: 54px 1fr 170px;
  gap: 24px;
  align-items: center;
  min-height: 78px;
  padding: 10px 0;
  border-bottom: 1px solid oklch(0.31 0.07 50 / 0.35);
}

.protect-list article > span {
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 800;
}

.protect-list h3 {
  display: inline;
  margin: 0 18px 0 0;
  font-size: clamp(18px, 1.8vw, 26px);
  letter-spacing: -0.02em;
}

.protect-list p {
  display: inline;
  margin: 0;
  color: oklch(0.3 0.045 50);
  font-size: 13px;
}

.protect-list strong {
  justify-self: end;
  padding: 8px 10px;
  border: 1px solid oklch(0.31 0.07 50 / 0.5);
  border-radius: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.protect-bottom {
  padding: 13px 0;
  border-top: 3px solid var(--orange-deep);
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 700;
  text-align: center;
}

/* Team */

.team-layout {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 26px;
}

.team-structure {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto 44px 1fr;
  gap: 0 28px;
}

.team-lead {
  grid-column: 1 / 4;
  justify-self: center;
  width: min(520px, 100%);
  padding: 18px 24px;
  border: 1px solid var(--summit);
  border-radius: var(--radius-md);
  background: var(--summit-pale);
  text-align: center;
}

.team-lead span,
.team-group-head span,
.team-total span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.team-lead strong {
  display: inline-block;
  margin-left: 18px;
  font-size: 22px;
}

.team-lead small {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 11px;
}

.team-branch {
  grid-column: 1 / 4;
  position: relative;
}

.team-branch::before {
  content: "";
  position: absolute;
  left: 16.67%;
  right: 16.67%;
  top: 22px;
  height: 1px;
  background: var(--line-dark);
}

.team-branch span {
  position: absolute;
  top: 22px;
  width: 1px;
  height: 22px;
  background: var(--line-dark);
}

.team-branch span:nth-child(1) { left: 16.67%; }
.team-branch span:nth-child(2) { left: 50%; }
.team-branch span:nth-child(3) { left: 83.33%; }

.team-group {
  min-height: 250px;
  padding: 22px 24px;
  border-top: 3px solid var(--summit);
  background: var(--white);
}

.ai-group {
  border-color: var(--blue);
}

.readiness-group {
  border-color: var(--orange);
}

.team-group-head h3 {
  margin: 10px 0 22px;
  font-size: clamp(23px, 2.3vw, 35px);
  letter-spacing: -0.025em;
}

.name-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.name-list span,
.open-role {
  padding: 7px 10px;
  border-radius: 6px;
  background: var(--mist);
  font-size: 11px;
  font-weight: 650;
}

.open-role {
  display: inline-block;
  background: var(--blue-pale);
}

.role-dots {
  display: flex;
  gap: 9px;
}

.role-dots i {
  width: 36px;
  height: 36px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: var(--orange-pale);
}

.team-group > p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

.team-total {
  position: absolute;
  right: clamp(28px, 5vw, 86px);
  top: 90px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 12px;
  align-items: baseline;
  text-align: right;
}

.team-total span {
  grid-column: 1 / 3;
}

.team-total strong {
  font-size: 26px;
}

.team-total p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.team-caveat {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* Success */

.success-layout {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 22px;
}

.success-heading h2 {
  font-size: clamp(36px, 4.5vw, 68px);
}

.success-gates {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

.success-gates article {
  min-height: 250px;
  padding: 22px 18px;
  border-top: 2px solid oklch(0.9 0.02 180 / 0.35);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--summit-bright);
  border-radius: 50%;
  color: var(--summit-bright);
  font-size: 11px;
  font-weight: 800;
}

.success-gates h3 {
  margin: 42px 0 16px;
  color: var(--white);
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.success-gates p {
  margin: 0;
  color: oklch(0.8 0.02 190);
  font-size: 12px;
  line-height: 1.5;
}

.success-verdict {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--summit-bright);
  color: var(--ink);
}

.success-verdict > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.success-verdict span {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.success-verdict strong {
  font-size: 20px;
}

.success-verdict p {
  margin: 0;
  font-size: 13px;
  text-align: right;
}

.success-boundary {
  color: oklch(0.76 0.018 190);
  font-size: 11px;
  text-align: center;
}

/* Horizon */

.horizon-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.28fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.horizon-layout .slide-heading h2 {
  max-width: 11ch;
}

.horizon-map {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.horizon-core {
  position: absolute;
  z-index: 4;
  width: 260px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.horizon-core span {
  color: var(--summit-bright);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.horizon-core strong {
  display: block;
  margin-top: 10px;
  font-size: 23px;
  line-height: 1.15;
}

.horizon-core small {
  display: block;
  margin-top: 10px;
  color: oklch(0.79 0.02 190);
  font-size: 10px;
}

.horizon-ring {
  position: absolute;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.horizon-near {
  z-index: 3;
  width: 470px;
  height: 350px;
}

.horizon-next {
  z-index: 2;
  width: 690px;
  height: 510px;
}

.horizon-later {
  z-index: 1;
  width: 850px;
  height: 620px;
  border-style: dashed;
}

.horizon-ring article {
  position: absolute;
  width: 210px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.horizon-ring h3 {
  margin: 0 0 6px;
  font-size: 15px;
}

.horizon-ring p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.horizon-near article:first-child { top: -22px; left: 18px; }
.horizon-near article:last-child { bottom: -22px; right: 12px; }
.horizon-next article:first-child { top: 64px; right: -38px; }
.horizon-next article:last-child { bottom: 54px; left: -38px; }
.horizon-later article { right: 18px; bottom: 38px; }

/* Revised architecture */

.architecture-static-layout {
  gap: 12px;
}

.architecture-static-layout .architecture-heading h2 {
  max-width: 18ch;
  font-size: clamp(32px, 3.7vw, 56px);
}

.architecture-thesis {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  text-align: right;
}

.architecture-system {
  display: grid;
  justify-items: center;
  min-height: 0;
}

.architecture-users {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.architecture-users span {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.architecture-flow {
  height: 19px;
  color: var(--summit-deep);
  font-size: 14px;
  line-height: 19px;
}

.architecture-app {
  position: relative;
  width: min(700px, 70%);
  padding: 10px 20px;
  border: 1px solid var(--summit);
  border-radius: var(--radius-sm);
  background: var(--summit-pale);
  text-align: center;
}

.architecture-app > span,
.architecture-api > span,
.architecture-core > div > span,
.ai-harness > span,
.ai-brain-center > span,
.act-label > span,
.capability-cluster > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.architecture-app strong {
  display: inline-block;
  margin: 0 8px;
  font-size: 18px;
}

.architecture-app small {
  color: var(--ink-soft);
  font-size: 10px;
}

.architecture-app i {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 4px 7px;
  border-radius: 5px;
  background: var(--white);
  color: var(--muted);
  font-size: 8px;
  font-style: normal;
  font-weight: 700;
}

.aws-platform {
  width: min(100%, 1240px);
  padding: 18px 22px 16px;
  border: 1.5px dashed var(--blue);
  border-radius: var(--radius-md);
  background: color-mix(in oklch, var(--blue-pale) 40%, var(--white));
}

.aws-platform-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
  color: var(--blue-deep);
}

.aws-platform-label strong {
  font-size: 15px;
}

.aws-platform-label span {
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.architecture-api {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.architecture-api > span {
  color: var(--summit-bright);
}

.architecture-api strong {
  margin: 0 10px;
  font-size: 16px;
}

.architecture-api small {
  color: oklch(0.82 0.018 190);
  font-size: 10px;
}

.architecture-cores {
  display: grid;
  grid-template-columns: 1fr 166px 1fr;
  gap: 14px;
  align-items: stretch;
  margin-top: 12px;
}

.architecture-core {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  min-height: 142px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
}

.healthcare-core {
  border: 1px solid var(--summit);
  background: var(--summit-pale);
}

.brain-core {
  border: 1px solid var(--orange);
  background: var(--orange-pale);
}

.core-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.architecture-core h3 {
  margin: 4px 0 4px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.architecture-core p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
}

.core-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.core-tags i {
  padding: 4px 6px;
  border-radius: 5px;
  background: oklch(1 0 0 / 0.72);
  color: var(--ink-soft);
  font-size: 8px;
  font-style: normal;
  font-weight: 650;
}

.architecture-tool-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  text-align: center;
}

.architecture-tool-bridge span {
  color: var(--blue-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.architecture-tool-bridge strong {
  margin-top: 8px;
  font-size: 10px;
}

.architecture-tool-bridge small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 8px;
}

.architecture-foundation {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 12px;
}

.architecture-foundation span {
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
  text-align: center;
}

.architecture-business-legend {
  gap: 10px 22px;
}

.legend-orange {
  background: var(--orange);
}

/* Revised AI brain */

.ai-brain-layout {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 18px;
}

.ai-brain-layout .slide-heading h2 {
  max-width: 18ch;
}

.ai-brain-map {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.82fr) 1fr;
  gap: 18px;
  align-items: stretch;
}

.ai-harness {
  position: relative;
  min-height: 248px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
}

.voice-harness {
  border: 1px solid var(--blue);
  background: var(--blue-pale);
}

.core-harness {
  border: 1px solid var(--orange);
  background: var(--orange-pale);
}

.harness-mark {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 800;
}

.ai-harness h3 {
  max-width: 11ch;
  margin: 32px 0 18px;
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ai-harness ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 12px;
}

.ai-harness li::before {
  content: "•";
  margin-right: 8px;
}

.ai-brain-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.ai-brain-center > span {
  color: var(--summit-bright);
}

.ai-brain-center > strong {
  margin: 20px 0;
  font-size: 19px;
  line-height: 1.35;
}

.model-plane {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: oklch(0.95 0.01 190 / 0.12);
}

.model-plane i,
.model-plane b {
  display: block;
}

.model-plane i {
  color: oklch(0.76 0.02 190);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.model-plane b {
  margin-top: 6px;
  font-size: 11px;
}

.ai-guardrail-flow {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr 24px 1fr;
  gap: 8px;
  align-items: center;
}

.ai-guardrail-flow > div {
  padding: 10px 12px;
  border-top: 2px solid var(--line-dark);
  background: var(--white);
}

.ai-guardrail-flow span,
.team-footer-flow span {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ai-guardrail-flow strong {
  display: block;
  margin-top: 3px;
  font-size: 10px;
}

.ai-guardrail-flow > i {
  color: var(--summit-deep);
  font-style: normal;
  text-align: center;
}

.ai-guardrail-flow .ai-tool-node {
  border-color: var(--blue);
}

.ai-guardrail-flow .ai-human-node {
  border-color: var(--summit);
  background: var(--summit-pale);
}

.ai-layer-rule {
  position: static;
  transform: none;
  width: 100%;
}

/* Revised capability outcome */

.capability-outcome-layout {
  grid-template-rows: auto auto auto;
  gap: 16px;
  padding-top: 70px;
  padding-bottom: 62px;
}

.capability-outcome-layout .slide-heading h2 {
  font-size: clamp(32px, 3.8vw, 58px);
}

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

.capability-cluster {
  min-height: 210px;
  padding: 22px 24px;
  border-top: 4px solid var(--summit);
  background: var(--white);
}

.care-cluster {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.engagement-cluster {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.intelligence-cluster {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  min-height: 104px;
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.capability-cluster h3 {
  margin: 28px 0 20px;
  font-size: clamp(25px, 2.5vw, 38px);
  letter-spacing: -0.03em;
}

.intelligence-cluster h3 {
  grid-column: 1;
  grid-row: 2;
  margin: 8px 0 0;
}

.intelligence-cluster > span {
  grid-column: 1;
  grid-row: 1;
}

.intelligence-cluster > div {
  grid-column: 2;
  grid-row: 1 / 3;
}

.capability-cluster > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.capability-cluster i {
  padding: 6px 8px;
  border-radius: 6px;
  background: oklch(1 0 0 / 0.72);
  color: var(--ink-soft);
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
}

.intelligence-cluster > span {
  color: var(--summit-bright);
}

.capability-outcome-layout .clinic-day-outcome p {
  font-size: clamp(16px, 1.45vw, 21px);
}

.intelligence-cluster i {
  background: oklch(0.95 0.01 190 / 0.12);
  color: var(--white);
}

/* Revised roadmap */

.roadmap-simple-layout {
  gap: 20px;
}

.roadmap-acts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.roadmap-act {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 4px solid var(--summit);
  background: var(--summit-pale);
}

.readiness-act {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.act-label {
  grid-column: 1 / 3;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line-dark);
}

.act-label strong {
  display: block;
  margin-top: 4px;
  font-size: 23px;
}

.act-label small {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 10px;
}

.roadmap-month {
  min-height: 246px;
  padding: 18px 20px;
}

.roadmap-month + .roadmap-month {
  border-left: 1px solid var(--line-dark);
}

.roadmap-month > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.roadmap-month > div span {
  color: var(--summit-deep);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.readiness-act .roadmap-month > div span {
  color: var(--orange-deep);
}

.roadmap-month > div strong {
  font-size: 20px;
}

.roadmap-month ul {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ink-soft);
  font-size: 11px;
}

.roadmap-month li {
  display: flex;
  gap: 8px;
}

.roadmap-month li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.65;
}

.roadmap-baseline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 13px 18px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.roadmap-baseline span {
  color: var(--blue-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.roadmap-baseline strong {
  font-size: 11px;
}

/* Revised team operating model */

.team-operating-layout {
  gap: 18px;
  padding-bottom: 76px;
}

.team-operating-model {
  display: grid;
  gap: 16px;
}

.team-leadership {
  display: grid;
  grid-template-columns: 1fr 34px 1fr minmax(240px, 0.8fr);
  gap: 12px;
  align-items: stretch;
}

.lead-role,
.business-liaison {
  padding: 16px 18px;
  border-top: 3px solid var(--summit);
  background: var(--white);
}

.project-role {
  border-color: var(--blue);
}

.business-liaison {
  border-color: var(--line-dark);
  background: var(--mist);
}

.lead-role span,
.business-liaison span {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lead-role strong,
.business-liaison strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
}

.lead-role p {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
}

.business-liaison small {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.35;
}

.lead-connection {
  display: grid;
  place-items: center;
  color: var(--summit-deep);
  font-weight: 800;
}

.delivery-departments {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 16px;
}

.delivery-departments .team-group {
  min-height: 214px;
  padding: 18px 20px;
}

.delivery-departments .team-group-head h3 {
  margin: 8px 0 16px;
  font-size: clamp(20px, 2vw, 30px);
}

.delivery-departments .team-group > p {
  margin-top: 16px;
  font-size: 10px;
}

.team-footer-flow {
  display: grid;
  grid-template-columns: auto 1fr 30px auto 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.team-footer-flow strong {
  font-size: 10px;
}

.team-footer-flow i {
  color: var(--summit-deep);
  font-style: normal;
  text-align: center;
}

/* Commercialization arc */

.commercialization-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 36px;
  align-items: stretch;
}

.commercialization-layout .slide-heading h2 {
  max-width: 12ch;
}

.commercialization-arc {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.commercial-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 360px;
  padding: 24px 26px;
  border-top: 5px solid var(--summit);
  background: var(--summit-pale);
}

.stage-validate {
  border-color: var(--blue);
  background: var(--blue-pale);
}

.stage-scale {
  border-color: var(--orange);
  background: var(--orange-pale);
}

.stage-time {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: baseline;
}

.stage-time strong {
  font-size: 22px;
}

.stage-time span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.commercial-stage h3 {
  max-width: 11ch;
  margin: 54px 0 14px;
  font-size: clamp(27px, 2.8vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.commercial-stage p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

.commercial-stage b {
  padding-top: 14px;
  border-top: 1px solid var(--line-dark);
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.commercial-arrow {
  position: absolute;
  z-index: 1;
  left: 6%;
  right: 6%;
  top: 62px;
  height: 2px;
  background: var(--ink-soft);
  opacity: 0.32;
}

.commercial-arrow span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--ink-soft);
  border-right: 1px solid var(--ink-soft);
  transform: rotate(45deg);
}

/* Close */

.close-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  grid-template-rows: 1fr auto;
  gap: 40px clamp(54px, 7vw, 110px);
  align-items: center;
}

.close-copy h2 {
  max-width: 10ch;
  font-size: clamp(54px, 7vw, 96px);
}

.slide-close .close-copy h2 {
  max-width: 12ch;
  font-size: clamp(48px, 5.4vw, 78px);
}

.close-copy > p:last-child {
  max-width: 47ch;
  margin: 30px 0 0;
  color: oklch(0.82 0.018 190);
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.55;
}

.close-actions {
  display: grid;
  border-top: 1px solid oklch(0.9 0.02 180 / 0.26);
}

.close-actions article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid oklch(0.9 0.02 180 / 0.26);
}

.close-actions article > span {
  color: var(--summit-bright);
  font-size: 12px;
  font-weight: 800;
}

.close-actions strong {
  font-size: clamp(18px, 1.8vw, 27px);
}

.close-actions p {
  margin: 6px 0 0;
  color: oklch(0.76 0.018 190);
  font-size: 12px;
}

.close-objective {
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 20px 0;
  border-top: 2px solid var(--summit-bright);
}

.close-objective span {
  color: var(--summit-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.close-objective p {
  margin: 0;
  color: var(--white);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 600;
}

/* Controls */

.deck-progress {
  position: fixed;
  z-index: 70;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: oklch(0.7 0.01 190 / 0.18);
}

.deck-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--summit);
  transform: scaleX(0.0556);
  transform-origin: left center;
  transition: transform 360ms var(--ease-out);
}

.on-dark .deck-progress span,
.on-warning .deck-progress span {
  background: var(--summit-bright);
}

.deck-controls {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 48px;
  padding: 5px;
  border: 1px solid oklch(0.3 0.03 200 / 0.18);
  border-radius: 12px;
  background: oklch(0.99 0.004 190 / 0.94);
  box-shadow: var(--shadow-small);
  backdrop-filter: blur(8px);
  color: var(--ink);
  transition: opacity 220ms ease, transform 220ms ease;
}

.on-dark .deck-controls,
.on-warning .deck-controls {
  border-color: oklch(0.9 0.02 180 / 0.22);
  background: oklch(0.16 0.025 202 / 0.92);
  color: var(--white);
}

.control-button,
.text-control {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.text-control {
  padding: 0 10px;
  color: inherit;
  font-size: 11px;
  font-weight: 650;
}

.control-button:hover,
.text-control:hover {
  background: var(--mist);
}

.on-dark .control-button:hover,
.on-dark .text-control:hover,
.on-warning .control-button:hover,
.on-warning .text-control:hover {
  background: oklch(0.95 0.01 180 / 0.12);
}

.control-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.slide-counter {
  min-width: 68px;
  display: flex;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.slide-counter i {
  color: var(--muted);
  font-style: normal;
}

.controls-divider {
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: currentColor;
  opacity: 0.15;
}

/* Dialogs */

.deck-dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(78vh, 720px);
  padding: 34px 38px 38px;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 8px oklch(0.1 0.02 200 / 0.22);
}

.deck-dialog::backdrop {
  background: oklch(0.1 0.02 202 / 0.74);
  backdrop-filter: blur(6px);
}

.deck-dialog form {
  position: absolute;
  top: 16px;
  right: 16px;
}

.dialog-close {
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 650;
}

.dialog-kicker {
  margin: 0 0 10px;
  color: var(--summit-deep);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.deck-dialog h2 {
  margin: 0 0 24px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.dialog-content {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

.dialog-content p {
  margin: 0 0 16px;
}

.dialog-content p:last-child {
  margin-bottom: 0;
}

/* Responsive */

@media (max-width: 1100px) {
  .slide-frame {
    padding-left: 38px;
    padding-right: 38px;
  }

  .cover-grid {
    grid-template-columns: 1fr 0.8fr;
  }

  .throughline-step {
    min-height: 200px;
  }

  .current-stack {
    gap: 48px 38px;
  }

  .phase-map {
    gap: 10px;
  }

  .phase {
    padding: 18px 12px;
  }

  .phase h3 {
    font-size: 20px;
  }

  .roadmap-table {
    grid-template-columns: 126px repeat(4, minmax(0, 1fr));
  }

  .horizon-layout {
    grid-template-columns: 0.68fr 1.32fr;
    gap: 28px;
  }

  .horizon-map {
    transform: scale(0.82);
  }
}

@media (min-width: 841px) and (max-height: 760px) {
  .slide-frame {
    width: 100%;
    max-width: none;
    min-height: 857px;
    zoom: 0.84;
  }
}

@media (max-width: 840px) {
  .deck-meta {
    grid-template-columns: 1fr auto;
  }

  .deck-meta-title {
    display: none;
  }

  .slide {
    overflow-y: auto;
  }

  .slide-frame {
    min-height: 100dvh;
    padding: 84px 24px 96px;
  }

  .slide-heading h2,
  .heading-compact h2 {
    font-size: clamp(34px, 8vw, 58px);
  }

  .cover-grid,
  .close-layout,
  .horizon-layout {
    grid-template-columns: 1fr;
  }

  .cover-visual {
    max-width: 520px;
    justify-self: center;
  }

  .cover-help {
    display: none;
  }

  .throughline {
    grid-template-columns: 1fr;
  }

  .throughline-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .throughline-step {
    min-height: auto;
  }

  .today-proof,
  .rebuild-ledger,
  .migration-triad,
  .scribe-rules,
  .environment-principles,
  .success-gates {
    grid-template-columns: 1fr;
  }

  .audience-row {
    grid-template-columns: 1fr;
  }

  .journey-track {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .journey-track i {
    flex: 0 0 18px;
  }

  .current-stack {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }

  .stack-web,
  .stack-hub,
  .stack-ai,
  .stack-vendors {
    grid-column: 1;
    grid-row: auto;
  }

  .stack-connector {
    display: none;
  }

  .stack-diagnosis {
    grid-template-columns: 1fr;
  }

  .stack-diagnosis > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .triad-column + .triad-column {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .architecture-heading,
  .roadmap-heading {
    display: block;
  }

  .architecture-thesis {
    margin-top: 12px;
    text-align: left;
  }

  .fragment-hint,
  .roadmap-key {
    margin-top: 14px;
    text-align: left;
  }

  .architecture-canvas {
    overflow-x: auto;
    justify-content: start;
  }

  .architecture-canvas svg {
    width: 980px;
    max-width: none;
  }

  .architecture-users {
    flex-wrap: wrap;
  }

  .architecture-app {
    width: 100%;
    padding-top: 34px;
  }

  .architecture-cores {
    grid-template-columns: 1fr;
  }

  .architecture-tool-bridge {
    min-height: 72px;
    border-right: 1px solid var(--line-dark);
    border-left: 1px solid var(--line-dark);
  }

  .architecture-foundation {
    grid-template-columns: repeat(2, 1fr);
  }

  .slide-split::before,
  .slide-split::after {
    display: none;
  }

  .slide-split {
    background: var(--paper);
  }

  .layer-compare {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }

  .layer-column {
    min-width: 0;
  }

  .layer-ai {
    margin: 0 -24px;
    padding: 28px 24px;
    background: var(--ink);
  }

  .layer-bridge {
    flex-direction: row;
  }

  .bridge-line {
    width: 50px;
    height: 1px;
  }

  .layer-rule {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 24px;
  }

  .ai-brain-map,
  .ai-guardrail-flow {
    grid-template-columns: 1fr;
  }

  .ai-guardrail-flow > i {
    transform: rotate(90deg);
  }

  .scribe-flow {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }

  .capture-path,
  .capture-tele,
  .scribe-stage,
  .stage-transcript,
  .stage-agent,
  .stage-human,
  .stage-record {
    grid-column: 1;
    grid-row: auto;
  }

  .flow-merge,
  .scribe-arrow {
    display: none;
  }

  .environment-track {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .env-arrow {
    transform: rotate(90deg);
  }

  .phase-map,
  .clinic-day {
    grid-template-columns: 1fr 1fr;
  }

  .capability-clusters,
  .roadmap-acts,
  .team-leadership,
  .delivery-departments,
  .commercialization-arc {
    grid-template-columns: 1fr;
  }

  .intelligence-cluster {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .lead-connection,
  .commercial-arrow {
    display: none;
  }

  .team-footer-flow {
    grid-template-columns: 1fr;
  }

  .team-footer-flow i {
    transform: rotate(90deg);
  }

  .commercial-stage {
    min-height: 300px;
  }

  .phase-spine,
  .clinic-step::after {
    display: none;
  }

  .clinic-step + .clinic-step {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .roadmap-table {
    grid-template-columns: 110px repeat(4, minmax(160px, 1fr));
    overflow-x: auto;
  }

  .roadmap-baseline {
    align-items: flex-start;
    flex-direction: column;
  }

  .protect-list article {
    grid-template-columns: 44px 1fr;
  }

  .protect-list strong {
    grid-column: 2;
    justify-self: start;
  }

  .team-structure {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 14px;
  }

  .team-lead,
  .team-branch {
    grid-column: 1;
  }

  .team-branch {
    display: none;
  }

  .team-total {
    position: static;
    margin-top: 10px;
    text-align: left;
  }

  .horizon-map {
    position: static;
    min-height: 0;
    display: grid;
    gap: 14px;
    transform: none;
  }

  .horizon-core,
  .horizon-ring,
  .horizon-ring article {
    position: static;
    width: auto;
    height: auto;
  }

  .horizon-ring {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .horizon-ring article {
    padding: 12px 0;
    border-radius: 0;
    background: transparent;
  }

  .horizon-ring article + article {
    border-top: 1px solid var(--line);
  }

  .close-objective {
    grid-column: 1;
  }
}

@media (max-width: 560px) {
  .deck-meta {
    padding: 0 18px;
  }

  .slide-frame {
    padding-left: 18px;
    padding-right: 18px;
  }

  .layer-ai {
    margin-right: 0;
    margin-left: 0;
    padding-right: 18px;
    padding-left: 18px;
  }

  .layer-bridge {
    display: grid;
    grid-template-columns: 1fr 24px 1fr;
    gap: 8px;
    min-width: 0;
  }

  .bridge-token {
    width: auto;
    padding: 10px 6px;
  }

  .bridge-line {
    width: 24px;
  }

  .cover-copy h1,
  .close-copy h2 {
    font-size: clamp(46px, 14vw, 70px);
  }

  .deck-controls {
    bottom: 10px;
  }

  .text-control,
  .controls-divider {
    display: none;
  }

  .audience-row {
    padding: 20px 0;
  }

  .journey-track span {
    font-size: 13px;
  }

  .phase-map,
  .clinic-day {
    grid-template-columns: 1fr;
  }

  .roadmap-act {
    grid-template-columns: 1fr;
  }

  .act-label {
    grid-column: 1;
  }

  .roadmap-month + .roadmap-month {
    border-left: 0;
    border-top: 1px solid var(--line-dark);
  }

  .clinic-day-outcome,
  .migration-rule,
  .success-verdict,
  .close-objective {
    grid-template-columns: 1fr;
  }

  .success-verdict p {
    text-align: left;
  }

  .layer-column li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .deck-dialog {
    padding: 30px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-fragment] {
    filter: none;
  }
}

@media print {
  @page {
    size: 16in 9in;
    margin: 0;
  }

  html,
  body {
    background: var(--white);
  }

  .deck-meta,
  .deck-controls,
  .deck-progress,
  .deck-dialog,
  .skip-link {
    display: none !important;
  }

  .js .slide,
  .js .slide.is-active,
  .slide {
    display: block !important;
    min-height: 9in;
    height: 9in;
    page-break-after: always;
    overflow: hidden;
  }

  .slide-frame {
    width: 16in;
    min-height: 9in;
    height: 9in;
    padding: 0.72in 0.74in;
  }

  .js [data-fragment] {
    opacity: 1 !important;
    filter: none !important;
  }
}
