:root {
  --ink: #142536;
  --muted: #5b6875;
  --paper: #f5f2ea;
  --paper-deep: #ebe6da;
  --navy: #091725;
  --navy-soft: #12283d;
  --gold: #bd7d1d;
  --gold-light: #f2c56f;
  --teal: #28766f;
  --red: #a4443f;
  --line: #d7d0c2;
  --measure: 760px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.72; text-rendering: optimizeLegibility; }
a { color: #8f570c; text-decoration-thickness: .08em; text-underline-offset: .14em; }
a:hover { color: #563305; }
a:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.site-bar { background: #06101c; color: #dce5ed; border-bottom: 1px solid #2b3d4e; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.site-bar-inner { max-width: 1240px; margin: 0 auto; padding: 15px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .14em; text-decoration: none; }
.series { color: #9eb0c0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero { background: var(--navy); color: #fff; border-bottom: 6px solid var(--gold); }
.hero-inner { max-width: 1120px; margin: 0 auto; padding: 92px 28px 80px; }
.kicker { display: inline-flex; padding: 7px 12px; border: 1px solid #b78b46; border-radius: 999px; color: var(--gold-light); font: 750 12px/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
h1 { max-width: 920px; margin: 25px 0 22px; color: #fff; font: 800 clamp(46px, 7vw, 86px)/.98 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.052em; }
.subtitle { max-width: 860px; margin: 0; color: #cbd6df; font: 480 clamp(22px, 3vw, 31px)/1.3 Inter, ui-sans-serif, system-ui, sans-serif; }
.meta { margin-top: 35px; display: flex; flex-wrap: wrap; gap: 9px 24px; color: #aab9c6; font: 650 13px/1.4 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.thesis { max-width: 980px; margin-top: 43px; padding: 24px 28px; background: #10263b; border-left: 5px solid var(--gold-light); color: #f2f4f5; font: 520 18px/1.55 Inter, ui-sans-serif, system-ui, sans-serif; }
.thesis strong { color: var(--gold-light); }
.layout { max-width: 1120px; margin: 0 auto; padding: 74px 28px 100px; display: flex; flex-direction: column; }
article { min-width: 0; width: 100%; }
article > :not(.framework-figure) { max-width: var(--measure); margin-left: auto; margin-right: auto; }
article > h2:first-child { margin-top: 0; }
h2, h3 { color: #0c2033; font-family: Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.025em; scroll-margin-top: 28px; }
h2 { margin: 3.5em 0 .8em; padding-top: .52em; border-top: 1px solid var(--line); font-size: clamp(30px, 4vw, 43px); line-height: 1.12; }
h3 { margin: 2.15em 0 .65em; font-size: clamp(23px, 3vw, 29px); line-height: 1.22; }
p { margin: 0 0 1.25em; }
article > p:first-of-type { font-size: 21px; color: #354858; }
strong { color: #0f2235; }
blockquote { margin: 2.1em 0; padding: 22px 26px; background: #eee8db; border-left: 5px solid var(--gold); color: #23384a; }
blockquote p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.4em; }
li { margin: .5em 0; padding-left: .2em; }
hr { margin: 3em 0; border: 0; border-top: 1px solid var(--line); }
.framework-figure { width: min(1120px, calc(100vw - 56px)); margin: 3.3em 0 3.5em; }
.framework-figure img { display: block; width: 100%; height: auto; border-radius: 13px; box-shadow: 0 18px 45px rgba(14, 28, 42, .17); }
figcaption { margin-top: 13px; color: var(--muted); font: 500 14px/1.55 Inter, ui-sans-serif, system-ui, sans-serif; }
figcaption span { color: var(--ink); font-weight: 800; }
.note-ref { position: relative; top: -.15em; margin-left: .08em; font: 750 12px/1 Inter, ui-sans-serif, system-ui, sans-serif; }
.note-ref a { text-decoration: none; }
.toc { order: -1; width: 100%; max-width: var(--measure); margin: 0 auto 64px; padding: 22px 24px 20px; background: #eee8db; border-left: 4px solid var(--gold); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.toc-title { margin: 0 0 13px; color: #33485a; font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.toc li { margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 0; color: #566574; font-size: 13px; line-height: 1.35; text-decoration: none; break-inside: avoid; }
.toc a:hover { color: var(--gold); }
.notes { max-width: 1120px; margin: 0 auto; padding: 0 28px 100px; }
.notes h2 { max-width: var(--measure); margin-top: 0; }
.notes ol { max-width: 900px; padding-left: 1.35em; color: #4d5a66; font-size: 15px; line-height: 1.58; }
.notes li { margin: 0 0 1.1em; padding-left: .45em; }
.note-back { font-family: Inter, ui-sans-serif, system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.colophon { background: #0a1726; color: #b8c4ce; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.colophon-inner { max-width: 1120px; margin: 0 auto; padding: 42px 28px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.colophon h2 { margin: 0 0 10px; padding: 0; border: 0; color: #fff; font-size: 17px; letter-spacing: 0; }
.colophon p { margin: 0; font-size: 13px; line-height: 1.6; }
@media (max-width: 980px) {
  .toc { display: none; }
  .framework-figure { width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.68; }
  .site-bar-inner { padding: 13px 20px; }
  .series { display: none; }
  .hero-inner { padding: 63px 20px 58px; }
  h1 { font-size: clamp(43px, 13.8vw, 62px); }
  .subtitle { font-size: 21px; }
  .thesis { margin-top: 31px; padding: 20px; font-size: 16px; }
  .layout { padding: 52px 20px 70px; }
  h2 { margin-top: 3em; font-size: 31px; }
  h3 { font-size: 23px; }
  article > p:first-of-type { font-size: 18px; }
  blockquote { margin-left: 0; margin-right: 0; padding: 18px 19px; }
  .notes { padding: 0 20px 72px; }
  .framework-figure { margin: 2.5em 0 2.8em; }
  .colophon-inner { grid-template-columns: 1fr; padding: 35px 20px 42px; }
}
@media print {
  .site-bar, .toc { display: none; }
  .hero { background: none; color: var(--ink); border-bottom: 2px solid var(--ink); }
  .hero-inner { padding: 30px 0; }
  h1 { color: var(--ink); font-size: 48px; }
  .subtitle, .meta { color: var(--muted); }
  .thesis { background: none; color: var(--ink); }
  .layout { display: block; padding: 35px 0; }
  .notes { padding-left: 0; padding-right: 0; }
  .colophon { background: none; color: var(--ink); border-top: 1px solid var(--ink); }
}
