:root {
  --paper: #f4efe5;
  --paper-deep: #e9dfcf;
  --paper-light: #fbf8f1;
  --ink: #132b38;
  --ink-soft: #455962;
  --line: #cfc3b2;
  --orange: #e5663f;
  --orange-dark: #b8432a;
  --yellow: #f2c85b;
  --teal: #147d78;
  --teal-light: #cce4df;
  --blue: #2e6681;
  --plum: #754c67;
  --white: #fffdf8;
  --shadow: 0 20px 60px rgba(19, 43, 56, .11);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 760px;
  --wide: 1180px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: .12;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAFUlEQVQImWNgYGD4z8DAwMDAxAADCBYAFJ0CBdmvyGQAAAAASUVORK5CYII=");
}

a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--ink);
  border-radius: 0 0 6px 6px;
}

.skip-link:focus { top: 0; }

.read-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
}

.read-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--orange);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 0 max(24px, calc((100vw - var(--wide)) / 2));
  border-bottom: 1px solid rgba(19, 43, 56, .18);
  background: rgba(244, 239, 229, .93);
  backdrop-filter: blur(14px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -.01em;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  width: 100%;
  margin-left: 28px;
}

.site-header nav a {
  padding: 7px 9px;
  border-radius: 99px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a.active {
  color: var(--ink);
  background: var(--paper-deep);
}

.menu-button {
  display: none;
  margin-left: auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

main { overflow: hidden; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  width: min(var(--wide), calc(100% - 48px));
  min-height: 78vh;
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) 0 95px;
}

.hero-copy { max-width: 800px; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, .big-number, .chapter-number, .timeline-card > strong {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
}

h1 {
  max-width: 900px;
  margin-bottom: 30px;
  font-size: clamp(64px, 9.5vw, 132px);
  line-height: .88;
}

.dek {
  max-width: 760px;
  margin-bottom: 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -.025em;
}

.hero-copy > p:not(.dek) {
  max-width: 710px;
  color: var(--ink-soft);
  font-size: 18px;
}

.hero-actions { display: flex; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.button.primary { color: white; background: var(--ink); }
.button.primary:hover { background: #234352; }
.button.quiet:hover { background: var(--paper-deep); }

.hero-principle {
  position: relative;
  padding: 36px;
  border: 1px solid var(--ink);
  background: var(--yellow);
  box-shadow: 13px 13px 0 var(--ink);
  transform: rotate(1.4deg);
}

.hero-principle > p:first-child {
  margin-bottom: 34px;
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1.14;
  letter-spacing: -.025em;
}

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

.measure { width: min(var(--measure), calc(100% - 48px)); margin-inline: auto; }

.prose { color: var(--ink-soft); }
.prose p { margin-bottom: 1.3em; }
.prose strong { color: var(--ink); }
.prose h3 {
  margin: 2.5em 0 .75em;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.24;
  letter-spacing: -.025em;
}

.opening > .prose:first-child { padding: 105px 0 70px; }

.stress-test {
  width: min(var(--wide), calc(100% - 48px));
  margin: 20px auto 110px;
  padding: clamp(28px, 5vw, 60px);
  border: 1px solid var(--ink);
  border-radius: 32px;
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow);
}

.section-intro h2,
.section-intro h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
}

.section-intro.compact { max-width: 760px; }
.section-intro.compact h3 { font-size: clamp(30px, 4vw, 48px); }
.section-intro p { color: inherit; opacity: .72; }

.stress-layout {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  margin-top: 38px;
}

.stress-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }

.stress-tabs button,
.constraint-tabs button {
  padding: 12px 15px;
  border: 1px solid transparent;
  border-radius: 99px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.stress-tabs button { color: rgba(255,255,255,.66); }
.stress-tabs button:hover { color: white; }
.stress-tabs button[aria-selected="true"] {
  border-color: rgba(255,255,255,.5);
  color: var(--ink);
  background: var(--yellow);
  font-weight: 750;
}

.stress-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  background: rgba(255,255,255,.2);
}

.stress-panel > div { padding: 24px; background: var(--ink); }
.stress-panel h3 { margin-bottom: 24px; color: rgba(255,255,255,.62); font-size: 13px; }
.stress-panel p { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.33; }
.stress-panel .stress-answer { color: var(--ink); background: var(--teal-light); }
.stress-panel .stress-answer h3 { color: var(--teal); }

.policy-card {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto 120px;
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper-light);
}

