/* Classic paper. A centred nameplate over a thick-and-thin rule; stories set in
   columns divided by vertical rules; one serif family throughout. Green is spent
   only on section names, links and time stamps. Nothing is rounded or shadowed. */
:root {
  --ink: #1a1a17;
  --paper: #fbf9f4;
  --mute: #5d5a52;
  --line: #cfc8b8;
  --wash: #f1ede2;
  --accent: #0f4c3a;
  --accent-ink: var(--accent);
  --soft: #33322d;
  --bar-bg: #12261f;
  --bar-fg: #f4f1e8;
  --bar-mute: #b4bdb4;
  --hot: #8f1d21;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --display: var(--serif);
  --text: var(--serif);
  --gap: 28px;
  color-scheme: light;
}

/* Dark mode: same layout, tokens swapped. */
:root[data-theme="dark"] {
  --ink: #ece8dc;
  --paper: #121512;
  --mute: #a39f92;
  --line: #3a3e38;
  --wash: #1b201c;
  --soft: #d3cfc2;
  --accent-ink: color-mix(in srgb, var(--accent) 40%, #e9f5ee);
  --bar-bg: #0b1410;
  --hot: #c2484c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  font-optical-sizing: auto;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 0.06em; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--paper); padding: 8px 12px; }

/* ---------- masthead ---------- */
.mast-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 9px 0 8px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.mast-tools { display: flex; align-items: center; gap: 20px; }
.mast-search { display: flex; }
.mast-search input { width: 190px; background: transparent; color: var(--ink); font: inherit; border: 0; border-bottom: 1px solid var(--mute); border-radius: 0; padding: 3px 2px; outline-offset: 4px; }
.mast-search input::placeholder { color: var(--mute); }
.mast-search button { background: transparent; color: var(--ink); border: 0; border-bottom: 1px solid var(--mute); font: inherit; font-weight: 600; padding: 3px 2px 3px 10px; cursor: pointer; }
.mast-find { display: none; font-weight: 600; color: var(--ink); }
.mast-theme { background: none; border: 0; padding: 0; color: var(--ink); font: inherit; cursor: pointer; white-space: nowrap; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.06em; }
.nameplate { text-align: center; padding: 22px 0 18px; }
.brand { display: inline-block; font-size: clamp(2.3rem, 6.4vw, 4.5rem); font-weight: 900; letter-spacing: -0.022em; line-height: 1; }
.brand:hover { text-decoration: none; }
.brand img { max-height: 76px; width: auto; margin: 0 auto; }
.mast-tag { margin-top: 9px; font-style: italic; font-size: 15px; color: var(--mute); }

/* The section list sits under a thick-and-thin rule, the mark of the nameplate's lower edge. */
.sections { position: relative; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); }
.sections::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--ink); }
.sections ul { list-style: none; padding: 0; display: flex; gap: clamp(18px, 2.2vw, 30px); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
/* Centred when it fits; when it does not, it starts at the left edge and scrolls (auto margins never go negative). */
.sections li:first-child { margin-left: auto; }
.sections li:last-child { margin-right: auto; }
.sections ul::-webkit-scrollbar { display: none; }
.sections a { display: block; padding: 15px 0 10px; font-size: clamp(15px, 1.45vw, 16px); font-weight: 600; border-bottom: 2px solid transparent; }
.sections a:hover { text-decoration: none; border-bottom-color: var(--ink); }
.sections a[aria-current="page"] { color: var(--accent-ink); border-bottom-color: var(--accent-ink); }

/* ---------- shared story parts ---------- */
.kicker { display: inline-block; color: var(--accent-ink); font-size: 14.5px; font-weight: 600; font-style: italic; }
.meta { display: flex; flex-wrap: wrap; gap: 3px 14px; color: var(--mute); font-size: 13.5px; }
.meta .src { font-weight: 600; color: var(--ink); }
.media { display: block; background: var(--wash); aspect-ratio: 3 / 2; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- home: three columns divided by rules ---------- */
.top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr) minmax(0, 1.08fr); grid-template-areas: "briefs lead rail"; margin-top: 26px; }
.top.no-briefs { grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); grid-template-areas: "lead rail"; }
.top.no-rail { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); grid-template-areas: "briefs lead"; }
.top.no-briefs.no-rail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead"; }
.lead { grid-area: lead; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 0 var(--gap); }
.top.no-briefs .lead { padding-left: 0; }
.top.no-rail .lead { padding-right: 0; }
.lead h1 { font-size: clamp(2rem, 3.9vw, 3.35rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.018em; }
.lead .dek { font-size: 1.22rem; line-height: 1.4; max-width: 44ch; color: var(--soft); }
.lead .meta { justify-content: center; }
.lead .media { margin-top: 8px; align-self: stretch; }
.briefs { grid-area: briefs; padding-right: var(--gap); border-right: 1px solid var(--line); }
.briefs .card { padding: 16px 0; border-top: 1px solid var(--line); }
.briefs .card:first-child { padding-top: 0; border-top: 0; }
.briefs .card-title { font-size: 1.28rem; }
.briefs .card-dek { font-size: 0.98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rail-col { grid-area: rail; display: flex; flex-direction: column; gap: 30px; min-width: 0; padding-left: var(--gap); border-left: 1px solid var(--line); }

.rail { border-top: 3px solid var(--ink); position: relative; }
.rail::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--ink); }
.rail-head { font-size: 1.12rem; font-weight: 700; padding: 13px 0 10px; }
.stamps { list-style: none; padding: 0; }
.stamps li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.stamps time { color: var(--accent-ink); font-size: 13.5px; font-weight: 600; padding-top: 3px; font-variant-numeric: lining-nums; }
.stamps a { font-size: 1.02rem; font-weight: 600; line-height: 1.25; }
.stamps .src { display: block; color: var(--mute); font-size: 13px; font-style: italic; margin-top: 3px; }

