:root {
  color-scheme: light;
  --ink: #192b43;
  --text: #415066;
  --muted: #69768a;
  --accent: #255fba;
  --accent-deep: #15468c;
  --line: #e4e9ef;
  --soft: #f5f8fc;
  --page-width: 1160px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: #fff; color: var(--text); }
[hidden] { display: none !important; }
a { color: var(--accent); text-underline-offset: .23em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid #80a9e6; outline-offset: 5px; border-radius: 2px; }
button { font: inherit; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, ol, ul, dl { margin-top: 0; }
p { margin-bottom: 1.1em; }
h1, h2, h3 { color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.35rem, 4.2vw, 3.25rem); line-height: 1.15; letter-spacing: -.045em; margin-bottom: 1.6rem; }
h2 { font-size: 1.4rem; line-height: 1.35; letter-spacing: -.025em; margin-bottom: 1.1rem; }
h3 { font-size: 1.075rem; line-height: 1.5; letter-spacing: -.013em; margin-bottom: .35rem; }
strong { color: var(--ink); font-weight: 600; }
cite { font-style: normal; }
::selection { background: #dce9fc; color: #162f53; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 4px; }
.skip-link:focus { top: 1rem; color: #fff; }
.site-header, .site-shell, .site-footer { width: min(calc(100% - 5rem), var(--page-width)); margin-inline: auto; }
.site-header { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); }
.site-brand { display: inline-flex; align-items: center; gap: .85rem; color: var(--ink); font-size: 1rem; font-weight: 650; letter-spacing: -.025em; text-decoration: none; white-space: nowrap; }
.site-brand span { font-size: .875rem; color: var(--muted); font-weight: 400; letter-spacing: .1em; }
.primary-nav { display: flex; align-items: center; gap: 1.9rem; }
.primary-nav a { position: relative; padding: .5rem 0; color: var(--muted); font-size: .9rem; font-weight: 500; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--ink); }
.primary-nav a[aria-current="page"]::after { position: absolute; left: 0; right: 0; bottom: .2rem; height: 2px; background: var(--accent); content: ""; }
.menu-toggle { display: inline-flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 5px; background: #fff; padding: .35rem .7rem; color: var(--ink); cursor: pointer; font-size: .875rem; min-height: 42px; }
.menu-lines { width: 14px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.site-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(3rem, 6.8vw, 6rem); padding-top: 4.4rem; padding-bottom: 5.4rem; align-items: start; }
.profile { position: sticky; top: 2.5rem; }
.portrait-link { display: inline-block; border-radius: 50%; margin-bottom: 1.45rem; }
.portrait { width: 170px; height: 170px; object-fit: cover; border-radius: 50%; background: var(--soft); }
.profile-name { color: var(--ink); font-size: 1.65rem; line-height: 1.2; letter-spacing: -.04em; font-weight: 650; margin-bottom: .4rem; }
.profile-chinese { font-size: .95rem; color: var(--muted); letter-spacing: .18em; margin-bottom: 1.55rem; }
.profile-role { color: var(--ink); font-size: .94rem; font-weight: 600; margin-bottom: .2rem; }
.profile-program { font-size: .9rem; line-height: 1.6; margin-bottom: .8rem; max-width: 215px; }
.profile-institution { font-size: .9rem; line-height: 1.6; margin-bottom: 1.5rem; max-width: 210px; color: var(--muted); }
.profile-links { display: flex; flex-wrap: wrap; gap: .5rem 1rem; max-width: 225px; padding-top: 1rem; border-top: 1px solid var(--line); }
.profile-links a { font-size: .875rem; text-decoration: none; }
.profile-links a:hover { text-decoration: underline; }
.main-content { min-width: 0; padding-top: .15rem; }
.main-content:focus { outline: none; }
.eyebrow { margin-bottom: 1rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; line-height: 1.5; font-weight: 600; }
.intro h1 { margin-bottom: 1.9rem; }
.intro h1 span { color: #54667e; }
.bio { font-size: 1.025rem; line-height: 1.8; }
.bio p:last-child { margin-bottom: 0; }
.content-section { margin-top: 3.7rem; }
.first-section { margin-top: 2.7rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2rem; margin-bottom: 1.15rem; }
.section-heading h2 { margin-bottom: 0; }
.text-link { flex-shrink: 0; font-size: .875rem; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-note { font-size: .8125rem; color: var(--muted); }
.interest-list { border-top: 1px solid var(--line); }
.interest-item { display: grid; grid-template-columns: 1fr 1.65fr; gap: 1.8rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.interest-item h3 { font-size: .97rem; line-height: 1.6; margin: 0; }
.interest-item p { font-size: 1rem; line-height: 1.65; margin: 0; }
.interest-item p + p { margin-top: .75rem; }
.interest-list-expanded .interest-item { padding-block: 1.5rem; }
.publication-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.publication-item { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.publication-year { padding-top: .12rem; color: var(--muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.publication-item h3 { font-size: 1.025rem; line-height: 1.55; margin-bottom: .5rem; }
.publication-item h3 a { color: var(--ink); text-decoration: none; }
.publication-item h3 a:hover { color: var(--accent); text-decoration: underline; }
.publication-authors { font-size: .875rem; line-height: 1.7; color: var(--muted); margin-bottom: .5rem; }
.publication-authors strong { font-weight: 550; color: var(--text); }
.publication-journal { display: block; font-size: .875rem; color: var(--text); line-height: 1.6; margin-bottom: 0; }
.meta-divider { margin-inline: .55rem; color: #a1aab8; }
.doi-link { font-size: .875rem; white-space: nowrap; text-decoration: none; }
.doi-link:hover { text-decoration: underline; }
.tool-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.3rem; }
.tool-item h3 { font-size: 1rem; margin-bottom: .55rem; }
.tool-item h3 a { text-decoration: none; color: var(--ink); }
.tool-item h3 a:hover { color: var(--accent); }
.tool-item p { font-size: 1rem; line-height: 1.65; margin-bottom: .6rem; }
.tool-item .text-link { font-size: .875rem; }
.contact-note { margin-top: 3.6rem; border-top: 1px solid var(--line); padding-top: 1.7rem; }
.contact-note h2 { font-size: 1.1rem; margin-bottom: .5rem; }
.contact-note p { font-size: 1rem; margin: 0; }
.site-footer { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); padding: 1.4rem 0 2rem; color: var(--muted); font-size: .8125rem; }
.page-heading h1 { margin-bottom: 1.35rem; }
.page-intro { font-size: 1.125rem; line-height: 1.75; color: #5b6b80; max-width: 42rem; margin-bottom: 0; }
.education-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.education-list li { display: grid; grid-template-columns: 110px minmax(0,1fr); gap: 1.6rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.education-years { font-size: .875rem; color: var(--muted); font-variant-numeric: tabular-nums; margin: 0; padding-top: .1rem; }
.education-list h3 { font-size: 1rem; margin-bottom: .35rem; }
.education-list div p { font-size: 1rem; margin: 0; }
.methods-list { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem 2rem; padding-left: 1.15rem; margin-bottom: 0; font-size: 1rem; }
.methods-list li::marker { color: #8b9bb2; }
.cv-section p { font-size: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 45px; padding: .6rem 1.1rem; border: 1px solid var(--accent); border-radius: 5px; background: var(--accent); color: #fff; font-size: .9rem; font-weight: 500; text-decoration: none; line-height: 1.4; }
.button:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.button-secondary { background: #fff; color: var(--ink); border-color: #d2dbe7; }
.button-secondary:hover { background: var(--soft); color: var(--accent-deep); border-color: #aebfd7; }
.button-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.section-intro { font-size: 1rem; margin-bottom: 1.5rem; }
.paper-type { color: var(--muted); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .4rem; }
.orcid-note { margin-top: 2.1rem; font-size: 1rem; }
.contact-list { border-top: 1px solid var(--line); margin: 0; }
.contact-list > div { display: grid; grid-template-columns: 115px minmax(0,1fr); gap: 1.2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--ink); font-size: .95rem; font-weight: 500; }
.contact-list dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.affiliation-section p { font-size: 1rem; }
.breadcrumb { font-size: .875rem; margin-bottom: 1.9rem; }
.breadcrumb a { text-decoration: none; }
.paper-detail h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.3; letter-spacing: -.03em; margin-bottom: 1.7rem; }
.paper-authors { font-size: 1rem; line-height: 1.8; color: var(--muted); }
.paper-metadata { margin: 2rem 0; border-top: 1px solid var(--line); }
.paper-metadata > div { display: grid; grid-template-columns: 85px minmax(0,1fr); gap: 1.3rem; border-bottom: 1px solid var(--line); padding: .9rem 0; font-size: .9rem; }
.paper-metadata dt { color: var(--muted); }
.paper-metadata dd { margin: 0; overflow-wrap: anywhere; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-width: 1400px) { .site-shell { padding-top: 5.3rem; } }
@media (max-width: 1000px) {
  .site-header, .site-shell, .site-footer { width: min(calc(100% - 3rem), var(--page-width)); }
  .site-shell { grid-template-columns: 205px minmax(0,1fr); gap: 2.8rem; }
  .primary-nav { gap: 1.25rem; }
  .site-brand span { display: none; }
  .interest-item { grid-template-columns: 1fr; gap: .4rem; }
  .education-list li { grid-template-columns: 95px minmax(0,1fr); gap: 1rem; }
  .tool-grid { gap: 1rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 1.2rem; }
  .site-header, .site-shell, .site-footer { width: calc(100% - 2.5rem); }
  .site-header { min-height: 77px; gap: 0; flex-wrap: wrap; padding-block: 1rem; }
  .site-brand span { display: inline; font-size: .8125rem; }
  .primary-nav { width: 100%; flex-wrap: wrap; gap: .5rem 1.45rem; padding-top: .7rem; }
  .primary-nav a { padding-block: .55rem; }
  .site-shell { display: block; padding-top: 2.25rem; padding-bottom: 3rem; }
  .profile { position: static; display: grid; grid-template-columns: 100px minmax(0,1fr); column-gap: 1.2rem; margin-bottom: 2.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid var(--line); }
  .portrait-link { grid-column: 1; grid-row: 1 / 6; margin: .15rem 0 0; align-self: start; }
  .portrait { width: 100px; height: 100px; }
  .profile-name { grid-column: 2; font-size: 1.4rem; margin-bottom: .15rem; }
  .profile-chinese { grid-column: 2; font-size: .875rem; margin-bottom: .7rem; }
  .profile-role { grid-column: 2; font-size: .875rem; margin-bottom: 0; }
  .profile-program { grid-column: 2; max-width: none; font-size: .875rem; line-height: 1.5; margin-bottom: .4rem; }
  .profile-institution { grid-column: 2; max-width: none; font-size: .875rem; margin-bottom: 0; line-height: 1.5; }
  .profile-links { grid-column: 1 / -1; max-width: none; border-top: 0; gap: .5rem 1.3rem; margin-top: 1rem; padding-top: 0; }
  .profile-links a { font-size: .875rem; }
  h1 { font-size: clamp(2.05rem, 7vw, 2.75rem); }
  .eyebrow { font-size: .75rem; }
  .bio { font-size: 1rem; line-height: 1.8; }
  .content-section { margin-top: 2.75rem; }
  .first-section { margin-top: 2.2rem; }
  .section-heading { gap: .65rem; align-items: center; }
  .section-heading h2 { font-size: 1.25rem; }
  .section-heading .text-link { font-size: .875rem; }
  .section-note { font-size: .8125rem; }
  .interest-item { grid-template-columns: 1fr 1.5fr; gap: 1.2rem; }
  .publication-item { gap: .9rem; grid-template-columns: 35px minmax(0,1fr); padding-block: 1.2rem; }
  .publication-item h3 { font-size: 1rem; }
  .publication-authors, .publication-journal { font-size: .875rem; }
  .tool-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .tool-item { padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
  .tool-item:last-child { border-bottom: 0; padding-bottom: 0; }
  .tool-item p { margin-bottom: .35rem; }
  .tool-item h3 { font-size: 1.05rem; }
  .tool-item .text-link { font-size: .875rem; }
  .contact-note { margin-top: 2.7rem; }
  .page-intro { font-size: 1.05rem; }
  .education-list li { grid-template-columns: 95px minmax(0,1fr); }
  .methods-list { grid-template-columns: 1fr; gap: .5rem; }
  .paper-detail h1 { font-size: 1.8rem; }
  .site-footer { font-size: .75rem; padding-bottom: 1.5rem; }
}
@media (max-width: 430px) {
  .site-header, .site-shell, .site-footer { width: calc(100% - 2rem); }
  .site-brand { gap: .6rem; }
  .profile { grid-template-columns: 88px minmax(0,1fr); gap: 0 1rem; }
  .portrait { width: 88px; height: 88px; }
  .profile-name { font-size: 1.3rem; }
  .interest-item { grid-template-columns: 1fr; gap: .35rem; }
  .section-heading { flex-wrap: wrap; align-items: baseline; }
  .education-list li { display: block; }
  .education-years { margin-bottom: .5rem; }
  .contact-list > div { grid-template-columns: 84px minmax(0,1fr); gap: .7rem; }
  .contact-list dd { font-size: 1rem; }
  .paper-metadata > div { grid-template-columns: 70px minmax(0,1fr); gap: .7rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { font-size: 10pt; }
  .site-header, .profile, .site-footer, .skip-link, .contact-note, .button, .breadcrumb { display: none; }
  .site-shell { display: block; width: auto; padding: 0; }
  .main-content { max-width: none; }
  a { color: inherit; }
  .content-section { margin-top: 1.5rem; }
  .publication-item, .education-list li, .tool-item { break-inside: avoid; }
}
