/* hharesearch.org shared design system. Derived from the Work section (2026-09-03).
   Tokens, type, nav, footer, heroes, tiles, tags, ledger, ask block, disclosure, brief pages, homepage blocks. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --color-bg: #f8fafc; --color-surface: #ffffff; --color-surface-alt: #f1f5f9;
    --color-text: #0f172a; --color-text-secondary: #475569; --color-text-tertiary: #5b6b7f;
    --color-accent: #1e3a5f; --color-accent-light: #2563eb; --color-accent-glow: rgba(37, 99, 235, 0.1);
    --color-warm-accent: #f59e0b; --color-border: #e2e8f0; --color-border-hover: rgba(30, 58, 95, 0.4);
    --color-hero-bg: #050a18; --color-hero-text: #f8fafc;
    --font-display: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    --max-width: 1080px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
}
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font-sans); background: var(--color-bg); color: var(--color-text); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid #3b82f6; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -48px; background: var(--color-surface); border: 1px solid var(--color-accent-light); padding: 0.6rem 1rem; border-radius: 8px; font-family: var(--font-mono); font-size: 0.82rem; text-decoration: none; color: var(--color-text); z-index: 200; transition: top .18s ease; }
.skip:focus { top: 0.75rem; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(5, 10, 24, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,0.9); text-decoration: none; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.82rem; color: rgba(255,255,255,0.62); text-decoration: none; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover { color: rgba(255,255,255,0.95); }
.nav-links a.active { color: rgba(255,255,255,0.95); border-bottom: 2px solid var(--color-accent-light); padding-bottom: 2px; }
.nav-links a.nav-cta { color: #fff; background: var(--color-accent-light); padding: 0.5rem 0.9rem; border-radius: 6px; font-weight: 600; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* SHARED LAYOUT */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.container.narrow { max-width: 760px; }
section { padding: 5.5rem 0; }
.section-alt { background: var(--color-surface-alt); }
.section-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-light); margin-bottom: 1rem; }
.section-heading { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; color: var(--color-text); max-width: 640px; }
.section-desc { margin-top: 1rem; font-size: 1.05rem; color: var(--color-text-secondary); max-width: 620px; line-height: 1.75; }
.section-header { margin-bottom: 3rem; }
.prose p { font-size: 1.02rem; color: var(--color-text-secondary); line-height: 1.8; margin-top: 1rem; }
.prose h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.5rem; line-height: 1.3; }
.note { font-size: 0.85rem; color: var(--color-text-tertiary); }
.textlink { color: var(--color-accent-light); text-decoration: none; font-weight: 600; }
.textlink:hover { text-decoration: underline; }
.textlink.arrow::after { content: " \2192"; font-family: var(--font-mono); font-weight: 500; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; padding: 0.8rem 1.25rem; border-radius: 8px; text-decoration: none; transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--color-accent-light); color: #fff; box-shadow: 0 8px 24px rgba(37,99,235,0.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37,99,235,0.45); }
.btn-ghost { color: rgba(248,250,252,0.9); border-color: rgba(255,255,255,0.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); }
.on-light .btn-ghost, .btn-ghost.on-light { color: var(--color-text); border-color: var(--color-border); }
.on-light .btn-ghost:hover, .btn-ghost.on-light:hover { border-color: var(--color-border-hover); }

