/* ==========================================================================
   site.css · Academic × Speaker design system
   Modern minimal sans. One token set, two registers:
   - Scholarly pages: quiet, narrow measure, lists and rules.
   - Speaking page: full-bleed bands, larger type, cards, media.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset, OFL) ---------- */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --fs-micro: 0.75rem;                                       /* 12px  chips */
  --fs-meta: 0.8125rem;                                      /* 13px  eyebrows, dates */
  --fs-small: 0.9375rem;                                     /* 15px  secondary text */
  --fs-body: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);       /* 17→18px */
  --fs-lead: clamp(1.1875rem, 1.05rem + 0.55vw, 1.4375rem);  /* 19→23px */
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);      /* 19→22px */
  --fs-h2: clamp(1.75rem, 1.35rem + 1.5vw, 2.625rem);        /* 28→42px */
  --fs-h1: clamp(2.375rem, 1.6rem + 3vw, 4rem);              /* 38→64px */
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4.375rem);     /* 40→70px */

  --lh-body: 1.65;
  --lh-snug: 1.35;
  --lh-tight: 1.1;

  --paper: #FBFAF7;
  --paper-2: #F3F1EC;
  --card: #FFFFFF;
  --ink: #15171B;
  --ink-2: #444951;
  --ink-3: #676C74;
  --rule: #E2DED6;
  --rule-strong: #CFCAC0;
  --accent: #8C1515;          /* Stanford cardinal */
  --accent-strong: #6F0F0F;
  --accent-soft: #F5E8E6;

  --night: #14171C;
  --night-2: #1C2128;
  --on-night: #F4F2EE;
  --on-night-2: #B3B9C2;
  --accent-on-night: #F29C91;
  --rule-night: #2C323A;

  --container: 74rem;
  --measure: 40rem;
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section: clamp(3.75rem, 2rem + 6vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 4.25rem;
  --shadow: 0 18px 40px -24px rgba(20, 23, 28, 0.35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1.25rem); }
html.has-subnav { scroll-padding-top: calc(var(--header-h) + 4rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong, b { font-weight: 600; }
em, i, cite { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 38%, transparent);
  transition: color .15s ease, text-decoration-color .15s ease;
}
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: inherit;
  line-height: var(--lh-tight);
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); font-weight: 500; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: var(--lh-snug); letter-spacing: -0.012em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; }
p, li, dd { text-wrap: pretty; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: 1rem; transform: translateY(-200%); z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: var(--radius-sm); text-decoration: none; }
.skip-link:focus { transform: none; color: var(--paper); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 52rem); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.55); }
.section:not([class*="band-"]) + .section:not([class*="band-"]) { padding-top: 0; }
.band-alt { background: var(--paper-2); }
.band-night { background: var(--night); color: var(--on-night); }
.band-night a:hover { color: var(--accent-on-night); }
.prose { max-width: var(--measure); }
.prose p { margin-bottom: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 .5rem; }
.prose ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.prose li { margin-bottom: .4em; }
.muted { color: var(--ink-2); }
.band-night .muted { color: var(--on-night-2); }

.split { display: grid; gap: 2rem clamp(2rem, 5vw, 5rem); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .has-subnav .split-aside { top: calc(var(--header-h) + 5rem); }
}

.stack > * + * { margin-top: var(--stack, 1rem); }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  margin: 0 0 1.1rem;
  font-family: var(--font-mono); font-size: var(--fs-meta); font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase; line-height: 1.3;
  color: var(--accent);
}
.eyebrow::before { content: ""; flex: none; width: .5em; height: .5em; border-radius: 50%; background: currentColor; }
.band-night .eyebrow { color: var(--accent-on-night); }
.mono { font-family: var(--font-mono); font-size: var(--fs-meta); letter-spacing: .04em; }
.label { font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.band-night .label { color: var(--on-night-2); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-2); }
.lead strong { color: var(--ink); font-weight: 600; }
.band-night .lead { color: var(--on-night-2); }
.band-night .lead strong { color: var(--on-night); }
.display { font-family: var(--font-display); font-size: var(--fs-display); font-weight: 300; line-height: 1.04; letter-spacing: -0.04em; }
.display strong { font-weight: 700; }
.hl { color: var(--accent); font-style: normal; }
.band-night .hl { color: var(--accent-on-night); }

