/*
  Einav Peretz-Andersson — academic website
  Hand-written CSS. No build step, no framework, no web-font downloads.
  Sections: 1 tokens · 2 base · 3 layout · 4 header/nav · 5 buttons & pills
            6 home · 7 research · 8 publications · 9 paper pages · 10 lists
            11 footer · 12 utilities · 13 responsive · 14 motion/print
*/

/* 1 ── Tokens ─────────────────────────────────────────────── */
:root {
  /* Blue, business-oriented palette: royal blue brand, cyan accent, deep navy panels. */
  --paper: #f5f8fd;
  --surface: #ffffff;
  --band: #e4eefe;
  --band-2: #f2f7ff;
  --ink: #0d1b2e;
  --ink-2: #2b3b52;
  --muted: #536277;
  --line: #dbe4f0;
  --line-strong: #c3d0e2;
  --brand: #1d4ed8;
  --brand-strong: #1e40af;
  --brand-tint: #e2ebff;
  --brand-2: #2563eb;
  --accent: #0e7490;
  --accent-strong: #0b5e75;
  --accent-tint: #dff4f8;
  --accent-bright: #06b6d4;
  --focus: #c2410c;
  --ink-panel: #0b1d3f;
  --ink-panel-2: #16408a;
  --on-ink: #eef3fc;
  --on-ink-muted: #c0cfea;
  --on-ink-link: #a7c8ff;
  --on-ink-line: rgb(255 255 255 / 14%);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --reading: 68ch;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgb(13 27 46 / 5%), 0 12px 32px rgb(29 78 216 / 8%);
  --gap: clamp(1rem, 2.4vw, 1.6rem);
  --section: clamp(3.75rem, 8vw, 6.5rem);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0a1322;
    --surface: #0f1c31;
    --band: #11223f;
    --band-2: #0d1a31;
    --ink: #e7eefa;
    --ink-2: #c4d0e4;
    --muted: #9aaac3;
    --line: #1d2e4b;
    --line-strong: #2b4169;
    --brand: #82b0ff;
    --brand-strong: #abc9ff;
    --brand-tint: #173468;
    --brand-2: #5b93ff;
    --accent: #5ccfe6;
    --accent-strong: #8fe1f1;
    --accent-tint: #0f3443;
    --accent-bright: #22d3ee;
    --focus: #ffb17a;
    --ink-panel: #071228;
    --ink-panel-2: #0f2c5c;
    --on-ink: #e7eefa;
    --on-ink-muted: #aebdd8;
    --on-ink-link: #9cc3ff;
    --shadow: 0 1px 2px rgb(0 0 0 / 30%), 0 12px 32px rgb(0 0 0 / 25%);
  }
}

/* 2 ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--brand-strong); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--brand-tint); color: var(--ink); }
h1, h2, h3, h4 { margin: 0 0 .6em; color: var(--ink); }
h1, h2, .display { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; line-height: 1.12; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.3; font-weight: 650; letter-spacing: -.005em; }
h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1em; max-width: var(--reading); }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .35em; }
dl { margin: 0; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; }

/* 3 ── Layout ────────────────────────────────────────────── */
.wrap { width: min(calc(100% - 3rem), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section--sage { background: var(--band); }
.section--sage + .section, .section + .section--sage { padding-top: var(--section); }
.section--rule { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: .25rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 60rem; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 0; }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; max-width: none; }
.section-head--split > div { max-width: 46rem; }
.eyebrow {
  margin: 0 0 .9rem;
  font: 650 .78rem/1.3 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; display: inline-block; width: 1.6rem; height: 1px; background: currentColor; vertical-align: middle; margin-right: .7rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.prose { max-width: var(--reading); }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { margin-top: 2.2rem; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.prose h3 { margin-top: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }

/* 4 ── Header & navigation ───────────────────────────────── */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 6px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: .75rem; color: var(--paper); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--paper); } }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem 1.25rem; min-height: 4.4rem; }
.wordmark {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ink); text-decoration: none;
  font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wordmark-mark {
  inline-size: .8rem; block-size: .8rem; border-radius: 2px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0 50%, var(--accent) 50% 100%);
}
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem clamp(.7rem, 1.6vw, 1.5rem); }
.primary-nav a {
  position: relative; color: var(--ink-2); text-decoration: none;
  font-size: .93rem; font-weight: 560; padding-block: .5rem;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current]::after { transform: scaleX(1); }
