:root {
  color-scheme: light;
  --ink: #17201f;
  --muted: #60706d;
  --subtle: #edf3f1;
  --line: #d8e2df;
  --paper: #fbfcfb;
  --white: #ffffff;
  --teal: #0f766e;
  --teal-dark: #0b4f4b;
  --copper: #b65632;
  --gold: #c18a2d;
  --green: #557c55;
  --shadow: 0 18px 44px rgba(23, 32, 31, 0.09);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(237, 243, 241, 0.72), rgba(251, 252, 251, 0) 420px),
    var(--paper);
  font-family:
    Inter, "Source Sans 3", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 20;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--copper));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 28px;
  background: rgba(251, 252, 251, 0.88);
  border-bottom: 1px solid rgba(216, 226, 223, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--teal-dark);
  border-color: var(--teal);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 82px 28px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.62fr);
  align-items: center;
  gap: 48px;
  min-height: 760px;
  padding-top: 48px;
  padding-bottom: 68px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--copper);
  font-size: 22px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 104px);
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: 0;
}

.name-cn {
  margin: 12px 0 26px;
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 700;
}

.lead {
  max-width: 720px;
  margin-top: 26px;
  color: #31413e;
  font-size: 20px;
  line-height: 1.65;
}

.hero-actions,
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.identity-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  width: min(100%, 760px);
}

.identity-chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: var(--subtle);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 850;
  white-space: nowrap;
}

.button,
.filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(23, 32, 31, 0.03);
}

.button.primary,
.filter.active {
  color: var(--white);
  border-color: var(--teal);
  background: var(--teal);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.quick-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.quick-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 4px 0 0;
  font-weight: 750;
  line-height: 1.35;
}

.hero-visual,
.profile-card {
  position: relative;
  overflow: hidden;
  height: 540px;
  min-height: 540px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 35% 25%, rgba(193, 138, 45, 0.22), transparent 34%),
    linear-gradient(145deg, #ffffff, #e4efec 58%, #dbe8e4);
  box-shadow: var(--shadow);
}

.profile-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff, #eff6f4 64%, #e4efec),
    var(--white);
}

.profile-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: contain;
  object-position: center bottom;
  padding: 22px 22px 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #f7faf9, #e8f1ef);
}

.profile-card div {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(216, 226, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.profile-card h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.profile-card p {
  margin-bottom: 6px;
  color: var(--muted);
  font-weight: 700;
}

#latticeCanvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.visual-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: #23302e;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 226, 223, 0.9);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.visual-caption span {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 1fr);
  gap: 46px;
  border-top: 1px solid var(--line);
}

.section-heading {
  position: sticky;
  top: 96px;
  align-self: start;
}

h2 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.3;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.research-item,
.publication,
.timeline article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 32, 31, 0.04);
}

.research-item {
  min-height: 224px;
  padding: 22px;
}

.research-item.featured {
  border-color: rgba(15, 118, 110, 0.35);
  background:
    linear-gradient(180deg, rgba(237, 243, 241, 0.9), rgba(255, 255, 255, 1)),
    var(--white);
}

.item-number,
.year,
time {
  color: var(--copper);
  font-weight: 850;
}

.research-item p,
.publication p,
.timeline p,
.group-section p,
.contact-section p {
  color: var(--muted);
}

.profile-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
}

.metric-band div {
  min-height: 118px;
  padding: 24px 28px;
  background: #f6f9f8;
}

.metric-band strong,
.metric-band span {
  display: block;
}

.metric-band strong {
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.metric-band span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
}

.title-list {
  padding: 30px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 32, 31, 0.04);
}

.title-list .eyebrow {
  margin-bottom: 20px;
}

.title-list ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.title-list li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--subtle);
  font-size: 18px;
  font-weight: 850;
}

.section-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.publication-list {
  display: grid;
  gap: 12px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.highlight-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 190px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 32, 31, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.highlight-card.large {
  grid-column: span 2;
  grid-template-columns: minmax(260px, 0.56fr) minmax(0, 1fr);
}

.highlight-card.text-only {
  grid-template-columns: 1fr;
}

.highlight-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: contain;
  border-radius: 8px;
  background: var(--subtle);
}

.highlight-card.large img {
  aspect-ratio: 1.75;
}

.highlight-card p,
.section-topline > p {
  color: var(--muted);
  font-size: 17px;
}

.highlight-card:hover {
  border-color: rgba(15, 118, 110, 0.45);
  box-shadow: 0 16px 36px rgba(23, 32, 31, 0.08);
  transform: translateY(-1px);
}

.link-arrow {
  display: inline-flex;
  margin-top: 8px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 850;
}

.publication-note {
  max-width: 820px;
  margin: -8px 0 24px;
  color: var(--muted);
}

.publication-note a {
  color: var(--teal);
  font-weight: 850;
}

.publication {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}

.publication:hover {
  border-color: rgba(15, 118, 110, 0.45);
  transform: translateY(-1px);
}

.publication p {
  font-size: 17px;
}

.publication.hidden {
  display: none;
}

.tag {
  display: inline-flex;
  margin: 6px 6px 0 0;
  padding: 4px 8px;
  color: var(--teal-dark);
  background: var(--subtle);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  padding: 22px;
}

.group-section,
.contact-section {
  border-top: 1px solid var(--line);
}

.group-section .section-topline p {
  max-width: 520px;
  margin-bottom: 0;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-row span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--green);
  font-weight: 800;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 48px;
}

address {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-style: normal;
  font-weight: 750;
}

address a {
  color: var(--teal);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 28px 48px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero,
  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 58px;
  }

  .identity-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .hero-visual {
    height: 420px;
    min-height: 420px;
  }

  .profile-card {
    height: auto;
    min-height: 0;
  }

  .profile-card img {
    min-height: 300px;
    max-height: 420px;
  }

  .section-heading {
    position: static;
  }

  .quick-facts,
  .profile-summary,
  .research-grid,
  .highlight-grid,
  .highlight-card,
  .highlight-card.large {
    grid-template-columns: 1fr 1fr;
  }

  .metric-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .section {
    padding: 58px 18px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .lead {
    font-size: 17px;
  }

  .quick-facts,
  .profile-summary,
  .metric-band,
  .research-grid,
  .publication,
  .highlight-grid,
  .highlight-card,
  .highlight-card.large {
    grid-template-columns: 1fr;
  }

  .metric-band div {
    min-height: 108px;
    padding: 22px;
  }

  .metric-band span {
    font-size: 16px;
  }

  .hero-visual {
    height: 360px;
    min-height: 360px;
  }

  .profile-card img {
    min-height: 280px;
  }

  .visual-caption,
  .section-topline,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .publication {
    gap: 8px;
  }
}
