/*
Theme Name: NP
Theme URI: https://nikhilpahwa.com/
Author: Nikhil Pahwa
Description: An editorial, content-first personal website theme.
Version: 1.5.42
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: np
*/

/* ========================================================================== 
   nikhilpahwa.com  |  design system
   Base: MEDIANAMA_DESIGN_PHILOSOPHY.md
   Departures, deliberate: maroon replaced by the blue below; Trebuchet dropped
   (reserved for the MEDIANAMA wordmark).
   Icons are line-only, stroke: currentColor, no fills. They mark and orient;
   they never replace a label.
   ========================================================================== */

:root {
  --paper:      #fff;
  --paper-warm: #fbfaf7;
  --ink:        #050505;
  --muted:      #4d4d4d;
  --rule:       #050505;
  --fine-rule:  #d6d6d6;
  --soft-rule:  #e8e5de;
  --night:      #242121;

  /* #0288f5 is 3.59:1 on white: fine for fills, borders and large type, under
     the 4.5:1 AA floor for body text. Text-weight uses take --signal-text. */
  --signal:      #0288f5;
  --signal-text: #0166BA;
  --signal-dark: #01508F;
  --tag-bg:      #E4F1FD;

  --shell: min(1080px, 100% - 56px);
  --shell-wide: min(1280px, 100% - 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------- Typography */

h1, h2, h3, .editorial {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: 46px; }
h2 { font-size: 31px; }
h3 { font-size: 28px; }

@media (max-width: 720px) {
  h1 { font-size: 33px; }
  h2 { font-size: 26px; }
  h3 { font-size: 23px; }
}

p { margin: 0 0 1em; }

.prose { font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.62; max-width: 68ch; }
.prose p { margin: 0 0 1.15em; }

a { color: var(--signal-text); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--signal-dark); }

.eyebrow {
  display: flex; align-items: center; gap: 7px;
  color: var(--signal-text);
  font-size: 12px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 14px;
}
.eyebrow--onDark { color: #bfe0fb; }

.meta { font-size: 13px; color: var(--muted); }
.lede { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.45; max-width: 62ch; }

/* -------------------------------------------------- Icons */

.icon { width: 1em; height: 1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.12em; }
.icon--lg { width: 26px; height: 26px; stroke-width: 1.3; }
.icon--sm { width: 13px; height: 13px; }

/* -------------------------------------------------- Shell / rules */

.shell { width: var(--shell); margin: 0 auto; }
.shell-wide { width: var(--shell-wide); margin: 0 auto; }
.section { padding: 44px 0; }
.section--plain { background: var(--paper); }
.section--tinted { background: var(--paper-warm); }
@media (max-width: 720px) { .section { padding: 32px 0; } }

/* -------------------------------------------------- Masthead, two tier */

.masthead { border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); }
.masthead__inner {
  width: var(--shell); margin: 0 auto;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 28px; padding: 16px 0; flex-wrap: wrap;
}
.wordmark { font-family: Georgia, "Times New Roman", serif; font-size: 26px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.masthead .wordmark { color: var(--signal-text); }
.masthead .wordmark:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.nav a { color: var(--ink); text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--signal); }
.nav a[aria-current="page"] { border-bottom-color: var(--signal); color: var(--signal-text); }
.nav .menu-item--profiles::before { content: "|"; margin-right: 20px; color: #8a8a8a; font-weight: 400; }

/* Second tier: the showcases */
.subnav { border-bottom: 1px solid var(--fine-rule); background: var(--paper-warm); }
.subnav__inner { width: var(--shell); margin: 0 auto; display: flex; gap: 22px; flex-wrap: wrap; padding: 8px 0; align-items: center; }
.subnav a { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.subnav a:hover { color: var(--signal-text); }
.subnav a[aria-current="page"] { color: var(--signal-text); }
.subnav__lbl { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8a8a; font-weight: 700; }

/* -------------------------------------------------- Buttons */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 22px; border: 1px solid var(--signal-text);
  background: var(--signal-text); color: #fff; text-decoration: none; border-radius: 0; cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
}
.btn:hover { background: var(--signal-dark); border-color: var(--signal-dark); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.btn--secondary { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

/* -------------------------------------------------- Hero */

.hero { padding: 34px 0 26px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(230px, .5fr); gap: 48px; align-items: center; }
.home .hero h1 { max-width: 18ch; font-size: 54px; }
.hero__signal { color: var(--signal-text); text-decoration: none; }
.hero__signal:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.hero__question { color: var(--signal-text); }
.hero__roles { margin-bottom: 19px; color: var(--signal-text); font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .11em; line-height: 1.45; text-transform: uppercase; }
.hero__summary { max-width: 66ch; margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 18px; line-height: 1.55; color: #282828; }
.hero h1 { margin-bottom: 18px; max-width: 16ch; }
.hero__copy > p:not(.eyebrow):not(.lede) { max-width: 61ch; margin-top: 12px; }
.hero__copy > .hero__roles { max-width: none !important; }
.hero__portrait { margin: 0; justify-self: end; width: min(100%, 272px); }
.hero__portrait img { display: block; width: 100%; height: 340px; object-fit: cover; object-position: 50% 34%; border: 7px solid var(--signal); }
.hero__portrait figcaption { padding-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.hero__aside { border-left: 1px solid var(--rule); padding-left: 26px; font-size: 14px; }
.hero__aside dt { font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-top: 15px; }
.hero__aside dt:first-child { margin-top: 0; }
.hero__aside dd { margin: 3px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.hero__aside dd + dd { margin-top: 5px; }

/* Inside pages: no oversized display type. */
.hero--page { padding: 26px 0 20px; }
.hero--page h1 { font-size: 31px; max-width: 26ch; margin-bottom: 12px; }
.hero--page .lede { font-size: 17px; }
@media (max-width: 720px) { .hero--page h1 { font-size: 26px; } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__aside { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; padding-top: 18px; }
}

/* -------------------------------------------------- Proof band */

.proof { display: grid; grid-template-columns: repeat(4, 1fr) 1.55fr; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof__cell { padding: 20px 22px 18px; border-right: 1px solid var(--fine-rule); }
.proof__cell:first-child { padding-left: 0; }
.proof__cell:last-child { border-right: 0; }
.proof a.proof__cell { color: var(--ink); text-decoration: none; }
.proof a.proof__cell:hover { background: var(--paper-warm); color: var(--signal-dark); }
.proof__n { font-family: Georgia, "Times New Roman", serif; font-size: 33px; line-height: 1; display: block; margin-bottom: 7px; }
.proof__l { font-size: 12px; line-height: 1.35; color: var(--muted); }
.proof a:hover .proof__l { color: var(--signal-dark); text-decoration: underline; text-underline-offset: 2px; }
.proof__n a { color: var(--ink); text-decoration: none; }
.proof__n a:hover { color: var(--signal-dark); }
.proof__l a { color: var(--signal-text); text-decoration: underline; text-underline-offset: 2px; }
.proof__l a:hover { color: var(--signal-dark); }
.home-streams { padding-top: 27px; }
@media (max-width: 860px) {
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof__cell { border-bottom: 1px solid var(--fine-rule); padding-right: 16px; }
  .proof__cell:nth-child(2n) { border-right: 0; }
}

/* -------------------------------------------------- Stream cards */

.streams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--fine-rule); border: 1px solid var(--fine-rule); }
.streams--4 { grid-template-columns: repeat(4, 1fr); }
.streams--work { grid-template-columns: repeat(4, 1fr); }
.stream { background: var(--paper); padding: 20px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; min-height: 168px; }
.stream:hover { background: var(--paper-warm); }
.stream:hover .stream__t { color: var(--signal-text); }
.stream__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; color: var(--signal-text); }
.stream__badge { font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.stream__t { font-family: Georgia, "Times New Roman", serif; font-size: 24px; line-height: 1.1; margin-bottom: 7px; }
.stream a.stream__t { color: var(--ink); text-decoration: none; }
.stream__d { font-size: 14px; color: var(--muted); line-height: 1.45; }
.stream__go { margin-top: auto; padding-top: 13px; font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--signal-text); display: flex; align-items: center; gap: 6px; }
.stream a.stream__go { text-decoration: none; }
.stream--secondary .stream__panel { display: flex; flex: 1; flex-direction: column; }
.stream__toggle { display: none; }
@media (max-width: 900px) { .streams, .streams--4, .streams--work { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .streams { grid-template-columns: 1fr; }
  .stream--secondary { display: block; min-height: 0; padding: 0; }
  .stream__toggle { align-items: center; background: var(--paper); border: 0; color: var(--ink); cursor: pointer; display: flex; font: 700 17px/1.25 Arial, sans-serif; justify-content: space-between; min-height: 54px; padding: 15px 18px; text-align: left; width: 100%; }
  .stream__toggle:hover, .stream__toggle:focus-visible { background: var(--paper-warm); color: var(--signal-text); }
  .stream__toggle-icon::before { content: "+"; display: block; font-size: 22px; font-weight: 400; line-height: 1; }
  .stream--secondary.is-open .stream__toggle-icon::before { content: "\2212"; }
  .stream--secondary .stream__panel { display: none; padding: 0 18px 18px; }
  .stream--secondary.is-open .stream__panel { display: flex; }
  .stream--secondary .stream__top, .stream--secondary .stream__t { display: none; }
}

/* -------------------------------------------------- Pinned highlights */

.pinned { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pinned--one { grid-template-columns: 1fr; }
.pin {
  border: 1px solid var(--rule); background: var(--paper);
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
}
.pin:hover { background: var(--paper-warm); }
.pin__flag {
  display: flex; align-items: center; gap: 7px;
  background: var(--signal-text); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase;
  padding: 7px 12px;
}
.pin__thumb { position: relative; aspect-ratio: 16/9; background: var(--night); overflow: hidden; }
.pin__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin__body { padding: 16px 18px 18px; }
.pin__t { font-family: Georgia, "Times New Roman", serif; font-size: 23px; line-height: 1.15; margin-bottom: 8px; }
.pin:hover .pin__t { color: var(--signal-text); }
.pin__d { font-size: 14px; color: var(--muted); line-height: 1.45; }
@media (max-width: 760px) { .pinned { grid-template-columns: 1fr; } }

/* Play marker over video thumbnails */
.playmark {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(5,5,5,0.82); color: #fff;
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 9px;
}

/* -------------------------------------------------- Chronological showcase */

.year {
  display: flex; align-items: baseline; gap: 14px;
  border-top: 2px solid var(--rule); padding-top: 10px; margin: 34px 0 4px;
}
.year__n { font-family: Georgia, "Times New Roman", serif; font-size: 26px; }
.year__c { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }

.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; padding-top: 22px; }
.showcase--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .showcase { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .showcase, .showcase--2 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card__thumb { position: relative; aspect-ratio: 16/9; background: var(--night); overflow: hidden; border: 1px solid var(--fine-rule); }
.card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card:hover .card__thumb { border-color: var(--signal); }
/* Fallback tile when a thumbnail is missing: dark ground, serif title. */
.card__fallback {
  position: absolute; inset: 0; display: flex; align-items: center; padding: 14px;
  font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.2; color: #efeaea;
}
.card__head { display: flex; align-items: center; gap: 7px; margin: 11px 0 5px; font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--signal-text); }
.card__t { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.22; margin-bottom: 6px; }
.card:hover .card__t { color: var(--signal-text); }
.card__m { font-size: 12.5px; color: var(--muted); }

/* -------------------------------------------------- Ruled lists */

.ruled { border-top: 1px solid var(--rule); }
.ruled__item { display: grid; grid-template-columns: 118px minmax(0, 1fr) auto; gap: 22px; align-items: baseline; min-width: 0; padding: 15px 0; border-bottom: 1px solid var(--fine-rule); overflow-wrap: anywhere; }
.ruled__date { font-size: 12px; color: var(--muted); letter-spacing: 0.03em; text-transform: uppercase; }
.ruled__t { min-width: 0; overflow-wrap: anywhere; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.28; }
.ruled__t a { color: var(--ink); text-decoration: none; }
.ruled__t a:hover { color: var(--signal-text); text-decoration: underline; }
.ruled__outlet { display: block; font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: var(--muted); margin-top: 4px; }
@media (max-width: 720px) { .ruled__item { grid-template-columns: 1fr; gap: 5px; } }
.citation-year-group { margin-top: 28px; border-top: 2px solid var(--rule); }
.citation-year-group h3 { margin: 0; padding: 12px 0 4px; font-size: 24px; }
.venue-list { display: flex; flex-wrap: wrap; gap: 8px; }
.venue-list span { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 10px; border: 1px solid var(--fine-rule); font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--tag-bg); color: var(--signal-dark); padding: 4px 9px; white-space: nowrap; }
.chip--plain { background: var(--paper-warm); color: var(--muted); }
.chiprow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
a.chip { text-decoration: none; }
a.chip:hover { background: var(--signal-text); color: #fff; }

/* -------------------------------------------------- Post list */

.posts { border-top: 1px solid var(--rule); }
.post { padding: 26px 0; border-bottom: 1px solid var(--fine-rule); max-width: 72ch; }
.post__t { font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.14; margin: 6px 0 9px; }
.post__t a { color: var(--ink); text-decoration: none; }
.post__t a:hover { color: var(--signal-text); }
.post__x { font-family: Georgia, "Times New Roman", serif; font-size: 16.5px; line-height: 1.6; }

/* -------------------------------------------------- Recent external writing */

.recent-writing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.recent-writing__source { padding: 22px 28px 24px 0; }
.recent-writing__source + .recent-writing__source { padding-right: 0; padding-left: 28px; border-left: 1px solid var(--fine-rule); }
.recent-writing__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 4px; }
.recent-writing__head h3 { margin: 0; font-size: 25px; }
.recent-writing__head h3 a { color: var(--ink); text-decoration: none; }
.recent-writing__head h3 a:hover { color: var(--signal-text); }
.recent-writing__head span { color: var(--signal-text); font: 800 10px/1.3 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.recent-writing__item { padding: 18px 0; border-bottom: 1px solid var(--fine-rule); }
.recent-writing__item h4 { margin: 5px 0 7px; font-size: 21px; line-height: 1.22; }
.recent-writing__item h4 a { color: var(--ink); text-decoration: none; }
.recent-writing__item h4 a:hover { color: var(--signal-text); text-decoration: underline; }
.recent-writing__item p:last-child { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.recent-writing__more { margin-top: 18px; }

/* -------------------------------------------------- Dark band */

.dark { background: var(--night); color: var(--paper); padding: 44px 0; }
.dark h2, .dark h3 { color: var(--paper); }
.dark a { color: #bfe0fb; }
.topics { border-top: 2px solid var(--paper); margin-top: 20px; }
.topics__row { display: grid; grid-template-columns: 1fr 2fr; gap: 22px; padding: 14px 0; border-bottom: 1px solid #4a4545; }
.topics__k { font-family: Georgia, "Times New Roman", serif; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.topics__v { font-size: 14px; color: #c9c4c4; line-height: 1.5; }
@media (max-width: 720px) { .topics__row { grid-template-columns: 1fr; gap: 5px; } }

.briefing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 24px 0; border: 1px solid var(--fine-rule); background: var(--fine-rule); }
.briefing { min-height: 150px; padding: 20px; background: var(--paper); border-top: 4px solid var(--signal); }
.briefing h3 { margin-bottom: 10px; font-size: 23px; }
.briefing p { margin: 0; color: var(--muted); }

.profile-features { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); }
.profile-feature { min-height: 220px; display: flex; flex-direction: column; padding: 20px; border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); color: var(--ink); text-decoration: none; }
.profile-feature:hover { border-top: 4px solid var(--signal); padding-top: 16px; }
.profile-feature__k { color: var(--signal-text); font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.profile-feature__t { margin: 16px 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; line-height: 1.15; }
.profile-feature__d { color: var(--muted); font-size: 14px; line-height: 1.45; }
.profile-feature__go { margin-top: auto; padding-top: 18px; color: var(--signal-text); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.archive-context { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 26px; align-items: start; margin-bottom: 34px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--fine-rule); }
.archive-context h2 { font-size: 25px; }
.archive-quotes { margin: 0 0 34px; padding: 20px 0 0; border-top: 1px solid var(--rule); }
.citation-section { margin: 0 0 38px; }
.citation-format-nav { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 24px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--fine-rule); }
.citation-format-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 15px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-right: 1px solid var(--fine-rule); }
.citation-format-nav a:hover, .citation-format-nav a[aria-current="page"] { color: var(--signal-text); box-shadow: inset 0 -3px 0 var(--signal); }
.citation-year-card { display: flex; flex-direction: column; min-height: 100px; padding: 12px 14px; color: var(--ink); text-decoration: none; border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); }
.citation-year-card:hover { background: var(--paper-warm); }
.citation-year-card__year { font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.citation-year-card__count { margin-top: 2px; color: var(--signal-text); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.citation-year-card__breakdown { display: flex; flex-wrap: wrap; gap: 3px 8px; margin-top: auto; padding-top: 10px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.citation-year-card__breakdown span { white-space: nowrap; }
.column-publications { margin: 0 0 34px; padding: 18px 0 20px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--fine-rule); }
.column-publications > .eyebrow { margin-bottom: 12px; }
.column-publications__links { display: flex; flex-wrap: wrap; gap: 8px; }
.column-publication { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 11px; color: var(--ink); background: var(--paper-warm); border: 1px solid var(--fine-rule); text-decoration: none; font-size: 13px; }
.column-publication:hover, .column-publication[aria-current="page"] { color: var(--signal-text); border-color: var(--signal); }
.column-publication--priority { border-top: 3px solid var(--signal); padding-top: 7px; }
.column-publication small { color: var(--muted); font-size: 11px; }
.article-excerpts { max-width: 78ch; border-top: 1px solid var(--rule); }
.article-excerpt { padding: 25px 0; border-bottom: 1px solid var(--fine-rule); }
.article-excerpt h2 { margin: 7px 0 10px; font-size: 29px; }
.article-excerpt h2 a, .podcast-item h2 a { color: var(--ink); text-decoration: none; }
.article-excerpt h2 a:hover, .podcast-item h2 a:hover { color: var(--signal-text); }
.article-excerpt p:not(.meta) { max-width: 70ch; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.55; }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--fine-rule); border: 1px solid var(--fine-rule); }
.video-card { min-width: 0; background: var(--paper); }
.video-card__media { min-width: 0; aspect-ratio: 16 / 9; background: var(--night); }
.video-card__media iframe { width: 100%; max-width: 100%; min-width: 0; height: 100%; border: 0; display: block; }
.video-card__fallback { aspect-ratio: 16 / 9; display: flex; align-items: center; padding: 22px; background: var(--night); color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 24px; text-decoration: none; }
.video-card__body { padding: 17px 20px 22px; }
.video-card__body h2 { margin: 5px 0 8px; font-size: 25px; }
.video-card__body h2, .video-card__body h2 a { overflow-wrap: anywhere; word-break: break-word; }
.video-card__body h2 a { color: var(--ink); text-decoration: none; }
.video-card__body p:last-child { margin: 0; color: var(--muted); }
.podcast-list { border-top: 1px solid var(--rule); }
.podcast-item { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 23px 0; border-bottom: 1px solid var(--fine-rule); }
.podcast-item h2 { margin-top: 6px; font-size: 28px; }
.podcast-item p { color: var(--muted); }
.podcast-item p:last-child { margin-bottom: 0; }
.review-queue__summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.review-queue__summary span, .review-queue__saved { padding: 8px 10px; border: 1px solid var(--fine-rule); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.review-queue__saved { display: inline-block; border-color: var(--signal); color: var(--signal-text); }
.review-queue__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; }
.review-item { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 18px; padding: 13px 0; border-top: 1px solid var(--fine-rule); }
.review-item:last-of-type { border-bottom: 1px solid var(--fine-rule); }
.review-item h2 { margin: 3px 0 5px; font-size: 19px; line-height: 1.2; }
.review-item h2 a { color: var(--ink); text-decoration: none; }
.review-item h2 a:hover { color: var(--signal-text); }
.review-item .meta { margin-bottom: 2px; font-size: 12px; }
.review-item__main p { overflow-wrap: anywhere; }
.review-item__main .textlink { font-size: 12px; letter-spacing: .05em; }
.review-item__query { margin: 6px 0 0; color: var(--muted); font-size: 11px; }
.review-item__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin: 0; padding: 10px; border: 1px solid var(--fine-rule); align-self: start; }
.review-item__controls legend { padding: 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.review-item__radios { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.review-item__controls label { display: flex; gap: 6px; align-items: center; min-height: 28px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; }
.review-item__tag { align-items: stretch; flex-direction: column; gap: 4px; }
.review-item__controls select, .review-item__controls input[type="text"] { width: 100%; min-height: 34px; border: 1px solid var(--fine-rule); padding: 5px 7px; font: inherit; }
@media (max-width: 860px) { .profile-features { grid-template-columns: 1fr; } .archive-context { grid-template-columns: 1fr; gap: 12px; } }
@media (max-width: 720px) { .briefing-grid, .video-grid, .podcast-item, .review-item { grid-template-columns: minmax(0, 1fr); } .briefing { min-height: 0; } .podcast-item { gap: 8px; } .citation-format-nav { margin-left: -1px; } .citation-format-nav a { justify-content: center; padding: 0 10px; border-bottom: 1px solid var(--fine-rule); } .review-item__controls { gap: 8px; } }

/* -------------------------------------------------- Data: eras + numbers */

.datatable { width: 100%; border-collapse: collapse; font-size: 14px; }
.datatable th { text-align: left; font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); padding: 9px 14px 9px 0; border-bottom: 1px solid var(--rule); }
.datatable td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--fine-rule); vertical-align: top; }
.datatable tr:last-child td { border-bottom: 1px solid var(--rule); }
.datatable .k { font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.datatable .hi { color: var(--signal-text); font-weight: 700; }
.tablewrap { overflow-x: auto; }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--fine-rule); border: 1px solid var(--fine-rule); }
.figure { background: var(--paper); padding: 20px; }
.figure__n { font-family: Georgia, "Times New Roman", serif; font-size: 42px; line-height: 1; color: var(--signal-text); display: block; margin-bottom: 9px; }
.figure__d { font-size: 13.5px; line-height: 1.45; margin-bottom: 8px; }
.figure__s { font-size: 11px; color: var(--muted); letter-spacing: 0.02em; }
@media (max-width: 760px) { .figures { grid-template-columns: 1fr; } }

/* -------------------------------------------------- Quotes */

.quote { border-left: 3px solid var(--signal); padding-left: 20px; margin: 0 0 26px; max-width: 74ch; }
.quote p { font-family: Georgia, "Times New Roman", serif; font-size: 17.5px; line-height: 1.55; margin: 0 0 11px; }
.quote cite { font-size: 12px; font-style: normal; font-weight: 700; color: var(--muted); display: block; }

/* -------------------------------------------------- Layout helpers */

.split { display: grid; grid-template-columns: 1fr 2fr; gap: 46px; align-items: start; }
.split__label { position: sticky; top: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 16px; } .split__label { position: static; } }

.cols2 { columns: 2; column-gap: 42px; }
@media (max-width: 720px) { .cols2 { columns: 1; } }
.plainlist { list-style: none; margin: 0; padding: 0; }
.plainlist li { padding: 7px 0; border-bottom: 1px solid var(--fine-rule); font-size: 15px; break-inside: avoid; display: flex; align-items: baseline; gap: 9px; }

/* -------------------------------------------------- Product portfolio */

.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); }
.product { display: flex; flex-direction: column; min-height: 255px; padding: 22px; border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); }
.product__status { color: var(--signal-text); font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.product h2 { margin: 8px 0; font-size: 27px; }
.product p { margin: 0 0 16px; color: var(--muted); }
.product .chiprow { margin-top: auto; padding-top: 8px; }
.product__links { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 18px; padding-top: 13px; border-top: 1px solid var(--fine-rule); }

.elsewhere { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.elsewhere__group { padding: 16px 20px 12px 0; border-bottom: 1px solid var(--fine-rule); }
.elsewhere__group h3 { margin-bottom: 9px; font-family: Arial, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.elsewhere__group a { display: inline-block; margin: 0 12px 7px 0; font-size: 14px; }

/* -------------------------------------------------- Slide-in enquiry panel */

.dialog-backdrop {
  position: fixed; inset: 0; z-index: 50;
  display: none; justify-content: flex-end;
  background: rgba(0, 0, 0, 0.62);
}

html, body { overflow-x: clip; }
.dialog-backdrop:target { display: flex; }
.dialog-backdrop[hidden] { display: none !important; }
.dialog-panel {
  position: relative;
  width: min(640px, 100%); height: 100%; overflow-y: auto;
  padding: 20px; border-left: 5px solid var(--signal); background: var(--paper);
}
.dialog-close { position: absolute; top: 20px; right: 20px; z-index: 3; min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.np-dialog-open { overflow: hidden; }

@media (max-width: 620px) {
  .dialog-panel { padding: 12px; border-left-width: 4px; }
  .dialog-close { top: 12px; right: 14px; }
}

/* -------------------------------------------------- Footer */

.foot { border-top: 3px solid var(--rule); padding: 32px 0 44px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 0 11px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; font-size: 14px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--signal-text); text-decoration: underline; }
.foot__note { margin-top: 28px; padding-top: 15px; border-top: 1px solid var(--fine-rule); font-size: 12px; color: var(--muted); }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }

.sandbox { background: var(--night); color: #f0eded; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; padding: 7px 12px; }
.sandbox a { color: #bfe0fb; }

@media print {
  .sandbox, .nav, .subnav, .btn-row, .dialog-backdrop { display: none; }
  body { font-size: 11pt; }
  .dark { background: #fff; color: #000; }
  .dark h2, .dark h3, .dark .topics__k { color: #000; }
  .dark .topics__v { color: #333; }
  .figure__n { color: #000; }
}

/* -------------------------------------------------- WordPress integration */

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 12px; background: #fff; color: #000; border: 2px solid #000; }
.site-main { min-height: 55vh; }
.masthead__inner .menu, .subnav__inner .menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.masthead__inner .menu-item a { color: var(--ink); text-decoration: none; padding-bottom: 2px; border-bottom: 2px solid transparent; }
.masthead__inner .current-menu-item > a, .masthead__inner .current-menu-ancestor > a, .masthead__inner .menu-item a:hover { border-bottom-color: var(--signal); color: var(--signal-text); }
.subnav__inner .menu { gap: 22px; }
.subnav__inner .menu-item a { color: var(--muted); text-decoration: none; }
.subnav__inner .current-menu-item > a, .subnav__inner .menu-item a:hover { color: var(--signal-text); }
.menu-toggle { display: none; min-height: 44px; min-width: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle__icon { position: relative; display: block; width: 24px; height: 16px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.menu-toggle__icon::before { content: ""; position: absolute; top: 5px; left: 0; width: 24px; border-top: 2px solid var(--ink); }
.menu-toggle:hover .menu-toggle__icon, .menu-toggle:hover .menu-toggle__icon::before { border-color: var(--signal-text); }
.menu-toggle:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.section-head { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; margin-bottom: 22px; }
.section-head h2 { font-size: 29px; }
.hero__copy { max-width: 720px; }
.hero__copy h1 { max-width: 18ch; }
.profile-photo { width: min(100%, 300px); height: auto; display: block; border: 1px solid var(--rule); }
.entry-header { padding: 30px 0 22px; border-bottom: 1px solid var(--rule); }
.entry-header h1 { font-size: 31px; max-width: 28ch; margin: 0 0 10px; }
.ai-hero { padding: 30px 0 28px; }
.ai-hero__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(210px, 1fr); gap: 58px; align-items: start; }
.ai-hero h1 { max-width: 27ch; margin-bottom: 12px; font-size: clamp(38px, 3.6vw, 50px); line-height: 1.05; }
.ai-hero__question { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 22px; line-height: 1.35; }
.ai-hero__summary { max-width: 72ch; margin: 14px 0 0; color: #282828; font-size: 17px; line-height: 1.5; }
.ai-hero .btn-row { margin-top: 20px; }
.ai-roadmap { border-left: 1px solid var(--rule); padding-left: 22px; }
.ai-roadmap__label { margin: 0 0 8px; color: var(--signal-text); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ai-roadmap ol { margin: 0; padding: 0; list-style: none; }
.ai-roadmap li { border-top: 1px solid var(--fine-rule); }
.ai-roadmap li:last-child { border-bottom: 1px solid var(--fine-rule); }
.ai-roadmap a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; align-items: center; min-height: 43px; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; }
.ai-roadmap a span { color: var(--signal-text); font-size: 10px; letter-spacing: .06em; }
.ai-roadmap a:hover, .ai-roadmap a:focus-visible { color: var(--signal-text); }
.ai-roadmap a:focus-visible, .ai-roadmap-mobile a:focus-visible { outline: 3px solid var(--signal); outline-offset: -3px; }
.ai-roadmap-mobile { display: none; }
.ai-briefings, #practice, #writing, #workshops, #products, #public-work { scroll-margin-top: 58px; }
.ai-briefings h2 { max-width: 24ch; margin-bottom: 10px; }
.ai-briefings__intro { max-width: 78ch; margin: 0 0 24px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.ai-briefings__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--fine-rule); background: var(--fine-rule); gap: 1px; }
.ai-briefing { min-width: 0; min-height: 166px; padding: 24px; background: var(--paper); }
.ai-briefing h3 { margin-bottom: 12px; font-size: 27px; overflow-wrap: anywhere; }
.ai-briefing p { max-width: 48ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.ai-topic-set { margin-top: 28px; }
.ai-topic-set > h3 { margin-bottom: 13px; font-size: 22px; }
.ai-topic-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--fine-rule); border-left: 1px solid var(--fine-rule); }
.ai-topic { display: flex; min-width: 0; min-height: 74px; padding: 16px; align-items: center; color: var(--ink); border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); }
.ai-topic__t { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.18; }
.ai-practice__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); }
.ai-practice__grid article { display: flex; flex-direction: column; min-height: 230px; padding: 20px; border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); }
.ai-practice__grid h3 { margin: 8px 0 10px; font-size: 23px; }
.ai-practice__grid article > p:not(.meta) { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.ai-practice__grid .textlink { margin-top: auto; padding-top: 18px; }
.ai-workshop-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); list-style: none; }
.ai-workshop-list li { display: grid; grid-template-columns: 34px 1fr; gap: 8px; min-height: 72px; padding: 16px; align-items: center; border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); }
.ai-workshop-list li:last-child { grid-column: 1 / -1; }
.ai-workshop-list span { color: var(--signal-text); font-size: 10px; letter-spacing: .06em; }
.ai-workshop-list strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.25; }
.ai-engagements { border-top: 1px solid var(--rule); }
.ai-engagements a, .ai-engagements__item { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(0, 2fr) minmax(120px, .65fr); gap: 22px; align-items: baseline; min-height: 72px; padding: 15px 0; color: var(--ink); border-bottom: 1px solid var(--fine-rule); text-decoration: none; }
.ai-engagements a:hover strong { color: var(--signal-text); }
.ai-engagements strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; line-height: 1.25; }
.ai-engagements a > span:last-child, .ai-engagements__item > span:last-child { color: var(--muted); font-size: 13px; }
.writing-hero .lede, .products-hero .lede { max-width: 68ch; }
.writing-foundations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); }
.writing-foundations a { display: flex; min-height: 250px; padding: 22px; flex-direction: column; color: var(--ink); border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); text-decoration: none; }
.writing-foundations strong { margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-size: 29px; }
.writing-foundations a > span:not(.meta) { color: var(--muted); font-size: 14px; line-height: 1.5; }
.writing-foundations em, .product-ledger__item em { margin-top: auto; padding-top: 18px; color: var(--signal-text); font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.writing-publications__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); }
.writing-publications__grid a { display: flex; min-height: 86px; padding: 15px; flex-direction: column; justify-content: space-between; color: var(--ink); border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); text-decoration: none; }
.writing-publications__grid a:hover { border-top: 3px solid var(--signal); padding-top: 13px; color: var(--signal-text); }
.writing-publications__grid strong { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.2; }
.writing-publications__grid span { color: var(--muted); font-size: 11px; }
.writing-list { border-top: 1px solid var(--rule); }
.writing-list article { display: grid; grid-template-columns: minmax(190px, .7fr) minmax(0, 2fr); gap: 24px; padding: 16px 0; align-items: baseline; border-bottom: 1px solid var(--fine-rule); }
.writing-list h3 { font-size: 21px; }
.writing-list h3 a { color: var(--ink); text-decoration: none; }
.writing-list h3 a:hover { color: var(--signal-text); }
.writing-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); }
.writing-archive-grid a { display: flex; min-height: 122px; padding: 18px; flex-direction: column; color: var(--ink); border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); text-decoration: none; }
.writing-archive-grid strong { margin-bottom: 8px; font-family: Georgia, "Times New Roman", serif; font-size: 21px; }
.writing-archive-grid span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.writing-archive-grid a:hover strong { color: var(--signal-text); }
.product-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--fine-rule); }
.product-ledger__item { display: flex; min-height: 210px; padding: 20px; flex-direction: column; color: var(--ink); border-right: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); text-decoration: none; }
.product-ledger__item--featured { min-height: 250px; }
.product-ledger__item strong { margin: 10px 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; line-height: 1.1; }
.product-ledger__item > span:not(.meta) { color: var(--muted); font-size: 14px; line-height: 1.5; }
.product-ledger__item:hover strong { color: var(--signal-text); }
.products-proof { border-top: 3px solid var(--rule); }
.products-proof__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 52px; align-items: end; }
.products-proof__grid h2 { max-width: 15ch; }
.products-proof__grid > p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.5; }
@media (max-width: 900px) {
  .ai-hero__grid { display: block; }
  .ai-roadmap--desktop { display: none; }
  .ai-roadmap-mobile { position: sticky; z-index: 30; top: 0; display: block; overflow: hidden; border-bottom: 1px solid var(--rule); background: rgba(255, 255, 255, .97); }
  .ai-roadmap-mobile .shell { overflow-x: auto; scrollbar-width: none; }
  .ai-roadmap-mobile .shell::-webkit-scrollbar { display: none; }
  .ai-roadmap-mobile ul { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; }
  .ai-roadmap-mobile a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
  .ai-roadmap-mobile li:first-child a { padding-left: 0; }
  .ai-roadmap-mobile a:hover { color: var(--signal-text); }
  .ai-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ai-practice__grid, .writing-publications__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .writing-foundations, .product-ledger, .writing-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.entry-content { padding: 32px 0 52px; font-family: Georgia, "Times New Roman", serif; font-size: 17px; line-height: 1.65; max-width: 72ch; }
.entry-content--flush { padding-top: 0; }
.entry-content h2, .entry-content h3 { margin: 1.5em 0 .65em; }
.entry-content h2 { font-size: 27px; }
.entry-content h3 { font-size: 23px; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content li { margin-bottom: .55em; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.entry-content .wp-block-button__link { display: inline-flex; padding: 11px 17px; border: 1px solid var(--signal-text); background: var(--signal-text); color: #fff; text-decoration: none; border-radius: 0 !important; font-family: Arial, sans-serif; font-size: 12px !important; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.entry-content blockquote { margin: 28px 0; padding: 0 0 0 20px; border-left: 3px solid var(--signal); }
.archive-intro { max-width: 68ch; }
.archive-intro p { margin: 10px 0 0; }
.pagination { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--rule); }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 10px; border: 1px solid var(--fine-rule); text-decoration: none; }
.pagination .current { border-color: var(--rule); background: var(--ink); color: #fff; }
.archive-years { display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--fine-rule); }
.archive-years__label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.archive-years a { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid var(--fine-rule); color: var(--ink); font-size: 12px; text-decoration: none; }
.archive-years a:hover, .archive-years a[aria-current="page"] { border-color: var(--signal-text); color: var(--signal-text); }
.archive-filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 28px; padding: 14px 0; border-top: 1px solid var(--fine-rule); border-bottom: 1px solid var(--fine-rule); }
.archive-filters label { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.archive-filters select, .site-search-form input { min-height: 44px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font: inherit; }
.archive-filters select { min-width: 170px; padding: 8px 12px; }
.archive-filters button, .site-search-form button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--signal-text); background: var(--signal-text); color: #fff; font: 800 12px/1 Arial, Helvetica, sans-serif; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.archive-filters a { min-height: 44px; display: inline-flex; align-items: center; padding: 10px 4px; }
.site-search-form { display: flex; gap: 8px; max-width: 560px; }
.site-search-form input { flex: 1; min-width: 0; padding: 10px 12px; }
.site-search-form input:focus, .archive-filters select:focus { outline: 2px solid var(--signal); outline-offset: 1px; }
.foot__search { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--fine-rule); }
.foot__search h4 { margin-bottom: 8px; }
.search-page-form { margin-bottom: 30px; }
@media (max-width: 620px) {
  .archive-filters { align-items: stretch; }
  .archive-filters select, .archive-filters button { flex: 1 1 100%; }
  .site-search-form { max-width: none; }
}
.empty-state { padding: 32px 0; border-top: 1px solid var(--rule); }
.speaker-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.speaker-grid .quote { margin: 0; }
.speaker-grid .quote p { font-size: 16px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr); gap: 48px; align-items: start; }
.fact-list { border-top: 1px solid var(--rule); }
.fact-list div { padding: 12px 0; border-bottom: 1px solid var(--fine-rule); }
.fact-list dt { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fact-list dd { margin: 3px 0 0; font-family: Georgia, serif; }
.contact-band { border-top: 3px solid var(--rule); background: var(--paper-warm); padding: 38px 0; }
.contact-band__grid { display: flex; justify-content: space-between; gap: 32px; align-items: center; }
.contact-band h2 { margin-bottom: 8px; }
.dialog-sentinel { position: absolute; width: 1px; height: 1px; overflow: hidden; border: 0; padding: 0; margin: -1px; clip: rect(0 0 0 0); }
.contact-page { min-height: 70vh; padding: 28px 0 52px; }
.contact-page__inner { max-width: 680px; }

.np-enquiry { width: 100%; max-width: 620px; }
.np-enquiry [hidden] { display: none !important; }
.np-enquiry__profile { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.dialog-panel .np-enquiry__profile { padding-right: 68px; }
.np-enquiry__profile img { flex: 0 0 auto; width: 58px; height: 58px; object-fit: cover; border: 3px solid var(--signal); border-radius: 50%; }
.np-enquiry__profile h1, .np-enquiry__profile h2 { font-size: 28px; font-weight: 700; }
.np-enquiry__profile p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.35; }
.np-enquiry__start { display: grid; gap: 6px; }
.np-enquiry__choice {
  width: 100%; min-height: 44px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 12px; color: var(--ink); background: var(--paper); border: 1px solid var(--fine-rule); border-radius: 2px;
  text-align: left; font-weight: 700; cursor: pointer;
}
.np-enquiry__choice[data-commercial="true"] { border: 2px solid var(--signal-text); }
.np-enquiry__choice:hover, .np-enquiry__choice:focus-visible { border-color: var(--signal-text); outline: 2px solid rgba(1, 102, 186, .18); outline-offset: 1px; }
.np-enquiry__choice-end { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; }
.np-enquiry__price { color: var(--signal-dark); font-size: 13px; font-weight: 800; white-space: nowrap; }
.np-enquiry__arrow { color: var(--signal-text); font-size: 20px; line-height: 1; }
.np-enquiry__form h2 { margin: 4px 0 14px; font-size: 24px; font-weight: 700; }
.np-enquiry__back { min-height: 44px; padding: 0 4px; color: var(--signal-dark); background: transparent; border: 0; font-weight: 700; cursor: pointer; }
.np-enquiry__fields { display: grid; gap: 11px; }
.np-enquiry__field { display: grid; gap: 5px; }
.np-enquiry__field label { font-size: 15px; font-weight: 700; }
.np-enquiry__field input, .np-enquiry__field textarea, .np-enquiry__field select {
  width: 100%; min-height: 44px; padding: 9px 10px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--fine-rule); border-radius: 2px; font: inherit;
}
.np-enquiry__field textarea { min-height: 76px; resize: vertical; }
.np-enquiry__field input:focus, .np-enquiry__field textarea:focus, .np-enquiry__field select:focus { border-color: var(--signal-text); outline: 2px solid rgba(1, 102, 186, .16); }
.np-enquiry__field-error, .np-enquiry__error { color: #a61b1b; font-size: 13px; font-weight: 700; }
.np-enquiry__error { margin: 12px 0 0; }
.np-enquiry__submit, .np-enquiry__result button {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 2px; font-weight: 800; cursor: pointer;
}
.np-enquiry__submit { margin-top: 14px; color: #fff; background: var(--signal-text); border: 1px solid var(--signal-text); }
.np-enquiry__submit:hover, .np-enquiry__submit:focus-visible { background: var(--signal-dark); }
.np-enquiry__submit:disabled { cursor: wait; opacity: .7; }
.np-enquiry__privacy { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.np-enquiry__honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.np-enquiry__result { padding-top: 8px; }
.np-enquiry__result h2 { font-size: 24px; font-weight: 700; }
.np-enquiry__result p { margin: 8px 0 18px; color: var(--muted); }
.np-enquiry__result button { color: var(--signal-dark); background: var(--paper); border: 1px solid var(--fine-rule); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--rule); }
.post-nav a { display: block; color: var(--ink); font-family: Georgia, serif; text-decoration: none; }
.post-nav a:hover { color: var(--signal-text); }
.post-nav .next { text-align: right; }

@media (max-width: 720px) {
  :root { --shell: min(100% - 32px, 1080px); --shell-wide: min(100% - 32px, 1280px); }
  .masthead__inner { gap: 12px; align-items: center; }
  .masthead .wordmark { font-size: 29px; }
  .menu-toggle { display: inline-flex; }
  .primary-menu-wrap { display: none; width: 100%; }
  .primary-menu-wrap.is-open { display: block; }
  .masthead__inner .menu { display: grid; gap: 0; border-top: 1px solid var(--fine-rule); }
  .masthead__inner .menu-item a { min-height: 44px; display: flex; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--fine-rule); }
  .nav .menu-item--profiles { margin-top: 6px; border-top: 2px solid var(--rule); }
  .nav .menu-item--profiles::before { display: none; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof__cell, .proof__cell:first-child { display: block; padding: 13px 12px; border-bottom: 1px solid var(--fine-rule); }
  .proof__cell:nth-child(odd) { padding-left: 0; }
  .proof__cell:nth-child(even) { border-right: 0; }
  .proof__cell:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .proof__n { margin-bottom: 0; font-size: 29px; }
  .home .hero h1 { font-size: 35px; }
  .hero__roles { margin-bottom: 14px; font-size: 10px; }
  .hero__summary { font-size: 17px; line-height: 1.52; }
  .hero { padding: 24px 0 20px; }
  .hero__grid { gap: 24px; }
  .hero__portrait { order: -1; justify-self: center; width: min(100%, 205px); }
  .hero__portrait img { height: 258px; border-width: 6px; }
  .hero__portrait figcaption { font-size: 11px; }
  .home .hero .btn { min-height: 44px; padding: 11px 14px; font-size: 10.5px; }
  .speaker-grid, .about-grid { grid-template-columns: 1fr; }
  .product-grid, .elsewhere { grid-template-columns: 1fr; }
  .recent-writing { grid-template-columns: 1fr; }
  .recent-writing__source, .recent-writing__source + .recent-writing__source { padding: 20px 0; border-left: 0; }
  .recent-writing__source + .recent-writing__source { border-top: 1px solid var(--rule); }
  .contact-band__grid { display: block; }
  .contact-band .btn-row { margin-top: 18px; }
  .contact-page { padding: 8px 0 32px; }
  .np-enquiry__profile { margin-bottom: 10px; }
  .dialog-panel .np-enquiry__profile { padding-right: 52px; }
  .np-enquiry__profile img { width: 52px; height: 52px; }
  .np-enquiry__profile h1, .np-enquiry__profile h2 { font-size: 25px; }
  .dialog-panel .np-enquiry__profile h2 { font-size: 22px; }
  .np-enquiry__form h2, .np-enquiry__result h2 { font-size: 22px; }
  .np-enquiry__choice { padding-block: 7px; }
  .entry-header h1 { font-size: 26px; }
  .ai-hero { padding: 32px 0 30px; }
  .ai-hero h1 { max-width: none; font-size: clamp(31px, 9.3vw, 36px); line-height: 1.08; }
  .ai-hero__question { font-size: 21px; }
  .ai-hero__summary { font-size: 17px; line-height: 1.55; }
  .ai-hero .btn-row { display: grid; grid-template-columns: 1fr; }
  .ai-hero .btn { justify-content: center; width: 100%; }
  .ai-briefings__grid { grid-template-columns: 1fr; }
  .ai-briefing { min-height: 0; padding: 20px; }
  .ai-briefing h3 { font-size: 24px; }
  .ai-topic { min-height: 82px; padding: 14px; }
  .ai-topic__t { font-size: 17px; }
  .ai-practice__grid, .writing-foundations, .writing-publications__grid, .product-ledger, .writing-archive-grid { grid-template-columns: 1fr; }
  .ai-practice__grid article, .writing-foundations a, .product-ledger__item, .product-ledger__item--featured { min-height: 0; }
  .ai-practice__grid article { padding: 18px; }
  .ai-practice__grid .textlink, .writing-foundations em, .product-ledger__item em { margin-top: 14px; padding-top: 0; }
  .ai-workshop-list { grid-template-columns: 1fr; }
  .ai-workshop-list li:last-child { grid-column: auto; }
  .ai-engagements a, .ai-engagements__item, .writing-list article { grid-template-columns: 1fr; gap: 6px; }
  .ai-engagements a, .ai-engagements__item { padding: 18px 0; }
  .writing-publications__grid a { min-height: 70px; }
  .products-proof__grid { grid-template-columns: 1fr; gap: 18px; }
  .products-proof__grid > p { font-size: 19px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .next { text-align: left; }
  .archive-years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; width: 100%; max-width: 100%; }
  .archive-years__label { grid-column: 1 / -1; }
  .archive-years a { justify-content: center; min-width: 0; padding-inline: 4px; }
  .citation-format-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; max-width: 100%; }
  .citation-format-nav a { min-width: 0; }
}

/* -------------------------------------------------- Deliberate page rhythm */

.archive-section { border-top: 1px solid var(--rule); }
.citation-format-nav {
  gap: 6px;
  margin-bottom: 28px;
  padding: 6px;
  border: 0;
  background: var(--paper-warm);
}
.citation-format-nav a {
  min-height: 40px;
  padding: 0 12px;
  border: 0;
}
.citation-format-nav a[aria-current="page"] { background: var(--paper); box-shadow: inset 0 -3px 0 var(--signal); }
.archive-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 24px; }
.archive-summary--single { grid-template-columns: minmax(0, 520px); }
.archive-summary > div { padding: 18px 20px; background: var(--paper-warm); border-left: 4px solid var(--signal); }
.archive-summary .eyebrow { margin-bottom: 5px; }
.archive-summary strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 36px; font-weight: 400; line-height: 1; }
.archive-summary span { color: var(--muted); font-size: 13px; }
.archive-heading { display: flex; justify-content: space-between; gap: 20px; margin: 0 0 20px; }
.archive-heading .eyebrow { margin-bottom: 5px; }
.archive-heading h2 { font-size: 29px; }
.archive-years { margin: 0 0 26px; padding: 0; border: 0; }
.archive-years a { min-height: 40px; }
.record-list { border-top: 1px solid var(--rule); }
.record-row { display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 22px; padding: 15px 0; border-bottom: 1px solid var(--fine-rule); }
.record-row time { padding-top: 3px; color: var(--muted); font-size: 12px; letter-spacing: .03em; text-transform: uppercase; }
.record-row h2 { margin: 0 0 3px; font-size: 20px; line-height: 1.28; overflow-wrap: anywhere; }
.record-row h2 a { color: var(--ink); text-decoration: none; }
.record-row h2 a:hover { color: var(--signal-text); text-decoration: underline; }
.record-row p { margin: 0; color: var(--muted); font-size: 13px; }
.record-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.record-pagination a { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--fine-rule); color: var(--ink); text-decoration: none; }
.record-pagination a[aria-current="page"] { border-color: var(--ink); background: var(--ink); color: #fff; }

.column-publications { margin-bottom: 26px; padding: 0; border: 0; }
.column-publications__links { gap: 6px; }
.column-publication { min-height: 40px; padding: 8px 10px; background: var(--paper-warm); }
.column-publication--priority { border-top-width: 2px; padding-top: 8px; }
.column-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.column-entry { min-width: 0; padding: 20px; background: var(--paper-warm); border-top: 3px solid var(--rule); }
.column-entry .meta { margin-bottom: 10px; }
.column-entry h2 { margin: 0 0 18px; font-size: 25px; line-height: 1.2; overflow-wrap: anywhere; }
.column-entry h2 a { color: var(--ink); text-decoration: none; }
.column-entry h2 a:hover { color: var(--signal-text); }

.video-grid { gap: 18px; border: 0; background: transparent; }
.video-card { background: var(--paper-warm); }
.video-card__media { position: relative; width: 100%; padding: 0; border: 0; cursor: pointer; overflow: hidden; }
.video-card__media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-card__play > span { position: absolute; left: 14px; bottom: 14px; padding: 8px 11px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.video-card__play:focus-visible { outline: 4px solid var(--signal); outline-offset: 2px; }
.video-card__fallback { font-size: 20px; }
.podcast-list { border-top: 1px solid var(--rule); }
.podcast-item { grid-template-columns: minmax(0, 1.6fr) minmax(180px, .4fr); gap: 24px; padding: 19px 0; }
.podcast-item h2 { font-size: 24px; overflow-wrap: anywhere; }

.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.research-card { display: flex; min-height: 240px; padding: 20px; flex-direction: column; background: var(--paper-warm); border-top: 3px solid var(--signal); }
.research-card h2 { margin: 10px 0 14px; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.research-card h2 a { color: var(--ink); text-decoration: none; }
.research-card > p:not(.meta) { color: var(--muted); font-size: 13px; }
.research-card .textlink { margin-top: auto; }
.book-list { max-width: 820px; }
.book-list { display: grid; gap: 14px; }
.book-card { display: flex; justify-content: space-between; gap: 28px; align-items: end; padding: 28px; background: var(--paper-warm); border-left: 5px solid var(--signal); }
.book-card h2, .book-card h3 { margin-bottom: 10px; }
.archive-heading--subsection { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--rule); }
.record-row h3 { margin: 0 0 3px; font-size: 20px; line-height: 1.28; overflow-wrap: anywhere; }
.record-row h3 a { color: var(--ink); text-decoration: none; }
.record-row h3 a:hover { color: var(--signal-text); text-decoration: underline; }
.research-grid--authored { grid-template-columns: minmax(0, 820px); }
.research-card h3 { margin: 10px 0 14px; font-size: 24px; line-height: 1.2; overflow-wrap: anywhere; }
.research-card h3 a { color: var(--ink); text-decoration: none; }
.about-record { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.about-record > div { padding: 20px; background: var(--paper-warm); border-top: 3px solid var(--signal); }
.about-record h3 { margin-bottom: 10px; font-size: 23px; }
.about-record p, .about-record li { font-size: 14px; }
.about-record ul { margin: 0; padding-left: 18px; }

.page-jump { position: sticky; z-index: 25; top: 0; background: var(--paper); border-bottom: 1px solid var(--fine-rule); }
.page-jump .shell { display: flex; gap: 4px; overflow-x: auto; }
.page-jump a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.page-jump a:first-child { padding-left: 0; }
.topic-bars { border-top: 1px solid var(--rule); }
.topic-bars > div { display: grid; grid-template-columns: minmax(180px, .7fr) minmax(0, 2fr); gap: 22px; padding: 14px 0; border-bottom: 1px solid var(--fine-rule); }
.topic-bars strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.topic-bars span { color: var(--muted); }

.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 48px; align-items: center; }
.about-hero__grid img { width: 230px; height: 270px; object-fit: cover; object-position: 50% 32%; border: 6px solid var(--signal); }
.profile-features { gap: 16px; border: 0; }
.profile-feature { min-height: 245px; border: 0; border-top: 4px solid var(--signal); background: var(--paper-warm); }
.profile-feature:hover { padding-top: 20px; border-top-color: var(--signal-dark); }
.supporting-links { border-top: 1px solid var(--rule); }
.supporting-links a { display: grid; grid-template-columns: minmax(180px, .6fr) minmax(0, 1.4fr); gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--fine-rule); color: var(--ink); text-decoration: none; }
.supporting-links span { color: var(--signal-text); font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.supporting-links strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; }

.writing-foundations, .writing-publications__grid, .writing-archive-grid, .product-ledger { gap: 14px; border: 0; }
.writing-foundations a, .writing-publications__grid a, .writing-archive-grid a, .product-ledger__item { border: 0; border-top: 3px solid var(--rule); background: var(--paper-warm); }
.writing-list h3, .writing-list h3 a { min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.product-ledger--featured { margin-bottom: 14px; }
.product-compact { border-top: 1px solid var(--rule); }
.product-compact a { min-height: 66px; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--fine-rule); color: var(--ink); text-decoration: none; }
.product-compact a > span { display: grid; gap: 2px; }
.product-compact strong { font-family: Georgia, "Times New Roman", serif; font-size: 20px; }
.product-compact small { color: var(--muted); font-size: 12px; }
.product-compact em { color: var(--signal-text); font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.products-proof { border-top: 1px solid var(--rule); }

.ai-topic-grid, .ai-practice__grid { gap: 10px; border: 0; }
.ai-topic, .ai-practice__grid article { border: 0; background: var(--paper-warm); }
.ai-workshop-list { border: 0; grid-template-columns: 1fr; }
.ai-workshop-list li, .ai-workshop-list li:last-child { grid-column: auto; border: 0; border-bottom: 1px solid var(--fine-rule); }
.ai-workshop-list li:first-child { border-top: 1px solid var(--rule); }
.ai-roadmap-mobile .shell { scrollbar-width: thin; scrollbar-color: var(--signal-text) var(--paper-warm); }

@media (max-width: 720px) {
  .archive-summary, .column-list, .research-grid { grid-template-columns: 1fr; }
  .archive-summary { gap: 10px; }
  .archive-summary > div { padding: 14px 16px; }
  .archive-summary strong { font-size: 31px; }
  .record-row { grid-template-columns: 1fr; gap: 4px; padding: 13px 0; }
  .record-row h2 { font-size: 19px; }
  .archive-years { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .archive-years__label { position: sticky; left: 0; z-index: 1; min-height: 40px; display: inline-flex; align-items: center; padding-right: 8px; background: var(--paper); white-space: nowrap; }
  .archive-years a { flex: 0 0 auto; min-width: 52px; }
  .citation-format-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; }
  .citation-format-nav a { min-height: 42px; padding: 0 6px; font-size: 10px; }
  .column-publications__links { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
  .column-publication { flex: 0 0 auto; }
  .column-entry { padding: 17px; }
  .column-entry h2 { font-size: 22px; }
  .video-grid { grid-template-columns: 1fr; }
  .podcast-item { grid-template-columns: 1fr; gap: 8px; }
  .research-card { min-height: 0; }
  .book-card { display: block; padding: 22px; }
  .book-card .btn { margin-top: 18px; }
  .topic-bars > div, .supporting-links a { grid-template-columns: 1fr; gap: 4px; }
  .about-hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .about-record { grid-template-columns: 1fr; }
  .about-hero__grid img { order: -1; justify-self: center; width: 210px; height: 250px; }
  .profile-features { gap: 12px; }
  .profile-feature { min-height: 0; }
  .product-compact a { align-items: start; }
  .product-compact em { padding-top: 4px; white-space: nowrap; }
  .ai-topic-grid { grid-template-columns: 1fr; }
  .ai-topic { min-height: 58px; }
  .ai-roadmap-mobile { overflow: visible; }
  .ai-roadmap-mobile .shell { max-width: 100%; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
