/* Theoria Weekly — design system
   Direction: consulting-grade editorial. Bold sans headlines, square corners,
   paper / ink / brick-red, data-art instead of photography, rich but purposeful motion. */

:root {
  /* Ink (warm-cool neutral, slightly blue-tinted) */
  --ink-900: #17191E;
  --ink-800: #22252C;
  --ink-700: #2F333B;
  --ink-600: #3E434B;
  --ink-500: #5B606A;
  --ink-400: #8A9099;
  --ink-300: #B6BAC2;
  --ink-200: #DEDED8;
  --ink-100: #F0F0EA;
  --paper: #FAFAF7;
  --white: #FFFFFF;

  /* Brick */
  --brick-900: #5E1A0A;
  --brick-700: #8C2A12;
  --brick-500: #B83A1B;
  --brick-400: #D4532D;
  --brick-300: #E8784F;   /* lines on ink */
  --brick-200: #F2B8A3;   /* text accent on ink */
  --brick-100: #F9E3DA;

  --display: 'Archivo', 'Instrument Sans', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --header-h: 72px;

  --shadow-1: 0 1px 2px rgba(23,25,30,.08);
  --shadow-2: 0 1px 2px rgba(23,25,30,.06), 0 4px 12px rgba(23,25,30,.06);
  --shadow-3: 0 2px 4px rgba(23,25,30,.04), 0 12px 32px rgba(23,25,30,.10);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in: cubic-bezier(.7,0,.84,0);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink-900); font-family: var(--sans); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--brick-500); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brick-700); }
:focus-visible { outline: 2px solid var(--brick-500); outline-offset: 3px; }
.on-ink :focus-visible, .ink :focus-visible { outline-color: var(--brick-200); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink-900); color: #fff; padding: 12px 16px; }
.skip:focus { left: 8px; }

.eyebrow { margin: 0; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brick-500); }
.ink .eyebrow { color: var(--brick-200); }
.eyebrow.muted { color: var(--ink-500); }
.ink .eyebrow.muted { color: var(--ink-300); }