/* ---------- cards ---------- */
.card, .card-body { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.card-title { font-size: 1.24rem; font-weight: 700; line-height: 1.17; letter-spacing: -0.008em; }
.card-dek { font-size: 1.02rem; line-height: 1.42; color: var(--soft); }
.card .media { margin-bottom: 5px; }

.row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--ink); }
.row4 .card { padding: 0 var(--gap); border-left: 1px solid var(--line); }
.row4 .card:first-child { padding-left: 0; border-left: 0; }
.row4 .card:last-child { padding-right: 0; }

/* ---------- section bands: the section name centred on a thick-and-thin rule ---------- */
.sec { margin-top: 52px; border-top: 3px solid var(--ink); position: relative; }
.sec::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--ink); }
.sec-head { position: relative; text-align: center; padding: 16px 0 14px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.sec-head h2 { font-size: 1.65rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.1; color: var(--accent-ink); }
.sec-more { position: absolute; right: 0; bottom: 14px; font-size: 14px; font-style: italic; white-space: nowrap; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 0.06em; }
.sec-grid { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); }
.feature { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; padding-right: var(--gap); }
.feature.no-media { grid-template-columns: minmax(0, 1fr); max-width: 62ch; }
.feature .card-title { font-size: clamp(1.45rem, 2.1vw, 1.85rem); line-height: 1.1; letter-spacing: -0.014em; }
.feature .card-dek { font-size: 1.06rem; }
.feature .media { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; padding-left: var(--gap); border-left: 1px solid var(--line); }
.stack .card { padding: 14px 0; border-top: 1px solid var(--line); }
.stack .card:first-child { padding-top: 0; border-top: 0; }
.stack .card-title { font-size: 1.14rem; }

/* ---------- wire headlines: set like a column of briefs ---------- */
.wire { margin-top: 52px; border-top: 3px solid var(--ink); position: relative; }
.wire::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--ink); }
.wire .sec-head { margin-bottom: 6px; border-bottom: 0; padding-bottom: 6px; }
.wire .sec-head h2 { color: var(--ink); }
.wire-note { color: var(--mute); font-size: 14px; font-style: italic; margin-top: 4px; }
.wire-list { list-style: none; padding: 0; columns: 3; column-gap: calc(var(--gap) * 2); column-rule: 1px solid var(--line); }
.wire-list li { break-inside: avoid; padding: 12px 0; border-top: 1px solid var(--line); }
.wire-list a { display: block; font-size: 1.04rem; font-weight: 600; line-height: 1.26; }
.wire-list .meta { margin-bottom: 3px; }

/* ---------- listing pages ---------- */
.page-head { margin-top: 30px; padding: 0 0 20px; text-align: center; border-bottom: 3px solid var(--ink); position: relative; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; border-top: 1px solid var(--ink); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
.page-head p { color: var(--mute); margin-top: 10px; font-size: 1rem; font-style: italic; }
.listing-lead { margin-top: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--ink); }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 0; margin-top: 30px; }
.grid3 .card { padding: 0 var(--gap); border-left: 1px solid var(--line); }
.grid3 .card:nth-child(3n + 1) { padding-left: 0; border-left: 0; }
.grid3 .card:nth-child(3n) { padding-right: 0; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--ink); font-weight: 600; }
.empty { margin-top: 44px; max-width: 54ch; }
.empty h1, .empty h2 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.012em; line-height: 1.2; }
.empty p { margin-top: 10px; font-size: 1.12rem; }