.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head h2 + p, .section-head h2 + .lead { margin-top: 1.1rem; }
.section-head p:not(.eyebrow) { color: var(--ink-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.band-night .section-head p:not(.eyebrow) { color: var(--on-night-2); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.section-head--row > div { max-width: 46rem; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.4em; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: .9375rem; font-weight: 600; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-strong); color: #fff; }
.btn--ghost { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.band-night .btn--ghost { border-color: #4A515B; color: var(--on-night); }
.band-night .btn--ghost:hover { border-color: var(--on-night); color: var(--on-night); }
.btn--light { background: var(--on-night); color: var(--night); }
.btn--light:hover { background: #fff; color: var(--night); }
.btn--sm { padding: .7em 1.1em; font-size: .875rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.more { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; font-size: var(--fs-small); color: var(--accent); text-decoration: none; }
.more::after { content: "→"; transition: transform .15s ease; }
.more:hover { color: var(--accent-strong); }
.more:hover::after { transform: translateX(3px); }
.band-night .more { color: var(--accent-on-night); }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .38em .7em; border-radius: 6px; border: 1px solid var(--rule);
  background: var(--card); color: var(--ink-2);
  font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2;
  text-decoration: none;
}
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip--note { background: var(--paper-2); border-color: transparent; color: var(--ink-3); }
.chip--accent { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Header & nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled, .has-subnav .site-header { border-bottom-color: var(--rule); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.wordmark { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.nav ul { display: flex; align-items: center; gap: clamp(1rem, 1.9vw, 1.9rem); list-style: none; }
.nav a { position: relative; display: block; padding: .5rem 0; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: .05rem; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-toggle { display: none; }

@media (max-width: 939px) {
  .nav-toggle {
    display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -.6rem;
    border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 8px;
  }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 1.25rem; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow);
    padding: .5rem var(--gutter) 1.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li + li { border-top: 1px solid var(--rule); }
  .nav a { padding: 1rem 0; font-size: 1.0625rem; }
  .nav a[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: .45rem; height: .45rem; border-radius: 50%; transform: translateY(-50%); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); color: var(--ink-2); font-size: var(--fs-small); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: 0; }
.footer-grid { display: grid; gap: 2.25rem 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.footer-grid .footer-id { grid-column: span 1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } }
.footer-id .wordmark { display: inline-block; margin-bottom: .6rem; }
.footer-h { margin: 0 0 .9rem; font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.footer-grid ul { list-style: none; display: grid; gap: .5rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-strong); font-size: var(--fs-meta); color: var(--ink-3); }
.footer-base a { text-decoration: none; }

/* ---------- Page head (interior pages) ---------- */
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 6rem) clamp(2.25rem, 1.5rem + 2.5vw, 3.75rem); border-bottom: 1px solid var(--rule); }
.page-head .lead { max-width: 46rem; margin-top: 1.25rem; }
.page-head--media { display: grid; gap: 2rem 4rem; align-items: end; }
@media (min-width: 860px) { .page-head--media { grid-template-columns: minmax(0, 1fr) 17rem; } }
.page-head--media img { border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 17rem; }

/* ---------- Home ---------- */
.intro { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); }
@media (min-width: 860px) { .intro { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.intro h1 { font-size: clamp(2.75rem, 1.8rem + 4vw, 5rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.titles { list-style: none; display: grid; gap: .45rem; margin-top: 1.75rem; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-2); }
.titles li:first-child { font-size: var(--fs-body); color: var(--ink); font-weight: 500; }
.portrait { margin: 0; order: -1; justify-self: start; width: min(42%, 10rem); }
@media (min-width: 860px) { .portrait { order: 0; justify-self: end; width: min(100%, 22rem); } }
.portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.statement { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid var(--rule); font-size: clamp(1.125rem, 1.04rem + .4vw, 1.3125rem); line-height: 1.65; color: var(--ink-2); max-width: 46rem; }
.statement strong { color: var(--ink); font-weight: 600; }

.doors { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .doors { grid-template-columns: 1fr 1fr; } }
.door {
  position: relative; display: flex; flex-direction: column; gap: .85rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--rule); color: var(--ink); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.door:hover { color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.door h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); font-weight: 600; letter-spacing: -0.025em; }
.door p { color: var(--ink-2); margin: 0; }
.door .more { margin-top: auto; padding-top: .75rem; }
.door .eyebrow { margin-bottom: .25rem; }
.door--night { background: var(--night); border-color: var(--night); color: var(--on-night); }
.door--night:hover { color: var(--on-night); border-color: var(--night); }
.door--night p { color: var(--on-night-2); }
.door--night .eyebrow, .door--night .more { color: var(--accent-on-night); }

.now-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
/* Four cards: 2 x 2 on mid widths, one row on wide screens (auto-fit would leave a lone card) */
@media (min-width: 700px) { .now-grid:has(> .now-card:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .now-grid:has(> .now-card:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.now-card { display: flex; flex-direction: column; gap: .6rem; padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.now-card h3 { font-size: 1.125rem; }
.now-card h3 a { text-decoration: none; }
.now-card h3 a:hover { color: var(--accent); }
.now-card p { color: var(--ink-2); font-size: var(--fs-small); margin: 0; }

/* ---------- Definition grids (areas, topics, advising) ---------- */
.defs { display: grid; gap: 2rem clamp(1.5rem, 3vw, 3rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.defs--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.def { padding-top: 1.1rem; border-top: 1px solid var(--ink); }
.def h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.def p { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.6; margin: 0; }
.band-night .def { border-top-color: var(--rule-night); }
.band-night .def p { color: var(--on-night-2); }
.def .num { display: block; margin-bottom: .75rem; font-family: var(--font-mono); font-size: var(--fs-micro); letter-spacing: .1em; color: var(--accent); }
.band-night .def .num { color: var(--accent-on-night); }

/* ---------- Publications ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.filter {
  padding: .55em 1.05em; border-radius: 999px; border: 1px solid var(--rule-strong);
  background: transparent; color: var(--ink-2); cursor: pointer;
  font: 500 .875rem/1 var(--font-body);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filter .count { margin-left: .35em; font-family: var(--font-mono); font-size: .75rem; opacity: .7; }

.pubs { list-style: none; border-top: 1px solid var(--rule); }
.pub { display: grid; gap: .3rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .pub { grid-template-columns: 5rem minmax(0, 1fr); } }
.pub[hidden] { display: none; }
.pub-year { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--ink-3); padding-top: .3rem; }
.pub-title { font-size: var(--fs-h3); font-weight: 600; line-height: 1.32; letter-spacing: -0.012em; margin-bottom: .45rem; max-width: 46rem; }
.pub-title a { text-decoration: none; }
.pub-title a:hover { color: var(--accent); }
.pub-authors, .pub-venue { margin: 0; font-size: var(--fs-small); line-height: 1.55; color: var(--ink-2); }
.pub-authors .me { color: var(--ink); font-weight: 600; }
.pub-venue em { color: var(--ink); }
.pub .chips { margin-top: .85rem; }
.pub-note { margin-top: .75rem; font-size: var(--fs-small); color: var(--ink-2); max-width: 44rem; }

/* ---------- Dated lists (news, appearances, honors) ---------- */
.dated { list-style: none; border-top: 1px solid var(--rule); }
.dated li { display: grid; gap: .25rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .dated li { grid-template-columns: 8.5rem minmax(0, 1fr); } }
.dated time, .dated .when { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--ink-3); padding-top: .2rem; letter-spacing: .03em; }
.dated .what { color: var(--ink); max-width: 46rem; }
.dated .what p { margin: .2rem 0 0; color: var(--ink-2); font-size: var(--fs-small); }
.dated .chip { margin-left: .5rem; vertical-align: .1em; }
.dated--compact li { padding: .8rem 0; }
.dated--compact .what { font-size: var(--fs-small); }
.dated--compact time, .dated--compact .when { padding-top: .1rem; }

/* ---------- Key–value list (contact, appointments) ---------- */
.kv { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.kv > div { display: grid; gap: .2rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 700px) { .kv > div { grid-template-columns: 10rem minmax(0, 1fr); } }
.kv dt { font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: .3rem; }
.kv dd { margin: 0; }

/* ---------- Simple list with rules (courses, appointments) ---------- */
.rows { list-style: none; border-top: 1px solid var(--rule); }
.rows > li { display: grid; gap: .3rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .rows > li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; } }
.rows h3 { font-size: 1.0625rem; }
.rows p { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.rows .label { line-height: 1.5; }
@media (min-width: 760px) { .rows .label { max-width: 22rem; text-align: right; } }

.names { list-style: none; columns: 2 12rem; column-gap: 2rem; }
.names li { padding: .45rem 0; border-bottom: 1px solid var(--rule); break-inside: avoid; }

/* ---------- Speaking: hero ---------- */
.s-hero { position: relative; overflow: hidden; }
.s-hero-grid { display: grid; }
.s-hero-copy { padding: clamp(3rem, 2rem + 5vw, 6.5rem) var(--gutter) clamp(3rem, 2rem + 4vw, 5.5rem); }
.s-hero-copy .lead { max-width: 38rem; margin-top: 1.5rem; }
.s-hero-copy .actions { margin-top: 2.25rem; }
.s-hero-media { position: relative; height: clamp(20rem, 100vw, 78vh); background: var(--night-2); }
.s-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.creds { list-style: none; display: flex; flex-wrap: wrap; gap: .55rem 1.5rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-night); font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-2); max-width: 36rem; }
@media (min-width: 900px) {
  .s-hero-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); min-height: min(86vh, 48rem); }
  .s-hero-copy { align-self: center; padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding-right: clamp(2rem, 4vw, 4rem); }
  .s-hero-media { height: auto; min-height: 100%; }
  .s-hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--night) 0%, color-mix(in srgb, var(--night) 0%, transparent) 22%); pointer-events: none; }
}

/* ---------- Speaking: sub-nav ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }
.subnav-inner { display: flex; align-items: center; gap: 1.5rem; }
.subnav ul { flex: 1; display: flex; gap: clamp(1rem, 2vw, 1.75rem); list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav ul a { display: block; padding: 1rem 0; font-size: .875rem; font-weight: 500; color: var(--ink-3); text-decoration: none; white-space: nowrap; position: relative; }
.subnav ul a:hover { color: var(--ink); }
.subnav ul a.is-active { color: var(--ink); }
.subnav ul a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); }
.subnav .btn { flex: none; }
@media (max-width: 640px) { .subnav .btn { display: none; } .subnav ul { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }

/* ---------- Speaking: proof strip & logos ---------- */
.proof { display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 960px) { .proof { grid-template-columns: 13rem minmax(0, 1fr); } }
.proof .label { line-height: 1.5; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem clamp(1.5rem, 2.6vw, 2.5rem); }
.logo-row img { height: 26px; width: auto; max-width: 128px; object-fit: contain; filter: grayscale(1) brightness(.62) contrast(1.15); opacity: .78; mix-blend-mode: multiply; transition: opacity .2s ease, filter .2s ease; }
.logo-row img.sq { height: 42px; }
.logo-row img.tall { height: 34px; }
.logo-row img:hover { opacity: 1; filter: none; }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.proof-note { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: var(--fs-small); color: var(--ink-3); }

.clients { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.client-row { display: grid; gap: 1rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--rule); align-items: center; }
@media (min-width: 860px) { .client-row { grid-template-columns: 14rem minmax(0, 1fr); } }

/* ---------- Speaking: talk cards ---------- */
.talks { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); counter-reset: talk; }
.talk { display: flex; flex-direction: column; gap: .9rem; padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); transition: border-color .2s ease, box-shadow .2s ease; }
.talk:hover { border-color: var(--rule-strong); box-shadow: var(--shadow); }
.talk-num { font-family: var(--font-display); font-size: 3.25rem; font-weight: 300; line-height: 1; letter-spacing: -0.05em; color: var(--accent); margin-bottom: .6rem; }
.talk h3 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.22; }
.talk-sub { margin: -.35rem 0 0; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--ink-3); }
.talk p.desc { margin: 0; font-size: var(--fs-small); line-height: 1.62; color: var(--ink-2); }
.talk-for { margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--rule); font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.talk-for .label { display: block; margin-bottom: .35rem; }

/* ---------- Speaking: evidence / stats ---------- */
.stats { display: grid; gap: 2rem clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.stat { padding-top: 1.25rem; border-top: 1px solid var(--rule-night); }
.stat-num { display: block; font-family: var(--font-display); font-size: clamp(3.5rem, 2.5rem + 4.5vw, 6.5rem); font-weight: 300; line-height: .95; letter-spacing: -0.055em; color: var(--on-night); }
.stat-num sup { font-size: .45em; font-weight: 400; vertical-align: .9em; letter-spacing: 0; margin-left: .05em; color: var(--accent-on-night); }
.stat p { margin: .9rem 0 0; color: var(--on-night-2); max-width: 22rem; }
.evidence { display: grid; gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: end; }
@media (min-width: 960px) { .evidence { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }

/* ---------- Speaking: video ---------- */
.video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--night-2); color: #fff; text-decoration: none; isolation: isolate; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10, 12, 15, .55)); z-index: 1; pointer-events: none; }
.video:hover img { transform: scale(1.025); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.play { position: absolute; left: 1.1rem; bottom: 1.1rem; z-index: 2; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s ease, background-color .2s ease; }
.play::before { content: ""; margin-left: 4px; border-left: 14px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.video:hover .play { transform: scale(1.06); background: #fff; }
.video--lg .play { width: 4.5rem; height: 4.5rem; left: 1.5rem; bottom: 1.5rem; }
.video--lg .play::before { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
.video.is-playing::after, .video.is-playing .play { display: none; }

.feature { display: grid; gap: 1.75rem clamp(2rem, 4vw, 3.5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .feature { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); } }
.feature h3 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; margin: .25rem 0 .9rem; }
.feature p { color: var(--ink-2); font-size: var(--fs-small); }
.feature .actions { margin-top: 1.25rem; }
.feature .jumps-label { display: block; margin: 1.1rem 0 .55rem; }

.media-grid { display: grid; gap: 2.25rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); }
.media-card .video { border-radius: var(--radius-sm); }
.media-card .play { width: 2.9rem; height: 2.9rem; left: .85rem; bottom: .85rem; }
.media-card .play::before { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; margin-left: 3px; }
.media-card .label { display: block; margin-top: 1rem; }
.media-card h3 { font-size: 1.0625rem; line-height: 1.38; margin-top: .4rem; }
.media-card h3 a { text-decoration: none; }
.media-card h3 a:hover { color: var(--accent); }
.media-card p { margin: .35rem 0 0; font-size: var(--fs-small); color: var(--ink-2); }

/* ---------- Speaking: formats ---------- */
.format-list { list-style: none; border-top: 1px solid var(--rule); }
.format-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.format-list h3 { font-size: 1.1875rem; }
.format-list .dur { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--accent); white-space: nowrap; padding-top: .2rem; }
.format-list p { grid-column: 1 / -1; margin: 0; color: var(--ink-2); }

/* ---------- Speaking: catalog ---------- */
.catalog { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .catalog { grid-template-columns: 1fr 1fr; } }
.catalog-group { padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem); background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); }
.catalog-group h3 { display: flex; gap: .9rem; align-items: baseline; font-size: 1.1875rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--rule); }
.catalog-group h3 .label { color: var(--accent); }
.catalog-group dl { margin: 0; }
.catalog-group dt { margin-top: 1.25rem; font-weight: 600; line-height: 1.4; }
.catalog-group dd { margin: .35rem 0 0; font-size: var(--fs-small); line-height: 1.6; color: var(--ink-2); }

/* ---------- Speaking: venues & gallery ---------- */
.venues { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); column-gap: 2rem; border-top: 1px solid var(--rule); }
.venues li { padding: .8rem 0; border-bottom: 1px solid var(--rule); font-family: var(--font-display); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); font-weight: 600; letter-spacing: -0.012em; line-height: 1.35; color: var(--ink); }