.primary-nav a[aria-current] { color: var(--ink); }
.primary-nav .nav-contact {
  margin-left: .35rem; padding: .45rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--brand);
}
.primary-nav .nav-contact::after { display: none; }
.primary-nav .nav-contact:hover { border-color: var(--brand); color: var(--brand-strong); }
.nav-toggle {
  display: none; align-items: center; gap: .5rem;
  min-height: 44px; padding: .4rem .85rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink); font: 600 .9rem var(--sans); cursor: pointer;
}
.nav-toggle-bars { position: relative; width: 16px; height: 10px; }
.nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

/* 5 ── Buttons, pills, tags ─────────────────────────────── */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px;
  font: 620 .97rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary, .btn-primary:hover { color: #06122b; } }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-small { min-height: 40px; padding: .45rem .95rem; font-size: .9rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.text-link { font-weight: 620; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .18rem .62rem; border-radius: 999px;
  font: 620 .74rem/1.4 var(--sans); letter-spacing: .02em;
  background: var(--brand-tint); color: var(--brand-strong);
  white-space: nowrap;
}
.pill--amber { background: var(--accent-tint); color: var(--accent); }
.pill--plain { background: transparent; border: 1px solid var(--line-strong); color: var(--muted); }
.pill--forthcoming { background: var(--accent-tint); color: var(--accent); }
.pill--forthcoming::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; }
.link-row { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .9rem; font-size: .94rem; font-weight: 600; }
.link-row a { text-decoration: none; }
.link-row a:hover { text-decoration: underline; }
.ext::after { content: " ↗"; font-weight: 400; }

/* 6 ── Home ─────────────────────────────────────────────── */
.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.hero h1 { max-width: 15ch; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero .lead + .lead { margin-top: -.25rem; }
.portrait { margin: 0; position: relative; justify-self: end; width: min(100%, 420px); }
.portrait picture { display: block; position: relative; }
.portrait picture::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; z-index: 0;
  border-radius: var(--radius-lg); background: var(--band); border: 1px solid var(--line);
}
.portrait img { position: relative; z-index: 1; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); background: var(--band); }
.portrait--square img { aspect-ratio: 1 / 1; }
.portrait figcaption { position: relative; z-index: 1; margin-top: 2.1rem; font-size: .82rem; color: var(--muted); }
.portrait figcaption strong { display: block; color: var(--ink); font-size: .95rem; font-weight: 640; }
.credentials {
  list-style: none; margin: 0; padding: 1.4rem 0 0; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem 1.5rem;
}
.credentials li { margin: 0; font-size: .9rem; line-height: 1.4; color: var(--ink-2); }
.credentials strong { display: block; font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--ink); margin-bottom: .15rem; }

