:root {
  color-scheme: light;
  --bg: #ffffff;
  --paper: #f6f5f4;
  --paper-blue: #f2f9ff;
  --ink: rgba(0, 0, 0, 0.95);
  --muted: #615d59;
  --quiet: #8f8a84;
  --line: rgba(0, 0, 0, 0.1);
  --blue: #0075de;
  --blue-dark: #005bab;
  --navy: #213183;
  --teal: #2a9d99;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --shell: min(1160px, calc(100vw - 48px));
  --soft-shadow:
    rgba(0, 0, 0, 0.04) 0 4px 18px,
    rgba(0, 0, 0, 0.027) 0 2px 8px,
    rgba(0, 0, 0, 0.02) 0 1px 3px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(0, 117, 222, 0.35);
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #097fe8;
  outline-offset: 3px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue);
  transform: translateY(-160%);
}

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

body[data-language="en"] .lang-zh,
body[data-language="zh"] .lang-en {
  display: none !important;
}

.scroll-progress {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--blue);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  transition: 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.03);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.brand-mark {
  color: var(--blue);
}

.brand-cursor,
.typing-cursor {
  color: var(--teal);
  animation: blink 1s steps(1) infinite;
}

.nav-menu,
.nav-links,
.language-switch {
  display: flex;
  align-items: center;
}

.nav-menu {
  gap: 30px;
}

.nav-links {
  gap: 24px;
}