.ink { background: var(--ink-900); color: var(--paper); }
.tint { background: var(--ink-100); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; font-family: var(--sans); font-size: 16px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out), transform 200ms var(--ease-out); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brick-500); color: #fff; }
.btn-primary:hover { background: var(--brick-700); color: #fff; }
.btn-ghost { border-color: currentColor; color: inherit; }
.ink .btn-ghost { color: var(--paper); border-color: var(--ink-500); }
.ink .btn-ghost:hover { border-color: var(--paper); color: var(--paper); }
.btn-ghost:hover { color: var(--brick-500); }
.btn-light { background: var(--paper); color: var(--ink-900); }
.btn-light:hover { background: #fff; color: var(--brick-700); }
.arrow { display: inline-block; transition: transform 250ms var(--ease-out); }
a:hover .arrow, .btn:hover .arrow, .card:hover .arrow { transform: translateX(6px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink-900); background-image: linear-gradient(var(--brick-500), var(--brick-500)); background-size: 0 2px; background-position: 0 85%; background-repeat: no-repeat; transition: background-size 300ms var(--ease-out), color 200ms; }
.link-arrow:hover { background-size: calc(100% - 24px) 2px; color: var(--ink-900); }
.ink .link-arrow { color: var(--paper); background-image: linear-gradient(var(--brick-300), var(--brick-300)); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--header-h); color: var(--paper); transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out), box-shadow 300ms var(--ease-out), transform 400ms var(--ease-out); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled { background: rgba(250,250,247,.96); color: var(--ink-900); box-shadow: 0 1px 0 var(--ink-200); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; color: inherit; text-decoration: none; }
.brand:hover { color: inherit; }
.brand-mark { width: 32px; height: 32px; background: var(--brick-500); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 20px; font-weight: 800; }
.brand-name { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: .08em; }
.brand-name span { font-weight: 500; letter-spacing: .14em; margin-left: 6px; opacity: 1; color: var(--brick-200); }
.is-scrolled .brand-name span, .menu-open .brand-name span { color: var(--brick-500); }
.menu-open .brand-name span { color: var(--brick-200); }
.nav { display: none; align-items: center; gap: 8px; }
.nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 15px; font-weight: 500; color: inherit; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 8px; height: 2px; background: var(--brick-300); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.is-scrolled .nav a::after { background: var(--brick-500); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn, .nav .btn:hover { color: #fff; }
.nav .btn { min-height: 44px; padding: 0 20px; margin-left: 12px; font-size: 15px; }
.nav .btn::after { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; background: none; border: 0; color: inherit; font: 600 15px var(--sans); cursor: pointer; }
.menu-btn .bars { position: relative; width: 22px; height: 14px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform 300ms var(--ease-out), top 300ms var(--ease-out); }
.menu-btn .bars::before { top: 2px; }
.menu-btn .bars::after { top: 10px; }
.menu-open .menu-btn .bars::before { top: 6px; transform: rotate(45deg); }
.menu-open .menu-btn .bars::after { top: 6px; transform: rotate(-45deg); }
.menu-open .site-header { background: var(--ink-900); color: var(--paper); box-shadow: none; transform: none; }
@media (min-width: 860px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--ink-900); color: var(--paper); padding: calc(var(--header-h) + 32px) var(--gutter) 48px; display: flex; flex-direction: column; gap: 8px; visibility: hidden; opacity: 0; transition: opacity 300ms var(--ease-out), visibility 0s linear 300ms; }
.menu-open .mobile-menu { visibility: visible; opacity: 1; transition: opacity 300ms var(--ease-out); }
.mobile-menu a { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -0.02em; color: var(--paper); text-decoration: none; min-height: 56px; display: flex; align-items: center; border-bottom: 1px solid var(--ink-700); opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out), color 200ms; }
.mobile-menu a:hover { color: var(--brick-200); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: 60ms; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: 120ms; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: 180ms; }
@media (min-width: 860px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: min(92vh, 900px); display: flex; align-items: flex-end; padding: calc(var(--header-h) + 64px) 0 64px; isolation: isolate; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art svg { width: 100%; height: 100%; display: block; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,25,30,.92) 0%, rgba(23,25,30,.72) 45%, rgba(23,25,30,.15) 100%); }
.hero-content { max-width: 960px; }
.hero h1 { font-family: var(--display); font-size: clamp(48px, 7.4vw, 104px); line-height: .98; font-weight: 800; letter-spacing: -0.035em; margin: 24px 0 32px; }
.hero h1 em { font-style: normal; color: var(--brick-200); }
.hero .lede { margin: 0 0 40px; max-width: 600px; font-size: clamp(18px, 1vw + 12px, 22px); line-height: 1.5; color: var(--ink-300); }
.hero .lede strong { color: var(--paper); font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: 32px; display: none; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-300); }
.scroll-cue i { display: block; width: 1px; height: 48px; background: var(--ink-600); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--brick-300); animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { to { top: 100%; } }
@media (min-width: 1024px) { .scroll-cue { display: flex; } }
.art-label { font: 600 13px var(--sans); fill: var(--ink-400); letter-spacing: .02em; }
@media (max-width: 759px) {
  .hero-art .art-label { display: none; }
  .hero-art::after, .page-hero .hero-art::after { background: linear-gradient(180deg, rgba(23,25,30,.55) 0%, rgba(23,25,30,.9) 45%, rgba(23,25,30,.94) 100%); }
}

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(64px, 9vw, 128px)) 0 clamp(48px, 6vw, 96px); isolation: isolate; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; margin: 16px 0 24px; max-width: 14ch; }
.page-hero .lede { margin: 0; max-width: 620px; font-size: clamp(18px, 1vw + 12px, 22px); line-height: 1.5; color: var(--ink-300); }
.page-hero .hero-art::after { background: linear-gradient(90deg, rgba(23,25,30,.95) 0%, rgba(23,25,30,.8) 50%, rgba(23,25,30,.4) 100%); }

/* ---------- Data-art ---------- */
.art-grid line { stroke: var(--ink-700); stroke-width: 1; }
.art-line { fill: none; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.art-main { stroke: var(--paper); stroke-width: 2.5; }
.art-ext { stroke: var(--brick-300); stroke-width: 2.5; }
.art-ext.dash { stroke-dasharray: 6 5; }
.art-dot { fill: var(--brick-300); }
.art-pulse { fill: none; stroke: var(--brick-300); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4); opacity: 0; } }

