/* ===================================
   ACMTEAM ?????? - ??????? v3
   ???????????????????
   ??????????? ?? ????? ?? ????????
   =================================== */
/* Fonts: local/system only — no Google Fonts CDN */

:root {
  color-scheme: dark;
  --bg-primary: #0f1119;
  --bg-secondary: #161822;
  --bg-card: #1c1f2e;
  --text-primary: #e8eaf0;
  --text-secondary: #a0a6be;
  --text-muted: #6b708a;
  --accent: #818cf8;
  --accent-hover: #6366f1;
  --accent-light: rgba(129, 140, 248, 0.12);
  --accent-glow: rgba(129, 140, 248, 0.25);
  --gradient-1: linear-gradient(135deg, #818cf8, #a78bfa, #c084fc);
  --gradient-2: linear-gradient(135deg, #fb923c, #f87171, #f472b6);
  --gradient-3: linear-gradient(135deg, #22d3ee, #60a5fa, #818cf8);
  --gradient-hero: linear-gradient(160deg, #111827 0%, #131a2b 30%, #1a1228 70%, #1c1518 100%);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.6), 0 8px 20px rgba(0, 0, 0, 0.4);
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1440px;
  --nav-height: 80px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Cascadia Code", "Consolas", "Monaco", monospace;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- ???????? ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 18px;
  scroll-behavior: smooth;
  transition: background-color 0.4s ease, color 0.4s ease;
}
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(6, 182, 212, 0.02) 0%, transparent 50%);
}
/* ---------- ??????????? ---------- */
.bg-float {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  animation: bgFloat linear infinite;
}
.bg-float--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.1) 0%, transparent 70%);
  opacity: 0.18;
  top: -10%;
  left: -5%;
  animation-duration: 20s;
  animation-delay: 0s;
}
.bg-float--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.08) 0%, transparent 70%);
  opacity: 0.15;
  top: 60%;
  right: -8%;
  animation-duration: 25s;
  animation-delay: -5s;
}
.bg-float--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.06) 0%, transparent 70%);
  opacity: 0.12;
  bottom: -10%;
  left: 20%;
  animation-duration: 22s;
  animation-delay: -10s;
}
@keyframes bgFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(60px, -40px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 30px) scale(0.95);
  }
  75% {
    transform: translate(-50px, -20px) scale(1.03);
  }
}
/* ---------- ??????? ---------- */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f6842b;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: width 0.25s, height 0.25s, background 0.25s;
}
.cursor--hover {
  width: 48px;
  height: 48px;
  background: rgba(246, 132, 43, 0.3);
  mix-blend-mode: normal;
  border: 1px solid #f6842b;
}
body.lightbox-open .cursor {
  opacity: 0;
  visibility: hidden;
}
/* ---------- ??? ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 56px);
}
.section {
  padding: 120px 0;
  position: relative;
}
.page-section {
  background: transparent !important;
}
.starfield--full {
  z-index: 0;
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.858rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}
.section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-1);
}
.section-title {
  font-size: clamp(2.2rem, 4.4vw, 3.08rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.155rem;
  color: var(--text-secondary);
  max-width: 42rem;
  line-height: 1.85;
}
.section__header {
  margin-bottom: 56px;
}
.section__header--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}
.section__header--split .section-label {
  grid-column: 1;
}
.section__header--split .section-title {
  grid-column: 1;
  margin-bottom: 0;
}
.section__header--split .section-desc {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  justify-self: end;
  max-width: none;
  margin: 0;
  width: min(100%, 36rem);
}
@media (max-width: 900px) {
  .section__header--split {
    grid-template-columns: 1fr;
  }
  .section__header--split .section-label,
  .section__header--split .section-title,
  .section__header--split .section-desc {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    width: auto;
  }
  .section__header--split .section-title {
    margin-bottom: 1rem;
  }
}
/* Equal-width grids: keep peer cards aligned (no staggered offset) */
.layout-stagger > * {
  margin-top: 0 !important;
}
/* ---------- Reveal base (overridden by motion modes) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s var(--ease-out-expo),
    transform 0.85s var(--ease-spring),
    filter 0.55s ease;
}
.reveal--visible {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
/* ---------- ?????? ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
  overflow: visible;
}
.nav--scrolled {
  background: rgba(15, 17, 25, 0.82);
  /* Do NOT put backdrop-filter on .nav itself — it creates a containing
     block that traps position:fixed drawer to the nav bar height. */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 4px 20px rgba(0, 0, 0, 0.35);
}
.nav--scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(15, 17, 25, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 100%;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 clamp(28px, 3.5vw, 56px);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-primary);
  font-family: "Segoe Script", "Lucida Handwriting", "STXingkai", "KaiTi", Georgia, cursive, sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s var(--ease-out-expo);
  text-shadow: none;
  filter: drop-shadow(0 2px 8px rgba(99, 102, 241, 0.3));
}
.nav__logo:hover {
  opacity: 1;
  filter: drop-shadow(0 4px 16px rgba(139, 92, 246, 0.5));
  transform: scale(1.05);
}
.nav__logo span {
  font-family: "Segoe Script", "Lucida Handwriting", "STXingkai", "KaiTi", Georgia, cursive, sans-serif;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.21em;
}
.nav__links {
  display: flex;
  list-style: none;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.8vw, 36px);
  margin-left: auto;
  padding-left: clamp(56px, 10vw, 160px);
}
.nav__links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1.28rem;
  font-weight: 700;
  padding: 12px clamp(14px, 1.4vw, 28px);
  border-radius: 12px;
  transition:
    color 0.35s ease,
    background 0.35s ease,
    transform 0.4s var(--ease-out-expo),
    text-shadow 0.35s ease,
    box-shadow 0.4s ease;
  position: relative;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
}
.nav__links a:hover {
  color: #e8eaff;
  background: rgba(129, 140, 248, 0.14);
}
.nav__links a.active {
  color: #e0e7ff;
  background: rgba(129, 140, 248, 0.16);
  font-weight: 700;
}
/* Hamburger — hidden on desktop; styles used ≤768px */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  z-index: 110;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.3s var(--ease-out-expo), opacity 0.25s ease;
  transform-origin: center;
}
.nav__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(124, 58, 237, 0.22), transparent 45%),
    rgba(6, 8, 16, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav__overlay--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
/* Drawer shell: desktop passthrough; mobile becomes offcanvas */
.nav__drawer {
  display: contents;
}
.nav__drawer-head,
.nav__drawer-foot,
.nav__drawer-glow,
.nav__link-index,
.nav__link-arrow {
  display: none;
}
body.nav-open {
  overflow: hidden;
}
body.nav-open {
  overflow: hidden;
}
/* ---------- ??? ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  font-size: 1.012rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-expo);
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}
.btn--primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}
.btn--ghost {
  background: rgba(99, 102, 241, 0.06);
  color: var(--accent);
  border: 1.5px solid rgba(99, 102, 241, 0.15);
}
.btn--ghost:hover {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}
/* ===================================
   HERO ????
   =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero);
}
/* ??????????? */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  animation: heroFloat1 8s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.07) 0%, transparent 70%);
  animation: heroFloat2 10s ease-in-out infinite;
}
@keyframes heroFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.05); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
}
/* ???????? */
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 70%);
}
.hero__bg-lines {
  display: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
}
.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px 40px;
  align-items: center;
  min-height: calc(100vh - 8px);
  padding-top: var(--nav-height);
  padding-bottom: 32px;
}
.hero__layout .hero__content {
  padding-top: 24px;
}
.hero__mascot {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  min-height: 320px;
  overflow: visible;
}
.mascot {
  position: relative;
  width: min(100%, 440px);
  /* 桌面给大气泡预留头顶空间，避免与机器人重合、被裁切 */
  padding-top: 8.75rem;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  cursor: pointer;
  outline: none;
  overflow: visible;
}
.mascot:focus-visible {
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.55);
  border-radius: 24px;
}
.mascot__stage {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 890 / 966;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(76, 29, 149, 0.28));
}
.mascot__stage-svg {
  width: 100%;
  height: 100%;
  min-height: 260px;
  position: relative;
}
.mascot__stage-svg > svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  overflow: visible;
}
.mascot:not(.mascot--ready) .mascot__stage-svg {
  opacity: 0.35;
}
.mascot--ready .mascot__stage-svg {
  opacity: 1;
  transition: opacity 0.4s ease;
}
.mascot__bubble {
  position: absolute;
  top: 0;
  right: -0.6rem;
  left: auto;
  z-index: 4;
  max-width: 360px;
  min-width: 248px;
  padding: 22px 28px 24px;
  background: linear-gradient(
    155deg,
    rgba(52, 42, 82, 0.98) 0%,
    rgba(22, 24, 38, 0.98) 100%
  );
  border: 1px solid rgba(216, 180, 254, 0.62);
  border-radius: 26px 26px 10px 26px;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 40px rgba(139, 92, 246, 0.34);
  opacity: 0;
  transform: translate(12px, 22px) rotate(-5deg) scale(0.48);
  transform-origin: 82% 110%;
  pointer-events: none;
  will-change: transform, opacity, box-shadow;
}
.mascot__bubble::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    125deg,
    rgba(244, 114, 182, 0.35),
    transparent 38%,
    transparent 62%,
    rgba(129, 140, 248, 0.3)
  );
  opacity: 0.55;
  z-index: 0;
}
.mascot__bubble::after {
  content: "";
  position: absolute;
  right: 40px;
  left: auto;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: rgba(30, 28, 48, 0.98);
  border-right: 1px solid rgba(216, 180, 254, 0.62);
  border-bottom: 1px solid rgba(216, 180, 254, 0.62);
  transform: rotate(45deg);
  z-index: 0;
}
.mascot__bubble p {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  line-height: 1.15;
}
.mascot__bubble-hi {
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(226, 232, 240, 0.78);
  opacity: 0;
  transform: translateY(10px);
}
.mascot__brand {
  display: block;
  font-size: clamp(1.85rem, 2.4vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.05;
  background: linear-gradient(
    105deg,
    #fff 0%,
    #f0abfc 22%,
    #c4b5fd 48%,
    #93c5fd 72%,
    #f0abfc 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.45));
  text-transform: none;
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transform-origin: left center;
}
.mascot__brand-sub {
  display: block;
  margin-top: 0.05rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(233, 213, 255, 0.92);
  opacity: 0;
  transform: translateY(8px);
}
/* 入场：气泡弹入，文字错落入场 */
.hero--entered .mascot__bubble {
  animation: mascotBubbleIn 0.85s cubic-bezier(0.16, 1.15, 0.3, 1) 0.85s forwards;
}
.hero--entered .mascot__bubble .mascot__bubble-hi {
  animation: mascotLineIn 0.55s cubic-bezier(0.16, 1.2, 0.3, 1) 1.15s forwards;
}
.hero--entered .mascot__bubble .mascot__brand {
  animation: mascotBrandIn 0.65s cubic-bezier(0.16, 1.25, 0.3, 1) 1.32s forwards;
}
.hero--entered .mascot__bubble .mascot__brand-sub {
  animation: mascotLineIn 0.5s cubic-bezier(0.16, 1.2, 0.3, 1) 1.48s forwards;
}
/* 待机：柔和漂浮 + 光晕，不打断的持续动效 */
.hero--entered .mascot__bubble--live {
  opacity: 1;
  animation:
    mascotBubbleFloat 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite,
    mascotBubbleGlow 4.4s ease-in-out infinite;
}
.hero--entered .mascot__bubble--live .mascot__bubble-hi,
.hero--entered .mascot__bubble--live .mascot__brand-sub {
  opacity: 1;
  transform: none;
  animation: none;
}
.hero--entered .mascot__bubble--live .mascot__brand {
  opacity: 1;
  transform: none;
  animation: mascotBrandShine 5.5s ease-in-out infinite;
}
.hero--entered .mascot__bubble--live::before {
  animation: mascotSheen 5.2s ease-in-out infinite;
}
.hero--entered .mascot__bubble--live::after {
  animation: mascotTailBob 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
/* 互动：只加强光晕与品牌，保留漂浮，避免动画重启跳变 */
.mascot--acting .mascot__bubble--live {
  animation:
    mascotBubbleFloat 5.2s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite,
    mascotBubbleGlowPulse 0.8s cubic-bezier(0.2, 1.2, 0.3, 1) both;
}
.mascot--acting .mascot__bubble--live .mascot__brand {
  animation: mascotBrandPop 0.8s cubic-bezier(0.2, 1.35, 0.3, 1) both;
}
@keyframes mascotBubbleIn {
  0% { opacity: 0; transform: translate(14px, 24px) rotate(-6deg) scale(0.42); }
  62% { opacity: 1; transform: translate(0, -5px) rotate(1.2deg) scale(1.06); }
  82% { transform: translate(0, 1px) rotate(-1.4deg) scale(0.985); }
  100% { opacity: 1; transform: translate(0, 0) rotate(-1deg) scale(1); }
}
@keyframes mascotLineIn {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes mascotBrandIn {
  0% { opacity: 0; transform: translateY(14px) scale(0.88); filter: drop-shadow(0 0 0 transparent); }
  70% { opacity: 1; transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 0 18px rgba(244, 114, 182, 0.55)); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.45)); }
}
@keyframes mascotBubbleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1deg) scale(1); }
  20% { transform: translate3d(-1.5px, -3px, 0) rotate(-0.3deg) scale(1.008); }
  45% { transform: translate3d(1.5px, -8px, 0) rotate(0.7deg) scale(1.02); }
  70% { transform: translate3d(-1px, -4px, 0) rotate(-0.2deg) scale(1.01); }
}
@keyframes mascotBubbleGlow {
  0%, 100% {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset,
      0 0 28px rgba(139, 92, 246, 0.22);
    border-color: rgba(216, 180, 254, 0.5);
  }
  50% {
    box-shadow:
      0 22px 50px rgba(0, 0, 0, 0.48),
      0 0 0 1px rgba(255, 255, 255, 0.08) inset,
      0 0 48px rgba(192, 132, 252, 0.42);
    border-color: rgba(232, 200, 255, 0.78);
  }
}
@keyframes mascotBubbleGlowPulse {
  0% {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset,
      0 0 28px rgba(139, 92, 246, 0.22);
  }
  40% {
    box-shadow:
      0 24px 56px rgba(0, 0, 0, 0.5),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset,
      0 0 64px rgba(244, 114, 182, 0.55);
    border-color: rgba(244, 114, 182, 0.75);
  }
  100% {
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.45),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset,
      0 0 36px rgba(139, 92, 246, 0.3);
    border-color: rgba(216, 180, 254, 0.62);
  }
}
@keyframes mascotBrandShine {
  0%, 100% { background-position: 8% 50%; filter: drop-shadow(0 0 12px rgba(192, 132, 252, 0.38)); }
  50% { background-position: 92% 50%; filter: drop-shadow(0 0 20px rgba(244, 114, 182, 0.52)); }
}
@keyframes mascotBrandPop {
  0% { transform: scale(1); filter: drop-shadow(0 0 12px rgba(192, 132, 252, 0.4)); }
  38% { transform: scale(1.1); filter: drop-shadow(0 0 26px rgba(244, 114, 182, 0.75)); }
  68% { transform: scale(0.97); filter: drop-shadow(0 0 14px rgba(167, 139, 250, 0.5)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(192, 132, 252, 0.45)); }
}
@keyframes mascotSheen {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.72; }
}
@keyframes mascotTailBob {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  45% { transform: rotate(45deg) translate(1px, -2px); }
}
.motion-ready .hero__mascot {
  opacity: 0;
  transform: translateX(36px) scale(0.88);
  filter: blur(8px);
}
.hero--entered .hero__mascot {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.9s var(--ease-out-expo) 0.28s,
    transform 1.05s cubic-bezier(0.22, 1.2, 0.36, 1) 0.28s,
    filter 0.7s ease 0.28s;
}
@media (prefers-reduced-motion: reduce) {
  .mascot__bubble,
  .mascot__bubble--live,
  .mascot--acting .mascot__bubble--live,
  .mascot__bubble-hi,
  .mascot__brand,
  .mascot__brand-sub,
  .mascot--acting .mascot__bubble--live .mascot__brand,
  .mascot__bubble--live::before,
  .mascot__bubble--live::after {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .motion-ready .hero__mascot,
  .hero--entered .hero__mascot {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.935rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease-out-expo) both;
}
.hero__tag span {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.1s var(--ease-out-expo) both;
}
.hero__title em {
  font-style: normal;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__subtitle {
  font-size: 1.265rem;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.9;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s 0.2s var(--ease-out-expo) both;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeInUp 0.8s 0.3s var(--ease-out-expo) both;
}
.hero__stats {
  display: flex;
  gap: 56px;
  animation: fadeInUp 0.8s 0.4s var(--ease-out-expo) both;
}
.hero__stat {
  position: relative;
}
.hero__stat + .hero__stat::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(0, 0, 0, 0.08);
}
.hero__stat-number {
  font-size: 2.86rem;
  font-weight: 900;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.935rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}
/* Hero ???????????? JS?? */
.hero__glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12), transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.hero:hover .hero__glow {
  opacity: 1;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===================================
   About
   =================================== */
#about {
  background: transparent;
}
.about-page {
  padding-top: 140px;
  padding-bottom: 88px;
}
.about-page .stats-strip {
  margin-bottom: 56px;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.about__text p {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 16px;
}
.about__eyebrow {
  margin: 0 0 10px !important;
  font-size: 0.88rem !important;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent) !important;
}
.about__lead {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.4vw, 1.95rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.about__tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #ddd6fe;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.28);
}
.about__block-head {
  margin: 12px 0 36px;
  max-width: 52rem;
}
.about__block-title {
  margin: 12px 0 10px;
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  font-weight: 800;
  color: var(--text-primary);
}
.about__block-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.75;
}
.about__features {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 88px;
}
.about__feature {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(42, 36, 68, 0.72), rgba(22, 24, 38, 0.9));
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: var(--radius-lg);
  padding: 28px 22px 26px;
  text-align: left;
  min-height: 220px;
  transition:
    transform 0.45s var(--ease-out-expo),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
  box-shadow: var(--shadow-sm);
}
.about__feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.08), transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.about__feature:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 22px 48px rgba(76, 29, 149, 0.38);
  border-color: rgba(196, 181, 252, 0.55);
}
.about__feature:hover::after {
  transform: translateX(120%);
}
.about__feature-icon {
  --icon-glow: rgba(124, 58, 237, 0.45);
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff7ff;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #ddd6fe 0%, #a78bfa 42%, #7c3aed 100%);
  box-shadow:
    0 10px 24px var(--icon-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.2, 1.4, 0.3, 1),
    box-shadow 0.45s ease;
}
.about__feature-ring {
  position: absolute;
  inset: -7px;
  border-radius: 22px;
  border: 1.5px solid rgba(216, 180, 254, 0.35);
  opacity: 0.55;
  pointer-events: none;
  animation: aboutIconRing 2.8s ease-in-out infinite;
}
.about__feature-icon svg {
  width: 32px;
  height: 32px;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}