.policy-card-head {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 46px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy-card-head h2 { margin: 0; font-size: clamp(44px, 6vw, 78px); line-height: .95; }
.policy-card-head p { max-width: 420px; margin: 0; color: var(--ink-soft); }

.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 34px; }
.policy-grid > div { position: relative; padding-top: 18px; border-top: 2px solid var(--ink); }
.policy-number { display: block; margin-bottom: 35px; color: var(--orange-dark); font-family: var(--serif); font-size: 14px; }
.policy-grid h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 26px; line-height: 1.12; letter-spacing: -.02em; }
.policy-grid p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

.chapter {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

.chapter-header {
  display: grid;
  grid-template-columns: 120px minmax(0, 860px);
  gap: 40px;
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto 84px;
}

.chapter-number { color: var(--orange); font-size: 90px; line-height: .8; }
.chapter-header h2 { margin-bottom: 20px; font-size: clamp(48px, 7vw, 92px); line-height: .96; }
.chapter-header p { max-width: 720px; margin: 0; color: var(--ink-soft); font-size: 20px; }

.cite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55em;
  height: 1.55em;
  margin-left: .22em;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--orange-dark);
  font-size: .62em;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  vertical-align: super;
}

.cite + .cite { margin-left: .1em; }
.cite:hover { color: white; background: var(--orange-dark); }

.big-number-figure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .7fr);
  gap: 60px;
  align-items: end;
  width: min(1000px, calc(100% - 48px));
  margin: 90px auto;
  padding: 60px 0 38px;
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
}

.big-number { color: var(--orange-dark); font-size: clamp(75px, 13vw, 170px); line-height: .75; white-space: nowrap; }
.big-number span { font-family: var(--sans); font-size: .15em; font-weight: 750; letter-spacing: 0; }
.big-number-figure figcaption { color: var(--ink-soft); font-size: 15px; }

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr);
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
  width: min(1000px, calc(100% - 48px));
  margin: 100px auto;
}

.split-layout .prose h3:first-child { margin-top: 0; }

.interactive-card {
  padding: 30px;
  border: 1px solid var(--ink);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 10px 10px 0 var(--yellow);
}

.interactive-head { margin-bottom: 28px; }
.interactive-head h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 27px; line-height: 1.1; }
.interactive-head p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.interactive-card > label:not(.toggle-line) { display: block; margin-bottom: 5px; font-size: 14px; }

input[type="range"] {
  width: 100%;
  height: 24px;
  margin: 3px 0 18px;
  accent-color: var(--orange);
}

.toggle-line { display: flex; gap: 9px; align-items: start; font-size: 13px; line-height: 1.4; }
.toggle-line input { margin-top: 4px; accent-color: var(--teal); }

.credit-meter {
  display: flex;
  overflow: hidden;
  height: 52px;
  margin: 24px 0 18px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--paper-deep);
}

.credit-meter > div {
  display: grid;
  place-items: center;
  overflow: hidden;
  min-width: 0;
  transition: width .2s ease;
}

.credit-meter span { min-width: max-content; padding: 0 10px; font-size: 11px; font-weight: 750; }
.credit-floor { color: white; background: var(--teal); }
.credit-work { background: var(--yellow); }
.credit-output { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.credit-output span { color: var(--ink-soft); font-size: 13px; }
.credit-output strong { font-family: var(--serif); font-size: 35px; font-weight: 500; }
.micro-note { margin: 13px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }

.evidence-panel {
  width: min(1000px, calc(100% - 48px));
  margin: 90px auto;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 28px;
}

.evidence-panel.modeled { color: white; background: var(--plum); }
.evidence-panel h3 { max-width: 850px; margin-bottom: 40px; font-family: var(--serif); font-size: clamp(30px, 4.3vw, 53px); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.evidence-panel > p { margin: 34px 0 0; color: rgba(255,255,255,.75); font-size: 14px; }
.evidence-panel .cite { color: var(--yellow); }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.3); }
.model-grid > div { padding: 23px 15px; background: var(--plum); }
.model-grid strong { display: block; color: var(--yellow); font-family: var(--serif); font-size: 35px; font-weight: 500; }
.model-grid span { display: block; color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.35; }

