/* Defense Autonomy Review. Spruce ground, chart-paper ink, brass accent.
   Archivo carries the nameplate (wide) and headlines (condensed); Literata carries reading text. */

:root {
  --paper: #142622;
  --wash: #1b322d;
  --ink: #e8ece4;
  --soft: #a3b3ab;
  --rule: #3a514a;
  --mark: #c9a35a;
  --mark-fill: #c9a35a;
  --mark-fill-hover: #d9b877;
  --on-mark: #1c1505;
  --band: #e8ece4;
  --band-soft: #47584f;
  --field: #0e1c19;
  --scrim: rgb(5 12 10 / 0.78);
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --max: 1280px;
}

/* The light edition: add data-theme="light" to <html>. */
:root[data-theme="light"] {
  --paper: #eef0ea;
  --wash: #dfe4db;
  --ink: #17302b;
  --soft: #51605b;
  --rule: #b6c0b5;
  --mark: #7a5712;
  --mark-fill: #7a5712;
  --mark-fill-hover: #93691a;
  --on-mark: #fff;
  --band: #17302b;
  --band-soft: #b9c8bf;
  --field: #fff;
  --scrim: rgb(23 48 43 / 0.72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  hanging-punctuation: first;
}
h1, h2, h3, h4, p, figure, blockquote, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; text-align: left; }
a:hover, button:hover { color: var(--mark); }
:focus-visible { outline: 2px solid var(--mark); outline-offset: 3px; }
::selection { background: var(--mark-fill); color: var(--on-mark); }
[hidden] { display: none !important; }

.shell { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; top: -60px; left: 16px; z-index: 20; background: var(--ink); color: var(--paper); padding: 12px 16px; }
.skip:focus { top: 8px; color: var(--paper); }

/* Shared type roles */
.category { font-size: 13px; font-weight: 600; color: var(--mark); }
.category a:hover, a.category:hover { text-decoration: underline; text-underline-offset: 3px; }
.story-meta { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--soft); }
.text-link {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--mark);
}
/* Every block on the home page opens the same way: a short label, a rule, and sometimes a link. */
.section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-size: 19px; font-weight: 800; font-stretch: 112%; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; }
.section-head .rule { flex: 1; height: 2px; background: var(--ink); }
.section-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }
figcaption { font-size: 12px; line-height: 1.5; color: var(--soft); margin-top: 8px; max-width: 62ch; }
figcaption a { text-decoration: underline; text-underline-offset: 2px; }

/* Utility bar, nameplate and section navigation.
   The home page stacks a large nameplate over the sections. Other pages put both on one
   line when there is room. Either way only the sections stay pinned while scrolling. */
