@font-face {
  font-family: Manrope;
  src: url('../fonts/manrope-variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Newsreader;
  src: url('../fonts/newsreader-variable.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --page: #f8f7f4;
  --surface: #eeece7;
  --card: #fefdfb;
  --ink: #292b2b;
  --muted: #626461;
  --line: #d8d7d1;
  --accent: #a13236;
  --hover: #7d2227;
  --tint: #f1e5e2;
  --on-accent: #f8f7f4;
  --serif: Newsreader, Georgia, 'Times New Roman', serif;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  scroll-padding-top: 106px;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --page: #1e2023;
  --surface: #272a2e;
  --card: #303338;
  --ink: #f2f0eb;
  --muted: #b8bab8;
  --line: #44474b;
  --accent: #edaaa1;
  --hover: #ffd0c8;
  --tint: #382d2e;
  --on-accent: #1e2023;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --page: #1e2023;
    --surface: #272a2e;
    --card: #303338;
    --ink: #f2f0eb;
    --muted: #b8bab8;
    --line: #44474b;
    --accent: #edaaa1;
    --hover: #ffd0c8;
    --tint: #382d2e;
    --on-accent: #1e2023;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.65 var(--sans); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: pretty; }
p + p { margin-top: 12px; }
a { color: var(--accent); text-decoration: none; text-underline-offset: .2em; }
a:hover { color: var(--hover); }
button, summary { cursor: pointer; }
button, input, select { font: inherit; }
button { color: inherit; }
img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
main:focus { outline: none; }
.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 28px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: -120px; padding: 12px 18px; border: 2px solid var(--accent); background: var(--page); }
.skip-link:focus { top: 12px; }
.icon { flex: 0 0 16px; display: inline-block; vertical-align: middle; }

/* Rounded, quiet navigation mirrors the reference's editorial header. */
.site-header { position: sticky; top: 0; z-index: 20; padding: 14px 20px 10px; background: var(--page); }
.site-nav { max-width: 1120px; min-height: 64px; margin-inline: auto; padding: 8px 28px; display: flex; align-items: center; gap: 24px; background: var(--surface); border-radius: 14px; }
.brand { color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-links > a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
.nav-links > a::after { content: ''; position: absolute; inset: auto 0 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 160ms ease; }
.nav-links > a:hover, .nav-links > a[aria-current] { color: var(--accent); }
.nav-links > a:hover::after, .nav-links > a[aria-current]::after { transform: scaleX(1); }
.menu-toggle, .theme-picker > summary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 12px; background: var(--card); color: var(--muted); font-size: 12px; }
.theme-picker { position: relative; }
.theme-picker > summary { list-style: none; }
.theme-picker > summary::-webkit-details-marker { display: none; }
.theme-options { position: absolute; right: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 30px #0000000c; }
.theme-options button { display: block; width: 100%; padding: 10px 12px; min-height: 44px; text-align: left; font-size: 14px; border: 0; border-radius: 7px; background: transparent; }
.theme-options button:hover, .theme-options button[aria-pressed='true'] { background: var(--surface); color: var(--accent); }

.home-section { padding-block: 72px; }
.surface-section { background: var(--surface); }
.about-section { padding-top: 52px; padding-bottom: 54px; }
.intro-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); grid-template-areas: 'heading portrait' 'research portrait' 'background background'; gap: 26px 64px; align-items: start; }
.intro-heading { grid-area: heading; }
.intro-heading h1 { font: 400 clamp(58px,6.8vw,82px)/1.06 var(--serif); letter-spacing: -.045em; margin-bottom: 12px; }
.intro-heading h1 span { color: var(--accent); }
.intro-role { color: var(--muted); font-size: 14px; line-height: 1.65; }
.intro-role span { color: var(--ink); }
.portrait-frame { grid-area: portrait; width: 100%; max-width: 360px; justify-self: end; padding: 6px; border-radius: 22px; background: var(--surface); }
.portrait-mat { overflow: hidden; border-radius: 17px; }
.portrait-frame img { display: block; width: 100%; aspect-ratio: 9/10; object-fit: cover; object-position: 50% 35%; transform: scale(1.7); transform-origin: 50% 25%; }
.intro-research { grid-area: research; }
.intro-research h2 { max-width: 24ch; margin-bottom: 20px; font: 400 clamp(30px,3.3vw,40px)/1.12 var(--serif); letter-spacing: -.025em; }
.intro-research > p { font-size: 16px; line-height: 1.8; max-width: 61ch; }
.intro-links { margin-top: 24px; }
.resource-links { display: flex; flex-wrap: wrap; gap: 8px; }
.resource-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 11px; border: 1px solid transparent; border-radius: 6px; font-size: 13px; line-height: 1.3; background: var(--surface); transition: background 160ms ease, transform 160ms ease; }
.resource-link:hover { background: var(--tint); }
.intro-links .resource-link { min-height: 40px; padding-inline: 13px; background: var(--card); }
.intro-links .primary-link, .primary-link { color: var(--on-accent); background: var(--accent); }
.intro-links .primary-link:hover, .primary-link:hover { color: var(--on-accent); background: var(--hover); }
.intro-background { grid-area: background; display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 24px; margin-top: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.intro-background h2 { font: 400 24px/1.3 var(--serif); }
.intro-background p { font-size: 14px; line-height: 1.85; color: var(--muted); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 26px; }
.section-heading h1, .section-heading h2 { font: 400 48px/1.05 var(--serif); letter-spacing: -.035em; }
.section-subtitle { margin-top: 14px; color: var(--muted); font-size: 13px; }
.section-link { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; }
.section-link > span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); }
.surface-section .section-link > span { background: var(--card); }
.eyebrow { font-size: 11px; color: var(--muted); margin-bottom: 10px; }