/* TAGS AND BADGES */
.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; padding: 0.15rem 0.5rem; border-radius: 4px; line-height: 1.5; white-space: nowrap; vertical-align: middle; }
.tag-cited { background: rgba(37,99,235,0.1); color: #1d4ed8; border: 1px solid rgba(37,99,235,0.22); }
.tag-research { background: rgba(30,58,95,0.08); color: var(--color-accent); border: 1px solid rgba(30,58,95,0.2); }
.tag-estimate { background: rgba(245,158,11,0.12); color: #92400e; border: 1px solid rgba(245,158,11,0.3); }
.tag-derived { background: var(--color-surface-alt); color: var(--color-text-secondary); border: 1px solid var(--color-border); }
.tag-neutral { background: var(--color-surface); color: var(--color-text-secondary); border: 1px solid var(--color-border); }
.badge { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.625rem; border-radius: 6px; line-height: 1; }
.badge-scale { background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.22); color: var(--color-accent-light); }
.badge-trl { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25); color: #b45309; }
.badge-program { background: var(--color-surface-alt); border: 1px solid var(--color-border); color: var(--color-text-secondary); }
.on-dark .badge-scale { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.3); color: rgba(147,197,253,0.95); }
.on-dark .badge-trl { background: rgba(245,158,11,0.15); border-color: rgba(245,158,11,0.3); color: rgba(252,211,77,0.95); }
.on-dark .badge-program { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }

