:root {
  --ink: #202a35;
  --muted: #66717e;
  --accent: #245b93;
  --line: #e8ebef;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p, h1, h2, h3, h4 { margin: 0; }
.site-header, main, footer { width: min(940px, calc(100% - 64px)); margin: auto; }
.site-header { display: flex; align-items: center; gap: 28px; min-height: 80px; border-bottom: 1px solid var(--line); }
.wordmark { color: var(--ink); font-size: 15px; font-weight: 650; }
nav { margin-left: auto; display: flex; gap: 24px; }
nav a { color: var(--muted); font-size: 13px; }
.languages { display: flex; gap: 12px; border-left: 1px solid var(--line); padding-left: 22px; font-size: 12px; }
.languages a { color: var(--muted); }
.languages [aria-current] { color: var(--accent); font-weight: 650; }
.profile { display: grid; grid-template-columns: minmax(0, 1fr) 158px; gap: 48px; padding: 48px 0 30px; align-items: start; }
h1 { font-size: 36px; font-weight: 650; line-height: 1.4; letter-spacing: -.8px; margin-bottom: 15px; }
h1 span { font-size: 18px; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-left: 18px; display: inline-block; }
.profile-copy p { margin-top: 12px; }
.profile-copy .current-role { font-size: 17px; font-weight: 550; margin-top: 0; }
.portrait { display: block; width: 158px; height: 180px; object-fit: cover; border-radius: 5px; margin-top: 10px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14px; margin-top: 20px; }
.opportunity { padding: 12px 16px; border-left: 3px solid #8ba8c5; background: #f5f8fb; font-size: 14px; line-height: 1.85; margin-bottom: 38px; }
.opportunity strong { font-weight: 600; }
.section { margin-bottom: 38px; }
h2 { font-size: 22px; font-weight: 600; line-height: 1.4; letter-spacing: -.3px; }
.section>h2, .section-heading { padding-bottom: 11px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.section-heading { display: flex; align-items: baseline; gap: 18px; justify-content: space-between; }
.section-heading>span { font-size: 12px; color: var(--muted); }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 17px; margin-bottom: 9px; font-size: 14px; line-height: 1.75; }
time, .date { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.older-news { margin-top: 12px; }
summary { cursor: pointer; color: var(--accent); font-size: 12px; width: fit-content; }
.older-news[open]>summary { margin-bottom: 12px; }
.publication { margin-bottom: 24px; }
.publication:last-child { margin-bottom: 0; }
.publication h4 { font-size: 16px; font-weight: 600; line-height: 1.6; margin-bottom: 5px; }
.publication h4 a { color: var(--ink); }
.publication h4 a:hover { color: var(--accent); }
.authors { color: var(--muted); font-size: 13px; line-height: 1.8; }
.authors strong { color: var(--ink); font-weight: 600; }
.author-details { margin-top: 2px; }
.author-details p { margin-top: 5px; }
.paper-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; margin-top: 5px; font-size: 12px; }
.venue { color: #505d6b; font-weight: 600; }
.paper-links { display: flex; flex-wrap: wrap; gap: 15px; }
.experience-row { display: flex; justify-content: space-between; align-items: baseline; gap: 25px; margin-bottom: 20px; }
.experience-row h3 { font-size: 15px; font-weight: 600; }
.experience-row p { color: var(--muted); font-size: 13px; }
.date { white-space: nowrap; }
footer { display: flex; gap: 20px; border-top: 1px solid var(--line); padding: 20px 0 30px; font-size: 12px; color: var(--muted); }
footer a { color: var(--muted); }
footer a:last-child { margin-left: auto; }
.skip { position: absolute; top: -100px; left: 20px; padding: 8px 16px; background: #fff; }
.skip:focus { top: 8px; }
@media (max-width: 650px) {
  .site-header, main, footer { width: calc(100% - 36px); }
  .site-header { flex-wrap: wrap; gap: 12px; padding: 16px 0 12px; }
  .languages { margin-left: auto; padding-left: 0; border-left: 0; }
  nav { order: 3; width: 100%; margin: 0; gap: 25px; }
  .profile { grid-template-columns: minmax(0, 1fr) 84px; gap: 18px; padding: 30px 0 22px; }
  .profile-copy { display: contents; }
  h1 { grid-column: 1; grid-row: 1; font-size: 29px; margin: 0; align-self: center; }
  h1 span { display: block; font-size: 15px; margin: 6px 0 0; }
  .portrait { grid-column: 2; grid-row: 1; width: 84px; height: 96px; margin: 0; }
  .profile-copy p, .profile-links { grid-column: 1 / -1; margin: 0; }
  .profile-copy p { font-size: 14px; }
  .profile-copy .current-role { font-size: 16px; }
  .profile-links { font-size: 13px; gap: 20px; }
  .opportunity { font-size: 13px; margin-bottom: 30px; }
  h2 { font-size: 20px; }
  .section { margin-bottom: 30px; }
  .section-heading { align-items: center; gap: 10px; }
  .section-heading>span { font-size: 10px; }
  .news-list li { grid-template-columns: 74px minmax(0, 1fr); gap: 10px; font-size: 13px; }
  time { font-size: 11px; }
  .publication h4 { font-size: 15px; }
  .authors { font-size: 12px; }
  .experience-row { flex-direction: column; gap: 3px; }
  footer { font-size: 10px; gap: 10px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .site-header, footer, .skip { display: none; }
  main { width: 100%; }
  .publication { break-inside: avoid; }
}

.publication-group + .publication-group { margin-top: 30px; }
.group-heading { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 18px; }
.distinction { color: var(--accent); font-weight: 650; }
.contribution { margin-top: 7px; font-size: 13px; color: #505d6b; }
