/* A quiet, dark visual system. Main pages share _layouts/academic.html. */
:root {
  color-scheme: dark;
  --background: #0b0d10;
  --surface: #11151b;
  --text: #eff2f6;
  --body: #bdc4ce;
  --muted: #969fab;
  --blue: #7acbf2;
  --blue-hover: #b7e4f8;
  --line: #262c35;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--background); color: var(--body); font-family: var(--font); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
::selection { color: var(--text); background: #274b73; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; transition: color .16s ease; }
a:hover { color: var(--blue-hover); text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
img { display: block; max-width: 100%; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { color: var(--text); line-height: 1.25; }
h1 { margin: 0 0 22px; font-size: clamp(36px, 4.3vw, 54px); font-weight: 600; letter-spacing: -.045em; }
h2 { margin: 0; font-size: 23px; font-weight: 550; letter-spacing: -.025em; }
h3 { font-size: 18px; font-weight: 550; }
strong { color: var(--text); font-weight: 550; }
.icon { flex: 0 0 17px; vertical-align: middle; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 10px 18px; background: var(--blue); color: var(--background); }
.skip-link:focus { top: 12px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .site-shell, .footer-inner { width: min(1104px, calc(100% - 96px)); margin-inline: auto; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: inline-flex; align-items: center; gap: 14px; color: var(--text); white-space: nowrap; }
.wordmark:hover { color: var(--text); text-decoration: none; }
.monogram { font-size: 29px; font-weight: 650; letter-spacing: -.075em; line-height: 1; }
.monogram span { color: var(--blue); }
.wordmark-name { font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.site-nav { display: flex; gap: 29px; align-items: center; }
.site-nav a { position: relative; padding: 32px 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--text); text-decoration: none; }
.site-nav a[aria-current]::after { content: ""; position: absolute; height: 2px; background: var(--blue); bottom: -1px; left: 0; right: 0; }
.site-shell { display: grid; grid-template-columns: 216px minmax(0, 1fr); column-gap: 76px; padding-top: 64px; padding-bottom: 100px; min-height: calc(100vh - 200px); }
.profile { min-width: 0; }
.profile-inner { position: sticky; top: 36px; }
.portrait-link { display: block; margin-bottom: 25px; }
.portrait { width: 216px; height: 224px; object-fit: cover; object-position: 50% 40%; border-radius: 6px; filter: saturate(.7); }
.profile-role { color: var(--text); font-size: 16px; line-height: 1.55; margin-bottom: 12px; font-weight: 500; }
.profile-role span { color: var(--muted); font-size: 14px; font-weight: 400; }
.profile-affiliations { font-size: 13px; line-height: 1.85; margin-bottom: 17px; }
.profile-affiliations a { color: var(--body); }
.affiliation-separator { display: none; }
.profile-location { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; margin-bottom: 23px; }
.cv-link { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border: 1px solid #334356; border-radius: 4px; font-size: 12px; }
.cv-link:hover { border-color: var(--blue); text-decoration: none; background: #101a26; }
.file-label { margin-left: auto; font-family: var(--mono); font-size: 10px; }
.profile-links { list-style: none; margin: 19px 0 0; padding: 0; }
.profile-links a { display: flex; align-items: center; gap: 10px; padding-block: 5px; color: var(--muted); font-size: 12px; }
.profile-links a > span { margin-left: auto; font-size: 13px; color: #69788b; }
.profile-links a:hover { color: var(--blue); text-decoration: none; }
.profile-note { border-top: 1px solid var(--line); margin: 25px 0 0; padding-top: 20px; font-family: var(--mono); font-size: 10px; line-height: 1.95; color: var(--muted); }
.main-content { min-width: 0; }
.main-content:focus { outline: none; }
.eyebrow { font: 10px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 18px; }
.home-heading .eyebrow { display: flex; align-items: center; gap: 9px; }
.home-heading .eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.home-heading h1 { margin-bottom: 12px; }
.home-subtitle { font-size: 20px; color: var(--muted); letter-spacing: -.015em; margin-bottom: 25px; }
.introduction { font-size: 16px; line-height: 1.85; }
.introduction p:last-child { margin-bottom: 0; }
.advisors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-left: 2px solid #335478; padding-left: 18px; margin-top: 27px; }
.advisors dt { color: var(--muted); font: 9px/1.6 var(--mono); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 5px; }
.advisors dd { font-size: 12px; line-height: 1.8; margin: 0; }
.content-section { margin-top: 52px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.section-heading h2 { display: flex; align-items: baseline; gap: 13px; }
.section-number { font: 10px var(--mono); color: var(--muted); letter-spacing: 0; }
.section-link { font-size: 11px; white-space: nowrap; }
.news-list { list-style: none; margin: 0; padding: 8px 0 0; }
.news-list li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding-top: 14px; font-size: 13px; line-height: 1.75; }
.news-list time { color: var(--muted); font: 10px/2.2 var(--mono); }
.news-list p { margin: 0; }
.news-archive { margin-top: 12px; font-size: 12px; }
.news-archive summary { color: var(--muted); cursor: pointer; width: fit-content; }
.news-archive summary:hover { color: var(--blue); }
.research-paper { border-bottom: 1px solid var(--line); padding: 24px 0 25px; }
.research-paper:last-child { border-bottom: 0; padding-bottom: 0; }
.paper-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font: 10px/1.6 var(--mono); margin-bottom: 10px; }
.paper-year { margin-left: auto; }
.paper-distinction { display: inline-block; color: var(--blue); font: 9px/1.6 var(--mono); border: 1px solid #334d6c; border-radius: 3px; padding: 1px 7px; text-transform: uppercase; letter-spacing: .02em; }
.research-paper h3 { margin: 0 0 9px; font-size: 18px; line-height: 1.45; letter-spacing: -.018em; }
.research-paper h3 a { color: var(--blue); }
.research-paper h3 a:hover { color: var(--blue-hover); }
.paper-authors { margin-bottom: 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.paper-authors strong { color: var(--body); font-weight: 500; }
.paper-summary { font-size: 14px; line-height: 1.8; color: var(--body); margin-bottom: 12px; }
.paper-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 8px; font-size: 12px; }
.paper-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 24px; }
.research-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; padding-top: 22px; }
.topic-symbol { color: var(--blue); font: italic 24px Georgia, serif; display: block; margin-bottom: 15px; }
.research-topics h3 { font-size: 14px; line-height: 1.5; margin: 0 0 9px; }
.research-topics p { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
.background-note { padding-top: 22px; font-size: 13px; line-height: 1.9; }
.contact-note { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 25px; font-size: 13px; }
.contact-note p { margin: 0; }
.page-heading { margin-bottom: 38px; }
.page-heading h1 { font-size: 42px; }
.page-intro { margin-bottom: 0; font-size: 15px; line-height: 1.85; color: var(--muted); }
.publication-year { font: 12px/1.6 var(--mono); color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); margin: 38px 0 0; }
.publication-year:first-child { margin-top: 0; }
.publication-group + .publication-group { margin-top: 42px; }
.back-link { display: inline-block; font-size: 12px; margin-bottom: 30px; }
.paper-heading h1 { font-size: clamp(29px, 3.2vw, 38px); line-height: 1.3; letter-spacing: -.035em; }
.paper-heading .paper-authors { font-size: 13px; }
.paper-heading .paper-links { margin-top: 22px; font-size: 13px; }
.paper-heading .eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.prose { font-size: 15px; line-height: 1.95; }
.prose h2 { font-size: 23px; margin-bottom: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.prose h3 { margin-top: 30px; }
.prose ul { padding-left: 20px; }
.cv-download { display: inline-flex; align-items: center; gap: 12px; padding: 11px 17px; border-radius: 4px; border: 1px solid #334d6c; font-size: 13px; background: #101923; }
.cv-download:hover { border-color: var(--blue); text-decoration: none; }
.cv-download small { font: 10px var(--mono); color: var(--muted); }
.timeline { margin-top: 4px; }
.timeline-item { display: grid; grid-template-columns: 98px minmax(0, 1fr); gap: 22px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 0; }
.timeline-date { color: var(--muted); font: 10px/2 var(--mono); }
.timeline-item h3 { font-size: 15px; line-height: 1.55; margin: 0 0 5px; }
.timeline-item p { font-size: 13px; line-height: 1.8; margin: 0; }
.timeline-item .timeline-detail { color: var(--muted); font-size: 12px; margin-top: 6px; }
.event-location { color: var(--muted); font-size: 12px; }
.skills { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; }
.skills h3 { font: 10px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 10px; }
.skills p { font-size: 13px; margin: 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 26px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-inner p { margin: 0; font-size: 10px; color: var(--muted); }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--blue); }
.footer-separator { color: #5e6b7b; padding-inline: 8px; }
@media (min-width: 1500px) { .header-inner, .site-shell, .footer-inner { width: 1140px; } .site-shell { column-gap: 88px; } }
@media (max-width: 1000px) {
  .header-inner, .site-shell, .footer-inner { width: calc(100% - 64px); }
  .site-shell { grid-template-columns: 184px minmax(0, 1fr); column-gap: 42px; padding-top: 48px; }
  .portrait { width: 184px; height: 196px; }
  .site-nav { gap: 23px; }
  .wordmark-name { display: none; }
  .research-topics { gap: 18px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 24px; }
  .header-inner, .site-shell, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; gap: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 11px; padding-block: 25px; }
  .monogram { font-size: 26px; }
  .site-shell { display: block; padding-top: 32px; padding-bottom: 56px; }
  .profile-inner { position: static; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 23px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 32px; }
  .portrait-link { margin: 0; }
  .portrait { width: 100px; height: 115px; border-radius: 4px; }
  .profile-role { font-size: 14px; margin-bottom: 6px; }
  .profile-role br { display: none; }
  .profile-role span { display: block; font-size: 12px; }
  .profile-affiliations { font-size: 11px; margin-bottom: 7px; }
  .profile-affiliations br { display: none; }
  .affiliation-separator { display: inline; color: var(--muted); }
  .profile-location { font-size: 10px; margin-bottom: 0; }
  .profile-location .icon { width: 13px; height: 13px; flex-basis: 13px; }
  .profile-info { display: contents; }
  .profile-role, .profile-affiliations, .profile-location { grid-column: 2; }
  .profile-role { grid-row: 1; align-self: start; }
  .profile-affiliations { grid-row: 1; margin-top: 52px; align-self: start; }
  .profile-location { grid-row: 1; margin-top: 94px; align-self: start; }
  .cv-link { grid-column: 1 / -1; width: fit-content; padding: 7px 11px; font-size: 11px; grid-row: 2; }
  .file-label { margin-left: 8px; }
  .profile-links { grid-column: 1 / -1; grid-row: 3; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: -11px 0 0; }
  .profile-links a { font-size: 10px; gap: 6px; }
  .profile-links .icon { width: 14px; height: 14px; flex-basis: 14px; }
  .profile-links a > span { display: none; }
  .profile-note { display: none; }
  .eyebrow { font-size: 9px; letter-spacing: .09em; margin-bottom: 13px; }
  h1, .page-heading h1 { font-size: 37px; }
  .home-subtitle { font-size: 18px; margin-bottom: 22px; }
  .introduction { font-size: 15px; }
  .advisors { gap: 20px; margin-top: 25px; padding-left: 14px; }
  .advisors dt { font-size: 8px; }
  .advisors dd { font-size: 11px; }
  .content-section { margin-top: 38px; }
  h2 { font-size: 21px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { gap: 9px; }
  .section-link { font-size: 10px; }
  .news-list li { grid-template-columns: 65px minmax(0,1fr); gap: 10px; font-size: 12px; }
  .news-list time { font-size: 9px; }
  .research-paper h3 { font-size: 17px; }
  .paper-authors { font-size: 10px; }
  .paper-summary { font-size: 12px; }
  .paper-meta { font-size: 9px; }
  .research-topics { grid-template-columns: 1fr; gap: 22px; }
  .research-topics article { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 2px 15px; }
  .topic-symbol { grid-row: 1 / 3; margin: 0; }
  .research-topics h3 { margin-bottom: 4px; }
  .research-topics p { grid-column: 2; }
  .timeline-item { grid-template-columns: 74px minmax(0,1fr); gap: 15px; }
  .timeline-date { font-size: 9px; }
  .timeline-item h3 { font-size: 14px; }
  .timeline-item p { font-size: 12px; }
  .paper-heading h1 { font-size: 30px; }
  .footer-inner { display: block; padding-block: 22px; }
  .footer-inner p + p { margin-top: 8px; }
  .footer-inner p > span:last-child { display: block; }
  .footer-separator { display: none; }
}
@media (max-width: 360px) {
  .header-inner, .site-shell, .footer-inner { width: calc(100% - 32px); }
  .site-nav { gap: 13px; }
  .site-nav a { font-size: 10px; }
  .header-inner { gap: 13px; }
  .profile-inner { column-gap: 17px; }
  .advisors { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
@media print {
  :root { --background: #fff; --text: #111; --body: #222; --muted: #555; --blue: #18518a; --line: #ddd; }
  body { font-size: 11pt; }
  .site-header, .profile, .site-footer, .skip-link { display: none; }
  .site-shell { display: block; width: 100%; padding: 0; }
  .research-paper, .timeline-item { break-inside: avoid; }
  .paper-summary, .timeline-item p { font-size: 10pt; }
  a { color: var(--blue); }
}