.pillar {
  display: flex; flex-direction: column; gap: .2rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
}
.pillar-num { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; color: var(--accent); margin-bottom: 1.1rem; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.35rem, 2vw, 1.6rem); letter-spacing: -.01em; margin-bottom: .55rem; }
.pillar .question { font-family: var(--serif); font-style: italic; color: var(--ink-2); font-size: 1.08rem; line-height: 1.5; }
.pillar p { color: var(--ink-2); font-size: .98rem; }
.pillar .evidence { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); }
.pillar .evidence h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.pillar .evidence ul { list-style: none; padding: 0; margin: 0; }
.pillar .evidence li { font-size: .92rem; line-height: 1.4; margin-bottom: .5rem; }
.pillar .evidence a { text-decoration: none; }
.pillar .evidence a:hover { text-decoration: underline; }
.pillar .evidence .yr { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: .35rem; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.feature {
  display: grid; grid-template-columns: minmax(8.5rem, .38fr) minmax(0, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.fact {
  display: flex; flex-direction: column; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 1.2rem; background: var(--brand-tint); color: var(--brand-strong);
}
.fact--amber { background: var(--accent-tint); color: var(--accent); }
.fact-number { font-family: var(--serif); font-size: clamp(2.1rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -.02em; }
.fact .fact-number--words { font-size: clamp(1.2rem, 1.9vw, 1.5rem); line-height: 1.15; letter-spacing: -.01em; }
.fact-label { font-size: .84rem; line-height: 1.35; font-weight: 560; }
.feature-body { padding: clamp(1.25rem, 2.6vw, 1.75rem); display: flex; flex-direction: column; }
.feature-meta { font-size: .84rem; color: var(--muted); margin-bottom: .5rem; }
.feature h3 { font-size: 1.14rem; margin-bottom: .55rem; }
.feature h3 a { color: var(--ink); text-decoration: none; }
.feature h3 a:hover { color: var(--brand); text-decoration: underline; }
.feature p { font-size: .97rem; color: var(--ink-2); margin-bottom: .4rem; }
.feature .link-row { margin-top: auto; padding-top: .7rem; }

.compact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.compact-list > li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: .5rem 1.5rem; align-items: baseline; padding: 1.15rem 0; margin: 0; border-bottom: 1px solid var(--line); }
.compact-list .when { font-size: .86rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.compact-list h3 { font-size: 1.03rem; margin: 0 0 .2rem; }
.compact-list h3 a { color: var(--ink); text-decoration: none; }
.compact-list h3 a:hover { color: var(--brand); text-decoration: underline; }
.compact-list p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.compact-list .pill-row { justify-content: flex-end; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 2.8vw, 1.8rem); display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--brand); text-decoration: underline; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card .card-kicker { font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: .7rem; }
.card .card-foot { margin-top: auto; padding-top: .8rem; font-size: .88rem; color: var(--muted); }

.invite { background: var(--ink-panel); color: var(--on-ink); border-radius: var(--radius-lg); padding: clamp(2rem, 6vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.invite h2 { color: var(--on-ink); }
.invite p { color: var(--on-ink-muted); }
.invite .eyebrow { color: var(--on-ink-link); }
.invite ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.invite li { margin: 0; padding-left: 1.6rem; position: relative; color: var(--on-ink); }
.invite li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7rem; height: 2px; background: var(--accent-bright); }
.invite li span { display: block; color: var(--on-ink-muted); font-size: .93rem; }
.invite .btn-primary { background: #ffffff; color: #0b1d3f; box-shadow: none; }
.invite .btn-primary:hover { background: #e2ebff; color: #0b1d3f; }
.invite .btn-ghost { color: var(--on-ink); border-color: rgb(255 255 255 / 32%); }
.invite .btn-ghost:hover { color: #fff; border-color: var(--on-ink-link); }
.invite a:not(.btn) { color: var(--on-ink-link); }


/* 6b ── Brand energy: blue gradients and a little lift ───── */
.wordmark-mark { background: linear-gradient(135deg, var(--brand) 0%, var(--accent-bright) 100%); border-radius: 3px; }
.eyebrow::before { background: linear-gradient(90deg, var(--brand), var(--accent-bright)); height: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  box-shadow: 0 6px 18px -8px rgb(29 78 216 / 55%);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%); box-shadow: 0 8px 22px -8px rgb(29 78 216 / 65%); }
@media (prefers-color-scheme: dark) {
  .btn-primary, .btn-primary:hover { box-shadow: none; }
  .btn-primary:hover { background: linear-gradient(135deg, var(--brand-strong) 0%, var(--brand) 100%); }
}
.hero {
  background:
    radial-gradient(48rem 26rem at 88% 8%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(36rem 22rem at 6% 96%, color-mix(in srgb, var(--accent-bright) 12%, transparent), transparent 70%);
}
.hero h1 em {
  color: var(--brand);
  background: linear-gradient(100deg, var(--brand) 10%, var(--accent) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: .06em;
}
@media (forced-colors: active) { .hero h1 em { -webkit-text-fill-color: currentColor; background: none; } }
.portrait picture::before {
  background: linear-gradient(140deg, var(--brand) 0%, var(--accent-bright) 100%);
  border: 0; opacity: .9;
}
.section--sage { background: linear-gradient(180deg, var(--band) 0%, var(--band-2) 100%); }
.pillar, .feature, .card {
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pillar { border-top: 3px solid var(--brand); }
.pillar:nth-child(2) { border-top-color: var(--brand-2); }
.pillar:nth-child(3) { border-top-color: var(--accent); }
.pillar:hover, .feature:hover, .card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}
.fact { background: linear-gradient(160deg, var(--brand-tint) 0%, color-mix(in srgb, var(--brand-tint) 55%, var(--surface)) 100%); }
.fact--amber { background: linear-gradient(160deg, var(--accent-tint) 0%, color-mix(in srgb, var(--accent-tint) 55%, var(--surface)) 100%); color: var(--accent-strong); }
.invite { background: linear-gradient(135deg, var(--ink-panel) 0%, var(--ink-panel-2) 100%); }
.contact-card { background: linear-gradient(135deg, var(--ink-panel) 0%, var(--ink-panel-2) 100%); }
.site-footer { border-top: 4px solid transparent; border-image: linear-gradient(90deg, var(--brand), var(--accent-bright)) 1; }
.research-map text[fill="#b9c2c1"] { fill: var(--on-ink-muted); }
@media (prefers-reduced-motion: reduce) {
  .pillar:hover, .feature:hover, .card:hover { transform: none; }
}


/* 6c ── Specialization line, card subtitle, video thumbnail ─── */
.specialization {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem;
  max-width: 100%; margin: -.4rem 0 1.5rem; padding: .55rem 1.1rem .55rem 1rem;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line));
  border-left: 4px solid var(--brand); border-radius: var(--radius); box-shadow: var(--shadow);
}
.specialization__label { font: 650 .72rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.specialization__value { font-weight: 680; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.35; color: var(--ink); }
.card .card-sub { font-family: var(--serif); font-style: italic; font-size: 1.04rem; line-height: 1.45; color: var(--ink-2); margin: -.1rem 0 .6rem; }
.video-thumb {
  position: relative; display: block; width: min(100%, 26rem); aspect-ratio: 16 / 9; margin: .7rem 0 .9rem;
  overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none;
  background: linear-gradient(135deg, var(--ink-panel) 0%, var(--ink-panel-2) 100%);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.video-thumb:hover img { transform: scale(1.03); }
.video-thumb__play {
  position: absolute; left: 50%; top: 50%; width: 3.6rem; height: 3.6rem; margin: -1.8rem 0 0 -1.8rem;
  border-radius: 50%; background: rgb(255 255 255 / 94%); box-shadow: 0 6px 20px rgb(0 0 0 / 35%);
}
.video-thumb__play::after {
  content: ""; position: absolute; left: 1.42rem; top: 1.1rem;
  border-style: solid; border-width: .7rem 0 .7rem 1.1rem; border-color: transparent transparent transparent #1d4ed8;
}
.video-thumb__label {
  position: absolute; left: .7rem; bottom: .6rem; padding: .2rem .65rem; border-radius: 999px;
  background: rgb(11 29 63 / 88%); color: #fff; font: 600 .78rem/1.4 var(--sans);
}
@media (prefers-reduced-motion: reduce) { .video-thumb:hover img { transform: none; } }

/* 7 ── Research page ───────────────────────────────────── */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.2rem; }
.research-map { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1rem, 3vw, 2rem); }
.research-map svg { width: 100%; height: auto; }
.research-map .map-tall { display: none; max-width: 420px; margin-inline: auto; }
.research-map figcaption { margin-top: 1rem; font-size: .88rem; color: var(--muted); max-width: 70ch; }
.map-node-core { fill: var(--ink-panel); }
.map-core-text { fill: var(--on-ink); font-family: var(--serif); }
.map-node { fill: var(--surface); stroke: var(--brand); stroke-width: 1.5; }
.map-node--2 { stroke: var(--accent); }
.map-node--3 { stroke: var(--ink-2); }
.map-text { fill: var(--ink); font-family: var(--serif); }
.map-sub { fill: var(--muted); font-family: var(--sans); }
.map-line { stroke: var(--line-strong); stroke-width: 1.2; fill: none; }
.map-dot { fill: var(--brand); }
.map-dot--2 { fill: var(--accent); }
.map-dot--3 { fill: var(--ink-2); }
.map-dot--open { fill: var(--surface); stroke: var(--accent); stroke-width: 1.5; }
.map-paper { fill: var(--ink-2); font-family: var(--sans); }
.map-paper a, a .map-paper { fill: var(--ink-2); }
.research-map a:hover .map-paper, .research-map a:focus .map-paper { fill: var(--brand); text-decoration: underline; }

.pillar-section { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 3.75rem); border-top: 1px solid var(--line); }
.pillar-section:first-of-type { border-top: 0; }
.pillar-section h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.pillar-section .question { font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--ink-2); }
.qa { display: grid; gap: 1.25rem; }
.qa h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .3rem; }
.qa p { color: var(--ink-2); margin-bottom: 0; }
.evidence-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.evidence-list li { margin: 0; padding: .85rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .75rem; align-items: baseline; }
.evidence-list .yr { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9rem; }
.evidence-list a { font-weight: 600; text-decoration: none; }
.evidence-list a:hover { text-decoration: underline; }
.evidence-list .venue { display: block; font-size: .86rem; color: var(--muted); }

.methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.method { border-top: 2px solid var(--brand); padding-top: 1rem; }
.method:nth-child(2) { border-color: var(--accent); }
.method:nth-child(3) { border-color: var(--ink-2); }
.method:nth-child(4) { border-color: var(--line-strong); }
.method h3 { font-size: 1.02rem; }
.method p { font-size: .94rem; color: var(--ink-2); }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 2.35rem; height: 2px; background: var(--line-strong); }
.timeline > li { margin: 0; padding-right: .9rem; position: relative; }
.timeline .tl-year { display: block; font-family: var(--serif); font-size: 1.5rem; line-height: 1; margin-bottom: 2.2rem; color: var(--ink); }
.timeline .tl-year::after { content: ""; position: absolute; top: 2rem; left: 0; width: .8rem; height: .8rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); }
.timeline .tl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.timeline .tl-items li { margin: 0; font-size: .86rem; line-height: 1.35; padding-left: .7rem; border-left: 3px solid var(--brand); }
.timeline .tl-items li.t2 { border-color: var(--accent); }
.timeline .tl-items li.t3 { border-color: var(--ink-2); }
.timeline .tl-items li.tl-service { border-left-style: dotted; border-color: var(--line-strong); color: var(--muted); }
.timeline .tl-items a { text-decoration: none; color: var(--ink); font-weight: 560; }
.timeline .tl-items a:hover { color: var(--brand); text-decoration: underline; }
.timeline .tl-future .tl-year { color: var(--muted); }
.timeline .tl-future .tl-year::after { border-style: dashed; border-color: var(--accent); }
.legend { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.6rem; font-size: .85rem; color: var(--muted); list-style: none; padding: 0; }
.legend li { display: inline-flex; align-items: center; gap: .45rem; margin: 0; }
.legend .sw { width: .9rem; height: .9rem; border-radius: 3px; background: var(--brand); }
.legend .sw.t2 { background: var(--accent); }
.legend .sw.t3 { background: var(--ink-2); }
.legend .sw.ts { background: transparent; border: 2px dotted var(--line-strong); }

.data-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.25rem; align-items: start; }
.data-icon { width: 2.6rem; height: 2.6rem; border-radius: 8px; background: var(--brand-tint); color: var(--brand-strong); display: grid; place-items: center; font: 700 .8rem var(--sans); }