.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 22vw, 15rem); margin-top: clamp(3rem, 6vw, 4.5rem); }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-sm); background: var(--rule); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .85rem; background: linear-gradient(180deg, transparent, rgba(10, 12, 15, .72)); color: #fff; font-size: .8125rem; font-weight: 500; line-height: 1.35; }
@media (min-width: 860px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery figure:first-child { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Speaking: bio & organizer kit ---------- */
.kit { border-top: 1px solid var(--rule); margin-top: 2.5rem; }
.kit-item { border-bottom: 1px solid var(--rule); }
.kit-item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; cursor: pointer; font-weight: 600; }
.kit-item summary::-webkit-details-marker { display: none; }
.kit-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.25rem; font-weight: 400; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.kit-item[open] summary::after { transform: rotate(45deg); }
.kit-body { padding: 0 0 1.5rem; }
.kit-body blockquote, .kit-body .copy-src { margin: 0 0 1rem; padding: 1.25rem 1.4rem; background: var(--paper-2); border-radius: var(--radius-sm); color: var(--ink-2); font-size: var(--fs-small); line-height: 1.65; }
.copy-btn { display: inline-flex; align-items: center; gap: .5em; padding: .55em .95em; border-radius: 999px; border: 1px solid var(--rule-strong); background: var(--card); color: var(--ink); cursor: pointer; font: 600 .8125rem/1 var(--font-body); }
.copy-btn:hover { border-color: var(--ink); }
.copy-btn.is-done { border-color: var(--accent); color: var(--accent); }

.headshot { margin: 1.75rem 0 0; max-width: min(17rem, 60%); }
.headshot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.headshot figcaption { margin-top: .75rem; font-size: var(--fs-meta); color: var(--ink-3); }

/* ---------- CTA band ---------- */
.cta { text-align: left; }
.cta-grid { display: grid; gap: 2rem clamp(2rem, 5vw, 5rem); align-items: end; }
@media (min-width: 960px) { .cta-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.cta h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1.06; }
.cta h2 strong { font-weight: 700; }
.cta-checklist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; margin: 1.5rem 0 2rem; font-family: var(--font-mono); font-size: var(--fs-meta); letter-spacing: .06em; text-transform: uppercase; color: var(--on-night-2); }
.cta-checklist li { display: flex; align-items: center; gap: .6rem; padding-top: .7rem; border-top: 1px solid var(--rule-night); }
.cta-checklist li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent-on-night); flex: none; }
.cta-email { display: inline-block; margin: 1.25rem 0 0 1rem; font-size: var(--fs-small); color: var(--on-night-2); }