/* HERO: dark, optional photo, optional stats strip */
.hero { position: relative; background: var(--color-hero-bg); padding: 8rem 0 3.5rem; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 70% 60% at 90% 0%, rgba(37,99,235,0.2) 0%, transparent 60%), repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 48px); }
.hero.has-media { min-height: 92vh; display: flex; align-items: flex-end; padding: 0; }
.hero.has-media::before { display: none; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1.08) brightness(0.72); }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,24,0.55) 0%, rgba(5,10,24,0.25) 40%, rgba(5,10,24,0.92) 100%), linear-gradient(90deg, rgba(30,58,95,0.55), rgba(37,99,235,0.18)); }
.hero-wrap { position: relative; z-index: 2; width: 100%; }
.hero-inner { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 8rem 2rem 3rem; width: 100%; }
.hero .container { position: relative; z-index: 2; }
.hero-label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(147,197,253,0.85); margin-bottom: 1.25rem; }
.hero-label::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: #3b82f6; box-shadow: 0 0 12px rgba(59,130,246,0.6); }
.hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; line-height: 1.1; color: var(--color-hero-text); max-width: 940px; letter-spacing: -0.025em; }
.hero h1 em { font-style: italic; color: #93c5fd; }
.hero-sub { margin-top: 1.25rem; font-size: 1.08rem; color: rgba(248,250,252,0.78); max-width: 620px; line-height: 1.7; }
.hero-actions { margin-top: 1.75rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-stats { position: relative; z-index: 2; margin-top: 3rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.14); }
.hero-stats.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hero-stat { padding: 1.25rem 1.5rem 0 0; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.12); padding-left: 1.5rem; }
.hero-stat .n { font-family: var(--font-mono); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hero-stat .l { font-size: 0.78rem; color: rgba(248,250,252,0.7); margin-top: 0.25rem; line-height: 1.5; }
.hero-stats .tag { margin-left: 0.4rem; background: rgba(255,255,255,0.08); color: rgba(248,250,252,0.85); border-color: rgba(255,255,255,0.22); }
.hero-credit { position: relative; z-index: 2; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem 0.75rem; text-align: right; font-size: 0.66rem; color: rgba(248,250,252,0.62); letter-spacing: 0.02em; }
.hero-meta { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-date { font-family: var(--font-mono); font-size: 0.72rem; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
.hero-author { margin-top: 1rem; font-size: 0.88rem; color: rgba(248,250,252,0.6); }
.crumb { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; color: rgba(147,197,253,0.85); text-decoration: none; letter-spacing: 0.04em; margin-bottom: 1.25rem; }
.crumb::before { content: '\2190\00a0'; }
.crumb:hover { color: #fff; }
.case-kicker { margin-top: 1.5rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(147,197,253,0.75); }
.case-hero { position: relative; background: var(--color-hero-bg); padding: 8rem 0 3.5rem; overflow: hidden; }
.case-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 90% 0%, rgba(37,99,235,0.2) 0%, transparent 60%), repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 48px); }
.case-hero .container { position: relative; z-index: 2; }
.case-hero h1 { margin-top: 0.75rem; font-family: var(--font-display); font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; line-height: 1.12; color: var(--color-hero-text); max-width: 800px; letter-spacing: -0.025em; }
/* case pages use bare headings inside sections */
main section h2:not(.section-heading):not(.brief-section h2) { font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; color: var(--color-text); max-width: 680px; }
.ask h2, .cta-inner h2, .panel .body h2 { max-width: none; }
.container.narrow h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.5rem; line-height: 1.3; }
.container.narrow > p, .container.narrow p.note { font-size: 1.02rem; color: var(--color-text-secondary); line-height: 1.8; margin-top: 1rem; }
.container.narrow p.note { font-size: 0.85rem; color: var(--color-text-tertiary); }
.lede { margin-top: 1.25rem; font-size: 1.08rem; color: rgba(248,250,252,0.72); max-width: 640px; line-height: 1.75; }
.headline-nums { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.14); }
.headline-nums > div { padding: 1.25rem 1.5rem 0 0; }
.headline-nums > div + div { border-left: 1px solid rgba(255,255,255,0.12); padding-left: 1.5rem; }
.headline-nums .n { font-family: var(--font-mono); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.headline-nums .l { font-size: 0.78rem; color: rgba(248,250,252,0.6); margin-top: 0.25rem; line-height: 1.5; }
.headline-nums .tag { margin-left: 0.4rem; vertical-align: middle; }

/* TILES (cases, briefs, generic cards) */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case { position: relative; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.case:hover { border-color: var(--color-border-hover); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-visual { position: relative; height: 200px; background: var(--color-hero-bg); overflow: hidden; }
.case-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.case-visual .big { position: absolute; left: 1.5rem; bottom: 1.1rem; font-family: var(--font-mono); font-size: 2.2rem; font-weight: 600; color: #fff; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.case-visual .big small { display: block; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(147,197,253,0.9); margin-top: 0.45rem; }
.case-body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.case-meta { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-tertiary); display: flex; justify-content: space-between; gap: 1rem; }
.case h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 700; line-height: 1.3; color: var(--color-text); }
.case p { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.65; flex: 1; }
.case .read, .brief-read-link { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 600; color: var(--color-accent-light); text-decoration: none; transition: gap 0.2s; margin-top: 0.4rem; }
.case:hover .read, .brief-read-link:hover { gap: 0.65rem; }
.case .read svg, .brief-read-link svg { width: 14px; height: 14px; }
.withheld { margin-top: 1.5rem; font-size: 0.88rem; color: var(--color-text-secondary); max-width: 720px; line-height: 1.65; }
.legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.legend-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; }
.legend-item p { font-size: 0.82rem; color: var(--color-text-secondary); margin-top: 0.5rem; line-height: 1.6; }

.briefs-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.brief-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 2rem 2rem 1.75rem; transition: all 0.25s ease; position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.brief-card:hover { border-color: var(--color-border-hover); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.brief-card-content { min-width: 0; }
.brief-card-meta { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; margin-bottom: 0.75rem; }
.brief-date { font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-tertiary); font-weight: 500; letter-spacing: 0.02em; }
.brief-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.75rem; line-height: 1.3; }
.brief-card h3 a { color: inherit; text-decoration: none; transition: color 0.2s; }
.brief-card h3 a:hover { color: var(--color-accent-light); }
.brief-card p { font-size: 0.92rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.brief-card-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; flex-shrink: 0; }
.brief-program { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; color: var(--color-text-tertiary); letter-spacing: 0.06em; text-transform: uppercase; text-align: right; white-space: nowrap; }

