/* ==========================================================================
   Masters in Public Affairs — Ghost theme
   Design tokens and rules from the August 2026 handoff. Fidelity order:
   1. essay reading experience  2. density  3. print devices  4. the rest.
   Zero border radius. No shadows. Everything flush left.
   ========================================================================== */

:root {
  /* Colour */
  --mpa-blue:        #3340FF;
  --mpa-blue-700:    #1B23A8;
  --mpa-blue-300:    #6E78FF;
  --mpa-blue-100:    #C6C8FF;
  --mpa-blue-50:     #EFEEFF;

  --mpa-ink:         #16181F;
  --mpa-ink-800:     #2A2D38;
  --mpa-ink-700:     #3A3D48;
  --mpa-ink-500:     #5B5F6B;
  --mpa-ink-900:     #080A1A;

  --mpa-paper:       #FAF9F6;
  --mpa-paper-warm:  #F1EFE9;
  --mpa-rule:        #D9D6CE;
  --mpa-rule-light:  #EAE7DF;

  /* Type */
  --mpa-display: 'Bodoni Moda', Didot, Georgia, serif;
  --mpa-body:    'Literata', Georgia, serif;
  --mpa-ui:      'Source Sans 3', system-ui, sans-serif;

  /* Layout */
  --gutter: 64px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

* { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }

/* The hidden attribute must always win, including over display:flex/grid
   set by component classes (the audio transport, colophon rows, etc.). */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--mpa-paper);
  color: var(--mpa-ink-700);
  font-family: var(--mpa-body);
  font-size: 16.5px;
  line-height: 1.68;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

/* Content links: blue and underlined, always — a link should be obvious
   at reading speed. The underline is a hairline in Blue 300 that darkens
   on hover; interface links (nav, rows, buttons) stay clean. */
.essay-body a, .episode-notes a, .page-about__intro a, .page-about__host-bio a {
  color: var(--mpa-blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--mpa-blue-300);
}
.essay-body a:hover, .episode-notes a:hover, .page-about__intro a:hover, .page-about__host-bio a:hover {
  text-decoration-color: var(--mpa-blue-700);
}

button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.num, time { font-variant-numeric: tabular-nums; }

.ta-r { text-align: right; }

.mpa-site { min-height: 100vh; display: flex; flex-direction: column; }
.mpa-site > main { flex: 1; }

/* --------------------------------------------------------------------------
   Buttons — flush, square, Source Sans
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mpa-ui); font-size: 13.5px; font-weight: 600;
  padding: 12px 20px; line-height: 1;
}
.btn--blue { background: var(--mpa-blue); color: #fff; }
.btn--blue:hover { background: var(--mpa-blue-700); }
.btn--outline { border: 1px solid var(--mpa-ink); color: var(--mpa-ink); }
.btn--outline:hover { background: var(--mpa-blue-50); }
.btn__glyph { display: inline-flex; }
.btn__glyph .glyph-play { width: 10px; height: 10px; display: block; }

/* --------------------------------------------------------------------------
   Running head
   -------------------------------------------------------------------------- */

.running-head {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px var(--gutter);
  border-bottom: 1px solid var(--mpa-rule);
  font-family: var(--mpa-ui); font-size: 12.5px; color: var(--mpa-ink-500);
}

/* --------------------------------------------------------------------------
   Masthead + nav
   -------------------------------------------------------------------------- */

.masthead {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  border-bottom: 2px solid var(--mpa-ink);
  background: var(--mpa-paper);
}

.masthead__mark { display: flex; align-items: center; gap: 13px; }
.masthead__square { width: 24px; height: 24px; background: var(--mpa-blue); flex: none; }
.masthead__wordmark {
  font-family: var(--mpa-display); font-weight: 600; font-size: 17px;
  line-height: 0.94; color: var(--mpa-ink);
}
.masthead__wordmark em { font-style: italic; font-weight: 500; }

.masthead__nav { display: flex; align-items: center; gap: 30px; font-family: var(--mpa-ui); font-size: 15.5px; font-weight: 600; }
.masthead__nav a { color: var(--mpa-ink); }
.masthead__nav a:hover { color: var(--mpa-blue-700); }
.masthead__subscribe { background: var(--mpa-blue); color: #fff !important; padding: 9px 18px; font-size: 14.5px; }
.masthead__subscribe:hover { background: var(--mpa-blue-700); }

/* Mobile menu — two 2px rules, full-height paper panel.
   The visible mark is small; the hit area is not (44px rule). */
.masthead__menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; min-height: 44px; padding: 0 11px; margin: -8px -11px;
}
.masthead__menu-toggle span { display: block; height: 2px; background: var(--mpa-ink); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; background: var(--mpa-paper);
  padding: 96px 20px;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  font-family: var(--mpa-display); font-weight: 500; font-size: 32px;
  color: var(--mpa-ink); padding: 20px 0; border-bottom: 1px solid var(--mpa-rule);
}

/* --------------------------------------------------------------------------
   Rubric — blue word | hairline pipe | Bodoni phrase
   -------------------------------------------------------------------------- */

.rubric { display: flex; align-items: baseline; }
.rubric__word { font-family: var(--mpa-ui); font-size: 17px; font-weight: 600; color: var(--mpa-blue-700); }
.rubric__pipe { color: var(--mpa-rule); padding: 0 9px; }
.rubric__phrase { font-family: var(--mpa-display); font-weight: 500; font-size: 30px; letter-spacing: -0.015em; color: var(--mpa-ink); }

.rubric-rule {
  display: flex; align-items: baseline; justify-content: space-between;
  border-bottom: 2px solid var(--mpa-ink); padding-bottom: 16px;
}
.rubric-rule__aside { font-family: var(--mpa-ui); font-size: 13.5px; color: var(--mpa-ink-500); }

/* --------------------------------------------------------------------------
   Homepage — hero + colophon
   -------------------------------------------------------------------------- */

.hero--split { display: grid; grid-template-columns: 1fr 288px; border-bottom: 2px solid var(--mpa-ink); }
.hero__lead { padding: 52px 56px 44px var(--gutter); }
.hero__listen { border-left: 1px solid var(--mpa-rule); padding: 52px 40px 44px 32px; }

