:root {
  --paper: #faf9f6;
  --ink: #21383d;
  --muted: #576666;
  --accent: #286b59;
  --line: #dce0d9;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 400; }
.wrap { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; min-height: 60px; border-bottom: 1px solid var(--line); font-size: 14px; }
.site-header nav a { color: var(--muted); padding: 8px 0; }
.site-header nav a:hover { color: var(--accent); }
.intro { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding: 36px 0 40px; align-items: start; }
.profile-photo { width: 184px; height: 202px; display: block; object-fit: cover; object-position: center 25%; border-radius: 3px; margin-bottom: 19px; }
.profile h1 { font: 27px/1.25 var(--serif); letter-spacing: -.025em; margin-bottom: 9px; }
.role { font-size: 14px; color: var(--muted); line-height: 1.65; }
.profile-bio { font-size: 14px; color: var(--muted); margin: 14px 0; line-height: 1.7; }
.profile-links { display: flex; flex-wrap: wrap; gap: 5px 18px; font-size: 14px; }
.profile-links a { padding: 3px 0; }
.summary { padding-top: 1px; }
.summary h2 { text-wrap: balance; font: 35px/1.25 var(--serif); letter-spacing: -.025em; margin-bottom: 21px; max-width: 610px; }
.summary p { color: var(--muted); margin-bottom: 18px; font-size: 15px; line-height: 1.8; }
.summary .summary-lead { color: var(--ink); font-size: 17px; line-height: 1.75; }
.summary p:last-child { margin-bottom: 0; }
.summary p a { text-decoration: underline; }
.content-section { border-top: 1px solid var(--line); padding: 32px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.content-section h2 { font: 32px/1.2 var(--serif); letter-spacing: -.025em; }
.inline-link { font-size: 14px; }
.lower-layout { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 36px; border-top: 1px solid var(--line); align-items: start; }
.primary-content { min-width: 0; }
.primary-content > .content-section:first-child { border-top: 0; }
.primary-content .section-heading { flex-wrap: wrap; gap: 10px 20px; }
.lower-layout .research-area { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; }
.collaborator-sidebar { position: sticky; top: 92px; margin-top: 32px; padding-left: 22px; border-left: 1px solid var(--line); }
.collaborator-sidebar h2 { font: 500 17px/1.4 var(--sans); margin-bottom: 18px; }
.collaborator-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 15px; }
.collaborator-list a { display: inline-block; font-size: 14px; line-height: 1.6; color: var(--muted); }
.collaborator-list a:hover { color: var(--accent); }
.research-grid { display: grid; gap: 24px; }
.research-area { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; }
.research-area + .research-area { border-top: 1px solid var(--line); padding-top: 24px; }
.research-area h3 { font: 22px/1.35 var(--serif); margin-bottom: 9px; }
.area-intro p, .example p { color: var(--muted); font-size: 14px; line-height: 1.75; }
.example h4 { font-size: 15px; font-weight: 500; margin: 2px 0 8px; line-height: 1.6; }
.example p { margin-bottom: 9px; }
.example a { font-size: 14px; }
.publication-group + .publication-group { margin-top: 44px; }
.publication-group-heading { font: 600 20px/1.35 var(--sans); color: var(--accent); letter-spacing: -.01em; margin-bottom: 12px; }
.publication-group-summary { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 24px; max-width: 70ch; }
.publication { padding: 20px 0; border-bottom: 1px solid var(--line); }
.publication:first-child { padding-top: 0; }
.publication:last-child { border-bottom: 0; padding-bottom: 0; }
.publication h4 { font: 500 17px/1.5 var(--sans); letter-spacing: 0; margin-bottom: 8px; }
.publication h4 a { color: var(--ink); }
.publication h4 a:hover { color: var(--accent); }
.publication .authors { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 3px; }
.publication .venue { color: var(--accent); font-size: 13px; line-height: 1.65; }
footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 20px 0 26px; color: var(--muted); font-size: 13px; }
footer div { display: flex; gap: 24px; }
.skip { position: fixed; top: -80px; left: 15px; background: var(--ink); color: white; padding: 12px; z-index: 50; }
.skip:focus { top: 10px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .intro, .research-area { grid-template-columns: 215px minmax(0, 1fr); gap: 36px; }
  .summary h2 { font-size: 31px; }
  .lower-layout { grid-template-columns: minmax(0, 1fr) 190px; gap: 26px; }
  .lower-layout .research-area { grid-template-columns: 1fr; gap: 12px; }
  .collaborator-sidebar { padding-left: 18px; }
}
@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  html { scroll-padding-top: 112px; }
  .site-header nav { justify-content: flex-start; flex-wrap: wrap; gap: 0 20px; min-height: 56px; padding: 8px 0; font-size: 14px; }
  .site-header nav a { padding: 5px 0; }
  .lower-layout { grid-template-columns: 1fr; gap: 0; border-top: 0; }
  .primary-content > .content-section:first-child { border-top: 1px solid var(--line); }
  .collaborator-sidebar { position: static; margin-top: 0; padding: 27px 0; border-left: 0; border-top: 1px solid var(--line); }
  .collaborator-sidebar h2 { font: 26px/1.3 var(--serif); margin-bottom: 20px; }
  .collaborator-list { gap: 12px; }
  .collaborator-list a { font-size: 14px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 27px 0 30px; }
  .profile { display: grid; grid-template-columns: 95px minmax(0, 1fr); column-gap: 20px; }
  .profile-photo { grid-column: 1; grid-row: 1 / 3; width: 95px; height: 116px; margin: 0; }
  .profile h1 { grid-column: 2; align-self: end; font-size: 25px; margin-bottom: 7px; }
  .role { grid-column: 2; font-size: 13px; }
  .profile-bio { grid-column: 1 / -1; margin: 15px 0 8px; }
  .profile-links { grid-column: 1 / -1; gap: 5px 20px; }
  .summary h2 { font-size: 29px; margin-bottom: 17px; }
  .summary .summary-lead { font-size: 16px; }
  .summary p { font-size: 15px; line-height: 1.75; margin-bottom: 15px; }
  .content-section { padding: 27px 0; }
  .content-section h2 { font-size: 29px; }
  .section-heading { flex-direction: column; gap: 9px; margin-bottom: 23px; }
  .research-area { grid-template-columns: 1fr; gap: 13px; }
  .research-area h3 { font-size: 22px; margin-bottom: 7px; }
  .example h4 { margin-top: 0; }
  .publication-group-heading { font-size: 19px; }
  .publication h4 { font-size: 16px; }
  footer { flex-direction: column; gap: 8px; }
  footer div { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; }
  .wrap { width: 100%; }
  .site-header, .skip, footer a { display: none; }
  .intro { padding-top: 0; gap: 30px; grid-template-columns: 180px 1fr; }
  .profile-photo { width: 150px; height: 165px; }
  .summary h2 { font-size: 29px; }
  .lower-layout { display: block; }
  .collaborator-sidebar { position: static; padding-left: 0; border-left: 0; }
  .publication, .research-area { break-inside: avoid; }
}

