:root {
  color-scheme: light;
  --ink: #252c35;
  --muted: #68717c;
  --accent: #7b343a;
  --link: #345d7b;
  --rule: #e5e8ec;
  --serif: Georgia, "Times New Roman", "Songti SC", SimSun, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  color: var(--ink);
  background: #f5f6f8;
  font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.page {
  max-width: 1000px;
  margin: 36px auto;
  padding: 44px 50px 28px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 8px 38px #25324505;
}
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 10px; padding: 8px 12px; background: white; z-index: 1; }
.eyebrow {
  display: flex;
  justify-content: space-between;
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.eyebrow span { letter-spacing: 1px; }
.profile { display: grid; grid-template-columns: 176px minmax(0, 1fr); gap: 36px; align-items: center; }
.portrait { display: block; width: 176px; height: auto; border-radius: 8px; }
h1 { font: 700 39px/1.2 var(--serif); letter-spacing: -.8px; margin: 0 0 12px; }
.chinese-name { display: inline-block; margin-left: 12px; color: var(--muted); font-size: 25px; font-weight: 500; letter-spacing: 1px; vertical-align: 3px; }
.profile p { margin: 0 0 3px; font-size: 15px; line-height: 1.65; }
.profile .role { margin-bottom: 10px; color: var(--accent); font-size: 15px; font-weight: 500; }
.profile .profile-links { margin-top: 17px; }
.profile-links { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-links a {
  padding: 5px 12px;
  border: 1px solid #dce3e9;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 500;
  transition: background-color .15s, border-color .15s;
}
.profile-links a:hover { background: #f2f6f9; border-color: #a9bdcd; text-decoration: none; }
.navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin: 32px 0 0;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
  font-weight: 500;
}
.navigation a { color: var(--muted); padding: 5px 0; }
.navigation a:hover { color: var(--accent); }
section { margin-top: 46px; }
#biography p, #research p { max-width: 80ch; }
h2 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 19px;
  color: var(--accent);
  font: 700 26px/1.3 var(--serif);
  letter-spacing: -.3px;
}
h2::after { content: ""; height: 1px; background: var(--rule); flex: 1; min-width: 20px; }
p { margin: 0 0 14px; }
strong { font-weight: 600; }
.experience { position: relative; margin-top: 22px; padding-left: 22px; border-left: 2px solid var(--rule); }
.experience::before { content: ""; position: absolute; left: -5px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.experience-title { display: flex; justify-content: space-between; gap: 6px 20px; flex-wrap: wrap; margin-bottom: 6px; }
.experience-title strong { font-size: 17px; }
.date { color: var(--muted); font-size: 13px; white-space: nowrap; }
.experience p { color: var(--muted); font-size: 15px; }
ul { padding-left: 20px; margin: 12px 0 0; }
li { padding-left: 3px; margin-bottom: 11px; }
li::marker { color: #a4adb6; }
.experience ul { font-size: 15px; line-height: 1.8; }
.experience li { margin-bottom: 12px; }
.experience li strong { color: var(--ink); }
.publications { padding: 0; margin: 12px 0 0; list-style: none; }
.publications li {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  column-gap: 22px;
  row-gap: 8px;
  margin: 0;
  padding: 25px 0;
  border-bottom: 1px solid var(--rule);
}
.publications li:last-child { border-bottom: 0; padding-bottom: 0; }
.paper-title { grid-column: 2; grid-row: 1; color: var(--ink); font: 700 19px/1.5 var(--serif); }
.paper-title:hover { color: var(--accent); }
.authors { grid-column: 2; grid-row: 2; color: var(--muted); font-size: 14px; line-height: 1.7; }
.authors strong { color: var(--ink); }
.venue { grid-column: 1; grid-row: 1 / 4; align-self: start; padding-top: 3px; color: var(--accent); font-size: 12px; line-height: 1.8; font-weight: 600; }
.spotlight { display: block; font-size: 11px; font-weight: 600; }
.paper-links { grid-column: 2; grid-row: 3; display: flex; flex-wrap: wrap; gap: 7px; font-size: 11px; }
.paper-links a { padding: 2px 10px; border: 1px solid #dfe6ed; border-radius: 4px; font-size: 12px; line-height: 1.8; }
.paper-links a:hover { background: #f2f6f9; text-decoration: none; }
.section-note { color: var(--muted); font-size: 13px; line-height: 1.8; }
.tools-intro { max-width: 73ch; margin-bottom: 20px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.projects-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.project { padding: 21px 0; border-top: 1px solid var(--rule); }
.project h3 { margin: 0 0 9px; font: 700 19px/1.4 var(--serif); }
.project h3 a { color: var(--ink); }
.project h3 a:hover { color: var(--accent); }
.project h3 span { margin-left: 4px; color: var(--muted); font: 14px/1 sans-serif; }
.project p { max-width: 83ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
#honors li { font-size: 15px; }
#contact p { color: var(--muted); font-size: 15px; }
footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12px; }
footer p { margin: 0; }
@media (max-width: 760px) {
  body { background: #fff; }
  .page { margin: 0 auto; padding: 30px 26px 25px; border: 0; border-radius: 0; box-shadow: none; }
  .profile { grid-template-columns: 140px minmax(0, 1fr); gap: 25px; }
  .portrait { width: 140px; }
  h1 { font-size: 32px; }
  .chinese-name { margin-left: 8px; font-size: 22px; }
  .navigation { gap: 8px 24px; }
  .publications li { grid-template-columns: 92px minmax(0, 1fr); column-gap: 16px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; line-height: 1.8; }
  .page { padding: 25px 22px; }
  .eyebrow { font-size: 10px; margin-bottom: 23px; }
  .profile { grid-template-columns: 1fr; gap: 21px; }
  .portrait { width: 120px; }
  h1 { font-size: 34px; }
  .chinese-name { font-size: 23px; }
  .profile p { font-size: 14px; }
  .profile .role { font-size: 14px; }
  .profile a { overflow-wrap: anywhere; }
  .profile-links a { padding: 5px 11px; }
  .navigation { margin-top: 25px; gap: 4px 23px; font-size: 13px; }
  section { margin-top: 34px; }
  h2 { font-size: 24px; gap: 13px; }
  .experience { padding-left: 16px; }
  .experience-title { display: block; }
  .date { display: block; margin-top: 3px; }
  .publications li { grid-template-columns: minmax(0, 1fr); padding: 22px 0; row-gap: 8px; }
  .venue { grid-column: 1; grid-row: 1; padding: 0; font-size: 12px; }
  .spotlight { display: inline; }
  .paper-title { grid-column: 1; grid-row: 2; font-size: 18px; }
  .authors { grid-column: 1; grid-row: 3; font-size: 13px; }
  .paper-links { grid-column: 1; grid-row: 4; }
  .paper-links a { font-size: 12px; padding: 2px 10px; }
  #projects h2 { align-items: baseline; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; font-size: 11pt; }
  .page { max-width: none; margin: 0; padding: 0; border: 0; box-shadow: none; }
  .eyebrow, .navigation, .skip-link, footer a { display: none; }
  .publications li, .experience, .project { break-inside: avoid; }
  .profile-links a, .paper-links a { border: 0; padding: 0; }
  a { color: inherit; }
}