.deep-dive {
  width: min(1000px, calc(100% - 48px));
  margin: 80px auto 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.deep-dive summary,
.source-groups summary {
  list-style: none;
  cursor: pointer;
}

.deep-dive summary::-webkit-details-marker,
.source-groups summary::-webkit-details-marker { display: none; }

.deep-dive summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.2;
}

.deep-dive summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--sans);
  font-size: 25px;
}

.deep-dive[open] summary::after { content: "−"; }
.summary-hint { color: var(--ink-soft); font-family: var(--sans); font-size: 12px; }
.deep-dive-body { padding: 20px 0 40px; color: var(--ink-soft); }
.policy-spec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.policy-spec h3, .care-paths h3 { color: var(--ink); font-family: var(--serif); font-size: 22px; }
.policy-spec ul { margin: 0; padding-left: 1.15em; font-size: 14px; }
.policy-spec li { margin-bottom: .75em; }

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

.leave-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1px;
  overflow: hidden;
  width: min(1000px, calc(100% - 48px));
  margin: 80px auto;
  border: 1px solid var(--ink);
  border-radius: 24px;
  background: var(--ink);
}

.leave-card > div { padding: clamp(26px, 4vw, 45px); background: var(--paper); }
.leave-card h3 { margin-bottom: 30px; font-family: var(--serif); font-size: 32px; line-height: 1.1; }
.leave-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.leave-parts > div { border-top: 1px solid var(--ink); padding-top: 15px; }
.leave-parts p { margin: 12px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.leave-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: white; background: var(--orange); font-weight: 800; }
.leave-card .premium-example { color: white; background: var(--teal); }
.premium-example > p:first-child { margin-bottom: 25px; font-size: 14px; }
.premium-example > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.4); }
.premium-example .micro-note { color: rgba(255,255,255,.78); }
.premium-example .cite { color: white; }
.transition-prose { margin-top: 80px; }

.dot-figure {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, .8fr);
  gap: 70px;
  align-items: center;
  width: min(900px, calc(100% - 48px));
  margin: 85px auto 110px;
  padding: 38px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.dot-copy h3 { margin-bottom: 16px; font-family: var(--serif); font-size: 31px; line-height: 1.12; }
.dot-copy p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.dot-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.dot-grid span { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; background: var(--paper-deep); }
.dot-grid span.on { border-color: var(--orange-dark); background: var(--orange); }

.constraint-tool {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto 110px;
  padding: clamp(30px, 5vw, 55px);
  border-radius: 28px;
  background: #e8dca9;
}

.constraint-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.constraint-tabs button { border-color: rgba(19,43,56,.35); font-size: 13px; }
.constraint-tabs button:hover { background: rgba(255,255,255,.35); }
.constraint-tabs button[aria-selected="true"] { color: white; background: var(--ink); font-weight: 750; }
.constraint-answer { display: grid; grid-template-columns: .6fr 1fr 1fr; gap: 28px; padding-top: 27px; border-top: 1px solid rgba(19,43,56,.3); }
.constraint-answer > div span { display: block; font-size: 12px; }
.constraint-answer > div strong { display: block; margin-top: 7px; font-family: var(--serif); font-size: 25px; line-height: 1.1; }
.constraint-answer p { margin: 0; font-size: 14px; }
.constraint-answer .tradeoff { color: var(--ink-soft); }

.capacity-lab {
  display: grid;
  grid-template-columns: .8fr .75fr 1fr;
  gap: 40px;
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto 110px;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid var(--ink);
  border-radius: 32px;
  background: var(--ink);
  color: white;
}