/* line drawing: paths use pathLength="1" */
.js .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw.dash { stroke-dasharray: none; }
.js .is-in .draw, .js .draw.is-in { animation: draw 2.2s var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .fade-late { opacity: 0; }
.js .is-in .fade-late { animation: fadein 600ms var(--ease-out) forwards; animation-delay: var(--d, 1600ms); }
@keyframes fadein { to { opacity: 1; } }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-line { transform: scaleX(0); transform-origin: left; transition: transform 1200ms var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal-line.is-in, .js .is-in .reveal-line { transform: scaleX(1); }

/* split-word headline reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; }
.js .split .w > span { transform: translateY(105%); transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 60ms + 150ms); }
.js .split.is-in .w > span { transform: none; }

/* ---------- Ticker ---------- */
.ticker { background: var(--brick-500); color: #fff; overflow: hidden; border-top: 1px solid var(--brick-700); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker li { display: flex; align-items: baseline; gap: 12px; padding: 16px 32px; white-space: nowrap; font-size: 15px; border-right: 1px solid rgba(255,255,255,.25); }
.ticker li b { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 144px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; margin-top: 16px; }
.section-head p { margin: 0; max-width: 440px; color: var(--ink-500); font-size: 18px; }
.ink .section-head p { color: var(--ink-300); }

/* Feature */
.feature { display: grid; grid-template-columns: 1fr; background: var(--white); box-shadow: var(--shadow-2); color: var(--ink-900); text-decoration: none; transition: box-shadow 400ms var(--ease-out), transform 400ms var(--ease-out); }
.feature:hover { color: var(--ink-900); box-shadow: var(--shadow-3); transform: translateY(-4px); }
.feature-art { position: relative; overflow: hidden; background: var(--ink-900); aspect-ratio: 16 / 10; }
.feature-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1200ms var(--ease-out); }
.feature:hover .feature-art svg, .card:hover .card-art svg { transform: scale(1.05); }
.feature-art .big { position: absolute; left: clamp(24px, 4vw, 48px); bottom: clamp(16px, 3vw, 32px); margin: 0; font-family: var(--display); font-size: clamp(88px, 12vw, 176px); font-weight: 800; line-height: .85; letter-spacing: -0.05em; color: var(--brick-200); }
.feature-body { padding: clamp(24px, 4vw, 56px); display: flex; flex-direction: column; gap: 16px; }
.feature-body h3 { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; transition: color 200ms; }
.feature:hover h3 { color: var(--brick-700); }
.feature-body .dek { margin: 0; font-size: 18px; color: var(--ink-600); }
.meta { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; font-size: 14px; color: var(--ink-500); }
.feature-body .link-arrow { margin-top: auto; align-self: flex-start; }
@media (min-width: 960px) { .feature { grid-template-columns: 7fr 5fr; } .feature-art { aspect-ratio: auto; min-height: 520px; } }

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px 32px; }
.number { border-top: 1px solid var(--ink-700); padding-top: 24px; }
.number .n { margin: 0 0 12px; font-family: var(--display); font-size: clamp(56px, 6vw, 88px); font-weight: 800; line-height: .95; letter-spacing: -0.04em; color: var(--paper); font-variant-numeric: tabular-nums lining-nums; }
.number .n small { font-size: .5em; letter-spacing: -0.02em; color: var(--brick-200); }
.number p:last-child { margin: 0; color: var(--ink-300); font-size: 16px; max-width: 30ch; }
.numbers-note { margin: 48px 0 0; font-size: 14px; color: var(--ink-300); }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px 32px; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding-top: 40px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ink-200); }
.step .bar { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--brick-500); }
.step .num { margin: 0 0 16px; font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--brick-500); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-600); font-size: 17px; }

