:root {
  --text: #222;
  --muted: #5f6368;
  --light: #8a8f96;
  --accent: #285f9e;
  --accent-dark: #194b83;
  --line: #d9dde2;
  --soft: #f5f7f9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body { margin: 0; color: var(--text); background: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
::selection { background: #dbeafe; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.header-inner { width: min(1040px, calc(100% - 40px)); height: 66px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.site-name { color: var(--text); font-family: Georgia, 'Times New Roman', serif; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.site-name:hover { color: var(--text); text-decoration: none; }
.site-header nav { display: flex; gap: 25px; font-size: 13px; }
.site-header nav a { color: #42464b; }
.site-header nav a:hover { color: var(--accent); text-decoration: none; }
.language-switch { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.language-switch > span { color: var(--light); }
.site-header nav .language-switch a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.language-switch a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
html[lang="zh-CN"] body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif; }
html[lang="zh-CN"] .site-name, html[lang="zh-CN"] .intro-copy h1, html[lang="zh-CN"] .section h2, html[lang="zh-CN"] .education-item h3, html[lang="zh-CN"] .research-list h3, html[lang="zh-CN"] .experience-item h3 { font-family: inherit; }
html[lang="zh-CN"] .bio { line-height: 1.85; }

.page { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }
.intro { display: grid; grid-template-columns: 164px minmax(0, 1fr); gap: 42px; align-items: start; padding: 64px 0 54px; border-bottom: 1px solid var(--line); }
.portrait-wrap img { display: block; width: 160px; height: 200px; object-fit: cover; object-position: 54% 34%; border-radius: 3px; box-shadow: 0 1px 5px rgba(0,0,0,.14); }
.intro-copy h1 { margin: -8px 0 4px; font-family: Georgia, 'Times New Roman', serif; font-size: 38px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.intro-copy h1 span { margin-left: 10px; color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 18px; font-weight: 400; letter-spacing: 0; }
.position { margin: 5px 0 0; color: var(--accent); font-size: 17px; font-weight: 600; }
.affiliation { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-links { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 18px 0 25px; font-size: 13px; }
.contact-links a::after { content: '›'; margin-left: 4px; }
.bio { max-width: 760px; }
.bio p { margin: 0 0 11px; }

.section { padding: 43px 0 12px; }
.section h2 { margin: 0 0 24px; padding-bottom: 8px; border-bottom: 1px solid var(--line); color: var(--text); font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 500; line-height: 1.3; }
.section h2::after { content: ''; display: block; width: 42px; height: 2px; margin-top: 9px; margin-bottom: -11px; background: var(--accent); }
.section h3 { margin: 0; font-size: 16px; line-height: 1.45; }
.section p { margin: 4px 0; }

.education-list { display: grid; gap: 24px; }
.education-item { display: grid; grid-template-columns: 162px minmax(0, 1fr); gap: 28px; }
.education-dates, .experience-dates { color: var(--light); font-size: 12px; letter-spacing: .02em; padding-top: 3px; }
.education-item h3 { color: var(--accent-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 18px; font-weight: 600; }
.education-item .degree { color: var(--text); font-weight: 600; }
.education-item p { color: var(--muted); font-size: 13px; }
.education-item .note { margin-top: 6px; font-style: italic; }

.research-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 50px; }
.research-list article { padding-left: 16px; border-left: 3px solid #ced9e6; }
.research-list h3 { color: var(--accent-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-weight: 600; }
.research-list p { color: var(--muted); font-size: 13px; line-height: 1.65; }

.section-heading-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.section-heading-row h2 { flex: 1; border: 0; margin: 0; }
.section-heading-row>a { font-size: 12px; white-space: nowrap; }
.publication { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 12px; padding: 22px 0; border-bottom: 1px solid #e7e9ec; }
.pub-year { color: var(--light); font-size: 12px; font-weight: 600; padding-top: 3px; }
.pub-content h3 { color: var(--text); font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-weight: 600; }
.authors { color: #3e4349; font-size: 13px; }
.venue { color: var(--muted); font-size: 13px; font-style: italic; }
.pub-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 8px; }
.pub-links a { font-size: 12px; }
.pub-links span { padding: 1px 7px; border: 1px solid #cdd7e2; border-radius: 2px; color: #637083; background: #f8fafc; font-size: 10px; }

.experience-item { display: grid; grid-template-columns: 162px minmax(0, 1fr); gap: 28px; }
.experience-item h3 { color: var(--accent-dark); font-family: Georgia, 'Times New Roman', serif; font-size: 18px; }
.experience-title { font-weight: 600; }
.experience-item>div:last-child>p:not(.experience-title):not(.inline-links) { color: var(--muted); font-size: 13px; }
.inline-links { display: flex; gap: 22px; margin-top: 10px!important; font-size: 12px; }

footer { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; padding: 24px 0 36px; border-top: 1px solid var(--line); color: var(--light); font-size: 11px; }

@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }
  .header-inner { height: auto; min-height: 62px; padding: 12px 0; align-items: flex-start; }
  .site-header nav { gap: 13px; flex-wrap: wrap; justify-content: flex-end; }
  .site-header nav > a:nth-child(3) { display: none; }
  .intro { grid-template-columns: 120px 1fr; gap: 24px; padding-top: 42px; }
  .portrait-wrap img { width: 116px; height: 150px; }
  .intro-copy h1 { font-size: 31px; }
  .intro-copy h1 span { display: block; margin: 3px 0 0; }
  .bio { grid-column: 1 / -1; }
  .education-item, .experience-item { grid-template-columns: 128px minmax(0, 1fr); gap: 20px; }
  .research-list { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .header-inner, .page { width: calc(100% - 28px); }
  .header-inner { display: block; }
  .site-name { display: block; margin-bottom: 6px; }
  .site-header nav { justify-content: flex-start; font-size: 12px; }
  .intro { grid-template-columns: 88px 1fr; gap: 17px; padding: 32px 0 36px; }
  .portrait-wrap img { width: 86px; height: 112px; }
  .intro-copy h1 { font-size: 25px; }
  .intro-copy h1 span { font-size: 14px; }
  .position { font-size: 14px; }
  .affiliation { font-size: 12px; }
  .contact-links { grid-column: 1 / -1; margin: 15px 0 20px; }
  .bio { grid-column: 1 / -1; }
  .section { padding-top: 36px; }
  .education-item, .experience-item { grid-template-columns: 1fr; gap: 4px; }
  .education-dates, .experience-dates { order: 2; }
  .publication { grid-template-columns: 1fr; gap: 3px; }
  .pub-year { order: 2; }
  .section-heading-row { align-items: flex-start; }
  .section-heading-row>a { padding-top: 6px; }
  footer { flex-direction: column; align-items: center; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

