:root {
  --bg: #ffffff;
  --text: #252526;
  --muted: #656565;
  --line: #e8e8e5;
  --soft: #f7f7f5;
  --accent: #315b4d;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: Inter, Helvetica, Arial, sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 3px; }
button { font: inherit; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-180%); background: var(--text); color: #fff; padding: 12px 16px; }
.skip-link:focus { transform: translateY(0); color: #fff; }
.page-shell { width: min(var(--container), calc(100% - 80px)); margin: 0 auto; padding: 64px 0 24px; }
.layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 68px; align-items: start; }
.profile-panel { position: sticky; top: 40px; display: flex; flex-direction: column; align-items: flex-start; }
.avatar { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; background: var(--soft); margin-bottom: 25px; }
h1, h2, h3 { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 500; line-height: 1.24; }
h1 { font-size: 34px; letter-spacing: -1.2px; margin-bottom: 14px; }
h2 { font-size: 28px; letter-spacing: -.65px; }
h3 { font-size: 18px; }
p { margin: 0; }
.chinese-name { display: block; margin-top: 7px; font-family: Inter, "PingFang SC", sans-serif; font-size: 17px; letter-spacing: .2em; font-weight: 400; color: var(--muted); }
.identity-line { margin: 0; color: var(--muted); line-height: 1.7; font-size: 13px; }
.identity-line.institution { color: var(--text); font-weight: 500; }
.identity-line.location { margin-top: 8px; color: #777; font-size: 12px; }
.profile-contact { margin-top: 23px; }
.email-link { font-size: 12px; border-bottom: 1px solid #c9c9c5; padding-bottom: 3px; }
.social-links { display: flex; gap: 9px; margin-top: 17px; }
.social-links a { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 100px; background: #fff; transition: background .15s, border-color .15s; }
.social-links a:hover { background: var(--soft); border-color: #bdbdb8; }
.social-links .cv-link { padding: 0 12px; gap: 5px; font-size: 11px; font-weight: 500; }
.social-links svg { width: 17px; height: 17px; fill: currentColor; }
.section-nav { display: grid; width: 190px; gap: 14px; margin-top: 33px; padding-top: 25px; border-top: 1px solid var(--line); }
.section-nav a { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.section-nav a:hover { color: var(--accent); }
.section-nav span { color: #a5a5a0; }
.profile-note { color: #858580; margin-top: 34px; font-family: Fraunces, Georgia, serif; font-size: 15px; line-height: 1.6; font-style: italic; }
.content-panel { min-width: 0; display: grid; gap: 48px; }
.bio-block { display: grid; gap: 18px; }
.eyebrow { font-size: 10px; line-height: 1.5; font-weight: 600; text-transform: uppercase; letter-spacing: .17em; color: var(--accent); margin: 0 0 -5px; }
.bio-block > p:not(.eyebrow) { font-size: 14px; line-height: 1.85; color: var(--muted); }
.bio-block a, .experience-role a { text-decoration: underline; text-decoration-color: #c7c7c2; text-underline-offset: 3px; }
strong { color: var(--text); font-weight: 600; }
.split-grid { display: grid; grid-template-columns: 1fr 1.12fr; gap: 32px; margin-top: 8px; }
.info-card { padding-top: 18px; border-top: 1px solid var(--line); }
.info-card h3 { font-size: 18px; }
.interest-list { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.interest-list li { padding-left: 15px; position: relative; }
.interest-list li::before { content: ""; position: absolute; top: 8px; left: 0; height: 4px; width: 4px; border-radius: 50%; background: #6a8076; }
.education-list { display: grid; gap: 17px; margin-top: 15px; }
.year { display: block; margin-bottom: 5px; color: #77776f; font-size: 10px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.6; }
.education-list p { color: var(--muted); line-height: 1.65; font-size: 12px; }
.education-list strong { font-weight: 500; }
.education-list .small-note { margin-top: 5px; font-size: 11px; color: #7a7a74; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.section-note { color: #77776f; font-size: 10px; white-space: nowrap; }
.publication-list { display: grid; margin-top: 22px; }
.publication-item { display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 25px; padding: 25px 0; border-top: 1px solid var(--line); align-items: start; }
.publication-item:last-child { padding-bottom: 0; }
.publication-thumb { position: relative; display: flex; width: 100%; height: 170px; margin-top: 4px; align-items: center; justify-content: center; border-radius: 7px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); }
.publication-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s; }
.publication-thumb.contain { background: #fff; }
.publication-thumb.contain img { object-fit: contain; padding: 7px; }
.publication-thumb:hover img { transform: scale(1.025); }
.image-hint { position: absolute; right: 6px; bottom: 6px; padding: 4px 7px; border-radius: 4px; font-size: 9px; color: var(--text); background: rgba(255,255,255,.94); box-shadow: 0 1px 6px #0001; }
.publication-body { display: grid; gap: 8px; min-width: 0; }
.publication-venue { font-size: 10px; color: var(--accent); font-weight: 600; letter-spacing: .035em; }
.publication-venue span { color: #77776f; font-weight: 400; margin-left: 6px; }
.publication-body h3 { font-size: 18px; line-height: 1.35; letter-spacing: -.2px; }
.publication-authors { font-size: 11px; line-height: 1.75; color: var(--muted); }
.publication-summary { color: var(--muted); font-size: 12px; line-height: 1.75; }
.paper-links { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 3px; }
.paper-links a { display: inline-flex; align-items: center; gap: 4px; color: #4b4b47; font-size: 10px; font-weight: 500; min-height: 28px; }
.paper-links a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.paper-links svg { width: 13px; height: 13px; fill: currentColor; }
.experience-list { margin-top: 22px; display: grid; }
.experience-item { padding: 22px 0; border-top: 1px solid var(--line); }
.experience-item:last-child { padding-bottom: 0; }
.experience-header { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.experience-header h3 { font-size: 17px; }
.experience-header h3 span { display: block; color: var(--muted); font-family: Inter, Helvetica, sans-serif; font-weight: 400; font-size: 11px; margin-top: 5px; }
.experience-header time { flex-shrink: 0; color: #77776f; font-size: 10px; line-height: 1.7; }
.experience-item p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-top: 8px; }
.experience-item .experience-role { font-size: 11px; margin-top: 12px; }
.more-block .split-grid { margin-top: 22px; }
.award-list { list-style: none; padding: 0; margin: 17px 0 0; display: grid; gap: 19px; }
.award-list li { display: grid; grid-template-columns: 33px minmax(0,1fr); gap: 12px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.award-list .year { padding-top: 1px; }
.award-list strong { font-weight: 500; font-size: 12px; }
.skills-copy { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 14px; }
.skills-copy strong { font-size: 11px; font-weight: 500; }
.info-card .outside-title { margin-top: 28px; }
.page-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 19px 0 3px; color: #81817a; font-size: 10px; }
.figure-dialog { width: min(1100px, calc(100% - 32px)); max-height: calc(100dvh - 48px); border: 1px solid var(--line); border-radius: 12px; padding: 48px 24px 24px; color: var(--text); background: #fff; }
.figure-dialog::backdrop { background: rgba(20,22,20,.65); }
.dialog-close { position: absolute; top: 10px; right: 14px; display: flex; align-items: center; gap: 10px; border: 0; border-radius: 4px; padding: 5px 10px; color: var(--muted); background: var(--soft); cursor: pointer; font-size: 12px; }
.dialog-close span { font-size: 22px; }
.dialog-image { display: block; width: 100%; max-height: calc(100dvh - 230px); object-fit: contain; }
.figure-dialog p { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: 18px; }
.figure-source { display: inline-block; margin-top: 10px; color: var(--accent); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
body:has(.figure-dialog[open]) { overflow: hidden; }
@media (max-width: 1080px) {
  .page-shell { width: calc(100% - 56px); padding-top: 44px; }
  .layout { grid-template-columns: 210px minmax(0,1fr); gap: 40px; }
  .publication-item { grid-template-columns: 195px minmax(0,1fr); gap: 20px; }
  .publication-thumb { height: 150px; }
}
@media (max-width: 850px) {
  .page-shell { width: min(710px, calc(100% - 48px)); padding-top: 36px; }
  .layout { grid-template-columns: 1fr; gap: 42px; }
  .profile-panel { position: static; display: grid; grid-template-columns: 135px minmax(0,1fr); column-gap: 25px; align-items: center; }
  .avatar { grid-row: 1 / 3; width: 135px; height: 135px; margin: 0; }
  h1 { font-size: 29px; margin-bottom: 9px; }
  .chinese-name { display: inline; font-size: 15px; margin-left: 7px; letter-spacing: .1em; }
  .identity-line { font-size: 12px; }
  .identity-line.location { margin-top: 3px; font-size: 11px; }
  .profile-contact { grid-column: 2; margin-top: 12px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .email-link { font-size: 11px; }
  .social-links { margin-top: 0; gap: 6px; }
  .social-links a { min-width: 32px; height: 32px; }
  .section-nav { grid-column: 1 / -1; width: 100%; display: flex; flex-wrap: wrap; gap: 24px; margin-top: 25px; padding-top: 17px; }
  .section-nav a { gap: 7px; }
  .profile-note { display: none; }
  .publication-item { grid-template-columns: 215px minmax(0,1fr); }
  .publication-thumb { height: 155px; }
}
@media (max-width: 560px) {
  html { scroll-padding-top: 20px; }
  .page-shell { width: calc(100% - 36px); padding-top: 28px; }
  .profile-panel { grid-template-columns: 95px minmax(0,1fr); gap: 0 20px; }
  .avatar { grid-row: 1; width: 95px; height: 95px; }
  h1 { font-size: 28px; }
  .chinese-name { display: block; margin: 5px 0 10px; font-size: 14px; }
  .identity-line { font-size: 11px; }
  .profile-contact { grid-column: 1 / -1; margin-top: 22px; justify-content: space-between; gap: 12px; }
  .email-link { font-size: 12px; }
  .section-nav { gap: 19px; margin-top: 22px; }
  .section-nav a { font-size: 10px; gap: 4px; }
  .layout { gap: 32px; }
  .content-panel { gap: 38px; }
  h2 { font-size: 26px; }
  .bio-block > p:not(.eyebrow) { font-size: 13px; line-height: 1.85; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; }
  .split-grid { grid-template-columns: 1fr; gap: 25px; }
  .interest-list { grid-template-columns: 1fr 1fr; gap: 9px 14px; font-size: 12px; }
  .publication-item { grid-template-columns: 1fr; gap: 17px; padding: 22px 0; }
  .publication-thumb { margin: 0; height: auto; aspect-ratio: 16 / 9; }
  .publication-thumb.contain img { position: absolute; inset: 0; padding: 10px; }
  .publication-thumb:not(.contain) img { height: 100%; position: absolute; inset: 0; }
  .publication-body h3 { font-size: 19px; }
  .publication-authors { font-size: 11px; }
  .publication-summary { font-size: 12px; }
  .paper-links a { min-height: 32px; font-size: 11px; }
  .section-note { font-size: 9px; }
  .experience-header { align-items: start; gap: 12px; }
  .experience-header h3 { font-size: 17px; }
  .experience-header time { font-size: 9px; padding-top: 3px; }
  .experience-header h3 span { line-height: 1.6; }
  .figure-dialog { padding: 48px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
