/* Sarunas Verner — site styles
   Type: STIX Two (the typeface designed for scientific publishing) with IBM Plex Sans for interface text.
   Color: a deep field indigo; four accents are four phases of the field, one per research area. */

@font-face { font-family: "STIX Two Text"; src: url("../fonts/stix-two-text.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "STIX Two Text"; src: url("../fonts/stix-two-text-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "STIX Two Math Sub"; src: url("../fonts/stix-two-math-sub.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/plex-sans.woff2") format("woff2"); font-weight: 100 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  color-scheme: light;
  --serif: "STIX Two Text", "STIX Two Math Sub", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg: #F3F3F8;
  --surface: #FFFFFF;
  --ink: #161B42;
  --muted: #555A7B;
  --rule: rgba(22, 27, 66, 0.14);
  --rule-strong: rgba(22, 27, 66, 0.34);
  --amber: #9E560D;
  --rose: #A82A5D;
  --cyan: #0B6A7D;
  --violet: #5242BC;
  --lime: #4C7614;
  --plate: #161B42;

  --gutter: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --band: clamp(56px, 7vw, 104px);
  --radius: 3px;

  --t-body: 1.1875rem;   /* 19 */
  --t-small: 0.9375rem;  /* 15 */
  --t-meta: 0.875rem;    /* 14 */
  --t-h3: 1.5rem;        /* 24 */
  --t-h2: clamp(2rem, 1.4rem + 2.2vw, 3rem);       /* 32 → 48 */
  --t-h1: clamp(2.75rem, 1.6rem + 4.6vw, 5.25rem); /* 44 → 84 */
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #161B42;
    --surface: #1C2251;
    --ink: #ECEBF5;
    --muted: #A9ACCB;
    --rule: rgba(236, 235, 245, 0.13);
    --rule-strong: rgba(236, 235, 245, 0.34);
    --amber: #F2A65A;
    --rose: #EC7AA5;
    --cyan: #72D2E4;
    --violet: #AB9DF6;
    --lime: #B7D77C;
  }
}

/* Surfaces that are always dark: the live hero and full-bleed plates */
.on-dark {
  color-scheme: dark;
  --bg: #161B42; --surface: #1C2251; --ink: #ECEBF5; --muted: #B4B7D4;
  --rule: rgba(236, 235, 245, 0.16); --rule-strong: rgba(236, 235, 245, 0.4);
  --amber: #F2A65A; --rose: #EC7AA5; --cyan: #72D2E4; --violet: #AB9DF6; --lime: #B7D77C;
  color: var(--ink);
}

[data-area="early"] { --c: var(--amber); }
[data-area="particle"] { --c: var(--rose); }
[data-area="signals"] { --c: var(--cyan); }
[data-area="ml"] { --c: var(--violet); }

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: 1.62;
  font-kerning: normal;
  font-variant-numeric: oldstyle-nums proportional-nums;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
p { margin: 0; }
.prose p + p, .contact p + p, .cols p + p { margin-top: 1em; }
a { color: inherit; text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--rule-strong); transition: text-decoration-color 0.15s; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--violet) 30%, transparent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 14px; font: 500 var(--t-small)/1 var(--sans); border-radius: var(--radius); text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sans { font-family: var(--sans); }
.muted { color: var(--muted); }
.dot { display: inline-block; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--c, var(--ink)); flex: none; }

/* ------------------------------------------------------------------ header */
.site-header { position: relative; z-index: 20; font-family: var(--sans); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0.005em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.site-nav ul { list-style: none; display: flex; gap: clamp(18px, 2.4vw, 36px); margin: 0; padding: 0; }
.site-nav a { font-size: 1.125rem; font-weight: 450; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--rule-strong); }
.site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-toggle { display: none; }
.site-header.is-solid { border-bottom: 1px solid var(--rule); }
.site-header.is-overlay { position: absolute; inset: 0 0 auto 0; }

@media (max-width: 880px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-small)/1 var(--sans); color: inherit;
    background: none; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 9px 14px; cursor: pointer;
  }
  .site-nav { display: none; }
  .menu-open .site-nav { display: block; position: absolute; left: 0; right: 0; top: 84px; background: var(--bg); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; }
  .menu-open .site-nav ul { flex-direction: column; gap: 0; }
  .menu-open .site-nav a { display: block; font-size: 1.125rem; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .menu-open .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); font-weight: 600; }
}