.about__feature-icon--2 {
  --icon-glow: rgba(219, 39, 119, 0.4);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #fce7f3 0%, #f0abfc 40%, #db2777 100%);
}
.about__feature-icon--3 {
  --icon-glow: rgba(99, 102, 241, 0.42);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #dbeafe 0%, #93c5fd 40%, #6366f1 100%);
}
.about__feature-icon--4 {
  --icon-glow: rgba(139, 92, 246, 0.42);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #eef2ff 0%, #a5b4fc 42%, #8b5cf6 100%);
}
.about__feature-icon--5 {
  --icon-glow: rgba(167, 139, 250, 0.4);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.45), transparent 40%),
    linear-gradient(145deg, #f5f3ff 0%, #ddd6fe 40%, #a78bfa 100%);
}
.about__feature:hover .about__feature-icon {
  transform: translateY(-6px) scale(1.12) rotate(-6deg);
  box-shadow:
    0 16px 36px var(--icon-glow),
    0 0 28px rgba(244, 114, 182, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.about__feature:hover .about__feature-ring {
  animation: aboutIconRingFast 0.9s ease-out both;
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
}
.about__feature-mark {
  display: none;
}
.about__feature-text {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}
.about__feature-desc {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* 张扬一点：入场弹跳 + 图标浮动 */
.about__features--flashy.enter-lift.reveal-stagger > * {
  opacity: 0;
  transform: translateY(42px) scale(0.88) rotateX(12deg);
  filter: blur(6px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1.2, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1.35, 0.3, 1),
    filter 0.55s ease;
  transform-origin: 50% 80%;
}
.about__features--flashy.enter-lift.reveal-stagger--visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}
.about__features--flashy.enter-lift.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0.04s; }
.about__features--flashy.enter-lift.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.14s; }
.about__features--flashy.enter-lift.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.24s; }
.about__features--flashy.enter-lift.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.34s; }
.about__features--flashy.enter-lift.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.44s; }
.about__features--flashy.reveal-stagger--visible .about__feature-icon {
  animation: aboutIconFloat 3.2s ease-in-out infinite;
}
.about__features--flashy.reveal-stagger--visible .about__feature:nth-child(2) .about__feature-icon { animation-delay: 0.25s; }
.about__features--flashy.reveal-stagger--visible .about__feature:nth-child(3) .about__feature-icon { animation-delay: 0.5s; }
.about__features--flashy.reveal-stagger--visible .about__feature:nth-child(4) .about__feature-icon { animation-delay: 0.75s; }
.about__features--flashy.reveal-stagger--visible .about__feature:nth-child(5) .about__feature-icon { animation-delay: 1s; }
.about__features--flashy.reveal-stagger--visible .about__feature:hover .about__feature-icon {
  animation: aboutIconPop 0.7s cubic-bezier(0.2, 1.5, 0.3, 1) both;
}
@keyframes aboutIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes aboutIconPop {
  0% { transform: translateY(0) scale(1) rotate(0deg); }
  40% { transform: translateY(-10px) scale(1.16) rotate(-8deg); }
  70% { transform: translateY(-2px) scale(1.04) rotate(3deg); }
  100% { transform: translateY(-6px) scale(1.12) rotate(-6deg); }
}
@keyframes aboutIconRing {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.08); opacity: 0.75; }
}
@keyframes aboutIconRingFast {
  0% { transform: scale(0.9); opacity: 0.2; }
  55% { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1.05); opacity: 0.65; }
}
.about__timeline {
  list-style: none;
  margin: 0 0 72px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.about__timeline--rail {
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  max-width: none;
  width: 100%;
  margin: 0 0 88px;
  padding-left: 0;
}
.about__timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(167, 139, 250, 0.45),
    rgba(244, 114, 182, 0.35),
    transparent
  );
  pointer-events: none;
}
.about__timeline--rail::before {
  display: none;
}
.about__timeline--rail .about__timeline-item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
  padding: 0;
  position: relative;
}
.about__timeline--rail .about__timeline-item:last-child {
  padding-bottom: 0;
}
.about__timeline--rail .about__timeline-year {
  position: relative;
  z-index: 1;
  justify-self: start;
  margin-bottom: 0;
  min-width: 76px;
  height: 40px;
  font-size: 0.95rem;
}
.about__timeline--rail .about__timeline-year::after {
  display: none;
}
.about__timeline--rail .about__timeline-body {
  min-height: 118px;
  padding: 22px 20px;
}
.about__timeline-item {
  position: relative;
  padding: 0 4px;
}
.about__timeline-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 36px;
  margin-bottom: 16px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #f5e9ff;
  background: rgba(124, 58, 237, 0.28);
  border: 1px solid rgba(196, 181, 252, 0.4);
  box-shadow: 0 0 24px rgba(124, 58, 237, 0.2);
}
.about__timeline-body {
  background: rgba(28, 27, 46, 0.72);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  min-height: 132px;
  transition:
    transform 0.4s var(--ease-out-expo),
    border-color 0.35s ease,
    box-shadow 0.4s ease;
}
.about__timeline-item:hover .about__timeline-body {
  transform: translateY(-4px);
  border-color: rgba(196, 181, 252, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}
.about__timeline-body h4 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
}
.about__timeline-body p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.about__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border-radius: calc(var(--radius-lg) + 4px);
  background:
    radial-gradient(ellipse at 12% 20%, rgba(192, 132, 252, 0.22), transparent 45%),
    radial-gradient(ellipse at 88% 80%, rgba(244, 114, 182, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(42, 36, 68, 0.92), rgba(18, 18, 30, 0.95));
  border: 1px solid rgba(196, 181, 252, 0.28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.about__cta-copy h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
}
.about__cta-copy p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.7;
}
.about__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* legacy highlight helpers (if reused) */
.about__highlights {
  display: flex;
  gap: 36px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.about__highlight-number {
  font-size: 2.42rem;
  font-weight: 900;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.about__highlight-label {
  font-size: 0.935rem;
  color: var(--text-muted);
  margin-top: 4px;
}
/* ===================================
   ????????
   =================================== */
#competitions {
  background: transparent;
}
.competitions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.competition-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
}
.competition-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.35s;
}
.competition-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.15);
}
.competition-card:hover::before {
  opacity: 1;
}
.competition-card__icon {
  font-size: 2.42rem;
  margin-bottom: 20px;
}
.competition-card h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.competition-card p {
  font-size: 0.99rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
/* ===================================
   ????????
   =================================== */
#research {
  background: transparent;
}
.research__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(22px, 2.5vw, 32px);
  margin-top: 36px;
}
.research-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
}
.research-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(99, 102, 241, 0.15);
}
.research-card__icon {
  font-size: 2.64rem;
  margin-bottom: 16px;
}
.research-card h3 {
  font-size: 1.265rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.research-card p {
  font-size: 0.99rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
/* ?????? */
.robotdog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 28px;
}
@media (max-width: 1100px) {
  .robotdog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .robotdog__grid {
    grid-template-columns: 1fr;
  }
}
.robotdog__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.robotdog__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 85, 247, 0.25);
}
/* robotdog__img frame styles live in unified media-frame block */
.robotdog__label {
  display: block;
  text-align: center;
  padding: 16px;
  font-size: 0.99rem;
  font-weight: 600;
  color: var(--text-secondary);
}
/* ===================================
   ???????
   =================================== */