.search-form { display: flex; gap: 0; margin-top: 22px; max-width: 640px; }
.search-form input { flex: 1; min-width: 0; font: inherit; font-size: 18px; padding: 11px 14px; border: 1.5px solid var(--ink); border-right: 0; border-radius: 0; background: var(--paper); color: var(--ink); }
.btn { display: inline-block; background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); font: inherit; font-size: 16px; font-weight: 600; padding: 10px 18px; border-radius: 0; cursor: pointer; }
.btn:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.results { margin-top: 12px; max-width: 820px; }
.results .card { padding: 20px 0; border-bottom: 1px solid var(--line); }
.results .card-title { font-size: 1.4rem; }
.page-head .search-form { margin-left: auto; margin-right: auto; text-align: left; }

/* ---------- article ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 300px; margin-top: 34px; }
.story > :first-child { padding-right: 44px; min-width: 0; }
.story-head { display: flex; flex-direction: column; gap: 14px; }
.story-head h1 { font-size: clamp(2.05rem, 4.2vw, 3.3rem); font-weight: 700; line-height: 1.06; letter-spacing: -0.018em; }
.story-head .dek { font-size: 1.36rem; line-height: 1.38; max-width: 54ch; color: var(--soft); font-style: italic; }
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 11px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: 15px; }
.byline strong { font-weight: 700; }
.byline time, .byline span { color: var(--mute); }
.byline .edit { margin-left: auto; font-weight: 600; text-decoration: underline; }
.story-figure { margin-top: 26px; }
.story-figure img { width: 100%; height: auto; }
.story-figure figcaption { color: var(--mute); font-size: 14px; font-style: italic; padding-top: 8px; }

.prose { font-size: 1.22rem; line-height: 1.62; max-width: 680px; margin-top: 30px; overflow-wrap: break-word; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure { margin: 0 0 1.1em; }
/* A drop capital opens the story, as a printed page would. */
.prose:not(.prose-rest) > p:first-child::first-letter { float: left; font-size: 3.55em; line-height: 0.82; font-weight: 700; padding: 0.06em 0.09em 0 0; color: var(--ink); }
.prose h2, .prose h3, .prose h4 { font-weight: 700; letter-spacing: -0.012em; line-height: 1.18; margin: 1.6em 0 0.5em; }
.prose h2 { font-size: 1.62rem; }
.prose h3 { font-size: 1.32rem; }
.prose h4 { font-size: 1.12rem; font-style: italic; }
.prose a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 0.15em; text-decoration-thickness: 0.06em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose blockquote { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 18px 8px; font-size: 1.46rem; line-height: 1.36; font-style: italic; text-align: center; }
.prose img { height: auto; margin: 1.6em 0 0.6em; }
.prose figcaption { color: var(--mute); font-size: 14px; font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--ink); margin: 2em auto; width: 30%; }

.source-box { margin-top: 30px; max-width: 680px; border: 1px solid var(--ink); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.source-box p { font-size: 1.15rem; line-height: 1.45; }

.story-rail { display: flex; flex-direction: column; gap: 36px; padding-left: var(--gap); border-left: 1px solid var(--line); }
.story-rail .rail .stamps li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.story-rail .rail .stamps time { padding: 0; }

/* ---------- footer ---------- */
.foot { background: var(--bar-bg); color: var(--bar-fg); margin-top: 80px; padding: 44px 0 30px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 60px; }
.foot .brand { font-size: 2rem; }
.foot-tag { color: var(--bar-mute); font-size: 15px; font-style: italic; margin-top: 10px; max-width: 34ch; }
.foot ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 9px 44px; font-size: 15px; font-weight: 600; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(244, 241, 232, 0.28); color: var(--bar-mute); font-size: 14px; }
.foot-base nav { display: flex; gap: 20px; flex-wrap: wrap; row-gap: 8px; }
.foot-base button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.foot-base button:hover { text-decoration: underline; }

