:root {
  --ink: #f4f2ee;
  --muted: #c8c4bd;
  --soft: #918c86;
  --paper: #f7f5f1;
  --charcoal: #282625;
  --graphite: #3f3b39;
  --line: rgba(244, 242, 238, 0.16);
  --line-dark: rgba(40, 38, 37, 0.14);
  --violet: #625aa7;
  --violet-bright: #8176d8;
  --steel: #aeb1b7;
  --success: #6ea98b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(120deg, rgba(98, 90, 167, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    var(--charcoal);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: rgba(129, 118, 216, 0.26);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
  background: rgba(40, 38, 37, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}

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

.brand-logo {
  width: 92px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 2px;
}

.brand-name {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.nav-links a,
.lang-toggle,
.nav-cta {
  border-radius: 999px;
  min-height: 42px;
}

.nav-links a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  border: 1px solid var(--line);
  padding: 0 14px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(129, 118, 216, 0.62);
  padding: 11px 18px;
  background: var(--violet);
  color: white;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 12px 30px rgba(98, 90, 167, 0.28);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
  background: var(--violet-bright);
  border-color: var(--violet-bright);
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: none;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: stretch;
  gap: 42px;
  min-height: calc(100vh - 76px);
  padding-top: 64px;
  padding-bottom: 52px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--steel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--violet-bright);
}

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

h1,
.page-title {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(2.55rem, 5.8vw, 5.45rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

[data-lang="zh"] h1,
[data-lang="zh"] .page-title {
  font-size: clamp(2.35rem, 5.1vw, 4.9rem);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 820;
  line-height: 1;
}

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

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.34rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(129, 118, 216, 0.12), transparent 52%),
    rgba(12, 12, 13, 0.82);
}

.hero-slideshow::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(40, 38, 37, 0.02), rgba(40, 38, 37, 0.22)),
    linear-gradient(90deg, rgba(98, 90, 167, 0.14), transparent 54%);
}

.hero-slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  animation: hero-horizontal-scroll 56s cubic-bezier(0.62, 0, 0.28, 1) infinite;
  will-change: transform;
}

.hero-slideshow .slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: saturate(0.76) contrast(1.08) brightness(0.88);
  transform: translateZ(0);
}

@keyframes hero-horizontal-scroll {
  0%,
  11% { transform: translateX(0); }
  17%,
  28% { transform: translateX(-100%); }
  34%,
  45% { transform: translateX(-200%); }
  51%,
  62% { transform: translateX(-300%); }
  68%,
  79% { transform: translateX(-400%); }
  85%,
  96% { transform: translateX(-500%); }
  100% { transform: translateX(-600%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-track {
    animation: none;
  }
}

.ai-pet {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
}

.pet-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(244, 242, 238, 0.28);
  border-radius: 50%;
  background: rgba(28, 27, 26, 0.62);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  animation: pet-float 4.8s ease-in-out infinite;
}

.pet-check {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pet-button:hover {
  border-color: rgba(129, 118, 216, 0.8);
}

.pet-orbit {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(129, 118, 216, 0.62);
  border-radius: 50%;
  border-top-color: transparent;
  animation: pet-spin 7s linear infinite;
}

.pet-face {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: 0;
}

.pet-i {
  color: var(--violet-bright);
}

.pet-spark {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 18px rgba(129, 118, 216, 0.9);
}

.pet-panel {
  position: absolute;
  top: 88px;
  right: 0;
  display: none;
  width: min(340px, calc(100vw - 52px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(33, 32, 31, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ai-pet.open .pet-panel,
.pet-check:checked ~ .pet-panel {
  display: block;
}

.pet-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.pet-panel-head strong {
  display: block;
  line-height: 1.2;
}

.pet-panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pet-panel-head button,
.pet-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.pet-messages {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
  padding: 16px;
}

.pet-message {
  width: fit-content;
  max-width: 92%;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.5;
}

.pet-message.bot {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.pet-message.user {
  justify-self: end;
  background: var(--violet);
  color: white;
}

.pet-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 14px;
}

.pet-prompts button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
}

.pet-faq {
  display: grid;
  gap: 8px;
  padding: 0 16px 14px;
}

.pet-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.pet-faq summary {
  cursor: pointer;
  padding: 9px 11px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.86rem;
}

.pet-faq p {
  margin: 0;
  padding: 0 11px 11px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.pet-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--line);
}

.pet-input input {
  min-height: 42px;
}

.pet-input button {
  border: 1px solid rgba(129, 118, 216, 0.64);
  border-radius: var(--radius);
  padding: 0 12px;
  background: var(--violet);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

@keyframes pet-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pet-spin {
  to {
    transform: rotate(360deg);
  }
}

.visual-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.visual-caption::before {
  content: "";
  position: absolute;
  inset: -18px -14px -12px;
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 15% 58%, rgba(0, 0, 0, 0.41), transparent 58%),
    radial-gradient(ellipse at 84% 56%, rgba(0, 0, 0, 0.37), transparent 62%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.23), rgba(0, 0, 0, 0.15));
  filter: blur(10px);
  pointer-events: none;
}

.visual-caption strong {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  flex: 0 0 90px;
  width: 90px;
  line-height: 1;
}

.caption-logo {
  width: 86px;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 2px;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.66));
}

.visual-caption span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.metric,
.card,
.feature,
.contact-panel {
  background: rgba(255, 255, 255, 0.055);
}

.metric {
  padding: 22px;
}

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

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.brand-presence {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(129, 118, 216, 0.08), transparent 44%),
    rgba(255, 255, 255, 0.03);
}

