@font-face {
  font-family: 'Public Sans';
  src: url('/fonts/public-sans-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('/fonts/public-sans-semibold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

/* Page typography is scoped separately from the preserved graph surfaces. */
:root {
  --page-font: 'Public Sans', Arial, sans-serif;
  --page-heading: 28px;
  --page-body: 18px;
  --page-label: 16px;
  --page-rule: #c9aaa9;
}
.site-header, .opening, .graph-questions, .graph-explanation,
.holding, .further-analysis > summary, .patience-copy, .future > h2,
.future-intro, .matrix-definition, .matrix-context, .scenario-method > summary,
.scenario-method > p, .methodology > summary, .method-body > p,
.risk-footer {
  font-family: var(--page-font);
  font-weight: 400;
  font-synthesis: none;
}
.site-header { height: 88px; border-bottom: 1px solid var(--page-rule); }
.site-header .brand { gap: 10px; font-size: 23px; font-weight: 600; letter-spacing: -.03em; }
.site-header .mark { width: 27px; height: 27px; }
.site-header nav { gap: 32px; font-size: var(--page-label); }
.site-header nav a { padding-block: 12px; text-underline-offset: 6px; }
.site-header nav a:hover { color: #9d315d; }

.opening {
  display: block;
  padding: 64px 0 56px;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.opening h1 {
  max-width: 720px;
  margin-inline: auto;
  font-size: 56px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.opening-copy { max-width: 580px; margin: 24px auto 0; }
.opening .promise, .opening .historical-hook { font-size: var(--page-body); line-height: 1.65; text-wrap: balance; }
.opening .historical-hook { margin-top: 12px; color: var(--muted); }
.opening .capsule-wrap { display: inline-block; white-space: nowrap; }
.opening .capsule-product {
  gap: 5px;
  padding: 0 !important;
  min-height: auto;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: inherit !important;
  font-weight: 600;
  letter-spacing: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.opening .capsule-product svg { width: 16px; height: 16px; }
.opening .capsule-product:hover { color: #9d315d; background: none; }
.opening .journey-link {
  font-size: var(--page-label);
  font-weight: 600;
  line-height: 1.5;
  min-height: 44px;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ink);
}
.opening .journey-link:hover { color: #9d315d; border-color: currentColor; }
.opening .capsule-explainer { margin: 24px 0 0; padding: 24px; border-radius: 8px; }
.opening .explainer-heading h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.opening .capsule-explainer p { font-size: var(--page-body); line-height: 1.65; }

.graph-questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 32px;
  margin-top: 32px;
  border-block: 1px solid var(--page-rule);
}
.graph-questions button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  font-size: var(--page-label);
  line-height: 1.55;
  font-weight: 400;
  text-decoration: none;
}
.graph-questions button[aria-pressed=true] { font-weight: 600; text-decoration: none; }
.graph-questions button:hover { color: #9d315d; }
.question-arrow { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.graph-explanation { font-size: var(--page-label); line-height: 1.65; margin-top: 16px; }

.holding {
  display: block;
  padding: 0;
  margin-top: 64px;
  color: var(--ink);
  scroll-margin-top: 32px;
}
.holding:before { content: none; }
.holding-challenge, .holding-answer, .holding .holding-faq {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  padding: 32px 0;
  border: 0;
  border-top: 1px solid var(--page-rule);
}
.holding h2, .holding h3, .holding .holding-faq h4 {
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
  font-size: var(--page-heading);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.025em;
  text-wrap: pretty;
}
.holding-fact, .holding-hard, .holding .capsule-answer, .holding .holding-faq p {
  font-size: var(--page-body);
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  max-width: 60ch;
  margin: 0;
}
.holding-fact + .holding-fact, .holding-hard { margin-top: 8px; }
.holding-fact:first-child { margin-top: 0; }
.holding-fact strong { font-weight: 600; color: inherit; }
.holding .capsule-answer em { font-style: normal; font-weight: 600; text-decoration: none; }

.further-analysis { margin-top: 32px; border-block: 1px solid var(--page-rule); }
.further-analysis > summary {
  display: grid;
  grid-template-columns: 1fr 1.3fr 24px;
  gap: 24px;
  padding-block: 28px;
}
.further-analysis > summary > .analysis-title { font-size: var(--page-heading); font-weight: 600; letter-spacing: -.025em; color: var(--ink); }
.further-analysis > summary > .analysis-description { font-size: var(--page-label); font-weight: 400; line-height: 1.6; letter-spacing: 0; }
.further-analysis > summary:after, .further-analysis[open] > summary:after { content: none; }
.analysis-toggle { width: 24px; height: 24px; }
.further-analysis[open] > summary > .analysis-toggle { transform: rotate(45deg); }
.further-analysis > summary:hover .analysis-title { color: #9d315d; }
.further-body .patience { gap: 48px; padding-block: 40px 64px; }
.patience-copy h2, .future > h2 { max-width: 30ch; font-size: var(--page-heading); line-height: 1.25; font-weight: 600; letter-spacing: -.025em; margin-bottom: 20px; }
.patience-copy > p, .future-intro, .matrix-context p, .matrix-context .thesis-lead, .scenario-method > p, .method-body > p {
  font-size: var(--page-body); font-weight: 400; line-height: 1.65; letter-spacing: 0;
}
.patience .period-context, .matrix-definition { font-size: var(--page-label); line-height: 1.6; }
.matrix-context .thesis-lead { font-weight: 600; }
.future { padding-block: 48px; }
.future:before { content: none; }
.matrix-context { margin-top: 40px; }
.scenario-method > summary, .methodology > summary { font-size: var(--page-body); font-weight: 600; line-height: 1.5; }
.risk-footer { max-width: 85ch; font-size: var(--page-label); line-height: 1.65; padding-top: 24px; }

@media (max-width: 1000px) {
  .opening h1 { font-size: 48px; }
  .graph-questions { gap: 20px; }
  .holding-challenge, .holding-answer, .holding .holding-faq { gap: 32px; }
}
@media (max-width: 700px) {
  .site-header { height: 76px; gap: 16px; }
  .site-header .brand { font-size: 22px; }
  .site-header nav { font-size: var(--page-label); }
  .opening { padding: 40px 0 44px; text-align: left; }
  .opening h1 { max-width: 16ch; margin: 0; font-size: 40px; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
  .opening-copy { margin-top: 20px; }
  .opening .promise, .opening .historical-hook { font-size: var(--page-body); }
  .opening .capsule-explainer { padding: 20px; }
  .graph-questions { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .graph-questions button { padding: 18px 0; font-size: var(--page-label); }
  .graph-questions button + button { border-top: 1px solid var(--page-rule); }
  .graph-explanation { font-size: var(--page-label); }
  .holding { margin-top: 40px; }
  .holding-challenge, .holding-answer, .holding .holding-faq { display: block; padding-block: 28px; }
  .holding h2, .holding h3, .holding .holding-faq h4 { margin-bottom: 16px; font-size: var(--page-heading); }
  .holding-fact, .holding-hard, .holding .capsule-answer, .holding .holding-faq p { font-size: var(--page-body); }
  .further-analysis { margin-top: 12px; }
  .further-analysis > summary { grid-template-columns: 1fr 24px; gap: 12px 16px; padding-block: 28px; }
  .further-analysis > summary > .analysis-title { grid-column: 1; order: initial; width: auto; }
  .further-analysis > summary > .analysis-description { grid-column: 1; grid-row: 2; order: initial; width: auto; }
  .further-analysis > summary > .analysis-toggle { grid-column: 2; grid-row: 1; }
  .further-body .patience { padding-block: 32px 40px; }
  .future { padding-block: 32px; }
  .patience-copy h2, .future > h2 { font-size: var(--page-heading); }
  .patience-copy > p, .future-intro, .matrix-context p, .matrix-context .thesis-lead, .scenario-method > p, .method-body > p { font-size: var(--page-body); }
  .risk-footer { font-size: var(--page-label); }
}