.grid { display: grid; gap: 1.25rem; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 1.5rem 1.6rem; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); text-decoration: none; color: inherit; display: block; }
.card:hover { border-color: var(--color-border-hover); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card .k { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-light); }
.card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0.5rem 0 0.4rem; letter-spacing: -0.01em; line-height: 1.3; }
.card p { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.65; }
.card.emerging { border-style: dashed; background: transparent; }
.card.emerging .k { color: #b45309; }

/* PANEL (flagship), METRICS, ROWS, TEAM, NOTE, SPLIT */
.panel { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; box-shadow: var(--shadow-md); overflow: hidden; display: grid; grid-template-columns: 1.35fr 1fr; }
.panel .body { padding: clamp(1.75rem, 3vw, 2.75rem); }
.panel .body h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
.panel .body p { font-size: 0.98rem; color: var(--color-text-secondary); line-height: 1.75; }
.panel .links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.6rem; }
.panel .aside { border-left: 1px solid var(--color-border); background: var(--color-hero-bg); color: var(--color-hero-text); padding: clamp(1.75rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; gap: 1.4rem; }
.metric .v { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.metric .k { font-size: 0.84rem; color: rgba(248,250,252,0.7); margin-top: 0.4rem; line-height: 1.5; }
.panel .aside .fine { font-family: var(--font-mono); font-size: 0.7rem; color: rgba(248,250,252,0.55); letter-spacing: 0.02em; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.3rem; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--color-border); }
.row:last-child { border-bottom: 1px solid var(--color-border); }
.row .num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--color-accent-light); padding-top: 0.25rem; font-weight: 600; }
.row h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; line-height: 1.3; }
.row p { font-size: 0.94rem; color: var(--color-text-secondary); max-width: 70ch; line-height: 1.7; }
.callout { margin-top: 1.75rem; font-size: 0.92rem; color: var(--color-text-secondary); background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent-light); border-radius: 10px; padding: 0.9rem 1.1rem; line-height: 1.65; }
.callout b { color: var(--color-text); font-weight: 600; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.member { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 1.5rem; box-shadow: var(--shadow-sm); }
.member img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(37,99,235,0.25); margin-bottom: 0.9rem; display: block; }
.member .name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.member .role { font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-accent-light); margin: 0.25rem 0 0.6rem; font-weight: 600; }
.member .bio { font-size: 0.88rem; color: var(--color-text-secondary); line-height: 1.6; }
.notebox { margin-top: 2rem; padding: 1.4rem 1.6rem; background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: 10px; }
.notebox p { font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.7; }
.notebox p + p { margin-top: 0.6rem; }
.notebox b { color: var(--color-text); font-weight: 600; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.subhead { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-tertiary); margin-bottom: 0.75rem; font-weight: 600; }
.split p { font-size: 0.98rem; color: var(--color-text-secondary); line-height: 1.75; }

/* WHY / WHO */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.why p { font-size: 1rem; color: var(--color-text-secondary); line-height: 1.75; margin-top: 1rem; }
.why .who { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 16px; padding: 1.75rem; }
.why .who .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent-light); }
.why .who h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-top: 0.5rem; }
.why .who p { margin-top: 0.6rem; font-size: 0.95rem; }
.why .who p strong { color: var(--color-text); font-weight: 600; }
.why .who a { color: var(--color-accent-light); text-decoration: none; font-weight: 600; }

/* RECORD */
.record { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.record-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.record-from { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-tertiary); }
.record-num { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.5rem; text-align: center; }
.record-num .n { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 600; color: var(--color-accent-light); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.record-num .l { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-tertiary); margin-top: 0.6rem; font-weight: 600; }
.record-num.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; text-align: left; }
.record-num.wide .n { font-size: 1.6rem; }
.record-num.wide .arrow { font-family: var(--font-mono); color: var(--color-text-tertiary); font-size: 0.9rem; }
.record-copy p { font-size: 1rem; color: var(--color-text-secondary); line-height: 1.75; margin-top: 1rem; }
.record-copy a { color: var(--color-accent-light); text-decoration: none; font-weight: 600; }
.record-copy a:hover { text-decoration: underline; }

