:root {
  --ink: #1c2736;
  --muted: #667386;
  --faint: #8b95a3;
  --line: #e1e6ec;
  --accent: #245b82;
  --paper: #fcfcfb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.72 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.page-shell { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }
.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: .9rem; font-weight: 680; text-decoration: none; }
.brand-mark { display: grid; width: 29px; height: 29px; place-items: center; border: 1px solid #aeb9c5; border-radius: 4px; color: var(--accent); font: 700 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
nav { display: flex; gap: 27px; }
nav a { color: var(--muted); font-size: .82rem; font-weight: 560; text-decoration: none; }
nav a:hover { color: var(--accent); }
main { padding: 72px 0 94px; }
.academic-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 76px; align-items: start; }
.profile-panel { position: sticky; top: 42px; }
.initials { display: grid; width: 62px; height: 62px; place-items: center; margin-bottom: 23px; border: 1px solid #b9c4ce; border-radius: 5px; color: var(--accent); background: white; font: 650 1rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; }
.profile-panel h1 { margin: 0; color: #132030; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 600; letter-spacing: -.035em; line-height: 1.12; }
.name-cn { margin: 4px 0 19px; color: var(--faint); font-size: .82rem; letter-spacing: .12em; }
.role { margin: 0 0 3px; color: var(--accent); font-size: .88rem; font-weight: 680; }
.affiliation { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.profile-meta { display: grid; gap: 4px; margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--faint); font-size: .76rem; }
.profile-links { display: grid; justify-items: start; gap: 8px; }
.profile-links a { color: var(--accent); font-size: .82rem; font-weight: 620; text-decoration: none; }
.profile-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.intro { padding-bottom: 58px; scroll-margin-top: 30px; }
.overline { margin: 0 0 12px; color: var(--accent); font: 650 .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.intro h2 { max-width: none; margin: 0 0 19px; color: #132030; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; white-space: nowrap; }
.intro > p:not(.overline) { max-width: 700px; margin: 0; color: #4f5d6f; font-size: 1.02rem; }
.interest-list { display: flex; flex-wrap: wrap; gap: 6px 19px; margin: 24px 0 0; padding: 0; list-style: none; }
.interest-list li { position: relative; color: #526175; font-size: .82rem; }
.interest-list li:not(:last-child)::after { content: "·"; position: absolute; right: -12px; color: #abb4bf; }
.content-section { padding: 52px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2 { margin: 0; color: #132030; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.section-heading span { color: var(--faint); font: .72rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; }
.publication-list, .record-list { border-top: 1px solid var(--line); }
.publication-row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.publication-row time, .record > time { padding-top: 2px; color: var(--faint); font: .75rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; }
.publication-row h3, .record h3 { margin: 0 0 5px; color: var(--ink); font-size: .96rem; font-weight: 660; line-height: 1.52; }
.publication-row p, .record p { margin: 0; color: var(--muted); font-size: .84rem; }
.publication-row strong { color: var(--accent); font-weight: 650; }
.record { display: grid; grid-template-columns: 142px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.record .institution { margin-bottom: 7px; color: var(--accent); font-size: .8rem; font-weight: 620; }
.details-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr); gap: 58px; }
.details-grid h3 { margin: 0 0 13px; color: var(--ink); font-size: .79rem; letter-spacing: .06em; text-transform: uppercase; }
.details-grid p { margin: 0; color: var(--muted); font-size: .86rem; }
.details-grid .language-heading { margin-top: 28px; }
.text-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.text-list li { position: relative; padding-left: 14px; color: var(--muted); font-size: .85rem; }
.text-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 4px; height: 4px; border-radius: 50%; background: #7c9bb2; }
footer { display: flex; justify-content: space-between; padding: 26px 0 34px; border-top: 1px solid var(--line); color: var(--faint); font-size: .75rem; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 32px, 650px); }
  nav { display: none; }
  main { padding: 48px 0 70px; }
  .academic-layout { grid-template-columns: 1fr; gap: 48px; }
  .profile-panel { position: static; display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; }
  .initials { grid-row: 1 / 5; width: 58px; height: 58px; margin: 0; }
  .name-cn { margin-bottom: 12px; }
  .profile-meta, .profile-links { grid-column: 1 / -1; }
  .profile-links { display: flex; gap: 20px; }
}

@media (max-width: 500px) {
  .page-shell { width: calc(100% - 24px); }
  .brand > span:last-child { display: none; }
  .intro h2 { white-space: normal; }
  .publication-row, .record { grid-template-columns: 1fr; gap: 5px; }
  .details-grid { grid-template-columns: 1fr; gap: 38px; }
  .interest-list { display: grid; gap: 5px; }
  .interest-list li::after { display: none; }
  footer { display: grid; gap: 4px; }
}