/* 8 ── Publications list ───────────────────────────────── */
.filters {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: .85rem;
  padding: 1.15rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.filters[hidden] { display: none; }
.field label { display: block; font-size: .8rem; font-weight: 650; color: var(--ink-2); margin-bottom: .35rem; }
.field input, .field select {
  width: 100%; min-height: 46px; padding: .55rem .75rem;
  border: 1px solid var(--line-strong); border-radius: 8px;
  background: var(--paper); color: var(--ink); font: inherit; font-size: .97rem;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.filter-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 1.4rem 0 .5rem; }
.results-count { margin: 0; font-size: .92rem; font-weight: 600; color: var(--ink-2); }
.btn-reset { background: none; border: 0; padding: .35rem 0; color: var(--brand); font: 600 .9rem var(--sans); cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
.btn-reset[hidden] { display: none; }
.pub-group { margin-top: 2.25rem; }
.pub-group[hidden] { display: none; }
.pub-group > h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); display: flex; align-items: baseline; gap: .75rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line-strong); margin-bottom: 0; }
.pub-group > h2 small { font: 500 .85rem var(--sans); color: var(--muted); }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { margin: 0; padding: 1.35rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 2rem; }
.pub[hidden] { display: none; }
.pub-main { grid-column: 1; grid-row: 1; min-width: 0; }
.pub h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.pub h3 a { color: var(--ink); text-decoration: none; }
.pub h3 a:hover { color: var(--brand); text-decoration: underline; }
.pub .authors { font-size: .94rem; color: var(--ink-2); margin: 0; }
.pub .authors strong { color: var(--ink); font-weight: 650; }
.pub .venue { font-size: .92rem; color: var(--muted); margin: 0; font-style: italic; max-width: 80ch; }
.pub .summary { font-size: .95rem; color: var(--ink-2); margin: .5rem 0 0; }
.pub .pill-row { grid-column: 2; grid-row: 1; justify-content: flex-end; align-content: start; max-width: 14rem; }
.pub .link-row { grid-column: 1 / -1; margin-top: .55rem; }
.pub-empty { padding: 2rem 0; color: var(--ink-2); }
.profiles-box { margin-top: 3rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); background: var(--band); }
.profiles-box h2 { font: 650 1.05rem/1.3 var(--sans); margin-bottom: .45rem; }
.profiles-box p { margin-bottom: .4rem; color: var(--ink-2); }