/* Coverage */
.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; background: var(--ink-200); border: 2px solid var(--ink-200); }
.region { position: relative; background: var(--paper); padding: 32px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: background-color 300ms var(--ease-out), color 300ms var(--ease-out); }
.region:hover { background: var(--ink-900); color: var(--paper); }
.region h3 { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.region p { margin: 0; font-size: 16px; color: var(--ink-500); transition: color 300ms; }
.region:hover p { color: var(--ink-300); }
.region .dots { position: absolute; right: -8px; top: -8px; width: 120px; height: 120px; opacity: .5; background-image: radial-gradient(var(--brick-500) 1.5px, transparent 1.5px); background-size: 12px 12px; transition: transform 600ms var(--ease-out), opacity 300ms; }
.region:hover .dots { transform: scale(1.15) rotate(6deg); opacity: .9; }

/* CTA band */
.cta-band { background: var(--brick-500); color: #fff; padding: clamp(64px, 8vw, 112px) 0; position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.035em; max-width: 14ch; }
.cta-band .ring { position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border: 2px solid rgba(255,255,255,.18); border-radius: 50%; }
.cta-band .ring + .ring { right: -40px; top: -40px; width: 320px; height: 320px; }

/* ---------- Cards / insights ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.chip { min-height: 44px; padding: 0 20px; background: transparent; color: var(--ink-900); border: 1px solid var(--ink-300); font: 500 15px var(--sans); cursor: pointer; transition: background-color 200ms var(--ease-out), color 200ms, border-color 200ms; }
.chip:hover { border-color: var(--ink-900); }
.chip[aria-pressed="true"] { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }
.result-count { margin: 0 0 40px; font-size: 14px; color: var(--ink-500); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; background: var(--white); color: var(--ink-900); text-decoration: none; box-shadow: var(--shadow-1); transition: box-shadow 400ms var(--ease-out), transform 400ms var(--ease-out); }
.card:hover { color: var(--ink-900); box-shadow: var(--shadow-3); transform: translateY(-4px); }
.card-art { position: relative; overflow: hidden; background: var(--ink-900); aspect-ratio: 16 / 10; }
.card-art svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1200ms var(--ease-out); }
.card-art .big { position: absolute; left: 24px; bottom: 16px; margin: 0; font-family: var(--display); font-size: 88px; font-weight: 800; line-height: .85; letter-spacing: -0.05em; color: var(--brick-200); }
.card-body { padding: 24px 24px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; transition: color 200ms; }
.card:hover h3 { color: var(--brick-700); }
.card-body .dek { margin: 0; font-size: 16px; color: var(--ink-600); }
.card-body .meta { margin-top: auto; padding-top: 12px; }
.card-next { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; border: 2px dashed var(--ink-300); min-height: 320px; }
.card-next h3 { font-size: 24px; line-height: 1.2; }
.card-next p { margin: 0; color: var(--ink-500); font-size: 16px; }
.card-next .tick { display: flex; gap: 6px; }
.card-next .tick i { width: 10px; height: 10px; background: var(--ink-300); animation: tick 1.8s ease-in-out infinite; }
.card-next .tick i:nth-child(2) { animation-delay: .2s; }
.card-next .tick i:nth-child(3) { animation-delay: .4s; }
@keyframes tick { 0%, 100% { background: var(--ink-300); } 50% { background: var(--brick-500); } }
.empty { display: none; padding: 48px 32px; background: var(--ink-100); text-align: center; }
.empty.is-shown { display: block; }
.empty h3 { font-size: 24px; margin-bottom: 8px; }
.empty p { margin: 0 0 16px; color: var(--ink-500); }
.empty button { min-height: 44px; padding: 0 20px; background: var(--ink-900); color: var(--paper); border: 0; font: 600 15px var(--sans); cursor: pointer; }
[hidden] { display: none !important; }

/* ---------- About ---------- */
.split-2 { display: grid; grid-template-columns: 1fr; gap: 32px 64px; }
@media (min-width: 960px) { .split-2 { grid-template-columns: 5fr 7fr; } }
.split-2 h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
.statement { margin: 0 0 24px; font-family: var(--display); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.body-copy p { margin: 0 0 24px; font-size: 19px; line-height: 1.7; color: var(--ink-600); max-width: 62ch; }
.standards { display: grid; gap: 0; border-top: 2px solid var(--ink-900); }
.standard { display: grid; grid-template-columns: 1fr; gap: 8px 48px; padding: 32px 0; border-bottom: 1px solid var(--ink-200); }
@media (min-width: 860px) { .standard { grid-template-columns: 80px 5fr 7fr; align-items: baseline; } }
.standard .num { font-family: var(--display); font-size: 16px; font-weight: 800; color: var(--brick-500); }
.standard h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; font-weight: 700; }
.standard p { margin: 0; color: var(--ink-600); font-size: 17px; }
.specimen { background: var(--white); box-shadow: var(--shadow-2); padding: 24px; font-size: 14px; }
.specimen table { width: 100%; border-collapse: collapse; }
.specimen td { padding: 12px 8px 12px 0; border-top: 1px solid var(--ink-200); vertical-align: top; }

/* ---------- Article ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; }
.progress i { display: block; height: 100%; background: var(--brick-500); transform: scaleX(0); transform-origin: left; }
.article-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.article-hero h1 { font-size: clamp(36px, 5.2vw, 72px); line-height: 1.02; max-width: 20ch; }
.article-hero .lede { max-width: 680px; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; font-size: 15px; color: var(--ink-300); }
.byline strong { color: var(--paper); font-weight: 600; }
.byline a { color: var(--brick-200); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: clamp(48px, 6vw, 80px); }
@media (min-width: 1120px) { .article-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; } }
.toc { display: none; }
@media (min-width: 1120px) {
  .toc { display: block; position: sticky; top: 104px; align-self: start; font-size: 14px; }
  .toc p { margin: 0 0 16px; }
  .toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink-200); }
  .toc a { display: block; padding: 8px 0 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-500); text-decoration: none; line-height: 1.35; transition: color 200ms, border-color 300ms var(--ease-out); }
  .toc a:hover { color: var(--ink-900); }
  .toc a.is-active { color: var(--ink-900); font-weight: 600; border-left-color: var(--brick-500); }
}
.article-main { min-width: 0; }

.glance { background: var(--ink-100); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .glance { grid-template-columns: 3fr 2fr; } }
.glance h2 { margin-bottom: 24px; font-family: var(--sans); }
.glance ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.glance li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.glance li > span { width: 40px; height: 40px; background: var(--ink-900); color: var(--paper); display: grid; place-items: center; font-family: var(--display); font-size: 16px; font-weight: 800; }
.glance li p { margin: 0; font-size: 18px; line-height: 1.55; }
.stats { margin: 0; display: flex; flex-direction: column; gap: 24px; }
.stats div { border-top: 2px solid var(--ink-900); padding-top: 12px; }
.stats div.hl { border-top-color: var(--brick-500); }
.stats dt { font-size: 14px; color: var(--ink-500); }
.stats dd { margin: 4px 0 0; font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums lining-nums; }
.stats div.hl dd { color: var(--brick-500); }

.prose { max-width: 680px; }
.prose p { font-size: clamp(18px, .4vw + 16px, 20px); line-height: 1.7; margin: 0 0 24px; color: var(--ink-800); }
.prose h2 { font-size: clamp(28px, 2.4vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; margin: 80px 0 24px; scroll-margin-top: 104px; }
.prose h2::before { content: ""; display: block; width: 48px; height: 4px; background: var(--brick-500); margin-bottom: 24px; }
.prose > :first-child { margin-top: 0; }
.prose-start { margin-top: 64px; }

.exhibit { margin: 64px 0; }
.exhibit-inner { border-top: 2px solid var(--ink-900); padding-top: 16px; }
.exhibit .eyebrow { margin-bottom: 12px; }
.exhibit h3 { font-size: clamp(22px, 1.6vw + 12px, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; max-width: 30ch; }
.exhibit .unit { margin: 0 0 16px; font-size: 14px; color: var(--ink-500); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; font-size: 14px; color: var(--ink-600); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; width: 24px; height: 3px; background: var(--ink-900); }
.legend i.acc { background: var(--brick-500); }
.legend i.dash { height: 0; background: none; border-top: 3px dashed var(--brick-500); }
.legend i.box { width: 16px; height: 12px; background: #E4E4DD; }
.chart-scroll { overflow-x: auto; }
.chart-scroll svg { display: block; width: 100%; min-width: 640px; height: auto; font-family: var(--sans); }
.exhibit figcaption { margin-top: 16px; max-width: 760px; font-size: 13px; line-height: 1.6; color: var(--ink-500); }
.exhibit figcaption p { margin: 0 0 8px; }
.exhibit figcaption b { font-weight: 600; color: var(--ink-600); }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.panel { background: var(--white); padding: 24px; box-shadow: var(--shadow-1); }
.panel .t { margin: 0; font-size: 15px; font-weight: 600; }
.panel .u { margin: 4px 0 16px; font-size: 13px; color: var(--ink-500); }
.panel .v { margin: 0; font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.panel .v span { color: var(--ink-400); font-weight: 500; }
.panel .v em { font-style: normal; color: var(--brick-500); }
.panel svg { display: block; width: 100%; height: auto; margin: 16px 0; font-family: var(--sans); }
.panel .n { margin: 0; font-size: 14px; color: var(--ink-600); }
.big-stat { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 32px; margin-bottom: 24px; }
.big-stat .n { margin: 0; font-family: var(--display); font-size: 72px; font-weight: 800; line-height: .9; letter-spacing: -0.04em; color: var(--brick-500); font-variant-numeric: tabular-nums; }
.big-stat p:last-child { margin: 0; max-width: 320px; font-size: 16px; line-height: 1.45; color: var(--ink-600); }
.stack-labels { display: flex; gap: 2px; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.stack-labels div { min-width: 0; padding-top: 6px; border-top: 3px solid; }
.stack { display: flex; gap: 2px; height: 64px; }
.js .stack div { transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
.js .is-in .stack div { transform: none; }
.swatches { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 24px; font-size: 14px; font-variant-numeric: tabular-nums lining-nums; }
.swatches li { display: flex; align-items: center; gap: 8px; }
.swatches li i { flex: none; width: 12px; height: 12px; }
.swatches li span { flex: 1; }

.pull { margin: 80px 0; padding: 48px 0; border-top: 2px solid var(--ink-900); border-bottom: 2px solid var(--ink-900); }
.pull p { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; max-width: 22ch; }
.pull p em { font-style: normal; color: var(--brick-500); }

.mind { margin: 96px 0 0; padding: clamp(32px, 5vw, 64px); }
.mind h2 { margin-bottom: 32px; font-family: var(--sans); }
.mind ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.mind li { border-top: 2px solid var(--brick-300); padding-top: 16px; font-size: 19px; line-height: 1.5; }

.sources { margin-top: 96px; scroll-margin-top: 104px; }
.sources h2 { font-size: clamp(28px, 2.4vw, 36px); line-height: 1.15; font-weight: 800; letter-spacing: -0.025em; margin: 8px 0; }
.sources .checked { margin: 0 0 24px; font-size: 14px; color: var(--ink-500); }
.table-scroll { overflow-x: auto; border-top: 2px solid var(--ink-900); }
.ledger { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.ledger th { text-align: left; padding: 12px 16px; color: var(--ink-500); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.ledger th:first-child, .ledger td:first-child { padding-left: 0; width: 44%; }
.ledger th:last-child, .ledger td:last-child { padding-right: 0; }
.ledger td { padding: 16px; border-top: 1px solid var(--ink-200); vertical-align: top; }
.ledger td:last-child { color: var(--ink-600); }
.ledger tbody tr { transition: background-color 200ms; }
.ledger tbody tr:hover { background: var(--ink-100); }
.tag { display: inline-block; padding: 2px 8px; background: var(--ink-100); font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag.est { background: var(--brick-100); color: var(--brick-700); }
details { border-bottom: 1px solid var(--ink-200); }
details:first-of-type { margin-top: 32px; }
summary { min-height: 56px; display: flex; align-items: center; gap: 16px; cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--brick-500), var(--brick-500)) center / 14px 2px no-repeat, linear-gradient(var(--brick-500), var(--brick-500)) center / 2px 14px no-repeat; transition: transform 300ms var(--ease-out); }
details[open] summary::before { transform: rotate(45deg); }
details .body { max-width: 680px; padding: 0 0 24px 30px; font-size: 16px; line-height: 1.65; color: var(--ink-600); }
details .body p { margin: 0 0 12px; }
details .body b { color: var(--ink-900); font-weight: 600; }

.next-read { margin-top: 96px; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(64px, 8vw, 112px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--ink-700); }
@media (min-width: 860px) { .footer-top { grid-template-columns: 2fr 1fr 1fr; } }
.footer-word { margin: 0 0 16px; font-family: var(--display); font-size: clamp(40px, 6vw, 80px); font-weight: 800; line-height: .95; letter-spacing: -0.04em; }
.footer-word span { color: var(--brick-200); }
.footer-tag { margin: 0; color: var(--ink-300); max-width: 36ch; }
.site-footer h2 { font-family: var(--sans); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-flex; min-height: 44px; align-items: center; color: var(--paper); text-decoration: none; }
.site-footer li a:hover { color: var(--brick-200); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 14px; color: var(--ink-300); }

/* 404 */
.nf { min-height: 80vh; display: flex; align-items: center; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; animation-delay: 0ms !important; }
  .js .reveal, .js .split .w > span, .js .reveal-line, .js .stack div, .js .fade-late { opacity: 1 !important; transform: none !important; }
  .js .draw { stroke-dashoffset: 0 !important; }
  .ticker-track { animation: none !important; flex-wrap: wrap; width: auto; }
  .ticker-track ul[aria-hidden] { display: none; }
  .art-pulse, .scroll-cue i::after, .card-next .tick i { animation: none !important; }
}

@media print {
  .site-header, .mobile-menu, .progress, .toc, .ticker { display: none !important; }
  .ink { background: #fff; color: #000; }
}