/* A large lead project and two compact supporting cards. */
.work-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 16px; }
.work-card { min-width: 0; padding: 24px; background: var(--card); border-radius: 16px; }
.work-featured { grid-row: span 2; display: flex; flex-direction: column; padding: 30px; background: var(--tint); }
.work-card h3 { font: 400 29px/1.12 var(--serif); letter-spacing: -.015em; margin-bottom: 14px; }
.work-featured h3 { font-size: 52px; margin: 10px 0 18px; }
.work-card p:not(.eyebrow, .coverage, .metric-caption, .work-note, .work-deck) { font-size: 14px; line-height: 1.8; }
.work-featured p:not(.eyebrow, .work-note, .work-deck) { font-size: 15px; }
.work-deck { font: 400 29px/1.2 var(--serif); letter-spacing: -.015em; margin-bottom: 24px; }
.capability-list { margin: 26px 0 22px; padding: 0; list-style: none; font-size: 13px; }
.capability-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.work-note { color: var(--muted); font-size: 11px; margin-top: 18px; }
.work-featured > .work-note { margin-top: auto; padding-top: 16px; }
.coverage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; font: 400 clamp(25px,2.9vw,36px)/1.2 var(--serif); margin: 16px 0 4px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.coverage > span:first-child { color: var(--muted); }
.coverage-arrow { font-family: var(--sans); font-size: 22px; color: var(--muted); }
.coverage strong { color: var(--accent); font-weight: 400; }
.metric-caption { margin: 0 0 16px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.science-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
.science-notes h3 { font: 400 24px/1.25 var(--serif); margin-bottom: 10px; }
.science-notes p { font-size: 13px; line-height: 1.85; color: var(--muted); }

.research-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.research-filters button { min-height: 38px; padding: 9px 16px; border: 0; border-radius: 50px; background: var(--surface); color: var(--muted); font-size: 12px; }
.research-filters button:hover { color: var(--accent); }
.research-filters button[aria-pressed='true'] { color: var(--on-accent); background: var(--accent); }
.filter-status { font-size: 12px; color: var(--muted); margin-top: 14px; }
.research-year { display: grid; grid-template-columns: 98px minmax(0,1fr); gap: 30px; padding-top: 30px; }
.year-label { padding-top: 18px; font: 400 36px/1.1 var(--serif); letter-spacing: -.03em; color: var(--accent); }
.paper-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 16px; }
.paper-card { display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 12px; border-radius: 16px; background: var(--card); box-shadow: 0 3px 20px #231f1b06; }
.paper-heading { flex: 1; }
.paper-heading :is(h3,h4) { margin-bottom: 12px; font: 400 25px/1.22 var(--serif); letter-spacing: -.015em; }
.paper-heading :is(h3,h4) a { color: var(--ink); }
.paper-heading :is(h3,h4) a:hover { color: var(--accent); }
.paper-meta { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.paper-meta strong { color: var(--ink); font-weight: 600; }
.paper-status { display: block; margin-top: 4px; }
.journal-label { color: var(--accent); background: var(--tint); padding: 2px 5px; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.paper-card .resource-links { gap: 6px; }
.paper-card .resource-link { min-height: 32px; padding: 5px 9px; }
.paper-abstract { margin-top: 6px; font-size: 14px; }
.paper-abstract > summary { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 34px; padding: 7px 0; font-size: 13px; color: var(--accent); list-style: none; }
.paper-abstract > summary::-webkit-details-marker { display: none; }
.paper-abstract > summary::before { content: ''; flex-shrink: 0; width: 7px; height: 7px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(-45deg); transition: transform 160ms ease; }
.paper-abstract[open] > summary::before { transform: rotate(45deg); }
.paper-abstract > div { border-left: 2px solid var(--line); padding-left: 14px; margin: 8px 0; line-height: 1.8; }
.paper-grid:has(details[open]) { align-items: start; }
.paper-grid:has(details[open]) .paper-heading { flex: none; }
.research-archive .paper-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
.research-archive .paper-card { padding: 20px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: transparent; box-shadow: none; }
.research-archive .paper-heading :is(h3,h4) { font-size: 28px; }
.paper-summary { margin-bottom: 18px; font-size: 15px; color: var(--muted); }

.career-row { display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 36px; padding: 26px 0; border-top: 1px solid var(--line); }
.career-row:first-child { border-top: 0; padding-top: 6px; }
.career-organization h3 { font: 400 26px/1.2 var(--serif); }
.career-organization p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.career-row h4 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.career-row > div:last-child p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; }
.contact-grid { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 36px; }
.contact-grid h2 { font: 400 44px/1.1 var(--serif); letter-spacing: -.03em; }
.contact-grid p { max-width: 58ch; font-size: 15px; color: var(--muted); }
.contact-email { display: inline-block; font: 400 clamp(24px,3vw,32px)/1.3 var(--serif); margin: 18px 0; overflow-wrap: anywhere; }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding-block: 22px 30px; font-size: 12px; color: var(--muted); }
.site-footer a { color: var(--muted); }

.document-page { padding-top: 50px; padding-bottom: 72px; min-height: 72vh; }
.prose { max-width: 80ch; }
.prose h2 { font: 400 32px/1.25 var(--serif); margin: 36px 0 18px; }
.prose h3 { font: 400 26px/1.3 var(--serif); margin: 32px 0 12px; }
.prose h4 { margin: 26px 0 12px; }
.prose p, .prose li { font-size: 16px; line-height: 1.85; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 7px; }
.prose a { text-decoration: underline; }
.prose img { display: block; border-radius: 12px; margin-block: 24px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.paper-detail { max-width: 876px; padding-top: 38px; padding-bottom: 72px; }
.back-link { font-size: 13px; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.paper-detail h1 { font: 400 clamp(32px,4vw,46px)/1.15 var(--serif); letter-spacing: -.025em; margin: 18px 0 22px; }
.paper-takeaway { background: var(--surface); padding: 22px 24px; margin: 30px 0; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; }
.paper-takeaway h2 { font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.paper-takeaway p { font-size: 16px; }
.research-figure { margin-top: 32px; }
.research-figure img { display: block; max-width: 600px; width: 100%; background: #fff; border-radius: 10px; }
.research-figure figcaption { color: var(--muted); font-size: 12px; margin-top: 10px; }
.cv-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 26px; }
.cv-actions p { color: var(--muted); font-size: 13px; }
.cv-embed { display: block; width: 100%; height: 1050px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.teaching-figure { margin-top: 28px; }
.teaching-figure img { width: 600px; background: #fff; padding: 12px; border-radius: 12px; }
.teaching-figure figcaption { font-size: 13px; color: var(--muted); }

@media (hover:hover) and (pointer:fine) {
  .resource-link:hover { transform: translateY(-2px); }
}
@media (max-width:1050px) {
  .site-nav { flex-wrap: wrap; gap: 0; }
  .menu-toggle { margin-left: auto; }
  .nav-links { width: 100%; margin: 10px 0 0; padding: 8px 0; flex-wrap: wrap; gap: 6px 20px; }
  .nav-links > a { min-width: 100px; }
  .nav-ready:not(.menu-open) .nav-links { display: none; }
  .intro-grid { column-gap: 36px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .intro-heading h1 { font-size: 62px; }
  .intro-research h2 { font-size: 32px; }
  .intro-links .resource-link { padding-inline: 9px; font-size: 12px; }
  .research-year { grid-template-columns: 72px minmax(0,1fr); gap: 20px; }
  .paper-card { padding: 18px 18px 12px; }
}
@media (min-width:1051px) {
  .menu-toggle { display: none !important; }
}
@media (max-width:767px) {
  :root { scroll-padding-top: 90px; }
  .container { padding-inline: 22px; }
  .site-header { padding: 10px 12px 8px; }
  .site-nav { min-height: 58px; padding: 7px 16px; border-radius: 16px; }
  .home-section { padding-block: 46px; }
  .about-section { padding-top: 32px; padding-bottom: 36px; }
  .intro-grid { grid-template-columns: minmax(0,1fr) 108px; grid-template-areas: 'heading portrait' 'research research' 'background background'; gap: 26px 16px; }
  .intro-heading h1 { font-size: clamp(34px,10vw,44px); white-space: nowrap; margin-top: 6px; }
  .intro-role { font-size: 12px; }
  .portrait-frame { padding: 4px; border-radius: 14px; }
  .portrait-mat { border-radius: 11px; }
  .intro-research h2 { font-size: 34px; max-width: 25ch; }
  .intro-research > p { font-size: 15px; }
  .intro-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .intro-links .resource-link { min-height: 44px; }
  .intro-background { display: block; padding-top: 20px; margin-top: 0; }
  .intro-background h2 { font-size: 22px; margin-bottom: 14px; }
  .intro-background p { font-size: 13px; }
  .section-heading { gap: 16px; }
  .section-heading h1, .section-heading h2 { font-size: 38px; }
  .section-subtitle { font-size: 12px; line-height: 1.8; }
  .section-link { font-size: 11px; gap: 6px; }
  .section-link > span { width: 22px; height: 22px; }
  #experience .section-heading { flex-wrap: wrap; gap: 6px; }
  .work-grid { grid-template-columns: minmax(0,1fr); }
  .work-featured { grid-row: auto; }
  .work-card, .work-featured { padding: 22px; }
  .work-featured h3 { font-size: 42px; }
  .work-deck { font-size: 28px; }
  .capability-list { margin-top: 24px; }
  .coverage { font-size: 32px; }
  .science-notes { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .research-filters { gap: 6px; }
  .research-filters button { min-height: 44px; padding: 9px 12px; font-size: 11px; }
  .research-year { display: block; padding-top: 24px; }
  .year-label { font-size: 30px; padding-top: 0; margin-bottom: 14px; }
  .paper-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .paper-heading h4 { font-size: 25px; }
  .resource-link, .paper-card .resource-link, .paper-abstract > summary { min-height: 44px; }
  .career-row { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .contact-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .contact-grid h2 { font-size: 38px; }
  .document-page { padding-block: 32px 48px; }
  .paper-detail { padding-block: 28px 48px; }
  .cv-embed { height: 72vh; min-height: 450px; }
  .site-footer { font-size: 11px; }
}
@media (max-width:380px) {
  .intro-grid { grid-template-columns: minmax(0,1fr) 86px; gap: 24px 14px; }
  .intro-heading h1 { font-size: 34px; }
  .intro-role { font-size: 10px; }
  .intro-research h2 { font-size: 30px; }
  .section-heading { flex-wrap: wrap; align-items: start; gap: 6px; }
  .coverage { font-size: 27px; gap: 8px; }
}
@media (pointer:coarse) {
  .resource-link, .paper-card .resource-link, .paper-abstract > summary, .research-filters button { min-height: 44px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .resource-link:hover { transform: none; }
}
@media print {
  :root { color-scheme: light; --page: #fff; --surface: #fff; --card: #fff; --ink: #111; --muted: #444; --accent: #762326; --line: #ccc; --tint: #fff; }
  .site-header, .site-footer, .research-filters, .filter-status, .cv-embed, .skip-link { display: none; }
  .home-section, .document-page { padding-block: 24px; }
  .paper-card, .work-card, .career-row { break-inside: avoid; box-shadow: none; }
  .portrait-frame { max-width: 210px; }
}
