@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f9f7f1;
  --ink: #24231f;
  --muted: #615e55;
  --accent: #884631;
  --rule: #ddd9ce;
  --soft-rule: #e7e2d8;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 1rem/1.7 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: 4px; border-radius: 2px; }
.skip-link { position: absolute; top: -80px; left: 20px; padding: 8px 16px; background: var(--canvas); z-index: 2; }
.skip-link:focus { top: 10px; }
.page { max-width: 1140px; padding: 0 48px; margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.wordmark { font: 500 1.5rem/1.2 var(--serif); color: var(--ink); }
.topbar nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.topbar nav a { color: var(--muted); }
.topbar nav .nav-music { margin: -7px -2px -7px 0; padding: 6px 13px; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); }
.topbar nav .nav-music:hover { border-color: var(--accent); text-decoration: none; }
.topbar nav .nav-music span { color: var(--accent); }
.layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 64px; padding: 62px 0 70px; }
.profile { position: sticky; top: 32px; align-self: start; }
.profile-identity { width: fit-content; max-width: 100%; }
.profile-photo { display: block; width: 100%; height: auto; contain: inline-size; border-radius: 10px; margin-bottom: 26px; }
h1 { font: 500 3rem/1.05 var(--serif); letter-spacing: -0.025em; margin: 0 0 13px; }
.profile-role { margin: 0 0 10px; color: var(--accent); font-size: 0.75rem; line-height: 1.45; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.affiliation { margin: 0; line-height: 1.45; font-weight: 600; }
.affiliation span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.875rem; font-weight: 400; }
.profile-email { display: inline-block; margin-top: 12px; font-size: 0.875rem; overflow-wrap: anywhere; }
.profile-links { display: flex; gap: 6px; max-width: 22rem; margin: 14px 0 24px; }
.profile-links a { flex: 1 0 auto; border: 1px solid var(--rule); border-radius: 5px; padding: 8px 5px; font-size: 0.8125rem; line-height: 1.35; text-align: center; white-space: nowrap; }
.profile-links a:hover { border-color: var(--accent); text-decoration: none; }
.profile-interests { padding-top: 18px; border-top: 1px solid var(--rule); }
.profile-interests p { margin: 0 0 10px; color: #9a9588; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.profile-interests ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.profile-interests li { padding: 3px 11px; border-radius: 999px; background: #f1e6dc; color: #6d3a28; font-size: 13px; line-height: 1.6; }
main { min-width: 0; }
section { padding-bottom: 36px; margin-bottom: 42px; border-bottom: 1px solid var(--rule); }
h2 { font: 500 2.25rem/1.13 var(--serif); letter-spacing: -0.015em; margin: 0 0 23px; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.55; margin: 0 0 8px; }
p { margin: 0 0 15px; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
.about p { line-height: 1.75; }
@media screen and (min-width: 901px) {
  .about p, .paper .description { text-align: justify; text-align-last: left; }
}
.about a { text-decoration: underline; text-decoration-color: #b59283; text-decoration-thickness: 1px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-heading > span { color: var(--muted); font-size: 14px; }
.paper { padding: 0 0 27px; margin-bottom: 27px; border-bottom: 1px solid var(--soft-rule); }
.paper:last-child { padding-bottom: 0; margin-bottom: 0; border: 0; }
.paper h3 { font: 500 1.45rem/1.22 var(--serif); }
.paper h3 a { color: var(--ink); }
.paper h3 a:hover { color: var(--accent); }
.authors { font-size: 14px; line-height: 1.75; margin-bottom: 10px; }
.description { font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.summary-label { display: inline-block; margin-right: 8px; padding: 0 6px; border-radius: 4px; background: #f1e6dc; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.8; white-space: nowrap; vertical-align: 1px; }
.paper-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 0.8125rem; }
.paper-links a { padding: 3px 10px; border: 1px solid var(--rule); border-radius: 5px; line-height: 1.55; }
.paper-links a:hover { border-color: var(--accent); text-decoration: none; }
.slides-link { display: inline-block; font-size: 0.8125rem; white-space: nowrap; }
.education-project { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.paper-links span { color: var(--muted); margin-left: auto; }
.timeline-entry { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 24px; margin-bottom: 27px; }
.timeline-entry:last-child { margin-bottom: 0; }
.education-school { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 18px; }
.school-emblem { display: block; width: 56px; height: 56px; margin-top: 2px; overflow: hidden; }
.school-emblem img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.school-emblem--tsinghua img { object-fit: cover; object-position: 48.5% 50%; transform: scale(1.3); }
.school-emblem--usc img { transform: scale(1.2); }
.date { color: var(--muted); font-size: 13px; margin: 3px 0 0; font-variant-numeric: tabular-nums; }
.timeline-entry h3 { margin: 0 0 3px; }
.timeline-entry p { font-size: 14px; margin-bottom: 3px; }
.timeline-entry .detail { color: var(--muted); margin-top: 5px; }
.education-supervision { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); align-items: baseline; column-gap: 0.4em; line-height: 1.35; }
main > section:last-child { border: 0; margin: 0; padding: 0; }
footer { display: flex; flex-wrap: wrap; gap: 16px 26px; align-items: center; border-top: 1px solid var(--rule); padding: 23px 0 30px; color: var(--muted); font-size: 12px; }
footer > span:first-child { margin-right: auto; }
@media (max-width: 900px) {
  .page { padding: 0 30px; }
  .layout { grid-template-columns: 210px minmax(0, 1fr); gap: 38px; }
  .profile-links { display: grid; grid-template-columns: max-content minmax(0, 1fr); }
  h1 { font-size: 2.5rem; }
  .timeline-entry { grid-template-columns: 1fr; gap: 5px; }
}
@media (max-width: 680px) {
  .page { padding: 0 23px; }
  .topbar { align-items: flex-start; flex-direction: column; gap: 13px; padding: 20px 0; }
  .topbar nav { gap: 12px 16px; font-size: 13px; align-items: center; }
  .topbar nav .nav-music { margin: -5px 0; padding: 4px 10px; white-space: nowrap; }
  .layout { grid-template-columns: 1fr; gap: 32px; padding: 35px 0 45px; }
  .profile { position: static; padding-bottom: 30px; border-bottom: 1px solid var(--rule); }
  .profile-links { display: flex; }
  .profile-photo { margin-bottom: 20px; }
  h1 { font-size: 2.75rem; }
  h2 { font-size: 1.85rem; }
  .education-school { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
  .school-emblem { width: 48px; height: 48px; }
  .section-heading { gap: 12px; }
  .section-heading > span { flex-shrink: 0; }
  section { margin-bottom: 30px; padding-bottom: 30px; }
}
@media (max-width: 380px) {
  .paper-links span { flex-basis: 100%; margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; font-size: 11pt; }
  .page { max-width: none; padding: 0; }
  .topbar, .skip-link, footer { display: none; }
  .layout { display: block; padding: 0; }
  .profile { position: static; margin-bottom: 30px; }
  .profile-interests { display: none; }
  .paper, .timeline-entry { break-inside: avoid; }
}
