/* AndurilNews.com - layout and type modeled on classic trade-news sites: warm paper, slab headlines, hairline rules. */
:root {
  --paper: #f8f7f4;
  --card: #ffffff;
  --ink: #0f151e;
  --ink-2: #3a4250;
  --muted: #69717d;
  --rule: #d9d6cf;
  --rule-2: #e9e6df;
  --red: #d42a20;
  --red-ink: #b3221a;
  --navy: #0f151e;
  --chip: #eeece6;
  --link: #0f151e;
  --wrap: 1180px;
  --serif: "Zilla Slab", Georgia, "Times New Roman", serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--red-ink); }
p a, li a, td a, dd a, .note a { text-decoration: underline; text-decoration-color: rgba(212, 42, 32, .45); text-underline-offset: 2px; }
.hl a, .newslist a, .card a, .mainnav a, .topics a, .foot a, .crumbs a, .pcard, .vcard, .chip, .btn, .more, .toc a { text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; margin: 0 0 .4em; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 900px; }
.sr, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ---------- header */
.topbar { background: var(--navy); color: #c9ced6; font-size: 12.5px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.topbar .indep { color: #fff; opacity: .85; }
.masthead { background: var(--paper); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 16px; gap: 16px; }
.logo { display: inline-flex; align-items: baseline; font-family: var(--sans); font-weight: 900; font-style: italic; letter-spacing: -.035em; line-height: .9; font-size: clamp(34px, 6.4vw, 64px); }
.logo .l1 { color: var(--ink); }
.logo .l2 { color: var(--red); }
.logo:hover .l1 { color: var(--ink); }
.logo.sm { font-size: 30px; }
.mast-actions { display: flex; gap: 10px; }
.btn { display: inline-block; font: 700 14px/1 var(--sans); padding: 12px 18px; border-radius: 4px; border: 1px solid var(--ink); cursor: pointer; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #262e3a; color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--ink); }
.mainnav { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.mainnav .wrap { display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.mainnav .wrap::-webkit-scrollbar { display: none; }
.mainnav a { font: 600 14.5px/1 var(--sans); padding: 14px 12px; white-space: nowrap; color: var(--ink); }
.mainnav a.on { box-shadow: inset 0 -3px 0 var(--red); }
.mainnav .search-ico { margin-left: auto; display: flex; }
.topics { border-bottom: 1px solid var(--rule); }
.topics .wrap { display: flex; gap: 16px; align-items: center; padding-top: 9px; padding-bottom: 9px; overflow-x: auto; scrollbar-width: none; font-size: 13px; }
.topics b { font-weight: 800; letter-spacing: .04em; }
.topics a { font-weight: 700; white-space: nowrap; }

/* ---------- common bits */
main { padding: 26px 0 40px; }
.kicker { display: inline-block; font: 800 11.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--red-ink); margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 13px; margin: 4px 0 0; }
.dek { color: var(--ink-2); margin: 6px 0 0; font-size: 15px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; border-top: 3px solid var(--ink); padding-top: 10px; margin: 34px 0 16px; gap: 10px; }
.sec-h h2 { font-size: 24px; margin: 0; }
.more { font: 700 13px var(--sans); white-space: nowrap; }
.sec-title { font-size: 26px; margin: 36px 0 12px; }
.page-h { font-size: clamp(30px, 4.2vw, 44px); margin: 8px 0 10px; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 760px; margin: 0 0 18px; }
.lede-s { color: var(--ink-2); margin: -6px 0 10px; font-size: 14.5px; }
.note { color: var(--muted); font-size: 13.5px; }
.notice { background: #fff6e5; border-left: 4px solid #d9a21b; padding: 12px 16px; font-size: 15px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.badge { display: inline-block; font: 700 11px/1 var(--sans); letter-spacing: .02em; padding: 4px 7px; border-radius: 3px; background: var(--chip); color: var(--ink-2); vertical-align: middle; white-space: nowrap; }
.q-official { background: #0f151e; color: #fff; }
.q-government { background: #1f4e79; color: #fff; }
.q-defense_media { background: #e4ecf5; color: #1f3d5c; }
.q-mainstream { background: #ece9f6; color: #3d3466; }
.q-analyst { background: #e8f2ea; color: #24502f; }
.q-other { background: var(--chip); color: var(--ink-2); }
.c-company_claim { background: #fbe9e7; color: #8a1d16; }
.c-official_record { background: #e3eef8; color: #1f4e79; }
.c-independent { background: #e8f2ea; color: #24502f; }
.c-reported { background: #fff3d6; color: #6b4a00; }
.c-opinion { background: var(--chip); color: var(--ink-2); }
.v-verified { background: #e8f2ea; color: #24502f; }
.v-partly, .v-company-stated { background: #fff3d6; color: #6b4a00; }
.v-aspirational, .v-reported { background: #fbe9e7; color: #8a1d16; }
.v-disputed { background: #f0d7d5; color: #7a1b14; }
.chip { display: inline-block; font: 700 12px/1 var(--sans); padding: 6px 9px; border-radius: 99px; background: var(--chip); color: var(--ink); margin: 0 6px 6px 0; }
a.chip:hover { background: var(--ink); color: #fff; }
.chip.t { background: transparent; border: 1px solid var(--rule); }
.s-concept { background: #f1eef9; color: #4a3d7a; }
.s-prototype { background: #fff3d6; color: #6b4a00; }
.s-testing { background: #fdebd3; color: #7a4100; }
.s-offered { background: var(--chip); color: var(--ink-2); }
.s-deployed { background: #dff0e3; color: #1c5a2c; }
.s-contract_awarded { background: #e3eef8; color: #1f4e79; }
.s-production { background: #0f151e; color: #fff; }
.s-international_sale { background: #fbe9e7; color: #8a1d16; }
.tags { margin: 18px 0; }
.ext { color: var(--muted); font-size: .85em; }

/* ---------- images & placeholders */
.img { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1b2330; }
.img img { width: 100%; height: 100%; object-fit: cover; }
.credit { position: absolute; right: 6px; bottom: 6px; font-size: 10.5px; color: #fff; background: rgba(15, 21, 30, .7); padding: 2px 6px; border-radius: 2px; }
.ph { aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px 16px; color: #fff;
  background-color: #141b26;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    radial-gradient(circle at 78% 22%, rgba(212,42,32,.55), transparent 42%);
  background-size: 28px 28px, 28px 28px, 100% 100%; }
.ph-brand { font: 900 italic 13px/1 var(--sans); letter-spacing: -.02em; margin-bottom: auto; opacity: .9; }
.ph-brand b { color: var(--red); font-weight: 900; }
.ph-k { font: 800 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.ph-p { font: 700 22px/1.1 var(--serif); }
.ph-maritime, .ph-products { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), radial-gradient(circle at 75% 25%, rgba(46,120,190,.6), transparent 45%); }
.ph-funding, .ph-contracts { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), radial-gradient(circle at 75% 25%, rgba(201,152,40,.55), transparent 45%); }
.ph-ethics, .ph-policy, .ph-leadership { background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), radial-gradient(circle at 75% 25%, rgba(120,110,170,.55), transparent 45%); }

/* ---------- home grid */
.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 0; }
.hero-grid > *, .grid4 > *, .grid3 > *, .two-col > *, .three-col > *, .vgrid > *, .pgrid > *, .topic-grid > *, .art-grid > *, .pc > *, .nrow > *, .nl-band .wrap > * { min-width: 0; }
.hero-grid > div, .hero-grid > aside { padding: 0 22px; border-left: 1px solid var(--rule); }
.hero-grid > :first-child { padding-left: 0; border-left: 0; }
.hero-grid > :last-child { padding-right: 0; }
.lead h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 12px; }
.lead .dek { font-size: 17px; }
.more-top { margin-top: 18px; border-top: 1px solid var(--rule); }
.more-top .hl li { font-size: 17px; }
.col-mid .card + .card { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.card h3 { font-size: 19px; margin: 2px 0 0; }
.card.s h3 { font-size: 17px; }
.card .img, .card .ph { margin-bottom: 10px; }
.card .ph .ph-p { font-size: 18px; }
.popular h2, .popular .sec-h h2 { font-size: 22px; }
.popular .sec-h { margin-top: 0; }
.hl { list-style: none; margin: 0; padding: 0; }
.hl li { padding: 10px 0; border-bottom: 1px solid var(--rule-2); font: 600 16px/1.3 var(--serif); }
.hl li:last-child { border-bottom: 0; }
.hl .meta { display: block; font: 400 12.5px var(--sans); }
ol.hl { counter-reset: n; }
ol.hl li { counter-increment: n; display: grid; grid-template-columns: 34px 1fr; column-gap: 6px; }
ol.hl li::before { content: counter(n); font: 900 italic 26px/1 var(--sans); color: var(--red); grid-row: span 2; }
.pop-note { font-size: 12px; color: var(--muted); }
.side-nl { margin-top: 18px; background: var(--ink); color: #fff; padding: 18px; }
.side-nl h3 { color: #fff; font-size: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.grid4 > * { padding: 0 18px; border-left: 1px solid var(--rule); }
.grid4 > :nth-child(4n+1) { padding-left: 0; border-left: 0; }
.grid4 > :nth-child(4n) { padding-right: 0; }
.grid4 > :nth-child(n+5) { margin-top: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 20px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.boxed { background: var(--card); border: 1px solid var(--rule); padding: 4px 22px 18px; }
.boxed .sec-h { border-top: 0; margin-top: 14px; }
.stats { list-style: none; display: flex; gap: 22px; padding: 0; margin: 0 0 8px; flex-wrap: wrap; }
.stats b { font: 800 26px var(--sans); display: block; line-height: 1; }
.stats li { font-size: 13px; color: var(--muted); }
.movers { font-size: 14px; }
.cmini { list-style: none; padding: 0; margin: 0; }
.cmini li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule-2); font-size: 14.5px; }
.cmini .cv { font: 800 15px var(--sans); color: var(--red-ink); }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.tblock .sec-h h2 { font-size: 19px; }
.tblock .hl li { font-size: 15px; }

/* ---------- watch / videos */
.watch { background: var(--card); border: 1px solid var(--rule); padding: 0 26px 26px; margin-top: 36px; }
.watch .sec-h { border-top: 0; margin-top: 18px; }
.sub-h { font-size: 19px; margin: 24px 0 12px; }
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcard h3 { font-size: 16px; margin: 10px 0 0; }
.vthumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.vthumb img { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; left: 50%; top: 50%; width: 54px; height: 38px; margin: -19px 0 0 -27px; background: rgba(212,42,32,.92); border-radius: 9px; }
.play::after { content: ""; position: absolute; left: 22px; top: 11px; border-left: 14px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.vcard:hover .play { background: var(--red); }

/* ---------- products */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pcard { background: var(--card); border: 1px solid var(--rule); display: flex; flex-direction: column; }
.pcard:hover { border-color: var(--ink); color: var(--ink); }
.pcard .card-b { padding: 12px 14px 10px; }
.pcard h3 { font-size: 19px; margin: 0 0 4px; }
.pcard p { font-size: 14px; color: var(--ink-2); margin: 0 0 10px; }
.pcard .ph .ph-p { font-size: 20px; }
.legend { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }

/* ---------- article */
.art h1 { font-size: clamp(30px, 4vw, 44px); margin: 6px 0 12px; }
.art h2 { font-size: 25px; margin: 30px 0 10px; }
.art h3 { font-size: 20px; }
.art p, .art li { font-size: 17.5px; line-height: 1.65; }
.standfirst { font-size: 20px !important; color: var(--ink-2); line-height: 1.5 !important; }
.byline { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; }
.art-img { margin: 18px 0; }
.art-img img { width: 100%; }
.art-img figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.summary p:first-child { font-size: 19px; }
.ai-note { font-size: 13px !important; color: var(--muted); }
.srcq { margin: 18px 0; padding: 14px 20px; border-left: 4px solid var(--rule); background: var(--card); }
.srcq p { font-family: var(--serif); font-size: 19px !important; margin: 0 0 8px; }
.srcq cite { font-size: 13px; color: var(--muted); font-style: normal; }
.why { background: var(--card); border: 1px solid var(--rule); border-top: 4px solid var(--red); padding: 4px 22px 10px; margin: 22px 0; }
.why h2 { font-size: 20px; margin-top: 14px; }
.also ul { padding-left: 18px; }
.also li { font-size: 15px !important; }
.art-grid { display: grid; grid-template-columns: 1fr 290px; gap: 30px; align-items: start; }
.keyfacts { background: var(--card); border: 1px solid var(--rule); padding: 4px 18px 12px; margin: 16px 0; }
.keyfacts h2 { font-size: 18px !important; margin: 14px 0 8px !important; }
.keyfacts table { width: 100%; border-collapse: collapse; font-size: 14px; }
.keyfacts th { text-align: left; color: var(--muted); font-weight: 600; padding: 7px 10px 7px 0; vertical-align: top; width: 38%; border-top: 1px solid var(--rule-2); }
.keyfacts td { padding: 7px 0; border-top: 1px solid var(--rule-2); }
.keyfacts .asof { font-size: 11.5px !important; color: var(--muted); margin: 8px 0 0; }
.prose .keyfacts { float: right; width: 320px; margin: 4px 0 18px 26px; }
.mlist { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule); }
.mlist li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 8px 0 8px 16px; position: relative; font-size: 15.5px !important; line-height: 1.5 !important; }
.mlist li::before { content: ""; position: absolute; left: -6px; top: 15px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.mlist time { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.faq details { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.faq summary { cursor: pointer; font: 600 18px var(--serif); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h2 { display: inline; font-size: 21px; }
.faq.big details p { font-size: 17px; }
.path { padding-left: 0; list-style: none; }
.path li { border-bottom: 1px solid var(--rule); padding: 8px 0; }
.path h2 { font-size: 22px; margin: 6px 0 2px; }
.path p { margin: 0 0 6px; }

/* ---------- lists & tables */
.newslist { list-style: none; padding: 0; margin: 0; }
.nrow { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.nrow > time { color: var(--muted); font-size: 13px; font-weight: 600; padding-top: 3px; }
.nrow a { font: 600 18px/1.3 var(--serif); }
.nrow .dek { font-size: 14.5px; }
.nrow.hide { display: none; }
.filters { background: var(--card); border: 1px solid var(--rule); padding: 12px 14px; margin: 0 0 16px; }
.frow { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 6px; }
.frow > span { font: 800 11.5px var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); width: 64px; }
.fchip { font: 600 12.5px var(--sans); border: 1px solid var(--rule); background: var(--paper); border-radius: 99px; padding: 6px 10px; cursor: pointer; color: var(--ink); }
.fchip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.fclear { font: 600 12.5px var(--sans); background: none; border: 0; color: var(--red-ink); cursor: pointer; padding: 4px 0; text-decoration: underline; }
.archive { margin-top: 30px; }
.arch-links { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--card); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule-2); vertical-align: top; }
table.data thead th { background: var(--ink); color: #fff; font-size: 12.5px; letter-spacing: .03em; position: sticky; top: 0; }
#ctable { min-width: 980px; }
#ctable td:first-child { white-space: nowrap; }
table.data td.num { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
table.data tr.hide { display: none; }
table.cmp tbody th { background: var(--paper); width: 26%; }
.cfilters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.cfilters input, .cfilters select, .searchbox input { font: 15px var(--sans); padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink); max-width: 100%; }
.cfilters input { flex: 1 1 220px; }
.searchbox input { width: 100%; font-size: 18px; padding: 14px 16px; }
.ugrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.ucard { background: var(--card); border: 1px solid var(--rule); padding: 16px 18px; }
.ucard h3 { font-size: 19px; margin: 0 0 4px; }
.ucard p { font-size: 14.5px !important; line-height: 1.5 !important; margin: 6px 0; }
a.ucard.link:hover { border-color: var(--ink); color: var(--ink); }
.toc { display: flex; flex-wrap: wrap; gap: 6px 16px; font: 700 14px var(--sans); padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 10px 0 20px; }
.debate { border-top: 3px solid var(--ink); margin-top: 30px; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc > div { background: var(--card); border: 1px solid var(--rule); padding: 4px 18px 8px; }
.pc .pro { border-top: 4px solid #2e6b3d; }
.pc .con { border-top: 4px solid var(--red); }
.pc h3 { font-size: 17px; margin-top: 12px; }
.pc li { font-size: 15.5px !important; line-height: 1.5 !important; margin-bottom: 6px; }
.glossary .gterm { border-bottom: 1px solid var(--rule); padding: 12px 0; }
.glossary dt { font: 700 20px var(--serif); }
.glossary dt span { font: 400 14px var(--sans); color: var(--muted); }
.glossary dd { margin: 4px 0 0; font-size: 16px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px 0 16px 20px; position: relative; border-bottom: 1px solid var(--rule-2); }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.timeline li.tl-funding::before { background: #c99828; }
.timeline li.tl-contract::before { background: #1f4e79; }
.timeline li.tl-acquisition::before, .timeline li.tl-product::before { background: var(--red); }
.timeline li.hide { display: none; }
.timeline time { font: 700 14px var(--sans); color: var(--muted); padding-top: 4px; }
.timeline h3 { font-size: 20px; margin: 0 0 4px; }
.timeline p { margin: 0 0 6px; font-size: 15.5px; }
.timeline a { font-size: 13px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 18px 0; }
.stat { background: var(--card); border: 1px solid var(--rule); padding: 14px 16px; }
.stat b { display: block; font: 800 28px/1.1 var(--sans); }
.stat span { font-size: 13px; color: var(--ink-2); }
.stat small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.cols2 { columns: 2; }
.plain { padding-left: 0; list-style: none; }
.plain li { margin-bottom: 10px; }

/* ---------- charts & diagram */
.chart { background: var(--card); border: 1px solid var(--rule); padding: 14px 16px 6px; margin: 18px 0; }
.chart figcaption { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart .grid { stroke: var(--rule-2); stroke-width: 1; }
.chart .base { stroke: var(--ink-2); stroke-width: 1; }
.chart .ax { font: 12px var(--sans); fill: var(--muted); }
.chart .dl { font: 800 14px var(--sans); fill: var(--ink); }
.chart .bar { fill: #5b6573; }
.chart .bar.last { fill: var(--red); }
.chart .hit { fill: transparent; }
.chart .bg:hover .bar, .chart .bg:focus .bar { fill: var(--ink); }
.chart .bg:hover .bar.last, .chart .bg:focus .bar.last { fill: var(--red-ink); }
.chart .bg:focus { outline: none; }
.dg { margin: 16px 0; background: var(--card); border: 1px solid var(--rule); padding: 10px; }
.dg svg { width: 100%; height: auto; }
.dg figcaption { font-size: 13px; color: var(--muted); padding: 4px 8px; }
.diagram .ln { stroke: var(--ink-2); stroke-width: 1.5; }
.diagram .ln3 { stroke: var(--muted); stroke-width: 1.5; stroke-dasharray: 5 5; }
.diagram .node rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }
.diagram .node.n3 rect { stroke: var(--muted); stroke-dasharray: 4 3; fill: #fff; }
.diagram .node text { font: 700 13px var(--sans); fill: var(--ink); text-anchor: middle; }
.diagram a:hover rect { fill: var(--ink); }
.diagram a:hover text { fill: #fff; }
.diagram .hub circle { fill: var(--red); }
.diagram .hub text { font: 900 italic 17px var(--sans); fill: #fff; text-anchor: middle; }
.diagram .hub text.sm { font: 600 10.5px var(--sans); }

/* ---------- newsletter */
.signup { display: flex; flex-wrap: wrap; gap: 8px; }
.signup input[type=email] { flex: 1 1 200px; min-width: 0; font: 15px var(--sans); padding: 12px 12px; border: 1px solid var(--rule); border-radius: 4px; }
.signup .hp { position: absolute; left: -9999px; }
.signup-msg { flex-basis: 100%; margin: 4px 0 0; font-size: 13.5px; min-height: 1em; }
.side-nl .signup-msg { color: #fff; }
.nl-band { background: var(--navy); color: #fff; padding: 34px 0; margin-top: 40px; }
.nl-band .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.nl-band h2 { color: #fff; font-size: 28px; }
.nl-band p { color: #c9ced6; margin: 0; }
.nl-band .signup-msg { color: #fff; }
.nl-box { background: var(--card); border: 1px solid var(--rule); padding: 20px; margin: 18px 0; }

/* ---------- footer */
.foot { background: #0b1017; color: #aab1bb; padding: 34px 0 40px; font-size: 14px; }
.foot .logo .l1 { color: #fff; }
.foot-top { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; border-bottom: 1px solid #253040; padding-bottom: 20px; }
.foot-top p { margin: 0; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
.foot h4 { color: #fff; font: 800 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.foot-cols a { display: block; color: #cfd5dd; padding: 3px 0; }
.foot-cols a:hover { color: #fff; }
.foot-note { font-size: 12.5px; color: #7f8894; border-top: 1px solid #253040; padding-top: 16px; margin: 0; }

/* ---------- responsive */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid > .col-side { grid-column: 1 / -1; border-left: 0; padding: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .side-nl { margin-top: 0; }
  .grid4, .vgrid, .pgrid, .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .grid4 > * { padding: 0 14px; border-left: 1px solid var(--rule); }
  .grid4 > :nth-child(odd) { padding-left: 0; border-left: 0; }
  .grid4 > :nth-child(n+3) { margin-top: 22px; }
  .three-col { grid-template-columns: 1fr 1fr; }
  .art-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap span:first-child { display: none; }
  .mast-actions .ghost { display: none; }
  .masthead .wrap { padding-top: 16px; padding-bottom: 12px; }
  .btn { padding: 10px 14px; }
  .hero-grid, .hero-grid > .col-side, .two-col, .three-col, .grid3, .pc, .nl-band .wrap, .foot-top { grid-template-columns: 1fr; }
  .hero-grid > div, .hero-grid > aside { padding: 0; border-left: 0; }
  .col-mid { margin-top: 20px; border-top: 1px solid var(--rule); padding-top: 18px !important; }
  .grid4, .pgrid, .topic-grid { grid-template-columns: 1fr; }
  .grid4 > * { padding: 0 !important; border-left: 0 !important; margin-top: 0 !important; }
  .grid4 > * + * { margin-top: 20px !important; padding-top: 20px !important; border-top: 1px solid var(--rule); }
  .vgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vcard h3 { font-size: 14px; }
  .watch { padding: 0 14px 18px; }
  .nrow { grid-template-columns: 1fr; gap: 2px; }
  .timeline li, .mlist li { grid-template-columns: 1fr; gap: 2px; }
  .prose .keyfacts { float: none; width: auto; margin: 16px 0; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .cols2 { columns: 1; }
  .frow > span { width: 100%; }
  .art p, .art li { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .mainnav, .topics, .nl-band, .foot, .signup, .side-nl { display: none; } body { background: #fff; } }