#teachers {
  background: transparent;
}
.teachers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
}
.teacher-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.teacher-card::after {
  content: "??";
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  font-size: 1.54rem;
  color: var(--accent);
  opacity: 0;
  transition: all 0.35s var(--ease-out-expo);
}
.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(99, 102, 241, 0.2);
}
.teacher-card:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.teacher-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  font-weight: 700;
  overflow: hidden;
}
.teacher-card__info h3 {
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.teacher-card__info .teacher-card__title {
  font-size: 0.935rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.teacher-card__info p {
  font-size: 0.99rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.teacher-card__link-hint {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  color: var(--accent);
  margin-top: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.35s;
}
.teacher-card:hover .teacher-card__link-hint {
  opacity: 1;
}
/* ===================================
   ??????????
   =================================== */
#destinations {
  background: transparent;
}
.destinations__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.destination-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.968rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.destination-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.25);
}
.destination-item__name {
  font-weight: 700;
}
.destination-item__type {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
  background: var(--accent-light);
  padding: 2px 10px;
  border-radius: 100px;
}

/* ===== Stats strip & visualization cards ===== */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 8px 0 44px;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.stats-strip--4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1100px) {
  .nav__links a {
    font-size: 1.12rem;
    padding: 10px clamp(8px, 1vw, 16px);
  }
  .about__features {
    grid-template-columns: repeat(3, 1fr);
  }
  .about__features .about__feature:nth-child(4),
  .about__features .about__feature:nth-child(5) {
    grid-column: span 1;
  }
  .about__timeline:not(.about__timeline--rail) {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__timeline:not(.about__timeline--rail)::before {
    display: none;
  }
  .about__grid {
    gap: 36px;
  }
}
@media (max-width: 900px) {
  .about__features {
    grid-template-columns: repeat(2, 1fr);
  }
}
#competitions .stats-strip {
  grid-template-columns: repeat(3, 1fr);
}
.stats-strip__item {
  text-align: center;
  padding: 4px 8px;
  min-width: 0;
}
.stats-strip__number {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stats-strip__label {
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
}
.path-subtitle {
  margin: 20px 0 12px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.viz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.viz-grid--schools {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.viz-grid--companies {
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.viz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.viz-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: var(--shadow-md);
}
.viz-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.viz-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}
.viz-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.dest-school {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo);
  min-width: 0;
}
.dest-school:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 140, 248, 0.35);
}
.dest-school--overseas {
  border-color: rgba(251, 146, 60, 0.25);
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.06), var(--bg-card));
}
.dest-school__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  min-width: 0;
}
.dest-school__type {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 3px 10px;
  border-radius: 100px;
}
.dest-school--overseas .dest-school__type {
  color: #fb923c;
  background: rgba(251, 146, 60, 0.14);
}
.dest-company {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
  min-width: 0;
}
.dest-company:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: var(--shadow-md);
}
.dest-company__name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}
.dest-company__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #22d3ee;
  background: rgba(34, 211, 238, 0.12);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ===================================
   ??????
   =================================== */
