:root {
  --paper: #f8f7f3;
  --ink: #242c29;
  --muted: #606a64;
  --accent: #28614d;
  --line: #dedfd7;
  --soft: #edf0e8;
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
p { margin: 0 0 15px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
strong { font-weight: 600; }
.skip-link { position: absolute; left: 16px; top: -80px; background: var(--paper); padding: 12px 20px; z-index: 5; }
.skip-link:focus { top: 12px; }
.site-header { max-width: 1180px; margin: auto; min-height: 98px; padding: 22px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 18px; font-weight: 650; letter-spacing: -.4px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.name-dot { color: var(--accent); }
nav { display: flex; align-items: center; gap: 30px; font-size: 13px; }
nav a { text-decoration: none; color: var(--muted); padding: 6px 0; }
nav .nav-cv { color: var(--accent); font-weight: 600; }
.nav-cv span { margin-left: 5px; }
.page-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; max-width: 1180px; padding: 70px 40px 0; margin: auto; }
.profile { align-self: start; position: sticky; top: 40px; }
.eyebrow { font-size: 10px; font-weight: 650; text-transform: uppercase; letter-spacing: 1.8px; color: var(--accent); margin-bottom: 20px; }
.profile h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 65px; line-height: .99; letter-spacing: -3px; margin: 0 0 28px; }
.profile h1 > span { display: block; }
.profile-photo { display: block; width: 160px; height: auto; border-radius: 4px; margin-bottom: 24px; }
.role { font-size: 14px; line-height: 1.7; }
.affiliation { color: var(--muted); font-size: 13px; line-height: 1.85; margin: 18px 0; }
.affiliation strong { color: var(--ink); font-weight: 500; }
.location { color: var(--muted); font-size: 12px; margin-bottom: 23px; }
.contact-links { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; font-weight: 600; }
.contact-links a { text-decoration: none; }
.contact-links a:hover { text-decoration: underline; }
.focus-note { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 24px; }
.focus-note .eyebrow { color: var(--muted); font-size: 9px; }
.focus-note p { font-size: 13px; line-height: 1.9; margin: 12px 0 0; }
main { min-width: 0; }
.intro { padding: 0 0 40px; }
.intro .eyebrow { margin-bottom: 14px; }
.intro h2 { font-family: Georgia, "Times New Roman", serif; font-size: 46px; font-weight: 400; line-height: 1.15; letter-spacing: -1.3px; margin-bottom: 28px; }
.intro p:not(.eyebrow) { color: var(--muted); }
.intro .intro-text { font-size: 16px; color: var(--ink) !important; line-height: 1.85; }
.content-section { border-top: 1px solid var(--line); padding: 30px 0 42px; }
.section-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 28px; }
.section-number { color: var(--accent); font-size: 10px; font-variant-numeric: tabular-nums; }
.section-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; letter-spacing: -.4px; }
.entry-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; margin-bottom: 15px; }
.status { color: var(--accent); background: var(--soft); padding: 3px 9px; border-radius: 3px; font-weight: 600; }
.manuscript h3 { font-size: 19px; font-weight: 600; line-height: 1.5; margin-bottom: 12px; }
.authors { font-size: 13px; }
.muted { color: var(--muted); }
.manuscript p:not(.authors), .manuscript li { font-size: 14px; }
.manuscript ul { padding-left: 20px; margin: 17px 0; }
.manuscript li { padding-left: 4px; margin-bottom: 10px; }
.manuscript li::marker { color: var(--accent); }
.manuscript .submission-note { font-size: 12px !important; color: var(--muted); border-left: 2px solid var(--line); padding-left: 13px; margin-bottom: 0; }
.subsection-title { font-size: 11px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 20px; }
.timeline-entry { display: grid; grid-template-columns: 134px minmax(0, 1fr); gap: 22px; margin-bottom: 26px; }
.timeline-entry:last-child { margin-bottom: 0; }
.date { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; padding-top: 3px; }
.timeline-entry h4 { font-size: 15px; font-weight: 600; line-height: 1.55; margin-bottom: 7px; }
.timeline-entry p:not(.date) { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 8px; }
.timeline-entry .entry-subtitle { color: var(--ink) !important; }
.timeline-entry .thesis { margin-top: 10px; }
.experience-title { margin-top: 32px; }
.project { padding: 24px 0; border-top: 1px solid var(--line); }
.project:first-of-type { padding-top: 0; border-top: 0; }
.project:last-child { padding-bottom: 0; }
.project h3 { font-size: 22px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; line-height: 1.3; margin-bottom: 6px; }
.project p { font-size: 14px; }
.project .project-subtitle { font-size: 12px; color: var(--muted); margin-bottom: 15px; }
.text-link { font-size: 12px; font-weight: 600; text-decoration: none; }
.text-link span { margin-left: 6px; }
.skills-list { margin: 0; }
.skills-list > div { display: grid; grid-template-columns: 165px minmax(0, 1fr); gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.skills-list > div:first-child { padding-top: 0; }
.skills-list > div:last-child { border: 0; padding-bottom: 0; }
.skills-list dt { font-weight: 600; }
.skills-list dd { margin: 0; color: var(--muted); }
.awards-list { padding: 0; margin: 0; list-style: none; }
.awards-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; margin-bottom: 22px; }
.awards-list li:last-child { margin-bottom: 0; }
.awards-list h3 { font-size: 14px; font-weight: 600; line-height: 1.65; }
.awards-list p { font-size: 12px; color: var(--muted); margin: 3px 0 0; }
.personal-note { border-top: 1px solid var(--line); padding: 26px 0 36px; }
.personal-note h2 { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.personal-note p { color: var(--muted); font-size: 13px; margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding: 23px 0 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 10px; color: var(--muted); }
.site-footer a { margin-left: auto; text-decoration: none; }
@media (min-width: 1500px) { .page-layout { padding-top: 90px; } }
@media (max-height: 950px) { .profile { position: static; } }
@media (max-width: 1000px) {
  .page-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-left: 32px; padding-right: 32px; }
  .site-header { padding-left: 32px; padding-right: 32px; }
  .profile h1 { font-size: 57px; }
  .intro h2 { font-size: 39px; }
  .timeline-entry { grid-template-columns: 1fr; gap: 2px; }
  .timeline-entry .date { margin-bottom: 5px; }
  .skills-list > div { grid-template-columns: 135px minmax(0, 1fr); gap: 15px; }
}
@media (max-width: 720px) {
  .site-header { min-height: 78px; padding: 16px 22px; gap: 8px; flex-wrap: wrap; }
  .site-header nav { width: 100%; justify-content: space-between; }
  nav { gap: 18px; font-size: 12px; }
  nav a[href="#background"] { display: none; }
  .page-layout { display: block; padding: 38px 24px 0; }
  .profile { position: static; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 35px; }
  .identity { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
  .profile-photo { width: 120px; flex-shrink: 0; margin-bottom: 0; }
  .profile h1 { font-size: 45px; letter-spacing: -1.8px; margin-bottom: 0; }
  .profile .eyebrow { margin-bottom: 14px; }
  .role { margin-bottom: 12px; }
  .affiliation { margin: 10px 0; }
  .desktop-break { display: none; }
  .location { margin: 12px 0 18px; }
  .contact-links { gap: 25px; font-size: 13px; }
  .focus-note { display: none; }
  .intro h2 { font-size: 37px; }
  .intro { padding-bottom: 23px; }
  .intro .intro-text { font-size: 15px; }
  .content-section { padding: 25px 0 32px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 26px; }
  .skills-list > div { grid-template-columns: 1fr; gap: 3px; }
  .entry-meta { font-size: 10px; }
  .site-footer { gap: 8px 18px; }
}
@media (max-width: 370px) {
  nav { gap: 12px; font-size: 11px; }
  .profile h1 { font-size: 40px; }
  .profile-photo { width: 100px; }
  .identity { gap: 16px; }
  .page-layout { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { --paper: #fff; }
  body { font-size: 11pt; }
  .site-header, .skip-link, .focus-note, .site-footer { display: none; }
  .page-layout { display: block; padding: 0; }
  .profile { position: static; border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 25px; }
  .profile h1 { font-size: 34pt; }
  .profile h1 > span { display: inline; }
  .identity { display: flex; align-items: center; gap: 20px; }
  .profile-photo { width: 90px; margin-bottom: 0; }
  .intro h2 { font-size: 26pt; }
  .content-section { padding: 20px 0; }
  h2, h3, h4 { break-after: avoid; }
  .timeline-entry, .project, .awards-list li { break-inside: avoid; }
  a { text-decoration: none; }
}
