:root { color-scheme: light; --ink: #222d32; --muted: #5b686f; --accent: #23665e; --line: #dce3e1; --paper: #fcfcfa; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.7; }
main, .site-header, footer { width: min(1080px, calc(100% - 80px)); margin-inline: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 650; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 28px; font-size: .88rem; }
nav a { text-decoration: none; }
section { margin-bottom: 66px; }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 66px; align-items: start; padding-top: 68px; margin-bottom: 38px; }
.eyebrow, .project-label { font-size: .72rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.8rem, 6vw, 4rem); line-height: 1.1; letter-spacing: -.045em; margin: 0 0 18px; }
.intro-focus { color: var(--ink); font-size: 1.22rem; line-height: 1.5; margin-bottom: 22px; }
p { color: var(--muted); margin: 0 0 15px; }
strong { font-weight: 600; color: var(--ink); }
.portrait { margin: 8px 0 0; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
figcaption { font-size: .74rem; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 24px; font-size: .88rem; margin-top: 24px; }
.education { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 24px; padding-block: 24px; border-block: 1px solid var(--line); }
.education h2 { font-family: inherit; font-size: .85rem; margin-top: 1px; }
.education h3 { font-size: .92rem; margin: 0 0 4px; }
.education p { font-size: .8rem; margin: 0; }
.education-detail { display: block; margin-top: 3px; }
h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 2rem; letter-spacing: -.025em; line-height: 1.25; margin: 0; }
h3 { font-size: 1.07rem; font-weight: 600; line-height: 1.45; margin: 0 0 12px; letter-spacing: -.012em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding-bottom: 19px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.section-note { font-size: .76rem; color: var(--muted); padding-bottom: 4px; }
.research-row { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.research-row h3 { font-size: 1.32rem; }
.research-row p:not(.project-label) { font-size: .92rem; }
.research-goals { padding-left: 18px; margin: 0 0 15px; font-size: .92rem; color: var(--muted); }
.research-goals li { margin-bottom: 7px; }
.research-media { margin: 0; min-width: 0; }
.research-media img, .research-media canvas { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; display: block; background: #eef1ef; }
[hidden] { display: none !important; }
.research-row .research-meta { font-size: .76rem !important; margin-bottom: 0; }
.research-links { margin: 10px 0 0; }
.motion-toggle { font: inherit; font-size: .72rem; padding: 3px 0; margin-top: 7px; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.subsection-title { font-size: .8rem; color: var(--muted); letter-spacing: .04em; margin: 4px 0 24px; }
.project-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 26px; margin-bottom: 28px; }
.project-row img { width: 100%; height: auto; border-radius: 5px; display: block; }
.project-row .research-media { max-width: 240px; }
.project-row > div { min-width: 0; font-size: .85rem; color: var(--muted); }
.project-row h3 { font-size: 1rem; margin-bottom: 6px; }
.project-row ul { padding-left: 18px; margin: 10px 0 0; }
.project-row li { margin-bottom: 4px; }
.publication-list { list-style: none; padding: 0; margin: 0; }
.publication-list li { margin-bottom: 28px; font-size: .88rem; color: var(--muted); }
.publication-list li > strong { display: inline-block; font-size: 1rem; line-height: 1.5; margin-bottom: 5px; }
.award-list { padding: 0; margin: 0; list-style: none; }
.award-list li { display: grid; grid-template-columns: 65px 1fr; gap: 20px; margin-bottom: 22px; }
.award-year { font-size: .82rem; color: var(--accent); }
.award-list h3 { font-size: .96rem; margin-bottom: 5px; }
.award-list p { font-size: .85rem; margin: 0; }
.news .project-row { grid-template-columns: 120px minmax(0, 1fr); }
footer { border-top: 1px solid var(--line); padding-block: 24px 36px; display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 10px; background: var(--paper); z-index: 10; }
.skip-link:focus { top: 10px; }
@media (max-width: 800px) {
  main, .site-header, footer { width: calc(100% - 40px); }
  .intro { grid-template-columns: minmax(0, 1fr) 145px; gap: 30px; padding-top: 42px; }
  .education { grid-template-columns: 1fr 1fr; }
  .education h2 { grid-column: 1 / -1; }
  .research-row { grid-template-columns: 260px minmax(0, 1fr); gap: 24px; }
  .section-note { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  nav { gap: 16px; font-size: .78rem; }
  .intro { display: flex; flex-direction: column-reverse; gap: 26px; }
  .portrait { width: 120px; }
  .portrait figcaption { display: none; }
  .education { grid-template-columns: 1fr; gap: 18px; }
  section { margin-bottom: 46px; }
  .research-row { grid-template-columns: 1fr; gap: 22px; }
  .research-media { max-width: 420px; }
  .project-row { grid-template-columns: 1fr; gap: 16px; }
  .project-row img { max-width: 240px; }
  .news .project-row { grid-template-columns: 85px minmax(0, 1fr); gap: 18px; }
  h2 { font-size: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