.nav-links a {
  --nav-accent: var(--blue);
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-links a::before {
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: color-mix(in srgb, var(--nav-accent) 22%, white);
  color: var(--nav-accent);
  content: "";
  opacity: 0.68;
  transform: rotate(45deg) scale(0.82);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.nav-links a:nth-child(1) {
  --nav-accent: #2a9d8f;
}

.nav-links a:nth-child(2) {
  --nav-accent: #1877d2;
}

.nav-links a:nth-child(3) {
  --nav-accent: #7467c7;
}

.nav-links a:nth-child(4) {
  --nav-accent: #d58a23;
}

.nav-links a:nth-child(5) {
  --nav-accent: #d96958;
}

.nav-links a:nth-child(6) {
  --nav-accent: #b85c91;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--nav-accent);
  transform: translateY(-1px);
}

.nav-links a:hover::before,
.nav-links a.is-active::before {
  background: var(--nav-accent);
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

.language-switch {
  width: fit-content;
  gap: 3px;
  padding: 3px 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #bbb6b0;
  background: rgba(247, 250, 252, 0.88);
  font-family: var(--mono);
  font-size: 11px;
}

.language-icon {
  width: 14px;
  height: 14px;
  margin: 0 3px 0 2px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.15;
}

.language-switch button {
  padding: 4px 7px;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-switch button:hover {
  color: var(--ink);
  background: rgba(0, 117, 222, 0.06);
}

.language-switch button[aria-pressed="true"] {
  color: var(--blue);
  background: rgba(0, 117, 222, 0.1);
  box-shadow: inset 0 0 0 1px rgba(0, 117, 222, 0.08);
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  padding: 150px 0 70px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 100px;
  right: -100px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: #fff6df;
  content: "";
  opacity: 0.72;
}

.hero-glow {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(220px, 0.36fr);
  gap: 48px;
  align-items: center;
}

.eyebrow,
.section-index,
.timeline-label,
.panel-label,
.service-label {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-dot,
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-identity {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.hero-portrait {
  width: 126px;
  height: 150px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
  box-shadow: var(--soft-shadow);
}

.world-model-visual {
  width: min(264px, 36%);
  height: 180px;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: cover;
  box-shadow: none;
  mix-blend-mode: multiply;
  translate: -20% 0;
  -webkit-mask-image: radial-gradient(ellipse 86% 82% at center, #000 58%, transparent 100%);
  mask-image: radial-gradient(ellipse 86% 82% at center, #000 58%, transparent 100%);
  animation: float-world 3.8s ease-in-out infinite;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 6.4vw, 82px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.065em;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--blue);
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 20px);
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions,
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 150ms ease;
}

.button-primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.button-ghost {
  color: var(--ink);
  background: #fff;
}

.button:hover {
  color: #fff;
  border-color: var(--blue-dark);
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.hero-links {
  gap: 22px;
  margin-top: 24px;
}

.hero-links a,
.hero-links .email-link {
  color: var(--teal);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}

.hero-links a:hover {
  color: var(--blue);
}

.email-link {
  text-transform: none !important;
  font-variant: normal;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 300px;
  padding: 22px;
  border: 1px solid rgba(0, 117, 222, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(135deg, transparent 0 47%, rgba(0, 117, 222, 0.08) 47% 47.3%, transparent 47.3%),
    var(--paper-blue);
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.hero-visual::before {
  top: 40px;
  right: 46px;
  width: 82px;
  height: 82px;
  background: #ffe7a8;
}

.hero-visual::after {
  bottom: 45px;
  left: 38px;
  width: 54px;
  height: 54px;
  border: 12px solid rgba(42, 157, 153, 0.22);
}

.scholar-card {
  position: relative;
  z-index: 2;
  width: min(100%, 210px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  animation: float-scholar 8s ease-in-out infinite;
}

.scholar-card-head {
  padding: 2px 2px 9px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.scholar-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.scholar-card p {
  margin: 8px 2px 1px;
  color: var(--quiet);
  font-size: 9px;
}

.stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 72px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
}

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 13px;
  align-items: end;
  padding: 22px 20px;
  border-right: 1px solid var(--line);
}

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

.stat strong {
  grid-row: 1 / span 2;
  color: var(--blue);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-light {
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 58px;
}

.section-heading h2 {
  margin: 13px 0 0;
  font-size: clamp(26px, 4.3vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading h2 .lang {
  white-space: nowrap;
}

.section-index {
  color: var(--blue);
}

.split-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 64px;
}

.experience-block {
  padding-top: 56px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 88px;
}

.prose {
  color: var(--muted);
  font-size: 16px;
}

.prose .large-copy {
  color: var(--ink);
  margin: 0;
  font-size: clamp(19px, 1.9vw, 25px);
  line-height: 1.5;
}

.external-link {
  display: inline;
  color: var(--blue-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.external-link::after {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-left: 4px;
  border: 1px solid rgba(0, 117, 222, 0.22);
  border-radius: 50%;
  color: var(--blue);
  content: "↗";
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  vertical-align: 0.12em;
}

.external-link:hover {
  color: var(--blue);
}

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

.research-card {
  position: relative;
  display: grid;
  grid-template-columns: 164px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 9px 26px;
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: 180ms ease;
}

.research-card:hover {
  border-color: rgba(0, 117, 222, 0.28);
  box-shadow: var(--soft-shadow);
  transform: translateY(-3px);
}

.research-visual {
  grid-row: 1 / span 3;
  width: 164px;
  height: 100%;
  min-height: 200px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 10px;
  object-fit: cover;
}

.card-number {
  grid-column: 2;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 10px;
}

.card-glyph {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--blue);
  font-size: 36px;
}

.research-card h3 {
  grid-column: 2;
  max-width: 420px;
  margin: 28px 0 4px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.research-card p {
  grid-column: 2;
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.publications-section {
  background: var(--paper);
}

.publication-header {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
}

.section-subtitle {
  color: var(--muted);
}

.publication-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 60px;
}

.publication-filters button {
  padding: 7px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  cursor: pointer;
}

.publication-filters button[aria-pressed="true"] {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.publication-list {
  border-top: 1px solid var(--line);
}

.publication {
  display: grid;
  grid-template-columns: 220px 150px minmax(0, 1fr);
  gap: 15px 30px;
  padding: 30px 14px;
  border-bottom: 1px solid var(--line);
  transition: 160ms ease;
}

.publication:hover {
  padding-left: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.publication[hidden] {
  display: none;
}

.publication-figure {
  position: relative;
  grid-row: 1 / span 4;
  display: grid;
  place-items: center;
  min-height: 154px;
  aspect-ratio: 4 / 3;
  padding: 7px;
  border: 1px solid rgba(0, 117, 222, 0.14);
  border-radius: 10px;
  color: var(--quiet);
  background: #fff;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  overflow: hidden;
}

.publication-figure-image {
  position: absolute;
  inset: 7px;
  display: block;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: contain;
  transform-origin: center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.publication-figure-image-square {
  max-width: none;
  margin: 0;
}

.publication-meta {
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--quiet);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.publication-meta span:first-child {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
}

.publication-meta span:nth-child(2) {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.publication:hover .publication-figure-image {
  transform: scale(1.025);
}

.publication h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.publication-title-link {
  color: var(--ink);
  text-decoration: none;
}

.publication-title-link span {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.publication-title-link:hover {
  color: var(--blue);
}

.publication p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.publication-detail {
  font-family: var(--mono);
  font-size: 10px !important;
}

.paper-link {
  width: fit-content;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
}

.patents-section {
  background:
    linear-gradient(180deg, rgba(231, 244, 255, 0.58), rgba(255, 255, 255, 0.92)),
    var(--paper);
}

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

.patent-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 117, 222, 0.15);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(23, 54, 112, 0.06);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.patent-card::after {
  position: absolute;
  right: -32px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(0, 117, 222, 0.12);
  border-radius: 50%;
  content: "";
}

.patent-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 117, 222, 0.32);
  box-shadow: 0 18px 38px rgba(23, 54, 112, 0.1);
}

.patent-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.patent-card h3 {
  position: relative;
  z-index: 1;
  margin: 34px 0 12px;
  font-size: 17px;
  line-height: 1.5;
}

.patent-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.patent-card h3 a:hover {
  color: var(--blue);
}

.patent-card h3 a > span[aria-hidden="true"] {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 11px;
  white-space: nowrap;
}

.patent-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.chronological-timeline {
  position: relative;
  max-width: 930px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.chronological-timeline::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 143px;
  width: 1px;
  background: rgba(0, 117, 222, 0.2);
  content: "";
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 120px 82px minmax(0, 1fr);
  gap: 26px;
  min-height: 176px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline li::before {
  position: absolute;
  z-index: 2;
  top: 53px;
  left: 139px;
  width: 9px;
  height: 9px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px rgba(0, 117, 222, 0.25);
  content: "";
}

.timeline-logo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 72px;
  padding: 4px;
}

.timeline-logo img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.timeline-logo-large {
  width: 116px;
  height: 78px;
  padding: 0;
}

.timeline-logo-large img {
  max-height: 74px;
}

.timeline-logo-ucas {
  width: 96px;
  height: 72px;
}

.timeline-logo-ucas img {
  max-height: 64px;
}

.timeline-date {
  padding-top: 10px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  text-align: right;
}

.timeline-copy {
  padding-left: 4px;
}

.timeline-kind {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--blue);
  background: var(--paper-blue);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.timeline-org {
  margin-top: 9px !important;
  color: var(--blue-dark) !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.timeline h3 {
  margin: 3px 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.timeline-tags span,
.service-tags span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: #fff;
  font-family: var(--mono);
  font-size: 9px;
}

.honors-layout,
.service-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.honor-list {
  border-top: 1px solid var(--line);
}

.honor {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 5px 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.honor > span {
  grid-row: 1 / span 2;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
}

.honor h3,
.funding-panel h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
}

.honor p,
.funding-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.funding-panel {
  align-self: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-blue);
  box-shadow: var(--soft-shadow);
}

.funding-panel article {
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.funding-panel article > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 9px;
}

.service-layout {
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
}

.service-content {
  padding-top: 35px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 36px;
}

.memberships span {
  color: var(--blue);
  border-color: rgba(0, 117, 222, 0.2);
  background: var(--paper-blue);
}

.site-footer {
  position: relative;
  padding: 88px 0 30px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.footer-kicker {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 10px;
}

.footer-top h2 {
  max-width: 700px;
  margin: 10px 0 0;
  font-size: clamp(18px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.footer-top h2 .lang {
  white-space: nowrap;
}

.button-light {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 86px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-wordmark {
  margin: 36px 0 -7vw;
  color: rgba(0, 117, 222, 0.055);
  font-size: 17vw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.08em;
  text-align: center;
}

.reveal {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, filter, transform;
}

.reveal.is-visible {
  opacity: 1;
  filter: none;
  transform: none;
}

@keyframes float-world {
  0%,
  100% {
    transform: translateX(-18px) rotate(-0.55deg);
  }

  50% {
    transform: translateX(18px) rotate(0.55deg);
  }
}

@keyframes float-world-mobile {
  0%,
  100% {
    transform: translateX(-10px) rotate(-0.35deg);
  }

  50% {
    transform: translateX(10px) rotate(0.35deg);
  }
}

@keyframes float-scholar {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 64px;
    right: 18px;
    display: none;
    width: min(310px, calc(100vw - 36px));
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--soft-shadow);
  }

  .nav-menu.is-open {
    display: block;
  }

  .nav-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switch {
    margin-top: 24px;
  }

  .hero-grid,
  .split-layout,
  .honors-layout,
  .service-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 70px;
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(even) {
    border-right: 0;
  }

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

  .stat:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }

  .publication-header {
    display: block;
  }

  .patent-list {
    grid-template-columns: 1fr;
  }

  .publication-filters {
    margin-bottom: 38px;
  }

  .publication {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 12px 24px;
  }

  .publication-figure {
    grid-row: 1 / span 4;
  }

  .publication-meta {
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-content {
    padding-top: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 28px);
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero h1 {
    font-size: clamp(48px, 17vw, 68px);
  }

  .hero-identity {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
  }

  .hero-portrait {
    width: 96px;
    height: 115px;
    border-radius: 11px;
  }

  .world-model-visual {
    grid-column: 1 / -1;
    width: 120%;
    max-width: none;
    height: 180px;
    margin-left: 0;
    object-position: center;
    animation-name: float-world-mobile;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-links {
    flex-direction: column;
    gap: 8px;
  }

  .hero-visual {
    min-height: auto;
    padding: 28px 18px;
  }

  .hero-visual::before {
    width: 62px;
    height: 62px;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .stat {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 7vw, 28px);
    letter-spacing: -0.045em;
  }

  .split-layout > *,
  .external-link {
    min-width: 0;
  }

  .external-link {
    white-space: normal;
  }

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

  .research-card {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 8px 16px;
    min-height: 250px;
    padding: 18px;
  }

  .research-visual {
    width: 108px;
    min-height: 164px;
  }

  .research-card h3 {
    margin-top: 22px;
    font-size: 17px;
  }

  .publication {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 4px;
  }

  .publication-meta {
    grid-row: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .publication-figure {
    grid-row: auto;
    min-height: 180px;
  }

  .publication-meta span:first-child {
    font-size: inherit;
  }

  .patent-card {
    min-height: 0;
    padding: 24px;
  }

  .patent-card h3 {
    margin-top: 24px;
    font-size: 16px;
  }

  .chronological-timeline::before {
    left: 16px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 28px 0 28px 44px;
  }

  .timeline li::before {
    top: 50px;
    left: 12px;
  }

  .timeline-date {
    padding: 0;
    text-align: left;
  }

  .timeline-logo {
    width: 88px;
  }

  .timeline-logo-ucas {
    width: 80px;
  }

  .timeline-copy {
    padding: 0;
  }

  .honor {
    grid-template-columns: 55px 1fr;
  }

  .funding-panel {
    padding: 22px;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    margin-top: 60px;
  }

  .footer-top h2 {
    font-size: 18px;
    letter-spacing: -0.025em;
  }
}

@media (max-width: 375px) {
  .section-heading h2 {
    font-size: 23px;
  }
}

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

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

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
  }
}
