
@font-face {
  font-family: "PB44 Sans";
  src: url("/assets/geist-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "PB44 Mono";
  src: url("/assets/geist-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f3efe4;
  --paper-light: #fbf8f0;
  --ink: #0b2d3f;
  --ink-dark: #061c27;
  --sea: #72b8b0;
  --sea-pale: #cfe3dd;
  --signal: #f05a39;
  --yellow: #f6c85f;
  --line: rgba(11, 45, 63, .22);
  --muted: #587079;
  --white: #fffdf7;
  --shadow: 8px 8px 0 rgba(11, 45, 63, .12);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11,45,63,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,45,63,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  font-family: "PB44 Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; }
.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  padding: 10px 16px; background: var(--signal); color: white;
}
.skip-link:focus { top: 12px; }

.site-header {
  width: min(calc(100% - 40px), var(--max));
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 310px 1fr;
  align-items: center;
  border-bottom: 2px solid var(--ink);
}
.brand {
  display: inline-flex; align-items: stretch; width: max-content;
  text-decoration: none; border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  background: var(--paper-light);
}
.brand-flag {
  display: grid; place-items: center; width: 62px;
  background: var(--signal); color: white;
  font-weight: 900; font-size: 27px; letter-spacing: -1px;
}
.brand-word { padding: 8px 14px 7px; display: grid; line-height: 1.05; }
.brand-word strong { font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.brand-word small {
  margin-top: 7px; color: var(--muted); font-family: Georgia, serif;
  font-size: 11px; font-style: italic;
}
.main-nav { display: flex; justify-content: flex-end; gap: 4px; }
.main-nav a {
  padding: 10px 12px 8px; text-decoration: none;
  font-size: 13px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; border-bottom: 3px solid transparent;
}
.main-nav a:hover, .main-nav a:focus-visible, .main-nav a[aria-current="page"] {
  border-color: var(--signal); color: var(--signal);
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  width: min(calc(100% - 40px), var(--max));
  min-height: 620px;
  margin: 24px auto 0;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  border: 2px solid var(--ink-dark);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .45fr);
}
.chart-grid {
  position: absolute; inset: 0;
  opacity: .6;
  background-image:
    radial-gradient(circle at center, transparent 18%, rgba(207,227,221,.16) 18.3%, transparent 18.7%),
    radial-gradient(circle at center, transparent 34%, rgba(207,227,221,.12) 34.3%, transparent 34.7%),
    linear-gradient(rgba(207,227,221,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207,227,221,.1) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}
.chart-grid::before, .chart-grid::after {
  content: ""; position: absolute; left: 57%; top: -20%;
  width: 1px; height: 145%; background: rgba(207,227,221,.32);
  transform: rotate(36deg);
}
.chart-grid::after { transform: rotate(-54deg); }
.north {
  position: absolute; right: 45px; top: 36px;
  font-size: 46px; font-family: Georgia, serif;
}
.north::after {
  content: ""; display: block; width: 2px; height: 56px;
  margin: 5px auto; background: var(--signal);
}
.coordinate {
  position: absolute; padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.35);
  font-family: "PB44 Mono", "Courier New", monospace; font-size: 11px; letter-spacing: .1em;
}
.coordinate-a { left: 28px; bottom: 28px; }
.coordinate-b { right: 28px; bottom: 28px; }
.plot {
  position: absolute; width: 14px; height: 14px; border: 3px solid var(--signal);
  border-radius: 50%;
}
.plot::after { content: ""; position: absolute; width: 68px; height: 2px; background: var(--signal); top: 4px; left: 12px; transform: rotate(-25deg); transform-origin: left; }
.plot-a { left: 70%; top: 28%; }
.plot-b { left: 42%; top: 72%; border-color: var(--yellow); }
.plot-b::after { background: var(--yellow); }
.hero-copy {
  position: relative; z-index: 2;
  padding: clamp(64px, 8vw, 112px) clamp(30px, 7vw, 92px);
  align-self: center;
}
.eyebrow, .section-index {
  margin: 0 0 20px; color: var(--signal);
  font-family: "PB44 Mono", "Courier New", monospace; font-size: 12px;
  font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.hero h1 {
  max-width: 850px; margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(47px, 6.3vw, 88px);
  line-height: .96; font-weight: 400; letter-spacing: -.045em;
}
.lead {
  max-width: 760px; margin: 32px 0 0;
  color: #d9e9e5; font-family: Georgia, serif;
  font-size: clamp(19px, 2vw, 25px); line-height: 1.55;
}
.update-line {
  display: flex; align-items: center; gap: 9px; margin-top: 34px;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sea); box-shadow: 0 0 0 5px rgba(114,184,176,.17); }
.hero-stats {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  border-left: 1px solid rgba(255,255,255,.28); background: rgba(6,28,39,.42);
}
.stat {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 30px; border-bottom: 1px solid rgba(255,255,255,.28);
}
.stat:last-child { border-bottom: 0; }
.stat strong { color: var(--yellow); font-family: Georgia, serif; font-size: clamp(35px, 4vw, 55px); line-height: 1; font-weight: 400; }
.stat span { margin-top: 12px; font-size: 12px; line-height: 1.45; letter-spacing: .06em; text-transform: uppercase; }

.page-frame {
  width: min(calc(100% - 40px), 1120px);
  margin: 110px auto;
  display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 90px;
}
.toc { position: sticky; top: 20px; height: max-content; }
.toc > p {
  margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--ink);
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.toc nav { display: grid; }
.toc nav a {
  display: grid; grid-template-columns: 30px 1fr; gap: 8px;
  padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: Georgia, serif; font-size: 14px; line-height: 1.35;
}
.toc nav a:hover { color: var(--signal); }
.toc nav span { color: var(--signal); font-family: "PB44 Mono", "Courier New", monospace; font-size: 10px; }
.field-note {
  margin-top: 28px; padding: 18px; border: 1px solid var(--ink);
  background: var(--sea-pale); box-shadow: 4px 4px 0 var(--ink);
}
.field-note b { display: block; margin-bottom: 7px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.field-note span { display: block; font-family: Georgia, serif; font-size: 13px; line-height: 1.5; }

.article { min-width: 0; }
.article-section {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding: 0 0 72px; margin-bottom: 72px; border-bottom: 1px solid var(--line);
}
.section-marker {
  width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--signal); color: var(--signal);
  font-family: "PB44 Mono", "Courier New", monospace; font-weight: 700; font-size: 13px;
}
.section-body h2, .related h2, .faq h2, .resource-panel h2 {
  margin: 0 0 30px; font-family: Georgia, serif;
  font-size: clamp(34px, 4vw, 54px); font-weight: 400; line-height: 1.06; letter-spacing: -.025em;
}
.section-body p { margin: 0 0 22px; font-family: Georgia, serif; font-size: 19px; line-height: 1.8; }
.section-body p:first-of-type::first-letter {
  float: left; margin: 10px 9px 0 0; color: var(--signal);
  font-family: Georgia, serif; font-size: 64px; line-height: .72;
}
.checklist {
  list-style: none; padding: 0; margin: 34px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink);
}
.checklist li {
  min-height: 86px; display: flex; gap: 14px; align-items: center;
  padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-light); font-weight: 700; line-height: 1.35;
}
.checklist li:nth-child(even) { border-right: 0; }
.checklist li span { color: var(--signal); font-size: 23px; }
.inline-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.inline-links a {
  display: inline-flex; gap: 22px; align-items: center; padding: 12px 16px;
  background: var(--ink); color: white; text-decoration: none; font-size: 14px; font-weight: 800;
}
.inline-links a:hover { background: var(--signal); }