.edition-bar { font-size: 13px; color: var(--soft); border-bottom: 1px solid var(--rule); }
.edition-bar .shell { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.today { display: flex; gap: 16px; }
.today time { color: var(--ink); }
.edition-bar nav { display: flex; gap: 22px; }
.edition-bar a { color: var(--ink); font-weight: 500; }
.edition-bar a:hover { color: var(--mark); }
.social { display: flex; align-items: center; gap: 12px; }
.social a { display: grid; place-items: center; }
.social svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.edition-bar .social { padding-left: 18px; border-left: 1px solid var(--rule); }
.footer-about .social { margin-top: 16px; gap: 14px; }
.theme-toggle { font-size: 13px; font-weight: 500; color: var(--ink); padding-left: 18px; border-left: 1px solid var(--rule); min-height: 24px; }
:root[data-theme="light"] .monogram { content: url(brand/mark-on-light.svg); }
.footer-about .social svg { width: 20px; height: 20px; }
.edition-bar [aria-current] { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 5px; }

.site-header { --mast: 78px; position: sticky; top: calc(-1 * var(--mast)); z-index: 10; background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header { --mast: 72px; }
.site-header.home { --mast: 108px; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--mast); }
.wordmark { display: flex; align-items: center; gap: 0.4em; font-size: 28px; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
/* The DA mark, drawn in brand/mark-on-dark.svg. Sized from the text beside it. */
.monogram { flex-shrink: 0; width: 1.25em; height: 1.25em; }
.home .wordmark { font-size: clamp(28px, 3.3vw, 42px); }
.wordmark:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; }
.search-button svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.subscribe-link { background: var(--ink); color: var(--paper); padding: 11px 16px; border-radius: 2px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.subscribe-link:hover { background: var(--mark-fill); color: var(--on-mark); }

#navigation { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; border-top: 2px solid var(--ink); }
#navigation::-webkit-scrollbar { display: none; }
#navigation a { flex-shrink: 0; font-size: 16px; font-weight: 600; line-height: 52px; }
#navigation [aria-current] { box-shadow: inset 0 -3px 0 var(--mark); }
#navigation .nav-right { margin-left: auto; }
#navigation :focus-visible { outline-offset: -3px; }
.featured-bar { font-size: 14px; border-bottom: 1px solid var(--rule); }
.featured-bar .shell { display: flex; align-items: center; gap: 26px; min-height: 42px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.featured-bar .shell::-webkit-scrollbar { display: none; }
.featured-bar strong { font-weight: 700; }
.featured-bar a { text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 4px; }
.featured-bar [aria-current] { font-weight: 700; }
.article-progress { position: absolute; left: 0; bottom: -1px; width: 0; height: 3px; background: var(--mark); }

/* Lead story */
.lead-section { padding: 32px 0 56px; }
.lead-section > .section-head { margin-bottom: 22px; }
.lead-section h1 {
  font-size: clamp(50px, 9.4vw, 138px);
  font-weight: 700;
  font-stretch: 62%;
  line-height: 0.92;
  letter-spacing: -0.012em;
  max-width: 13em;
}
.lead-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 36px; }
.lead-side { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.lead-photo .photo-wrap { display: block; aspect-ratio: 16 / 9; background: var(--wash); overflow: hidden; }
.lead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 55%; }

.lead-deck { font: 400 20px/1.5 var(--serif); margin: 10px 0 12px; max-width: 34ch; }
.lead-copy .text-link { margin-top: 16px; }
.latest-rail { padding-bottom: 28px; }
.latest-rail ul { border-top: 2px solid var(--ink); }
.latest-rail li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.latest-rail li:last-child { border-bottom: 0; padding-bottom: 0; }
.latest-rail li { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; }
.rail-photo { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--wash); }
.rail-photo img { width: 100%; height: 100%; object-fit: cover; }
.latest-rail li div > a { display: block; font-size: 17px; font-weight: 600; font-stretch: 88%; line-height: 1.2; margin-bottom: 4px; }

/* Story teasers: a grid on the home page, rows on section pages */
.coverage-section { background: var(--wash); padding: 48px 0 60px; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 36px; margin-bottom: -48px; }
.teaser { display: grid; grid-row: span 5; grid-template-rows: subgrid; align-items: start; padding-bottom: 48px; }
.teaser-photo { display: block; aspect-ratio: 3 / 2; background: var(--paper); overflow: hidden; margin-bottom: 14px; }
.teaser-photo img { width: 100%; height: 100%; object-fit: cover; }
.teaser h3 { font-size: 25px; font-weight: 600; font-stretch: 88%; line-height: 1.15; margin: 6px 0 8px; }
.teaser p { font: 400 16px/1.55 var(--serif); color: var(--soft); }
.teaser .story-meta { margin-top: 12px; }
.domain-head { align-self: stretch; padding: 10px 0 12px; border-top: 2px solid var(--ink); font-size: 17px; font-weight: 700; }
.domain h3 { margin-top: 0; }

.page-header { padding: 52px 0 36px; }
.page-header .category { margin-bottom: 10px; }
.page-header h1 { font-size: clamp(54px, 9vw, 120px); font-weight: 700; font-stretch: 62%; line-height: 0.92; letter-spacing: -0.012em; }
.page-header p { font: 400 21px/1.5 var(--serif); color: var(--soft); max-width: 40ch; margin-top: 16px; }
.page-header .page-note a { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.page-header .page-note { font: 500 15px/1.5 var(--sans); color: var(--ink); margin-top: 14px; }
/* Home page: one block per section, in navigation order */
.section-block .section-head { margin-bottom: 22px; }
.section-block .teaser-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; padding: 0; border-top: 0; }
.section-block .teaser-row + .teaser-row { margin-top: 28px; }
.section-block .teaser-row .teaser-photo { background: var(--paper); }
.section-block .teaser-row .category { display: none; }
.section-block .teaser-row h3 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; font-stretch: 68%; line-height: 1.02; margin: 0 0 12px; }
/* Home-page section layouts. Every section holds three stories; each arranges them differently. */
.section-block + .section-block { margin-top: 56px; }
.hb-item h3 { font-size: 23px; font-weight: 600; font-stretch: 88%; line-height: 1.15; margin-bottom: 8px; }
.hb-item p { font: 400 16px/1.55 var(--serif); color: var(--soft); }
.hb-item .story-meta { margin-top: 10px; }
.hb-item .teaser-photo { margin-bottom: 14px; background: var(--paper); }
.hb-big h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 700; font-stretch: 68%; line-height: 1; margin-bottom: 12px; }
.hb-big p { font-size: 18px; max-width: 46ch; }
.hb-thumb { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: start; }
.hb-thumb .teaser-photo { margin: 0; aspect-ratio: 1; }
.hb-thumb h3 { font-size: 21px; }