.lab-copy h3 { margin-bottom: 14px; font-family: var(--serif); font-size: 38px; line-height: 1.05; }
.lab-copy > p:not(.formula) { color: rgba(255,255,255,.72); font-size: 14px; }
.formula { display: inline-block; padding: 8px 10px; border: 1px solid rgba(255,255,255,.4); border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.lab-controls label { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.lab-controls input { accent-color: var(--yellow); }
.lab-result { padding: 25px; border-radius: 18px; color: var(--ink); background: var(--paper-light); }
.lab-result > span { font-size: 12px; }
.lab-result > strong { display: block; margin: 2px 0 24px; font-family: var(--serif); font-size: 34px; font-weight: 500; }
.capacity-bars { display: grid; gap: 12px; }
.capacity-bars > div { display: grid; grid-template-columns: 86px 1fr 24px; gap: 8px; align-items: center; font-size: 10px; }
.capacity-bars i { display: block; height: 8px; border-radius: 5px; background: var(--teal); transform-origin: left; }
.capacity-bars b { font-size: 11px; }
.lab-result > p { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.5; }

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1000px, calc(100% - 48px));
  margin: 80px auto;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.evidence-strip > div { padding: 28px; border-right: 1px solid var(--line); }
.evidence-strip > div:last-child { border-right: 0; }
.evidence-strip strong { display: block; margin-bottom: 7px; color: var(--orange-dark); font-family: var(--serif); font-size: 32px; font-weight: 500; }
.evidence-strip span { display: block; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }

.care-paths { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.care-paths > div { padding: 22px; border: 1px solid var(--line); background: var(--paper); }
.care-paths p { font-size: 14px; }

.chapter-health { background: #e4efec; }

.care-handoff {
  width: min(1000px, calc(100% - 48px));
  margin: 85px auto;
  padding: clamp(28px, 5vw, 55px);
  border-radius: 30px;
  background: var(--teal);
  color: white;
}

.handoff-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.handoff-head h3 { max-width: 520px; margin-bottom: 0; font-family: var(--serif); font-size: 44px; line-height: 1; }
.handoff-head p { max-width: 300px; margin: 0; color: rgba(255,255,255,.72); font-size: 13px; }
.care-handoff ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 45px 0 0; padding: 0; list-style: none; background: rgba(255,255,255,.35); }
.care-handoff li { padding: 20px; background: var(--teal); }
.care-handoff li > span { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 30px; border: 1px solid white; border-radius: 50%; font-family: var(--serif); }
.care-handoff li strong { display: block; font-family: var(--serif); font-size: 19px; }
.care-handoff li p { margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.45; }

.signal-card {
  padding: 34px;
  border: 1px solid var(--ink);
  border-radius: 50% 50% 18px 18px;
  background: var(--yellow);
  text-align: center;
}

.signal-icon { display: inline-grid; place-items: center; width: 70px; height: 70px; margin: 20px 0 30px; border: 1px solid var(--ink); border-radius: 50%; font-size: 34px; }
.signal-card h3 { margin-bottom: 15px; font-family: var(--serif); font-size: 30px; line-height: 1.08; }
.signal-card p { margin: 0; font-size: 14px; }
.ranked-list { display: grid; gap: 1px; background: var(--line); }
.ranked-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 20px; background: #e4efec; }
.ranked-list > div > span { color: var(--teal); font-family: var(--serif); font-size: 30px; }
.ranked-list p { margin: 0; }

.chapter-safety { background: #f1e4dc; }

.safety-path {
  width: min(1000px, calc(100% - 48px));
  margin: 90px auto;
  padding: clamp(30px, 5vw, 55px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}

.safety-path ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 40px 0 0; padding: 0; list-style: none; background: var(--line); }
.safety-path li { padding: 25px; background: var(--white); }
.safety-path li > span { display: block; margin-bottom: 35px; color: var(--orange-dark); font-family: var(--serif); }
.safety-path h4 { margin-bottom: 8px; font-family: var(--serif); font-size: 22px; line-height: 1.15; }
.safety-path p { margin: 0; color: var(--ink-soft); font-size: 13px; }

.timeline-card { padding: 36px; border: 1px solid var(--ink); background: var(--yellow); box-shadow: 10px 10px 0 var(--ink); }
.timeline-card > strong { display: block; margin-bottom: 25px; color: var(--orange-dark); font-size: 54px; font-weight: 500; line-height: .9; }
.timeline-card p { margin: 0; font-size: 14px; }

.pull-quote {
  width: min(900px, calc(100% - 48px));
  margin: 100px auto 0;
  padding: 48px 0;
  border-top: 4px solid var(--orange);
  border-bottom: 1px solid var(--line);
}

.pull-quote p { margin: 0; font-family: var(--serif); font-size: clamp(33px, 5vw, 59px); line-height: 1.08; letter-spacing: -.03em; }

.chapter-relationships { background: #ece4ea; }

.relationship-contrast {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1000px, calc(100% - 48px));
  margin: 80px auto;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.relationship-contrast > div { padding: 30px; background: var(--paper-light); }
.relationship-contrast h3 { margin-bottom: 24px; font-family: var(--serif); font-size: 25px; line-height: 1.15; }
.relationship-contrast p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.chapter-delivery { background: var(--paper); }

.front-door {
  display: grid;
  grid-template-columns: .6fr 1fr;
  gap: 1px;
  overflow: hidden;
  width: min(1000px, calc(100% - 48px));
  margin: 85px auto;
  border: 1px solid var(--ink);
  border-radius: 26px;
  background: var(--ink);
}

.front-door > div { padding: 35px; background: var(--paper-light); }
.front-door-entry { color: white; background: var(--ink) !important; }
.front-door-entry h3 { margin-bottom: 15px; font-family: var(--serif); font-size: 44px; line-height: 1; }
.front-door-entry p { margin: 0; color: rgba(255,255,255,.7); }
.front-door-flow { display: flex; align-items: center; gap: 18px; }
.front-door-flow > span { min-width: 110px; font-weight: 750; }
.front-door-flow i { color: var(--orange); font-size: 28px; font-style: normal; }
.front-door-flow > div { display: flex; flex-wrap: wrap; gap: 7px; }
.front-door-flow b { padding: 6px 10px; border-radius: 99px; color: white; background: var(--teal); font-size: 12px; }
.front-door-guardrails { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.front-door-guardrails p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.front-door-guardrails strong { color: var(--ink); }

.sequence-table { width: min(1000px, calc(100% - 48px)); margin: 90px auto; }
.sequence-table h3 { max-width: 760px; margin-bottom: 30px; font-family: var(--serif); font-size: 38px; line-height: 1.1; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--paper-light); }
th, td { padding: 17px 20px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: white; background: var(--ink); font-size: 13px; }
td { font-size: 14px; }

.success {
  width: min(var(--wide), calc(100% - 48px));
  margin: 110px auto 0;
  padding: clamp(34px, 6vw, 70px);
  border-radius: 32px;
  color: white;
  background: var(--teal);
}

.success h3 { max-width: 760px; margin-bottom: 45px; font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); font-weight: 500; line-height: 1.03; }
.success-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,.35); }
.success-grid > div { padding: 20px; background: var(--teal); }
.success-grid strong { display: block; margin-bottom: 12px; font-family: var(--serif); font-size: 18px; }
.success-grid span { display: block; color: rgba(255,255,255,.75); font-size: 11px; line-height: 1.45; }

.conclusion { padding: 140px 0; color: white; background: var(--ink); }
.conclusion-inner { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(50px, 10vw, 150px); width: min(var(--wide), calc(100% - 48px)); margin: auto; }
.conclusion h2 { margin: 0; color: var(--yellow); font-size: clamp(54px, 8vw, 100px); line-height: .92; }
.conclusion .prose { color: rgba(255,255,255,.78); }

.spread {
  width: min(var(--wide), calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.spread-intro {
  display: grid;
  grid-template-columns: 1fr minmax(250px, .45fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: end;
  margin-bottom: 56px;
}

.spread-intro h2 {
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 100px);
  line-height: .92;
}

.spread-intro > div > p { max-width: 720px; margin-bottom: 0; color: var(--ink-soft); font-size: 20px; }
.spread-note { margin: 0; padding-left: 22px; border-left: 4px solid var(--yellow); color: var(--ink-soft); }
.spread-grid { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(280px, .72fr); gap: clamp(26px, 5vw, 64px); align-items: start; }

.video-card,
.share-copy {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.video-card { padding: 18px; }
.video-card video { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: 18px; background: var(--ink); object-fit: cover; }
.video-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 12px; }
.video-card .micro-note { margin: 0 3px 2px; }
.share-copy { position: sticky; top: 96px; padding: clamp(28px, 4vw, 48px); }
.share-copy h3 { margin-bottom: 24px; font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.04; }
.share-copy > p:first-of-type { padding: 23px; border-left: 4px solid var(--orange); background: white; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.copy-button { margin-top: 10px; cursor: pointer; }
.copy-button.copied { color: white; border-color: var(--teal); background: var(--teal); }

.misconceptions {
  margin-top: 78px;
  padding-top: 54px;
  border-top: 1px solid var(--ink);
}

.misconceptions-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .5fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: end;
  margin-bottom: 34px;
}

.misconceptions-head h3 {
  max-width: 790px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.025em;
}

.misconceptions-head p { margin: 0; color: var(--ink-soft); }

.misconception-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.misconception-grid article {
  grid-column: span 2;
  min-height: 250px;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper-light);
}

.misconception-grid article:nth-child(4),
.misconception-grid article:nth-child(5) { grid-column: span 3; }

.misconception-grid h4 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.1;
}

.misconception-grid p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

.sources {
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.sources-head { display: grid; grid-template-columns: .7fr 1fr; gap: 70px; align-items: end; margin-bottom: 60px; }
.sources-head h2 { margin: 0; font-size: clamp(50px, 7vw, 90px); line-height: .93; }
.sources-head p { margin: 0; color: var(--ink-soft); }
.source-groups { border-top: 1px solid var(--ink); }
.source-groups details { border-bottom: 1px solid var(--ink); }
.source-groups summary { position: relative; padding: 22px 45px 22px 0; font-family: var(--serif); font-size: 24px; }
.source-groups summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-family: var(--sans); }
.source-groups details[open] summary::after { content: "−"; }
.source-groups ol { margin: 0; padding: 0 0 30px 2.7em; color: var(--ink-soft); font-size: 13px; }
.source-groups li { padding: 8px 0 8px 10px; }
.source-groups li::marker { color: var(--orange-dark); font-weight: 800; }
.source-groups a { color: var(--ink); font-weight: 650; }
.source-groups li:target { margin-left: -8px; padding-left: 18px; background: #f1dda7; }

footer {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 40px max(24px, calc((100vw - var(--wide)) / 2));
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

footer > div { display: flex; align-items: center; gap: 10px; color: var(--ink); }
footer p { margin: 0; }
footer > a { margin-left: auto; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

@media (max-width: 980px) {
  .site-header { padding-inline: 24px; }
  .menu-button { display: block; }
  .site-header nav {
    position: absolute;
    top: 58px;
    right: 20px;
    display: none;
    width: 220px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper-light);
    box-shadow: var(--shadow);
  }
  .site-header nav.open { display: flex; flex-direction: column; }
  .site-header nav a { padding: 9px 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero-principle { max-width: 440px; }
  .stress-panel { grid-template-columns: 1fr; }
  .policy-grid { grid-template-columns: repeat(2, 1fr); }
  .capacity-lab { grid-template-columns: 1fr 1fr; }
  .lab-copy { grid-column: 1 / -1; }
  .success-grid { grid-template-columns: repeat(3, 1fr); }
  .conclusion-inner { grid-template-columns: 1fr; }
  .spread-intro { grid-template-columns: 1fr; }
  .spread-grid { grid-template-columns: 1fr; }
  .share-copy { position: static; }
  .misconceptions-head { grid-template-columns: 1fr; }
  .misconception-grid { grid-template-columns: 1fr 1fr; }
  .misconception-grid article,
  .misconception-grid article:nth-child(4),
  .misconception-grid article:nth-child(5) { grid-column: auto; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { width: min(100% - 34px, var(--wide)); min-height: auto; padding-top: 70px; }
  h1 { font-size: clamp(58px, 18vw, 86px); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-principle { margin-right: 12px; padding: 28px; }
  .opening > .prose:first-child { padding-top: 80px; }
  .stress-test, .policy-card, .chapter-header, .big-number-figure, .split-layout, .evidence-panel, .deep-dive, .leave-card, .dot-figure, .constraint-tool, .capacity-lab, .evidence-strip, .care-handoff, .safety-path, .relationship-contrast, .front-door, .sequence-table, .success, .pull-quote, .spread, .sources, .conclusion-inner { width: calc(100% - 34px); }
  .stress-layout { grid-template-columns: 1fr; }
  .stress-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .stress-tabs button { flex: 0 0 auto; }
  .policy-card-head { align-items: start; flex-direction: column; }
  .policy-grid { grid-template-columns: 1fr; }
  .chapter { padding: 90px 0; }
  .chapter-header { grid-template-columns: 1fr; gap: 20px; }
  .chapter-number { font-size: 55px; }
  .chapter-header h2 { font-size: clamp(47px, 14vw, 72px); }
  .big-number-figure { grid-template-columns: 1fr; gap: 30px; }
  .big-number { white-space: normal; }
  .split-layout { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .policy-spec { grid-template-columns: 1fr; }
  .summary-hint { display: none; }
  .leave-card { grid-template-columns: 1fr; }
  .leave-parts { grid-template-columns: 1fr; }
  .dot-figure { grid-template-columns: 1fr; gap: 35px; }
  .constraint-answer { grid-template-columns: 1fr; }
  .capacity-lab { grid-template-columns: 1fr; }
  .lab-copy { grid-column: auto; }
  .evidence-strip { grid-template-columns: 1fr; }
  .evidence-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .care-paths { grid-template-columns: 1fr; }
  .handoff-head { align-items: start; flex-direction: column; }
  .care-handoff ol { grid-template-columns: 1fr 1fr; }
  .safety-path ol { grid-template-columns: 1fr 1fr; }
  .relationship-contrast { grid-template-columns: 1fr; }
  .front-door { grid-template-columns: 1fr; }
  .front-door-flow { align-items: start; flex-direction: column; }
  .front-door-guardrails { grid-column: auto; grid-template-columns: 1fr; }
  .success-grid { grid-template-columns: 1fr 1fr; }
  .misconception-grid { grid-template-columns: 1fr; }
  .sources-head { grid-template-columns: 1fr; gap: 25px; }
  footer { align-items: start; flex-direction: column; gap: 14px; }
  footer > a { margin-left: 0; }
}

@media (max-width: 480px) {
  .site-header { min-height: 58px; }
  .hero { padding-bottom: 70px; }
  .dek { font-size: 25px; }
  .stress-test, .policy-card, .constraint-tool, .capacity-lab, .care-handoff, .safety-path, .success { padding: 25px 20px; border-radius: 20px; }
  .stress-panel p { font-size: 18px; }
  .model-grid { grid-template-columns: 1fr; }
  .dot-grid { gap: 5px; }
  .care-handoff ol, .safety-path ol, .success-grid { grid-template-columns: 1fr; }
  th, td { min-width: 230px; }
  .source-groups ol { padding-left: 2em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  :root { --paper: white; --paper-light: white; --paper-deep: #eee; }
  body { font-size: 11pt; background: white; }
  body::before, .site-header, .read-progress, .hero-actions, .menu-button { display: none !important; }
  .hero { min-height: auto; padding: 30px 0; }
  h1 { font-size: 64pt; }
  .chapter, .conclusion, .sources { padding-block: 40px; }
  .stress-test, .capacity-lab, .care-handoff, .success, .conclusion { color: var(--ink); background: white; border: 1px solid var(--ink); }
  .stress-panel > div, .lab-result, .success-grid > div { color: var(--ink); background: white; }
  details { break-inside: avoid; }
  a { text-decoration: none; }
}