/* METHOD STEPS */
.method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--color-border); border-radius: 16px; overflow: hidden; background: var(--color-surface); counter-reset: step; }
.method.cols-4 { grid-template-columns: repeat(4, 1fr); }
.step { padding: 2rem; border-right: 1px solid var(--color-border); }
.step:last-child { border-right: none; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; color: var(--color-accent-light); display: block; margin-bottom: 1rem; }
.step h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.3; }
.step p { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.7; }
.method-note { margin-top: 1.5rem; font-size: 0.95rem; color: var(--color-text-secondary); max-width: 720px; line-height: 1.7; }

/* FACTS */
.facts { list-style: none; margin-top: 1.5rem; display: grid; gap: 0.9rem; }
.facts li { background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent-light); border-radius: 10px; padding: 1rem 1.25rem; font-size: 0.95rem; color: var(--color-text); line-height: 1.65; }
.facts li .tag { margin-right: 0.5rem; }

/* LEDGER + INPUTS */
.ledger-wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; align-items: start; }
.ledger { background: var(--color-surface); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-md); }
.ledger-head { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1rem 1.5rem; background: var(--color-hero-bg); color: rgba(255,255,255,0.85); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ledger-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: baseline; padding: 1rem 1.5rem; border-top: 1px solid var(--color-border); }
.ledger-row.total { background: linear-gradient(90deg, rgba(37,99,235,0.06), transparent); }
.ledger-row .what { font-size: 0.92rem; color: var(--color-text); }
.ledger-row .what small { display: block; font-size: 0.78rem; color: var(--color-text-secondary); margin-top: 0.25rem; line-height: 1.55; }
.ledger-row .num { font-family: var(--font-mono); font-size: 1rem; font-weight: 600; color: var(--color-text); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ledger-row.total .num { font-size: 1.35rem; color: var(--color-accent-light); }
.ledger-row .num small { display: block; font-size: 0.7rem; font-weight: 500; color: var(--color-text-tertiary); margin-top: 0.2rem; letter-spacing: 0.02em; }
.ledger-static .ledger-row .num { color: var(--color-text); }
.inputs { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.75rem; box-shadow: var(--shadow-sm); position: sticky; top: 5.5rem; }
.inputs h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin: 0 0 0.35rem; }
.inputs p.lead { font-size: 0.85rem; color: var(--color-text-secondary); margin: 0 0 1.5rem; line-height: 1.6; }
.field { margin-bottom: 1.25rem; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.8rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.4rem; }
.field label .val { font-family: var(--font-mono); font-weight: 600; color: var(--color-accent-light); font-variant-numeric: tabular-nums; }
.field input[type=range] { width: 100%; accent-color: var(--color-accent-light); }
.field .hint, .inputs .hint { font-size: 0.74rem; color: var(--color-text-tertiary); margin-top: 0.3rem; line-height: 1.5; }
.inputs .reset { margin-top: 0.5rem; background: none; border: 1px solid var(--color-border); color: var(--color-text-secondary); font-size: 0.78rem; font-weight: 600; padding: 0.45rem 0.9rem; border-radius: 6px; cursor: pointer; transition: all 0.15s ease-out; }
.inputs .reset:hover { border-color: var(--color-border-hover); color: var(--color-text); }
.ledger-ask { margin-top: 1.25rem; font-size: 0.95rem; color: var(--color-text); max-width: 720px; line-height: 1.65; }
.ledger-ask a { color: var(--color-accent-light); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(37,99,235,0.35); }
.ledger-ask a:hover { border-color: var(--color-accent-light); }

/* SOURCES, DISCLOSURE */
.sources { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.75; max-width: 760px; padding-left: 1.25rem; margin-top: 1.5rem; }
.sources li { margin-bottom: 0.6rem; padding-left: 0.25rem; }
.sources a { color: var(--color-accent-light); text-decoration: none; word-break: break-all; }
.sources a:hover { text-decoration: underline; }
.disclosure { border-top: 1px solid var(--color-border); padding: 2rem 0 0; font-size: 0.85rem; color: var(--color-text-secondary); line-height: 1.7; max-width: 800px; }
.disclosure strong { color: var(--color-text); font-weight: 600; }

