:root {
  --bg: #ffffff;
  --text: #0c0c0c;
  --text-soft: #3a3a3a;
  --text-muted: #7a7a7a;
  --rule: #d2d6e0;
  --rule-dark: #0c0c0c;
  --accent: #1f2d5c;
  --serif-display: Didot, "Didot LT STD", "Bodoni 72", "GFS Didot", "Times New Roman", serif;
  --serif-body: Charter, "Iowan Old Style", "Charter BT", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(31, 45, 92, 0.25); }
a:hover { border-bottom-color: var(--accent); }
/* Concept-note reference links (/c/<slug>): inline, restrained — body-coloured with a
   dotted underline so they read as a soft reference, not a loud accent link. */
a.cnref { color: inherit; border-bottom: 1px dotted var(--text-muted); }
a.cnref:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* MASTHEAD — centered wordmark, NYT pattern */
.masthead {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 32px 0;
}
.masthead-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-bottom: 12px;
}
.masthead-util-left,
.masthead-util-right {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  line-height: 1.45;
}
.masthead-util-right { text-align: right; }
.masthead-date { color: var(--text); }
.masthead-vol { color: var(--text); }
.masthead-no { color: var(--text-muted); margin-top: 2px; }
.masthead-wm {
  display: flex;
  justify-content: center;
  align-items: center;
}
.masthead-wm a {
  border-bottom: none;
  display: block;
}
.masthead-wm img {
  display: block;
  width: 360px;
  height: auto;
  margin: 14px 0;
}
.masthead-rule {
  border-top: 1px solid var(--rule-dark);
  margin: 0;
}

@media (max-width: 720px) {
  .masthead { padding: 12px 16px 0; }
  .masthead-row { gap: 12px; }
  .masthead-wm img { width: 252px; }
  .masthead-util-left, .masthead-util-right { font-size: 10px; }
  .masthead-no { margin-top: 1px; }
}

/* Main layout */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}
.piece-title {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0 0 30px;
  color: var(--text);
  text-align: center;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.piece-lede {
  font-family: var(--serif-body);
  font-size: 20px;
  line-height: 1.45;
  color: var(--text-soft);
  margin: 0 auto 44px;
  text-align: center;
  max-width: 56ch;
  font-style: italic;
}
.piece-byline {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.piece-byline::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--rule-dark);
  margin: 16px auto 0;
}
.piece-body {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
}
.piece-body p { margin: 0 0 22px; }
.piece-body p:first-of-type::first-letter {
  font-family: var(--serif-display);
  font-size: 64px;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  font-weight: 700;
  color: var(--text);
}
/* Concept-note timeline must clear the drop-cap float. With a short one-line opener (e.g. Claude)
   the floated drop-cap extends past the opener and pushes the FIRST <li> to the right; clearing
   it makes the whole timeline start below the cap, so every bullet aligns. */
.concept .piece-body ul { clear: left; }
.piece-body blockquote {
  border: 0;
  margin: 36px auto;
  padding: 0;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.35;
  text-align: center;
  color: var(--text);
  max-width: 48ch;
  font-style: italic;
}
.piece-body blockquote::before,
.piece-body blockquote::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--text);
  margin: 0 auto 18px;
}
.piece-body blockquote::after { margin: 18px auto 0; }
.piece-body blockquote cite {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
  font-family: var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: normal;
}

.end-mark {
  text-align: center;
  margin-top: 36px;
  font-family: var(--serif-display);
  color: var(--accent);
  font-size: 18px;
  letter-spacing: 0.4em;
}
.colophon {
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 18px;
  font-style: italic;
}

/* Section divider */
.section-rule {
  border: 0;
  text-align: center;
  margin: 64px 0;
  line-height: 0;
}
.section-rule::after {
  content: "\2726";
  color: var(--text-muted);
  font-size: 14px;
}
.section-heading {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 0 0 28px;
  text-align: center;
}
.section-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--text-muted);
  margin: 12px auto 0;
}

/* Archive */
.archive ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.archive li {
  display: flex;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 16px;
}
.archive li:last-child { border-bottom: 0; }
.archive .date {
  font-family: var(--sans);
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 140px;
  flex-shrink: 0;
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.archive .date .ago {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  opacity: 0.7;
  text-transform: none;
}
.archive .title {
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
}
.archive a { color: var(--text); border-bottom: none; }
.archive a:hover { color: var(--accent); }

/* Footer */
footer {
  text-align: center;
  padding: 28px 24px 56px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); border-bottom: none; }