/* The listening rail — index-row language, not web buttons */
.listen-links__label {
  font-family: var(--mpa-ui); font-weight: 600; font-size: 15px; color: var(--mpa-blue-700);
  padding-bottom: 9px; border-bottom: 1px solid var(--mpa-rule);
}
.listen-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--mpa-rule-light);
  font-family: var(--mpa-ui); font-size: 15px; font-weight: 600; color: var(--mpa-ink);
}
.listen-row .btn__icon { width: 16px; height: 16px; fill: currentColor; flex: none; }
.listen-row__arrow { margin-left: auto; color: var(--mpa-ink-500); font-weight: 400; }
.listen-row:hover { color: var(--mpa-blue-700); }
.listen-row:hover .listen-row__arrow { color: var(--mpa-blue-700); }

/* The host portrait — a print device, not a billboard. Mono, flush,
   captioned like a masthead credit; links to About. */
.hero-host { display: block; margin-top: 24px; }
.hero-host__frame { display: block; background: var(--mpa-paper-warm); aspect-ratio: 1 / 1; overflow: hidden; }
.hero-host__frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.06);
}
.hero-host__line {
  display: block; padding: 11px 0;
  border-bottom: 1px solid var(--mpa-rule-light);
  font-family: var(--mpa-ui); font-size: 13.5px; font-weight: 600; color: var(--mpa-ink-500);
}
.hero-host__arrow { font-weight: 400; }
.hero-host:hover .hero-host__line { color: var(--mpa-blue-700); }
.hero__display {
  font-family: var(--mpa-display); font-weight: 500; font-size: 68px;
  line-height: 1; letter-spacing: -0.022em; color: var(--mpa-ink); max-width: 15ch;
}
.hero__intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-top: 30px; max-width: 840px;
  font-size: 16.5px; line-height: 1.68; color: var(--mpa-ink-700);
}

/* Colophon rides beside the canon list — second glance, not first second */
.canon-preview__grid { display: grid; grid-template-columns: 1fr 288px; gap: 0 48px; align-items: start; }
.canon-preview__colophon { border-left: 1px solid var(--mpa-rule); padding: 4px 0 0 32px; }

.colophon__label {
  font-family: var(--mpa-ui); font-weight: 600; font-size: 15px; color: var(--mpa-blue-700);
  padding-bottom: 9px; border-bottom: 1px solid var(--mpa-rule);
}
.colophon__table { font-size: 14px; line-height: 1.55; color: var(--mpa-ink-700); }
.colophon__row {
  display: flex; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid var(--mpa-rule-light);
}
.colophon__next { font-family: var(--mpa-ui); font-size: 13.5px; line-height: 1.6; color: var(--mpa-ink-500); margin-top: 20px; }

/* Latest episode */
.latest { display: grid; grid-template-columns: 1fr 420px; border-bottom: 1px solid var(--mpa-rule); }