/* ASK / ENGAGE BAND */
.ask { background: var(--color-hero-bg); color: var(--color-hero-text); position: relative; overflow: hidden; }
.ask::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(37,99,235,0.28) 0%, transparent 60%); }
.ask .container { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.ask .section-label { color: rgba(147,197,253,0.9); }
.ask h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.ask p { margin-top: 1rem; color: rgba(248,250,252,0.78); font-size: 1rem; line-height: 1.7; max-width: 560px; }
.ask .hero-actions { margin-top: 1.5rem; }
.ask-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 1.75rem; }
.ask-card .k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(147,197,253,0.9); }
.ask-card .v { font-size: 1rem; margin-top: 0.4rem; line-height: 1.6; color: rgba(248,250,252,0.9); }
.ask-card .v + .k { margin-top: 1.25rem; }
.ask-card a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.4); }
.ask-card a:hover { border-color: #fff; }
.ask-card .sig { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.9rem; color: rgba(248,250,252,0.85); line-height: 1.6; }
.ask-card .sig strong { color: #fff; font-weight: 600; }
.ask-card .fine { margin-top: 1rem; font-size: 0.78rem; color: rgba(248,250,252,0.62); line-height: 1.6; }
.ask .secondary { margin-top: 1.4rem; font-size: 0.9rem; color: rgba(248,250,252,0.62); }
.ask .secondary a { color: rgba(248,250,252,0.9); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); }
.ask .secondary a:hover { border-color: #fff; }

/* BRIEF PAGES */
.brief-layout { display: grid; grid-template-columns: 200px 1fr; gap: 4rem; max-width: var(--max-width); margin: 0 auto; padding: 4rem 2rem 5rem; align-items: start; }
.toc { position: sticky; top: 5rem; }
.toc-label { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-tertiary); margin-bottom: 1rem; }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 0.125rem; }
.toc-list a { display: block; font-size: 0.78rem; color: var(--color-text-tertiary); text-decoration: none; padding: 0.35rem 0.75rem; border-left: 2px solid transparent; transition: all 0.2s; line-height: 1.4; }
.toc-list a:hover, .toc-list a.active { color: var(--color-accent-light); border-left-color: var(--color-accent-light); }
.toc-list a.active { font-weight: 600; }
.brief-content { max-width: 720px; min-width: 0; }
.brief-section { margin-bottom: 3rem; }
.brief-section h2 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; color: var(--color-text); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--color-border); letter-spacing: -0.01em; scroll-margin-top: 5rem; line-height: 1.25; }
.brief-section h3 { font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; color: var(--color-text); margin-top: 1.5rem; margin-bottom: 0.5rem; }
.brief-section p { font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 1rem; }
.brief-section p strong, .brief-section li strong { color: var(--color-text); font-weight: 600; }
.brief-section ul, .brief-section ol { margin-bottom: 1rem; padding-left: 1.5rem; }
.brief-section li { font-size: 0.95rem; color: var(--color-text-secondary); line-height: 1.8; margin-bottom: 0.5rem; }
.citation { background: var(--color-surface-alt); border: 1px solid var(--color-border); border-left: 4px solid var(--color-accent-light); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
.citation p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 0.5rem; }
.citation p:last-child { margin-bottom: 0; }
.risk-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.risk-item h4 { font-size: 0.9rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.5rem; }
.risk-item p { font-size: 0.88rem; margin-bottom: 0.5rem; }
.risk-level { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; }
.risk-moderate { background: rgba(245,158,11,0.12); color: #92400e; }
.risk-high { background: rgba(239,68,68,0.1); color: #b91c1c; }
.risk-low { background: rgba(37,99,235,0.1); color: #1d4ed8; }
.team-grid-brief { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1rem; }
.team-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: 14px; padding: 1.5rem; transition: all 0.25s ease; }
.team-card:hover { border-color: var(--color-border-hover); box-shadow: var(--shadow-md); }
.team-card-header { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; }
.team-card-role { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-light); }
.team-card h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--color-text); }
.team-card p { font-size: 0.88rem; color: var(--color-text-secondary); line-height: 1.7; margin-bottom: 0; }
.funding-table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.88rem; }
.funding-table th { text-align: left; font-family: var(--font-mono); font-weight: 600; color: var(--color-text); padding: 0.75rem 1rem; border-bottom: 2px solid var(--color-border); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; }
.funding-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--color-border); color: var(--color-text-secondary); vertical-align: top; }
.funding-table tr:last-child td { border-bottom: none; }
.milestone-list { list-style: none; padding-left: 0; margin-top: 1rem; }
.milestone-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 0.75rem 0; border-bottom: 1px solid var(--color-border); }
.milestone-list li:last-child { border-bottom: none; }
.milestone-month { flex-shrink: 0; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; color: var(--color-accent-light); width: 64px; text-align: right; letter-spacing: 0.02em; }
.milestone-text { font-size: 0.88rem; color: var(--color-text-secondary); line-height: 1.6; }
.hero-back { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; color: rgba(147,197,253,0.85); text-decoration: none; margin-bottom: 1.25rem; transition: color 0.2s; letter-spacing: 0.04em; }
.hero-back:hover { color: #fff; }
.hero-back svg { width: 14px; height: 14px; }
.cta-band { background: var(--color-hero-bg); color: var(--color-hero-text); padding: 4rem 0; margin-top: 2rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(37,99,235,0.28) 0%, transparent 60%); }
.cta-inner { position: relative; text-align: left; max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.15; max-width: 640px; }
.cta-inner p { margin-top: 0.85rem; font-size: 1rem; color: rgba(248,250,252,0.75); line-height: 1.7; max-width: 560px; }
.cta-btn { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.5rem; padding: 0.8rem 1.25rem; background: var(--color-accent-light); border-radius: 8px; color: #fff; font-size: 0.9rem; font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(37,99,235,0.35); transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1); }
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(37,99,235,0.45); }
.provenance { max-width: var(--max-width); margin: 0 auto; padding: 2rem 2rem; }
.provenance-inner { background: var(--color-surface-alt); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.25rem 1.5rem; }
.provenance-label { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-tertiary); margin-bottom: 0.5rem; }
.provenance-inner p { font-size: 0.82rem; color: var(--color-text-tertiary); line-height: 1.7; }