.hb-split .hb-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 44px; }
.hb-split .hb-side { display: grid; align-content: space-between; gap: 20px; }
.hb-split .hb-side .hb-item + .hb-item { padding-top: 20px; border-top: 1px solid var(--rule); }
.hb-split .hb-big .teaser-photo { aspect-ratio: 16 / 10; }

.hb-cards .hb-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }

.hb-split-reverse .hb-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 44px; }
.hb-split-reverse .hb-main { display: grid; align-content: start; gap: 24px; }
.hb-split-reverse .hb-main .hb-item + .hb-item { padding-top: 24px; border-top: 1px solid var(--rule); }
.hb-split-reverse .hb-main h3 { font-size: 27px; }
.hb-split-reverse .hb-big { display: grid; grid-template-columns: 1fr; }

.hb-rows .hb-wide { grid-template-columns: 260px 1fr; gap: 28px; align-items: center; padding: 20px 0; border-top: 1px solid var(--rule); }
.hb-rows .hb-wide:first-child { padding-top: 0; border-top: 0; }
.hb-rows .hb-wide .teaser-photo { aspect-ratio: 3 / 2; }
.hb-rows .hb-wide h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; font-stretch: 75%; line-height: 1.05; }

.hb-headline .hb-main h3 { font-size: clamp(38px, 5.2vw, 76px); font-weight: 700; font-stretch: 62%; line-height: 0.95; margin-bottom: 14px; max-width: 16em; }
.hb-headline .hb-main p { font-size: 19px; max-width: 52ch; }
.hb-headline .hb-side { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }

.hb-columns .hb-main { display: grid; grid-template-columns: repeat(3, 1fr); }
.hb-columns .hb-item { padding: 0 28px; border-left: 1px solid var(--rule); }
.hb-columns .hb-item:first-child { padding-left: 0; border-left: 0; }
.hb-columns .hb-item:last-child { padding-right: 0; }
.hb-columns h3 { font-size: 28px; font-weight: 700; font-stretch: 75%; line-height: 1.05; margin-bottom: 12px; }

.teaser-rows { padding-bottom: 72px; }
.teaser-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 36px; align-items: center; padding: 28px 0; border-top: 1px solid var(--rule); }
.teaser-row:first-child { border-top: 2px solid var(--ink); }
.teaser-row .teaser-photo { margin: 0; background: var(--wash); }
.teaser-row h2 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; font-stretch: 68%; line-height: 1; margin: 8px 0 12px; }
.teaser-row p { font: 400 18px/1.55 var(--serif); color: var(--soft); max-width: 46ch; }
.teaser-row .story-meta { margin-top: 14px; }