/* ---------- Writing & media ---------- */
.entries { list-style: none; border-top: 1px solid var(--rule); }
.entry { display: grid; gap: .4rem 2rem; padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) { .entry { grid-template-columns: 11rem minmax(0, 1fr); } }
.entry .when { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--ink-3); padding-top: .25rem; }
.entry .label { color: var(--accent); }
.entry h3 { font-size: clamp(1.1875rem, 1.1rem + .45vw, 1.4375rem); line-height: 1.3; margin: .35rem 0 .5rem; max-width: 44rem; }
.entry h3 a { text-decoration: none; }
.entry h3 a:hover { color: var(--accent); }
.entry p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); max-width: 44rem; }
.entry .more { margin-top: .75rem; }
.outlets { list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 2.25rem; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.0625rem, .95rem + .5vw, 1.375rem); letter-spacing: -0.01em; color: var(--ink-3); }

/* ---------- Misc ---------- */
.callout { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-radius: var(--radius); background: var(--paper-2); color: var(--ink-2); font-size: var(--fs-small); }
.callout strong { color: var(--ink); }
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.25rem); border-radius: var(--radius); background: var(--card); border: 1px solid var(--rule); }
.download h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); }
.download p { margin: .35rem 0 0; color: var(--ink-2); font-size: var(--fs-small); }
.subhead { margin: 0 0 1.25rem; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); font-weight: 500; letter-spacing: -0.025em; }
.gap-top { margin-top: clamp(3rem, 6vw, 4.5rem); }
.redirect { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ---------- Utilities ---------- */
.pt-0 { padding-top: 0 !important; }
.mt-s { margin-top: 1.1rem; }
.mt-m { margin-top: 1.25rem; }
.note { font-family: var(--font-mono); font-size: var(--fs-meta); letter-spacing: .02em; color: var(--ink-3); }
.list-label { display: block; margin: 0 0 .75rem; font-family: var(--font-mono); font-size: var(--fs-micro); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.list-label.gap-top { margin-top: clamp(2.25rem, 4vw, 3rem); }
.build-date { margin-left: .4em; }
.build-date::before { content: "· "; }