/* ---------- breaking bar ---------- */
.breaking { display: block; background: var(--hot); color: #ffffff; font-size: 16px; font-weight: 600; line-height: 1.3; text-align: center; }
.breaking .wrap { display: block; padding-top: 9px; padding-bottom: 9px; }
.breaking strong { font-weight: 800; font-style: italic; margin-right: 8px; }

/* ---------- most read: the numbers are the ranking ---------- */
.ranked { list-style: none; padding: 0; counter-reset: rank; }
.ranked li { counter-increment: rank; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); }
.ranked li::before { content: counter(rank); font-size: 1.7rem; font-weight: 400; font-style: italic; line-height: 0.95; color: var(--accent-ink); font-variant-numeric: lining-nums; }
.ranked a { font-size: 1.02rem; font-weight: 600; line-height: 1.25; }

/* ---------- article extras ---------- */
.kicker.is-paid { color: var(--ink); border: 1px solid var(--ink); padding: 1px 8px; font-size: 13px; font-style: normal; align-self: flex-start; }
.lead .kicker.is-paid { align-self: center; }
.paid-note { margin-top: 22px; padding: 12px 16px; background: var(--wash); border-left: 3px solid var(--ink); font-size: 15px; font-weight: 600; max-width: 680px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; }
.share-label { font-style: italic; margin-right: 4px; }
.share a, .share button { font: inherit; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); border-radius: 0; padding: 4px 12px; cursor: pointer; }
.share a:hover, .share button:hover { background: var(--ink); color: var(--paper); text-decoration: none; }
.prose-rest { margin-top: 0; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; max-width: 680px; }
.tags a { display: block; font-size: 15px; font-style: italic; padding: 4px 12px; border: 1px solid var(--line); }
.tags a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); text-decoration: none; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--ink); max-width: 680px; }
.author-box img { width: 72px; height: 72px; object-fit: cover; flex: none; background: var(--wash); }
.author-name { font-weight: 700; font-size: 1.1rem; }
.author-name span { display: block; font-weight: 400; font-style: italic; font-size: 15px; color: var(--mute); margin-top: 1px; }
.author-bio { font-size: 1.05rem; line-height: 1.45; margin-top: 8px; }
.byline strong a { text-decoration: underline; text-underline-offset: 0.16em; text-decoration-thickness: 0.06em; }
.story-newsletter { margin-top: 36px; max-width: 680px; padding: 20px 22px 18px; border: 1px solid var(--ink); }
.next { margin-top: 44px; border-top: 3px solid var(--ink); position: relative; }
.next::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--ink); }
.next-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4px; }
.next-grid .media { display: none; }
.next-grid .card { padding: 0 22px; border-left: 1px solid var(--line); }
.next-grid .card:first-child { padding-left: 0; border-left: 0; }
.next-grid .card-title { font-size: 1.12rem; }