/* Special report: a numbered run of stories under one title */
.report-section { padding: 64px 0 72px; }
.report-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.report-grid h3 { font-size: clamp(42px, 6.4vw, 92px); font-weight: 700; font-stretch: 62%; line-height: 0.94; margin: 0 0 22px; }
.report-blurb { font: 400 19px/1.55 var(--serif); max-width: 40ch; margin-bottom: 22px; }
.report-grid ol { margin: 0; padding: 0; list-style: none; counter-reset: part; }
.report-grid li { counter-increment: part; border-bottom: 1px solid var(--rule); }
.report-grid li a { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 20px 0 22px; }
.report-grid li:first-child a { padding-top: 0; }
.report-grid li a::before { content: counter(part); grid-row: span 2; font-size: 64px; font-weight: 700; font-stretch: 62%; line-height: 0.85; color: var(--mark); }
.report-grid strong { font-size: 25px; font-weight: 600; font-stretch: 88%; line-height: 1.15; }
.report-grid li span { font: 400 16px/1.55 var(--serif); color: var(--soft); margin-top: 6px; }
.part { font-size: 14px; font-weight: 700; margin-bottom: 6px; }

/* Opinion feature */
.perspective-section { background: var(--wash); padding: 64px 0 72px; }
.perspective-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; }
.perspective-grid figure { order: 2; }
.perspective-grid img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.perspective-grid h3 { font-size: clamp(42px, 6.4vw, 92px); font-weight: 700; font-stretch: 62%; line-height: 0.94; margin: 0 0 22px; }
.perspective-grid p { font: 400 19px/1.55 var(--serif); max-width: 40ch; margin-bottom: 22px; }

/* The editorial line that closes the home page */
.creed { padding-top: 48px; padding-bottom: 56px; }
.editor-note { font: italic 400 22px/1.45 var(--serif); }
.editor-note a { font: 600 15px var(--sans); white-space: nowrap; margin-left: 10px; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--mark); }

/* Briefing sign-up */
.newsletter { background: var(--band); color: var(--paper); padding: 52px 0 56px; }
.newsletter-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: end; }
.newsletter h2 { font-size: clamp(32px, 3.8vw, 48px); font-weight: 700; font-stretch: 68%; line-height: 1.02; }
.newsletter h2 + p { font: 400 17px/1.55 var(--serif); color: var(--band-soft); max-width: 44ch; margin-top: 12px; }
.newsletter label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.email-row { display: flex; gap: 8px; }
.email-row input { flex: 1; min-width: 0; padding: 13px 14px; font-size: 16px; color: var(--ink); background: var(--paper); border: 0; border-radius: 2px; }
.email-row button { padding: 13px 18px; font-size: 15px; font-weight: 700; color: var(--on-mark); background: var(--mark-fill); border-radius: 2px; }
.email-row button:hover { background: var(--mark-fill-hover); color: var(--on-mark); }
.form-note { font-size: 13px; color: var(--band-soft); margin-top: 12px; }
.newsletter :focus-visible { outline-color: var(--paper); }

/* Footer */
.site-footer { padding-top: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 0.45em; font-size: 17px; white-space: nowrap; font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; }
.footer-about p { font: 400 16px/1.5 var(--serif); color: var(--soft); max-width: 30ch; margin-top: 12px; }
.site-footer h2 { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.site-footer li { font-size: 14px; line-height: 1.3; }
.site-footer li a { display: inline-block; padding: 5px 0; color: var(--soft); }
.site-footer li a:hover { color: var(--mark); }
.footer-fine { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--soft); padding: 16px 0 28px; border-top: 1px solid var(--rule); }

/* Video */
.video-section { padding: 64px 0 72px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 36px; }
.video-page { padding-bottom: 72px; }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--wash); overflow: hidden; margin-bottom: 14px; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb::after { content: ''; position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; background: var(--mark-fill); clip-path: polygon(34% 26%, 34% 74%, 76% 50%); }
.video-thumb::before { content: ''; position: absolute; left: 14px; bottom: 14px; width: 44px; height: 44px; background: var(--paper); z-index: 0; }
.video-thumb::after { z-index: 1; }
.video-card h2, .video-card h3 { font-size: 25px; font-weight: 600; font-stretch: 88%; line-height: 1.15; margin-bottom: 8px; }
.video-card p { font: 400 16px/1.55 var(--serif); color: var(--soft); }
.video-card .story-meta { margin-top: 12px; }
.empty-note { font: 400 21px/1.5 var(--serif); max-width: 36ch; padding-top: 28px; border-top: 2px solid var(--ink); }