footer a:hover { color: var(--accent); }
footer a + a { margin-left: 22px; }
footer .copyright {
  display: block;
  margin-top: 18px;
  letter-spacing: 0.12em;
  text-transform: none;
  font-style: italic;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .piece-title { font-size: 28px; }
  .piece-body { font-size: 17px; }
  .piece-body blockquote { font-size: 20px; }
  .archive .date { width: 100px; font-size: 11px; }
}

/* ─────── HOMEPAGE (magazine layout) ─────── */
.home-stage {
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 32px 24px;
}
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.home-lead { padding-right: 56px; border-right: 1px solid var(--rule); }
.home-lead .kicker {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.home-lead-title {
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 18px;
}
.home-lead-title a { color: var(--text); text-decoration: none; border-bottom: none; }
.home-lead-title a:hover { color: var(--accent); }
.home-lead-dek {
  font-family: var(--serif-body);
  font-style: italic;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 22px;
}
.home-lead-byline {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.home-lead-readmore {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--accent);
  border-bottom: 1px solid rgba(31, 45, 92, 0.25);
  padding-bottom: 2px;
}

.home-aside { }
.home-aside-label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 16px;
}
.home-side-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.home-side-item:last-child { border-bottom: none; }
.home-side-date {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.home-side-title {
  font-family: var(--serif-display);
  font-size: 18px;
  line-height: 1.25;
  margin: 0 0 4px;
}
.home-side-title a { color: var(--text); text-decoration: none; border-bottom: none; }
.home-side-title a:hover { color: var(--accent); }
.home-side-dek {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}

.home-archive {
  margin-top: 56px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--rule-dark);
}
.home-archive-label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.home-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.home-archive-item { padding-right: 8px; }
.home-archive-date {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.home-archive-title {
  font-family: var(--serif-display);
  font-size: 17px;
  line-height: 1.25;
}
.home-archive-title a { color: var(--text); text-decoration: none; border-bottom: none; }
.home-archive-title a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .home-stage { padding: 32px 20px 16px; }
  .home-grid { grid-template-columns: 1fr; gap: 36px; }
  .home-lead {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--rule);
    padding-bottom: 32px;
  }
  .home-archive-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* Homepage layout overrides parent <main> constraints */
body.home main {
  max-width: 1180px;
  padding: 18px 0 24px;
}

/* === Magazine edition homepage (2026-05-30) — text-forward, no imagery === */
/* body.home main has no horizontal padding; this wrapper provides the gutters
   (the old .home-stage did this for the previous layout). */