.brand-presence-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 48px;
  align-items: center;
}

.presence-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: rgba(0, 0, 0, 0.24);
  box-shadow: var(--shadow);
}

.presence-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(40, 38, 37, 0.06), rgba(40, 38, 37, 0.34)),
    linear-gradient(90deg, rgba(98, 90, 167, 0.18), transparent 58%);
}

.presence-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.activity-slide-track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: activity-scroll 46s cubic-bezier(0.55, 0, 0.45, 1) infinite;
  will-change: transform;
}

.presence-media:hover .activity-slide-track {
  animation-play-state: paused;
}

.activity-slide-track img {
  flex: 0 0 auto;
  width: min(74vw, 560px);
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.06) brightness(0.9);
  border-right: 1px solid rgba(244, 242, 238, 0.16);
}

.project-partner-track img {
  width: min(76vw, 580px);
}

@keyframes activity-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.presence-copy {
  max-width: 700px;
}

.presence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.presence-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.institution-overview {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(129, 118, 216, 0.11), transparent 36%),
    rgba(255, 255, 255, 0.035);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(420px, 1.18fr);
  gap: 26px;
  align-items: stretch;
}

.mission-panel,
.question-panel,
.news-card,
.theme-card,
.project-list article,
.partner-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.mission-panel,
.question-panel {
  padding: 30px;
}

.mission-panel h2 {
  max-width: 920px;
  margin-top: 20px;
  font-size: clamp(1.76rem, 3.25vw, 3.05rem);
}

.mission-panel p,
.question-groups,
.question-list,
.news-card p,
.theme-card p,
.project-list p,
.partner-grid p {
  color: var(--muted);
}

.question-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.question-group {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.038);
}

.question-group h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.95rem;
}

.question-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.question-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
  line-height: 1.45;
}

.question-list li:last-child {
  border-bottom: 0;
}

.question-list li::before {
  content: "Q";
  color: var(--violet-bright);
  font-size: 0.9rem;
  font-weight: 850;
}

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

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

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

.paper-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: start;
  column-gap: 68px;
  row-gap: 74px;
}

.paper-card {
  width: min(100%, 280px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.paper-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 118, 216, 0.5);
  background: rgba(255, 255, 255, 0.075);
}

.paper-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(129, 118, 216, 0.16), transparent 58%),
    rgba(0, 0, 0, 0.22);
}

.paper-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.75) contrast(1.08) brightness(0.9);
  transition: transform 220ms ease, filter 220ms ease;
}

.paper-card:hover .paper-thumb img {
  transform: scale(1.025);
  filter: saturate(0.86) contrast(1.1) brightness(0.96);
}

