:root {
  --navy: #082f57;
  --navy-2: #0d426f;
  --blue-soft: #eaf1f7;
  --line: #c9d6e2;
  --muted: #4b6175;
  --paper: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: "Times New Roman", Times, "Songti SC", serif;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

.numeral {
  font-size: 1.25em !important;
  font-variant-numeric: lining-nums tabular-nums;
  line-height: 1;
}

a {
  color: var(--navy-2);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #001b33;
  text-decoration-thickness: 2px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--navy);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.nav-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.wordmark {
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 26px;
}

nav a {
  color: var(--navy);
  font-size: 0.94rem;
  text-decoration: none;
}

.hero {
  padding: 92px 0 84px;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: center;
  gap: 84px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--navy-2);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
strong,
b {
  color: var(--navy);
}

h1 {
  margin-bottom: 14px;
  max-width: 760px;
  font-size: clamp(3.25rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

h1 span {
  display: inline-block;
  font-size: 0.48em;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.role {
  margin-bottom: 2px;
  font-size: 1.55rem;
  font-weight: 700;
}

.affiliation {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.45;
}

.intro {
  max-width: 700px;
  margin-bottom: 30px;
  font-size: 1.16rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.portrait-wrap {
  margin: 0;
  align-self: stretch;
}

.portrait {
  width: 100%;
  height: 100%;
  min-height: 365px;
  display: block;
  border: 1px solid var(--navy);
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.86) contrast(1.03);
}

.section {
  padding: 86px 0;
}

.ruled {
  border-block: 1px solid var(--line);
  background: #fbfdff;
}

.prose-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 86px;
}

.long-copy p:last-child,
.contact-grid p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.source-note {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 62px;
  border-block: 1px solid var(--navy);
}

.metric {
  min-height: 145px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.metric:last-child {
  border-right: 0;
}

.metric strong {
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 1;
}

.metric span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.3;
}

.research-grid,
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--line);
}

.clean-list li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy);
}

.citation-list {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  counter-reset: papers;
}

.citation-list li {
  counter-increment: papers;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 44px;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.35;
}

.citation-list li::before {
  content: counter(papers, decimal-leading-zero);
  color: var(--muted);
  font-size: 0.78rem;
}

.citation-list b {
  text-align: right;
  font-weight: 400;
}

.text-link {
  font-size: 0.94rem;
}

.timeline {
  margin-bottom: 70px;
  border-top: 1px solid var(--navy);
}

.timeline-row {
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 40px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.timeline-row h3,
.timeline-row p {
  margin-bottom: 2px;
}

.timeline-row p {
  color: var(--muted);
}

.dated-list b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.dated-list [lang="zh-CN"] {
  color: var(--muted);
  font-family: "Songti SC", "SimSun", serif;
  font-size: 0.9em;
}

.subhead {
  margin-top: 38px;
}

.publication-note {
  max-width: 760px;
  margin: -22px 0 44px;
  color: var(--muted);
  font-size: 0.92rem;
}

.publication-group {
  margin-top: 54px;
}

.publication-group:first-of-type {
  margin-top: 0;
}

.publication-year-heading {
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--navy);
  font-size: 1.65rem;
  font-weight: 400;
}

.publication-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.publication-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.publication-title {
  display: inline;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration-color: #91a9bf;
}

.pub-meta,
.pub-venue {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.pub-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 1px 8px 2px;
  border: 1px solid #98afc4;
  border-radius: 999px;
  color: var(--navy-2);
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.35;
  vertical-align: 0.08em;
}

.publication-footer {
  margin: 40px 0 0;
}

.contact {
  background: var(--blue-soft);
}

.email {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--navy);
  background: white;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-row p {
  margin: 0;
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .site-header {
    position: static;
  }

  .nav-row {
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 60px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .portrait-wrap {
    width: min(100%, 330px);
  }

  .portrait {
    min-height: 390px;
  }

  .prose-grid,
  .contact-grid,
  .research-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .source-note {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 30px), var(--max));
  }

  .section {
    padding: 62px 0;
  }

  h1 {
    font-size: 3.2rem;
  }

  h1 span {
    display: block;
    margin-top: 14px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric:last-child {
    border-bottom: 0;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-row {
    flex-direction: column;
    gap: 10px;
  }
}

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