/* --------------------------------------------------------------------- hero */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: #161B42; isolation: isolate; touch-action: pan-y; }
.hero-field { position: absolute; inset: 0; z-index: -2; filter: blur(2px); }
.hero-field canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 0.6s ease; }
.hero.is-live .hero-field canvas { opacity: 1; }
.hero.is-fallback .hero-field { background: #161B42 url("../img/field-poster.webp") center / cover no-repeat; }
.hero.is-fallback .hero-field canvas { display: none; }
.hero-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(22, 27, 66, 0.75) 0, rgba(22, 27, 66, 0) 130px),
    linear-gradient(to top, rgba(22, 27, 66, 0.94) 0%, rgba(22, 27, 66, 0.72) 30%, rgba(22, 27, 66, 0.1) 62%, rgba(22, 27, 66, 0) 75%);
}
.hero-inner { padding-top: 140px; }
.hero-name {
  font-size: clamp(4.75rem, 1rem + 12.5vw, 13.5rem);
  line-height: 0.84;
  letter-spacing: -0.025em;
  margin-left: -0.05em;
  font-variant-numeric: lining-nums;
}
.hero-name span { display: block; }
.hero-name span + span { padding-left: 0.62em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 64px; margin-top: clamp(28px, 4vw, 48px); }
.hero-role { font-family: var(--sans); font-size: var(--t-small); font-weight: 500; letter-spacing: 0.01em; color: var(--ink); margin-bottom: 12px; }
.hero-lede { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px;
  font: 500 var(--t-small)/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  color: var(--bg); background: var(--ink); border: 1px solid var(--ink); border-radius: 999px;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.button:hover { background: color-mix(in srgb, var(--ink) 86%, var(--bg)); }
.button-quiet { color: var(--ink); background: transparent; border-color: var(--rule-strong); }
.button-quiet:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); border-color: var(--ink); }
.hero-foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; border-top: 1px solid var(--rule); margin-top: clamp(32px, 5vw, 56px); padding: 18px 0 26px; }
.potential { margin: 0; width: 196px; }
.potential svg { display: block; width: 132px; height: 48px; overflow: visible; }
.potential path { fill: none; stroke: var(--muted); stroke-width: 1.2; stroke-linejoin: round; }
.potential circle { fill: #F0A54E; filter: drop-shadow(0 0 4px rgba(240, 165, 78, 0.9)); }
.potential text { font-family: var(--serif); font-size: 11px; fill: var(--muted); }
.potential figcaption { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin-top: 6px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.hero-explain { min-width: 0; }
.hero-eq { font-style: normal; font-size: 1.125rem; color: var(--ink); margin-bottom: 6px; }
.hero-eq i { font-style: italic; }
.hero-eq sub { font-size: 0.68em; line-height: 0; vertical-align: -0.3em; margin-left: 0.04em; }
.acc { position: relative; display: inline-block; }
.acc::after { content: attr(data-a); position: absolute; left: 0.17em; top: 0.3em; font-style: normal; line-height: 1; pointer-events: none; }
.hero-caption { font-family: var(--sans); font-size: var(--t-meta); line-height: 1.5; color: var(--muted); max-width: 76ch; }
.hero-controls { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.field-toggle { font: 500 var(--t-meta)/1 var(--sans); color: var(--ink); background: none; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 10px 16px; cursor: pointer; white-space: nowrap; }
.field-toggle:hover:not(:disabled) { border-color: var(--ink); }
.field-toggle[data-field-end] { border-color: rgba(240, 165, 78, 0.7); }
.field-toggle[data-field-end]:hover:not(:disabled) { border-color: #F0A54E; background: rgba(240, 165, 78, 0.1); }
.field-toggle:disabled { opacity: 0.6; cursor: default; }
.hero.is-fallback .potential { visibility: hidden; }
.hero.is-fallback .hero-caption .live-only, .hero:not(.is-fallback) .hero-caption .still-only { display: none; }

/* one orchestrated entrance: the name settles while the field rolls off its potential */
@media (prefers-reduced-motion: no-preference) {
  .hero-name span, .hero-row, .hero-foot { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero-name span + span { animation-delay: 0.08s; }
  .hero-row { animation-delay: 0.35s; }
  .hero-foot { animation-delay: 0.6s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-foot { grid-template-columns: 1fr auto; }
  .hero-explain { grid-column: 1 / -1; order: 3; }
  .hero-controls { flex-direction: row; }
  .hero-name span + span { padding-left: 0.3em; }
}

@media (max-width: 600px) {
  .hero-inner { padding-top: 112px; }
  .hero-lede { font-size: 1.125rem; line-height: 1.5; }
  .hero-role { margin-bottom: 10px; }
  .hero-row { gap: 24px; }
  .hero-foot { grid-template-columns: 1fr; gap: 14px; padding-bottom: 20px; }
  .hero-controls { order: 4; flex-wrap: wrap; }
  .hero-eq { font-size: 1rem; }
  .button { min-height: 46px; padding: 11px 18px; }
}

/* -------------------------------------------------------------------- bands */
.band { padding-block: var(--band); }
.band-tight { padding-block: calc(var(--band) * 0.6); }
.band + .band { padding-top: 0; }
.band.ruled { border-top: 1px solid var(--rule); padding-top: calc(var(--band) * 0.75); }
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head h2 { font-size: var(--t-h2); letter-spacing: -0.012em; }
.section-head p { color: var(--muted); max-width: 36em; }
.section-head .actions { justify-content: flex-end; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .actions { justify-content: flex-start; } }

.label { font-family: var(--sans); font-size: var(--t-meta); font-weight: 500; letter-spacing: 0.01em; color: var(--muted); display: inline-flex; align-items: center; gap: 9px; }
.label .dot { width: 9px; height: 9px; }

/* ------------------------------------------------------------ research rows */
.themes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.theme { border-bottom: 1px solid var(--rule); }
.theme-link { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px 64px; align-items: center; padding-block: clamp(20px, 2.6vw, 32px); text-decoration: none; }
.theme h3 { font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); letter-spacing: -0.01em; margin: 14px 0 16px; }
.theme p { color: var(--muted); max-width: 30em; }
.more { display: inline-block; margin-top: 22px; font: 500 var(--t-small)/1.2 var(--sans); padding-bottom: 3px; border-bottom: 1px solid var(--rule-strong); transition: border-color 0.15s; }
.theme-link:hover .more { border-bottom-color: currentColor; }
.theme-link:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; text-decoration-color: var(--c); }
.plate { margin: 0; background: var(--plate); border-radius: var(--radius); overflow: hidden; }
.plate img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 860px) { .theme-link { grid-template-columns: 1fr; } .theme .plate { order: -1; } }

/* ------------------------------------------------------------ selected work */
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.work { border-top: 1px solid var(--rule); padding: 24px 0 32px; }
.work h3 { font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.2; margin: 16px 0 12px; }
.work h3 a { text-decoration-color: color-mix(in srgb, var(--c) 60%, transparent); }
.work h3 a:hover { text-decoration-color: var(--c); }
.work .authors { font-size: 1.0625rem; }
.work .venue { font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); margin-top: 4px; }
.work .summary { margin-top: 14px; color: var(--muted); max-width: 32em; }
.work .summary sup { line-height: 0; font-size: 0.72em; }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- agenda */
.agenda { list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr) minmax(0, 0.7fr); gap: 6px 40px; padding: 18px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.event time { font-family: var(--sans); font-size: var(--t-small); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.event .title { font-size: 1.3125rem; line-height: 1.3; }
.event .where { color: var(--muted); margin-top: 2px; }
.event .kind { font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); }
.agenda.compact .event { grid-template-columns: 9.5rem minmax(0, 1fr); }
@media (max-width: 760px) { .event, .agenda.compact .event { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ contact */
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 32px 64px; align-items: end; }
.contact h2 { font-size: var(--t-h2); }
.contact p { color: var(--muted); max-width: 32em; margin-top: 20px; }
.mail { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3rem); letter-spacing: -0.01em; line-height: 1.1; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--rule); padding: 44px 0 48px; font-family: var(--sans); font-size: 1.0625rem; color: var(--muted); }
.site-footer .grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.site-footer .who { color: var(--ink); font-family: var(--serif); font-size: 1.5rem; margin-bottom: 4px; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0; padding: 0; }
.site-footer a { color: var(--ink); display: inline-flex; align-items: center; gap: 9px; }
.site-footer .ico { width: 22px; height: 22px; flex: none; color: color-mix(in srgb, var(--ink) 72%, transparent); transition: color 0.15s; }
.site-footer a:hover .ico { color: var(--ink); }
.site-footer .ico-file { object-fit: contain; border-radius: 3px; }
.site-footer .fine { margin-top: 28px; max-width: 70ch; font-size: var(--t-small); }
@media (max-width: 760px) { .site-footer ul { gap: 12px 22px; } }

/* --------------------------------------------------------------- page heads */
.page-head { padding-top: clamp(40px, 5.5vw, 80px); padding-bottom: clamp(32px, 4vw, 56px); }
.crumb { font-family: var(--sans); font-size: var(--t-small); color: var(--muted); margin-bottom: 20px; }
.crumb a { color: var(--muted); }
.page-head h1 { font-size: var(--t-h1); letter-spacing: -0.02em; max-width: 14em; }
.page-head .lede { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; max-width: 36em; margin-top: 28px; }
.page-head .actions { margin-top: 32px; }

/* research detail: full-bleed computed plate */
.plate-hero { position: relative; background: var(--plate); min-height: clamp(460px, 66svh, 720px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.plate-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.plate-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22, 27, 66, 0.95) 0%, rgba(22, 27, 66, 0.6) 34%, rgba(22, 27, 66, 0) 66%); }
.plate-hero .wrap { padding-bottom: clamp(32px, 4.5vw, 56px); }
.plate-hero h1 { font-size: var(--t-h1); letter-spacing: -0.02em; max-width: 12em; margin-top: 18px; }
.plate-hero .crumb, .plate-hero .crumb a { color: var(--muted); }
.plate-hero .label { color: var(--ink); }