.paper-meta {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.paper-meta time {
  color: var(--violet-bright);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.paper-meta h3 {
  min-height: 5.1em;
  margin-bottom: 0;
  font-size: 1rem;
}

.paper-meta p {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.paper-meta a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.paper-meta a:hover {
  border-color: rgba(129, 118, 216, 0.7);
  background: rgba(129, 118, 216, 0.14);
}

.news-card {
  min-height: 260px;
  padding: 24px;
}

.news-card time {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--violet-bright);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.research-themes {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 54%),
    rgba(0, 0, 0, 0.08);
}

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

.theme-card {
  min-height: 330px;
  padding: 24px;
  border: 0;
  border-radius: 0;
  transition: background 180ms ease, transform 180ms ease;
}

.theme-card:hover {
  background: rgba(129, 118, 216, 0.12);
  transform: translateY(-2px);
}

.theme-card > span {
  display: inline-flex;
  margin-bottom: 78px;
  color: var(--violet-bright);
  font-weight: 850;
}

.project-showcase,
.people-partners {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: center;
}

.showcase-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 16 / 11;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) contrast(1.08) brightness(0.86);
}

.project-slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  animation: project-step-scroll 42s cubic-bezier(0.62, 0, 0.28, 1) infinite;
  will-change: transform;
}

.showcase-media:hover .project-slide-track {
  animation-play-state: paused;
}

.project-slide-track img {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.74) contrast(1.06) brightness(0.9);
  border-right: 1px solid rgba(244, 242, 238, 0.18);
}

@keyframes project-step-scroll {
  0%,
  13% { transform: translateX(0); }
  18%,
  31% { transform: translateX(-100%); }
  36%,
  49% { transform: translateX(-200%); }
  54%,
  67% { transform: translateX(-300%); }
  72%,
  85% { transform: translateX(-400%); }
  92%,
  100% { transform: translateX(-500%); }
}

@media (prefers-reduced-motion: reduce) {
  .project-slide-track {
    animation: none;
  }

  .activity-slide-track {
    animation: none;
  }
}

.project-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.project-list article,
.partner-grid article {
  padding: 18px;
}

.project-list strong,
.partner-grid strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  line-height: 1.25;
}

