@font-face {
  font-family: 'Space Grotesk';
  src: url('./assets/space-grotesk.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #242424;
  --paper: #fafaf8;
  --white: #fff;
  --gold: #e4c45b;
  --muted: #63635f;
  --rule: #d9d9d3;
  --surface: #f1f1ee;
  --line: 1px solid var(--rule);
  --heading: 'Space Grotesk', Arial, sans-serif;
  --body: Arial, sans-serif;
  --sidebar: 246px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 var(--body); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; color: inherit; border-radius: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, p { margin: 0; }
h1, h2, h3, h4, h5 { font-family: var(--heading); line-height: 1.2; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, pre:focus-visible, summary:focus-visible { outline: 2px solid #8a701a; outline-offset: 5px; }
::selection { background: var(--gold); color: var(--ink); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: var(--gold); padding: 14px 22px; }
.skip-link:focus { top: 12px; }
.ui-icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.15em; max-width: none; }
.link-icon { display: block; width: 16px; height: 16px; flex: 0 0 16px; max-width: none; }

/* A quiet, fixed index keeps the whole site on one continuous page. */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); padding: 36px 20px 24px; background: var(--ink); color: var(--paper); z-index: 20; display: flex; flex-direction: column; border-right: 1px solid var(--ink); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 12px; margin: 0 6px 55px; font: 600 14px/1.2 var(--heading); letter-spacing: .7px; }
.brand-mark { width: 40px; height: 40px; flex: 0 0 40px; background: var(--gold); color: var(--ink); font: 600 31px/1 var(--heading); display: flex; align-items: center; justify-content: center; }
.brand-caption { display: block; font: 400 6px/1.4 var(--body); letter-spacing: 1px; margin-top: 8px; color: #b7b7b1; }
.nav-label { font-size: 9px; letter-spacing: 1.6px; color: #aeaea8; margin: 0 12px 17px; }
.main-nav { display: flex; flex-direction: column; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 12px 10px; border-left: 2px solid transparent; font-size: 12px; color: #d0d0c9; transition: background .15s, color .15s; }
.nav-item svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; flex-shrink: 0; }
.nav-item:hover { background: #303030; color: #fff; }
.nav-item.active { background: #34342f; color: var(--gold); border-left-color: var(--gold); }
.nav-index { font: 9px var(--heading); margin-left: auto; color: #b7b7ad; }
.nav-item.active .nav-index { color: var(--gold); }
.sidebar-bottom { margin-top: auto; padding: 42px 12px 0; }
.sidebar-note { border-top: 1px solid #474743; padding-top: 24px; }
.sidebar-note p { font: 500 19px/1.45 var(--heading); letter-spacing: -.4px; }
.sidebar-note > span { display: block; font-size: 10px; color: #b7b7b1; margin-top: 9px; }
.sidebar-socials { display: flex; gap: 18px; font-size: 11px; margin-top: 27px; }
.sidebar-socials a, .site-footer a { display: inline-flex; align-items: center; gap: 5px; }
.sidebar-socials a:hover { color: var(--gold); }
.motion-toggle { display: flex; gap: 10px; align-items: center; border: 0; background: none; color: #c7c7c0; padding: 0; margin-top: 23px; font-size: 10px; }
.motion-icon { display: inline-flex; align-items: center; justify-content: center; width: 14px; }
.sidebar-copyright { font-size: 9px; color: #aeaea8; margin-top: 24px; }
.mobile-header, .nav-scrim { display: none; }

main { margin-left: var(--sidebar); padding: 0 clamp(26px, 3.5vw, 64px); max-width: 1640px; }
.topbar { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 9px; letter-spacing: 1.1px; }
.topbar > div { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.topbar > a { display: inline-flex; gap: 12px; align-items: center; font-size: 11px; letter-spacing: 0; }
.topbar > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); display: inline-block; }
.topbar { flex-wrap: wrap; height: auto; min-height: 88px; padding: 18px 0; row-gap: 12px; }
.topbar .topbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; letter-spacing: 0; color: var(--ink); }
.topbar-actions > a { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
.overview { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(245px, 1fr); gap: 26px; }
.hero-main { border: var(--line); background: var(--white); padding: 32px 32px 0; display: flex; flex-direction: column; min-height: 430px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 500; letter-spacing: 1.2px; }
.hero-main h1 { font-size: clamp(40px, 3.7vw, 64px); font-weight: 600; letter-spacing: -2.5px; line-height: 1.12; margin-top: 32px; }
.underlined { position: relative; white-space: nowrap; }
.underlined::after { content: ''; position: absolute; height: 3px; background: var(--gold); bottom: -4px; left: 0; right: 0; }
.hero-description { font-size: 14px; line-height: 1.8; max-width: 410px; margin-top: 25px; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 28px 0 32px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 44px; padding: 11px 17px; font-size: 11px; font-weight: 500; border: 1px solid var(--rule); transition: background .15s, border-color .15s; background: var(--white); }
.button:hover { border-color: var(--ink); background: var(--surface); }
.button-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.button-dark:hover { background: #41413d; }
.button-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.button-gold:hover { background: #d9b948; border-color: #d9b948; }
.button-light { background: transparent; }
.button > span { font-size: 18px; line-height: 1; }
.hero-text-link { font-size: 11px; max-width: 110px; line-height: 1.6; }
.hero-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-text-link .ui-icon { width: 12px; height: 12px; }
.hero-footnote { border-top: var(--line); font-size: 8px; color: var(--muted); letter-spacing: 1px; padding: 15px 0; margin-top: auto; }
.profile-card { background: var(--white); border: var(--line); padding: 24px 25px 0; display: flex; flex-direction: column; }
.profile-top { display: flex; justify-content: center; }
.tiny-label { font-size: 7px; letter-spacing: 1.2px; color: var(--muted); }
.portrait-wrap { width: 160px; height: 182px; margin: 25px auto 22px; }
.portrait-wrap img { height: 100%; width: 100%; object-fit: cover; object-position: center 28%; filter: grayscale(1); }
.profile-card h2 { font-size: 24px; letter-spacing: -.7px; font-weight: 600; }
.name-dot, .heading-dot { color: #897020; }
.profile-card > p { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.7; }
.profile-bottom { border-top: var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding: 15px 0; font-size: 10px; }
.profile-bottom > a { font-size: 12px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.focus-strip { display: flex; justify-content: space-between; align-items: center; border-bottom: var(--line); margin-top: 22px; padding: 17px 0 22px; gap: 16px; flex-wrap: wrap; }
.focus-strip > span { font-size: 11px; display: flex; align-items: center; gap: 9px; }
.focus-strip .focus-intro { font-size: 8px; letter-spacing: 1.2px; color: var(--muted); text-transform: uppercase; }
.focus-strip i { display: inline-flex; font-size: 15px; font-style: normal; }

.content-section { padding-top: 64px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-kicker { font-size: 9px; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 10px; }
.section-heading h2 { font-size: 32px; letter-spacing: -1.2px; font-weight: 500; }
.section-aside { font-size: 11px; color: var(--muted); padding-bottom: 4px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; font-size: 11px; white-space: nowrap; }
.text-link > span { font-size: 20px; line-height: 1; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Dated updates read as a journal, with older items available inline. */
.news-section { padding-top: 42px; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: var(--line); }
.news-list li { display: grid; grid-template-columns: 115px minmax(0,1fr); gap: 24px; padding: 18px 0; border-bottom: var(--line); }
.news-list time { font: 500 11px/1.8 var(--heading); color: var(--muted); padding-top: 1px; }
.news-list p { font-size: 13px; line-height: 1.8; max-width: 780px; }
.news-list a { text-decoration: underline; text-decoration-color: #b9a044; text-underline-offset: 4px; }
.news-list a:hover { text-decoration-color: var(--ink); }
.news-list strong { font-weight: 600; }
.news-archive summary { display: flex; align-items: center; gap: 14px; list-style: none; width: fit-content; cursor: pointer; font-size: 11px; color: var(--muted); padding: 17px 0 0; }
.news-archive summary::-webkit-details-marker { display: none; }
.news-archive summary span { color: var(--ink); font-size: 17px; }
.news-archive[open] summary { margin-bottom: 16px; }
.news-archive[open] summary span { transform: rotate(45deg); }

.research-toolbar { margin-bottom: 24px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button { padding: 8px 12px; border: var(--line); font-size: 11px; background: transparent; transition: background .15s; }
.filter-button.selected { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-button > span { font-size: 9px; margin-left: 7px; }
.filter-button:hover { border-color: #777770; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.project-card { border: var(--line); background: var(--white); display: flex; flex-direction: column; min-width: 0; transition: border-color .15s; }
.project-card:hover { border-color: #93938b; }
.project-visual { background: var(--surface); padding: 16px 18px 0; border-bottom: var(--line); overflow: hidden; }
.project-visual-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.project-index { font: 500 9px var(--heading); letter-spacing: 1px; color: var(--muted); }
.project-type { border: 1px solid #cacac3; padding: 4px 7px; font-size: 8px; letter-spacing: .3px; text-transform: uppercase; }
.project-visual .research-diagram { margin-top: 10px; }
.project-body { padding: 25px 24px 21px; display: flex; flex-direction: column; flex: 1; }
.project-tags { display: flex; gap: 7px; flex-wrap: wrap; font-size: 8px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); margin-bottom: 13px; }
.project-tags span + span::before { content: '·'; margin-right: 7px; }
.project-body h3 { font-size: 25px; font-weight: 500; letter-spacing: -.8px; }
.project-body > p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 13px; }
.project-bottom { display: flex; gap: 12px; justify-content: space-between; align-items: center; border-top: var(--line); margin-top: 23px; padding-top: 16px; }
.project-metric { font-size: 10px; color: var(--muted); line-height: 1.6; max-width: 75%; }
.project-metric strong { font: 600 18px var(--heading); color: var(--ink); margin-right: 4px; }
.project-open { border: 1px solid #c9c9c1; width: 36px; height: 36px; background: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.project-open .ui-icon { width: 18px; height: 18px; }
.project-open:hover { background: var(--gold); border-color: var(--gold); }

/* Publications remain a continuation of the research section. */
#publications { padding-top: 36px; }
.publication-source { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.publication-controls { display: flex; gap: 12px; margin-bottom: 20px; }
.search-box { display: flex; gap: 13px; align-items: center; border: var(--line); padding: 12px 15px; flex: 1; min-width: 0; background: var(--white); }
.search-box svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.6; flex-shrink: 0; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; min-width: 0; }
.search-box:focus-within { outline: 2px solid #8a701a; outline-offset: 3px; }
.search-box input:focus-visible { outline: 0; }
.year-select { display: flex; border: var(--line); background: var(--white); padding: 0 10px; }
.year-select select { background: transparent; border: 0; min-width: 95px; font-size: 11px; cursor: pointer; color: var(--ink); }
.publication-list { border-top: var(--line); }
.publication-row { display: grid; grid-template-columns: 48px minmax(0,1fr) 36px; gap: 18px; padding: 23px 0; border-bottom: var(--line); align-items: start; }
.publication-year { font: 500 12px var(--heading); padding-top: 2px; }
.publication-content h3 { font-size: 16px; font-weight: 500; letter-spacing: -.2px; line-height: 1.5; }
.publication-content h3 > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.publication-authors { font-size: 11px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.publication-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 10px; font-size: 10px; color: var(--muted); }
.publication-badge { padding: 2px 6px; border: var(--line); background: var(--surface); color: #53534f; font-size: 9px; }
.citation-button { background: transparent; border: var(--line); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.citation-button .ui-icon { width: 18px; height: 18px; }
.citation-button:hover { background: var(--gold); border-color: var(--gold); }
.publication-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; gap: 15px; }
.publication-footer > span { font-size: 11px; color: var(--muted); }
.empty-state { padding: 45px 20px; border-bottom: var(--line); text-align: center; color: var(--muted); font-size: 13px; }
.empty-state strong { display: block; font: 500 22px var(--heading); color: var(--ink); margin-bottom: 8px; }

.about-grid { display: grid; grid-template-columns: 1fr 1.65fr; gap: 45px; border-top: var(--line); border-bottom: var(--line); padding: 28px 0; }
.about-grid > h3 { font-size: 26px; font-weight: 500; letter-spacing: -.7px; line-height: 1.35; }
.about-copy p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.about-copy p + p { margin-top: 16px; }
.career-group { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 30px; border-top: var(--line); }
.career-group + .career-group { margin-top: 35px; }
.career-label { font-size: 14px; font-weight: 500; padding-top: 27px; }
.career-list { list-style: none; margin: 0; padding: 0; }
.career-entry { display: grid; grid-template-columns: 137px minmax(0,1fr); gap: 20px; padding: 26px 0; border-bottom: var(--line); }
.career-date { font: 400 11px/1.8 var(--heading); color: var(--muted); padding-top: 3px; }
.current-label { display: block; width: fit-content; font: 10px var(--body); color: var(--ink); background: #f1e6b9; padding: 3px 7px; margin-top: 8px; }
.career-body h4 { font-size: 19px; font-weight: 500; letter-spacing: -.4px; line-height: 1.35; }
.career-body .career-org { font-size: 12px; color: var(--ink); margin: 7px 0 12px; }
.career-org span { color: var(--muted); }
.career-body p { font-size: 12px; line-height: 1.85; color: var(--muted); }
.career-body p + p { margin-top: 6px; }
.career-body strong { color: #484843; font-weight: 500; }
.career-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.career-tags span { font-size: 10px; padding: 3px 7px; border: var(--line); }
.appointment-list { list-style: none; padding: 0 0 0 16px; margin: 22px 0 0; border-left: var(--line); }
.appointment-list li { position: relative; }
.appointment-list li::before { content: ''; position: absolute; left: -19px; top: 7px; width: 5px; height: 5px; background: #8b8b82; }
.appointment-list li + li { margin-top: 22px; }
.appointment-heading { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.appointment-heading h5 { font-size: 13px; font-weight: 500; line-height: 1.5; }
.appointment-heading > span { font-size: 10px; color: var(--muted); }

.contact-section { background: var(--surface); border-top: 2px solid var(--gold); padding: 35px; margin-top: 64px; }
.contact-section .eyebrow { color: var(--muted); }
.contact-section h2 { font-size: 38px; font-weight: 500; letter-spacing: -1.3px; margin-top: 16px; }
.contact-section h2 > span { color: #897020; }
.contact-section p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 15px; }
.contact-actions { display: flex; gap: 25px; align-items: center; margin-top: 25px; }
.copy-email { background: none; border: 0; color: var(--ink); font-size: 11px; padding: 12px 0; display: flex; gap: 12px; }
.copy-email:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { padding: 28px 0; display: flex; gap: 18px; align-items: center; justify-content: space-between; font-size: 9px; color: var(--muted); }
.site-footer a { font-size: 10px; color: var(--ink); }

/* Native dialogs preserve keyboard navigation and focus restoration. */
dialog { border: var(--line); padding: 40px; background: var(--paper); color: var(--ink); box-shadow: 0 16px 70px #0003; width: min(780px,calc(100% - 36px)); max-height: calc(100dvh - 50px); overflow: auto; }
dialog::backdrop { background: #24242499; }
.dialog-close { position: absolute; right: 15px; top: 15px; z-index: 3; }
.icon-button { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: var(--line); background: var(--white); }
.icon-button:hover { background: var(--gold); }
.icon-button svg { width: 20px; height: 20px; }
.dialog-title { font-size: 30px; font-weight: 500; letter-spacing: -.8px; line-height: 1.3; margin: 15px 25px 20px 0; }
.dialog-visual { border: var(--line); background: var(--surface); padding: 10px 35px; margin-bottom: 25px; }
.dialog-summary { font-size: 14px; line-height: 1.8; }
.dialog-section { margin-top: 24px; }
.dialog-section h3 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }
.dialog-section p, .dialog-section li { font-size: 13px; line-height: 1.8; color: var(--muted); }
.dialog-section ul { padding-left: 20px; margin: 0; }
.dialog-result { background: var(--white); border-left: 2px solid var(--gold); padding: 18px 20px; margin-top: 24px; }
.dialog-result h3 { font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.dialog-result p { font-size: 13px; line-height: 1.8; }
.dialog-source { font-size: 11px; color: var(--muted); margin: 20px 0; line-height: 1.8; overflow-wrap: anywhere; }
.dialog-notice { font-size: 11px; color: var(--muted); line-height: 1.7; padding-top: 18px; }
.citation-dialog h2 { font-size: 28px; font-weight: 500; margin: 14px 0 25px; }
.citation-dialog pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--white); border: var(--line); padding: 20px; font-size: 11px; line-height: 1.8; max-height: 45vh; overflow: auto; }
.citation-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 23px; }
.toast { position: fixed; bottom: 24px; left: calc(50% + var(--sidebar)/2); transform: translate(-50%,25px); background: var(--ink); color: var(--white); border: 1px solid var(--gold); padding: 12px 22px; z-index: 100; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 40px); text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%,0); }
dialog .toast { left: 50%; bottom: 18px; }
body.dialog-open { overflow: hidden; }

@media (min-width: 1550px) {
  .hero-main { padding: 40px 40px 0; }
  .hero-main h1 { font-size: 66px; }
  .hero-description { font-size: 15px; }
  .profile-card { padding: 27px 32px 0; }
  .portrait-wrap { width: 190px; height: 216px; }
}

@media (max-width: 1180px) {
  :root { --sidebar: 215px; }
  .sidebar { padding: 30px 12px 22px; }
  .brand { font-size: 12px; gap: 9px; }
  .brand-caption { font-size: 5px; }
  .nav-item { font-size: 11px; gap: 8px; }
  main { padding: 0 28px; }
  .overview { grid-template-columns: minmax(0,1.5fr) minmax(225px,1fr); gap: 20px; }
  .hero-main { padding: 28px 24px 0; }
  .hero-main h1 { font-size: 43px; letter-spacing: -1.8px; }
  .hero-main .eyebrow { font-size: 7px; letter-spacing: .8px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { padding: 10px 12px; gap: 12px; }
  .hero-text-link { font-size: 10px; }
  .hero-footnote { font-size: 7px; letter-spacing: .5px; }
  .profile-card { padding: 24px 20px 0; }
  .portrait-wrap { width: 145px; height: 166px; }
  .profile-card h2 { font-size: 22px; }
  .project-grid { gap: 20px; }
  .project-body { padding: 22px 20px; }
  .project-body h3 { font-size: 23px; }
  .career-group { grid-template-columns: 110px minmax(0,1fr); gap: 20px; }
  .career-entry { grid-template-columns: 1fr; gap: 9px; }
  .career-date { display: flex; align-items: center; gap: 12px; }
  .current-label { margin: 0; }
}

@media (max-width: 950px) and (min-width: 761px) {
  .overview { grid-template-columns: 1fr; }
  .hero-main { min-height: 410px; }
  .hero-main h1 { font-size: 55px; }
  .profile-card { display: grid; grid-template-columns: 112px 1fr; gap: 0 23px; padding: 22px; }
  .profile-top { display: none; }
  .portrait-wrap { grid-row: 1/4; width: 112px; height: 135px; margin: 0; }
  .profile-card h2, .profile-card > p, .profile-bottom { grid-column: 2; }
  .profile-bottom { padding: 10px 0 0; margin-top: 12px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-visual .research-diagram { max-height: 300px; }
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .section-aside { display: none; }
}

@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  :root { --mobile-header-height: 65px; }
  html { scroll-padding-top: calc(var(--mobile-header-height) + 16px); }
  .mobile-header { height: var(--mobile-header-height); border-bottom: var(--line); padding: 10px 22px; background: var(--paper); position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: minmax(0,1fr) 44px; grid-template-rows: 44px; align-items: center; gap: 12px; }
  .mobile-brand { display: flex; gap: 11px; align-items: center; font: 500 11px var(--heading); letter-spacing: 1px; }
  .mobile-brand .brand-mark { width: 32px; height: 32px; flex-basis: 32px; font-size: 26px; }
  .mobile-header .icon-button { height: 44px; width: 44px; }
  .sidebar { width: 265px; top: var(--mobile-header-height); transform: translateX(-100%); visibility: hidden; transition: transform .2s; padding: 27px 20px; z-index: 25; }
  .sidebar.is-open { transform: translateX(0); visibility: visible; }
  .sidebar .brand, .sidebar-note { display: none; }
  .sidebar .nav-item { font-size: 13px; padding: 13px 12px; }
  .sidebar-bottom { padding-top: 30px; }
  .sidebar-socials { font-size: 12px; }
  .motion-toggle { font-size: 12px; }
  .nav-scrim { display: block; position: fixed; inset: var(--mobile-header-height) 0 0; background: #24242480; z-index: 24; }
  .mobile-nav-open { overflow: hidden; }
  main { margin: 0; padding: 0 24px; }
  .topbar { min-height: 66px; }
  .profile-bottom { flex-wrap: wrap; gap: 8px 12px; }
  .overview { grid-template-columns: minmax(0,1.5fr) minmax(220px,1fr); gap: 18px; }
  .hero-main h1 { font-size: 40px; }
  .hero-actions { flex-wrap: wrap; }
  .hero-description { font-size: 12px; }
  .profile-card h2 { font-size: 21px; }
  .section-heading h2 { font-size: 29px; }
  .section-aside { display: none; }
  .content-section { padding-top: 48px; }
  .news-section { padding-top: 36px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-visual .research-diagram { max-height: 330px; }
  .about-grid { grid-template-columns: 1fr; gap: 22px; }
  .career-group { grid-template-columns: 1fr; gap: 0; }
  .career-label { padding: 24px 0 0; font-size: 15px; }
  .career-entry { grid-template-columns: 135px minmax(0,1fr); gap: 20px; }
  .career-date { display: block; }
  .current-label { margin-top: 8px; }
  .contact-section { margin-top: 48px; }
  .site-footer > span:nth-child(2) { display: none; }
  .toast { left: 50%; }
  dialog { padding: 35px 25px; }
}

@media (max-width: 560px) {
  main { padding: 0 20px; }
  .mobile-header { padding: 10px 20px; }
  .topbar { font-size: 7px; letter-spacing: .7px; }
  .topbar > a { font-size: 10px; }
  .overview { grid-template-columns: 1fr; gap: 18px; }
  .hero-main { padding: 28px 25px 0; min-height: 410px; }
  .hero-main .eyebrow { font-size: 7px; letter-spacing: .7px; }
  .hero-main h1 { font-size: clamp(36px,10vw,52px); letter-spacing: -1.7px; margin-top: 28px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 20px; flex-wrap: nowrap; }
  .hero-actions .button { font-size: 10px; gap: 16px; padding: 11px 13px; flex-shrink: 0; }
  .hero-text-link { font-size: 10px; max-width: 100px; }
  .hero-footnote { font-size: 6px; letter-spacing: .6px; }
  .profile-card { display: grid; grid-template-columns: 95px minmax(0,1fr); gap: 0 20px; padding: 22px; }
  .profile-top { display: none; }
  .portrait-wrap { grid-row: 1/4; width: 95px; height: 120px; margin: 0; }
  .profile-card h2 { grid-column: 2; font-size: 21px; }
  .profile-card > p { grid-column: 2; font-size: 10px; margin-top: 7px; }
  .profile-bottom { grid-column: 2; margin-top: 12px; padding: 10px 0 0; font-size: 9px; }
  .focus-strip { gap: 12px; padding-bottom: 20px; }
  .focus-strip .focus-intro { width: 100%; font-size: 8px; }
  .focus-strip > span { font-size: 10px; gap: 7px; }
  .focus-strip > span i { font-size: 12px; }
  .section-heading { gap: 14px; }
  .section-heading h2 { font-size: 28px; letter-spacing: -.9px; }
  .section-kicker { font-size: 8px; letter-spacing: 1.2px; }
  .news-list li { grid-template-columns: 1fr; gap: 6px; padding: 17px 0; }
  .news-list p { font-size: 12px; }
  .news-list time { font-size: 10px; }
  .filter-button { font-size: 10px; padding: 8px 10px; }
  .project-visual { padding: 15px 13px 0; }
  .project-type { font-size: 7px; }
  .project-index { font-size: 8px; }
  .project-body { padding: 23px; }
  .project-body h3 { font-size: 25px; }
  .project-body > p { font-size: 12px; }
  .project-tags { font-size: 8px; }
  .publication-controls { gap: 8px; }
  .search-box { padding: 11px 10px; gap: 8px; }
  .search-box input { font-size: 10px; }
  .year-select { padding: 0 7px; }
  .year-select select { min-width: 78px; font-size: 10px; }
  .publication-row { grid-template-columns: 34px minmax(0,1fr) 30px; gap: 10px; padding: 22px 0; }
  .publication-content h3 { font-size: 14px; }
  .publication-authors { font-size: 10px; }
  .publication-meta { font-size: 9px; }
  .publication-year { font-size: 11px; }
  .citation-button { width: 29px; height: 29px; }
  .publication-footer > span { font-size: 10px; max-width: 120px; }
  .publication-footer .button { font-size: 10px; padding: 9px 11px; gap: 12px; }
  .about-grid > h3 { font-size: 25px; }
  .about-copy p { font-size: 12px; }
  #experience .section-heading { flex-direction: column; align-items: flex-start; }
  .career-entry { grid-template-columns: 1fr; gap: 9px; padding: 25px 0; }
  .career-date { display: flex; align-items: center; gap: 12px; font-size: 10px; }
  .current-label { margin: 0; }
  .career-body h4 { font-size: 19px; }
  .career-body p { font-size: 12px; }
  .career-body .career-org { font-size: 11px; }
  .contact-section { padding: 28px 24px; }
  .contact-section .eyebrow { font-size: 8px; }
  .contact-section h2 { font-size: 32px; }
  .contact-section p { font-size: 12px; }
  .contact-section p br { display: none; }
  .contact-actions { gap: 20px; }
  .site-footer { font-size: 8px; gap: 12px; }
  dialog { width: calc(100% - 26px); padding: 35px 21px 25px; max-height: calc(100dvh - 35px); }
  .dialog-title { font-size: 26px; }
  .dialog-visual { padding: 0; }
  .dialog-summary, .dialog-result p { font-size: 12px; }
  .dialog-section li { font-size: 12px; }
  .citation-dialog pre { font-size: 10px; padding: 14px; }
  .citation-actions { gap: 10px; }
  .citation-actions .button { font-size: 10px; gap: 15px; padding: 10px 14px; }
}

@media (max-width: 360px) {
  main { padding: 0 15px; }
  .hero-main { padding: 25px 19px 0; }
  .hero-main h1 { font-size: 35px; }
  .hero-main .eyebrow { font-size: 6px; }
  .hero-actions { gap: 14px; }
  .hero-actions .button { gap: 9px; }
  .hero-text-link { font-size: 9px; }
  .profile-card { padding: 19px 15px; gap: 0 15px; grid-template-columns: 85px minmax(0,1fr); }
  .portrait-wrap { width: 85px; height: 112px; }
  .profile-card h2 { font-size: 19px; }
  .focus-strip > span { font-size: 9px; }
  .section-heading h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
html[data-motion='paused'] { scroll-behavior: auto; }
html[data-motion='paused'] *, html[data-motion='paused'] *::before, html[data-motion='paused'] *::after { animation-play-state: paused !important; }