.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 80px; }
.question { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); line-height: 1.3; font-style: italic; margin-bottom: 36px; max-width: 24em; }
.prose p { max-width: 34em; }
.prose h2 { font-size: var(--t-h3); margin: 56px 0 16px; }
.caption-card { align-self: start; position: sticky; top: 32px; border-top: 2px solid var(--c, var(--ink)); padding-top: 16px; font-family: var(--sans); font-size: var(--t-meta); line-height: 1.55; color: var(--muted); }
.caption-card strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 6px; }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } .caption-card { position: static; } }

.contribs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.contrib { border-top: 1px solid var(--rule); padding: 24px 0 32px; position: relative; }
.contrib::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--c); }
.contrib h3 { font-size: var(--t-h3); line-height: 1.2; margin-bottom: 12px; }
.contrib p { color: var(--muted); }
.contrib .read { margin-top: 16px; font-family: var(--sans); font-size: var(--t-small); }
@media (max-width: 760px) { .contribs { grid-template-columns: 1fr; } }

.next-area { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding-top: 28px; font-family: var(--sans); font-size: var(--t-small); }
.next-area a { text-decoration: none; }
.next-area .t { display: block; font-family: var(--serif); font-size: 1.5rem; margin-top: 6px; }
.next-area a:hover .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }

