:root {
  --bg: #080a0d;
  --panel: #11151a;
  --panel-2: #171c22;
  --ink: #f4f4ed;
  --muted: #989fa8;
  --line: #2b323a;
  --acid: #caff33;
  --violet: #9270ff;
  --paper: #eeeee7;
  --black: #090b0e;
  --shell: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: "IBM Plex Mono", monospace; }
body::selection { background: var(--acid); color: var(--black); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.section { padding-block: 112px; }
.noise { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .09; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 16px; background: var(--acid); color: var(--black); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 4px; }

.site-header { min-height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; width: fit-content; font: 14px/.85 "Archivo Black", sans-serif; }
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
nav { display: flex; gap: 32px; color: #c4c8ce; font-size: 12px; font-weight: 600; }
nav a:hover { color: var(--acid); }

.hero { min-height: calc(100svh - 84px); padding-block: 90px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.kicker, .eyebrow { margin: 0; color: var(--acid); font-size: 11px; font-weight: 600; letter-spacing: .15em; }
.hero h1, h2 { font-family: "Archivo Black", sans-serif; }
.hero h1 { margin: 24px 0 48px; max-width: 1150px; font-size: clamp(68px, 11vw, 156px); line-height: .79; letter-spacing: -.075em; }
.hero h1 em { color: var(--violet); font-style: normal; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 650px) auto; justify-content: space-between; align-items: end; gap: 40px; }
.hero-foot p { margin: 0; color: #b4bac2; font: 600 clamp(17px, 2vw, 25px)/1.38 "IBM Plex Mono", monospace; letter-spacing: -.03em; }
.hero-foot strong { color: var(--ink); }
.primary-link { display: inline-flex; align-items: center; gap: 24px; padding: 17px 20px; background: var(--acid); color: var(--black); font-size: 12px; font-weight: 600; }
.primary-link span { font-size: 20px; }
.ticker { position: absolute; bottom: 0; width: 100vw; left: 50%; transform: translateX(-50%); overflow: hidden; border-block: 1px solid var(--line); padding: 8px 0; color: #616872; white-space: nowrap; font-size: 10px; letter-spacing: .18em; }
.ticker span { display: block; width: max-content; animation: ticker 18s linear infinite; }
@keyframes ticker { to { transform: translateX(-25%); } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.section-head h2 { margin: 10px 0 0; font-size: clamp(35px, 5.5vw, 70px); line-height: .91; letter-spacing: -.055em; }
.updated, .section-copy { max-width: 390px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.status-banner { display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 28px; min-height: 144px; padding: 25px 30px; border: 1px solid var(--violet); background: #9270ff0d; }
.status-index { color: var(--violet); font: 52px "Archivo Black", sans-serif; }
.status-banner strong { font: 25px "Archivo Black", sans-serif; }
.status-banner p { max-width: 750px; margin: 9px 0 0; color: #aeb4bd; line-height: 1.5; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 20px; border: 1px solid var(--line); }
.metric { min-height: 205px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: var(--panel); }
.metric + .metric { border-left: 1px solid var(--line); }
.metric.accent { background: var(--acid); color: var(--black); }
.metric span, .metric small { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.metric small { opacity: .65; }
.metric strong { font: clamp(56px, 6vw, 82px)/.8 "Archivo Black", sans-serif; letter-spacing: -.07em; }

.snapshot-panel { margin-top: 22px; border: 1px solid var(--line); background: var(--panel); }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 28px; border-bottom: 1px solid var(--line); }
.panel-head h3 { margin: 6px 0 0; font: 30px "Archivo Black", sans-serif; }
.panel-head > p { max-width: 390px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.snapshot-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.snapshot-card { padding: 26px; }
.snapshot-card + .snapshot-card { border-left: 1px solid var(--line); }
.champ { display: flex; align-items: center; gap: 13px; margin-bottom: 26px; font: 19px "Archivo Black", sans-serif; }
.champ img { width: 44px; height: 44px; }
.region-row { display: grid; grid-template-columns: 35px 1fr 56px; gap: 10px; align-items: center; margin-top: 13px; font-size: 11px; }
.region-row > span { color: var(--muted); }
.region-row strong { text-align: right; }
.region-row small { grid-column: 2 / -1; margin-top: -7px; color: #737b85; font-size: 9px; }
.bar { height: 7px; overflow: hidden; background: #292f36; }
.bar i { display: block; width: var(--bar); height: 100%; background: var(--violet); }
.region-row:first-of-type .bar i { background: var(--acid); }

.video-band { border-block: 1px solid var(--line); background: #0c0f13; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.video-card { min-width: 0; background: var(--panel); }
.video-card + .video-card { border-left: 1px solid var(--line); }
.thumb { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.05); transition: transform .35s ease, filter .35s ease; }
.thumb span { position: absolute; right: 0; bottom: 0; padding: 10px 12px; background: var(--acid); color: var(--black); font-size: 9px; font-weight: 600; transform: translateY(100%); transition: transform .25s ease; }
.thumb:hover img { transform: scale(1.035); filter: none; }
.thumb:hover span, .thumb:focus-visible span { transform: translateY(0); }
.video-body { padding: 24px; }
.video-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.champ-title { display: flex; gap: 14px; align-items: center; margin: 30px 0 18px; }
.champ-title img { width: 58px; height: 58px; }
.champ-title small { color: var(--muted); text-transform: uppercase; }
.champ-title h3 { margin: 2px 0 0; font: 27px "Archivo Black", sans-serif; }
.video-body > p { min-height: 42px; color: #a7adb5; font-size: 12px; line-height: 1.45; }
.measurement-status { margin-top: 24px; padding-top: 18px; display: flex; flex-direction: column; gap: 5px; border-top: 1px solid var(--line); }
.measurement-status strong { color: var(--muted); font-size: 11px; }
.measurement-status span { color: #7f8791; font-size: 10px; }
.measurement-status small { color: #6f7781; font-size: 9px; line-height: 1.4; }
.measurement-status.ready strong { color: var(--acid); }
.measurement-status.pending strong { color: var(--violet); }
.measurement-status.historical strong { color: #f0c95a; }

.method { background: var(--paper); color: var(--black); }
.eyebrow.ink { color: #5c39d4; }
.method-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; }
.method h2 { margin: 12px 0 0; font-size: clamp(48px, 6vw, 86px); line-height: .87; letter-spacing: -.06em; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--black); }
.steps li { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid #b9bbb5; }
.steps li > span { font-weight: 600; }
.steps h3 { margin: 0 0 7px; font: 21px "Archivo Black", sans-serif; }
.steps p { margin: 0; color: #4f554f; font-size: 13px; line-height: 1.55; }
.source-note { margin-top: 76px; padding: 24px; display: grid; grid-template-columns: 220px 1fr; border: 3px solid var(--black); }
.source-note strong { font-family: "Archivo Black", sans-serif; }
.source-note p { margin: 0; max-width: 780px; font-size: 13px; font-weight: 600; line-height: 1.5; }
.site-footer { min-height: 160px; display: grid; grid-template-columns: .7fr 1.5fr 1fr; align-items: center; gap: 32px; color: #7e8690; font-size: 10px; line-height: 1.5; }
.site-footer strong { color: var(--ink); font: 16px "Archivo Black", sans-serif; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero-foot { grid-template-columns: 1fr; align-items: start; }
  .primary-link { width: fit-content; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .snapshot-list, .video-grid { grid-template-columns: 1fr; }
  .snapshot-card + .snapshot-card, .video-card + .video-card { border-left: 0; border-top: 1px solid var(--line); }
  .method-grid { grid-template-columns: 1fr; gap: 60px; }
  .site-footer { grid-template-columns: 1fr; padding-block: 45px; gap: 8px; }
}

@media (max-width: 600px) {
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .section { padding-block: 78px; }
  .site-header { min-height: 70px; }
  .brand > span:last-child { display: none; }
  .hero { min-height: auto; padding-block: 84px 54px; }
  .hero h1 { font-size: clamp(55px, 19vw, 88px); }
  .section-head, .panel-head { flex-direction: column; align-items: start; }
  .status-banner { grid-template-columns: 1fr; gap: 8px; }
  .status-index { font-size: 36px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .metric { min-height: 170px; }
  .source-note { grid-template-columns: 1fr; gap: 12px; }
}

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