.members__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.path-block {
  margin-bottom: 56px;
}
.path-block__title {
  font-size: 1.21rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.path-block__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.path-years {
  display: grid;
  gap: 16px;
}
.path-year {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.35s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.path-year:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 32px rgba(99, 102, 241, 0.12);
}
.path-year__label {
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  padding-top: 2px;
}
.path-year__list {
  list-style: none;
  display: grid;
  gap: 8px;
}
.path-year__list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.path-year__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.55);
}
.path-year__list strong {
  color: var(--text-primary);
  font-weight: 700;
}
.path-year__list em {
  font-style: normal;
  color: var(--accent);
  font-weight: 600;
}
.path-year--roster .path-year__list--roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 20px;
}
.path-year__list--roster li {
  background: rgba(129, 140, 248, 0.06);
  border: 1px solid rgba(129, 140, 248, 0.12);
  border-radius: 10px;
  padding: 10px 14px 10px 28px;
}
.path-year__list--roster li::before {
  left: 12px;
  top: 1.05em;
}
@media (max-width: 640px) {
  .path-year {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .path-year--roster .path-year__list--roster {
    grid-template-columns: 1fr;
  }
}
.members__group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: var(--shadow-sm);
}
.members__group:hover {
  border-color: rgba(99, 102, 241, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.members__year {
  font-size: 1.265rem;
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.members__list {
  list-style: none;
}
.members__list li {
  font-size: 0.935rem;
  color: var(--text-secondary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
}
.members__list li:last-child {
  border-bottom: none;
}
.members__list li span {
  color: var(--accent);
  font-weight: 700;
}
/* ===================================
   ???????
   =================================== */
#gallery {
  background: transparent;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.gallery-item {
  aspect-ratio: 16 / 10;
  position: relative;
}

/* ===== Unified media frames (images & videos) ===== */
.media-frame,
.gallery-item,
.robotdog__img,
.about__poster,
.video-card {
  position: relative;
  border-radius: 18px;
  padding: 8px;
  background:
    linear-gradient(
      155deg,
      rgba(210, 218, 255, 0.5) 0%,
      rgba(99, 102, 241, 0.22) 30%,
      rgba(34, 211, 238, 0.18) 58%,
      rgba(192, 132, 252, 0.32) 100%
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 16px 42px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
  transition:
    transform 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo);
}
.media-frame img,
.media-frame video,
.gallery-item img,
.robotdog__img img,
.about__poster img,
.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: #0a0c14;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(15, 17, 25, 0.45);
  transition: transform 0.65s var(--ease-out-expo), filter 0.4s ease;
}
.media-frame--inset {
  margin-top: 20px;
  width: 100%;
}
.media-frame--inset img {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  object-position: center;
}
/* Peer cards / frames: same outer size within each grid */
.research__grid,
.competitions__grid,
.teachers__grid,
.robotdog__grid,
.gallery__grid,
.about__features,
.viz-grid,
.members__grid,
.video-grid {
  align-items: stretch;
}
.research-card,
.competition-card,
.teacher-card,
.robotdog__card,
.about__feature,
.members__group,
.video-card {
  height: 100%;
  box-sizing: border-box;
}
.research-card {
  display: flex;
  flex-direction: column;
}
.research-card > p {
  flex: 1 1 auto;
}
.research-card .media-frame--inset {
  width: 100%;
  margin-top: auto;
}
.competition-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.competition-card p {
  flex: 1 1 auto;
}
.robotdog__card {
  display: flex;
  flex-direction: column;
}
.robotdog__img {
  aspect-ratio: 4 / 3;
  width: 100%;
}
.robotdog__img img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}
.teacher-card {
  min-height: 260px;
}
.teacher-card__info {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.teacher-card__info p {
  flex: 1 1 auto;
}
.video-card {
  display: flex;
  flex-direction: column;
}
.video-card video,
.video-card--portrait video {
  aspect-ratio: 16 / 10;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.teacher-card__avatar {
  border-radius: 50%;
  padding: 4px;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  background:
    linear-gradient(145deg, rgba(186, 198, 255, 0.7), rgba(99, 102, 241, 0.35), rgba(34, 211, 238, 0.4));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 22px rgba(0, 0, 0, 0.35);
}
.teacher-card__avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.gallery-item:hover,
.about__poster:hover,
.video-card:hover,
.media-frame:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 0 1px rgba(165, 180, 252, 0.3),
    0 22px 52px rgba(0, 0, 0, 0.48),
    0 0 40px rgba(99, 102, 241, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.gallery-item:hover img,
.robotdog__card:hover .robotdog__img img,
.about__poster:hover img,
.video-card:hover video,
.media-frame:hover img,
.media-frame:hover video {
  transform: scale(1.05);
  filter: brightness(1.05) saturate(1.06);
}
.video-card {
  background:
    linear-gradient(
      155deg,
      rgba(210, 218, 255, 0.5) 0%,
      rgba(99, 102, 241, 0.22) 30%,
      rgba(34, 211, 238, 0.18) 58%,
      rgba(192, 132, 252, 0.32) 100%
    );
  border: none;
}
.video-card video {
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
}
.video-card--portrait video {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #05060a;
}
.video-card__label {
  position: relative;
  z-index: 2;
  display: block;
  text-align: center;
  padding: 12px 10px 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.robotdog__img {
  aspect-ratio: 16 / 10;
}
.about__poster img {
  height: auto;
}
/* ===================================
   Theme toggle
   =================================== */

/* ===================================
   Lightbox image / video viewer
   =================================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  padding: 48px 24px;
  box-sizing: border-box;
}
.lightbox--visible {
  display: flex;
  animation: lightboxFadeIn 0.3s ease;
}
@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox__content {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  cursor: default;
  animation: lightboxZoomIn 0.35s var(--ease-out-expo);
}
.lightbox__content--video {
  width: min(85vw, 1100px);
  max-height: 85vh;
  background: #000;
}
@keyframes lightboxZoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.76rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
img[data-lightbox-bound],
video[data-lightbox-bound] {
  cursor: zoom-in;
}
/* ===== Motion: Mode C (home) + Mode B/C mix (subpages) ===== */
.motion-ready .hero__tag,
.motion-ready .hero__title,
.motion-ready .hero__subtitle,
.motion-ready .hero__actions,
.motion-ready .hero__stats,
.motion-ready .scroll-cue {
  animation: none;
}

/* ---- Cinematic reveal (B) ---- */
.motion-bc .reveal:not(.reveal--visible) {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(4px);
}

/* ---- Flashy home reveals (C) ---- */
.motion-c .reveal:not(.reveal--visible) {
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  filter: blur(8px);
}

/* ---- Stagger children ---- */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(36px) scale(0.94);
  filter: blur(6px);
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.85s var(--ease-spring),
    filter 0.55s ease,
    box-shadow 0.55s ease;
  will-change: transform, opacity, filter;
}
.motion-c .reveal-stagger:not(.reveal-stagger--visible) > *:nth-child(odd) {
  transform: translate(-40px, 48px) scale(0.9) rotate(-2deg);
}
.motion-c .reveal-stagger:not(.reveal-stagger--visible) > *:nth-child(even) {
  transform: translate(40px, 48px) scale(0.9) rotate(2deg);
}
.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0.02s; }
.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.26s; }
.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.34s; }
.reveal-stagger--visible > *:nth-child(6) { transition-delay: 0.42s; }
.reveal-stagger--visible > *:nth-child(7) { transition-delay: 0.5s; }
.reveal-stagger--visible > *:nth-child(8) { transition-delay: 0.58s; }
.motion-bc .reveal-stagger--visible > * {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Home C: punchier stagger */
.motion-c .reveal-stagger--visible > * {
  opacity: 1;
  filter: blur(0);
  animation: cardPopC 0.9s var(--ease-spring) both;
}
.motion-c .reveal-stagger--visible > *:nth-child(1) { animation-delay: 0.02s; }
.motion-c .reveal-stagger--visible > *:nth-child(2) { animation-delay: 0.1s; }
.motion-c .reveal-stagger--visible > *:nth-child(3) { animation-delay: 0.18s; }
.motion-c .reveal-stagger--visible > *:nth-child(4) { animation-delay: 0.26s; }
.motion-c .reveal-stagger--visible > *:nth-child(5) { animation-delay: 0.34s; }
.motion-c .reveal-stagger--visible > *:nth-child(6) { animation-delay: 0.42s; }
@keyframes cardPopC {
  0% { opacity: 0; transform: translateY(64px) scale(0.86); filter: blur(10px); }
  58% { opacity: 1; transform: translateY(-12px) scale(1.04); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* Sweep shine on cards when revealed */
.motion-c .reveal-stagger--visible .nav-card::after,
.motion-c .reveal-stagger--visible .research-card::after,
.motion-bc .reveal-stagger--visible .competition-card::after,
.motion-bc .reveal-stagger--visible .research-card::after {
  animation: shineSweep 0.9s var(--ease-out-expo) 0.25s both;
}
@keyframes shineSweep {
  0% { transform: translateX(-130%); opacity: 0.9; }
  100% { transform: translateX(130%); opacity: 0; }
}

/* Section header cinematic wipe (B) + flashy title (C accents) */
.motion-bc .reveal .section-title,
.motion-c .reveal .section-title {
  opacity: 0;
  letter-spacing: 0.12em;
  filter: blur(10px);
  transform: translateY(28px) scale(0.96);
  transition:
    opacity 0.85s var(--ease-out-expo) 0.12s,
    transform 0.95s var(--ease-spring) 0.12s,
    filter 0.7s ease 0.12s,
    letter-spacing 1s var(--ease-out-expo) 0.12s;
}
.motion-bc .reveal.reveal--visible .section-title,
.motion-c .reveal.reveal--visible .section-title {
  opacity: 1;
  letter-spacing: normal;
  filter: blur(0);
  transform: translateY(0) scale(1);
}
.motion-bc .reveal .section-desc,
.motion-c .reveal .section-desc {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity 0.75s var(--ease-out-expo) 0.22s,
    transform 0.8s var(--ease-out-expo) 0.22s,
    filter 0.6s ease 0.22s;
}
.motion-bc .reveal.reveal--visible .section-desc,
.motion-c .reveal.reveal--visible .section-desc {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal .section-label {
  position: relative;
  overflow: hidden;
}
.reveal .section-label::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.55), transparent);
  transform: translateX(-120%);
  pointer-events: none;
}
.reveal.reveal--visible .section-label::after {
  animation: labelFlash 0.8s var(--ease-out-expo) 0.15s both;
}
@keyframes labelFlash {
  0% { transform: translateX(-120%); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateX(120%); opacity: 0; }
}

/* Hero C entrance helpers */
.hero__title--lines {
  display: flex;
  flex-direction: column;
  gap: 0.08em;
}
.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(1.1em) scale(0.92);
  filter: blur(10px);
  transform-origin: left center;
}
.motion-ready .hero__title-line {
  will-change: transform, opacity, filter;
}
.hero--entered .hero__title-line {
  animation: heroLineIn 0.95s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.hero--entered .hero__title-line:nth-child(1) {
  animation-delay: 0.18s;
}
.hero--entered .hero__title-line:nth-child(2) {
  animation-delay: 0.36s;
}
@keyframes heroLineIn {
  0% {
    opacity: 0;
    transform: translateY(1.1em) scale(0.92);
    filter: blur(10px);
  }
  60% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}
.hero__title-shine {
  position: relative;
  display: inline-block;
}
.hero__title-shine::after {
  content: "";
  position: absolute;
  inset: -8% -12%;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-140%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero--entered .hero__title-shine::after {
  animation: titleShine 1.25s var(--ease-out-expo) 0.85s both;
}
@keyframes titleShine {
  0% { transform: translateX(-140%); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(140%); opacity: 0; }
}
.hero__stat--flash .hero__stat-number {
  text-shadow: 0 0 24px rgba(129, 140, 248, 0.85), 0 0 48px rgba(34, 211, 238, 0.35);
}

/* ---- Page-flavored stagger entrances ---- */
.enter-pop.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px) scale(0.72);
  filter: blur(8px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.7s cubic-bezier(0.22, 1.2, 0.36, 1),
    filter 0.45s ease;
}
.enter-pop.reveal-stagger--visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}
.enter-pop--fast.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0.02s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.05s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.08s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.11s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.14s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(6) { transition-delay: 0.17s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(7) { transition-delay: 0.2s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(8) { transition-delay: 0.23s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(9) { transition-delay: 0.26s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(10) { transition-delay: 0.29s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(11) { transition-delay: 0.32s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(12) { transition-delay: 0.35s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(13) { transition-delay: 0.38s; }
.enter-pop--fast.reveal-stagger--visible > *:nth-child(14) { transition-delay: 0.41s; }

.enter-slide.reveal-stagger > *:nth-child(odd) {
  opacity: 0;
  transform: translateX(-42px) scale(0.94);
  filter: blur(6px);
}
.enter-slide.reveal-stagger > *:nth-child(even) {
  opacity: 0;
  transform: translateX(42px) scale(0.94);
  filter: blur(6px);
}
.enter-slide.reveal-stagger--visible > * {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    opacity 0.7s var(--ease-out-expo),
    transform 0.85s cubic-bezier(0.22, 1.2, 0.36, 1),
    filter 0.5s ease;
}
.enter-slide.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0.05s; }
.enter-slide.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.16s; }
.enter-slide.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.27s; }

.enter-lift.reveal-stagger > * {
  opacity: 0;
  transform: translateY(56px) scale(0.9);
  filter: blur(8px);
  transition:
    opacity 0.85s var(--ease-out-expo),
    transform 1.1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s ease;
}
.enter-lift.reveal-stagger--visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}
.enter-lift.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0.08s; }
.enter-lift.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.22s; }
.enter-lift.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.36s; }
.enter-lift.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.5s; }

.enter-feed.reveal-stagger > * {
  opacity: 0;
  transform: translateX(-28px) translateY(12px);
  filter: blur(4px);
  transition:
    opacity 0.55s var(--ease-out-expo),
    transform 0.65s cubic-bezier(0.22, 1.2, 0.36, 1),
    filter 0.4s ease;
}
.enter-feed.reveal-stagger--visible > * {
  opacity: 1;
  transform: none;
  filter: none;
}
.enter-feed.reveal-stagger--visible > *:nth-child(1) { transition-delay: 0.03s; }
.enter-feed.reveal-stagger--visible > *:nth-child(2) { transition-delay: 0.08s; }
.enter-feed.reveal-stagger--visible > *:nth-child(3) { transition-delay: 0.13s; }
.enter-feed.reveal-stagger--visible > *:nth-child(4) { transition-delay: 0.18s; }
.enter-feed.reveal-stagger--visible > *:nth-child(5) { transition-delay: 0.23s; }
.enter-feed.reveal-stagger--visible > *:nth-child(6) { transition-delay: 0.28s; }
.enter-feed.reveal-stagger--visible > *:nth-child(7) { transition-delay: 0.33s; }
.enter-feed.reveal-stagger--visible > *:nth-child(8) { transition-delay: 0.38s; }
.enter-feed.reveal-stagger--visible > *:nth-child(9) { transition-delay: 0.43s; }
.enter-feed.reveal-stagger--visible > *:nth-child(10) { transition-delay: 0.48s; }
.enter-feed .news-item__arrow {
  transition: transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1), opacity 0.35s ease;
  opacity: 0.35;
  transform: translateX(-6px);
}
.enter-feed.reveal-stagger--visible .news-item__arrow {
  opacity: 0.75;
  transform: none;
  transition-delay: 0.15s;
}