/* 9 ── Paper landing pages ─────────────────────────────── */
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); }
.paper-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; border-bottom: 1px solid var(--line); }
.paper-hero h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); max-width: 26ch; margin: 1rem 0 1.25rem; }
.paper-authors { font-size: 1.05rem; color: var(--ink-2); margin-bottom: .35rem; max-width: none; }
.paper-authors strong { color: var(--ink); }
.paper-venue { font-style: italic; color: var(--muted); max-width: none; }
.paper-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(16rem, 21rem); gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--section); }
.paper-layout .prose h2:first-child { margin-top: 0; }
.key-points { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .75rem; }
.key-points li { margin: 0; padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2); }
.note { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2rem; }
.aside-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.35rem; margin-bottom: 1.25rem; }
.aside-box h2 { font: 650 .78rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.aside-box .btn { width: 100%; justify-content: space-between; margin-bottom: .55rem; }
.aside-box .btn:last-child { margin-bottom: 0; }
.meta-list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .45rem 1rem; font-size: .9rem; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.cite-box { margin-top: 2.5rem; }
.cite-box pre {
  margin: .75rem 0 .75rem; padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  font: .86rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink-2);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
.cite-box details { margin-top: 1rem; }
.cite-box summary { cursor: pointer; font-weight: 600; color: var(--ink-2); padding: .3rem 0; }
.cite-box summary:hover { color: var(--brand); }
.copy-status { font-size: .86rem; color: var(--brand); margin-left: .75rem; }
.related { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.related li { margin: 0; font-size: .92rem; line-height: 1.4; }
.related a { text-decoration: none; font-weight: 560; }
.related a:hover { text-decoration: underline; }
.related .yr { color: var(--muted); margin-right: .3rem; }

/* 10 ── Generic lists (projects, media, teaching) ──────── */
.entry-list { list-style: none; margin: 0; padding: 0; }
.entry { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .5rem 2rem; padding: 1.6rem 0; margin: 0; border-top: 1px solid var(--line); }
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry .when { font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: .2rem; }
.entry h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry h3 a:hover { color: var(--brand); text-decoration: underline; }
.entry p { color: var(--ink-2); font-size: .97rem; margin-bottom: .4rem; }
.entry .entry-meta { font-size: .88rem; color: var(--muted); margin-bottom: .45rem; }
.entry .pill-row { margin-top: .5rem; }
.project {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.35rem, 3vw, 2rem);
}
.project-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: .5rem 1rem; margin-bottom: .4rem; }
.project h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin: 0; }
.project .role { font-size: .9rem; color: var(--muted); margin-bottom: .8rem; }
.pmra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; margin: .4rem 0 0; }
.pmra div { min-width: 0; }
.pmra dt { font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .2rem; }
.pmra dd { margin: 0; font-size: .95rem; color: var(--ink-2); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.bio-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 1.9rem); }
.bio-box + .bio-box { margin-top: var(--gap); }
.bio-box h3 { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.bio-box p { color: var(--ink-2); }
.profile-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.profile-links li { margin: 0; border-bottom: 1px solid var(--line); }
.profile-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; text-decoration: none; color: var(--ink); font-weight: 600; }
.profile-links a span { color: var(--muted); font-weight: 400; font-size: .9rem; text-align: right; overflow-wrap: anywhere; }
.profile-links a:hover { color: var(--brand); }
.contact-card { background: var(--ink-panel); color: var(--on-ink); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-card h2, .contact-card h3 { color: var(--on-ink); }
.contact-card p, .contact-card address { color: var(--on-ink-muted); font-style: normal; }
.contact-card a:not(.btn) { color: var(--on-ink-link); }
.contact-card .btn-primary { background: #ffffff; color: #0b1d3f; box-shadow: none; }
.contact-card .btn-primary:hover { background: #e2ebff; color: #0b1d3f; }
.roles { list-style: none; padding: 0; margin: 0; }
.roles li { padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; display: grid; gap: .1rem; }
.roles li span { font-size: .9rem; color: var(--muted); }
.topic-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.topic-list li { margin: 0; padding: .5rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .93rem; color: var(--ink-2); }

/* 11 ── Footer ─────────────────────────────────────────── */
.site-footer { background: var(--ink-panel); color: var(--on-ink-muted); padding-block: 3.5rem 2rem; margin-top: var(--section); font-size: .92rem; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--on-ink-link); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-name { font-family: var(--serif); font-size: 1.35rem; color: var(--on-ink); margin-bottom: .35rem; }
.site-footer p { color: var(--on-ink-muted); margin-bottom: .4rem; }
.site-footer h2 { font: 650 .76rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: 2.75rem; padding-top: 1.4rem; border-top: 1px solid var(--on-ink-line, rgb(255 255 255 / 14%)); font-size: .82rem; }
main + .site-footer { margin-top: 0; }

/* 12 ── Utilities ───────────────────────────────────────── */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.section.pt-0 { padding-top: 0; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.no-js-hide { display: none; }
.js .no-js-hide { display: revert; }

/* 13 ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .credentials { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .fact { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: .9rem; padding: 1rem 1.25rem; }
  .fact-number { font-size: 2rem; }
  .methods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2.5rem; }
  .timeline::before { display: none; }
  .timeline .tl-year { padding-bottom: .7rem; border-bottom: 2px solid var(--line-strong); margin-bottom: 1rem; }
  .timeline .tl-year::after { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.5rem 1.25rem; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .primary-nav[data-open="true"] { display: flex; }
  .no-js .primary-nav { display: flex; position: static; box-shadow: none; border: 0; padding: 0 0 1rem; flex-direction: row; flex-wrap: wrap; gap: .25rem 1rem; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .nav-toggle { display: none; }
  .primary-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .primary-nav a::after { display: none; }
  .primary-nav a[aria-current] { color: var(--brand); }
  .primary-nav .nav-contact { margin: .9rem 0 0; text-align: center; border: 1px solid var(--line-strong); padding: .7rem 1rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(180px, 34%); gap: 2.5rem; align-items: start; }
  .portrait { width: 100%; }
  .portrait picture::before { inset: 1rem -1rem -1rem 1rem; }
  .hero h1 { max-width: 18ch; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .split, .pillar-section, .invite, .paper-layout { grid-template-columns: minmax(0, 1fr); }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(8rem, .3fr) minmax(0, 1fr); }
  .fact { flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 1.25rem 1.1rem; }
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .filters .field:first-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .wrap { width: min(calc(100% - 2rem), var(--wrap)); }
  .wordmark { font-size: 1.05rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .portrait { order: -1; justify-self: stretch; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: center; }
  .portrait picture::before { display: none; }
  .portrait img { border-radius: 12px; }
  .portrait figcaption { margin-top: 0; font-size: .8rem; }
  .credentials { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2, .service-grid, .pmra, .methods { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); }
  .fact { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: .8rem; padding: .9rem 1.1rem; }
  .fact-number { font-size: 1.75rem; }
  .compact-list > li { grid-template-columns: minmax(0, 1fr); gap: .3rem; }
  .compact-list .pill-row { justify-content: flex-start; }
  .entry { grid-template-columns: minmax(0, 1fr); gap: .2rem; }
  .timeline { grid-template-columns: minmax(0, 1fr); row-gap: 1.75rem; }
  .filters { grid-template-columns: minmax(0, 1fr); }
  .pub { grid-template-columns: minmax(0, 1fr); }
  .pub-main { grid-row: 2; }
  .pub .pill-row { grid-column: 1; grid-row: 1; justify-content: flex-start; margin-bottom: .2rem; max-width: none; }
  .evidence-list li { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .section-head--split { display: grid; }
  .actions .btn { flex: 1 1 auto; }
  .research-map { padding: 1rem .75rem; }
  .research-map .map-wide { display: none; }
  .research-map .map-tall { display: block; }
}

@media (max-width: 380px) {
  .header-inner { gap: .6rem; }
  .wordmark { font-size: .96rem; gap: .5rem; }
  .nav-toggle { padding: .4rem .7rem; gap: .4rem; }
}

/* 14 ── Motion & print ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  .site-header, .site-footer, .skip-link, .filters, .filter-status, .actions, .copy-btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
  .pub, .entry { break-inside: avoid; }
}