.source-strip {
  margin: 80px 0; padding: 24px; border: 2px solid var(--ink);
  background: var(--paper-light); display: grid; grid-template-columns: 180px 1fr; gap: 24px;
}
.source-label { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.source-links { display: flex; flex-wrap: wrap; gap: 9px 20px; }
.source-links a { font-family: Georgia, serif; font-size: 14px; text-underline-offset: 3px; }

.resource-panel { margin: 80px 0; }
.resource-grid { display: grid; border-top: 2px solid var(--ink); }
.resource-link {
  display: grid; grid-template-columns: 52px 1fr 40px; gap: 15px; align-items: center;
  padding: 20px 10px; border-bottom: 1px solid var(--line); text-decoration: none;
}
.resource-link:hover { background: var(--sea-pale); }
.resource-link span { color: var(--signal); font-family: "PB44 Mono", "Courier New", monospace; font-size: 12px; }
.resource-link b { color: var(--signal); text-align: center; }

.faq { margin-top: 90px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-family: Georgia, serif; font-size: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--signal); font-family: Arial, sans-serif; font-size: 28px; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 50px 24px 0; color: var(--muted); font-family: Georgia, serif; }

.related {
  width: min(calc(100% - 40px), var(--max)); margin: 0 auto 100px;
  padding-top: 44px; border-top: 2px solid var(--ink);
}
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  position: relative; min-height: 260px; padding: 24px;
  border: 2px solid var(--ink); background: var(--paper-light); text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink); transition: transform .2s, box-shadow .2s;
}
.related-card:hover { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); background: var(--sea-pale); }
.related-number { color: var(--signal); font-family: "PB44 Mono", "Courier New", monospace; font-size: 12px; }
.related-kicker { display: block; margin: 45px 0 12px; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.related-card strong { display: block; max-width: 85%; font-family: Georgia, serif; font-size: 24px; line-height: 1.16; font-weight: 400; }
.related-arrow { position: absolute; right: 22px; bottom: 18px; color: var(--signal); font-size: 30px; }

.site-footer {
  position: relative; display: grid; grid-template-columns: 90px 1fr auto; gap: 28px;
  align-items: center; padding: 50px max(20px, calc((100% - var(--max))/2));
  background: var(--ink-dark); color: white;
}
.footer-mark {
  width: 76px; height: 76px; display: grid; grid-template-columns: 1fr 1fr;
  border: 2px solid white; font-weight: 900; line-height: 1;
}
.footer-mark span, .footer-mark b { display: grid; place-items: center; }
.footer-mark b { background: var(--signal); }
.site-footer strong { font-size: 21px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer p { margin: 5px 0 0; color: #b8cccf; font-family: Georgia, serif; font-size: 14px; }
.footer-links { display: flex; gap: 18px; font-size: 13px; font-weight: 700; }
.footer-legal { grid-column: 2 / -1; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }

@media (max-width: 980px) {
  body { font-size: 17px; }
  .site-header { grid-template-columns: 1fr auto; min-height: 90px; }
  .menu-toggle {
    display: grid; width: 54px; height: 48px; padding: 9px; border: 2px solid var(--ink);
    background: var(--paper-light); cursor: pointer;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 2px 0; }
  .menu-toggle b { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
  .main-nav {
    display: none; grid-column: 1 / -1; width: 100%;
    padding: 14px 0 24px; grid-template-columns: repeat(2, 1fr);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { border: 1px solid var(--line); padding: 12px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 0; border-top: 1px solid rgba(255,255,255,.28); }
  .stat { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.28); }
  .stat:last-child { border-right: 0; }
  .page-frame { grid-template-columns: 1fr; gap: 50px; margin-top: 70px; }
  .toc { position: static; }
  .toc nav { grid-template-columns: 1fr 1fr; column-gap: 25px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; background-size: 24px 24px; }
  .site-header, .hero, .related { width: min(calc(100% - 24px), var(--max)); }
  .brand-word small { display: none; }
  .brand-flag { width: 52px; }
  .brand-word { padding: 10px; }
  .brand-word strong { font-size: 15px; }
  .main-nav { grid-template-columns: 1fr; }
  .hero-copy { padding: 62px 24px 55px; }
  .hero h1 { font-size: clamp(41px, 13vw, 62px); }
  .lead { font-size: 18px; }
  .hero-stats { grid-template-columns: 1fr; }
  .stat { min-height: 120px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.28); }
  .page-frame { width: min(calc(100% - 28px), 1120px); margin-bottom: 70px; }
  .toc nav { grid-template-columns: 1fr; }
  .article-section { grid-template-columns: 1fr; gap: 18px; padding-bottom: 48px; margin-bottom: 52px; }
  .section-marker { width: 42px; height: 42px; }
  .section-body p { font-size: 18px; }
  .section-body p:first-of-type::first-letter { font-size: 54px; }
  .checklist { grid-template-columns: 1fr; }
  .checklist li { border-right: 0; }
  .source-strip { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 210px; }
  .site-footer { grid-template-columns: 70px 1fr; padding: 40px 20px; }
  .footer-mark { width: 62px; height: 62px; }
  .footer-links { grid-column: 1 / -1; flex-wrap: wrap; }
  .footer-legal { grid-column: 1 / -1; }
}

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