:root {
  color-scheme: light;
  --ink: #161616;
  --muted: #5f6468;
  --line: #d9dedf;
  --paper: #f7f9f8;
  --white: #ffffff;
  --green: #0d6b4f;
  --teal: #007d86;
  --red: #a92d35;
  --gold: #b88712;
  --shadow: 0 18px 48px rgba(16, 24, 22, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(10, 12, 11, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 32px);
  font-size: 0.96rem;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.78);
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 680px);
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 132px 40px 78px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #101211;
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center top;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  filter: saturate(0.98) contrast(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 12, 11, 0.28) 0%, rgba(9, 12, 11, 0.82) 38%, rgba(9, 12, 11, 0.98) 100%),
    linear-gradient(0deg, rgba(9, 12, 11, 0.8) 0%, rgba(9, 12, 11, 0.2) 58%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  margin-left: 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8fd5bd;
}

.hero h1 {
  max-width: 13em;
  margin: 0 auto;
  font-size: 5.4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.16rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.54);
}

.snapshot {
  width: min(var(--max), calc(100% - 36px));
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: -38px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 132px;
  padding: 26px;
  background: var(--white);
}

.metric strong {
  display: block;
  color: var(--red);
  font-size: 3.35rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) 0;
}

.section-heading {
  display: block;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 36px;
  text-align: center;
}

.section-heading h2 {
  margin: 0 auto;
  font-size: 3.8rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading.compact {
  margin-bottom: 26px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.about-copy {
  padding-top: 6px;
  color: #34383a;
  font-size: 1.08rem;
}

.about-copy p {
  margin: 0 0 20px;
}

.focus-list {
  display: grid;
  gap: 14px;
}

.focus-list article,
.achievement-grid article,
.paper-panel,
.research-main,
.course-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.focus-list article {
  padding: 24px;
}

.focus-list h3,
.achievement-grid h3,
.research-main h3,
.paper-panel h3,
.timeline-list h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.34;
  text-align: center;
}

.focus-list p,
.achievement-grid p,
.paper-panel p,
.research-main p,
.timeline-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.study-band {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: #edf4f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.course-item {
  min-height: 156px;
  padding: 22px;
}

.course-item span {
  display: block;
  color: var(--teal);
  font-size: 2.55rem;
  font-weight: 900;
  line-height: 1;
}

.course-item p {
  margin: 18px 0 0;
  color: #34383a;
  font-weight: 700;
}

.privacy-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.research-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, 0.65fr);
  gap: 20px;
}

.research-main {
  padding: 42px;
}

.research-label {
  color: var(--red);
  font-weight: 800;
}

.research-main h3 {
  margin-top: 8px;
  font-size: 2.48rem;
}

.research-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.research-points div {
  min-height: 210px;
  padding: 22px;
  background: #fbfcfb;
}

.research-points span {
  display: inline-block;
  color: var(--gold);
  font-weight: 900;
}

.research-points p {
  margin-top: 48px;
  color: #303536;
}

.paper-panel {
  padding: 26px;
  align-self: stretch;
}

.paper-panel .eyebrow {
  color: var(--red);
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

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

.achievement-grid article {
  min-height: 260px;
  padding: 24px;
}

.achievement-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 900;
}

.timeline {
  padding-top: 40px;
}

.timeline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline-list li {
  display: grid;
  grid-template-columns: minmax(140px, 0.34fr) minmax(0, 1fr);
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-list time {
  color: var(--red);
  font-weight: 900;
}

.contact {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: #111513;
  color: var(--white);
}

.contact-content {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  margin: 0 auto;
  font-size: 4.1rem;
  line-height: 1.08;
  letter-spacing: 0;
  text-align: center;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
}

.contact a {
  color: var(--white);
  font-weight: 800;
}

.contact .button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
}

.copy-status {
  min-height: 28px;
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #c9d1cd;
  background: #111513;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
}

.footer-privacy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .snapshot,
  .course-grid,
  .achievement-grid,
  .research-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .about-grid,
  .research-layout {
    grid-template-columns: 1fr;
  }

  .paper-panel {
    align-self: auto;
  }

  .hero {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 28px;
    padding-inline: 28px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .hero-image {
    width: 100%;
    height: auto;
    max-height: 430px;
  }

  .hero-content {
    max-width: none;
    margin-left: 0;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 3rem;
  }

  .research-main h3 {
    font-size: 2.1rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 20px;
    background: rgba(17, 21, 19, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transform: translateY(-130%);
    transition: transform 180ms ease;
  }

  .site-nav.open {
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    gap: 24px;
    padding: 104px 20px 60px;
    align-items: center;
  }

  .hero-image {
    width: min(240px, 70vw);
    height: auto;
    max-height: none;
    justify-self: center;
    object-position: center top;
  }

  .hero h1 {
    max-width: 9em;
    font-size: 2.78rem;
  }

  .hero-content {
    margin-left: 0;
  }

  .hero-lede {
    max-width: 33em;
    font-size: 1rem;
  }

  .snapshot,
  .course-grid,
  .achievement-grid,
  .research-points,
  .timeline-list li {
    grid-template-columns: 1fr;
  }

  .snapshot {
    margin-top: -20px;
  }

  .metric,
  .course-item,
  .achievement-grid article,
  .research-points div {
    min-height: auto;
  }

  .metric strong {
    font-size: 2.55rem;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 2.15rem;
  }

  .course-item span {
    font-size: 2.2rem;
  }

  .research-main {
    padding: 26px;
  }

  .research-main h3 {
    font-size: 1.8rem;
  }

  .section {
    width: min(var(--max), calc(100% - 28px));
  }

  .study-band,
  .contact {
    width: 100%;
    padding-inline: 14px;
  }

  .timeline-list li {
    gap: 10px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