/* Students: vertical degree tabs with direct lists. */
[hidden] { display: none !important; }
.student-tabs-ready .student-layout { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; align-items: start; }
.student-tabs { display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.student-tabs button { appearance: none; font: inherit; font-size: 14px; text-align: left; background: none; color: var(--muted); cursor: pointer; padding: 10px 12px 10px 0; border: 0; border-right: 2px solid transparent; margin-right: -1px; }
.student-tabs button[aria-selected="true"] { color: var(--accent); border-right-color: var(--accent); }
.student-tabs button:hover { color: var(--accent); }
.student-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.student-tabs-ready .student-panel-heading { display: none; }
.student-panel-heading { font: 22px/1.4 var(--serif); margin: 20px 0 10px; }
.student-list { list-style: none; padding: 0; margin: 0; }
.student-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 16px; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line); line-height: 1.6; }
.student-list li:first-child { padding-top: 7px; }
.student-list li:last-child { border-bottom: 0; }
.student-name { font-size: 15px; min-width: 0; grid-column: 1; grid-row: 1; }
.student-institution { grid-column: 1; grid-row: 2; }
.student-institution, .student-year { font-size: 13px; color: var(--muted); }
.student-year { grid-column: 2; grid-row: 1; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) {
  .student-tabs-ready .student-layout { grid-template-columns: 105px minmax(0, 1fr); gap: 18px; }
  .student-tabs button { font-size: 13px; padding-right: 9px; }
  .student-name { grid-column: 1 / -1; font-size: 14px; }
  .student-institution { grid-column: 1; grid-row: 2; font-size: 12px; }
  .student-year { grid-column: 2; grid-row: 2; font-size: 12px; }
}
@media print {
  .student-tabs { display: none; }
  .student-tabs-ready .student-layout { display: block; }
  .student-tabs-ready .student-panel-heading { display: block; }
  .student-panel[hidden] { display: block !important; }
}
