:root {
  color-scheme: light;
  --paper: #fcfbf8;
  --ink: #26323a;
  --muted: #5e6b73;
  --accent: #24566c;
  --rule: #dedfd9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #143a4d; text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 1px; }
p { margin: 0 0 1.2em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(2.3rem, 4vw, 2.9rem); line-height: 1.16; letter-spacing: -.035em; margin: 0; }
h2 { font-size: 1.65rem; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 22px; }
h3 { font-size: 1.28rem; line-height: 1.4; margin: 0 0 8px; }
.skip-link { position: fixed; z-index: 10; top: -100px; left: 16px; padding: 10px 18px; background: var(--paper); border: 2px solid var(--accent); }
.skip-link:focus { top: 12px; }
.site-header { border-top: 4px solid var(--accent); border-bottom: 1px solid var(--rule); }
.header-inner { max-width: 1100px; margin: auto; padding: 27px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-name { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
nav { display: flex; gap: 30px; }
nav a { position: relative; padding: 4px 0; color: var(--muted); font-size: .9rem; text-decoration: none; }
nav a[aria-current] { color: var(--accent); }
nav a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); }
.site-body { max-width: 1100px; margin: auto; display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 80px; padding: 64px 36px 82px; min-height: calc(100vh - 190px); }
.profile-photo { display: block; width: 244px; max-width: 100%; height: 280px; object-fit: cover; object-position: 50% 46%; border-radius: 3px; margin-bottom: 24px; }
.profile-name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; margin-bottom: 8px; letter-spacing: -.02em; }
.profile-role { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.profile-affiliation { font-size: .84rem; line-height: 1.7; margin-bottom: 13px; }
.profile-affiliation a { color: var(--ink); text-decoration: none; }
.profile-affiliation a:hover { color: var(--accent); text-decoration: underline; }
.profile-location { font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.profile-links { border-top: 1px solid var(--rule); padding-top: 17px; font-size: .79rem; }
.email-link { overflow-wrap: anywhere; }
.profile-resources { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px 20px; }
.profile-resources a { text-decoration: none; }
.profile-resources span { font-size: .8em; }
.main-content { min-width: 0; }
.main-content:focus { outline: none; }
.page-heading { margin: 0 0 30px; }
.eyebrow { color: var(--muted); font-size: .69rem; font-weight: 500; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 15px; }
.biography { font-size: 1.05rem; line-height: 1.85; }
.biography strong { font-weight: 500; }
.content-section { border-top: 1px solid var(--rule); margin-top: 38px; padding-top: 28px; }
.first-section { margin-top: 30px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-link { font-size: .8rem; white-space: nowrap; text-decoration: none; }
.research-paper + .research-paper { border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 28px; }
.paper-status { font-size: .67rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 8px; }
.paper-authors { font-size: .88rem; color: var(--muted); margin-bottom: 15px; }
.paper-summary { font-size: .95rem; margin-bottom: 0; }
.paper-placeholder { color: var(--muted); font-size: .9rem; font-style: italic; margin-bottom: 0; }
.paper-links { display: flex; gap: 22px; font-size: .85rem; margin-top: 14px; }
.paper-abstract { font-size: .9rem; margin-top: 16px; }
.paper-abstract summary { cursor: pointer; color: var(--accent); width: fit-content; }
.paper-abstract div { margin-top: 12px; }
.contact-section p { font-size: .92rem; margin-bottom: 0; }
.contact-section a { overflow-wrap: anywhere; }
.page-intro { font-size: 1.02rem; }
.project-list { padding-left: 20px; margin: 0; }
.project-list li { padding-left: 6px; margin-bottom: 12px; }
.project-list li::marker { color: var(--accent); font-size: .7em; }
.closing-note { color: var(--muted); font-size: .88rem; margin-top: 40px; }
.course + .course { border-top: 1px solid var(--rule); margin-top: 28px; padding-top: 28px; }
.course p { font-size: .92rem; margin-bottom: 4px; }
.course-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.course-level { font-size: .75rem; color: var(--muted); }
.course-role { color: var(--muted); }
.cv-entry + .cv-entry { margin-top: 24px; }
.cv-entry p { font-size: .92rem; margin-bottom: 0; }
.download-link { display: inline-flex; gap: 18px; align-items: center; border: 1px solid var(--accent); padding: 8px 17px; text-decoration: none; font-size: .9rem; }
.download-link:hover { background: #edf1f1; }
.site-footer { max-width: 1028px; margin: auto; border-top: 1px solid var(--rule); padding: 21px 0 27px; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .72rem; }
.site-footer p { margin: 0; }
.site-footer a { color: inherit; text-decoration: none; }
@media (max-width: 1000px) {
  .site-body { gap: 48px; grid-template-columns: 220px minmax(0, 1fr); }
  .profile-photo { width: 220px; height: 260px; }
  .site-footer { margin: 0 36px; }
}
@media (max-width: 740px) {
  .header-inner { padding: 21px 24px; flex-direction: column; gap: 13px; align-items: flex-start; }
  nav { gap: 27px; }
  .site-body { display: block; padding: 32px 24px 48px; }
  .profile { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: start; gap: 24px; border-bottom: 1px solid var(--rule); padding-bottom: 30px; margin-bottom: 34px; }
  .profile-photo { width: 132px; height: 165px; margin: 0; }
  .profile-name { font-size: 1.12rem; }
  .profile-role { font-size: .8rem; margin-bottom: 8px; }
  .profile-affiliation { font-size: .78rem; margin-bottom: 8px; }
  .profile-location { font-size: .75rem; margin-bottom: 12px; }
  .profile-links { padding-top: 10px; font-size: .75rem; }
  .profile-resources { margin-top: 7px; }
  .eyebrow { font-size: .62rem; letter-spacing: .1em; }
  .biography { font-size: 1rem; }
  .page-heading { margin-bottom: 24px; }
  .site-footer { margin: 0 24px; padding: 20px 0; flex-wrap: wrap; gap: 5px 18px; }
}
@media (max-width: 420px) {
  .profile { grid-template-columns: 94px minmax(0, 1fr); gap: 18px; }
  .profile-photo { width: 94px; height: 125px; }
  .profile-name { font-size: 1rem; }
  .profile-resources { gap: 6px 15px; }
  .section-heading { gap: 12px; }
  h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; font-size: 11pt; }
  .site-header, .profile, .site-footer, .skip-link { display: none; }
  .site-body { display: block; padding: 0; min-height: 0; }
  a { color: inherit; }
  .content-section { break-inside: avoid; }
}