.latest__main { padding: 52px 56px 52px var(--gutter); display: grid; grid-template-columns: 96px 1fr; gap: 0 32px; }
.latest__folio {
  font-family: var(--mpa-display); font-weight: 500; font-size: 76px;
  line-height: 0.82; color: var(--mpa-blue); letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.latest__title { font-family: var(--mpa-display); font-weight: 500; font-size: 54px; line-height: 1.02; letter-spacing: -0.02em; color: var(--mpa-ink); }
.latest__meta { font-family: var(--mpa-ui); font-size: 15.5px; color: var(--mpa-ink-500); margin-top: 12px; }
/* The fold is generous with click points: title and art panel both go
   to the episode, not just the play button */
.latest__title a:hover { color: var(--mpa-blue-700); }
.latest__art:hover { background: var(--mpa-blue-700); }
.latest__dek { font-size: 16.5px; line-height: 1.7; color: var(--mpa-ink-700); margin-top: 22px; max-width: 56ch; }
.latest__actions { display: flex; align-items: center; gap: 14px; margin-top: 32px; }

.latest__art {
  background: var(--mpa-blue); border-left: 1px solid var(--mpa-rule);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 44px;
}
.latest__art-title { font-family: var(--mpa-display); font-weight: 500; font-size: 40px; line-height: 1.08; color: #fff; letter-spacing: -0.018em; }
.latest__art-credit {
  font-family: var(--mpa-ui); font-size: 14px; color: rgba(255,255,255,0.82);
  margin-top: 16px; border-top: 1px solid rgba(255,255,255,0.4); padding-top: 16px;
}

/* Canon preview + index rows */
.canon-preview { padding: 64px var(--gutter) 24px; }
.canon-preview__all { padding: 28px 0 40px; font-family: var(--mpa-ui); font-size: 13.5px; font-weight: 600; }
.canon-preview__all a:hover { color: var(--mpa-blue-700); }

.index-row {
  display: grid; grid-template-columns: 56px 1fr 240px 120px;
  padding: 15px 0; border-bottom: 1px solid var(--mpa-rule-light); align-items: baseline;
}
.index-row:hover { background: color-mix(in srgb, var(--mpa-blue-50) 50%, transparent); box-shadow: -16px 0 0 color-mix(in srgb, var(--mpa-blue-50) 50%, transparent), 16px 0 0 color-mix(in srgb, var(--mpa-blue-50) 50%, transparent); }
.index-row--current { background: var(--mpa-blue-50); box-shadow: -16px 0 0 var(--mpa-blue-50), 16px 0 0 var(--mpa-blue-50); }
.index-row--extra .index-row__no { color: var(--mpa-ink-500); }
.index-row--extra .index-row__year { color: var(--mpa-rule); }
.index-row__no { font-family: var(--mpa-display); font-size: 19px; color: var(--mpa-blue); font-variant-numeric: tabular-nums; }
.index-row__title { font-family: var(--mpa-display); font-size: 23px; font-weight: 500; letter-spacing: -0.01em; color: var(--mpa-ink); }
.index-row__author { font-family: var(--mpa-ui); font-size: 14.5px; color: var(--mpa-ink-500); }
.index-row__year, .index-row__length, .index-row__date { font-family: var(--mpa-body); font-size: 13.5px; color: var(--mpa-ink-500); text-align: right; font-variant-numeric: tabular-nums; }

/* Full index page */
.index-head { padding: 56px var(--gutter) 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.index-head__display { font-family: var(--mpa-display); font-weight: 500; font-size: 56px; line-height: 1; letter-spacing: -0.022em; color: var(--mpa-ink); }
.index-head__intro { font-size: 16.5px; line-height: 1.68; color: var(--mpa-ink-700); margin-top: 16px; max-width: 52ch; }

.index-sort { display: flex; align-items: center; font-family: var(--mpa-ui); font-size: 13.5px; flex: none; }
.index-sort__btn { padding: 9px 16px; border: 1px solid var(--mpa-rule); border-left: none; color: var(--mpa-ink-700); }
.index-sort__btn:first-child { border-left: 1px solid var(--mpa-rule); }
.index-sort__btn.is-active { background: var(--mpa-ink); color: #fff; border-color: var(--mpa-ink); font-weight: 600; }

.index-table { padding: 0 var(--gutter) 56px; }
.index-table__head {
  display: grid; grid-template-columns: 56px 1fr 210px 78px 92px 112px;
  padding: 0 0 10px; border-bottom: 2px solid var(--mpa-ink);
  font-family: var(--mpa-ui); font-size: 12px; letter-spacing: 0.04em; color: var(--mpa-ink-500);
}
.index-table .index-row { grid-template-columns: 56px 1fr 210px 78px 92px 112px; }
.index-table .index-row--compact { grid-template-columns: 56px 1fr 240px 120px; }
/* Essay rows have five columns (no Written) — this must come AFTER the
   generic row rule: equal specificity, so source order decides, and
   rows carry both classes. (Was declared before it → rows silently used
   the six-column episode grid and drifted off their headings.) */
.index-table__head--essays,
.index-table .index-row--essay { grid-template-columns: 56px 1fr 240px 92px 112px; }
.index-table .index-row--essay { display: grid; }

.index-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 22px; font-family: var(--mpa-ui); font-size: 13.5px; color: var(--mpa-ink-500);
}

/* --------------------------------------------------------------------------
   Subscribe block — the dark world
   -------------------------------------------------------------------------- */

.subscribe-block {
  margin-top: 64px; background: var(--mpa-ink-900);
  padding: 72px var(--gutter);
  display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: center;
}
.subscribe-block__pitch h2 {
  font-family: var(--mpa-display); font-weight: 500; font-size: 38px; line-height: 1.1;
  color: #fff; letter-spacing: -0.015em; max-width: 20ch;
}
.subscribe-block__pitch p { font-size: 16px; line-height: 1.7; color: var(--mpa-blue-100); margin-top: 20px; max-width: 48ch; }

.subscribe-form { display: flex; border: 1px solid rgba(255,255,255,0.35); }
.subscribe-form input {
  flex: 1; padding: 16px 20px; background: transparent; border: none;
  font-family: var(--mpa-ui); font-size: 15px; color: #fff; min-width: 0;
}
.subscribe-form input::placeholder { color: rgba(255,255,255,0.5); }
.subscribe-form button { background: var(--mpa-blue); color: #fff; padding: 16px 26px; font-family: var(--mpa-ui); font-size: 14px; font-weight: 600; flex: none; }
.subscribe-form button:hover { background: var(--mpa-blue-700); }
.subscribe-form.success::after { content: "Check your inbox to confirm."; display: block; padding: 16px 20px; font-family: var(--mpa-ui); font-size: 14px; color: var(--mpa-blue-100); }
.subscribe-form.success input, .subscribe-form.success button { display: none; }

.subscribe-block__platforms { display: flex; gap: 24px; margin-top: 22px; font-family: var(--mpa-ui); font-size: 13px; color: #8A8D9B; }
.subscribe-block__platforms a:hover { color: var(--mpa-blue-100); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 40px var(--gutter); display: flex; justify-content: space-between; align-items: center;
  background: var(--mpa-ink-900); border-top: 1px solid rgba(255,255,255,0.12);
}
.site-footer__mark { display: flex; align-items: center; gap: 12px; }
.site-footer__square { width: 18px; height: 18px; background: var(--mpa-blue); }
.site-footer__name { font-family: var(--mpa-ui); font-size: 12px; letter-spacing: 0.18em; color: rgba(255,255,255,0.75); }
.site-footer__copy { font-family: var(--mpa-ui); font-size: 12.5px; color: #8A8D9B; }
.site-footer__link { color: inherit; display: inline-block; padding: 12px 0; } /* 44px tap target */
.site-footer__link:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Episode page — the dark player, notes below
   -------------------------------------------------------------------------- */

.player { background: linear-gradient(160deg, var(--mpa-ink-900) 0%, #0B0E33 100%); padding: 72px var(--gutter) 56px; }

.player__rule {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 34px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.2);
  font-family: var(--mpa-ui); font-size: 14px; color: var(--mpa-blue-100);
}

.player__head { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: end; }
.player__id { display: grid; grid-template-columns: 104px 1fr; gap: 0 32px; align-items: start; }
.player__id--extra { grid-template-columns: 1fr; }
.player__folio {
  font-family: var(--mpa-display); font-weight: 500; font-size: 100px; line-height: 0.78;
  color: var(--mpa-blue-300); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.player__title { font-family: var(--mpa-display); font-weight: 500; font-size: 84px; line-height: 0.96; letter-spacing: -0.024em; color: #fff; }
.player__book { font-family: var(--mpa-ui); font-size: 19px; color: var(--mpa-blue-100); margin-top: 16px; }
.player__dek { border-left: 1px solid rgba(255,255,255,0.18); padding-left: 32px; font-size: 16px; line-height: 1.7; color: var(--mpa-blue-100); }

.player__transport {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 28px;
  display: flex; align-items: center; gap: 28px;
}
.player__play { width: 56px; height: 56px; background: var(--mpa-blue); color: #fff; flex: none; display: flex; align-items: center; justify-content: center; }
.player__play:hover { background: var(--mpa-blue-700); }
/* Two SVG states in the one button; is-playing (set from the audio
   element's events) flips them. Never a text glyph — iOS renders ▶ as
   the glossy emoji. */
.player__play .glyph-play, .player__play .glyph-pause { width: 18px; height: 18px; display: block; }
.player__play .glyph-play { margin-left: 2px; } /* optical centre of a triangle */
.player__play .glyph-pause { display: none; margin-left: 0; }
.player__play.is-playing .glyph-play { display: none; }
.player__play.is-playing .glyph-pause { display: block; }
.player__track { flex: 1; }
.player__bar { height: 3px; background: rgba(255,255,255,0.22); position: relative; cursor: pointer; }
.player__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--mpa-blue-300); }
.player__thumb { position: absolute; left: 0; top: -4px; width: 2px; height: 11px; background: #fff; }
.player__times { display: flex; justify-content: space-between; margin-top: 12px; font-family: var(--mpa-ui); font-size: 12.5px; color: #8A8D9B; font-variant-numeric: tabular-nums; }
.player__skip {
  flex: none; align-self: center;
  border: none; background: none; color: var(--mpa-blue-100);
  width: 44px; height: 44px; padding: 6px;
  font-family: var(--mpa-ui);
}
.player__skip .skip-icon { width: 100%; height: 100%; display: block; }
.player__skip:hover { color: #fff; }
.player__rate {
  flex: none; align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.35); color: var(--mpa-blue-100);
  font-family: var(--mpa-ui); font-size: 12.5px; font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 52px; padding: 9px 10px; text-align: center;
}
.player__rate:hover { border-color: var(--mpa-blue-300); color: #fff; }
.player__listen { margin-top: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.player__listen-label { font-family: var(--mpa-ui); font-size: 13px; color: #8A8D9B; margin-right: 6px; }
.btn--platform {
  border: 1px solid rgba(255,255,255,0.35); color: #fff;
  padding: 11px 18px; font-size: 13.5px; gap: 9px;
}
.btn__icon { width: 15px; height: 15px; fill: currentColor; flex: none; }
.btn--platform:hover { background: var(--mpa-blue); border-color: var(--mpa-blue); }

/* Notes */
.episode-body { display: grid; grid-template-columns: 1fr 300px; gap: 64px; padding: 72px var(--gutter); }
/* Grid blow-out guard: fixed-width content (embed iframes) must shrink
   the content, never expand the track */
.episode-body > * { min-width: 0; }

.episode-notes { max-width: 68ch; font-size: 17px; line-height: 1.7; color: var(--mpa-ink-700); }
.episode-notes > h2 {
  font-family: var(--mpa-display); font-weight: 500; font-size: 27px; letter-spacing: -0.012em;
  line-height: 1.25; color: var(--mpa-ink);
  padding-bottom: 14px; border-bottom: 2px solid var(--mpa-ink); margin: 56px 0 0;
}
.episode-notes > h2:first-child { margin-top: 0; }
.episode-notes > h2 + p { margin-top: 18px; }
.episode-notes > h3 {
  font-family: var(--mpa-display); font-weight: 500; font-size: 21px;
  line-height: 1.3; color: var(--mpa-ink); margin: 40px 0 12px;
}
.episode-notes > p { margin: 22px 0 0; }
.episode-notes > hr { border: none; border-top: 1px solid var(--mpa-rule); margin: 30px 0; }
.episode-notes blockquote {
  font-family: var(--mpa-body); font-weight: 300; font-style: italic; font-size: 26px; line-height: 1.5;
  color: var(--mpa-blue-700); border-left: 3px solid var(--mpa-blue); padding-left: 28px;
  max-width: 32ch; margin: 44px 0 44px; /* collapses with the next p's 22px → same air below as above */
}
.episode-notes blockquote + * { margin-top: 0; }

/* Margin notes in episode notes: no free margin column here (the sidebar
   is occupied), so on desktop they take the classic print treatment —
   a floated aside the body text wraps around, next to the passage they
   comment on. Inline on the hairline rule below 900px. */
.episode-notes blockquote.kg-blockquote-alt {
  border-left: 1px solid var(--mpa-rule); padding: 2px 0 2px 20px; margin: 30px 0 0;
  font-family: var(--mpa-ui); font-style: normal; font-weight: 400;
  font-size: 13.5px; line-height: 1.62; color: var(--mpa-ink-500);
  max-width: none; text-align: left;
}
/* On wide screens, notes ride OUTSIDE the text column, in the free
   gutter between the notes measure and the sidebar — the classic
   sidenote. Nothing wraps, nothing crowds, and the note aligns with
   whatever it sits beside in the source: place it directly before or
   after the passage (or pull quote) it comments on. The gutter only
   exists ≥1440px; below that, notes set inline on the hairline. */
@media (min-width: 1440px) {
  .episode-notes blockquote.kg-blockquote-alt {
    float: right; clear: right;
    width: 280px;
    margin: 4px -316px 18px 0;
  }
}
.episode-notes blockquote.kg-blockquote-alt::before {
  content: "Margin note"; display: block; font-weight: 600; color: var(--mpa-ink); margin-bottom: 5px;
}
.episode-notes blockquote.kg-blockquote-alt p { margin: 0; font: inherit; color: inherit; }
.episode-notes__essay-link { margin-top: 44px; font-size: 18px; }

.episode-aside .aside-block { border-top: 1px solid var(--mpa-rule); padding-top: 20px; margin-top: 32px; }
.episode-aside .aside-block--first { border-top: 2px solid var(--mpa-ink); margin-top: 0; }
.aside-block__label {
  font-family: var(--mpa-ui); font-weight: 600; font-size: 15px; color: var(--mpa-blue-700);
  padding-bottom: 9px; border-bottom: 1px solid var(--mpa-rule); margin-bottom: 16px;
}
.aside-block__cover {
  width: 132px; margin: 2px 0 16px;
  border: 1px solid var(--mpa-rule);
  box-shadow: none;
}

/* The Watch block: a YouTube embed pasted in the notes is moved here by
   main.js so video never pushes the reading matter down the page.
   Hard constraints: embed iframes carry fixed pixel width/height
   attributes and editor width classes (kg-width-wide/full) that must
   never win inside a 300px rail. */
.aside-block--watch .kg-embed-card,
.episode-aside .kg-embed-card {
  margin: 0 !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important;
}
.aside-block--watch iframe,
.episode-aside iframe {
  width: 100% !important; height: auto !important;
  aspect-ratio: 16 / 9; border: 0; display: block;
}
.episode-aside .kg-width-wide, .episode-aside .kg-width-full {
  grid-column: auto !important; margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important;
}
.aside-block__body { font-size: 15px; line-height: 1.7; color: var(--mpa-ink-700); }
.aside-block__body--links { line-height: 1.9; }
.aside-block__body--links a:hover { color: var(--mpa-blue-700); }
/* Essays rail — related essays on the episode page (mirror of the
   essay page's "From the canon" table) */
.aside-essay {
  display: grid; grid-template-columns: 24px 1fr; gap: 0 10px;
  padding: 10px 0; border-bottom: 1px solid var(--mpa-rule-light);
}
.aside-essay__no {
  font-family: var(--mpa-display); font-size: 16px; color: var(--mpa-blue);
  font-variant-numeric: tabular-nums;
}
.aside-essay__title {
  display: block; font-family: var(--mpa-display); font-weight: 500; font-size: 17px;
  letter-spacing: -0.005em; line-height: 1.2; color: var(--mpa-ink);
}
.aside-essay__meta { display: block; font-family: var(--mpa-ui); font-size: 12.5px; color: var(--mpa-ink-500); margin-top: 3px; }
.aside-essay:hover .aside-essay__title { color: var(--mpa-blue-700); }

.aside-block__next-title { font-family: var(--mpa-display); font-size: 22px; font-weight: 500; line-height: 1.15; color: var(--mpa-ink); display: block; }
.aside-block__next-title:hover { color: var(--mpa-blue-700); }
.aside-block__next-meta { font-size: 14px; color: var(--mpa-ink-500); margin-top: 6px; }

/* --------------------------------------------------------------------------
   Essay page — the reason the type system exists
   -------------------------------------------------------------------------- */

.essay-progress { height: 2px; background: var(--mpa-rule-light); position: sticky; top: 0; z-index: 30; }
.essay-progress__fill { height: 100%; width: 0; background: var(--mpa-blue); }

.essay-head { padding: 64px var(--gutter) 0; display: grid; grid-template-columns: 112px minmax(0, 632px) 1fr; gap: 0 40px; }
.essay-head__folio {
  font-family: var(--mpa-display); font-weight: 500; font-size: 64px; line-height: 0.82;
  color: var(--mpa-blue); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.essay-head__kicker { font-family: var(--mpa-ui); font-size: 14px; color: var(--mpa-ink-500); }
.essay-head__word { color: var(--mpa-blue-700); font-weight: 600; }
.essay-head__title {
  font-family: var(--mpa-display); font-weight: 500; font-size: 52px; line-height: 1.02;
  letter-spacing: -0.02em; margin-top: 16px; color: var(--mpa-ink);
}
.essay-head__title { text-wrap: balance; }
.essay-head__standfirst {
  font-family: var(--mpa-body); font-style: italic;
  font-size: 21px; line-height: 1.62; letter-spacing: 0.002em;
  color: var(--mpa-ink-800); margin-top: 20px; max-width: 56ch;
  text-wrap: pretty;
}
.essay-head__meta {
  display: flex; gap: 28px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--mpa-rule);
  font-family: var(--mpa-ui); font-size: 13.5px; color: var(--mpa-ink-500);
}
.essay-head__companion em { font-style: italic; }
.essay-head__companion:hover { color: var(--mpa-blue-700); }

/* The measure: Literata 19/34, 62 characters, fixed in ch so it holds
   when the reader changes text size. */
.essay-body {
  padding: 44px var(--gutter) 0;
  display: grid; grid-template-columns: 112px minmax(0, 632px) 1fr; gap: 0 40px;
}
.essay-body > * { grid-column: 2; max-width: 62ch; }
/* Grid blow-out guard (same as the episode sidebar): a fixed-width embed
   must never widen the column — it shrinks instead */
.essay-head > *, .essay-body > *, .essay-close > * { min-width: 0; }
.essay-body, .episode-notes { overflow-wrap: break-word; }
.essay-body .kg-embed-card iframe, .episode-notes .kg-embed-card iframe, .page-about__intro .kg-embed-card iframe { max-width: 100%; }

.essay-body { font-family: var(--mpa-body); font-size: 19px; line-height: 1.79; color: var(--mpa-ink-800); }
.essay-body p { margin: 22px 0 0; }
.essay-body p:first-of-type { margin-top: 0; }
.essay-body em { font-style: italic; }
.essay-body sup { font-family: var(--mpa-ui); font-size: 12px; color: var(--mpa-blue-700); font-weight: 600; }

/* Crossheads — Economist-inflected: medium-weight serif, air above,
   hierarchy from space and face rather than boldness */
.essay-body h2, .page-about__intro h2 {
  font-family: var(--mpa-display); font-weight: 500; font-size: 24px;
  letter-spacing: -0.01em; line-height: 1.3; color: var(--mpa-ink);
  margin: 52px 0 0;
}
.essay-body h2 + p, .page-about__intro h2 + p { margin-top: 14px; }
.essay-body h3, .page-about__intro h3 {
  font-family: var(--mpa-ui); font-weight: 600; font-size: 14px;
  letter-spacing: 0.03em; color: var(--mpa-blue-700);
  margin: 44px 0 0; line-height: 1.4;
}
.essay-body h3 + p, .page-about__intro h3 + p { margin-top: 12px; }

/* One pull quote per essay — the same standard as episode pages:
   light Literata italic in blue on the 3px rule, with symmetric air
   above and below. (Grid margins don't collapse, so 22px bottom +
   the next paragraph's 22px top = the same 44px as above.) */
.essay-body blockquote, .page-about__intro blockquote {
  padding: 0 0 0 28px; border-left: 3px solid var(--mpa-blue); margin: 44px 0 22px;
  font-family: var(--mpa-body); font-style: italic; font-weight: 300;
  font-size: 26px; line-height: 1.5; color: var(--mpa-blue-700);
  max-width: 32ch;
}
.essay-body blockquote p, .page-about__intro blockquote p { margin: 0; font: inherit; color: inherit; }

/* Attribution line inside a pull quote ("— Author, Title") — set as a
   compact citation under the quote, not at quote size. main.js tags it
   (as a class on a <p>, or a wrapping <span> for <br>-separated lines). */
.essay-body blockquote .quote-cite,
.episode-notes blockquote .quote-cite,
.page-about__intro blockquote .quote-cite {
  display: block;
  font-family: var(--mpa-ui); font-style: normal; font-weight: 500;
  font-size: 13.5px; line-height: 1.5; letter-spacing: 0.01em;
  color: var(--mpa-ink-500); margin-top: 14px;
}
.essay-body blockquote .quote-cite a,
.episode-notes blockquote .quote-cite a { color: inherit; }
.essay-body blockquote .quote-cite a:hover,
.episode-notes blockquote .quote-cite a:hover { color: var(--mpa-blue-700); }

/* Margin notes: blockquote-alt cards float into the right column ≥1100px */
.essay-body blockquote.kg-blockquote-alt {
  border-left: 1px solid var(--mpa-rule); padding: 0 0 0 20px;
  font-family: var(--mpa-ui); font-style: normal; font-weight: 400;
  font-size: 13px; line-height: 1.62; color: var(--mpa-ink-500);
  text-align: left; /* Ghost's card CSS centers alt quotes; everything here is flush left */
}
.essay-body blockquote.kg-blockquote-alt::before {
  content: "Margin note"; display: block; font-weight: 600; color: var(--mpa-ink); margin-bottom: 5px;
}
@media (min-width: 1100px) {
  .essay-body { position: relative; }
  .essay-body blockquote.kg-blockquote-alt {
    grid-column: 3; width: 100%; max-width: 260px; margin: 0;
    align-self: start; margin-top: 22px;
  }
}
@media (max-width: 1099px) {
  .essay-body blockquote.kg-blockquote-alt { margin: 22px 0; padding: 14px 0 14px 18px; }
}

/* Lists — the dash is the marker, per the house rules (no discs, flush left) */
.essay-body ul, .essay-body ol,
.episode-notes ul, .episode-notes ol,
.page-about__intro ul, .page-about__intro ol {
  margin: 22px 0 0; padding: 0; list-style: none;
}
.essay-body ol, .episode-notes ol, .page-about__intro ol { counter-reset: mpa-ol; }
.essay-body li, .episode-notes li, .page-about__intro li { position: relative; padding-left: 30px; margin-top: 10px; }
.essay-body li:first-child, .episode-notes li:first-child, .page-about__intro li:first-child { margin-top: 0; }
.essay-body ul li::before, .episode-notes ul li::before, .page-about__intro ul li::before {
  content: "–"; position: absolute; left: 0; top: 0;
  font-family: var(--mpa-ui); font-weight: 600; color: var(--mpa-blue-700);
}
.essay-body ol li, .episode-notes ol li, .page-about__intro ol li { counter-increment: mpa-ol; }
.essay-body ol li::before, .episode-notes ol li::before, .page-about__intro ol li::before {
  content: counter(mpa-ol); position: absolute; left: 0; top: 5px;
  font-family: var(--mpa-ui); font-weight: 600; font-size: 14px;
  color: var(--mpa-blue-700); font-variant-numeric: tabular-nums;
}
.essay-body li ul, .essay-body li ol, .page-about__intro li ul, .page-about__intro li ol { margin-top: 10px; }

/* Section break — a hairline across the measure, generous air above */
.essay-body hr, .episode-notes hr, .page-about__intro hr {
  border: none; border-top: 1px solid var(--mpa-rule);
  margin: 44px 0 22px; width: 100%;
}

/* Embeds (YouTube etc.) hold the measure and a 16:9 frame */
.essay-body .kg-embed-card, .episode-notes .kg-embed-card, .page-about__intro .kg-embed-card { margin: 36px 0 0; }
.essay-body .kg-embed-card iframe, .episode-notes .kg-embed-card iframe {
  width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0;
}
/* The same discipline for video iframes that arrive OUTSIDE an embed card —
   an HTML card with a raw YouTube snippet, or Substack-imported markup.
   Matched by src so ordinary iframes (forms etc.) are left alone. */
.essay-body iframe[src*="youtube.com/embed"], .essay-body iframe[src*="youtube-nocookie.com/embed"], .essay-body iframe[src*="player.vimeo.com"],
.episode-notes iframe[src*="youtube.com/embed"], .episode-notes iframe[src*="youtube-nocookie.com/embed"], .episode-notes iframe[src*="player.vimeo.com"] {
  width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; display: block;
}
.essay-body > iframe, .episode-notes > iframe { margin-top: 36px; }
/* Substack export wraps video in padded positioning shims — flatten them */
.essay-body .youtube-wrap, .essay-body .youtube-inner,
.episode-notes .youtube-wrap, .episode-notes .youtube-inner {
  position: static !important; padding: 0 !important; height: auto !important; margin: 36px 0 0;
}
.essay-body .youtube-inner iframe, .episode-notes .youtube-inner iframe { position: static !important; }

/* Paste hygiene: empty paragraphs (stray line breaks from imports)
   never open gaps in the measure */
.essay-body p:empty, .episode-notes p:empty, .page-about__intro p:empty { display: none; }

/* Run-in subheads: a paragraph that IS a bold line ("Hybrid corn in
   Iowa") acts as an item label — generous air above so each example
   reads as its own block, and its description sits snug beneath it. */
.episode-notes > p:has(> strong:first-child),
.essay-body > p:has(> strong:first-child),
.page-about__intro > p:has(> strong:first-child) { margin-top: 36px; }
.episode-notes > p:has(> strong:only-child) + p,
.essay-body > p:has(> strong:only-child) + p,
.page-about__intro > p:has(> strong:only-child) + p { margin-top: 8px; }
/* Two labels back-to-back (rare) keep the normal rhythm between them */
.episode-notes > p:has(> strong:only-child) + p:has(> strong:first-child),
.essay-body > p:has(> strong:only-child) + p:has(> strong:first-child) { margin-top: 36px; }

/* References: an HTML card with class mpa-refs (see SETUP.md) */
.essay-body .mpa-refs { margin-top: 52px; max-width: 62ch; }
.essay-body .mpa-refs h4 {
  font-family: var(--mpa-ui); font-weight: 600; font-size: 14px; color: var(--mpa-blue-700);
  padding-bottom: 10px; border-bottom: 1px solid var(--mpa-rule);
}
.essay-body .mpa-refs ol { list-style: none; counter-reset: refs; padding: 14px 0 0; }
.essay-body .mpa-refs li {
  counter-increment: refs; position: relative; padding: 5px 0 5px 28px;
  font-size: 14.5px; line-height: 1.6; color: var(--mpa-ink-500);
}
.essay-body .mpa-refs li::before {
  content: counter(refs); position: absolute; left: 0; top: 5px;
  font-family: var(--mpa-ui); font-weight: 600; color: var(--mpa-blue-700);
}

/* AI contribution disclosure — deliberately quiet apparatus. The line
   links to the site's /ai/ page; empty containers hide entirely. */
.ai-line {
  font-family: var(--mpa-ui); font-size: 12.5px; letter-spacing: 0.01em;
  color: var(--mpa-ink-500);
}
.ai-line:hover { color: var(--mpa-blue-700); }
/* The line signs off the author's own text: a short end-rule under the
   last paragraph, then the disclosure — attached to the writing, not
   the book apparatus */
.notes-ai { margin-top: 48px; }
.notes-ai::before {
  content: ""; display: block; width: 48px;
  border-top: 1px solid var(--mpa-rule); margin-bottom: 10px;
}
.notes-ai:not(:has(.ai-line)) { display: none; }
/* it is a link, but apparatus doesn't wear the body's underline */
.episode-notes a.ai-line, .essay-body a.ai-line { color: var(--mpa-ink-500); text-decoration: none; }
.episode-notes a.ai-line:hover, .essay-body a.ai-line:hover { color: var(--mpa-blue-700); text-decoration: none; }

/* Essay close — the short colophon */
.essay-close { padding: 44px var(--gutter) 64px; display: grid; grid-template-columns: 112px minmax(0, 632px) 1fr; gap: 0 40px; }
.essay-close__inner {
  grid-column: 2; border-top: 2px solid var(--mpa-ink); padding-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.essay-close__table { font-size: 14px; line-height: 1.55; color: var(--mpa-ink-700); }
.essay-close__row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--mpa-rule-light); }
.essay-close__cta-title { font-family: var(--mpa-display); font-size: 22px; line-height: 1.15; color: var(--mpa-ink); }
.essay-close__cta-meta { font-family: var(--mpa-ui); font-size: 13.5px; color: var(--mpa-ink-500); margin: 8px 0 16px; }

/* From the canon — the essay's referenced episodes, one row per book
   tag. Reads as a listenable bibliography; whole row is the link. */
.essay-canon:not(:has(.essay-canon__row)) { display: none; } /* essays with no book tags */
.essay-canon__label {
  font-family: var(--mpa-ui); font-weight: 600; font-size: 14px; color: var(--mpa-blue-700);
  padding-bottom: 10px; border-bottom: 1px solid var(--mpa-rule);
}
.essay-canon__row {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 0 14px; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--mpa-rule-light);
}
.essay-canon__no {
  font-family: var(--mpa-display); font-size: 19px; color: var(--mpa-blue);
  font-variant-numeric: tabular-nums; align-self: baseline;
}
.essay-canon__title {
  display: block; font-family: var(--mpa-display); font-weight: 500; font-size: 21px;
  letter-spacing: -0.01em; line-height: 1.15; color: var(--mpa-ink);
}
.essay-canon__meta { display: block; font-family: var(--mpa-ui); font-size: 13px; color: var(--mpa-ink-500); margin-top: 4px; }
.essay-canon__play { color: var(--mpa-blue); }
.essay-canon__play .glyph-play { width: 12px; height: 12px; display: block; }
.essay-canon__row:hover .essay-canon__title { color: var(--mpa-blue-700); }

/* cf. — margin cross-references. main.js lifts inline episode links into
   the margin column beside the paragraph that cites them; on narrower
   screens the inline link itself carries the reference, so these hide. */
.essay-cf { display: none; }
@media (min-width: 1100px) {
  .essay-cf {
    display: block; grid-column: 3; width: 100%; max-width: 260px;
    align-self: start; margin: 26px 0 0;
    font-family: var(--mpa-ui); font-size: 12.5px; line-height: 1.55;
    color: var(--mpa-ink-500);
    border-left: 1px solid var(--mpa-rule); padding-left: 14px;
    background: none;
  }
  .essay-cf__label { display: block; font-family: var(--mpa-body); font-style: italic; color: var(--mpa-blue-700); margin-bottom: 2px; }
  .essay-cf:hover { color: var(--mpa-blue-700); }
  /* it is a link, but margin apparatus doesn't wear the body's underline */
  .essay-body a.essay-cf, .essay-body a.essay-cf:hover { text-decoration: none; border-bottom: none; box-shadow: none; }
  .essay-body a.essay-cf .essay-cf__label { text-decoration: none; }
}

/* The episode-page variant: same apparatus, sidenote-float geometry
   (episode notes use the outside gutter at ≥1440px, not a grid column) */
.episode-cf { display: none; }
@media (min-width: 1440px) {
  .episode-notes a.episode-cf {
    display: block; float: right; clear: right; width: 280px;
    margin: 4px -316px 18px 0;
    font-family: var(--mpa-ui); font-size: 12.5px; line-height: 1.55;
    color: var(--mpa-ink-500);
    border-left: 1px solid var(--mpa-rule); padding-left: 14px;
    text-decoration: none;
  }
  .episode-notes a.episode-cf:hover { color: var(--mpa-blue-700); text-decoration: none; }
  .episode-cf .essay-cf__label { display: block; font-family: var(--mpa-body); font-style: italic; color: var(--mpa-blue-700); margin-bottom: 2px; }
}

/* --------------------------------------------------------------------------
   About page
   -------------------------------------------------------------------------- */

.page-about__lead { padding: 88px var(--gutter) 64px; border-bottom: 2px solid var(--mpa-ink); }
.page-about__display {
  font-family: var(--mpa-display); font-weight: 500; font-size: 64px; line-height: 1.02;
  letter-spacing: -0.022em; color: var(--mpa-ink); max-width: 18ch;
}
.page-about__intro { font-size: 19px; line-height: 1.75; color: var(--mpa-ink); max-width: 64ch; margin-top: 40px; }
.page-about__intro p { margin: 0 0 24px; }
.page-about__intro p:last-child { margin-bottom: 0; }

.page-about__host { display: grid; grid-template-columns: 420px 1fr; }
.page-about__portrait {
  border-right: 1px solid var(--mpa-rule); background: var(--mpa-paper-warm);
  min-height: 460px; background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.06);
}
.page-about__host-body { padding: 64px; }
.page-about__host-name { font-family: var(--mpa-display); font-weight: 500; font-size: 44px; letter-spacing: -0.018em; color: var(--mpa-ink); }
.page-about__host-bio { font-size: 18px; line-height: 1.75; color: var(--mpa-ink-700); margin-top: 26px; max-width: 52ch; }

/* --------------------------------------------------------------------------
   Ghost cards & Portal fit
   -------------------------------------------------------------------------- */

.kg-audio-card { display: none; } /* the theme's own player carries the audio */
.essay-body .kg-audio-card, .episode-notes .kg-audio-card { display: none; }

figure.kg-image-card { margin: 36px 0 0; }
.kg-width-wide { grid-column: 1 / -1 !important; max-width: 1000px !important; }
.kg-width-full { grid-column: 1 / -1 !important; max-width: none !important; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
figure.kg-image-card img { filter: grayscale(1); } /* photographs are black and white */
figcaption { font-family: var(--mpa-ui); font-size: 13.5px; color: var(--mpa-ink-500); margin-top: 10px; }

/* --------------------------------------------------------------------------
   Responsive — design section 19, 390px
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --gutter: 20px; }

  .running-head { font-size: 11.5px; font-style: italic; }
  .running-head__issue { display: none; } /* strapline stays; schedule goes */

  .masthead__nav { display: none; }
  .masthead__menu-toggle { display: flex; }
  .masthead__wordmark { font-size: 14px; }
  .masthead__square { width: 20px; height: 20px; }

  .hero--split { grid-template-columns: 1fr; }
  .hero__lead { padding: 32px var(--gutter) 28px; }
  .hero__display { font-size: 40px; line-height: 1.02; }
  .hero__intro { grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
  .hero__listen { border-left: none; border-top: 1px solid var(--mpa-rule); padding: 20px var(--gutter) 24px; }
  .listen-row { min-height: 44px; }

  /* Portrait compacts to a masthead-credit row on phones */
  .hero-host { display: flex; align-items: center; gap: 14px; margin-top: 16px; min-height: 44px; }
  .hero-host__frame { width: 56px; aspect-ratio: 1 / 1; flex: none; }
  .hero-host__line { border-bottom: none; padding: 0; }
  .canon-preview__grid { grid-template-columns: 1fr; }
  .canon-preview__colophon { border-left: none; border-top: 1px solid var(--mpa-rule); padding: 24px 0 0; margin-top: 8px; }

  .latest { grid-template-columns: 1fr; }
  .latest__main { grid-template-columns: 1fr; padding: 28px var(--gutter); }
  .latest__folio { font-size: 34px; margin-bottom: 12px; } /* folio moves inline */
  .latest__title { font-size: 32px; line-height: 1.05; }
  .latest__art { display: none; }
  .latest__actions .btn { flex: 1; justify-content: center; min-height: 44px; }
  .latest__actions { display: flex; }

  /* Index rows become two lines: number + title / author + date */
  .index-row, .index-table .index-row, .index-table .index-row--essay {
    grid-template-columns: 34px 1fr; grid-template-rows: auto auto; padding: 14px 0;
  }
  .index-row__no { grid-row: 1 / 3; font-size: 17px; }
  .index-row__title { font-size: 20px; }
  .index-row__author { grid-column: 2; font-size: 13px; margin-top: 3px; }
  .index-row__year, .index-row__length { display: none; }
  .index-row__date { grid-column: 2; text-align: left; font-family: var(--mpa-ui); font-size: 13px; }

  .index-table__head { display: none; }
  .index-head { flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 32px; }
  .index-head__display { font-size: 38px; }
  .index-sort__btn { min-height: 44px; }

  /* Rubric stacks; the Bodoni phrase must not wrap letter-by-letter */
  .rubric-rule { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rubric__phrase { font-size: 24px; }
  .rubric-rule__aside { font-size: 13px; }

  /* 44px tap targets for the small links the sweep flagged */
  .btn, .btn--platform { min-height: 44px; }
  .masthead__mark { padding: 10px 0; margin: -10px 0; }
  .aside-block__body--links a,
  .subscribe-block__platforms a,
  .canon-preview__all a,
  .aside-block__next-title { display: inline-block; padding: 12px 0; }
  .aside-block__body--links { line-height: 1.4; }
  .episode-notes__essay-link a { display: inline-block; padding: 10px 0; }

  .subscribe-block { grid-template-columns: 1fr; gap: 32px; padding: 48px var(--gutter); }
  .subscribe-block__pitch h2 { font-size: 30px; }

  .player { padding: 40px var(--gutter) 36px; }
  .player__head { grid-template-columns: 1fr; gap: 24px; }
  .player__id { grid-template-columns: 1fr; }
  .player__folio { font-size: 34px; line-height: 0.82; margin-bottom: 12px; }
  .player__title { font-size: 40px; line-height: 1.02; }
  .player__book { font-size: 15px; }
  .player__dek { border-left: none; padding-left: 0; }
  /* Transport restacks: full-width scrub bar on top, then one clean row
     of controls — back · play · forward on the left, speed on the right */
  .player__transport { flex-wrap: wrap; gap: 24px 14px; }
  .player__track { flex: 1 1 100%; order: -1; }
  .player__play { width: 52px; height: 52px; min-width: 44px; min-height: 44px; }
  .player__rate { min-height: 44px; margin-left: auto; align-self: center; }
  .player__skip { height: 44px; width: 40px; }
  .player__platforms { width: 100%; }

  /* Platform buttons go icon-only (labels are aria-label'd on the links) */
  .player__listen { gap: 10px; }
  .player__listen .btn__label { display: none; }
  .player__listen .btn--platform { padding: 0; min-width: 52px; justify-content: center; }
  .player__listen .btn--platform .btn__icon { width: 19px; height: 19px; }

  .episode-body { grid-template-columns: 1fr; gap: 40px; padding: 40px var(--gutter); }
  .aside-block__cover { width: 108px; }

  .essay-head { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .essay-head__folio { font-size: 30px; margin-bottom: 12px; }
  .essay-head__title { font-size: 34px; line-height: 1.04; }
  .essay-head__standfirst { font-size: 18px; }

  /* Body type goes up, not down: 18px, and the measure can never exceed
     the frame (minmax(0,1fr) keeps an embed from widening the track) */
  .essay-body { grid-template-columns: minmax(0, 1fr); font-size: 18px; line-height: 1.78; }
  .essay-body > * { grid-column: 1; max-width: min(38ch, 100%); }
  .essay-body blockquote { font-size: 22px; padding-left: 20px; }

  .essay-close { grid-template-columns: minmax(0, 1fr); }
  .essay-close__inner { grid-column: 1; grid-template-columns: 1fr; }
  .essay-close__cta .btn { width: 100%; justify-content: center; min-height: 44px; }

  .page-about__lead { padding: 40px var(--gutter) 36px; }
  .page-about__display { font-size: 38px; }
  .page-about__host { grid-template-columns: 1fr; }
  .page-about__portrait { border-right: none; border-bottom: 1px solid var(--mpa-rule); min-height: 320px; }
  .page-about__host-body { padding: 32px var(--gutter); }

  /* Bodoni weight bumps for phone sizes (the optical-size pin itself is
     global — see the rule after the responsive section) */
  .mobile-menu a { font-weight: 600; }
  .masthead__wordmark { font-weight: 650; }
  .masthead__wordmark em { font-weight: 600; }
  .hero__display, .latest__title, .player__title,
  .essay-head__title, .index-head__display, .page-about__display { font-weight: 560; }
}

/* --------------------------------------------------------------------------
   Bodoni optical size — global (v0.10.0). Left to its own devices the
   variable font follows the rendered size up the optical-size axis, and
   at display sizes the hairlines thin to the point of vanishing on
   ordinary screens (reader feedback, twice). Pin every display role to
   the small optical cut — the robust, lower-contrast form Bodoni was
   originally drawn with — at all viewports. This also matches the design
   mockups, which were rendered in this cut throughout.
   -------------------------------------------------------------------------- */
.masthead__wordmark, .mobile-menu a, .hero__display, .rubric__phrase,
.latest__folio, .latest__title, .latest__art-title,
.index-row__no, .index-row__title, .index-head__display,
.subscribe-block__pitch h2, .player__folio, .player__title,
.aside-block__next-title, .aside-essay__no, .aside-essay__title,
.essay-head__folio, .essay-head__title,
.essay-body h2,
.essay-canon__no, .essay-canon__title,
.episode-notes > h2, .episode-notes > h3,
.essay-close__cta-title, .page-about__display, .page-about__host-name {
  font-variation-settings: 'opsz' 12;
}