/* ---------- newsletter ---------- */
.newsletter { display: flex; flex-direction: column; gap: 8px; max-width: 520px; }
.newsletter label { font-size: 1.2rem; font-weight: 700; }
.newsletter-row { display: flex; }
.newsletter input[type="email"] { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--ink); border-right: 0; border-radius: 0; background: var(--paper); color: var(--ink); }
.newsletter-note { font-size: 14px; color: var(--mute); font-style: italic; }
.newsletter-note a { text-decoration: underline; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.empty .newsletter { margin-top: 18px; }
.foot-news { margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(244, 241, 232, 0.28); }
.foot .newsletter input[type="email"] { background: transparent; color: var(--bar-fg); border-color: var(--bar-fg); }
.foot .newsletter input[type="email"]::placeholder { color: var(--bar-mute); }
.foot .newsletter .btn { background: var(--bar-fg); color: var(--bar-bg); border-color: var(--bar-fg); }
.foot .newsletter .btn:hover { background: transparent; color: var(--bar-fg); }
.foot .newsletter-note { color: var(--bar-mute); }

/* ---------- author and tag pages ---------- */
.page-head.is-person { display: flex; gap: 24px; align-items: flex-start; text-align: left; }
.page-head .face { width: 112px; height: 112px; object-fit: cover; flex: none; background: var(--wash); }
.page-head .role { color: var(--ink); font-weight: 600; font-style: normal; margin-top: 8px; }
.page-head .intro { font-size: 1.15rem; line-height: 1.45; color: var(--ink); font-style: normal; max-width: 62ch; }

/* ---------- advertising ---------- */
.ad { margin: 26px 0 0; text-align: center; min-height: 90px; }
.ad-label { font-size: 12.5px; font-style: italic; color: var(--mute); margin-bottom: 4px; text-align: left; }
.ad-article { margin: 6px 0 28px; max-width: 680px; }
.ad-side { margin: 0; min-height: 250px; }

/* ---------- cookie notice ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--bar-bg); color: var(--bar-fg); border-top: 3px solid var(--bar-fg); }
.cookie-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.cookie p { font-size: 15px; max-width: 70ch; }
.cookie a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie button { font: inherit; font-weight: 600; padding: 8px 18px; border: 1.5px solid var(--bar-fg); border-radius: 0; cursor: pointer; background: transparent; color: var(--bar-fg); }
.cookie button[data-yes] { background: var(--bar-fg); color: var(--bar-bg); }

/* ---------- narrower screens: columns fold, the rules between them turn horizontal ---------- */
@media (max-width: 1080px) {
  .top { grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); grid-template-areas: "lead rail" "briefs rail"; }
  .top.no-rail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "briefs"; }
  .lead { padding-left: 0; }
  .briefs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 20px var(--gap) 0 0; margin-top: 24px; border-right: 0; border-top: 1px solid var(--ink); }
  .briefs .card, .briefs .card:first-child { padding: 0 18px; border-top: 0; border-left: 1px solid var(--line); }
  .briefs .card:first-child { padding-left: 0; border-left: 0; }
  .sec-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .feature { padding-right: 0; }
  .stack { padding-left: 0; border-left: 0; padding-top: 18px; border-top: 1px solid var(--line); }
  .wire-list { columns: 2; }
}
@media (max-width: 860px) {
  .top, .top.no-briefs, .top.no-rail { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "briefs" "rail"; }
  .top.no-briefs { grid-template-areas: "lead" "rail"; }
  .lead { padding-right: 0; }
  .briefs { padding-right: 0; }
  .rail-col { padding-left: 0; border-left: 0; margin-top: 30px; }
  .row4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .row4 .card:nth-child(odd) { padding-left: 0; border-left: 0; }
  .row4 .card:nth-child(even) { padding-right: 0; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid3 .card, .grid3 .card:nth-child(3n + 1), .grid3 .card:nth-child(3n) { padding: 0 var(--gap); border-left: 1px solid var(--line); }
  .grid3 .card:nth-child(odd) { padding-left: 0; border-left: 0; }
  .grid3 .card:nth-child(even) { padding-right: 0; }
  .story { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
  .story > :first-child { padding-right: 0; }
  .story-rail { padding-left: 0; border-left: 0; }
}
@media (max-width: 720px) {
  :root { --gap: 18px; }
  body { font-size: 16.5px; }
  .mast-search, .mast-theme { display: none; }
  .mast-find { display: block; }
  .nameplate { padding: 16px 0 14px; }
  .mast-tag { font-size: 14px; margin-top: 6px; }
  .sections ul { gap: 22px; }
  .sections li:first-child { margin-left: 0; }
  .lead { text-align: left; align-items: flex-start; }
  .lead .meta { justify-content: flex-start; }
  .lead .kicker.is-paid { align-self: flex-start; }
  .briefs { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .briefs .card, .briefs .card:first-child { padding: 15px 0; border-left: 0; border-top: 1px solid var(--line); }
  .briefs .card:first-child { border-top: 0; }
  .sec-head { text-align: left; }
  .sec-more { position: static; display: inline-block; margin-top: 6px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .wire-list { columns: 1; }
  .page-head { text-align: left; }
  .prose { font-size: 1.14rem; }
  .prose blockquote { font-size: 1.28rem; }
  .lead .dek, .story-head .dek { font-size: 1.16rem; }
  .page-head.is-person { gap: 16px; }
  .page-head .face { width: 76px; height: 76px; }
  .story-newsletter { padding: 16px; }
}
@media (max-width: 520px) {
  .row4, .grid3, .next-grid { grid-template-columns: minmax(0, 1fr); }
  .next-grid .card, .next-grid .card:first-child { padding: 13px 0; border-left: 0; border-top: 1px solid var(--line); }
  .next-grid .card:first-child { border-top: 0; }
  .row4 .card, .row4 .card:nth-child(odd), .row4 .card:nth-child(even) { padding: 0; border-left: 0; }
  .grid3 .card, .grid3 .card:nth-child(odd), .grid3 .card:nth-child(even), .grid3 .card:nth-child(3n), .grid3 .card:nth-child(3n + 1) { padding: 0; border-left: 0; }
  .foot ul { grid-template-columns: minmax(0, 1fr); }
  .newsletter-row { flex-direction: column; gap: 8px; }
  .newsletter input[type="email"] { border-right: 1.5px solid var(--ink); }
  .foot .newsletter input[type="email"] { border-right-color: var(--bar-fg); }
}
@media (prefers-reduced-motion: no-preference) {
  .sections a, .btn { transition: border-color 0.12s, background-color 0.12s, color 0.12s; }
}