.hero-curtain {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, #0f1119 0%, rgba(15, 17, 25, 0.85) 45%, transparent 100%);
  transform-origin: top;
}
.hero--entered .hero-curtain {
  animation: curtainLift 1.05s var(--ease-out-expo) both;
}
@keyframes curtainLift {
  0% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0); opacity: 0; }
}
.page-intro-mask {
  position: relative;
  overflow: hidden;
}
.page-intro-mask::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(129, 140, 248, 0.2), transparent 55%);
  transform: translateX(-105%);
  z-index: 2;
  pointer-events: none;
}
.page-intro-mask.is-in::before {
  animation: introWipe 0.9s var(--ease-out-expo) both;
}
@keyframes introWipe {
  0% { transform: translateX(-105%); }
  55% { transform: translateX(0%); }
  100% { transform: translateX(105%); opacity: 0; }
}
.gallery-item img,
.robotdog__img img,
.competition-gallery img,
.about__poster img {
  will-change: translate;
  transition: translate 0.15s linear;
}
.robotdog-scene {
  position: relative;
  padding: 8px 0 24px;
}
.robotdog-scene .section__header {
  margin-bottom: 40px;
}
.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: var(--text-secondary);
  font-size: 0.858rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.scroll-cue__line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollCue 1.8s var(--ease-out-expo) infinite;
  transform-origin: top;
}
@keyframes scrollCue {
  0% { transform: scaleY(0.35); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal-stagger > *,
  .scroll-cue__line,
  .hero-curtain,
  .page-intro-mask::before,
  .hero__title-shine::after,
  .hero__title-line,
  .about__feature-icon,
  .about__feature-ring,
  .about__features--flashy.reveal-stagger--visible .about__feature-icon,
  .nav__drawer,
  .nav__drawer-glow,
  .nav__drawer-foot-dot,
  .nav__drawer--open .nav__links li,
  .nav__drawer-head,
  .nav__drawer-foot {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .reveal,
  .motion-c .reveal,
  .motion-bc .reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
}
/* sticky cascade disabled ?? keeps research content visible */
.hero__bg {
  transform-origin: center center;
  will-change: transform;
}
.motion-ready .hero__content {
  will-change: transform, opacity;
}
/* ===== Starfield & polish ===== */
html {
  scroll-behavior: smooth;
}
.starfield {
  pointer-events: none;
}
.starfield--hero {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.starfield--full {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.starfield--full {
  opacity: 0.9;
}

.page-home .hero__content {
  z-index: 2;
}
.page-home .hero__bg {
  z-index: 0;
}
/* Keep .nav out of this rule — it must stay position:fixed; z-index:100
   so the mobile menu stays above .nav__overlay */
.section,
.footer,
.container {
  position: relative;
  z-index: 1;
}
.footer {
  background: linear-gradient(180deg, rgba(10, 12, 20, 0.4) 0%, #080a12 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0 36px;
  margin-top: 64px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.footer__credits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 920px;
}
.footer__team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer__team em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  margin-right: 6px;
}
.footer__sep {
  color: rgba(148, 163, 184, 0.45);
  font-weight: 400;
}
.footer__contributors {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}
.footer__contributors strong {
  color: var(--text-secondary);
  font-weight: 700;
}
.footer__copy {
  color: rgba(148, 163, 184, 0.75);
  font-size: 0.82rem;
  line-height: 1.8;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
  max-width: 920px;
}

/* ===== Studio news / WeChat follow ===== */
.wechat-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  margin: 8px 0 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.wechat-panel__avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.35);
}
.wechat-panel__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.wechat-panel__hint {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.wechat-follow {
  position: relative;
  display: inline-flex;
  vertical-align: baseline;
}
.wechat-follow__trigger {
  appearance: none;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(129, 140, 248, 0.45);
}
.wechat-follow__trigger:hover,
.wechat-follow.is-open .wechat-follow__trigger {
  color: #a5b4fc;
  text-decoration-color: rgba(165, 180, 252, 0.8);
}
.wechat-follow__pop {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  transform: translateX(-50%) translateY(6px);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px;
  background: rgba(22, 24, 34, 0.98);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out-expo), visibility 0.22s;
}
.wechat-follow__pop--up {
  top: auto;
  bottom: calc(100% + 12px);
  transform: translateX(-50%) translateY(-6px);
}
.wechat-follow:hover .wechat-follow__pop,
.wechat-follow:focus-within .wechat-follow__pop,
.wechat-follow.is-open .wechat-follow__pop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
@media (hover: none) {
  .wechat-follow:hover .wechat-follow__pop,
  .wechat-follow:focus-within .wechat-follow__pop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-50%) translateY(6px);
  }
  .wechat-follow:hover .wechat-follow__pop--up,
  .wechat-follow:focus-within .wechat-follow__pop--up {
    transform: translateX(-50%) translateY(-6px);
  }
  .wechat-follow.is-open .wechat-follow__pop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}
