:root {
  --bg: #f4f6f5;
  --paper: #ffffff;
  --ink: #182523;
  --muted: #5d6966;
  --line: #d9dfdc;
  --teal: #0b665e;
  --blue: #294f70;
  --orange: #b96523;
  --tint: #edf2f0;
  --max: 1120px;
  --shadow: 0 16px 42px rgba(22, 43, 39, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration-color: rgba(11, 102, 94, 0.45); text-underline-offset: 4px; }
a:hover { color: var(--teal); }
img { display: block; max-width: 100%; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2 { margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: 2.15rem; line-height: 1.2; }
h3 { margin: 0; font-size: 1.05rem; line-height: 1.4; }

.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 20; padding: .6rem .8rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }
.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(217, 223, 220, .9); background: rgba(244, 246, 245, .96); backdrop-filter: blur(12px); }
.nav { width: min(calc(100% - 2rem), var(--max)); min-height: 68px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(11, 102, 94, .35); border-radius: 6px; background: var(--paper); color: var(--teal); font-size: .82rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; font-size: .91rem; }
.nav-links a { min-height: 68px; display: inline-flex; align-items: center; border-bottom: 2px solid transparent; color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a.active { border-color: var(--teal); color: var(--ink); }
.nav-links .language-link { min-height: 36px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 5px; color: var(--teal); }
.nav-toggle { display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero { min-height: 690px; display: grid; align-items: center; border-bottom: 1px solid var(--line); background: #f7f8f6; }
.hero-inner { width: min(calc(100% - 2rem), var(--max)); margin: auto; padding: 4.5rem 0; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr); align-items: center; gap: clamp(2.5rem, 7vw, 6rem); }
.eyebrow, .section-kicker { margin: 0 0 .65rem; color: var(--orange); font-size: .77rem; font-weight: 800; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: Georgia, "Noto Serif SC", "Songti SC", serif; font-size: clamp(3.4rem, 6.5vw, 5.2rem); line-height: 1; }
.hero-zh h1 { font-size: clamp(3rem, 5.5vw, 4.6rem); }
.hero-zh h1 span { display: block; margin-top: .8rem; color: var(--blue); font-family: Georgia, serif; font-size: .38em; font-weight: 600; }
.hero-name-zh { margin: .7rem 0 0; color: var(--blue); font-size: 1.5rem; font-weight: 700; }
.subtitle { margin: 1.1rem 0 0; color: var(--blue); font-size: 1.28rem; font-weight: 700; line-height: 1.55; }
.affiliation { margin: .65rem 0 0; color: var(--ink); font-weight: 700; }
.hero-summary { max-width: 720px; margin: 1.1rem 0 0; color: #374541; font-size: 1.04rem; }
.identity-note { max-width: 720px; margin: .75rem 0 0; color: var(--muted); font-size: .88rem; }
.identity-note a { color: var(--teal); font-weight: 750; }
.profile-figure { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 7px; background: #d9dedc; box-shadow: var(--shadow); }
.profile-figure::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(24, 37, 35, .12); border-radius: inherit; pointer-events: none; }
.profile-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 32% center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.hero-actions a, .text-link { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: .55rem .78rem; border: 1px solid rgba(11, 102, 94, .38); border-radius: 6px; background: var(--paper); color: var(--teal); font-weight: 750; text-decoration: none; }
.hero-actions a:hover, .text-link:hover { border-color: var(--teal); background: var(--teal); color: #fff; }
.topic-list { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.2rem; }
.topic-list span { padding: .26rem .55rem; border-left: 2px solid var(--orange); background: #eef2f0; color: #394844; font-size: .88rem; }

.section { padding: 5rem 0; background: var(--paper); }
.section-tint { background: var(--tint); }
.section-inner { width: min(calc(100% - 2rem), var(--max)); margin: auto; }
.two-column { display: grid; grid-template-columns: minmax(220px, .75fr) minmax(0, 1.55fr); gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.section-heading { max-width: 820px; margin-bottom: 2rem; }
.publication-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.prose p { margin: 0 0 1rem; color: #34413e; font-size: 1.03rem; text-align: left; }
.research-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.research-card { min-height: 250px; padding: 1.3rem; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfb; }
.card-index { display: block; margin-bottom: 2rem; color: var(--orange); font: 700 .78rem/1 Georgia, serif; }
.research-card h3 { color: var(--teal); font-size: 1.1rem; }
.research-card p { margin: .7rem 0 0; color: var(--muted); }
.keyword-list { display: flex; flex-wrap: wrap; gap: .35rem .75rem; margin: 1rem 0 0; padding: 0; list-style: none; color: var(--blue); font-size: .83rem; font-weight: 700; }

.section-note { margin: -1rem 0 1.5rem; color: var(--muted); font-size: .88rem; }
.output-summary { display: flex; align-items: baseline; gap: .5rem; color: var(--blue); }
.output-summary strong { font: 700 2.3rem/1 Georgia, serif; }
.output-summary span { color: var(--muted); font-size: .88rem; }
.publication-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: publication; }
.publication-list li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 1.25rem; padding: 1.25rem 0; border-top: 1px solid var(--line); counter-increment: publication; }
.pub-year { color: var(--orange); font-family: Georgia, serif; font-weight: 700; }
.pub-title { display: block; color: var(--ink); font-weight: 750; line-height: 1.45; text-decoration-color: rgba(11, 102, 94, .35); }
.publication-list p { margin: .35rem 0 0; color: var(--muted); line-height: 1.55; }

.timeline { display: grid; }
.timeline article { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.4rem; padding: 0 0 1.5rem 1.15rem; border-left: 2px solid #c7d3ce; }
.timeline article::before { content: ""; position: absolute; top: .5rem; left: -6px; width: 10px; height: 10px; border: 2px solid var(--tint); border-radius: 50%; background: var(--orange); }
.timeline time { color: var(--blue); font-weight: 750; }
.timeline p { margin: .25rem 0 0; color: var(--muted); }
.content-stack { display: grid; gap: 1rem; }
.content-stack article { padding: 1.15rem 1.25rem; border-left: 3px solid var(--orange); background: #f7f9f8; }
.content-stack article.join-panel { border-left-color: var(--teal); }
.content-stack p { margin: .5rem 0 0; color: #3e4b48; }

.contact-section { background: #f7f9f8; }
.contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-list p { min-height: 120px; margin: 0; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--paper); }
.contact-list span { color: var(--muted); font-size: .82rem; font-weight: 750; }
.contact-list strong, .contact-list a { color: var(--teal); font-size: .93rem; font-weight: 750; }
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .8); }
.footer-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; }
.footer-inner a { color: #fff; }

@media (max-width: 960px) {
  .nav-links { gap: .72rem; font-size: .84rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(245px, .65fr); gap: 2.5rem; }
  .research-grid { grid-template-columns: 1fr; }
  .research-card { min-height: 0; }
  .card-index { margin-bottom: 1.2rem; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-list p { min-height: 92px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 68px 0 auto; display: none; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links .language-link { min-height: 50px; padding: 0 1rem; border-width: 0 0 1px; border-radius: 0; line-height: 1; }
  .hero { min-height: 0; }
  .hero-inner { padding: 3.2rem 0; grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { order: 1; }
  .profile-figure { width: min(76vw, 330px); order: 2; aspect-ratio: 4 / 5; }
  .hero h1, .hero-zh h1 { font-size: 2.8rem; }
  .subtitle { font-size: 1.1rem; }
  .section { padding: 3.6rem 0; }
  .two-column { grid-template-columns: 1fr; gap: 1.6rem; }
  .publication-heading { align-items: flex-start; flex-direction: column; }
  .publication-list li { grid-template-columns: 58px minmax(0, 1fr); gap: .75rem; }
  .timeline article { grid-template-columns: 1fr; gap: .25rem; }
  .footer-inner { min-height: 100px; align-items: flex-start; justify-content: center; flex-direction: column; }
}

@media (max-width: 420px) {
  .brand > span:last-child { font-size: .9rem; }
  .hero h1, .hero-zh h1 { font-size: 2.45rem; }
  .hero-actions a { flex: 1 1 46%; padding-inline: .55rem; }
  .publication-list li { grid-template-columns: 1fr; gap: .25rem; }
  h2 { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