/* -------------------------------------------------------------- publications */
.pub-controls { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 5; background: var(--bg); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-meta)/1 var(--sans); color: var(--ink); background: transparent; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 1.5px var(--bg); }
.search-field { flex: 1 1 260px; display: flex; }
.search-field input { width: 100%; font: 400 var(--t-small)/1.2 var(--sans); color: var(--ink); background: var(--surface); border: 1px solid var(--rule-strong); border-radius: 999px; padding: 11px 16px; }
.search-field input::placeholder { color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 8px; font: 500 var(--t-meta)/1 var(--sans); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.link-button { font: 500 var(--t-meta)/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.pub-status { display: flex; gap: 20px; align-items: baseline; font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); padding: 16px 0 0; min-height: 44px; }
.pub-year { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 0 40px; border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 28px; }
.pub-year h2 { font-size: 2rem; font-variant-numeric: lining-nums; position: sticky; top: 104px; align-self: start; }
.pub-list { list-style: none; margin: 0; padding: 0; }
.pub { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0 16px; padding: 0 0 30px; }
.pub-n { font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); font-variant-numeric: lining-nums tabular-nums; padding-top: 0.35em; text-align: right; }
.pub-title { font-size: 1.3125rem; line-height: 1.3; }
.pub-title a { text-decoration-color: var(--rule); }
.pub-title a:hover { text-decoration-color: currentColor; }
.pub-authors { margin-top: 6px; font-size: 1.0625rem; }
.pub-authors strong { font-weight: 600; }
.pub-meta { margin-top: 4px; font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: center; }
.pub-meta a { color: var(--ink); }
.pub-areas { display: inline-flex; gap: 6px; }
.pub-areas .dot { width: 9px; height: 9px; }
@media (max-width: 760px) {
  .pub-year { grid-template-columns: 1fr; }
  .pub-year h2 { position: static; margin-bottom: 16px; font-size: 1.625rem; }
  .pub-controls { position: static; }
}

