/* DroSonic OSINT
   Masthead + single reading column + "field" cards, in the drosonic.com palette.
   Each report can pick an accent (accent-blue is the DroSonic default); everything
   accent-coloured reads from the --accent* variables set by those classes. */

:root {
    --hero-bg: #0f172a;           /* DroSonic navy: mastheads and figure panels */
    --hero-text: #f1f5f9;
    --hero-muted: #c3cedb;
    --hero-line: rgba(255, 255, 255, 0.16);

    --paper: #f1f5f9;
    --card: #ffffff;
    --text: #1e293b;
    --text-strong: #0f172a;
    --muted: #3f4c5f;
    --muted-dim: #5b6b80;
    --line: #d9e1ea;
    --line-dark: #1e293b;

    --font-body: "Inter", system-ui, -apple-system, sans-serif;
    --font-display: "Saira Condensed", "Arial Narrow", sans-serif;
    --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;

    --wrap: 920px;
    --gutter: 32px;
}

/* ---------- accents ---------- */
:root, .accent-blue   { --accent: #2c5282; --accent-bright: #63b3ed; --accent-tint: #ebf4fd; --accent-line: #c3dcf3; }
.accent-cyan          { --accent: #0c7f8c; --accent-bright: #3bdce6; --accent-tint: #e6f7f8; --accent-line: #b5e4e8; }
.accent-teal          { --accent: #0b7c84; --accent-bright: #4fd1c5; --accent-tint: #e6f6f6; --accent-line: #b3e0e2; }
.accent-indigo        { --accent: #4657b0; --accent-bright: #9aa8f5; --accent-tint: #eceffb; --accent-line: #c9d0f0; }
.accent-violet        { --accent: #6a45b8; --accent-bright: #b59cf5; --accent-tint: #f1ecfb; --accent-line: #d6c9f1; }
.accent-green         { --accent: #2c7a58; --accent-bright: #5fd39b; --accent-tint: #e8f5ee; --accent-line: #bfe3cf; }
.accent-amber         { --accent: #9a5512; --accent-bright: #f0a95c; --accent-tint: #fbf1e4; --accent-line: #e9d3b2; }
.accent-red           { --accent: #b03f28; --accent-bright: #f08a6c; --accent-tint: #fbebe6; --accent-line: #efc4b8; }

/* Accent for text and borders on light surfaces. Declared on the same element as the
   accent class so it resolves against that element's own accent. */
:root, [class*="accent-"] { --accent-text: var(--accent); }

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #0b1220;
        --card: #121c2e;
        --text: #dde5ef;
        --text-strong: #ffffff;
        --muted: #c0cad7;
        --muted-dim: #9aa8bb;
        --line: #24324b;
    }
    :root, [class*="accent-"] {
        --accent-text: var(--accent-bright);
        --accent-tint: rgba(255, 255, 255, 0.045);
        --accent-line: #2a3a57;
    }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -48px; z-index: 10; background: var(--card); color: var(--text-strong); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* Small mono labels: sized and spaced to stay legible, not just decorative. */
.eyebrow {
    font-family: var(--font-mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--muted); font-weight: 500; margin: 0;
}
.badge-draft { display: inline-block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; background: #fde68a; color: #78350f; padding: .2em .55em; border-radius: 4px; margin-left: .6em; vertical-align: 1px; white-space: nowrap; }

/* ---------- masthead / hero ---------- */
.hero {
    background: var(--hero-bg); color: var(--hero-text); position: relative; overflow: hidden;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #2c5282, #63b3ed) 1;
}
.hero.hero-accent { border-image: none; border-bottom-color: var(--accent-bright); }
.hero::before { /* blue glow, right */
    content: ""; position: absolute; right: -14%; top: -40%; width: 60%; height: 170%;
    background: radial-gradient(closest-side, rgba(49, 130, 206, .30), rgba(49, 130, 206, 0) 72%); pointer-events: none;
}
.hero::after { /* cyan glow, left */
    content: ""; position: absolute; left: -16%; bottom: -44%; width: 58%; height: 160%;
    background: radial-gradient(closest-side, rgba(99, 179, 237, .16), rgba(99, 179, 237, 0) 72%); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 52px; }

.masthead-top {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    min-height: 44px; padding-bottom: 14px; margin-bottom: 44px;
    border-bottom: 1px solid var(--hero-line);
}
/* Wordmark matches drosonic.com: logo icon + "DroSonic" in Inter 800. */
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; white-space: nowrap; color: var(--hero-text); }
.brand img { width: 30px; height: 30px; flex: none; filter: brightness(0) invert(1); }
.brand-name { font-family: var(--font-body); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: #fff; }
.brand-tag {
    font-family: var(--font-mono); font-size: .64rem; font-weight: 700; letter-spacing: .14em; line-height: 1;
    color: #fff; background: #2c5282; padding: .4em .5em .35em; border-radius: 4px; margin-left: 2px;
}
.masthead-aside {
    display: inline-flex; align-items: center; gap: 18px; flex: none;
    font-family: var(--font-mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--hero-muted);
}
.masthead-aside a { color: var(--hero-muted); text-decoration: none; padding: 6px 0; transition: color .15s ease; }
.masthead-aside a:hover { color: var(--accent-bright); }

.hero-kicker { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-bright); margin: 0 0 14px; font-weight: 500; }
.hero h1 {
    font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em;
    line-height: .94; font-size: clamp(2.6rem, 7vw, 5rem); margin: 0 0 22px; color: #fff; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lede { font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 1.6; color: #e2e8f0; max-width: 60ch; margin: 0; font-weight: 400; }
.hero .lede em { color: #fff; }
.brandstrip {
    display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 32px 0 0;
    font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--hero-muted);
}
.brandstrip b { color: #fff; font-weight: 700; }

/* article hero with photo: a heavier, left-weighted scrim keeps the text readable on any image */
.hero-article .wrap { min-height: clamp(460px, 64vh, 680px); display: flex; flex-direction: column; }
.hero-article .masthead-top { margin-bottom: auto; }
.hero-article .hero-kicker { margin-top: 40px; }
.hero-article .lede { margin-bottom: 32px; }
.hero-article.no-photo .wrap { min-height: 0; }
.hero-article.no-photo .masthead-top { margin-bottom: 44px; }
.hero-article.no-photo .hero-kicker { margin-top: 0; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.hero-scrim {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(10, 16, 30, .88) 0%, rgba(10, 16, 30, .72) 45%, rgba(10, 16, 30, .35) 100%),
        linear-gradient(180deg, rgba(10, 16, 30, .55) 0%, rgba(10, 16, 30, .2) 30%, rgba(10, 16, 30, .75) 75%, rgba(10, 16, 30, .96) 100%);
}
.has-photo h1, .has-photo .lede, .has-photo .hero-kicker { text-shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 2px 24px rgba(0, 0, 0, .45); }
.has-photo::before, .has-photo::after { display: none; }
.hero-credit { position: absolute; right: 14px; bottom: 10px; z-index: 2; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .04em; color: rgba(255, 255, 255, .62); margin: 0; }
.hero-credit a { color: rgba(255, 255, 255, .75); text-decoration: none; }

.meta {
    display: grid; grid-template-columns: repeat(3, 1fr); margin: 0;
    border-top: 1px solid var(--hero-line); border-left: 1px solid var(--hero-line); border-radius: 4px;
    background: rgba(10, 16, 30, .62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.meta div { border-right: 1px solid var(--hero-line); border-bottom: 1px solid var(--hero-line); padding: 13px 16px; }
.meta dt { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #a9b8cb; margin: 0 0 6px; }
.meta dd { margin: 0; font-size: .93rem; line-height: 1.4; color: #fff; font-weight: 500; }
.meta dd a { color: var(--accent-bright); }

/* ---------- report cards ---------- */
.catalog { padding: 52px 0 12px; }
.catalog > .wrap > .eyebrow { margin-bottom: 20px; }

.report-card {
    display: block; position: relative; text-decoration: none; color: inherit;
    background: var(--card); border: 1px solid var(--line); border-radius: 12px;
    padding: 28px 32px 26px; margin-bottom: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.report-card:hover { transform: translateY(-3px); border-color: var(--accent-text); box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 16px 40px rgba(15, 23, 42, .10); }
.rc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.rc-eyebrow { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dim); margin: 0 0 10px; line-height: 1.5; }
.rc-eyebrow b { color: var(--accent-text); font-weight: 700; }
.rc-arrow { font-family: var(--font-mono); color: var(--accent-text); font-size: 1.2rem; line-height: 1; transition: transform .18s ease; flex: none; }
.report-card:hover .rc-arrow { transform: translateX(4px); }
.rc-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.reticle { color: var(--accent-text); flex: none; width: 28px; height: 28px; margin-top: 5px; transition: transform .18s ease; }
.report-card:hover .reticle { transform: rotate(45deg); }
.rc-title { font-family: var(--font-display); font-weight: 700; font-size: 2rem; line-height: 1.05; margin: 0; color: var(--text-strong); letter-spacing: .01em; }
.rc-title em { font-style: normal; color: var(--accent-text); }
.rc-dek { font-size: 1.04rem; line-height: 1.65; color: var(--text); margin: 0 0 16px; max-width: 64ch; }
.rc-dek em { font-style: italic; }
.rc-meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; line-height: 1.6; text-transform: uppercase; color: var(--muted-dim); margin: 0; padding-top: 14px; border-top: 1px solid var(--line); }
.rc-meta b { color: var(--muted); font-weight: 600; }

.empty-state { border: 1px dashed var(--line); border-radius: 12px; padding: 28px; text-align: center; color: var(--muted-dim); font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- summary + ledger ---------- */
.summary { padding: 60px 0 8px; }
.summary .eyebrow { margin-bottom: 16px; color: var(--accent-text); }
.summary p { font-size: clamp(1.1rem, 1.6vw, 1.22rem); line-height: 1.65; color: var(--text-strong); margin: 0 0 14px; max-width: 66ch; }
.summary .lead-cap { color: var(--accent-text); font-weight: 600; }
.summary strong { color: var(--text-strong); font-weight: 600; }

.ledger { display: grid; grid-template-columns: repeat(var(--cells, 5), 1fr); margin: 40px 0 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.ledger .cell { padding: 20px 16px 18px; border-right: 1px solid var(--line); }
.ledger .cell:last-child { border-right: none; }
.ledger .num { font-family: var(--font-display); font-weight: 800; font-size: 2.15rem; line-height: .95; color: var(--text-strong); letter-spacing: .01em; }
.ledger .cell.verdict .num { color: var(--accent-text); }
.ledger .lab { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.ledger .lab span { display: block; color: var(--accent-text); margin-top: 6px; font-size: .64rem; letter-spacing: .06em; }

/* ---------- field cards ---------- */
.fields { padding: 24px 0 10px; }
.field {
    background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 34px 40px 32px; margin-bottom: 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .05);
}
.field-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.field-index { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dim); }
.field-index strong, .field-index b { color: var(--accent-text); font-weight: 700; }
.field h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.4vw, 2.1rem); line-height: 1.06; margin: 4px 0 18px; color: var(--text-strong); letter-spacing: .01em; text-wrap: balance; }
.field h2 em { font-style: normal; color: var(--accent-text); }
.field h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin: 30px 0 10px; color: var(--text-strong); letter-spacing: .01em; }
.field > p, .field > ul, .field > ol, .field > blockquote { max-width: 68ch; }
.field > p { font-size: 1.0625rem; line-height: 1.78; margin: 0 0 18px; }
.field > p:last-child { margin-bottom: 0; }
.field strong { color: var(--text-strong); font-weight: 600; }
.field em { font-style: italic; }
.field p a:not(.src), .field li a:not(.src) { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.field ul { list-style: none; margin: 14px 0 18px; padding: 0; }
.field ul li { position: relative; padding-left: 24px; margin: 0 0 12px; font-size: 1.0625rem; line-height: 1.7; }
.field ul li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--accent-text); font-weight: 700; }
.field ol { margin: 14px 0 18px; padding-left: 1.4rem; }
.field ol li { margin: 0 0 10px; }
.field ol li::marker { color: var(--accent-text); font-weight: 700; font-family: var(--font-mono); }
.field blockquote { margin: 20px 0; padding: 14px 20px; border-left: 3px solid var(--accent-text); background: var(--accent-tint); border-radius: 0 8px 8px 0; }
.field blockquote p { margin: 0; }
.field hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }
.field .table-scroll { overflow-x: auto; margin: 18px 0; }
.field .table-scroll table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.field .table-scroll th { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dim); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.field .table-scroll td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }

.caveat-tag {
    font-family: var(--font-mono); font-size: .74rem; letter-spacing: .03em; color: var(--accent-text);
    background: var(--accent-tint); border-radius: 4px; padding: .35em .7em; margin: 0 0 18px; display: inline-block; line-height: 1.5;
}
.pull {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.6rem); line-height: 1.2; color: var(--text-strong);
    border-left: 3px solid var(--accent-text); padding: 2px 0 2px 20px; margin: 26px 0; letter-spacing: .01em; max-width: 60ch;
}
.pull em { font-style: normal; color: var(--accent-text); }

/* inline named sources: "claim.[Publisher↗]" */
.src {
    font-family: var(--font-mono); font-size: .64em; font-weight: 600; letter-spacing: 0; vertical-align: super; line-height: 0;
    white-space: nowrap; margin-left: .25em; color: var(--accent-text); text-decoration: none;
}
.src::after { content: "\2197"; font-size: .85em; margin-left: .08em; opacity: .75; }
.src + .src { margin-left: .4em; }
.src:hover { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- figures (dark panels): unchanged design ---------- */
.schematic { margin: 28px 0 6px; background: var(--hero-bg); border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; }
.schematic figure { margin: 0; }
.schematic img { width: 100%; height: auto; display: block; background: var(--hero-bg); }
.schematic img.cover { height: 360px; object-fit: cover; object-position: center 45%; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 6px; }
.photo-row .schematic { margin: 0; height: 100%; }
.photo-row img.cover { height: 250px; }
/* Whole object always visible: a sharp contained image over a blurred copy of itself. */
.duo-fill { position: relative; height: 440px; overflow: hidden; background: var(--hero-bg); }
.duo-fill .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(26px) brightness(.55) saturate(1.1); transform: scale(1.12); }
.duo-fill .fg { position: relative; width: 100%; height: 100%; object-fit: contain; background: none; }
.schematic figcaption { padding: 18px 24px 20px; border-top: 1px solid var(--line-dark); }
.sc-name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1.16rem; line-height: 1.1; color: #fff; margin: 0; }
.sc-name em { font-style: normal; color: var(--accent-bright); }
.sc-desc { font-size: .92rem; line-height: 1.55; color: #cbd5e1; margin: 6px 0 0; }
.sc-desc strong { color: var(--hero-text); font-weight: 600; }
.sc-credit { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .03em; text-transform: uppercase; color: #94a3b8; margin: 10px 0 0; line-height: 1.55; }
.sc-credit a { color: #94a3b8; text-decoration: underline; text-underline-offset: 2px; }

/* dark data table ("ruler") */
.ruler-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ruler { width: 100%; min-width: 660px; border-collapse: collapse; font-size: .92rem; }
table.ruler th { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb0c4; font-weight: 500; text-align: left; padding: 16px 14px 10px; border-bottom: 1px solid #263449; white-space: nowrap; }
table.ruler td { padding: 14px; border-bottom: 1px solid #1b2639; vertical-align: top; color: #cbd5e1; line-height: 1.5; }
table.ruler tr:last-child td { border-bottom: none; }
table.ruler .arch { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; color: #fff; white-space: nowrap; }
table.ruler .arch b { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 500; letter-spacing: .08em; color: var(--accent-bright); margin-top: 3px; text-transform: uppercase; }
table.ruler .why { color: #e8eef5; }
table.ruler tr.newcat td { background: rgba(99, 179, 237, .07); }
table.ruler tr.newcat .arch::after { content: "NEW"; font-family: var(--font-mono); font-size: .55rem; letter-spacing: .1em; color: var(--hero-bg); background: var(--accent-bright); border-radius: 3px; padding: .18em .42em; margin-left: .5em; vertical-align: middle; }
.ladder-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 24px 20px; border-top: 1px solid var(--line-dark); }
.ladder-legend span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .03em; text-transform: uppercase; color: #cbd5e1; display: flex; align-items: center; gap: 8px; }
.ladder-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; flex: none; background: #475569; }
.ladder-legend i.new { background: var(--accent-bright); }

/* ---------- notes, close, related ---------- */
.note { background: var(--accent-tint); border: 1px solid var(--accent-line); border-radius: 12px; padding: 28px 32px; margin: 20px 0 0; }
.note .eyebrow { color: var(--accent-text); margin-bottom: 10px; }
.note h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; margin: 0 0 12px; color: var(--text-strong); letter-spacing: .01em; }
.note p { margin: 0 0 12px; font-size: 1rem; line-height: 1.7; max-width: 68ch; }
.note p:last-child { margin-bottom: 0; }
.note a { color: var(--accent-text); text-underline-offset: 3px; font-weight: 500; }

.close { padding: 16px 0 0; }
.close .field { background: linear-gradient(180deg, var(--accent-tint), var(--card) 150px); border-color: var(--accent-line); }

.series-card {
    display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line);
    border-left: 4px solid var(--accent-text); border-radius: 12px; padding: 22px 30px; margin: 8px 0 20px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.series-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, .10); }
.series-kicker { font-family: var(--font-mono); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--accent-text); margin: 0 0 8px; }
.series-title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; margin: 0 0 6px; color: var(--text-strong); }
.series-title em { font-style: normal; color: var(--accent-text); }
.series-sub { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.series-cta { color: var(--accent-text); font-weight: 700; white-space: nowrap; }

.sources-list { margin: 8px 0 20px; border-top: 1px solid var(--line); }
.sources-list summary { cursor: pointer; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 16px 0; }
.sources-list summary:hover { color: var(--accent-text); }
.sources-list ol { margin: 0 0 8px; padding-left: 1.4rem; font-size: .95rem; line-height: 1.6; color: var(--muted); }
.sources-list li { margin-bottom: 8px; }
.sources-list a { color: var(--accent-text); text-underline-offset: 3px; }

/* ---------- email sign-up ---------- */
.subscribe {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 20px 32px; align-items: center;
    position: relative; overflow: hidden; margin: 28px 0 20px; padding: 30px 34px;
    background: var(--hero-bg); color: var(--hero-text); border-radius: 12px; border-left: 4px solid var(--accent-bright);
}
.subscribe::after { /* the same glow as the mastheads */
    content: ""; position: absolute; right: -20%; top: -80%; width: 70%; height: 260%;
    background: radial-gradient(closest-side, rgba(49, 130, 206, .28), rgba(49, 130, 206, 0) 72%); pointer-events: none;
}
.subscribe > * { position: relative; z-index: 1; }
.subscribe .eyebrow { color: var(--accent-bright); margin-bottom: 8px; }
.subscribe h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin: 0 0 8px; color: #fff; letter-spacing: .01em; }
.subscribe-copy p:last-child { margin: 0; font-size: .95rem; color: var(--hero-muted); }
.subscribe-form { display: flex; gap: 8px; }
.subscribe-form input[type="email"] {
    flex: 1; min-width: 0; font: inherit; font-size: .95rem; color: var(--text-strong); background: #fff;
    border: 1px solid transparent; border-radius: 8px; padding: 11px 14px;
}
.subscribe-form input[type="email"]:focus { outline: 2px solid var(--accent-bright); outline-offset: 1px; }
.subscribe-form button, .subscribe-button {
    font-family: var(--font-mono); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--hero-bg); background: var(--accent-bright); border: 0; border-radius: 8px; padding: 12px 16px; cursor: pointer;
    text-decoration: none; white-space: nowrap; transition: transform .18s ease, filter .18s ease;
}
.subscribe-form button:hover, .subscribe-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.subscribe-form:has(.subscribe-button) { justify-content: flex-end; }

/* ---------- footer ---------- */
.site-footer { margin-top: 56px; border-top: 1px solid var(--line); background: var(--paper); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; padding-top: 32px; padding-bottom: 24px; }
.footer-brand .brand img { filter: none; }
.footer-brand .brand-name { color: var(--text-strong); }
.footer-brand .brand-tag { background: #1a365d; }
.footer-brand p { margin: 10px 0 0; font-size: .95rem; line-height: 1.6; color: var(--muted); max-width: 46ch; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 24px; padding-top: 2px; }
.footer-links a { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 4px 0; }
.footer-links a:hover { color: var(--accent-text); text-decoration: underline; text-underline-offset: 4px; }
/* The divider is drawn inside the gutters so it lines up with the text, not the screen edge. */
.footer-legal {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 18px; padding-bottom: 36px;
    background: linear-gradient(var(--line), var(--line)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.footer-legal p { margin: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dim); line-height: 1.6; }
@media (prefers-color-scheme: dark) {
    .footer-brand .brand img { filter: brightness(0) invert(1); }
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-links { justify-content: flex-start; }
}
@media (max-width: 760px) {
    :root { --gutter: 20px; }
    body { font-size: 16px; }
    .hero .wrap { padding-top: 18px; padding-bottom: 40px; }
    .masthead-top { margin-bottom: 32px; }
    .hero-article .hero-kicker { margin-top: 28px; }
    .meta { grid-template-columns: repeat(2, 1fr); }
    .ledger { grid-template-columns: repeat(2, 1fr); }
    .ledger .cell { border-bottom: 1px solid var(--line); }
    .ledger .cell:nth-child(odd) { border-right: 1px solid var(--line); }
    .ledger .cell:nth-child(even) { border-right: none; }
    .ledger .cell:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }
    .field { padding: 26px 22px; }
    .field > p, .field ul li { font-size: 1.03rem; }
    .report-card { padding: 22px; }
    .rc-title { font-size: 1.7rem; }
    .photo-row { grid-template-columns: 1fr; }
    .duo-fill { height: 320px; }
    .schematic img.cover { height: 260px; }
    .footer-links { display: grid; grid-template-columns: repeat(2, max-content); column-gap: 40px; }
    .subscribe { grid-template-columns: 1fr; padding: 24px 22px; }
    .subscribe-form:has(.subscribe-button) { justify-content: flex-start; }
    .footer-legal { flex-direction: column; }
}
@media (max-width: 420px) {
    .brand { gap: 8px; }
    .brand img { width: 26px; height: 26px; }
    .brand-name { font-size: 1.2rem; }
    .masthead-aside { font-size: .7rem; letter-spacing: .08em; }
    .meta { grid-template-columns: 1fr; }
    .subscribe-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .report-card, .series-card, .reticle, .rc-arrow { transition: none; }
}
@media print {
    body { background: #fff; font-size: 11pt; }
    .hero { background: #fff; color: #000; border: 0; }
    .hero::before, .hero::after, .hero-media, .hero-scrim, .masthead-aside { display: none; }
    .hero h1, .hero .lede { color: #000; text-shadow: none; }
    .field, .report-card { box-shadow: none; break-inside: avoid; border-color: #ccc; }
    .reveal { opacity: 1 !important; transform: none !important; }
    .schematic { background: #fff; border-color: #ccc; break-inside: avoid; }
    .sc-name { color: #000; }
    .sc-desc { color: #333; }
}