.ed-page { padding: 0 clamp(20px, 4vw, 40px); }
.ed-secnav { display:flex; justify-content:center; gap:1.5rem; flex-wrap:wrap;
  font-family:-apple-system,system-ui,sans-serif; font-size:.72rem; letter-spacing:.12em;
  text-transform:uppercase; color:#4a5275; margin:.2rem 0; }
.ed-secnav a { color:#4a5275; text-decoration:none; border-bottom:none; }
.ed-secnav a:hover { color:#15171f; }
.ed-note { text-align:center; font-family:-apple-system,system-ui,sans-serif; font-size:.7rem;
  color:#989eb2; letter-spacing:.04em; margin:.3rem 0 1.6rem; }
/* headline links: no underline ever (base 'a' adds a border-bottom — kill it here);
   hover is a subtle grey, never the accent red; cursor:pointer over the whole block. */
a.ed-link { color:#15171f; text-decoration:none; border-bottom:none; transition:color .12s ease; }
a.ed-link:hover { color:#4a5275; border-bottom:none; }
/* stretched link: the ENTIRE card / hero block is the click target (WSJ pattern).
   The headline link's ::after overlays its whole positioned container.
   SCOPED to real card containers only — a bare .ed-link (e.g. the Sunday
   "Week in Signals" digest, the section nav) must stay a normal inline link.
   Otherwise its ::after has no positioned ancestor and stretches to the
   viewport, swallowing every click on the page (the 2026-06-07 Sunday-page bug). */
.ed-hero article, .ed-side .it, .ed-c, .ed-arch li { position:relative; }
.ed-hero article a.ed-link::after,
.ed-side .it a.ed-link::after,
.ed-c a.ed-link::after,
.ed-arch li a.ed-link::after,
.ed-brief-lead a.ed-link::after,
.ed-desknote a.ed-link::after { content:""; position:absolute; inset:0; z-index:0; }
.ed-hero .byline { position:relative; z-index:1; }  /* keep the CTA independently clickable */
/* WSJ-style: every headline in the logo serif (Didot); deks + blurbs stay sans */
.ed-hero h1, .ed-side .it h3, .ed-c h3, .ed-arch li a { font-family: var(--serif-display); }
/* Public category label above each headline — restrained small caps, no chip, muted
   to match the section nav. Real per-piece category (stored or derived), not the old
   generic "Dispatch" tag. */
.ed-cat { display:block; font-family:-apple-system,system-ui,sans-serif; font-size:.64rem;
  font-weight:700; letter-spacing:.15em; text-transform:uppercase; color:#2b4d8c;
  margin:0 0 .35rem; }
.ed-side .it .ed-cat, .ed-c .ed-cat { font-size:.6rem; margin:0 0 .25rem; }
/* Topic tags — plain-text chips, muted, wrap freely. No link surface exists yet. */
.ed-tags { margin:1rem 0 0; line-height:1.9; }
.ed-tag { display:inline-block; font-family:-apple-system,system-ui,sans-serif; font-size:.64rem;
  font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:#4a5275; background:#eef0f6;
  padding:.16rem .5rem; border-radius:2px; margin:0 .35rem .35rem 0; }
/* CTA styled like the section nav: muted grey caps, no underline, no color */
.ed-more { font-family:-apple-system,system-ui,sans-serif; font-size:.72rem; letter-spacing:.08em;
  text-transform:uppercase; color:#4a5275; text-decoration:none; border-bottom:none; }
.ed-more:hover { color:#15171f; border-bottom:none; }
.ed-krow { display:flex; align-items:center; gap:1rem; margin:2.1rem 0 1rem; }
.ed-krow h2 { font-family:-apple-system,system-ui,sans-serif; font-size:.78rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:#15171f; margin:0; white-space:nowrap; }
.ed-krow .r { flex:1; border-top:1px solid #d7dce8; }
/* Today's Brief reuses the ed-krow section-header style (label + thin rule to the
   right, matching "On the radar"). It sits near the top, so trim the section gap. */
.ed-brief .ed-krow { margin-top:.2rem; margin-bottom:1.05rem; }
.ed-hero { display:grid; grid-template-columns:1.5fr 1fr; gap:2rem; align-items:start; padding-top:.9rem; }

/* .ed-brief-lead / .ed-brief-tag / .ed-brief-lead h1/.dek/.byline are kept — the
   Weekly Weave hero (weave_hero, kept out of scope) still uses this class.
   .ed-brief-tag is kept solely for index.html.j2's Weekly Weave hero tag. */
.ed-brief-lead { position:relative; }
.ed-brief-lead h1 { font-family:var(--serif-display); font-size:clamp(2rem,3.4vw,3rem); line-height:1.08; margin:.3rem 0 .7rem; }
.ed-brief-lead .dek { font-size:1.14rem; line-height:1.55; color:#34374a; margin:0 0 .7rem; max-width:48ch; }
.ed-brief-tag { display:inline-block; font-family:-apple-system,system-ui,sans-serif; font-size:.6rem;
  font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:#fff; background:#2b4d8c;
  padding:.16rem .5rem; border-radius:2px; }
.ed-brief-meta { font-family:-apple-system,system-ui,sans-serif; font-size:.68rem; letter-spacing:.06em;
  text-transform:uppercase; color:#8b91a6; margin:.2rem 0 .5rem; }
.ed-brief-lead .byline { position:relative; z-index:1; font-family:-apple-system,system-ui,sans-serif;
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase; color:#4a5275; }

.ed-nt-empty { font-size:.9rem; line-height:1.5; color:#8b91a6; font-style:italic; margin:0; }
.ed-hero .kicker { text-align:left; }  /* base .kicker is centered; align to the headline */
.ed-hero h1 { font-size:clamp(2rem,3.4vw,3rem); line-height:1.08; margin:.1rem 0 .7rem; }
.ed-hero .dek { font-size:1.14rem; line-height:1.55; color:#34374a; margin:0 0 .8rem; max-width:48ch; }
.ed-hero .byline { font-family:-apple-system,system-ui,sans-serif; font-size:.72rem; letter-spacing:.1em;
  text-transform:uppercase; color:#4a5275; }
.ed-side { display:flex; flex-direction:column; gap:1.5rem; border-left:1px solid #d7dce8; padding-left:2rem; }
.ed-side .it h3 { font-size:1.1rem; line-height:1.22; margin:.1rem 0 .35rem; }
.ed-side .it p { font-size:.9rem; color:#3f4256; line-height:1.45; margin:0; }
.ed-grid { display:grid; gap:1.5rem 2rem; }
.ed-grid.g4 { grid-template-columns:repeat(4,1fr); }
.ed-c h3 { font-size:1.05rem; line-height:1.25; margin:.1rem 0 .4rem; }
.ed-c p { font-size:.9rem; color:#3f4256; line-height:1.45; margin:0; }
.ed-c .date { font-family:-apple-system,system-ui,sans-serif; font-size:.66rem; letter-spacing:.08em;
  text-transform:uppercase; color:#989eb2; margin-top:.5rem; }
/* Sunday Edition (Task 6): the publication puts on its Sunday clothes.
   Masthead stacks eyebrow / name / tagline — the selector is scoped to
   `.masthead-wm a.masthead-sunday` so it beats `.masthead-wm a { display:block }`
   (higher specificity), which otherwise flattens the flex column and renders
   the three lines inline (the 2026-06-07 masthead bug). */
.masthead-wm a.masthead-sunday { display:flex; flex-direction:column; align-items:center; gap:.15rem; border-bottom:0; }
.masthead-sunday .ms-eyebrow { font-family:-apple-system,system-ui,sans-serif; font-size:.6rem; font-weight:700;
  letter-spacing:.28em; text-transform:uppercase; color:#2b4d8c; }
.masthead-sunday .ms-name { font-family: var(--serif-display); font-size:2.6rem; line-height:1; color:#0c0c0c; }
.masthead-sunday .ms-tag { font-family:-apple-system,system-ui,sans-serif; font-size:.66rem;
  letter-spacing:.16em; text-transform:uppercase; color:#4a5275; }
.masthead-sun .masthead-rule { border-top:3px double var(--rule-dark); }
@media (max-width:700px){ .masthead-sunday .ms-name { font-size:1.9rem; } }

/* The Week in Signals digest — sits on the white page like the rest of the
   paper (no blue fill, no box). A single dark top rule sets it off; dark serif
   heads; hairline sub-rules. Aligns to the page gutter (no inner padding). */
.ed-weekly { border:0; padding:0 0 .2rem; margin-bottom:1.6rem; background:none; }
.ed-wk-head { margin-bottom:1.3rem; }
.ed-wk-head h2 { font-family: var(--serif-display); font-size:1.9rem; line-height:1.05; margin:0; color:#0c0c0c; }
.ed-wk-theme { font-family:-apple-system,system-ui,sans-serif; font-size:.72rem; letter-spacing:.12em;
  text-transform:uppercase; color:#8b91a6; margin:.4rem 0 1.3rem; }
.ed-wk-block { margin:0 0 1.4rem; }
/* kicker only — no underline rule (decluttered) */
.ed-wk-block h4 { font-family:-apple-system,system-ui,sans-serif; font-size:.72rem; text-transform:uppercase;
  letter-spacing:.14em; color:#15171f; margin:0 0 .65rem; }
/* strongest signal reads as a regular headline, not a display banner */
.ed-wk-lead { font-family: var(--serif-body); font-weight:600; font-size:1.2rem; line-height:1.3; margin:0 0 .45rem; color:#15171f; }
.ed-wk-cite { font-family:-apple-system,system-ui,sans-serif; font-size:.68rem; letter-spacing:.04em; color:#8b91a6; }
/* Strongest signal = full-width lead, set off by space alone (no divider rules).
   The rest of the digest flows as a balanced two-column run: each item stays
   whole and a heading stays with its first item, but a long category may split
   across the column boundary so BOTH columns fill evenly (no lazy empty right). */
.ed-wk-strong { margin-bottom:1.7rem; }
/* Strongest signal as an editorial item: badge (reuses .ed-brief-tag) on its own
   line, headline, then a date + editorial framing + dek, then a read-more CTA. */
.ed-wk-strong .ed-brief-tag { margin-bottom:.55rem; }
.ed-wk-ed { font-size:1.02rem; line-height:1.55; color:#34374a; margin:.15rem 0 .65rem; }
/* Sunday digest sections rendered as ON THE RADAR-style serif cards (.ed-c): the
   claim is the serif headline, the speaker a small attribution beneath it. */
.ed-wk-cards .ed-c cite { display:block; font-style:normal; font-family:-apple-system,system-ui,sans-serif;
  font-size:.7rem; letter-spacing:.04em; color:#8b91a6; margin-top:.4rem; }
/* These are claims (body text), not piece titles — use the body font, NOT the
   radar section's serif-display headline face. */
.ed-wk-cards .ed-c h3 { font-family: var(--sans); font-weight:400; font-size:.96rem; line-height:1.5; color:#15171f; margin:0; }
/* Sunday sub-section headers in the blue New-Today label look (no trailing rule),
   and a bottom hairline under each card (SG: write them like the New Today cards). */
.ed-wk-subhead { margin:1.7rem 0 .9rem; }
.ed-wk-subhead h2 { color:#2b4d8c; }
.ed-wk-subhead .r { display:none; }
/* Sunday grid: NO per-card rule (it clutters across columns). Instead ONE
   horizontal rule per SECTION, under the whole card grid (SG 2026-06-07). */
.ed-wk-cards { border-bottom:1px solid var(--rule); padding-bottom:1.7rem; }
/* ...but the LAST section's rule clashes with the next section header's rule
   (Still Tracking) — drop it; whatever follows brings its own divider (SG). */
.ed-weekly .ed-wk-cards:last-of-type { border-bottom:0; padding-bottom:0; }
.ed-wk-date { font-family:-apple-system,system-ui,sans-serif; font-size:.7rem; letter-spacing:.06em;
  text-transform:uppercase; color:#8b91a6; }
.ed-wk-grid { columns:2; column-gap:2.8rem; }
.ed-wk-grid .ed-wk-block { break-inside:auto; }
.ed-wk-grid .ed-n { break-inside:avoid; -webkit-column-break-inside:avoid; }
.ed-wk-grid h4 { break-after:avoid; -webkit-column-break-after:avoid; }
@media (max-width:700px){ .ed-wk-grid { columns:1; } }

/* archive = slim index list (not duplicate cards) */
.ed-arch { list-style:none; padding:0; margin:0; columns:2; column-gap:3rem; }
.ed-arch li { break-inside:avoid; display:flex; justify-content:space-between; align-items:baseline;
  gap:1rem; padding:.45rem 0; }
.ed-arch li a { font-size:1rem; line-height:1.3; }
.ed-arch-head { display:flex; align-items:baseline; gap:.5rem; min-width:0; }
.ed-arch li .d { color:#989eb2; font-family:-apple-system,system-ui,sans-serif; font-size:.64rem;
  letter-spacing:.07em; text-transform:uppercase; white-space:nowrap; }

/* predictions = same archive component but with a third line per item
   (condition, alongside head/date) — two columns has no room for a third
   span, so it runs single-column and stacks instead of a flex row. */
.ed-pred { columns:1; }
.ed-pred li { flex-direction:column; align-items:flex-start; gap:.2rem; }
/* on /archive the whole head is one link, so it inherits the archive title type
   from the .ed-arch li a rules; on /predictions only the speaker half is
   sometimes a link, so the head is set as a normal block text line at the
   archive title's own type values (Didot 16px linked speaker vs system-sans
   17px measured otherwise) — that way the speaker reads identically whether
   or not a concept note exists, and dropping the flex display removes the
   spurious inter-item gap after a linked speaker name. */
.ed-pred .ed-arch-head { display:block; font-family:var(--serif-display); font-size:1rem; line-height:1.3; }
.ed-pred-cond { font-size:.9rem; line-height:1.5; color:#3f4256; }
/* the stretched-link overlay (near line 495) makes the whole row a click
   target for the piece on /archive; on /predictions the row is a claim,
   not the speaker's concept note, so the speaker link stays a normal inline link. */
.ed-pred li a.ed-link::after { content:none; }
@media (max-width:900px){
  .ed-hero { grid-template-columns:1fr; }
  .ed-side { border-left:0; padding-left:0; border-top:1px solid #d7dce8; padding-top:1.4rem; }
  .ed-grid.g4 { grid-template-columns:repeat(2,1fr); }
  .ed-arch { columns:1; }
}
/* phones: single column everywhere, tighter rhythm */
@media (max-width:600px){
  .ed-grid.g4 { grid-template-columns:1fr; }
  .ed-hero { gap:1.6rem; }
  .ed-hero .dek { font-size:1.05rem; }
  .ed-secnav { gap:1rem; font-size:.66rem; }
  .ed-krow { margin:2rem 0 1rem; }
  .ed-arch li { flex-direction:column; align-items:flex-start; gap:.15rem; }
  .ed-arch li .d { margin-top:.1rem; }
}

/* ─────── Indigo theme: extended accent surfaces (2026-06-04) ───────
   Pushes the indigo onto structural surfaces that were previously black/
   near-black, so colour appears across more of the page than the amber
   theme used it. Colour-only; no layout change. Deep = #1f2d5c, accent = #2b4d8c. */
.masthead-rule { border-top-color: #1f2d5c; }
.ed-brief-head { border-bottom-color: #1f2d5c; }
.home-archive { border-top-color: #1f2d5c; }
.ed-deskcol h4 { border-bottom-color: #2b4d8c; }
.ed-krow .r { border-top-color: #cdd5e8; }
.piece-body p:first-of-type::first-letter { color: #1f2d5c; }

/* ─────── Shared attributed-item styling (concept/archive/predictions pages) ─────── */
.fn-intro { font-size:1rem; line-height:1.55; color:#3f4256; max-width:60ch; margin:0 0 1.6rem; }
.fn-index li .d { color:#989eb2; }
.fn-item { margin:0 0 1.1rem; padding-left:.9rem; border-left:2px solid var(--rule); }
.fn-text { font-size:.98rem; line-height:1.5; color:#15171f; margin:0; }
.fn-quote { font-family:var(--serif-display); font-style:italic; font-size:1.05rem; line-height:1.4;
  color:#15171f; margin:.3rem 0 0; }
.fn-cite { display:block; font-style:normal; font-family:-apple-system,system-ui,sans-serif;
  font-size:.68rem; letter-spacing:.05em; color:#8b91a6; margin-top:.35rem; }

/* ─────── Concept-note partials (2608W1-15) — per-entity-type opener treatments ─────── */
.standfirst { font-size:1.15rem; line-height:1.6; color:#3f4256; margin:0 0 1.8rem; }
.org-summary { font-size:1rem; line-height:1.6; color:#15171f; margin:0 0 1.8rem; }
.product-card { border:1px solid var(--rule); padding:1.2rem 1.4rem; margin:0 0 1.8rem; background:#fafafc; }
.definition { font-family:var(--sans); font-size:.78rem; letter-spacing:.06em; text-transform:uppercase;
  color:#8b91a6; margin:0 0 .5rem; }
.definition dfn { font-family:var(--serif-display); font-style:normal; font-size:1.4rem;
  letter-spacing:0; text-transform:none; color:#15171f; }
.definition-body { font-size:1rem; line-height:1.6; color:#15171f; margin:0 0 1.8rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   TYPE SYSTEM — consistency pass (2026-06-07, SG). Authoritative tokens that
   collapse the drift: ONE section header, ONE sub-label, ONE body size, ONE
   cite size. Serif reserved for headlines + pull-quotes. Flat white containers.
   Placed last so it wins the cascade; supersedes the per-element sizes above.
   ═══════════════════════════════════════════════════════════════════════════ */

/* 1 · Section header — one treatment (Today's Brief / Still Tracking / From the
   Desk / The Week in Signals). Dark, thin trailing rule. */
.ed-krow h2 { font-size:.75rem; letter-spacing:.16em; color:#15171f; }

/* 2 · Sub-label / kicker — one accent label for every small uppercase header. */
.ed-wk-subhead h2, .ed-cat {
  font-family:var(--sans); font-size:.62rem; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase; color:#2b4d8c;
}

/* 3 · Body / claim — one size, sans, one colour (every claim, dek, item). */
.ed-brief-lead .dek, .ed-wk-ed,
.ed-wk-cards .ed-c h3, .ed-c p, .ed-side .it p {
  font-family:var(--sans); font-weight:400; font-size:1rem; line-height:1.55; color:#34374a;
}

/* 4 · Cite / attribution — one size everywhere. */
.ed-wk-cards .ed-c cite, .ed-wk-cite {
  font-size:.68rem; letter-spacing:.05em; color:#8b91a6;
}

/* 5 · Serif headlines — exactly two sizes (hero + secondary). */
.ed-brief-lead h1 { font-size:clamp(1.9rem,2.6vw,2.3rem); }

/* 7 · Label rule repealed (SG 2026-08-24) — tier chips removed site-wide.
   .ed-statline survives only for index.html.j2's weave-hero "Weekly" tag. */
.ed-statline { display:flex; gap:.6rem; align-items:center; margin-bottom:.55rem; }
.ed-state { font-family:var(--sans); font-size:.62rem; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:#8b91a6; }

/* ── Today in the discourse (the stream) + pattern sections — front rebuild cbe32ce3 ── */
.ed-stream { margin-top:1.6rem; padding-top:1.1rem; border-top:1px solid var(--rule-dark); }
.ed-brief-lead + .ed-stream { margin-top:2rem; }
.ed-stream-head { font-family:var(--sans); font-size:.72rem; font-weight:700;
  letter-spacing:.16em; text-transform:uppercase; color:#2b4d8c; margin-bottom:.9rem; }
.ed-st-item { display:flex; gap:1rem; align-items:baseline; padding:.55rem 0;
  border-bottom:1px solid var(--rule); scroll-margin-top:1.5rem; }
.ed-st-item:last-child { border-bottom:0; }
.ed-st-date { flex:0 0 3.4rem; font-family:var(--sans); font-size:.62rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:#8b91a6; }
.ed-st-body { flex:1; min-width:0; }
.ed-st-text { font-family:var(--sans); font-weight:400; font-size:1rem; line-height:1.5;
  color:#15171f; margin:0; }
.ed-st-context { display:block; font-family:var(--sans); font-weight:400; font-size:.86rem;
  line-height:1.5; color:var(--text-soft); margin:.25rem 0 0; }
.ed-st-cite { display:block; font-style:normal; font-family:var(--sans); font-size:.66rem;
  letter-spacing:.05em; color:#8b91a6; margin-top:.2rem; }
.ed-st-empty { font-size:.9rem; line-height:1.5; color:#8b91a6; font-style:italic; margin:0; }
.ed-st-ev { margin:.35rem 0 0; font-family:var(--sans); font-size:.74rem; line-height:1.45; }
.ed-st-ev-lbl { color:#8b91a6; font-size:.6rem; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; margin-right:.45rem; }
a.ed-st-ev-link { color:#4a5275; text-decoration:none; border-bottom:1px solid #d7dce8; }
a.ed-st-ev-link:hover { color:#15171f; border-bottom-color:#8b91a6; }

/* Related Evidence (piece pages) — styled like .archive */
.related-ev ul { list-style:none; padding:0; margin:0; }
.related-ev li { padding:16px 0; border-bottom:1px solid var(--rule); font-size:16px; }
.related-ev li:last-child { border-bottom:0; }
.related-ev a { font-family:var(--sans); font-size:.9rem; color:#15171f;
  text-decoration:none; border-bottom:none; }
.related-ev a:hover { color:#4a5275; }

.ed-discourse-index { list-style:none; margin:1rem 0; padding:0; }
.ed-discourse-index li { font-family:var(--sans); font-size:1rem; padding:.5rem 0;
  border-bottom:1px solid var(--rule); }
.ed-stream-archive { border-top:0; margin-top:.4rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   FEED-1 HOMEPAGE REBUILD — sidebar (All + 10 categories) + two feed columns,
   ARTICLES / DISCOURSE, side by side. Replaces the single-column well +
   discourse ticker layout. Scoped to body.home only — .ed-page itself
   (padding:0 clamp(...)) is shared with every other section page (discourse,
   archive, concept notes, ...) and must keep its existing width there.
   ═══════════════════════════════════════════════════════════════════════════ */
body.home .ed-page { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* Sidebar + main feed area. Full-bleed break-out to the site's 1180px grid,
   same technique as the old .ed-catnav full-bleed rule it replaces. */
body.home .ed-feed-layout {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: .9rem max(32px, calc((100vw - 1180px) / 2 + 32px)) 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

/* Sidebar — vertical list, sticky on scroll. Reuses .ed-catnav-btn for the
   button treatment (colour, active state); the dot separator that button
   style adds for a horizontal strip is switched off here. */
.ed-feednav { display:flex; flex-direction:column; gap:.9rem; position:sticky; top:1.2rem; }
.ed-catnav-btn { font-family:var(--sans); font-size:.64rem; font-weight:700;
  letter-spacing:.08em; text-transform:uppercase; color:#4a5275; background:none;
  border:none; padding:0; text-decoration:none; cursor:pointer; white-space:nowrap; }
.ed-catnav-btn:hover { text-decoration:underline; }
.ed-catnav-btn[aria-pressed="true"] { text-decoration:underline; color:#2b4d8c; }
.ed-feednav .ed-catnav-btn:not(:first-child)::before { content:none; }
.ed-feednav .ed-catnav-btn { text-align:left; }

/* Two feed columns, ARTICLES then DISCOURSE. Articles wider (~3:2). */
.ed-feedcols { display:grid; grid-template-columns:3fr 2fr; gap:2.5rem; }

/* Article rows — headline, dek, tags, date. Every row identical weight;
   a new block-flow component (not a fixed-child flex row) so it never inherits
   an unrelated component's child-count assumptions. */
.ed-frow { padding:1.1rem 0; border-top:1px solid var(--rule); }
.ed-frow:first-of-type { border-top:none; }
.ed-frow-title { font-family:var(--serif-display); font-weight:500; font-size:1.725rem;
  line-height:1.2; margin:0 0 .4rem; color:var(--text); }
.ed-frow-title a { text-decoration:none; border-bottom:none; }
.ed-frow-title a:hover, .ed-frow-title a:focus-visible { text-decoration:underline; }
.ed-frow .dek { font-family:var(--sans); font-size:.92rem; line-height:1.55;
  color:var(--text-soft); margin:0 0 .5rem; }
.ed-frow .dek a { color:inherit; text-decoration:none; border-bottom:none; }
.ed-frow .dek a:hover, .ed-frow .dek a:focus-visible { text-decoration:underline; }
.ed-frow-meta { font-family:var(--sans); font-size:.7rem; letter-spacing:.03em;
  text-transform:uppercase; color:var(--text-muted); margin:0 0 .35rem; }

/* Feed tag chips — display-only, muted, no colour-coding, distinct from the
   linked/colour-coded .ed-tag used on piece pages. */
.ed-feed-tag { display:inline-block; font-family:var(--sans); font-size:.62rem;
  font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--text-muted);
  background:#f1f2f6; padding:.14rem .45rem; border-radius:2px; margin:0 .35rem .35rem 0; }

/* Discourse items (discourse redesign): a vertical quote card — opening quote glyph, a
   bold claim lead, the verbatim quote with a left accent rule, then attribution. Plain
   background, no tint. Was a date|claim flex row; now block flow. */
.ed-trow { display:block; padding:1.1rem 0; border-top:1px solid var(--rule); }
/* Drop the first row's rule so it cannot double the column header's own hairline: the
   column's first child is the .ed-krow header, so match on that adjacency (:first-of-type
   cannot, since the first .ed-trow is not the first div of its type). */
.ed-krow + .ed-trow { border-top:none; }
.ed-trow-mark { font-family:var(--serif-display); font-weight:400; color:var(--accent); font-size:2.1rem;
  line-height:.5; margin:0 0 .35rem; }
.ed-trow-claim { font-family:var(--sans); font-weight:400; font-size:15px; line-height:1.45;
  color:var(--text); margin:0 0 .55rem; }
.ed-trow-quote { font-family:var(--serif-body); font-size:14.5px; line-height:1.55;
  color:var(--text-soft); border-left:2px solid var(--rule); border-radius:0;
  padding:0 0 0 .9rem; margin:0 0 .55rem; }
.ed-trow-attr { display:flex; justify-content:space-between; align-items:baseline; gap:1rem; }
.ed-trow-name { font-family:var(--sans); font-weight:400; font-size:.8rem; color:var(--accent); }
.ed-trow-when { font-family:var(--sans); font-size:.66rem; letter-spacing:.05em;
  text-transform:uppercase; color:var(--text-muted); white-space:nowrap; }

.ed-ticker-more { text-align:center; margin-top:1.1rem; }
.ed-ticker-more a { font-family:var(--sans); font-size:.72rem; letter-spacing:.05em;
  text-transform:uppercase; color:var(--accent); text-decoration:none; border-bottom:none; }

/* Discourse header "Verified voices" marker — shown only when the column has items, which
   (via _verified_only_stream) means every shown speaker resolved high-confidence. */
.ed-verified-mark { font-family:var(--sans); font-size:.58rem; font-weight:700;
  letter-spacing:.1em; text-transform:uppercase; color:var(--accent);
  border:1px solid var(--rule); border-radius:2px; padding:.1rem .4rem; white-space:nowrap; }

/* Explicit crawlable "Read full article" link under each article summary; matches
   the accent colour/arrow of the view-all link but stays mixed-case, not a button. */
.ed-frow-readmore { margin:.45rem 0 0; }
.ed-frow-readmore a { font-family:var(--sans); font-size:.72rem; letter-spacing:.05em;
  color:var(--accent); text-decoration:none; border-bottom:none; }

@media (max-width:900px) {
  /* The category strip is sticky at the top here, so anything scrolled or anchored to
     the top of the viewport would land UNDERNEATH it — the "Discourse" column header
     does exactly that when the reader scrolls down to the second column. Reserve the
     strip's height so scroll targets clear it. */
  html { scroll-padding-top:3.6rem; }
  .ed-feedcol .ed-krow { scroll-margin-top:3.6rem; }
  body.home .ed-feed-layout { grid-template-columns:1fr; gap:0; padding-top:0; }
  .ed-feednav {
    position:sticky; top:0; z-index:2; background:var(--bg);
    flex-direction:row; overflow-x:auto; gap:1.25rem;
    padding:.9rem 0; margin-bottom:1rem; border-bottom:1px solid var(--rule);
    -webkit-overflow-scrolling:touch;
  }
  .ed-feednav .ed-catnav-btn:not(:first-child)::before { content:"\00B7"; display:inline-block;
    color:var(--rule); font-weight:400; margin-right:.55rem; position:relative; top:-0.05em; }
  .ed-feedcols { grid-template-columns:1fr; gap:0; }
  .ed-feedcol + .ed-feedcol { margin-top:1.8rem; }
}

@media (max-width:560px) {
  .ed-frow-title { font-size:1.05rem; }
  .ed-trow { gap:.7rem; }
  .ed-trow-date { flex-basis:2.4rem; }
}
