:root {
  --ink: #202a33;
  --muted: #53616d;
  --blue: #005f9e;
  --blue-dark: #004573;
  --line: #dfe6ec;
  --pale: #edf4f9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: #fff; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 1rem; line-height: 1.55; }
a { color: var(--blue); text-underline-offset: .17em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 1px; }
img { max-width: 100%; height: auto; }
.main-container { display: grid; grid-template-columns: 10rem minmax(0,1fr); gap: 2.75rem; max-width: 1136px; margin: 0 auto; padding: 2.4rem 2rem 3.5rem; }
main { min-width: 0; }
.side-nav { text-align: right; }
.side-nav-inner { position: sticky; top: 2rem; }
.side-nav ul { list-style: none; margin: .25rem 0 0; padding: 0; }
.side-nav li { margin: .2rem 0; }
.side-nav a { display: inline-block; padding: .4rem .7rem; font-size: .9375rem; line-height: 1.4; text-decoration: none; color: #354b5e; border-radius: 2px; }
.side-nav a:hover { background: var(--pale); color: var(--blue-dark); }
.side-nav a.active { color: #fff; background: var(--blue); font-weight: 600; }
.side-nav a.active:hover { background: var(--blue-dark); }
.skip-link { position: absolute; left: 1rem; top: -5rem; padding: .5rem 1rem; background: white; z-index: 10; }
.skip-link:focus { top: .5rem; }
h1,h2,h3 { font-weight: 650; line-height: 1.3; color: var(--ink); }
h1 { font-size: 2rem; margin: 0 0 1.4rem; letter-spacing: -.025em; }
h2 { font-size: 1.3rem; margin: 1.9rem 0 1rem; color: #233f55; }
h3 { font-size: 1.125rem; margin: 0 0 .65rem; }
p { margin: 0 0 1rem; }
article > p, article > ul { max-width: 76ch; }
.ai-page > section { max-width: 76ch; }
.ai-intro { display: grid; grid-template-columns: minmax(0,1fr) 180px; align-items: center; gap: 1.5rem; margin-bottom: 1.4rem; max-width: 76ch; }
.ai-intro p { margin: 0; }
.ai-intro img { display: block; width: 180px; }
.verified-figure { position: relative; display: block; width: fit-content; line-height: 0; margin: 0 auto; }
.verification-mark { position: absolute; right: -4px; bottom: 1px; width: 24px; height: 24px; }
.ai-intro .verification-mark { width: 36px; height: 36px; }
.photos-page > section { margin-bottom: 2rem; }
.photo-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; align-items: start; }
.photo-grid figure { margin: 0; }
.photo-grid img { display: block; width: 100%; height: auto; }
article table { border-collapse: collapse; max-width: 100%; }
td { vertical-align: top; padding: .2rem 1rem .2rem 0; }
.profile { display: grid; grid-template-columns: minmax(0,1fr) 168px; gap: 1.8rem; align-items: start; margin-bottom: 1.9rem; }
.profile h1 { font-size: 2.25rem; line-height: 1.2; margin: 0 0 .4rem; }
.affiliation { font-size: 1rem; color: var(--muted); margin-bottom: .7rem; }
.profile .portrait { display: block; width: 168px; height: 168px; object-fit: cover; margin: .15rem 0 0; border-radius: 2px; }
.profile-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.2rem; margin-bottom: .85rem; font-size: .9375rem; }
.profile-email { overflow-wrap: anywhere; }
.profile-copy > p:last-child { margin-bottom: 0; }
.quick-links,.page-jumps { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; }
.quick-links { margin: 0; gap: .3rem 1rem; }
.quick-links a { font-size: .9375rem; font-weight: 500; }
.home-selected { margin-bottom: 2.1rem; }
.home-page section > h2 { display: flex; align-items: center; gap: 1rem; margin: 0 0 1rem; }
.home-page section > h2::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.research-topic { display: grid; grid-template-columns: 118px minmax(0,1fr); gap: 1.5rem; align-items: start; margin: 0 0 1.8rem; }
.research-topic img { display: block; width: auto; max-width: 112px; max-height: 132px; margin: .2rem auto 0; object-fit: contain; }
.research-topic .verified-figure { margin-top: .2rem; }
.research-topic .verified-figure img { margin: 0; }
.research-topic p:last-child { margin-bottom: 0; }
.read-more { margin-top: .65rem; font-size: .9375rem; }
.home-team { margin-bottom: 2rem; }
.home-team > p:last-child { margin-bottom: 0; }
.team-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem 2rem; list-style: none; padding: 0; margin: 0 0 .9rem; max-width: 42rem; }
.team-list li { margin: 0; }
.team-list li:last-child { grid-column: 1 / -1; }
.team-list a { text-decoration: none; }
.team-list a:hover,.team-list a:focus-visible { text-decoration: underline; }
.team-footer { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; font-size: .9375rem; }
.team-note { color: var(--muted); }
.page-intro { color: var(--muted); margin-top: -.7rem; }
.page-jumps { border-bottom: 1px solid var(--line); padding-bottom: .85rem; font-size: .9375rem; margin-bottom: 1.5rem; }
.paper-list { margin: 0; padding: 0 0 0 1.8rem; }
ul.paper-list { list-style: none; padding-left: 0; }
.paper-list > li { padding: 0 0 .95rem .2rem; margin: 0 0 .95rem; border-bottom: 1px solid var(--line); }
.paper-list > li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.paper-list > li::marker { font-size: .875rem; color: var(--muted); }
.paper-list p { margin: 0; }
.paper-title { font-weight: 600; line-height: 1.45; }
.theses-section h2,.theses-section h3,.theses-section .paper-title { font-weight: 400; }
.theses-section .paper-list + h3 { margin-top: 1.4rem; }
.paper-title a { color: var(--ink); text-decoration: none; }
.paper-title a:hover,.paper-title a:focus-visible { color: var(--blue); text-decoration: underline; }
.paper-authors,.paper-meta { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
.paper-authors { padding-top: .2rem; }
.paper-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; padding-top: .25rem; }
.paper-links { display: inline-flex; flex-wrap: wrap; column-gap: .8rem; }
.paper-links a { white-space: nowrap; }
.resource-list { padding-left: 1.2rem; }
.resource-list li { margin-bottom: .8rem; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list > li { padding: 0 0 1.35rem; margin: 0 0 1.35rem; border-bottom: 1px solid var(--line); }
.event-list > li:last-child { border-bottom: 0; margin-bottom: 0; }
.event-list h3 { margin-bottom: .3rem; }
.event-meta { color: var(--muted); font-size: .9375rem; margin-bottom: .65rem; }
.event-list p:last-child { margin-bottom: 0; }
.previous-meetings-label { margin-bottom: .35rem; }
.previous-meetings { padding-left: 1.2rem; margin: 0; }
.previous-meetings li { margin-bottom: .35rem; }
.previous-meetings li:last-child { margin-bottom: 0; }
.events-page section > ul:not(.event-list) { max-width: 76ch; padding-left: 1.2rem; margin-bottom: 1.75rem; }
.events-page section > ul:not(.event-list) > li { margin-bottom: .6rem; }
.main-footer { text-align: center; margin: 0 0 2rem; font-size: .875rem; }
.post-author { display: none; }
pre { overflow-x: auto; }
@media (max-width: 960px) {
  .main-container { grid-template-columns: 9.5rem minmax(0,1fr); gap: 1.5rem; padding: 2rem 1.5rem; }
  .profile { grid-template-columns: minmax(0,1fr) 138px; gap: 1.25rem; }
  .profile .portrait { width: 138px; height: 138px; }
  .profile h1 { font-size: 2rem; }
  .research-topic { grid-template-columns: 104px minmax(0,1fr); gap: 1.2rem; }
  .research-topic img { max-width: 100px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 1rem; }
  .main-container { display: block; padding: 1rem 1.25rem 2.5rem; }
  .side-nav { text-align: left; }
  .side-nav-inner { position: static; }
  .side-nav ul { display: flex; flex-wrap: wrap; gap: .1rem .2rem; border-bottom: 1px solid var(--line); padding-bottom: .7rem; margin-bottom: 1.3rem; }
  .side-nav li { margin: 0; }
  .side-nav a { font-size: .875rem; padding: .4rem .55rem; }
  h1 { font-size: 1.8rem; }
  .profile { grid-template-columns: minmax(0,1fr) 92px; gap: .8rem; margin-bottom: 1.65rem; }
  .profile-copy { display: contents; }
  .profile h1 { grid-column: 1; grid-row: 1; align-self: end; font-size: 1.9rem; margin: 0; }
  .profile .portrait { grid-column: 2; grid-row: 1 / 3; width: 92px; height: 92px; margin: 0; }
  .affiliation { grid-column: 1; grid-row: 2; font-size: .9375rem; margin: -.3rem 0 0; line-height: 1.5; }
  .profile .profile-contact,.profile-copy > p:not(.affiliation) { grid-column: 1 / -1; margin-bottom: 0; }
  .profile-contact { gap: .3rem 1.2rem; }
  .team-list { grid-template-columns: 1fr; gap: .35rem; }
  .team-list li:last-child { grid-column: auto; }
  .photo-grid { grid-template-columns: 1fr; }
  .ai-intro { grid-template-columns: minmax(0,1fr) 112px; gap: 1rem; }
  .ai-intro img { width: 112px; }
  .verification-mark { width: 18px; height: 18px; }
  .ai-intro .verification-mark { width: 26px; height: 26px; }
  .research-topic { grid-template-columns: 68px minmax(0,1fr); gap: .8rem 1rem; margin-bottom: 1.8rem; }
  .research-topic > div:last-child { display: contents; }
  .research-topic > div:first-child { grid-column: 1; grid-row: 1; }
  .research-topic h3 { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .research-topic p { grid-column: 1 / -1; margin: 0; }
  .research-topic img { max-width: 64px; max-height: 76px; }
  .paper-links { display: flex; flex-basis: 100%; }
  .paper-list { padding-left: 1.55rem; }
}
@media (max-width: 390px) {
  .main-container { padding-left: 1rem; padding-right: 1rem; }
  .profile h1 { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .side-nav,.skip-link,.quick-links,.page-jumps { display: none; }
  .main-container { display: block; padding: 0; max-width: none; }
  body { font-size: 10pt; }
  .paper-list > li,.research-topic { break-inside: avoid; }
}