/* FOOTER */
footer { background: var(--color-hero-bg); padding: 3.5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-grid { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand-name { font-size: 0.85rem; font-weight: 700; color: rgba(255,255,255,0.85); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.62); margin-top: 0.5rem; line-height: 1.6; }
.footer-nav h4 { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.62); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-nav a { display: block; font-size: 0.85rem; color: rgba(255,255,255,0.62); text-decoration: none; padding: 0.3rem 0; transition: color 0.2s; }
.footer-nav a:hover { color: rgba(255,255,255,0.95); }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 1.5rem 2rem 0; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-text { font-size: 0.75rem; color: rgba(255,255,255,0.62); }

/* MOBILE */
@media (max-width: 900px) {
    .cases, .grid.cols-3, .grid.cols-4, .team, .method, .method.cols-4, .why, .record, .split, .ledger-wrap, .panel { grid-template-columns: 1fr; }
    .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
    .step { border-right: none; border-bottom: 1px solid var(--color-border); }
    .step:last-child { border-bottom: none; }
    .panel .aside { border-left: 0; border-top: 1px solid var(--color-border); }
    .inputs { position: static; }
    .ask .container { grid-template-columns: 1fr; }
    .hero-stats, .hero-stats.cols-4, .headline-nums { grid-template-columns: 1fr; }
    .hero-stat + .hero-stat, .headline-nums > div + div { border-left: none; border-top: 1px solid rgba(255,255,255,0.12); padding-left: 0; }
    .brief-layout { grid-template-columns: 1fr; gap: 0; padding-top: 2.5rem; }
    .toc { position: relative; top: 0; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--color-border); }
}
@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    .nav-links { display: none; flex-direction: column; align-items: flex-start; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,10,24,0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: 1rem 1.25rem; gap: 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-links.active { display: flex; }
    .nav-links a { font-size: 1rem; padding: 0.75rem 0; color: rgba(255,255,255,0.75); }
    .grid.cols-4, .grid.cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-inner { padding: 0.75rem 1.25rem; }
    .container { padding: 0 1.25rem; }
    .hero { padding: 6.5rem 0 2.5rem; }
    .hero.has-media { min-height: 80vh; }
    .hero-inner { padding: 6.5rem 1.25rem 2rem; }
    .hero-credit { text-align: left; padding: 0 1.25rem 0.75rem; }
    section { padding: 3.5rem 0; }
    .ledger-row, .ledger-head { padding: 0.9rem 1.1rem; }
    .brief-layout, .provenance { padding-left: 1.25rem; padding-right: 1.25rem; }
    .brief-card { grid-template-columns: 1fr; gap: 0.75rem; }
    .brief-card-aside { flex-direction: row; align-items: center; }
    .funding-table { font-size: 0.82rem; }
    .funding-table th, .funding-table td { padding: 0.5rem 0.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* MOTION: one cascade on load, hover lifts, nothing else */
@media (prefers-reduced-motion: no-preference) {
    .hero-label, .hero h1, .hero-sub, .hero-actions, .case-hero h1, .lede { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
    .hero h1, .case-hero h1 { animation-delay: 0.08s; } .hero-sub, .lede { animation-delay: 0.16s; } .hero-actions { animation-delay: 0.24s; }
    .hero-stat, .headline-nums > div { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
    .hero-stat:nth-child(1), .headline-nums > div:nth-child(1) { animation-delay: 0.35s; }
    .hero-stat:nth-child(2), .headline-nums > div:nth-child(2) { animation-delay: 0.43s; }
    .hero-stat:nth-child(3), .headline-nums > div:nth-child(3) { animation-delay: 0.51s; }
    .hero-stat:nth-child(4) { animation-delay: 0.59s; }
    @keyframes rise { from { transform: translateY(14px); } to { transform: translateY(0); } }
    .fade-in { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
    .fade-in:nth-child(2) { animation-delay: 0.08s; } .fade-in:nth-child(3) { animation-delay: 0.16s; } .fade-in:nth-child(4) { animation-delay: 0.24s; }
    .ledger-row { transform: translateY(10px); animation: rowIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
    .ledger-row:nth-child(2) { animation-delay: 0.08s; } .ledger-row:nth-child(3) { animation-delay: 0.16s; } .ledger-row:nth-child(4) { animation-delay: 0.24s; }
    .ledger-row:nth-child(5) { animation-delay: 0.32s; } .ledger-row:nth-child(6) { animation-delay: 0.40s; } .ledger-row:nth-child(7) { animation-delay: 0.48s; } .ledger-row:nth-child(8) { animation-delay: 0.56s; }
    .ledger-row:nth-child(9) { animation-delay: 0.64s; } .ledger-row:nth-child(10) { animation-delay: 0.72s; } .ledger-row:nth-child(11) { animation-delay: 0.80s; } .ledger-row:nth-child(12) { animation-delay: 0.88s; }
    @keyframes rowIn { from { background-color: rgba(37,99,235,0.08); } to { background-color: transparent; transform: translateY(0); } }
    .num.flash { animation: flash 0.5s ease-out; }
    @keyframes flash { 0% { color: var(--color-warm-accent); } 100% { color: inherit; } }
}