.wechat-follow__pop img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  display: block;
}
.wechat-follow__pop--up img {
  width: 160px;
  height: 160px;
}
.wechat-follow__tip {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer__wechat {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Homepage WeChat follow strip */
.home-wechat {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 36px 0 8px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.home-wechat__avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.home-wechat__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
}
.home-wechat__text strong {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
}
.home-wechat__link {
  flex-shrink: 0;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
}
.home-wechat__link:hover {
  background: var(--accent-light);
  color: #a5b4fc;
}

.news-years {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.news-year__title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.news-year__empty {
  margin: 0;
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}
.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-out-expo), box-shadow 0.3s ease;
}
.news-item:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.news-item__title {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
}
.news-item__arrow {
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.7;
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s;
}
.news-item:hover .news-item__arrow {
  transform: translateX(4px);
  opacity: 1;
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 0 28px;
  }
  .footer__team {
    flex-direction: column;
    gap: 6px;
  }
  .footer__sep {
    display: none;
  }
}
.reveal .section-label::before {
  width: 0;
  transition: width 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.reveal--visible .section-label::before {
  width: 28px;
}
/* section-title entrance handled in motion-c / motion-bc blocks */
.tilt-card {
  transform-style: preserve-3d;
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
  will-change: transform;
}

/* ===== Bold hover modules ===== */
.hover-module {
  --spot-x: 50%;
  --spot-y: 50%;
  --hot: 0;
  position: relative;
  isolation: isolate;
  transition:
    border-color 0.35s ease,
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.35s ease;
}
.hover-module::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    125deg,
    rgba(129, 140, 248, calc(0.15 + var(--hot) * 0.75)),
    rgba(34, 211, 238, calc(0.05 + var(--hot) * 0.55)),
    rgba(192, 132, 252, calc(0.1 + var(--hot) * 0.65))
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: calc(0.35 + var(--hot) * 0.65);
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.35s ease;
}
.hover-module__spot {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    420px circle at var(--spot-x) var(--spot-y),
    rgba(129, 140, 248, 0.22),
    rgba(34, 211, 238, 0.08) 35%,
    transparent 62%
  );
}
.hover-module.is-hot {
  --hot: 1;
  border-color: rgba(129, 140, 248, 0.45) !important;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(129, 140, 248, 0.18),
    0 0 40px rgba(99, 102, 241, 0.22),
    0 0 80px rgba(34, 211, 238, 0.08) !important;
}
.hover-module.is-hot .hover-module__spot {
  opacity: 1;
}
.hover-module.is-hot .nav-card__icon,
.hover-module.is-hot .competition-card__icon,
.hover-module.is-hot .research-card__icon,
.hover-module.is-hot .about__feature-icon,
.hover-module.is-hot .video-card__label,
.hover-module.is-hot .viz-card__badge {
  animation: iconPop 0.55s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
@keyframes iconPop {
  0% { transform: scale(1) rotate(0deg); }
  40% { transform: scale(1.22) rotate(-8deg); }
  70% { transform: scale(1.08) rotate(4deg); }
  100% { transform: scale(1.12) rotate(0deg); }
}
.hover-module.is-hot .dest-school__name,
.hover-module.is-hot .dest-company__name,
.hover-module.is-hot .news-item__title,
.hover-module.is-hot .stats-strip__number {
  color: #c7d2fe;
  text-shadow: 0 0 24px rgba(129, 140, 248, 0.35);
}
.hover-module.is-hot .news-item__arrow {
  transform: translateX(6px);
  opacity: 1;
}
.hover-module.is-hot .stats-strip__number {
  -webkit-text-fill-color: #c7d2fe;
  animation: numberNudge 0.55s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
@keyframes numberNudge {
  0% { transform: scale(1); }
  45% { transform: scale(1.12); }
  100% { transform: scale(1.04); }
}

/* Avatar / media micro-motion */
.wechat-panel__avatar,
.home-wechat__avatar,
.teacher-card__avatar {
  transition: transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.35s ease;
  transform-origin: center;
}
@media (hover: hover) and (pointer: fine) {
  .wechat-panel__avatar:hover,
  .home-wechat__avatar:hover,
  .teacher-card:hover .teacher-card__avatar,
  .wechat-panel:hover .wechat-panel__avatar,
  .home-wechat:hover .home-wechat__avatar {
    transform: scale(1.08) rotate(-3deg);
    box-shadow:
      0 0 0 1px rgba(129, 140, 248, 0.35),
      0 12px 28px rgba(99, 102, 241, 0.35);
  }
  .home-wechat {
    transition: border-color 0.3s ease, transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
  }
  .home-wechat:hover {
    transform: translateY(-3px);
    border-color: rgba(129, 140, 248, 0.35);
    box-shadow: var(--shadow-md);
  }
  .home-wechat__link {
    transition: transform 0.3s var(--ease-out-expo), background 0.25s ease, color 0.25s ease;
  }
  .home-wechat:hover .home-wechat__link {
    transform: translateX(4px);
  }
}

/* Touch press feedback */
@media (hover: none) {
  .nav-card:active,
  .competition-card:active,
  .research-card:active,
  .teacher-card:active,
  .viz-card:active,
  .dest-school:active,
  .dest-company:active,
  .news-item:active,
  .members__group:active,
  .about__feature:active,
  .gallery-item:active {
    transform: scale(0.98) translateY(1px);
  }
  .wechat-panel__avatar:active,
  .home-wechat__avatar:active,
  .teacher-card__avatar:active {
    transform: scale(0.96);
  }
}

.hover-module img,
.hover-module video {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s ease;
}
.hover-module.is-hot img,
.hover-module.is-hot video {
  transform: scale(1.08);
  filter: brightness(1.08) saturate(1.12);
}
.hover-module.is-hot h3,
.hover-module.is-hot .destination-item__name {
  color: #c7d2fe;
  text-shadow: 0 0 24px rgba(129, 140, 248, 0.35);
}
.nav-card,
.research-card,
.competition-card,
.teacher-card,
.robotdog__card,
.gallery-item,
.destination-item,
.video-card,
.about__feature,
.members__group,
.nn-panel,
.about__poster {
  --hot: 0;
}
/* keep CSS hover as fallback when no JS tilt */
@media (hover: hover) and (pointer: fine) {
  .nav-card:hover,
  .research-card:hover,
  .competition-card:hover,
  .teacher-card:hover,
  .robotdog__card:hover,
  .gallery-item:hover,
  .destination-item:hover,
  .video-card:hover,
  .about__feature:hover,
  .members__group:hover {
    z-index: 2;
  }
  .nn-panel:hover {
    border-color: rgba(129, 140, 248, 0.4);
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.45),
      0 0 50px rgba(34, 211, 238, 0.12);
    transform: translateY(-4px) scale(1.01);
  }
  .btn--primary:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 12px 36px rgba(99, 102, 241, 0.45);
  }
  .btn--ghost:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(129, 140, 248, 0.2);
    border-color: rgba(129, 140, 248, 0.55);
  }
  .hero__stat:hover .hero__stat-number {
    transform: scale(1.08);
    text-shadow: 0 0 28px rgba(129, 140, 248, 0.55);
  }
  .hero__stat-number {
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.22, 1.2, 0.36, 1), text-shadow 0.35s ease;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hover-module::before,
  .hover-module__spot,
  .hover-module.is-hot .nav-card__icon,
  .hover-module.is-hot .competition-card__icon,
  .hover-module.is-hot .research-card__icon,
  .hover-module.is-hot .about__feature-icon,
  .hover-module.is-hot .viz-card__badge,
  .hover-module.is-hot .stats-strip__number {
    animation: none !important;
    transition: none !important;
  }
  .hover-module.is-hot img,
  .hover-module.is-hot video,
  .wechat-panel__avatar,
  .home-wechat__avatar,
  .teacher-card__avatar,
  .home-wechat,
  .home-wechat__link {
    transform: none !important;
  }
}
.nav-card::after,
.research-card::after,
.competition-card::after,
.viz-card::after,
.dest-company::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.16) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}
.nav-card:hover::after,
.research-card:hover::after,
.competition-card:hover::after,
.viz-card:hover::after,
.dest-company:hover::after {
  transform: translateX(120%);
}
.research-card,
.competition-card,
.viz-card,
.dest-company {
  position: relative;
  overflow: hidden;
}
.hero__stats--live .hero__stat {
  animation: statPop 0.85s cubic-bezier(0.22, 1.2, 0.36, 1) both;
}
.hero__stats--live .hero__stat:nth-child(2) {
  animation-delay: 0.1s;
}
.hero__stats--live .hero__stat:nth-child(3) {
  animation-delay: 0.2s;
}
@keyframes statPop {
  0% { opacity: 0; transform: translateY(28px) scale(0.82); filter: blur(8px); }
  55% { opacity: 1; transform: translateY(-8px) scale(1.08); filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.nav__links a {
  position: relative;
}
@media (min-width: 769px) {
  .nav__links a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    background:
      linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.14) 48%, transparent 72%),
      radial-gradient(ellipse at 50% 120%, rgba(167, 139, 250, 0.35), transparent 68%);
    background-size: 220% 100%, 100% 100%;
    background-position: 140% 0, center;
    opacity: 0;
    transform: scale(0.92);
    transition:
      opacity 0.4s ease,
      transform 0.45s var(--ease-out-expo),
      background-position 0.7s ease;
    pointer-events: none;
  }
  .nav__links a::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6, #818cf8);
    background-size: 200% 100%;
    box-shadow:
      0 0 10px rgba(167, 139, 250, 0.75),
      0 0 22px rgba(192, 132, 252, 0.35);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
  }
  .nav__links a:hover {
    transform: translateY(-3px);
    color: #f5f3ff;
    text-shadow:
      0 0 16px rgba(167, 139, 250, 0.55),
      0 0 28px rgba(129, 140, 248, 0.28);
    background: rgba(129, 140, 248, 0.12);
    box-shadow:
      0 8px 22px rgba(76, 29, 149, 0.22),
      inset 0 0 0 1px rgba(196, 181, 252, 0.22);
  }
  .nav__links a:hover::before {
    opacity: 1;
    transform: scale(1);
    background-position: -40% 0, center;
  }
  .nav__links a:hover::after {
    transform: scaleX(1);
    animation: navUnderlineShine 1.6s linear infinite;
  }
  .nav__links a.active {
    transform: translateY(-1px);
    color: #f8fafc;
    text-shadow:
      0 0 14px rgba(167, 139, 250, 0.5),
      0 0 24px rgba(244, 114, 182, 0.2);
    background: linear-gradient(
      145deg,
      rgba(124, 58, 237, 0.28),
      rgba(129, 140, 248, 0.12) 55%,
      rgba(244, 114, 182, 0.1)
    );
    box-shadow:
      0 10px 26px rgba(76, 29, 149, 0.28),
      inset 0 0 0 1px rgba(196, 181, 252, 0.32);
    animation: navActiveBreath 2.8s ease-in-out infinite;
  }
  .nav__links a.active::before {
    opacity: 1;
    transform: scale(1);
    background-position: 30% 0, center;
  }
  .nav__links a.active::after {
    transform: scaleX(1);
    animation: navUnderlineShine 2.2s linear infinite;
  }
  .nav__links a:active {
    transform: translateY(0) scale(0.98);
  }
}
@keyframes navUnderlineShine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes navActiveBreath {
  0%, 100% {
    box-shadow:
      0 10px 26px rgba(76, 29, 149, 0.28),
      inset 0 0 0 1px rgba(196, 181, 252, 0.32);
  }
  50% {
    box-shadow:
      0 12px 32px rgba(124, 58, 237, 0.4),
      0 0 28px rgba(167, 139, 250, 0.18),
      inset 0 0 0 1px rgba(216, 180, 254, 0.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .starfield { display: none !important; }
  .reveal .section-title,
  .reveal .section-label::before {
    opacity: 1 !important;
    transform: none !important;
    width: 28px !important;
    transition: none !important;
  }
  .nav__links a,
  .nav__links a::before,
  .nav__links a::after {
    animation: none !important;
    transition: color 0.2s ease, background 0.2s ease !important;
    transform: none !important;
  }
}
/* ===== Page entrance polish ===== */
.section-label,
.section-title,
.section-desc {
  will-change: opacity, transform;
}
.reveal-stagger > * {
  transition-duration: 0.85s;
}
.motion-ready .btn {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}
.hero__stats--live .hero__stat-number {
  animation: numberGlow 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes numberGlow {
  0% { transform: scale(0.92); filter: brightness(0.9); }
  60% { transform: scale(1.04); filter: brightness(1.08); }
  100% { transform: scale(1); filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stats--live .hero__stat-number { animation: none !important; }
}

/* ===================================
   Mobile / narrow screens only
   Desktop layout unchanged above 768px
   =================================== */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
  .nav {
    z-index: 200;
    overflow: visible;
  }
  .nav__overlay {
    z-index: 180;
  }
  .nav__inner {
    padding: 0 14px 0 16px;
  }
  .nav__logo {
    font-size: 1.35rem;
    letter-spacing: 0.02em;
    max-width: calc(100% - 56px);
  }
  .nav__toggle {
    display: flex;
    flex-shrink: 0;
  }

  /* —— Side Drawer / Offcanvas —— */
  .nav__drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 210;
    width: min(86vw, 340px);
    padding:
      calc(var(--nav-height) + 12px)
      20px
      calc(22px + env(safe-area-inset-bottom, 0px));
    background:
      radial-gradient(ellipse at 100% 0%, rgba(167, 139, 250, 0.28), transparent 42%),
      radial-gradient(ellipse at 0% 100%, rgba(244, 114, 182, 0.14), transparent 40%),
      linear-gradient(165deg, rgba(36, 30, 58, 0.98) 0%, rgba(14, 15, 26, 0.99) 55%, #0a0b14 100%);
    border-left: 1px solid rgba(196, 181, 252, 0.28);
    box-shadow:
      -24px 0 64px rgba(0, 0, 0, 0.45),
      inset 1px 0 0 rgba(255, 255, 255, 0.04);
    transform: translate3d(104%, 0, 0);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.48s cubic-bezier(0.22, 1.2, 0.36, 1),
      visibility 0.48s;
    overflow: hidden;
  }
  .nav__drawer--open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
  }
  .nav__drawer-glow {
    display: block;
    position: absolute;
    top: -20%;
    right: -30%;
    width: 70%;
    height: 50%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192, 132, 252, 0.35), transparent 68%);
    filter: blur(18px);
    pointer-events: none;
    animation: navDrawerGlow 4.5s ease-in-out infinite;
  }
  .nav__drawer-head {
    display: block;
    position: relative;
    z-index: 1;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(167, 139, 250, 0.22);
  }
  .nav__drawer-kicker {
    margin: 0 0 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: #c4b5fd;
  }
  .nav__drawer-title {
    margin: 0 0 8px;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(110deg, #fff 10%, #e9d5ff 45%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .nav__drawer-sub {
    margin: 0;
    font-size: 0.86rem;
    color: rgba(203, 213, 225, 0.72);
    letter-spacing: 0.02em;
  }
  .nav__drawer-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    font-size: 0.78rem;
    color: rgba(167, 139, 250, 0.85);
    letter-spacing: 0.02em;
  }
  .nav__drawer-foot-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0abfc, #818cf8);
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.7);
    animation: navDrawerDot 2.2s ease-in-out infinite;
  }
  .nav__links {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
  .nav__links li {
    width: 100%;
    opacity: 0;
    transform: translateX(28px);
    transition:
      opacity 0.42s cubic-bezier(0.22, 1.2, 0.36, 1),
      transform 0.48s cubic-bezier(0.22, 1.2, 0.36, 1);
  }
  .nav__drawer--open .nav__links li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav__drawer--open .nav__links li:nth-child(1) { transition-delay: 0.08s; }
  .nav__drawer--open .nav__links li:nth-child(2) { transition-delay: 0.12s; }
  .nav__drawer--open .nav__links li:nth-child(3) { transition-delay: 0.16s; }
  .nav__drawer--open .nav__links li:nth-child(4) { transition-delay: 0.2s; }
  .nav__drawer--open .nav__links li:nth-child(5) { transition-delay: 0.24s; }
  .nav__drawer--open .nav__links li:nth-child(6) { transition-delay: 0.28s; }
  .nav__drawer--open .nav__links li:nth-child(7) { transition-delay: 0.32s; }
  .nav__drawer--open .nav__links li:nth-child(8) { transition-delay: 0.36s; }
  .nav__links a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 14px;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 14px;
    color: rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition:
      background 0.25s ease,
      border-color 0.25s ease,
      color 0.25s ease,
      transform 0.25s var(--ease-out-expo),
      box-shadow 0.25s ease;
  }
  .nav__links a::after,
  .nav__links a::before {
    display: none;
  }
  .nav__link-index {
    display: inline-flex;
    flex-shrink: 0;
    min-width: 1.6em;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(167, 139, 250, 0.75);
  }
  .nav__link-arrow {
    display: inline-flex;
    margin-left: auto;
    opacity: 0;
    transform: translateX(-6px);
    color: #c4b5fd;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav__links a:hover,
  .nav__links a:active {
    color: #fff;
    background: linear-gradient(120deg, rgba(124, 58, 237, 0.28), rgba(244, 114, 182, 0.12));
    border-color: rgba(196, 181, 252, 0.35);
    transform: translateX(4px);
    box-shadow: 0 10px 28px rgba(76, 29, 149, 0.25);
  }
  .nav__links a:hover .nav__link-arrow,
  .nav__links a:active .nav__link-arrow {
    opacity: 1;
    transform: translateX(0);
  }
  .nav__links a.active {
    color: #fff;
    font-weight: 800;
    background: linear-gradient(120deg, rgba(124, 58, 237, 0.42), rgba(99, 102, 241, 0.18));
    border-color: rgba(196, 181, 252, 0.45);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 12px 28px rgba(76, 29, 149, 0.28);
  }
  .nav__links a.active .nav__link-index {
    color: #f5d0fe;
  }
  .nav__links a.active .nav__link-arrow {
    opacity: 1;
    transform: none;
  }
  .nav__drawer-head,
  .nav__drawer-foot {
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity 0.4s ease,
      transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1);
  }
  .nav__drawer--open .nav__drawer-head {
    opacity: 1;
    transform: none;
    transition-delay: 0.06s;
  }
  .nav__drawer--open .nav__drawer-foot {
    opacity: 1;
    transform: none;
    transition-delay: 0.28s;
  }
  @keyframes navDrawerGlow {
    0%, 100% { opacity: 0.55; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.08); }
  }
  @keyframes navDrawerDot {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.25); opacity: 1; }
  }

  .hero {
    min-height: 100svh;
    align-items: flex-start;
  }
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: auto;
    padding-top: calc(var(--nav-height) + 12px);
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
  .hero__layout .hero__content {
    padding-top: 8px;
    order: 0;
  }
  .hero__mascot {
    order: 1;
    min-height: 0;
    margin: 12px auto 8px;
    overflow: visible;
    width: 100%;
    max-width: 320px;
  }
  .mascot {
    width: min(82vw, 320px);
    /* 给大气泡留出头顶空间，避免压在机器人脸上 */
    padding-top: 8rem;
    aspect-ratio: auto;
    height: auto;
  }
  .mascot__stage {
    width: 100%;
    aspect-ratio: 890 / 966;
    height: auto;
  }
  .mascot__bubble {
    top: 0;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(-50%, 16px) rotate(-2deg) scale(0.52);
    transform-origin: 50% 110%;
    max-width: min(320px, 92vw);
    min-width: min(230px, 84vw);
    padding: 18px 22px 20px;
    border-radius: 22px;
  }
  .mascot__bubble::after {
    left: 50%;
    right: auto;
    margin-left: -9px;
  }
  .mascot__bubble p {
    align-items: center;
    text-align: center;
  }
  .mascot__bubble-hi {
    font-size: 1.12rem;
  }
  .mascot__brand {
    font-size: clamp(1.7rem, 7.2vw, 2rem);
    transform-origin: center center;
  }
  .mascot__brand-sub {
    font-size: 1.18rem;
    letter-spacing: 0.16em;
  }
  .hero--entered .mascot__bubble {
    animation-name: mascotBubbleInMobile;
  }
  .hero--entered .mascot__bubble--live {
    animation-name: mascotBubbleFloatMobile, mascotBubbleGlow;
  }
  .mascot--acting .mascot__bubble--live {
    animation-name: mascotBubbleFloatMobile, mascotBubbleGlowPulse;
  }
  @keyframes mascotBubbleInMobile {
    0% { opacity: 0; transform: translate(-50%, 18px) rotate(-3deg) scale(0.45); }
    62% { opacity: 1; transform: translate(-50%, -4px) rotate(0.9deg) scale(1.05); }
    82% { transform: translate(-50%, 1px) rotate(-1deg) scale(0.99); }
    100% { opacity: 1; transform: translate(-50%, 0) rotate(-0.8deg) scale(1); }
  }
  @keyframes mascotBubbleFloatMobile {
    0%, 100% { transform: translate3d(-50%, 0, 0) rotate(-0.8deg) scale(1); }
    45% { transform: translate3d(-50%, -7px, 0) rotate(0.5deg) scale(1.018); }
  }
  @keyframes mascotTailBob {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    45% { transform: rotate(45deg) translate(0, -2px); }
  }
  .hero__content {
    padding-top: calc(var(--nav-height) + 28px);
    padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .hero__tag {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 20px;
    max-width: 100%;
  }
  .hero__title {
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
    line-height: 1.18;
    margin-bottom: 16px;
  }
  .hero__title-shine::after {
    display: none;
  }
  .hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 24px;
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 40px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }
  .hero__stats {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .hero__stat + .hero__stat::before {
    left: -6px;
    opacity: 0.5;
  }
  .hero__stat-number {
    font-size: 1.85rem;
  }
  .hero__stat-label {
    font-size: 0.72rem;
    line-height: 1.35;
  }
  .scroll-cue {
    margin-top: 28px;
    margin-bottom: env(safe-area-inset-bottom, 8px);
    font-size: 0.72rem;
  }
  .scroll-cue__line {
    height: 28px;
  }

  .section {
    padding: 72px 0;
  }
  .section-title {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }
  .gallery__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .teachers__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .teacher-card {
    padding: 20px 18px;
    gap: 14px;
    overflow: visible;
  }
  .teacher-card::after {
    display: none;
  }
  .teacher-card__avatar {
    width: 64px;
    height: 64px;
  }
  .teacher-card__info {
    min-width: 0;
    flex: 1;
  }
  .teacher-card__info h3 {
    font-size: 1.15rem;
  }
  .teacher-card__info p {
    font-size: 0.9rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .teacher-card__link-hint {
    opacity: 1;
  }

  /* About page */
  .about-page {
    padding-top: 100px;
    padding-bottom: 56px;
  }
  .about-page .stats-strip {
    margin-bottom: 36px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 48px;
  }
  .about__poster {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .about__poster img {
    width: 100%;
    height: auto;
    display: block;
  }
  .about__lead {
    font-size: 1.4rem;
  }
  .about__text p {
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 14px;
  }
  .about__tags {
    gap: 8px;
  }
  .about__tags span {
    font-size: 0.78rem;
    padding: 6px 12px;
  }
  .about__block-head {
    margin-bottom: 18px;
  }
  .about__features {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 48px;
  }
  .about__feature {
    padding: 18px 16px;
  }
  .about__feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }
  .about__feature-icon svg {
    width: 26px;
    height: 26px;
  }
  .about__feature-text {
    font-size: 1rem;
  }
  .about__feature-desc {
    font-size: 0.88rem;
  }
  .about__timeline,
  .about__timeline--rail {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 48px;
  }
  .about__timeline::before {
    display: none;
  }
  .about__timeline--rail {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 8px;
  }
  .about__timeline--rail::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    display: block;
    background: linear-gradient(
      180deg,
      rgba(167, 139, 250, 0.15),
      rgba(167, 139, 250, 0.55),
      rgba(244, 114, 182, 0.35),
      rgba(167, 139, 250, 0.12)
    );
  }
  .about__timeline--rail .about__timeline-item {
    grid-template-columns: 72px 1fr;
    gap: 14px;
    padding-bottom: 20px;
  }
  .about__timeline--rail .about__timeline-year {
    min-width: 56px;
    height: 32px;
    font-size: 0.78rem;
    padding: 0 10px;
  }
  .about__timeline--rail .about__timeline-year::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translate(50%, -50%);
    background: #c4b5fd;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.22), 0 0 16px rgba(192, 132, 252, 0.55);
  }
  .about__timeline--rail .about__timeline-body {
    min-height: 0;
    padding: 16px 14px;
  }
  .about__timeline-body {
    min-height: 0;
  }
  .about__timeline-body h4 {
    font-size: 1.05rem;
  }
  .about__timeline-body p {
    font-size: 0.9rem;
  }
  .about__cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 18px;
    gap: 18px;
  }
  .about__cta-copy h3 {
    font-size: 1.2rem;
  }
  .about__cta-actions {
    width: 100%;
  }
  .about__cta-actions .btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
  .about__highlights {
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    justify-content: space-between;
  }
  .about__highlight {
    flex: 1;
    min-width: 0;
  }
  .about__highlight-number {
    font-size: 1.85rem;
  }
  .about__highlight-label {
    font-size: 0.78rem;
    line-height: 1.35;
  }
  .section-desc {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  /* Competitions page */
  #competitions.page-section {
    padding-top: 100px !important;
  }
  #destinations.page-section {
    padding-top: 100px !important;
  }
  .stats-strip,
  #competitions .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 18px 14px;
    margin-bottom: 32px;
  }
  .stats-strip__number {
    font-size: 1.7rem;
  }
  .stats-strip__label {
    font-size: 0.74rem;
  }
  .viz-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .viz-grid--schools {
    grid-template-columns: 1fr;
  }
  .viz-grid--companies {
    grid-template-columns: 1fr 1fr;
  }
  .dest-company {
    padding: 16px 14px;
  }
  .dest-company__name {
    font-size: 1rem;
  }
  .competitions__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
  }
  .competition-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 4px;
    padding: 16px 14px;
    align-items: start;
  }
  .competition-card__icon {
    grid-row: 1 / 3;
    align-self: center;
    margin-bottom: 0;
    font-size: 1.85rem;
    line-height: 1;
  }
  .competition-card h3 {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0;
  }
  .competition-card p {
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .competition-gallery {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 28px !important;
  }
  .competition-gallery .media-frame img {
    aspect-ratio: 16 / 10;
  }

  #news.page-section {
    padding-top: 100px !important;
  }
  .wechat-panel {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 14px;
    margin-bottom: 28px;
  }
  .wechat-panel__hint {
    font-size: 0.9rem;
  }
  .home-wechat {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 12px;
    padding: 16px;
    margin-top: 28px;
  }
  .home-wechat__text {
    flex: 1 1 100%;
    align-items: center;
  }
  .home-wechat__link {
    width: 100%;
    text-align: center;
  }
  .news-years {
    gap: 28px;
  }
  .news-year__title {
    font-size: 1.25rem;
  }
  .news-item {
    padding: 14px 14px;
  }
  .news-item__title {
    font-size: 0.95rem;
  }
  .wechat-follow__pop img {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 400px) {
  .hero__stats {
    flex-wrap: wrap;
    gap: 16px 12px;
  }
  .hero__stat {
    flex: 1 1 40%;
  }
  .hero__stat + .hero__stat::before {
    display: none;
  }
}