.project-list p,
.partner-grid p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.brand-presence.compact .section {
  padding-top: 76px;
  padding-bottom: 76px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.institution-grid {
  gap: 14px;
}

.partner-logo-card {
  display: flex;
  min-height: 178px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-color: rgba(129, 118, 216, 0.52);
  text-align: center;
}

.partner-logo-frame {
  display: grid;
  width: 100%;
  min-height: 96px;
  place-items: center;
  border: 1px solid rgba(129, 118, 216, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.partner-logo-frame img {
  display: block;
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

.partner-logo-card strong {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.team-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(129, 118, 216, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--charcoal);
  color: var(--ink);
}

.team-inner {
  padding-top: 80px;
  padding-bottom: 82px;
}

.team-section .eyebrow {
  color: var(--steel);
}

.team-section .eyebrow::before {
  background: var(--violet-bright);
}

.team-heading {
  max-width: 900px;
  margin-bottom: 46px;
}

.team-heading h2 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: start;
  column-gap: 68px;
  row-gap: 74px;
}

.team-grid + .team-grid {
  margin-top: 74px;
}

.team-profile {
  display: flex;
  width: min(100%, 280px);
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.team-profile.text-only {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.team-profile h3 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.team-profile p {
  width: 100%;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.72;
  text-align: justify;
}

.team-profile figure {
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  border: 1px solid rgba(129, 118, 216, 0.7);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.055);
}

.team-profile figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile .avatar-card {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 68% 24%, rgba(129, 118, 216, 0.42), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(129, 118, 216, 0.12)),
    rgba(255, 255, 255, 0.05);
}

.team-profile .avatar-card span {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 1px solid rgba(236, 234, 230, 0.26);
  border-radius: 50%;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(34, 34, 34, 0.52);
}

.team-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 190px);
  min-height: 46px;
  margin-top: auto;
  border: 1px solid rgba(129, 118, 216, 0.88);
  border-radius: var(--radius);
  padding: 10px 22px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-link:hover {
  background: var(--violet);
  color: white;
}

.team-link.pending {
  opacity: 0.58;
  pointer-events: none;
}

.lower-text {
  padding-top: 54px;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 104px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.feature {
  min-height: 236px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card p,
.feature p,
.contact-panel p,
.page-kicker {
  color: var(--muted);
}

.card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border: 1px solid rgba(129, 118, 216, 0.44);
  border-radius: 50%;
  color: var(--violet-bright);
  font-weight: 850;
}

.page-hero {
  padding-top: 82px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.page-kicker {
  max-width: 760px;
  font-size: 1.2rem;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.process {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.process-item {
  counter-increment: step;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.process-item::before {
  content: "0" counter(step);
  color: var(--violet-bright);
  font-size: 1.3rem;
  font-weight: 850;
}

.logo-sheet {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) 1fr;
  gap: 28px;
  align-items: stretch;
}

.logo-sheet img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  border-radius: var(--radius);
}

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

.entity {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.entity strong {
  display: block;
  margin-bottom: 6px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font: inherit;
}

select option {
  color: #222;
}

textarea {
  min-height: 152px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(129, 118, 216, 0.46);
  outline-offset: 2px;
}

.form-note {
  min-height: 24px;
  color: var(--success);
  font-size: 0.92rem;
}

.mail-options {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(129, 118, 216, 0.26);
  background: rgba(255, 255, 255, 0.045);
}

.mail-options p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mail-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mail-option-grid button {
  min-height: 44px;
  border: 1px solid rgba(129, 118, 216, 0.56);
  background: rgba(255, 255, 255, 0.035);
  color: var(--ink);
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mail-option-grid button:hover {
  background: rgba(129, 118, 216, 0.2);
  border-color: var(--accent);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}

.footer strong {
  color: var(--ink);
}

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

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    flex-wrap: wrap;
    min-height: 68px;
    gap: 12px;
  }

  .nav-links {
    order: 4;
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-bottom: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
    min-height: 46px;
    padding: 12px 14px;
  }

  .lang-toggle,
  .menu-toggle,
  .button,
  .team-link,
  .nav-links a {
    min-height: 46px;
  }

  .nav-cta {
    display: none;
  }

  .brand-name {
    display: none;
  }

  .hero,
  .split,
  .brand-presence-inner,
  .overview-grid,
  .project-showcase,
  .people-partners,
  .logo-sheet,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

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

  .hero-slideshow,
  .showcase-media,
  .presence-media {
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    touch-action: pan-x pan-y;
  }

  .hero-slideshow::-webkit-scrollbar,
  .showcase-media::-webkit-scrollbar,
  .presence-media::-webkit-scrollbar {
    display: none;
  }

  .hero-slide-track,
  .project-slide-track,
  .activity-slide-track {
    animation: none;
    transform: none;
    width: max-content;
  }

  .hero-slideshow .slide,
  .project-slide-track img,
  .activity-slide-track img {
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .hero-slideshow .slide,
  .project-slide-track img {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .activity-slide-track img {
    width: min(100vw - 28px, 520px);
  }

  .ai-pet {
    top: 14px;
    right: 14px;
  }

  .pet-button {
    width: 62px;
    height: 62px;
  }

  .pet-face {
    font-size: 1rem;
  }

  .pet-panel {
    top: 74px;
    right: 0;
    width: min(340px, calc(100vw - 28px));
  }

  .section-intro {
    position: static;
  }

  .presence-media {
    max-width: 520px;
  }

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

  .section-heading {
    display: block;
  }

  .news-list,
  .paper-news-grid,
  .theme-grid,
  .question-groups,
  .team-grid,
  .partner-grid {
    grid-template-columns: 1fr;
  }

  .team-grid + .team-grid {
    margin-top: 42px;
  }

  .paper-card,
  .team-profile {
    width: 100%;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .hero-actions,
  .inline-actions {
    gap: 10px;
  }

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

  .lower-text {
    padding-top: 0;
  }

  .theme-card {
    min-height: auto;
  }

  .theme-card > span {
    margin-bottom: 28px;
  }
}

@media (max-width: 680px) {
  .nav,
  .section,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

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

  .card,
  .feature,
  .contact-panel {
    min-height: auto;
    padding: 20px;
  }

  .hero-actions .button,
  .inline-actions .button {
    flex: 1 1 100%;
    width: 100%;
  }

  .mail-option-grid {
    grid-template-columns: 1fr;
  }

  .lang-toggle,
  .menu-toggle {
    min-width: 46px;
  }

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

  .process-item {
    grid-template-columns: 1fr;
  }

  .page-hero,
  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}
