:root {
  --ink: #102332;
  --muted: #536774;
  --paper: #f4f0e7;
  --paper-deep: #e7e0d3;
  --night: #071b2f;
  --night-soft: #153d59;
  --teal: #4f918e;
  --teal-light: #b9d8d4;
  --sun: #e8a85b;
  --white: #fffdf8;
  --line: rgba(16, 35, 50, 0.14);
  --shadow: 0 24px 70px rgba(7, 27, 47, 0.16);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  z-index: 10;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-150%); background: var(--white); padding: 10px 14px; z-index: 50; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 240, 231, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-shell { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 36px; height: 36px; }
.brand small { display: block; color: var(--muted); font-size: .63rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 12px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 650; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: rgba(79, 145, 142, .12); }
.menu-button { display: none; border: 0; background: transparent; font: inherit; font-weight: 750; color: var(--ink); }

.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--teal); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.035em; }
h1 { margin: 20px 0 22px; font-size: clamp(3.7rem, 7.6vw, 7.1rem); max-width: 850px; }
h2 { margin: 0 0 22px; font-size: clamp(2.5rem, 5vw, 4.6rem); }
h3 { font-size: 1.55rem; margin: 0 0 10px; }
.hero-lead { max-width: 700px; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 19px; border-radius: 999px; text-decoration: none; font-weight: 750; white-space: nowrap; }
.button-primary { color: var(--white); background: var(--night); box-shadow: 0 13px 35px rgba(7, 27, 47, .22); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.35); }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 10% -14% -10% 12%; border-radius: 50%; background: rgba(79,145,142,.18); filter: blur(50px); }
.hero-art img { position: relative; filter: drop-shadow(var(--shadow)); }
.fact-strip { margin-top: -25px; position: relative; z-index: 2; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.fact { padding: 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: Georgia, serif; font-size: 1.45rem; }
.fact span { color: var(--muted); font-size: .85rem; }

.section { padding: 108px 0; }
.section-dark { color: var(--white); background: var(--night); }
.section-dark .muted, .section-dark .section-intro { color: #b9c9d2; }
.section-kicker { color: var(--teal); text-transform: uppercase; letter-spacing: .15em; font-size: .76rem; font-weight: 850; }
.section-dark .section-kicker { color: var(--teal-light); }
.section-intro { color: var(--muted); max-width: 720px; font-size: 1.12rem; margin-bottom: 42px; }
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; align-items: start; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.46); }
.section-dark .card { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.045); }
.card-number { display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 30px; border-radius: 50%; background: rgba(79,145,142,.17); color: var(--teal); font-weight: 850; }
.section-dark .card-number { color: var(--teal-light); }
.card p { margin: 0; color: var(--muted); }
.section-dark .card p { color: #b9c9d2; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.topic { min-height: 240px; padding: 32px; background: var(--night); display: flex; flex-direction: column; justify-content: space-between; }
.topic span { color: var(--sun); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.topic p { color: #b9c9d2; margin-bottom: 0; }
.quote { border-left: 4px solid var(--sun); padding: 4px 0 4px 30px; font-family: Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.35; }
.quote cite { display: block; margin-top: 16px; color: var(--muted); font: 700 .78rem/1.5 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.timeline { display: grid; gap: 0; border-left: 1px solid var(--line); margin-left: 10px; }
.timeline-item { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 0 0 42px 34px; }
.timeline-item::before { content: ""; position: absolute; left: -7px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 3px solid var(--teal); }
.timeline-item time { color: var(--teal); font-weight: 850; }
.timeline-item p { margin: 7px 0 0; color: var(--muted); }
.source-list { display: grid; gap: 12px; }
.source-link { display: grid; grid-template-columns: 1fr auto; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.source-link span { color: var(--muted); }
.source-link:hover strong { color: var(--teal); }
.notice { padding: 24px; border-radius: var(--radius); background: rgba(232,168,91,.13); border: 1px solid rgba(232,168,91,.42); }

.page-hero { padding: 80px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 6.2rem); margin-bottom: 18px; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.18rem; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 72px; font-size: clamp(2.2rem, 4vw, 3.6rem); }
.prose h3 { margin-top: 36px; }
.prose p, .prose li { color: var(--muted); }
.prose a { text-decoration-color: var(--teal); text-underline-offset: 3px; }
.data-table { width: 100%; border-collapse: collapse; margin: 28px 0; }
.data-table th, .data-table td { padding: 15px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: var(--teal); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; padding: 0; list-style: none; }
.tag-list li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.4); }

.site-footer { padding: 58px 0; color: #c2d0d8; background: #041321; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; }
.site-footer p { max-width: 680px; color: #8fa4b0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; align-content: start; }
.footer-links a { text-decoration: none; color: #c2d0d8; }
.footer-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.11); color: #718b99; font-size: .82rem; }

.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.js [data-reveal][data-visible="true"] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } [data-reveal] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-art { max-width: 680px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .nav-shell { min-height: 68px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 14px; right: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
  .nav-links[data-open] { display: grid; }
  .nav-links a { padding: 12px; }
  .hero { padding: 52px 0 76px; }
  h1 { font-size: clamp(2.9rem, 14vw, 4.2rem); }
  .section { padding: 78px 0; }
  .facts, .topic-grid { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .source-link { grid-template-columns: 1fr; gap: 4px; }
}
