:root {
  color-scheme: light;
  --ink: #24292f;
  --body: #414954;
  --muted: #697481;
  --blue: #0969c3;
  --blue-dark: #064b8d;
  --rule: #e2e6ea;
  --venue: #9b3934;
  --page-width: 900px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, "Microsoft YaHei", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: #fff; color: var(--body); font-size: 1.0625rem; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; text-underline-offset: 4px; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 5px; border-radius: 2px; }
strong { color: var(--ink); font-weight: 600; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
::selection { background: #dbeafb; color: #12273c; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 10px 18px; background: white; z-index: 10; }
.skip-link:focus { top: 8px; }
.site-header { border-bottom: 1px solid var(--rule); }
.header-inner, .page, .footer-inner { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { color: var(--ink); font-size: 1.0625rem; font-weight: 650; white-space: nowrap; }
nav { display: flex; flex-wrap: wrap; gap: 26px; }
nav a { color: var(--muted); font-size: .9375rem; padding-block: 8px; }
.page { padding-top: 58px; padding-bottom: 72px; }
.profile-header { display: grid; grid-template-columns: minmax(0, 1fr) 184px; gap: 40px; align-items: center; margin-bottom: 30px; }
h1 { color: var(--ink); font-size: 2.75rem; line-height: 1.2; font-weight: 600; letter-spacing: -1.5px; }
.chinese-name { display: inline-block; margin-left: 7px; color: var(--muted); font-size: 1.25rem; font-weight: 400; letter-spacing: 2px; vertical-align: middle; white-space: nowrap; }
.profile-role { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); }
.profile-focus { margin-top: 1px; font-size: 1.0625rem; color: var(--muted); }
.contact-links { margin-top: 17px; display: flex; flex-wrap: wrap; column-gap: 9px; align-items: center; font-size: 1rem; }
.contact-links a { font-weight: 550; }
.contact-links > span { color: #a0a8b0; }
.portrait-frame { width: 184px; height: 184px; overflow: hidden; border-radius: 50%; background: #edf2f8; }
.portrait { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bio { font-size: 1.0625rem; line-height: 1.85; }
.bio p + p { margin-top: 17px; }
.section { margin-top: 48px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; border-bottom: 1px solid var(--rule); padding-bottom: 9px; margin-bottom: 22px; }
h2 { color: var(--ink); font-size: 1.5rem; line-height: 1.4; font-weight: 600; letter-spacing: -.35px; }
.section-note { color: var(--muted); font-size: .875rem; }
a.section-note { color: var(--blue); }
.section-intro { margin-top: -7px; margin-bottom: 26px; color: var(--muted); font-size: .9375rem; }
.news-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.news-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.news-date { color: var(--muted); font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.news-list p { line-height: 1.7; }
.news-list strong { font-weight: 550; }
.experience + .experience { margin-top: 28px; }
.entry-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 22px; }
h3 { color: var(--ink); font-size: 1.0625rem; line-height: 1.55; font-weight: 600; }
.entry-date { color: var(--muted); font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.entry-role { color: var(--muted); font-size: .9375rem; margin-top: 1px; }
.experience-details { padding-left: 19px; margin: 10px 0 0; }
.experience-details li + li { margin-top: 7px; }
.experience-details li::marker { color: #96a3b1; font-size: .8em; }
.coming-soon, .inline-note { color: var(--muted); font-size: .9375rem; }
.coming-soon { font-style: italic; }
.publication + .publication { margin-top: 28px; }
.publication { scroll-margin-top: 28px; }
.publication h3 { font-size: 1.0625rem; line-height: 1.6; }
.pub-summary { margin-top: 5px; font-size: 1rem; line-height: 1.7; }
.pub-meta { margin-top: 7px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 0; font-size: .875rem; line-height: 1.65; }
.venue { color: var(--venue); }
.venue strong { color: inherit; }
.publication:target h3 { text-decoration: underline; text-decoration-color: #a8cbee; text-underline-offset: 5px; }
.education-entry + .education-entry { margin-top: 22px; }
.education-entry p { font-size: 1rem; margin-top: 3px; }
.honors { margin-top: 25px; font-size: .9375rem; }
.honors strong { display: inline-block; margin-bottom: 3px; }
.contact p { font-size: 1rem; }
.site-footer { border-top: 1px solid var(--rule); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 23px; font-size: .875rem; color: var(--muted); }
@media (max-width: 700px) {
  .header-inner, .page, .footer-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 88px; flex-wrap: wrap; justify-content: flex-start; gap: 2px; padding-block: 11px; }
  .wordmark { width: 100%; }
  nav { gap: 22px; }
  nav a { font-size: .875rem; padding-block: 4px; }
  .page { padding-top: 36px; padding-bottom: 48px; }
  .profile-header { grid-template-columns: minmax(0, 1fr) 132px; gap: 22px; margin-bottom: 25px; }
  .portrait-frame { width: 132px; height: 132px; }
  h1 { font-size: 2.2rem; letter-spacing: -.8px; }
  .chinese-name { display: block; margin: 8px 0 0; font-size: 1.0625rem; }
  .profile-role, .profile-focus { font-size: 1rem; }
  .profile-role { margin-top: 12px; }
  .contact-links { font-size: .9375rem; margin-top: 12px; column-gap: 7px; }
  .section { margin-top: 36px; }
  .entry-heading { flex-wrap: wrap; gap: 2px; }
  .entry-heading h3 { width: 100%; }
  .entry-date { white-space: normal; }
  .news-list li { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; }
  .news-list { gap: 15px; }
  .pub-meta { column-gap: 0; }
}
@media (max-width: 440px) {
  .profile-header { grid-template-columns: minmax(0, 1fr) 100px; gap: 14px; align-items: start; }
  .portrait-frame { width: 100px; height: 100px; margin-top: 3px; }
  h1 { font-size: 1.9rem; }
  .profile-role { max-width: 220px; }
  .profile-focus { max-width: 215px; }
  .contact-links { font-size: .875rem; gap: 2px 6px; }
  .news-list li { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
  .footer-inner { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .site-footer, .skip-link { display: none; }
  .page { width: 100%; padding: 0; }
  .section { margin-top: 24px; }
  .publication, .experience, .education-entry { break-inside: avoid; }
  a { color: inherit; }
}