/* Sponsored content is always marked */
.sponsored-note { font-size: 14px; color: var(--soft); margin: -12px 0 24px; }
.sponsor { font-size: 13px; font-weight: 700; color: var(--mark); margin-bottom: 8px; }
.sponsored-card { padding-top: 16px; border-top: 2px solid var(--mark); }
.sponsor-terms { padding-top: 0; }
.sponsor-terms h2 { margin-top: 0; }
.sponsor-terms a { text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 3px; }
.menu-grid small { font-size: 12px; font-weight: 500; color: var(--soft); margin-left: 6px; }

/* The full menu */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 28px 32px 8px; }
.menu-grid h2 { font-size: 14px; font-weight: 700; font-stretch: 100%; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.menu-grid li a { display: block; padding: 9px 0; font-size: 17px; font-weight: 600; font-stretch: 88%; border-bottom: 1px solid var(--rule); }

/* Search dialog */
dialog { width: min(760px, 94vw); max-height: 90vh; padding: 0 0 28px; border: 1px solid var(--rule); border-radius: 3px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgb(0 0 0 / 0.3); }
dialog::backdrop { background: var(--scrim); }
.dialog-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 32px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.dialog-bar > span { font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; }
.close { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.close span { font-size: 22px; line-height: 1; }
dialog h2 { font-size: 34px; font-weight: 700; font-stretch: 68%; margin: 28px 32px 18px; }
dialog label { display: block; font-size: 14px; font-weight: 600; margin: 0 32px 8px; }
#query { display: block; width: calc(100% - 64px); margin: 0 32px; padding: 13px 14px; font-size: 17px; background: var(--field); border: 1px solid var(--soft); border-radius: 2px; }
#search-status { font-size: 13px; color: var(--soft); padding: 14px 32px 0; }
#results { margin: 6px 32px 0; }
.result { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 19px; font-weight: 600; font-stretch: 88%; line-height: 1.25; }
.result small { display: block; font-size: 13px; font-stretch: 100%; color: var(--mark); margin-bottom: 4px; }
.empty { font: 400 16px/1.6 var(--serif); color: var(--soft); padding: 18px 0; }

/* Article page */
.article-header { width: min(1080px, 100% - 48px); margin-inline: auto; padding: 52px 0 36px; }
.article-header h1 { font-size: clamp(48px, 8.6vw, 120px); font-weight: 700; font-stretch: 62%; line-height: 0.93; letter-spacing: -0.012em; margin: 14px 0 26px; }
.article-deck { font: 400 22px/1.5 var(--serif); max-width: 36em; }
.article-byline { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--soft); margin-top: 24px; }
.article-hero { width: min(1080px, 100% - 48px); margin: 0 auto 48px; }
.article-hero img { width: 100%; height: auto; }
.article-layout { display: grid; grid-template-columns: 200px minmax(0, 660px); gap: 64px; width: min(1080px, 100% - 48px); margin: 0 auto 72px; align-items: start; }
.article-toc { position: sticky; top: 84px; font-size: 14px; line-height: 1.4; }
.article-toc h2 { font-size: 14px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.article-toc a { display: block; padding: 10px 0; color: var(--soft); border-bottom: 1px solid var(--rule); }
.article-toc a:hover { color: var(--mark); }
.article-body { min-width: 0; }
.article-body p { font: 400 19px/1.72 var(--serif); margin-bottom: 24px; }
.article-body p a { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body p a:hover { text-decoration-thickness: 2px; }
.article-end p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body h2 { font-size: 32px; font-weight: 700; font-stretch: 75%; line-height: 1.08; margin: 44px 0 16px; scroll-margin-top: 84px; }
.article-embed { margin: 36px 0; }
.article-embed video, .article-embed iframe { max-width: 100%; }
video.video-thumb { width: 100%; height: auto; object-fit: cover; }
video.video-thumb::before, video.video-thumb::after { display: none; }
.article-embed video, .article-embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.article-thesis { background: var(--wash); padding: 24px 28px; margin: 36px 0; }
.article-thesis h2 { font-size: 14px; font-stretch: 100%; margin: 0 0 8px; color: var(--mark); }
.article-thesis p { font: 500 22px/1.45 var(--serif); margin: 0; }
.article-body blockquote { font-size: clamp(30px, 4vw, 44px); font-weight: 600; font-stretch: 68%; line-height: 1.08; margin: 40px 0; padding-top: 18px; border-top: 2px solid var(--ink); text-wrap: balance; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px !important; }
.tags span { font: 700 14px var(--sans); color: var(--ink); margin-right: 4px; }
.tags a { font: 600 14px/1 var(--sans); color: var(--ink); padding: 8px 12px; border: 1px solid var(--rule); border-radius: 2px; text-decoration: none !important; }
.tags a:hover { border-color: var(--mark); color: var(--mark); }
.topic-index { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 72px; }
.topic-index h2 { font-size: 14px; font-weight: 700; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.topic-index li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 17px; font-weight: 600; font-stretch: 88%; }
.topic-index li span { font-size: 14px; font-weight: 400; font-stretch: 100%; color: var(--soft); }
.article-end { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); }
.article-end p { font: 400 14px/1.6 var(--sans); color: var(--soft); margin: 0; }
.article-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.article-actions a, .article-actions button { padding: 11px 16px; font-size: 14px; font-weight: 600; border: 1px solid var(--ink); border-radius: 2px; }
.article-actions a:hover, .article-actions button:hover { border-color: var(--mark); }
.copy-status { font-size: 14px; color: var(--soft); min-height: 20px; margin-top: 12px; }

.disclosure { font: 400 15px/1.5 var(--sans); margin-top: 16px; padding: 12px 16px; max-width: 36em; border: 1px solid var(--mark); }
.series-line { font-size: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); max-width: 36em; }
.series-line a, .next-part a { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.article-end .next-part { font: 600 17px/1.4 var(--sans); color: var(--ink); margin-bottom: 18px; }

/* Contact page */
.contact-list { padding-bottom: 72px; }
.contact-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 36px; padding: 28px 0 30px; border-top: 1px solid var(--rule); scroll-margin-top: 64px; }
.contact-row:first-child { border-top: 2px solid var(--ink); }
.contact-row h2 { font-size: 32px; font-weight: 700; font-stretch: 75%; line-height: 1.05; }
.contact-row p { font: 400 18px/1.6 var(--serif); max-width: 52ch; }
.contact-row .contact-line { font: 500 15px/1.5 var(--sans); color: var(--soft); margin-top: 12px; }
.contact-row a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* About and other text pages */
.prose { padding: 52px 0 72px; }
.prose > * { max-width: 660px; }
.prose h1 { font-size: clamp(48px, 7vw, 92px); font-weight: 700; font-stretch: 62%; line-height: 0.94; max-width: 12em; margin-bottom: 28px; }
.prose h2 { font-size: 32px; font-weight: 700; font-stretch: 75%; line-height: 1.08; margin: 52px 0 16px; padding-top: 20px; border-top: 1px solid var(--rule); scroll-margin-top: 64px; }
.prose p { font: 400 19px/1.7 var(--serif); margin-bottom: 20px; }
.prose li { font-size: 15px; line-height: 1.5; color: var(--soft); padding: 10px 0; border-top: 1px solid var(--rule); }
.prose li a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1000px) {
  .lead-grid { grid-template-columns: 1.5fr 1fr; gap: 28px; }
  .lead-deck { font-size: 19px; }
  .teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .perspective-grid { gap: 36px; }
  .report-grid { gap: 36px; }
  .newsletter-grid { gap: 36px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .article-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 760px) {
  .shell, .article-header, .article-hero, .article-layout { width: calc(100% - 32px); }
  .today, .edition-bar .social, .edition-bar nav a[href$="#tips"] { display: none; }
  .edition-bar .shell { justify-content: flex-end; }
  .edition-bar nav { width: 100%; justify-content: space-between; white-space: nowrap; }
  .theme-toggle { margin-left: auto; }
  .theme-toggle { padding-left: 0; border-left: 0; }
  .site-header, .site-header.home { --mast: 60px; }
  .wordmark, .home .wordmark { font-size: clamp(13px, 3.7vw, 22px); min-width: 0; }
  .masthead { gap: 8px; }
  .header-actions { gap: 0; flex-shrink: 0; }
  .search-button { width: 40px; height: 40px; }
  .subscribe-link { display: none; }
  #navigation { gap: 22px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 32px; }
  .featured-bar .shell { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 32px; }
  #navigation a { font-size: 15px; line-height: 48px; }
  #navigation .nav-right { margin-left: 0; }
  .lead-section { padding: 28px 0 40px; }
  .lead-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .lead-photo .photo-wrap { aspect-ratio: 3 / 2; }
  .latest-rail { padding-bottom: 0; }
  .lead-deck { max-width: 38ch; }
  .coverage-section { padding: 36px 0 44px; }
  .teaser-grid { grid-template-columns: 1fr; margin-bottom: -36px; }
  .teaser { padding-bottom: 36px; }
  .page-header { padding: 32px 0 24px; }
  .section-block + .section-block { margin-top: 40px; }
  .hb-split .hb-grid, .hb-split-reverse .hb-grid, .hb-cards .hb-main, .hb-columns .hb-main, .hb-headline .hb-side { grid-template-columns: 1fr; gap: 28px; }
  .hb-split-reverse .hb-side { order: -1; }
  .hb-rows .hb-wide { grid-template-columns: 120px 1fr; gap: 16px; }
  .hb-columns .hb-item { padding: 20px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .hb-columns .hb-item:first-child { padding-top: 0; border-top: 0; }
  .section-block .teaser-row { grid-template-columns: 1fr; gap: 14px; }
  .teaser-rows { padding-bottom: 44px; }
  .teaser-row { grid-template-columns: 1fr; gap: 16px; }
  .report-section { padding: 40px 0 48px; }
  .report-grid { grid-template-columns: 1fr; gap: 28px; }
  .report-grid li a { grid-template-columns: 48px 1fr; }
  .report-grid li a::before { font-size: 48px; }
  .contact-list { padding-bottom: 44px; }
  .contact-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0 24px; }
  .perspective-section { padding: 40px 0 48px; }
  .perspective-grid { grid-template-columns: 1fr; gap: 24px; }
  .perspective-grid figure { order: 0; }
  .creed { padding-top: 32px; padding-bottom: 36px; }
  .editor-note { font-size: 18px; }
  .editor-note a { display: inline-block; margin: 10px 0 0; }
  .newsletter { padding: 40px 0; }
  .newsletter-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-fine { flex-direction: column; gap: 6px; }
  .dialog-bar { padding: 10px 20px; }
  .topic-index { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-bottom: 44px; }
  .menu-grid { grid-template-columns: 1fr; gap: 24px; padding: 20px 20px 4px; }
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-section { padding: 40px 0 48px; }
  dialog h2, dialog label { margin-inline: 20px; }
  #query { width: calc(100% - 40px); margin-inline: 20px; }
  #search-status { padding-inline: 20px; }
  #results { margin-inline: 20px; }
  .article-header { padding: 32px 0 28px; }
  .article-deck { font-size: 19px; }
  .article-hero { margin-bottom: 32px; }
  .article-layout { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .article-toc { position: static; }
  .article-body p { font-size: 18px; }
  .article-body h2 { font-size: 28px; }
  .prose { padding: 32px 0 48px; }
}

@media (max-width: 350px) {
  .wordmark-name { display: none; }
  .monogram { width: 34px; height: 34px; }
}

@media (max-width: 430px) {

  .email-row { flex-wrap: wrap; }
  .email-row input { flex-basis: 100%; }
  .email-row button { width: 100%; text-align: center; }
}

/* Moving between pages: a short cross-fade where the browser supports it. The header holds still. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
.site-header { view-transition-name: site-header; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

@media print {
  :root { --paper: #fff; --wash: #fff; --ink: #000; --soft: #444; --rule: #bbb; --mark: #000; }
  :root { color-scheme: light; }
  .edition-bar, .featured-bar, #navigation, .header-actions, .newsletter, .site-footer, .article-toc, .article-actions, .coverage-section, .skip { display: none; }
  .site-header { position: static; }
  .article-layout { display: block; }
}