/* compact related-papers list on research pages */
.related { list-style: none; margin: 0; padding: 0; }
.related li { border-top: 1px solid var(--rule); padding: 18px 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 32px; align-items: baseline; }
.related .t { font-size: 1.1875rem; line-height: 1.3; }
.related .v { font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); }
@media (max-width: 760px) { .related li { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.portrait figcaption { font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); margin-top: 12px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

.path { list-style: none; margin: 0; padding: 0; }
.path li { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 4px 40px; padding: 22px 0; border-top: 1px solid var(--rule); }
.path time { font-family: var(--sans); font-size: var(--t-small); font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.path .org { font-size: 1.3125rem; line-height: 1.3; }
.path .role { color: var(--muted); }
@media (max-width: 760px) { .path li { grid-template-columns: 1fr; } }

.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.cols > * { border-top: 1px solid var(--rule); padding: 24px 0 36px; }
.cols h3 { font-size: var(--t-h3); margin-bottom: 12px; }
.cols p { color: var(--muted); }
@media (max-width: 760px) { .cols { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------- cv */
.cv-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px 64px; }
.cv-card { border-top: 2px solid var(--ink); padding-top: 24px; }
.cv-card h2 { font-size: var(--t-h3); margin-bottom: 16px; }
.cv-card address { font-style: normal; color: var(--muted); margin-top: 16px; }
.cv-card .list { list-style: none; margin: 0; padding: 0; }
.cv-card .list li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .cv-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------------- code */
.repo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; border-top: 2px solid var(--rose); padding-top: 32px; }
.repo h2 { font-size: var(--t-h2); font-family: var(--sans); font-weight: 500; letter-spacing: -0.02em; font-stretch: 92%; }
.repo p { color: var(--muted); margin-top: 16px; max-width: 32em; }
.repo .facts { list-style: none; margin: 20px 0 0; padding: 0; font-family: var(--sans); font-size: var(--t-small); display: flex; gap: 8px 22px; flex-wrap: wrap; }
code, .mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.86em; }
@media (max-width: 860px) { .repo { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- print */
@media print {
  .site-header, .hero-field, .hero-scrim, .field-toggle, .pub-controls, .site-footer ul { display: none !important; }
  .hero, .plate-hero { min-height: 0; background: none; color: #000; }
  body { background: #fff; color: #000; }
}

/* ------------------------------------------------- n_s–r figure (attractors) */
.nsr { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 56px; align-items: start; }
.nsr-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nsr-plot { display: block; width: 100%; min-width: 540px; height: auto; font-family: var(--sans); }
.nsr-plot .grid { stroke: var(--rule); stroke-width: 1; }
.nsr-plot .frame { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.nsr-plot .tick { font-size: 14px; fill: var(--muted); font-variant-numeric: tabular-nums lining-nums; }
.nsr-plot .ax-label { font-family: var(--serif); font-style: italic; font-size: 24px; fill: var(--ink); }
.nsr-plot .sub, .nsr-plot .sup { font-size: 0.68em; }
.nsr-plot .spa2 { fill: color-mix(in srgb, var(--ink) 5%, transparent); }
.nsr-plot .spa1 { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.nsr-plot .spa-edge { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 5 4; }
.nsr-plot .planck95 { fill: color-mix(in srgb, var(--cyan) 14%, transparent); stroke: var(--cyan); stroke-width: 1.2; }
.nsr-plot .planck68 { fill: color-mix(in srgb, var(--cyan) 28%, transparent); stroke: var(--cyan); stroke-width: 1.2; }
.nsr-plot .act95 { fill: color-mix(in srgb, var(--violet) 14%, transparent); stroke: var(--violet); stroke-width: 1.2; }
.nsr-plot .act68 { fill: color-mix(in srgb, var(--violet) 30%, transparent); stroke: var(--violet); stroke-width: 1.2; }
.nsr-plot .model[data-model="E"] { --m: var(--rose); }
.nsr-plot .model[data-model="T"] { --m: var(--amber); }
.nsr-plot .band { fill: color-mix(in srgb, var(--m) 48%, transparent); }
.nsr-plot .curve { fill: none; stroke: var(--ink); stroke-width: 1.1; opacity: 0.7; }
.nsr-plot .curve.edge { stroke-width: 1.6; opacity: 0.95; stroke: color-mix(in srgb, var(--m) 55%, var(--ink)); }
.nsr-plot .curve.n50 { stroke-dasharray: 6 5; }
.nsr-plot .curve-label, .nsr-plot .seg-label { paint-order: stroke; stroke: var(--bg); stroke-width: 5px; stroke-linejoin: round; }
.nsr-plot .curve-label { font-size: 14px; fill: var(--ink); }
.nsr-plot .seg-core { stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; }
.nsr-plot .seg-ext { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 1 6; stroke-linecap: round; }
.nsr-plot .seg-dot { fill: var(--bg); stroke: var(--ink); stroke-width: 2.5; }
.nsr-plot .seg-label { font-family: var(--serif); font-style: italic; font-size: 19px; fill: var(--ink); }
.nsr-plot .is-hidden { display: none; }
.nsr-side { display: flex; flex-direction: column; gap: 28px; }
.nsr-controls { display: flex; flex-direction: column; gap: 20px; }
.nsr-slider { display: flex; flex-direction: column; gap: 10px; font-family: var(--sans); font-size: var(--t-small); }
.nsr-slider i { font-family: var(--serif); font-size: 1.15em; }
.nsr-slider output { font-variant-numeric: tabular-nums lining-nums; font-weight: 600; }
.nsr-slider input { width: 100%; accent-color: var(--ink); }
.nsr-values { font-size: 1.125rem; line-height: 1.5; }
.nsr-values sub, .nsr-caption sub, .section-head sub { font-size: 0.7em; }
.nsr-verdict { margin: 16px 0 0; display: grid; gap: 0; }
.nsr-verdict > div { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: var(--t-small); }
.nsr-verdict dt { display: flex; align-items: center; gap: 9px; font-weight: 500; }
.nsr-verdict dd { margin: 0; color: var(--muted); }
.nsr-verdict dd[data-level="2"] { color: var(--ink); font-weight: 600; }
.nsr-verdict dd[data-level="1"] { color: var(--ink); }
.key { width: 12px; height: 12px; border-radius: 2px; flex: none; }
.key.planck { background: color-mix(in srgb, var(--cyan) 45%, transparent); border: 1.5px solid var(--cyan); }
.key.act { background: color-mix(in srgb, var(--violet) 45%, transparent); border: 1.5px solid var(--violet); }
.key.spa { background: color-mix(in srgb, var(--ink) 14%, transparent); border: 1.5px dashed var(--muted); }
.nsr-caption { font-family: var(--sans); font-size: var(--t-meta); line-height: 1.55; color: var(--muted); }
@media (max-width: 960px) { .nsr { grid-template-columns: 1fr; } }

/* hero: link that appears after reheating */
.field-more { font: 500 var(--t-meta)/1.3 var(--sans); color: var(--ink); display: inline-block; margin-top: 6px; }

/* hero instrument: the inflaton rolling down its plateau */
.inflaton { margin: 0; display: flex; align-items: center; gap: 20px; }
.inflaton svg { width: 216px; height: 126px; overflow: visible; flex: none; }
.inflaton .v { fill: none; stroke: var(--muted); stroke-width: 1.3; stroke-linejoin: round; }
.inflaton .v-trail { fill: none; stroke: #F0A54E; stroke-width: 2.4; stroke-linecap: round; opacity: 0.9; }
.inflaton circle { fill: #F0A54E; filter: drop-shadow(0 0 5px rgba(240, 165, 78, 0.9)); }
.inflaton text { font-family: var(--serif); font-size: 13px; fill: var(--muted); }
.inflaton figcaption { display: flex; flex-direction: column; gap: 2px; width: 10.5rem; font-family: var(--sans); }
.inflaton-n { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.inflaton-label { font-size: var(--t-meta); line-height: 1.35; color: var(--muted); }
.inflaton-stretch { font-size: var(--t-meta); color: var(--ink); margin-top: 8px; font-variant-numeric: lining-nums tabular-nums; }
.inflaton-stretch sup { font-size: 0.75em; }
.hero.is-reheating .inflaton-n { color: #F0A54E; }
.hero-eq sup, .hero-eq sub { font-size: 0.68em; }
.hero-eq sup sub { font-size: 0.8em; }
.vinc { border-top: 1px solid currentColor; padding-top: 1px; margin-left: 1px; }
.hero-caption sup { font-size: 0.75em; }
@media (max-width: 600px) {
  .inflaton { flex-wrap: wrap; gap: 12px 18px; }
  .inflaton svg { width: 180px; height: 105px; }
}

/* home: short About section with portrait */
.about-teaser { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 80px; align-items: center; }
.about-teaser .portrait img { aspect-ratio: 4 / 5; }
.about-teaser h2 { font-size: var(--t-h2); margin-bottom: 24px; }
.about-teaser .lede { font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.45; max-width: 32em; }
.about-teaser .muted { margin-top: 18px; max-width: 34em; }
.about-teaser .actions { margin-top: 28px; }
@media (max-width: 860px) { .about-teaser { grid-template-columns: 1fr; } .about-teaser .portrait { max-width: 360px; } }

/* ---------------------------------------------- hero v3: portrait at the top */
.hero-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 380px); gap: 40px clamp(40px, 6vw, 96px); align-items: end; }
.hero .hero-name { font-size: clamp(4.25rem, 1rem + 8.4vw, 10.75rem); }
.hero-main .hero-role { margin-top: clamp(28px, 3.5vw, 44px); }
.hero-main .actions { margin-top: 28px; }
.hero-portrait { margin: 0; justify-self: end; width: 100%; }
.hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 1px solid rgba(236, 235, 245, 0.22); }
.hero-eq { font-size: 1.2rem; line-height: 1; margin-bottom: 10px; }
.hero-eq svg { display: block; max-width: 100%; height: auto; overflow: visible; }
.inflaton svg { width: 240px; height: 140px; }
.inflaton text { font-size: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-portrait { animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.1, 1) 0.15s both; }
}
@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-portrait { order: -1; justify-self: start; width: min(46%, 220px); }
  .hero-inner { padding-top: 104px; }
}
@media (max-width: 600px) {
  .inflaton svg { width: 192px; height: 112px; }
  .hero-eq { font-size: 1rem; }
}

/* home About section, text only (the photo now lives in the hero) */
.about-teaser { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.about-teaser h2 { margin-bottom: 0; }
.inflaton-stretch i { font-family: var(--serif); font-size: 1.15em; }

/* research page header with a labeled figure: title left, figure right */
.plate-split { background: var(--plate); padding: clamp(104px, 10vw, 128px) 0 clamp(40px, 5vw, 64px); }
.plate-split-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px 64px; align-items: end; }
.plate-split h1 { font-size: var(--t-h1); letter-spacing: -0.02em; margin-top: 18px; max-width: 10em; }
.plate-split .crumb, .plate-split .crumb a { color: var(--muted); }
.plate-split .label { color: var(--ink); }
.plate-split .plate { border: 1px solid var(--rule); }
@media (max-width: 860px) { .plate-split-inner { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- gravitational-wave landscape */
.gw-hero { background: var(--plate); padding: clamp(104px, 10vw, 128px) 0 clamp(40px, 5vw, 64px); }
.gw-hero .crumb, .gw-hero .crumb a { color: var(--muted); }
.gw-hero .label { color: var(--ink); }
.gw-hero h1 { font-size: var(--t-h1); letter-spacing: -0.02em; margin: 18px 0 0; max-width: 16em; }
.gw-hero .gw-lede { max-width: 40em; margin: 20px 0 0; color: var(--muted); font-size: 1.125rem; line-height: 1.55; }
.gw { margin-top: clamp(28px, 3.5vw, 40px); }
.gw-figure { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(-1 * min(var(--gutter), 12px)); }
.gw-plot { display: block; width: 100%; min-width: 880px; height: auto; font-family: var(--sans); font-variant-numeric: lining-nums; }
.gw-plot .grid { stroke: var(--rule); stroke-width: 1; }
.gw-plot .frame { fill: none; stroke: var(--rule-strong); stroke-width: 1; }
.gw-plot .tick { font-size: var(--tick); fill: var(--muted); font-variant-numeric: lining-nums; }
.gw-plot .sub, .gw-plot .sup { font-size: 0.7em; }
.gw-plot .it { font-family: var(--serif); font-style: italic; }
.gw-plot .ax-label { font-family: var(--serif); font-size: calc(var(--fs) * 1.45); fill: var(--ink); }
.gw-plot [data-family="cmb"] { --m: var(--amber); }
.gw-plot [data-family="pta"] { --m: var(--violet); }
.gw-plot [data-family="space"] { --m: var(--cyan); }
.gw-plot [data-family="atom"] { --m: var(--lime); }
.gw-plot [data-family="ground"] { --m: var(--rose); }
.gw-plot [data-family="neff"] { --m: var(--muted); }
.gw-plot .excluded { fill: color-mix(in srgb, var(--ink) 9%, transparent); }
.gw-plot .m { transition: opacity 160ms ease, stroke-width 160ms ease, fill 160ms ease; }
.gw-plot .fill { fill: color-mix(in srgb, var(--m) 2.5%, transparent); stroke: none; }
.gw-plot .line { fill: none; stroke: var(--m); stroke-width: 1.5; stroke-dasharray: 6 4; stroke-linejoin: round; }
.gw-plot .line[data-current] { stroke-dasharray: none; stroke-width: 1.8; }
.gw-plot .line.bar { stroke-width: 3; stroke-linecap: round; }
.gw-plot .line.neff { stroke-width: 1.2; }
.gw-plot .violins path { fill: color-mix(in srgb, var(--m) 55%, transparent); stroke: var(--m); stroke-width: 0.8; }
.gw-plot .m-label { font-size: var(--fs); fill: color-mix(in srgb, var(--m) 70%, var(--ink)); font-weight: 500; transition: opacity 160ms ease; }
.gw-plot .m-label[data-current] { font-weight: 600; }
.gw-plot .m-label.neff { font-weight: 500; fill: var(--muted); }
.gw-plot .leader { stroke: color-mix(in srgb, var(--m) 70%, var(--ink)); stroke-width: 1; fill: none; transition: opacity 160ms ease; }
.gw-plot .leader-dot { fill: color-mix(in srgb, var(--m) 70%, var(--ink)); stroke: none; }
.gw-plot.has-focus .leader { opacity: 0.22; }
.gw-plot.has-focus .leader.is-focus { opacity: 1; }
.gw-plot .m-label { paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.gw-plot .hit { fill: transparent; stroke: transparent; stroke-width: 12; pointer-events: none; }
.gw.is-live .gw-plot .hit { pointer-events: stroke; cursor: pointer; }
.gw.is-live .gw-plot rect.hit { pointer-events: all; }
/* focus: one mission lit, the rest recede */
.gw-plot.has-focus .m, .gw-plot.has-focus .m-label { opacity: 0.22; }
.gw-plot.has-focus .is-focus { opacity: 1; }
.gw-plot.has-focus .fill.is-focus { fill: color-mix(in srgb, var(--m) 16%, transparent); }
.gw-plot.has-focus .line.is-focus { stroke-width: 2.6; }
.gw-panel { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 56px; margin-top: 28px; align-items: start; }
.gw-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; }
.gw-fam h3 { font: 600 var(--t-meta)/1.3 var(--sans); color: var(--ink); margin: 0 0 8px; }
.gw-fam h3 sub { font-size: 0.75em; }
.gw-fam ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.gw-fam[data-family="cmb"] { --m: var(--amber); }
.gw-fam[data-family="pta"] { --m: var(--violet); }
.gw-fam[data-family="space"] { --m: var(--cyan); }
.gw-fam[data-family="atom"] { --m: var(--lime); }
.gw-fam[data-family="ground"] { --m: var(--rose); }
.gw-fam[data-family="neff"] { --m: var(--muted); }
.gw-item { display: inline-flex; align-items: center; gap: 10px; font: 400 var(--t-small)/1.35 var(--sans); color: var(--muted); background: none; border: 0; padding: 4px 0; text-align: left; cursor: default; }
.gw.is-live .gw-item { cursor: pointer; }
.gw.is-live .gw-item:hover, .gw-item[aria-pressed="true"] { color: var(--ink); }
.gw-item[aria-pressed="true"] { font-weight: 600; }
.gw-item .key, .gw-readout .status .key { flex: none; width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--m) 0 6px, transparent 6px 10px); }
.gw-item .key.is-current, .gw-readout .status .key.is-current { height: 2.5px; background: var(--m); }
.gw-side { display: flex; flex-direction: column; gap: 28px; }
.gw-readout { min-height: 9.5em; border-top: 2px solid var(--m, var(--rule-strong)); padding-top: 14px; }
.gw-readout h3 { font-size: 1.375rem; margin: 0 0 6px; }
.gw-readout .status { font: 500 var(--t-meta)/1.4 var(--sans); color: var(--muted); margin: 0 0 10px; display: flex; align-items: center; gap: 9px; }
.gw-readout p { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.gw-readout p + p { margin-top: 8px; }
.gw-readout .reach { font-family: var(--sans); font-size: var(--t-small); color: var(--ink); font-variant-numeric: lining-nums; }
.gw-readout sub, .gw-readout sup { font-size: 0.72em; }
.gw-hint { color: var(--muted); font-family: var(--sans); font-size: var(--t-small) !important; }
@media (max-width: 1080px) { .gw-panel { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .gw-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gw-plot { min-width: 940px; } }
.gw-scroll-hint { display: none; margin: 10px 0 0; font-family: var(--sans); font-size: var(--t-meta); color: var(--muted); }
@media (max-width: 900px) { .gw-scroll-hint { display: block; } }
@media (prefers-reduced-motion: reduce) { .gw-plot .m, .gw-plot .m-label { transition: none; } }
.gw-plot[data-layout="plate"] { min-width: 0; }
.agenda-head { font: 600 var(--t-meta)/1.3 var(--sans); letter-spacing: 0.01em; color: var(--muted); margin: 0 0 10px; }
.agenda + .agenda-head { margin-top: 36px; }

/* ---------------------------------------------------------------- research: one page, a section per area */
.r-jump { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 32px; }
.r-jump a { display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border: 1px solid var(--rule-strong); border-radius: 999px; font: 500 var(--t-small)/1.1 var(--sans); text-decoration: none; transition: border-color 0.15s; }
.r-jump a:hover { border-color: currentColor; }
.r-jump .dot { width: 9px; height: 9px; }
.r-area { scroll-margin-top: 12px; }
.r-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.r-head h2 { font-size: var(--t-h2); letter-spacing: -0.012em; margin: 14px 0 18px; }
.r-question { font-style: italic; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.5rem); line-height: 1.35; margin: 0 0 16px; max-width: 24em; }
.r-text p { max-width: 34em; }
.r-text .more { margin-top: 20px; text-decoration: none; }
.r-figure { margin: 0; }
.r-figure figcaption { margin-top: 12px; font-family: var(--sans); font-size: var(--t-meta); line-height: 1.55; color: var(--muted); }
.r-figure figcaption strong { color: var(--ink); font-weight: 600; }
.r-head .caption-card { position: static; margin-top: 8px; }
.r-contribs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: clamp(32px, 4vw, 48px); }
.r-sub { margin-top: clamp(40px, 5vw, 64px); }
.r-sub > h3, .r-sub .section-head h3 { font-size: var(--t-h3); line-height: 1.2; }
.r-sub .section-head { display: block; margin-bottom: clamp(20px, 2.5vw, 32px); }
.r-sub .section-head p { margin-top: 10px; max-width: 40em; }
.r-sub-lede { color: var(--muted); max-width: 40em; margin-top: 10px; }
.r-gw .gw { margin-top: 20px; }
@media (max-width: 1000px) { .r-contribs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .r-head { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .r-contribs { grid-template-columns: 1fr; } }
