:root {
  color-scheme: dark;
  --soot: #0b0d0e;
  --ink: #101314;
  --surface: #15191a;
  --surface-2: #1d2223;
  --paper: #ded5c1;
  --ivory: #eee8dc;
  --muted: #a6a093;
  --red: #b33a2f;
  --red-bright: #d34a3e;
  --blue: #69b9d0;
  --ochre: #d0a24f;
  --line: rgba(238, 232, 220, 0.17);
  --display: Georgia, Cambria, "Times New Roman", serif;
  --body: "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--soot);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--blue); }
*:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button { font: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.05; text-wrap: balance; }
h1 { margin: .35rem 0 1rem; font-size: clamp(3rem, 7vw, 6.9rem); letter-spacing: -.055em; }
h2 { margin: .25rem 0 1rem; font-size: clamp(2.1rem, 4.2vw, 3.8rem); letter-spacing: -.035em; }
h3 { margin: 0 0 .5rem; font-size: 1.5rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; }
.skip-link:focus { top: 14px; }

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 max(20px, calc((100vw - var(--max))/2));
  border-bottom: 1px solid var(--line);
  background: rgba(11, 13, 14, .9);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ivory); }
.brand b { display: block; font-family: var(--display); font-size: 1.12rem; letter-spacing: .02em; }
.brand small { display: block; color: var(--muted); font-size: .69rem; line-height: 1; text-transform: uppercase; letter-spacing: .16em; }
.brand-mark { width: 36px; aspect-ratio: 1; display: inline-grid; place-items: center; position: relative; background: var(--paper); overflow: hidden; flex: none; }
.brand-mark::before { content: ""; width: 45px; height: 7px; background: var(--red); rotate: -48deg; }
.brand-mark i { position: absolute; width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--blue); left: 6px; top: 6px; box-shadow: 0 0 10px var(--blue); }
.site-nav { display: flex; align-items: stretch; align-self: stretch; }
.site-nav a { display: grid; place-items: center; padding: 0 15px; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; text-decoration: none; position: relative; }
.site-nav a[aria-current="page"] { color: var(--ivory); }
.site-nav a[aria-current="page"]::after { content: ""; height: 2px; background: var(--red); position: absolute; inset: auto 15px 0; }
.nav-toggle { display: none; min-height: 44px; border: 0; background: transparent; color: var(--ivory); text-transform: uppercase; font-size: .75rem; letter-spacing: .12em; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 72% 40%, rgba(105,185,208,.08), transparent 26%), linear-gradient(125deg, #0b0d0e 35%, #15191a 100%); }
.hero::before { content: ""; position: absolute; width: 480px; height: 190%; background: linear-gradient(90deg, transparent, rgba(179,58,47,.23), transparent); left: 53%; top: -46%; rotate: 24deg; filter: blur(20px); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(340px, 5fr); gap: clamp(30px, 7vw, 90px); align-items: center; padding-block: 82px; position: relative; }
.hero--home .hero-grid { min-height: calc(100vh - 78px); max-height: 900px; }
.hero-copy { position: relative; z-index: 2; }
.hero--article h1 { font-size: clamp(3rem, 6vw, 6rem); }
.eyebrow, .section-kicker { color: var(--ochre); font-size: .74rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 700; }
.hero-lead { color: var(--paper); max-width: 700px; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.55; }
.signal-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 19px 0; }
.signal { display: inline-flex; align-items: center; width: max-content; padding: 4px 8px; border: 1px solid currentColor; color: var(--paper); background: rgba(222,213,193,.06); font-size: .65rem; line-height: 1.2; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.signal--official { color: var(--blue); }
.signal--observed { color: var(--ochre); }
.signal--community { color: #d7a375; }
.signal--derived { color: #aeb9aa; }
.signal--unknown { color: #cc7d77; }
.direct-answer { max-width: 730px; margin-top: 30px; padding: 18px 20px 17px 24px; border-left: 3px solid var(--red); background: linear-gradient(90deg, rgba(179,58,47,.16), rgba(179,58,47,0)); }
.direct-answer span { display: block; margin-bottom: 3px; color: var(--red-bright); font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.direct-answer p { margin: 0; color: var(--ivory); font-weight: 600; }
.hero-visual { margin: 0; position: relative; z-index: 1; align-self: stretch; min-height: 460px; box-shadow: var(--shadow); clip-path: polygon(10% 0, 100% 0, 94% 90%, 0 100%); background: var(--surface-2); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11,13,14,.86)); pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.09); }
.hero-visual figcaption { position: absolute; z-index: 2; bottom: 72px; left: 36px; right: 52px; padding-top: 11px; border-top: 1px solid rgba(238,232,220,.35); color: var(--paper); font-size: .72rem; line-height: 1.35; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.breadcrumbs a { text-decoration: none; }

.content-section { padding-block: clamp(70px, 10vw, 120px); }
.content-section + .content-section { border-top: 1px solid var(--line); }
.content-section--paper { background: var(--paper); color: var(--ink); }
.content-section--paper .section-kicker { color: #7f2a24; }
.content-section--mist { background: linear-gradient(145deg, #171d1e, #101314); }
.section-head { display: grid; grid-template-columns: 4fr 7fr; gap: 60px; align-items: end; margin-bottom: 46px; }
.section-head p { color: var(--muted); max-width: 650px; }
.content-section--paper .section-head p { color: #4e504c; }
.task-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.task-card { min-height: 270px; padding: 26px; background: var(--surface); text-decoration: none; display: flex; flex-direction: column; transition: background .2s ease, translate .2s ease; }
.task-card:hover { background: var(--surface-2); translate: 0 -3px; color: var(--ivory); }
.task-card .task-number { color: var(--red-bright); font-family: var(--display); font-size: 2.5rem; line-height: 1; }
.task-card h3 { margin-top: auto; }
.task-card p { color: var(--muted); font-size: .92rem; }
.task-card b { color: var(--blue); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.two-column { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: clamp(40px, 8vw, 100px); align-items: start; }
.prose { max-width: 760px; min-width: 0; }
.prose > * + * { margin-top: 1.3rem; }
.prose h2, .prose h3 { margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--paper); }
.content-section--paper .prose p, .content-section--paper .prose li { color: #303432; }
.prose a { color: var(--blue); }
.content-section--paper .prose a { color: #336f80; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .55rem; }
.jump-list { position: sticky; top: 112px; border-top: 2px solid var(--red); padding-top: 18px; }
.jump-list > span { color: var(--muted); font-size: .67rem; text-transform: uppercase; letter-spacing: .16em; }
.jump-list a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--paper); text-decoration: none; font-size: .88rem; }
.jump-list a:hover { color: var(--blue); }
.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-top: 44px; }
.fact-strip > div { padding: 22px; min-height: 125px; }
.fact-strip > div + div { border-left: 1px solid var(--line); }
.fact-strip span { display: block; color: var(--muted); font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; }
.fact-strip strong { display: block; margin-top: 8px; font-family: var(--display); font-size: 1.45rem; line-height: 1.2; font-weight: 500; }
.content-section--paper .fact-strip { border-color: rgba(16,19,20,.2); }
.content-section--paper .fact-strip > div + div { border-color: rgba(16,19,20,.2); }
.content-section--paper .fact-strip span { color: #5e625d; }
.table-wrap { width: 100%; max-width: 100%; overflow-x: auto; border-top: 2px solid var(--red); overscroll-behavior-inline: contain; scrollbar-color: var(--red) rgba(238,232,220,.12); }
table { width: 100%; border-collapse: collapse; min-width: 660px; }
th, td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-size: .69rem; text-transform: uppercase; letter-spacing: .13em; }
td:first-child { color: var(--ivory); font-weight: 700; }
.content-section--paper th, .content-section--paper td { border-color: rgba(16,19,20,.19); }
.content-section--paper th { color: #5e625d; }
.content-section--paper td:first-child { color: var(--ink); }
.note, .spoiler-note { margin-block: 28px; padding: 20px 22px; border: 1px solid var(--line); background: rgba(105,185,208,.07); }
.note b, .spoiler-note b { display: block; margin-bottom: 5px; color: var(--blue); text-transform: uppercase; font-size: .7rem; letter-spacing: .14em; }
.note p, .spoiler-note p { margin: 0; }
.spoiler-note { border-color: rgba(179,58,47,.6); background: rgba(179,58,47,.08); }
.spoiler-note b { color: var(--red-bright); }
.steps { list-style: none; counter-reset: steps; padding: 0 !important; border-top: 1px solid var(--line); }
.steps li { counter-increment: steps; display: grid; grid-template-columns: 60px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(steps, decimal-leading-zero); color: var(--red-bright); font-family: var(--display); font-size: 1.8rem; line-height: 1; }
.steps strong { display: block; color: var(--ivory); }
.content-section--paper .steps { border-color: rgba(16,19,20,.2); }
.content-section--paper .steps li { border-color: rgba(16,19,20,.2); }
.content-section--paper .steps strong { color: var(--ink); }
.media-band { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 510px; }
.media-band figure { margin: 0; min-height: 430px; position: relative; overflow: hidden; }
.media-band img { width: 100%; height: 100%; object-fit: cover; }
.media-band figcaption { position: absolute; left: 24px; right: 24px; bottom: 20px; padding: 10px 12px; background: rgba(11,13,14,.8); color: var(--paper); font-size: .72rem; line-height: 1.35; }
.media-band > div { padding: clamp(40px, 7vw, 90px); align-self: center; }
.media-band p { color: var(--muted); }
.evidence-key { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); }
.evidence-key > div { background: var(--surface); padding: 22px; min-height: 160px; }
.evidence-key p { color: var(--muted); font-size: .82rem; margin-top: 10px; }
.button { display: inline-flex; padding: 11px 15px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; }
.sources { padding-block: 80px; border-top: 1px solid var(--line); }
.sources h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.sources ol { margin: 32px 0 0; padding: 0; list-style: none; counter-reset: sources; border-top: 1px solid var(--line); }
.sources li { counter-increment: sources; display: grid; grid-template-columns: minmax(220px, .75fr) 1fr; gap: 30px; padding: 18px 0 18px 45px; border-bottom: 1px solid var(--line); position: relative; }
.sources li::before { content: counter(sources, decimal-leading-zero); position: absolute; left: 0; color: var(--red-bright); font-family: var(--display); }
.sources li a { color: var(--ivory); font-weight: 700; }
.sources li span { color: var(--muted); }
.boundary { display: grid; grid-template-columns: 190px 1fr; gap: 30px; margin-block: 30px 80px; padding: 24px; border: 1px solid rgba(179,58,47,.38); background: rgba(179,58,47,.06); }
.boundary p { margin: 0; color: var(--paper); }
.site-footer { border-top: 1px solid var(--line); padding-block: 45px; background: #070909; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid b { font-family: var(--display); font-size: 1.4rem; }
.footer-grid span { color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.footer-grid p { color: var(--muted); font-size: .78rem; margin-top: 8px; }
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 30px; background: radial-gradient(circle at center, #202627, #0b0d0e 55%); }
.error-page h1 { font-size: clamp(3rem, 9vw, 7rem); }
.error-page .brand-mark { margin: 0 auto 30px; width: 60px; }

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr 330px; gap: 30px; }
  .hero-visual { min-height: 400px; }
  .task-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .evidence-key { grid-template-columns: repeat(3, 1fr); }
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .fact-strip > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .fact-strip > div:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .site-header { min-height: 68px; padding-inline: 16px; }
  .nav-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
  .nav-toggle i { width: 20px; height: 8px; border-block: 1px solid currentColor; }
  .site-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; height: auto; flex-direction: column; border-bottom: 1px solid var(--line); background: #0b0d0e; padding: 8px 16px 18px; }
  .site-nav[data-open="true"] { display: flex; }
  .site-nav a { min-height: 46px; justify-content: start; padding: 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"]::after { inset: auto auto -1px 0; width: 44px; }
  .hero-grid, .hero--home .hero-grid { grid-template-columns: 1fr; min-height: auto; max-height: none; padding-block: 52px 38px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; min-height: 360px; clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 93%); }
  .hero-visual figcaption { left: 24px; right: 38px; bottom: 38px; }
  .hero::before { left: 45%; }
  h1, .hero--article h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .task-grid { grid-template-columns: 1fr; }
  .task-card { min-height: 215px; }
  .two-column { grid-template-columns: 1fr; }
  .jump-list { position: static; display: flex; overflow-x: auto; gap: 18px; padding: 13px 0; border-block: 1px solid var(--line); border-top-width: 1px; order: -1; }
  .jump-list > span { display: none; }
  .jump-list a { flex: none; border: 0; padding: 4px 0; }
  .media-band { grid-template-columns: 1fr; }
  .media-band > div { padding: 48px 20px 58px; }
  .media-band figure { min-height: 360px; }
  .evidence-key { grid-template-columns: 1fr; }
  .sources li { grid-template-columns: 1fr; gap: 4px; }
  .boundary { grid-template-columns: 1fr; gap: 14px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 430px) {
  .brand small { display: none; }
  .direct-answer { padding: 16px 12px 16px 18px; }
  .hero-visual { min-height: 295px; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .content-section { padding-block: 64px; }
  th, td { padding: 13px 14px; }
}

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