:root {
  --ink: #17242b;
  --paper: #f5f0e6;
  --paper-deep: #e9dfce;
  --rust: #9a4b35;
  --river: #356675;
  --moss: #556b5d;
  --rule: #c9bfae;
  --white: #fffdf8;
  --serif: Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1.04rem; line-height: 1.75; text-rendering: optimizeLegibility; }
a { color: var(--river); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: var(--rust); }
a:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 10; padding: .65rem 1rem; background: var(--ink); color: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid var(--rule); background: rgba(245,240,230,.97); }
.header-inner { width: min(92vw, 1240px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 6.5rem; }
.site-name { color: var(--ink); font-family: var(--serif); font-size: 1.28rem; font-weight: 700; line-height: 1.05; text-decoration: none; letter-spacing: -.02em; }
.site-name span { display: block; color: var(--rust); font: 700 .68rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem 1.15rem; }
nav a { color: var(--ink); font-size: .8rem; font-weight: 700; letter-spacing: .035em; text-decoration: none; }
nav a:hover { color: var(--rust); }
main { min-height: 65vh; }
.page-hero { width: min(92vw, 1240px); margin: 0 auto; padding: clamp(3.6rem, 8vw, 7.5rem) 0 clamp(2.5rem, 5vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; border-bottom: 1px solid var(--rule); }
.page-hero:only-child { min-height: 38rem; }
.hero-copy { max-width: 45rem; }
.eyebrow, .label { margin: 0 0 .85rem; color: var(--rust); font-size: .74rem; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.025em; line-height: 1.08; }
h1 { max-width: 12ch; margin: 0; font-size: clamp(3rem, 7vw, 6.7rem); }
h2 { margin: 0 0 1.2rem; font-size: clamp(1.8rem, 3vw, 2.75rem); }
h3 { font-size: 1.35rem; }
.dek { max-width: 42rem; margin: 1.5rem 0 0; color: #405159; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5; }
.hero-image { position: relative; margin: 0; }
.hero-image::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 1px solid var(--rust); z-index: -1; }
.hero-image img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.72) contrast(.96); }
article { width: min(88vw, 760px); margin: 0 auto; padding: clamp(3rem, 7vw, 6.5rem) 0; }
article > section { margin: 0 0 clamp(3.6rem, 7vw, 6rem); }
article p { margin: 0 0 1.25rem; }
article p:first-of-type { font-size: 1.09em; }
article h2 + p::first-letter { color: var(--rust); font-family: var(--serif); font-size: 2.9em; line-height: .75; float: left; padding: .12em .12em 0 0; }
.notice { padding: 1.35rem 1.5rem; border-left: 4px solid var(--rust); background: var(--paper-deep); }
.notice p, .context-note p { margin: 0; font-size: .92rem; font-weight: 650; line-height: 1.6; }
.notice-top { margin: 0; padding: .8rem max(4vw, calc((100vw - 1240px) / 2)); border-left: 0; border-bottom: 1px solid var(--rule); background: var(--paper-deep); }
.lede-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: start; }
.fact-panel { padding: 2rem; border-top: 5px solid var(--river); background: var(--white); box-shadow: 0 14px 36px rgba(23,36,43,.08); }
.fact-panel p { font-size: .94rem; }
.fact-panel strong { font-family: var(--serif); font-size: 1.12rem; }
.topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.topic-grid a { min-height: 12rem; padding: 1.5rem; background: var(--paper); color: var(--ink); text-decoration: none; transition: background-color .15s ease; }
.topic-grid a:hover { background: var(--white); }
.topic-grid span { display: block; margin-bottom: 1.4rem; color: var(--rust); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.topic-grid strong { display: block; font: 500 1.35rem/1.15 var(--serif); }
.topic-grid p { margin: .65rem 0 0; color: #4f5e64; font-size: .9rem; line-height: 1.55; }
.split-section { width: min(92vw, 1080px); margin-left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 7vw, 7rem); padding: clamp(2rem, 5vw, 4rem); background: var(--ink); color: var(--paper); }
.split-section h2 { color: var(--white); }
.split-section .text-link { color: #b9d2d8; }
.date-list, .timeline { padding: 0; list-style: none; }
.date-list li { display: grid; grid-template-columns: 5rem 1fr; gap: 1.2rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); }
.date-list time, .timeline time { color: var(--rust); font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.date-list p { margin: 0; font-size: .98rem; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: .6rem; bottom: 0; left: 4.95rem; width: 1px; background: var(--rule); }
.timeline li { position: relative; display: grid; grid-template-columns: 4rem 1fr; gap: 2rem; margin-bottom: 3.5rem; }
.timeline li::before { content: ""; position: absolute; left: 4.68rem; top: .55rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 5px var(--paper); }
.timeline h2 { margin: 0 0 .5rem; font-size: 1.65rem; }
.timeline p { margin: 0; }
.context-note { padding: 1.2rem 1.4rem; border: 1px solid var(--rule); background: var(--white); }
.sources { padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.sources h2 { font-size: 1.4rem; }
.sources ul { margin: 0; padding-left: 1.1rem; }
.sources li { margin: .6rem 0; font-size: .9rem; line-height: 1.5; }
.text-link { font-weight: 750; }
.button { display: inline-block; margin: 1rem 1rem 1rem 0; padding: .75rem 1rem; background: var(--ink); color: var(--white); font-weight: 750; text-decoration: none; }
.button:hover { background: var(--rust); color: var(--white); }
.not-found { width: min(88vw, 720px); margin: 0 auto; padding: clamp(5rem, 12vw, 10rem) 0; }
.not-found h1 { max-width: 10ch; }
.not-found > p:not(.eyebrow) { max-width: 42rem; font: 1.3rem/1.55 var(--serif); }
.site-footer { padding: 3.8rem 0; background: var(--ink); color: var(--paper); }
.site-footer > div { width: min(92vw, 1240px); margin: 0 auto; display: grid; grid-template-columns: .6fr 1.8fr .6fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.footer-title { margin: 0; color: var(--white); font-family: var(--serif); font-size: 1.2rem; }
.footer-note { margin: 0; color: #d7d9d3; font-size: .76rem; line-height: 1.65; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; margin: 0; }
.footer-links a { color: #b9d2d8; font-size: .8rem; font-weight: 700; }
cite { font-family: var(--serif); }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: 1rem; padding: 1.4rem 0; }
  nav { justify-content: flex-start; }
  .page-hero { grid-template-columns: 1fr; }
  .hero-image { width: calc(100% - 1.2rem); }
  .site-footer > div { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: .98rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.5rem); }
  .topic-grid, .lede-grid, .split-section { grid-template-columns: 1fr; }
  .split-section { width: 100vw; }
  .timeline::before { left: 3.95rem; }
  .timeline li { grid-template-columns: 3rem 1fr; gap: 2rem; }
  .timeline li::before { left: 3.68rem; }
  .timeline time { font-size: 1.08rem; }
}

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

@media print {
  body { background: white; font-size: 11pt; }
  .site-header nav, .skip-link, .hero-image { display: none; }
  .page-hero, article { width: 100%; }
  .site-footer { background: white; color: black; border-top: 1px solid black; }
  .footer-note { color: black; }
}
