/* ============ SELF-HOSTED FONTS ============ */
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Light.woff2") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("assets/fonts/GeistMono-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/NotoSerifSC-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("assets/fonts/NotoSerifSC-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ============ TOKENS ============ */
:root {
  --ink: #0a2540;
  --ink-2: #425466;
  --ink-3: #697386;
  --product-text: #2d3d50;
  --line: #e5e9f0;
  --paper: #ffffff;
  --paper-2: #f6f9fc;
  --accent: #635bff;
  --accent-2: #00d4ff;
  --accent-3: #ff80b5;

  /* CUFE official crimson — used sparingly for institutional accents */
  --cufe: #1f4ba8;
  --cufe-red: #b91c1c;

  /* Agent palette — matches CUFEL-Q chart colors */
  --a1: #8b7cff;  /* PKLemon */
  --a2: #ff8a3d;  /* PKLemon-v2 */
  --a3: #2bd4d4;  /* QuantRotor */
  --a4: #e6336e;  /* Qwen-A2 */
  --a5: #a855f7;  /* LumiAegis */
  --a6: #14b8a6;  /* EmotionContagion */
  --a7: #1e3a8a;  /* SimuWang */
  --a8: #0f172a;  /* Benchmark */
  --a9: #84cc16;  /* YOLO */
  --aA: #f97316;  /* FTA-Agent */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

.mono { font-family: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; }
.serif-cn { font-family: "Noto Serif SC", serif; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ============ UNIVERSITY TOP BAR ============ */
.uni-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 60;
}
.uni-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.uni-bar-left { display: flex; align-items: center; gap: 12px; }
.uni-crest {
  width: 32px; height: 32px;
  display: block;
  border-radius: 50%;
}
.uni-text { display: flex; flex-direction: column; line-height: 1.15; }
.uni-text .cn {
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cufe);
  letter-spacing: 0.04em;
}
.uni-text .en {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.uni-bar-links {
  display: flex; gap: 18px;
  font-size: 12px;
  color: var(--ink-2);
}
.uni-bar-links a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.2s;
}
.uni-bar-links a:hover { color: var(--cufe); }
@media (max-width: 600px) {
  .uni-bar-links { display: none; }
}

/* ============ TICKER ============ */
.ticker {
  background: #050c1a;
  color: #d4dceb;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 60;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-label {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0 16px;
  height: 100%;
  background: linear-gradient(90deg, #050c1a, rgba(5,12,26,0));
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6ee7b7;
  z-index: 2;
}
.ticker-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse 1.6s infinite;
}
.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
  flex: 1 1 auto;
  gap: 36px;
  padding-left: 36px;
}
.ticker-item {
  display: inline-flex; gap: 8px; align-items: center;
}
.ticker-item .sym { color: #fff; font-weight: 500; }
.ticker-item .up { color: #6ee7b7; }
.ticker-item .down { color: #fda4af; }
.ticker-item .neutral { color: #94a3b8; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Ticker as a strip inside the CUFEL-Q section */
.q-ticker {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  margin-top: 14px;
}
.q-ticker .ticker { height: 32px; }

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ============ BENCHMARK PANEL (Hero right) ============ */
.bench-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 22px 24px 24px;
  box-shadow: 0 30px 80px -20px rgba(8, 16, 56, 0.5);
}
.bench-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 22px;
}
.bench-title { font-size: 13px; font-weight: 500; opacity: 0.9; }
.bench-title .sub {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  opacity: 0.55;
  margin-left: 8px;
}
.bench-badge {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  background: rgba(255,255,255,0.12);
  padding: 3px 8px; border-radius: 5px;
}
.bench-chart {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.bench-row {
  display: grid;
  grid-template-columns: 1fr 60px;
  gap: 12px;
  align-items: center;
}
.bench-row .bench-meta {
  display: flex; flex-direction: column;
  gap: 6px;
}
.bench-row .bench-label {
  font-size: 12.5px;
  font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.bench-row .bench-label .org {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  opacity: 0.55;
}
.bench-row .bench-bar-wrap {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.bench-row .bench-bar {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: rgba(255,255,255,0.4);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  border-radius: 4px;
}
.bench-row.cufel .bench-bar {
  background: linear-gradient(90deg, #ffd66b, #ff80b5);
  box-shadow: 0 0 12px rgba(255,128,181,0.5);
}
.bench-row .bench-value {
  text-align: right;
  font-family: "Geist Mono", monospace;
  font-size: 16px;
  font-weight: 600;
  font-feature-settings: "tnum";
}
.bench-row.cufel .bench-value { color: #ffd66b; }
.bench-row .bench-bar-wrap.in .bench-bar { width: var(--w); }
.bench-foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  opacity: 0.7;
}
.bench-foot .winner {
  display: inline-flex; align-items: center; gap: 6px;
  color: #ffd66b;
}
.bench-foot .winner .dot {
  width: 6px; height: 6px; border-radius: 50%; background: #ffd66b;
  box-shadow: 0 0 6px #ffd66b;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-bottom: 120px;
  isolation: isolate;
  z-index: 50;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, #0b1f6e 0%, #0a2b8a 35%, #062152 70%, #050c1a 100%);
}

/* WebGL liquid canvas — sits above the gradient, below the grid overlay */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

/* Subtle workstation glow from upper-right */
.hero-glow {
  position: absolute;
  top: -240px;
  right: -200px;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(110, 229, 255, 0.12) 0%, rgba(28, 61, 240, 0.05) 40%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* Time-series wave ambient layer */
.hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Floating gradient blobs — legacy, kept for backward compat */
.blob { display: none; }
.blob.b1, .blob.b2, .blob.b3, .blob.b4 { display: none; }

@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 40px) scale(1.1); }
  100% { transform: translate(-60px, 80px) scale(0.95); }
}

/* Subtle dot field — paper-like research backdrop */
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1.5px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  pointer-events: none;
  opacity: 0.55;
}

/* Hero 底部「波浪海岸线」分隔：白色以波形探入 Hero，组织边界由直线改为有机曲线，
   弱化三段式生硬；青色描边点出时序母题，与页脚顶部镜像对称 */
.hero-divider {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 130px;
  z-index: 2;
  pointer-events: none;
}
.hero-divider .wave-fill { fill: #ffffff; }
.hero-divider .wave-line { fill: none; stroke: rgba(110, 229, 255, 0.45); stroke-width: 1.5; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(10, 37, 64, 0);
  transition: background 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px;
  max-width: 1200px; margin: 0 auto;
  color: #fff;
  transition: color 0.3s;
}
.nav.scrolled .nav-inner { color: rgba(15, 23, 42, 0.7); }
.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 17px;
  letter-spacing: -0.01em;
}
/*
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: conic-gradient(from 200deg, #ffb8e0, #ffd66b, #00d4ff, #6f78ff, #ffb8e0);
  position: relative;
  animation: spin 60s linear infinite;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 4px;
  background: var(--paper);
  border-radius: 4px;
}
.brand-mark::before {
  content: ""; position: absolute; inset: 9px;
  background: conic-gradient(from 0deg, #ffb8e0, #ffd66b, #00d4ff, #6f78ff, #ffb8e0);
  border-radius: 2px;
  z-index: 1;
  animation: spin 30s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
*/

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text .b1 { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.brand-text .b2 { font-size: 10px; opacity: 0.5; font-weight: 400; letter-spacing: 0.08em; font-family: "Geist Mono", ui-monospace, monospace; text-transform: uppercase; white-space: nowrap; }

.nav-links {
  display: flex; gap: 36px;
  font-size: 15px; font-weight: 500;
}
.nav-links a { opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500;
  background: rgba(255,255,255,0.18);
  padding: 8px 16px;
  border-radius: 999px;
  transition: background 0.2s;
}
.nav.scrolled .nav-cta { background: rgba(15, 23, 42, 0.85); color: rgba(255,255,255,0.92); }
.nav-cta:hover { background: rgba(255,255,255,0.28); }
.nav.scrolled .nav-cta:hover { background: var(--accent); }

/* ============ HERO CONTENT ============ */
.hero-content {
  padding: 138px 32px 160px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #ade1ff;
  box-shadow: 0 0 8px #ade1ff;
  animation: pulse 1.6s infinite;
}
.eyebrow-tag {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 600;
  font-family: "Noto Serif SC", serif;
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0 0 22px;
  max-width: none;
}
.hero h1 em {
  font-style: normal;
  font-family: "Noto Serif SC", serif;
  font-weight: 500;
}
.hero h1 .grad {
  background: linear-gradient(90deg, #6ee5ff 0%, #4f7dff 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.6;
  max-width: 540px;
  opacity: 0.78;
  margin: 0 0 40px;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  border: 0; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(0,0,0,0.35); }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-arrow {
  font-size: 14px;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ HERO GRID + ARENA PANEL ============ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }

/* ============ AGENT NETWORK (hero right side) ============ */
.agent-net {
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  position: relative;
}
.agent-net-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.net-bg-waves path {
  stroke: rgba(255, 255, 255, 0.85);
  fill: none;
  stroke-width: 0.6;
}
.net-edges path {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  fill: none;
}
.net-chords {
  stroke: rgba(110, 229, 255, 0.10);
  stroke-width: 1;
  stroke-dasharray: 2 5;
  fill: none;
}
.net-core-ring-outer {
  fill: none;
  stroke: rgba(255, 255, 255, 0.30);
  stroke-width: 1;
}
.net-core-ring-mid {
  fill: none;
  stroke: rgba(110, 229, 255, 0.5);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.net-core-disc {
  fill: rgba(110, 229, 255, 0.9);
}
.net-core-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  fill: rgba(110, 229, 255, 0.85);
  letter-spacing: 0.14em;
  font-weight: 600;
  text-transform: uppercase;
}
.net-core-sub {
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  fill: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  letter-spacing: 0.04em;
}
.net-agent circle.ring {
  fill: rgba(11, 31, 110, 0.85);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1;
}
.net-agent circle.dot {
  fill: rgba(255, 255, 255, 0.92);
}
.net-agent-id {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  fill: rgba(110, 229, 255, 0.65);
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}
.net-agent-name {
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  fill: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ====== Hero network — Step 2 animation layers ====== */

/* L4 — Core dual-ring slow rotation */
.net-core-ring-outer {
  transform-origin: 350px 310px;
  animation: net-spin-cw 60s linear infinite;
}
.net-core-ring-mid {
  transform-origin: 350px 310px;
  animation: net-spin-ccw 90s linear infinite;
}
@keyframes net-spin-cw  { to { transform: rotate(360deg); } }
@keyframes net-spin-ccw { to { transform: rotate(-360deg); } }

/* L1 — Agent breathing (phase-shifted) + core disc heartbeat */
.net-agent .ring {
  transform-box: fill-box;
  transform-origin: center;
  animation: net-breathe 4s ease-in-out infinite;
}
.net-agent[data-id="T"] .ring { animation-delay: 0s;   }
.net-agent[data-id="A"] .ring { animation-delay: 0.7s; }
.net-agent[data-id="Q"] .ring { animation-delay: 1.4s; }
.net-agent[data-id="R"] .ring { animation-delay: 2.1s; }
.net-agent[data-id="L"] .ring { animation-delay: 2.8s; }
.net-agent[data-id="I"] .ring { animation-delay: 3.5s; }
@keyframes net-breathe {
  0%, 100% { opacity: 0.78; transform: scale(0.97); }
  50%      { opacity: 1.00; transform: scale(1.03); }
}
.net-core-disc {
  transform-box: fill-box;
  transform-origin: center;
  animation: net-core-pulse 3.2s ease-in-out infinite;
}
@keyframes net-core-pulse {
  0%, 100% { opacity: 0.85; }
  50%      { opacity: 1.00; }
}

/* L2 — Bidirectional spoke particles */
.net-particle      { fill: rgba(110, 229, 255, 0.85); }
.net-particle.in   { fill: rgba(255, 255, 255, 0.80); }

/* L0 — Ambient wave drift */
.hero-waves path:nth-child(1) { animation: net-wave-a 38s linear infinite; }
.hero-waves path:nth-child(2) { animation: net-wave-b 52s linear infinite; }
.hero-waves path:nth-child(3) { animation: net-wave-c 44s linear infinite; }
.net-bg-waves path            { animation: net-wave-a 46s linear infinite; }
@keyframes net-wave-a { from { transform: translateX(0); } to { transform: translateX(-160px); } }
@keyframes net-wave-b { from { transform: translateX(0); } to { transform: translateX( 160px); } }
@keyframes net-wave-c { from { transform: translateX(0); } to { transform: translateX(-120px); } }

/* L3 — Risk pulse (JS-injected elements) */
.net-pulse {
  fill: none;
  stroke: rgba(255, 184, 107, 0.70);
  stroke-width: 1.2;
  animation: net-pulse-expand 1.6s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes net-pulse-expand {
  0%   { r: 8;  opacity: 0.0; stroke-width: 1.6; }
  10%  { opacity: 0.85; }
  100% { r: 92; opacity: 0.0; stroke-width: 0.6; }
}
.net-chord-flash {
  stroke: rgba(255, 184, 107, 0.55);
  stroke-width: 1.2;
  opacity: 0;
  animation: net-chord-flash 900ms ease-out forwards;
}
@keyframes net-chord-flash {
  0%   { opacity: 0; }
  20%  { opacity: 1; }
  100% { opacity: 0; }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .net-core-ring-outer,
  .net-core-ring-mid,
  .net-agent .ring,
  .net-core-disc,
  .hero-waves path,
  .net-bg-waves path { animation: none !important; }
  .net-particles,
  .net-pulses { display: none; }
}

@media (max-width: 980px) {
  .agent-net { max-width: 480px; margin: 32px auto 0; }
}

.panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 30px 80px -20px rgba(8, 16, 56, 0.5);
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.4s ease;
  will-change: transform;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 14px;
  font-size: 13px; font-weight: 500;
}
.panel-head .tabs { display: flex; gap: 4px; align-items: center; }
.panel-head .badge {
  background: rgba(255,255,255,0.14);
  padding: 4px 10px; border-radius: 6px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.panel-head .badge.accent {
  background: linear-gradient(90deg, #00d4ff, #635bff);
  color: #fff;
}
.panel-head .pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: #b8ffd6;
}
.panel-head .pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  animation: pulse 2s infinite;
}

/* Arena multi-line chart */
.arena-chart {
  position: relative;
  height: 220px;
  margin: 6px 0 14px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 14px;
  overflow: hidden;
}
.arena-chart svg { width: 100%; height: 100%; display: block; }
.arena-chart .chart-label {
  position: absolute;
  top: 12px; left: 14px;
  font-size: 11px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.arena-chart .chart-axis {
  position: absolute;
  right: 14px; top: 0; bottom: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 14px 0;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  opacity: 0.5;
  pointer-events: none;
}

.arena-chart path.line {
  fill: none;
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawLine 3s ease forwards;
}
.arena-chart path.line.l2 { animation-delay: 0.15s; }
.arena-chart path.line.l3 { animation-delay: 0.3s; }
.arena-chart path.line.l4 { animation-delay: 0.45s; }
.arena-chart path.line.l5 { animation-delay: 0.6s; }
.arena-chart path.line.l6 { animation-delay: 0.75s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

.arena-chart .endpoint {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
  animation-delay: 3s;
}
@keyframes fadeIn { to { opacity: 1; } }

.arena-leaderboard {
  display: grid;
  gap: 8px;
}
.lb-row {
  display: grid;
  grid-template-columns: 16px 1fr 64px 64px;
  gap: 12px; align-items: center;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  font-size: 12.5px;
  transition: background 0.2s;
}
.lb-row:hover { background: rgba(255,255,255,0.07); }
.lb-row .rk { font-family: "Geist Mono", monospace; font-size: 11px; opacity: 0.5; }
.lb-row .agent {
  display: inline-flex; align-items: center; gap: 8px;
}
.lb-row .agent .swatch {
  width: 8px; height: 8px; border-radius: 2px;
}
.lb-row .agent .name { font-weight: 500; }
.lb-row .val {
  font-family: "Geist Mono", monospace;
  text-align: right;
  font-size: 12px;
}
.lb-row .ret {
  font-family: "Geist Mono", monospace;
  text-align: right;
  font-size: 12px;
  color: #6ee7b7;
}

/* ============ LOGOS MARQUEE ============ */
.logos {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.logos-title {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  margin-bottom: 32px;
  font-weight: 500;
}
.logo-marquee {
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.logo-track {
  display: flex; gap: 64px; align-items: center;
  animation: marquee 40s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo {
  color: var(--ink-2);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  opacity: 0.72;
  display: inline-flex; align-items: center; gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: "Noto Serif SC", serif;
}
.logo .dot { width: 8px; height: 8px; background: currentColor; border-radius: 2px; }
.logo.alt { font-family: "Geist", sans-serif; font-weight: 500; }

/* ============ SECTIONS ============ */
section { padding: 120px 0; }
.sec-eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
}
.sec-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
  max-width: 26ch;
  text-wrap: balance;
}
.sec-title em {
  font-style: normal;
  font-family: "Noto Serif SC", serif;
  font-weight: 500;
  background: linear-gradient(90deg, #635bff 0%, #00d4ff 60%, #ff80b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sec-lede {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 620px;
  line-height: 1.6;
}

.head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 24px;
  align-items: end;
}
@media (max-width: 800px) { .head-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ============ STATS STRIP ============ */
.stats {
  padding: 56px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.stat .stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-bottom: 10px;
  font-weight: 500;
}
.stat .stat-value {
  font-size: clamp(42px, 4.2vw, 58px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  font-feature-settings: "tnum";
  background: linear-gradient(135deg, var(--ink) 0%, #5b3df5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .stat-unit { font-size: 0.5em; color: var(--ink-3); -webkit-text-fill-color: var(--ink-3); margin-left: 4px; }
.stat .stat-meta { margin-top: 12px; font-size: 13px; color: var(--ink-3); }

/* ============ PROJECTS ============ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  position: relative;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(ellipse 60% 50% at 15% 10%,  rgba(28, 61, 240, 0.07),  transparent 60%),
    radial-gradient(ellipse 50% 50% at 85% 20%,  rgba(217, 70, 239, 0.07), transparent 60%),
    radial-gradient(ellipse 55% 55% at 90% 90%,  rgba(6, 214, 160, 0.07),  transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 90%,  rgba(251, 146, 60, 0.07), transparent 60%);
  background-size: 200% 200%;
  animation: pgrid-ambient 18s ease-in-out infinite alternate;
}
@keyframes pgrid-ambient {
  0%   { background-position:   0%   0%,   100% 0%,   100% 100%, 0% 100%; }
  100% { background-position: 100% 100%,   0% 100%,   0%   0%, 100%  0%; }
}
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); padding: 16px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .projects-grid { animation: none; }
}

/* Featured (CUFEL-Q) — spans 4 cols and 2 rows */
.pcard.featured {
  grid-column: span 4;
  grid-row: span 2;
  background: #0a2540;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 480px;
}
.pcard.featured::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(99,91,255,0.45), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(0,212,255,0.25), transparent 60%);
}
.pcard {
  --c1: #1c3df0;
  --c2: #9b5cff;
  --c3: #ff5cc6;
  grid-column: span 2;
  border: 2px solid transparent;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, var(--c1), var(--c2), var(--c3), var(--c2), var(--c1)) border-box;
  background-size: auto, 300% 300%;
  animation: pcard-flow 9s linear infinite;
  transition: transform 0.25s ease, box-shadow 0.25s ease, animation-duration 0.25s ease;
  min-height: 240px;
}
@keyframes pcard-flow {
  0%   { background-position: 0 0,   0% 50%; }
  100% { background-position: 0 0, 300% 50%; }
}
.pcard:hover {
  transform: translateY(-3px);
  box-shadow:
    0 24px 48px -16px rgba(10,37,64,0.18),
    0 0 0 1px color-mix(in srgb, var(--c2) 35%, transparent),
    0 12px 36px -18px color-mix(in srgb, var(--c2) 65%, transparent);
  animation-duration: 4.5s;
}
@media (prefers-reduced-motion: reduce) {
  .pcard { animation: none; }
  .pcard:hover { animation: none; }
}

/* Per-theme palettes for animated gradient borders */
.pcard.t-flagship { --c1: #1c3df0; --c2: #9b5cff; --c3: #ff5cc6; }
.pcard.t-q       { --c1: #06d6a0; --c2: #00b4d8; --c3: #5b6cff; }
.pcard.t-a       { --c1: #ff7a45; --c2: #ff5cc6; --c3: #9b5cff; }
.pcard.t-t       { --c1: #00d4ff; --c2: #0a76d6; --c3: #2bd4d4; }
.pcard.t-l       { --c1: #06d6a0; --c2: #a3e635; --c3: #fbbf24; }
.pcard.t-r       { --c1: #f43f5e; --c2: #fb923c; --c3: #fbbf24; }
.pcard.t-i       { --c1: #7c3aed; --c2: #d946ef; --c3: #ec4899; }
.pcard.t-c       { --c1: #0ea5e9; --c2: #6366f1; --c3: #a855f7; }
.pcard.t-x       { --c1: #10b981; --c2: #06b6d4; --c3: #3b82f6; }
.pcard.t-f       { --c1: #f97316; --c2: #f43f5e; --c3: #a855f7; }
.pcard-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.pcard-id {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500;
}
.pcard-id .tag {
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11px;
}
.pcard.featured .pcard-id .tag {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
}
.pcard-status {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-3);
  font-size: 11px;
}
.pcard-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 4px #4ade80;
  animation: pulse 1.8s infinite;
}
.pcard-status.live { color: #4ade80; }
.pcard.featured .pcard-status { color: rgba(255,255,255,0.7); }

.pcard h3 {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.pcard.featured h3 {
  font-size: 30px;
  margin: 6px 0 12px;
  max-width: 16ch;
}
.pcard p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.pcard.featured p {
  color: rgba(255,255,255,0.78);
  font-size: 15.5px;
  max-width: 44ch;
}
.pcard-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
}
.pcard.featured .pcard-foot { color: rgba(255,255,255,0.6); }
.pcard .open-arrow {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pcard:hover .open-arrow {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: rotate(-45deg);
}
.pcard.featured .open-arrow {
  border-color: rgba(255,255,255,0.25);
}
.pcard.featured:hover .open-arrow {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* Featured card preview chart */
.featured-preview {
  flex: 1;
  margin-top: 18px;
  position: relative;
  display: flex;
  gap: 18px;
}
.featured-chart {
  flex: 1.6;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px;
  position: relative;
  min-height: 240px;
  overflow: hidden;
}
.featured-chart svg { width: 100%; height: 100%; display: block; }
.featured-chart .axis-row {
  display: flex; justify-content: space-between;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  opacity: 0.55;
  margin-bottom: 8px;
}
.featured-chart .axis-row .filters {
  display: inline-flex; gap: 4px;
}
.featured-chart .axis-row .filters span {
  padding: 1px 6px; border-radius: 3px;
  background: rgba(255,255,255,0.06);
}
.featured-chart .axis-row .filters span.on { background: rgba(255,255,255,0.18); color: #fff; }
.featured-side {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 8px;
}
.fs-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 12px 14px;
}
.fs-card .fs-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
  margin-bottom: 8px;
}
.fs-card .fs-row {
  display: flex; align-items: center; gap: 8px;
  margin: 6px 0;
}
.fs-card .fs-row .rk {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 600;
}
.fs-card .fs-row .rk.r1 { background: #ffd66b; color: #0a2540; }
.fs-card .fs-row .rk.r2 { background: #d4dceb; color: #0a2540; }
.fs-card .fs-row .rk.r3 { background: #f97316; color: #fff; }
.fs-card .fs-row .nm { flex: 1; font-size: 12.5px; font-weight: 500; }
.fs-card .fs-row .vl {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: #6ee7b7;
}

/* ============ PRODUCT STORY · 学院正式产品材料 ============ */
#projects .sec-lede a {
  color: var(--cufe);
  font-weight: 600;
  border-bottom: 1px solid rgba(31, 75, 168, 0.28);
}

.product-foundation {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 40px;
  align-items: center;
  margin-top: 54px;
  padding: 48px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 95% 5%, rgba(72, 204, 255, 0.24), transparent 34%),
    radial-gradient(circle at 10% 100%, rgba(132, 92, 255, 0.24), transparent 38%),
    linear-gradient(135deg, #071a40 0%, #0b3fa9 64%, #1c3df0 100%);
  box-shadow: 0 32px 74px -40px rgba(7, 26, 64, 0.72);
}
.product-foundation-copy,
.product-detail-copy,
.product-more-body,
.product-more-grid > * { min-width: 0; }
.product-kicker,
.product-detail-no,
.product-index-no {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.product-kicker { color: var(--cufe); }
.product-foundation .product-kicker { color: #79e8ff; }
.product-foundation h3 {
  margin: 12px 0 22px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.28;
  font-weight: 600;
}
.product-foundation p,
.product-detail-copy p,
.product-more-body p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.9;
  text-align: justify;
  text-justify: inter-character;
}
.product-foundation p { color: rgba(255,255,255,0.9); }
.product-foundation p:last-child,
.product-detail-copy p:last-child,
.product-more-body p:last-child { margin-bottom: 0; }

.product-figure {
  margin: 0;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fafd;
}
.product-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.product-figure figcaption {
  margin-top: 11px;
  font-family: "Geist Mono", monospace;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--ink-3);
}
.product-foundation-figure {
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.09);
}
.product-foundation-figure figcaption { color: rgba(255,255,255,0.75); }
.product-figure-dark { background: #071329; }

.product-image-trigger {
  display: block; width: 100%; padding: 0; border: 0; border-radius: 12px;
  background: none; cursor: zoom-in;
}
.product-image-trigger:focus-visible { outline: 3px solid var(--cufe); outline-offset: 4px; }
.product-image-hint { display: inline-block; margin-left: 12px; font-family: inherit; font-size: 12px; }
html.product-image-open,
html.product-image-open body { overflow: hidden; }
.product-lightbox {
  width: min(1280px, calc(100vw - 40px)); height: min(900px, calc(100dvh - 40px));
  max-width: none; max-height: none; padding: 0; border: 1px solid var(--line);
  border-radius: 18px; color: var(--ink); background: var(--paper);
  box-shadow: 0 24px 100px rgba(0,0,0,0.3); overflow: hidden;
}
.product-lightbox[open] { display: flex; flex-direction: column; }
.product-lightbox::backdrop { background: rgba(5,12,26,0.76); backdrop-filter: blur(4px); }
.product-lightbox-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex: none; padding: 12px 20px; border-bottom: 1px solid var(--line);
}
.product-lightbox-head h2 { margin: 0; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.5; }
.product-lightbox button {
  min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer;
}
.product-lightbox button:focus-visible,
.product-lightbox-stage:focus-visible { outline: 3px solid var(--cufe); outline-offset: -3px; }
.product-lightbox button:disabled { opacity: 0.35; cursor: default; }
.product-lightbox .product-lightbox-close { flex: none; font-size: 26px; line-height: 1; }
.product-lightbox-stage {
  flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain;
  background: var(--paper-2); -webkit-overflow-scrolling: touch;
}
.product-lightbox-canvas { display: grid; place-items: center; }
.product-lightbox-canvas img { display: block; max-width: none; max-height: none; }
.product-lightbox-controls {
  display: flex; flex: none; align-items: center; justify-content: center; gap: 12px;
  padding: 12px 20px; border-top: 1px solid var(--line);
}
.product-lightbox-controls output { min-width: 52px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.product-lightbox-controls [data-image-zoom="reset"] { font-size: 14px; }
@media (max-width: 820px) {
  .product-lightbox { width: calc(100vw - 24px); height: calc(100dvh - 24px); border-radius: 14px; }
  .product-lightbox-head, .product-lightbox-controls { padding: 10px 12px; gap: 8px; }
}

.product-section-heading {
  max-width: 880px;
  margin: 88px auto 30px;
  text-align: center;
}
.product-section-heading h3 {
  margin: 10px 0 14px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.35;
  font-weight: 600;
}
.product-section-heading p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}

.product-index {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 38px;
}
.product-index-card {
  --accent: #1c3df0;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  min-height: 124px;
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 18px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, #fff), #fff 68%);
  box-shadow: 0 18px 42px -36px rgba(10,37,64,0.44);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.product-index-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  box-shadow: 0 22px 42px -30px color-mix(in srgb, var(--accent) 38%, transparent);
}
.product-index-no {
  grid-row: 1 / 3;
  align-self: start;
  color: var(--accent);
}
.product-index-card strong {
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  line-height: 1.15;
}
.product-index-card small {
  align-self: end;
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.4;
}

.product-tone-a { --accent: #d9467d; }
.product-tone-q { --accent: #0d9f8f; }
.product-tone-x { --accent: #1685c7; }
.product-tone-i { --accent: #7546c8; }
.product-tone-m { --accent: #e2703a; }
.product-tone-l { --accent: #2f8f5b; }
.product-tone-r { --accent: #b94a53; }

.product-detail-list {
  display: grid;
  gap: 28px;
}
.product-detail {
  --accent: #1c3df0;
  scroll-margin-top: 92px;
  overflow: hidden;
  padding: 38px;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-top: 4px solid var(--accent);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 68px -52px rgba(10,37,64,0.45);
}
.product-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 28px;
}
.product-detail-no { color: var(--accent); }
.product-detail-head h3 {
  margin: 7px 0 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  font-weight: 600;
}
.product-detail-domain {
  flex: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  color: var(--accent);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.product-detail-lead {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 32px;
  align-items: start;
}
.product-detail:nth-child(even) .product-detail-lead > .product-figure { order: -1; }
.product-detail-copy p,
.product-more-body p { color: var(--product-text); }

.product-more {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.product-more summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 2px 2px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.product-more summary::-webkit-details-marker { display: none; }
.product-more-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, var(--line));
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.product-more[open] .product-more-icon { transform: rotate(45deg); }
.product-more-body {
  padding-top: 24px;
  animation: product-more-in 0.3s ease both;
}
.product-more-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.product-more-body > .product-figure { margin: 22px 0; }
@keyframes product-more-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-catalog,
.product-back { display: none; }

/* Wide diagrams and long introductions read better with a full-width figure. */
@media (min-width: 1051px) {
  .product-foundation.product-layout-stacked,
  .product-layout-stacked .product-detail-lead { grid-template-columns: minmax(0, 1fr); }
  .product-layout-stacked .product-foundation-copy,
  .product-layout-stacked .product-detail-copy {
    width: 100%; max-width: 960px; margin-inline: auto;
  }
  .product-detail.product-layout-stacked .product-detail-lead > .product-figure { order: initial; }
  .product-layout-stacked .product-figure-medium { width: 100%; max-width: 860px; justify-self: center; }
}

@media (max-width: 1050px) {
  .product-foundation,
  .product-detail-lead,
  .product-more-grid { grid-template-columns: 1fr; }
  .product-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-detail:nth-child(even) .product-detail-lead > .product-figure { order: initial; }
}

@media (max-width: 820px) {
  .product-foundation p,
  .product-detail-copy p,
  .product-more-body p { font-size: 16px; }
}

@media (max-width: 700px) {
  .product-foundation {
    margin-top: 34px;
    padding: 28px 22px;
    gap: 26px;
    border-radius: 22px;
  }
  .product-foundation h3 { font-size: 28px; }
  .product-foundation p,
  .product-detail-copy p,
  .product-more-body p { line-height: 1.82; }
  .product-section-heading {
    margin: 62px 0 24px;
    text-align: left;
  }
  .product-index { grid-template-columns: 1fr; }
  .product-index-card { min-height: 104px; }
  .product-detail {
    padding: 26px 20px;
    border-radius: 20px;
  }
  .product-detail-head {
    display: grid;
    gap: 14px;
    margin-bottom: 22px;
  }
  .product-detail-domain { justify-self: start; }
  .product-detail-lead { gap: 22px; }
  .product-figure { padding: 9px; border-radius: 15px; }
  .product-figure img { border-radius: 9px; }
  .product-more { margin-top: 22px; }
  .product-more summary { padding-top: 18px; }
}

/* ============ RESEARCH GRID ============ */
.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 900px) { .research-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .research-grid { grid-template-columns: 1fr; } }

.rcard {
  background: var(--paper);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 16px;
  transition: background 0.2s;
  min-height: 280px;
}
.rcard:hover { background: var(--paper-2); }
.rcard-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #635bff, #00d4ff);
  display: grid; place-items: center;
  color: #fff;
  margin-bottom: 8px;
}
.rcard-icon svg { width: 22px; height: 22px; }
.rcard h3 { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.rcard p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
.rcard-tags {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 6px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
}
.rcard-tags span {
  padding: 3px 8px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.rcard:nth-child(2) .rcard-icon { background: linear-gradient(135deg, #ff80b5, #ffd66b); }
.rcard:nth-child(3) .rcard-icon { background: linear-gradient(135deg, #00d4ff, #6ee7b7); }
.rcard:nth-child(4) .rcard-icon { background: linear-gradient(135deg, #ffd66b, #ff80b5); }
.rcard:nth-child(5) .rcard-icon { background: linear-gradient(135deg, #6ee7b7, #635bff); }
.rcard:nth-child(6) .rcard-icon { background: linear-gradient(135deg, #ff80b5, #635bff); }

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }
.person { display: flex; flex-direction: column; gap: 14px; }
.person-pic {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #e9f0ff, #f6f9fc);
  border-radius: 14px;
  overflow: hidden; position: relative;
}
.person:nth-child(2) .person-pic { background: linear-gradient(135deg, #fff0f6, #fffbeb); }
.person:nth-child(3) .person-pic { background: linear-gradient(135deg, #ecfeff, #f0fdf4); }
.person:nth-child(4) .person-pic { background: linear-gradient(135deg, #fef3c7, #ffe4e6); }
.person:nth-child(5) .person-pic { background: linear-gradient(135deg, #ede9fe, #ecfeff); }
.person:nth-child(6) .person-pic { background: linear-gradient(135deg, #fce7f3, #ede9fe); }
.person:nth-child(7) .person-pic { background: linear-gradient(135deg, #f0fdf4, #e0f2fe); }
.person:nth-child(8) .person-pic { background: linear-gradient(135deg, #fff7ed, #fef3c7); }
.person-pic::after {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 56px; font-weight: 600;
  color: rgba(10,37,64,0.18);
  font-family: "Noto Serif SC", serif;
}
.person-name { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin: 0; }
.person-role { font-size: 13.5px; color: var(--ink-3); margin: 0; }
.person-role .mono-tag {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  background: var(--paper-2);
  padding: 2px 6px; border-radius: 4px;
  margin-right: 6px;
  color: var(--ink-2);
}

/* ============ PUBLICATIONS ============ */
.pub-list { margin-top: 48px; border-top: 1px solid var(--line); }
.pub {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: padding 0.2s;
}
@media (max-width: 700px) {
  .pub { grid-template-columns: 60px 1fr; }
  .pub-venue { grid-column: 2; }
}
.pub:hover { background: rgba(99,91,255,0.025); padding-left: 12px; padding-right: 12px; }
.pub-year { font-family: "Geist Mono", monospace; font-size: 13px; color: var(--ink-3); padding-top: 4px; }
.pub-body h4 { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.pub-body .authors { font-size: 14px; color: var(--ink-2); margin-bottom: 0; }
.pub-body .authors em { font-style: normal; font-weight: 600; color: var(--ink); }
.pub-venue {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper-2);
  white-space: nowrap;
  justify-self: end;
}

/* ============ JOIN ============ */
.join-section { padding: 60px 0 0; }
.join {
  background: linear-gradient(135deg, #0a2540 0%, #1d2a72 60%, #5b3df5 100%);
  color: #fff;
  border-radius: 28px;
  padding: 80px 64px;
  margin: 60px auto 120px;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.join::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(255,184,224,0.5), transparent),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(0,212,255,0.5), transparent);
  z-index: -1;
  animation: drift 24s ease-in-out infinite alternate;
}
.join-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px; align-items: center;
}
@media (max-width: 800px) {
  .join-grid { grid-template-columns: 1fr; }
  .join { padding: 56px 32px; }
}
.join h2 {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600; letter-spacing: -0.025em;
  line-height: 1.05; margin: 0 0 20px;
}
.join p {
  font-size: 17px; color: rgba(255,255,255,0.82);
  max-width: 480px; margin: 0 0 28px; line-height: 1.6;
}
.join-positions { display: grid; gap: 10px; }
.position {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  font-size: 15px;
  transition: background 0.2s;
  cursor: pointer;
}
.position:hover { background: rgba(255,255,255,0.16); }
.position .role { font-weight: 500; }
.position .meta {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.position .arrow { font-size: 18px; opacity: 0.6; transition: transform 0.2s; }
.position:hover .arrow { transform: translateX(4px); opacity: 1; }

/* ============ FOOTER ============ */
footer {
  position: relative;
  padding: 96px 0 32px;
  background: linear-gradient(180deg, #0a2540 0%, #050c1a 100%);  /* 深色 band */
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}
/* Hero 辉光的镜像（移到左下），让首尾两块深色互相呼应 */
footer::before {
  content: "";
  position: absolute;
  left: -180px; bottom: -300px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(110,229,255,0.10) 0%, rgba(28,61,240,0.05) 42%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
/* 页脚顶部「波浪海岸线」分隔：与 Hero 底部镜像对称，白色 News 以波形探入深色页脚 */
.foot-divider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 92px;
  z-index: 0;
  pointer-events: none;
}
.foot-divider .wave-fill { fill: #ffffff; }
.foot-divider .wave-line { fill: none; stroke: rgba(110, 229, 255, 0.42); stroke-width: 1.5; }
footer .container { position: relative; z-index: 1; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  margin-bottom: 28px;
}
/* 联系列整体靠右，文字仍左对齐 */
.foot-grid .foot-col:last-child { justify-self: end; text-align: left; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-brand { font-weight: 600; font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 12px; }
.foot-desc { color: var(--ink-2); font-size: 14px; line-height: 1.6; max-width: 320px; }
.foot-col h5 {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45); font-weight: 600;
  margin: 0 0 10px;
}
.foot-col a { display: block; padding: 4px 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.foot-col a:hover { color: var(--accent-2); }
.foot-links-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.foot-bottom .mono { font-family: "Geist Mono", monospace; font-size: 12px; }

/* ============ Q-SECTION (dedicated CUFEL-Q showcase) ============ */
.q-section {
  background: #050c1a;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.q-section::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 60% at 100% 0%, rgba(139,124,255,0.25), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(43,212,212,0.18), transparent 60%);
}
.q-section .sec-eyebrow { color: #2bd4d4; }
.q-section .sec-title em {
  background: linear-gradient(90deg, #8b7cff 0%, #2bd4d4 60%, #ff80b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.q-section .sec-lede { color: rgba(255,255,255,0.7); }
.q-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.q-grid > * { min-width: 0; }
@media (max-width: 980px) { .q-grid { grid-template-columns: minmax(0, 1fr); } }

.q-chart-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 22px 24px;
  min-width: 0;
  overflow: hidden;
}
.q-chart-card .q-ticker,
.q-chart-card .ticker { max-width: 100%; min-width: 0; }
.q-chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.q-chart-head .q-filters { display: inline-flex; gap: 4px; }
.q-chart-head .q-filters span {
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
}
.q-chart-head .q-filters span.on {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.q-chart-svg-wrap {
  height: 360px;
  position: relative;
}
.q-chart-svg-wrap svg { width: 100%; height: 100%; display: block; }
.q-chart-axis {
  position: absolute; left: -8px; top: 0; bottom: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  font-family: "Geist Mono", monospace;
  font-size: 9px;
  opacity: 0.5;
  pointer-events: none;
}
/* HTML endpoint labels — overlay the right edge of the stretched SVG */
.q-endlabels {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  pointer-events: none;
}
.q-endlabels .endlabel {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  font-weight: 500;
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.q-chart-svg-wrap .endlabel-legacy {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 500;
}

.q-side {
  display: flex; flex-direction: column; gap: 12px;
  color: rgba(255,255,255,0.9);
}
.q-side-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px 20px;
  color: #fff;
}
.q-side-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.6;
  margin-bottom: 12px;
}
.q-side-card h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}
.q-side-card p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}
.q-side-card .q-list {
  display: grid; gap: 10px;
  margin: 0; padding: 0;
  list-style: none;
}
.q-side-card .q-list li {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.q-side-card .q-list .rk {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.q-side-card .q-list .rk.r1 { background: #ffd66b; color: #050c1a; }
.q-side-card .q-list .rk.r2 { background: #d4dceb; color: #050c1a; }
.q-side-card .q-list .rk.r3 { background: #f97316; color: #fff; }
.q-side-card .q-list .nm { font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.q-side-card .q-list .nm .sw { width: 6px; height: 6px; border-radius: 2px; }
.q-side-card .q-list .vl {
  font-family: "Geist Mono", monospace;
  font-size: 11.5px;
  color: #6ee7b7;
}
.q-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 24px;
}
.q-actions .btn-ghost {
  border-color: rgba(255,255,255,0.25);
  font-size: 13px;
  padding: 9px 16px;
}

/* ============ NEWS / PLACEHOLDER SECTION ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 1100px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 650px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s, transform 0.2s;
  min-height: 220px;
}
.news-card:hover { background: var(--paper-2); transform: translateY(-2px); border-color: rgba(99, 91, 255, 0.35); }
.news-date {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: var(--ink-3);
  display: flex; gap: 8px; align-items: center;
}
.news-date .cat {
  background: rgba(99, 91, 255, 0.08);
  border: 1px solid rgba(99, 91, 255, 0.22);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.news-card h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}
.news-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}
.news-card .news-more {
  margin-top: auto;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}
.news-card--notice {
  background:
    radial-gradient(circle at 100% 0%, rgba(43, 212, 212, 0.14), transparent 44%),
    linear-gradient(145deg, rgba(99, 91, 255, 0.09), rgba(255, 255, 255, 0.96));
  border-color: rgba(99, 91, 255, 0.35);
  box-shadow: 0 18px 48px rgba(28, 61, 240, 0.08);
}
.news-card--notice .news-date .cat {
  color: #fff;
  background: linear-gradient(135deg, #1c3df0, #635bff);
  border-color: transparent;
}

/* ============ NOTICE DETAIL ============ */
.notice-section {
  min-height: 100%;
  padding: 116px 0 96px;
  background:
    radial-gradient(circle at 86% 8%, rgba(43, 212, 212, 0.11), transparent 30%),
    linear-gradient(180deg, #f7f9ff 0%, var(--paper) 42%, #f4f7fc 100%);
  scroll-margin-top: 72px;
}
.notice-container { max-width: 1180px; }
.notice-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
}
.notice-back::before {
  content: "←";
  color: var(--accent);
  transition: transform 0.2s ease;
}
.notice-back:hover { color: var(--accent); }
.notice-back:hover::before { transform: translateX(-3px); }

.notice-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 52px 56px 46px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 4%, rgba(43, 212, 212, 0.28), transparent 34%),
    radial-gradient(circle at 8% 100%, rgba(99, 91, 255, 0.3), transparent 40%),
    linear-gradient(135deg, #07162f 0%, #102f75 58%, #173c91 100%);
  box-shadow: 0 28px 70px rgba(7, 22, 47, 0.2);
}
.notice-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  right: -150px;
  bottom: -210px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,0.035), 0 0 0 96px rgba(255,255,255,0.025);
}
.notice-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.notice-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(110, 231, 183, 0.38);
  border-radius: 6px;
  color: #91f5d2;
  background: rgba(110, 231, 183, 0.08);
}
.notice-published { color: rgba(255, 255, 255, 0.55); }
.notice-hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.12;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.notice-subtitle {
  max-width: 840px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.88);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(19px, 2.2vw, 28px);
  line-height: 1.55;
  font-weight: 500;
}
.notice-lead {
  max-width: 760px;
  margin: 20px 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.8;
}
.notice-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
}
.notice-fact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 18px 20px;
  background: rgba(3, 14, 36, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.notice-fact span {
  color: rgba(255,255,255,0.55);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.notice-fact strong {
  color: #fff;
  font-family: "Geist Mono", monospace;
  font-size: 15px;
  font-weight: 500;
}

.notice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  margin-top: 32px;
}
.notice-article {
  padding: 46px 50px 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(23, 45, 86, 0.06);
}
.notice-block { padding: 0; }
.notice-block + .notice-block {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.notice-block h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  font-size: 25px;
  line-height: 1.35;
  font-weight: 650;
}
.notice-block h2 > span {
  color: var(--accent);
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.notice-block p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.95;
  text-align: justify;
}
.notice-block > p + p { margin-top: 16px; }
.notice-timeline {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.notice-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 26px;
}
.notice-timeline li:last-child { padding-bottom: 0; }
.notice-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 34px;
  bottom: 4px;
  left: 21px;
  width: 1px;
  background: linear-gradient(var(--accent), rgba(99,91,255,0.12));
}
.notice-step {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 32px;
  border: 1px solid rgba(99,91,255,0.25);
  border-radius: 999px;
  color: var(--accent);
  background: #f3f2ff;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}
.notice-timeline strong {
  display: block;
  margin: 3px 0 7px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}
.notice-timeline p { font-size: 15px; line-height: 1.8; }
.notice-support {
  padding: 30px;
  border: 1px solid rgba(28, 61, 240, 0.14) !important;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(28,61,240,0.055), rgba(43,212,212,0.055));
}
.notice-signature {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-align: right;
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
}

.notice-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}
.notice-apply-card,
.notice-contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(23, 45, 86, 0.07);
}
.notice-apply-card { padding: 26px; }
.notice-apply-label {
  color: var(--accent);
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.notice-apply-card h2 {
  margin: 10px 0 20px;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 650;
}
.notice-qr-wrap {
  display: grid;
  place-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.notice-qr-wrap img {
  display: block;
  width: min(100%, 246px);
  height: auto;
}
.notice-apply-card > p {
  margin: 18px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.7;
}
.notice-apply-card > p strong { color: var(--ink); font-weight: 600; }
.notice-contact-card {
  padding: 20px 22px;
  overflow-wrap: anywhere;
}
.notice-contact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-3);
  font-size: 12px;
}
.notice-contact-card a {
  color: var(--accent);
  font-family: "Geist Mono", monospace;
  font-size: 13px;
}

@media (max-width: 900px) {
  .notice-section { padding: 92px 0 72px; }
  .notice-hero { padding: 42px 36px 36px; }
  .notice-layout { grid-template-columns: 1fr; }
  .notice-sidebar {
    position: static;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    order: -1;
  }
  .notice-article { padding: 38px 36px 34px; }
}
@media (max-width: 600px) {
  .notice-section { padding: 82px 0 56px; }
  .notice-back { margin-bottom: 18px; }
  .notice-hero { padding: 32px 22px 24px; border-radius: 20px; }
  .notice-kicker-row { align-items: flex-start; margin-bottom: 22px; }
  .notice-hero h1 { font-size: clamp(36px, 12vw, 50px); }
  .notice-subtitle { font-size: 18px; }
  .notice-facts { grid-template-columns: 1fr; margin-top: 28px; }
  .notice-fact { padding: 14px 16px; }
  .notice-layout { margin-top: 20px; }
  .notice-sidebar { grid-template-columns: 1fr; }
  .notice-apply-card { padding: 22px; }
  .notice-article { padding: 30px 22px; border-radius: 18px; }
  .notice-block + .notice-block { margin-top: 34px; padding-top: 34px; }
  .notice-block h2 { font-size: 22px; }
  .notice-block p { text-align: left; line-height: 1.85; }
  .notice-support { padding: 22px; }
}
.placeholder-note {
  margin-top: 28px;
  padding: 14px 18px;
  background: rgba(99,91,255,0.06);
  border: 1px dashed rgba(99,91,255,0.3);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 10px;
}
.placeholder-note .tag {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  background: rgba(99,91,255,0.15);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ============ ID CARD (lightweight hero right) ============ */
.id-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 80px -20px rgba(8, 16, 56, 0.5);
  display: flex; flex-direction: column;
  gap: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transform: perspective(1200px);
  transition: transform 0.4s ease;
  will-change: transform;
}
.id-mark {
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #6ee5ff, #4f7dff, #1c3df0, #6ee5ff);
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}
.id-meta { position: relative; z-index: 1; }
.id-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.id-affil {
  display: grid;
  gap: 12px;
  align-items: center;
}
.id-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}
.id-shield {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.id-shield.cufe {
  background: linear-gradient(135deg, #062152 0%, #1c3df0 100%);
  border-color: rgba(255,255,255,0.12);
}
.id-shield.buaa {
  background: linear-gradient(135deg, #0a76d6 0%, #2bd4d4 100%);
  border-color: rgba(255,255,255,0.12);
}
.id-affil-name {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.id-affil-name em {
  font-style: normal;
  font-family: "Geist", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.id-cross {
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-align: center;
  letter-spacing: 0.1em;
  padding-left: 24px;
}
.id-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}
.id-stat { display: flex; flex-direction: column; gap: 4px; }
.id-stat .num {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: "tnum";
  background: linear-gradient(135deg, #fff 0%, #6ee5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.id-stat .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.04em;
}

/* ============ ABOUT SECTION + ARCHITECTURE DIAGRAM ============ */
  /* background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 80px -20px rgba(8, 16, 56, 0.5);
  display: flex; flex-direction: column;
  gap: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transform: perspective(1200px);
  transition: transform 0.4s ease;
  will-change: transform;
} */
/* .id-mark {
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #6ee5ff, #4f7dff, #1c3df0, #6ee5ff);
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
}
.id-meta { position: relative; z-index: 1; }
.id-label {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.id-affil {
  display: grid;
  gap: 12px;
  align-items: center;
}
.id-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: center;
}
.id-shield {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
}
.id-shield.cufe {
  background: linear-gradient(135deg, #062152 0%, #1c3df0 100%);
  border-color: rgba(255,255,255,0.12);
}
.id-shield.buaa {
  background: linear-gradient(135deg, #0a76d6 0%, #2bd4d4 100%);
  border-color: rgba(255,255,255,0.12);
}
.id-affil-name {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.id-affil-name em {
  font-style: normal;
  font-family: "Geist", sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.id-cross {
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-align: center;
  letter-spacing: 0.1em;
  padding-left: 24px;
}
.id-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 1;
}
.id-stat { display: flex; flex-direction: column; gap: 4px; }
.id-stat .num {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-feature-settings: "tnum";
  background: linear-gradient(135deg, #fff 0%, #6ee5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.id-stat .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-family: "Geist Mono", monospace;
  letter-spacing: 0.04em;
} */
.about-section {
  padding: 100px 0 48px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.arch {
  margin: 20px 0 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 24px 48px -24px rgba(10, 37, 64, 0.08);
}

/* ============ ABOUT STORY (院网简介 · 官方图片图文叙事) ============ */
.about-story {
  margin: 36px 0 32px;
  display: grid;
  gap: 28px;
}

.about-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(76, 207, 255, 0.18), transparent 34%),
    linear-gradient(135deg, #071a40 0%, #0b3fa9 68%, #1c3df0 100%);
  box-shadow: 0 30px 70px -38px rgba(7, 26, 64, 0.72);
}

.about-media {
  position: relative;
  margin: 0;
  padding: 20px;
  min-width: 0;
}
.about-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 44px -28px rgba(7, 26, 64, 0.64);
}
.about-media figcaption {
  margin-top: 12px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.about-feature-media { padding: 28px; }
.about-feature-media figcaption { color: rgba(255,255,255,0.58); }

.about-feature-copy {
  padding: 52px 54px 52px 30px;
  color: #fff;
}
.about-block-kicker,
.about-lab-index {
  display: block;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cufe);
}
.about-feature .about-block-kicker { color: #6ee5ff; }
.about-feature h3,
.about-labs-heading h3,
.about-lab-copy h3 {
  margin: 10px 0 18px;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(25px, 2.2vw, 34px);
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
}
.about-feature h3 { color: #fff; }

.about-copy {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--ink-2);
  text-align: justify;
  text-justify: inter-character;
}
.about-copy strong { font-weight: 650; color: var(--cufe); }
.about-feature .about-copy { color: rgba(255,255,255,0.82); }
.about-feature .about-copy strong { color: #8eeaff; }

.about-significance,
.about-closing {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 32px 38px;
  border: 1px solid #d9e4f4;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fafd 0%, #eef3fb 100%);
}
.about-significance .about-copy,
.about-closing .about-copy {
  color: var(--ink);
  font-size: 17px;
}

.about-labs-heading {
  max-width: 980px;
  margin: 54px auto 6px;
  text-align: center;
}
.about-labs-heading h3 { margin-bottom: 14px; }
.about-labs-heading .about-copy { text-align: center; }

.about-lab-list {
  display: grid;
  gap: 26px;
}
.about-lab {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 58px -42px rgba(10, 37, 64, 0.34);
}
.about-lab-media {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #edf3fb 0%, #f8fafd 100%);
}
.about-lab-copy { padding: 44px 48px; }
.about-lab-copy h3 {
  margin-top: 8px;
  font-size: clamp(23px, 1.8vw, 30px);
}
.about-lab--reverse .about-lab-media { order: 2; }
.about-lab--reverse .about-lab-copy { order: 1; }

.about-closing {
  margin-top: 26px;
  border-color: rgba(31, 75, 168, 0.2);
  background:
    linear-gradient(90deg, rgba(31,75,168,0.08), rgba(76,207,255,0.06)),
    #fff;
}

@media (max-width: 1050px) {
  .about-feature,
  .about-lab { grid-template-columns: 1fr; }
  .about-feature-copy { padding: 34px 40px 44px; }
  .about-lab--reverse .about-lab-media,
  .about-lab--reverse .about-lab-copy { order: initial; }
}

@media (max-width: 800px) {
  .about-story { margin-top: 26px; gap: 20px; }
  .about-feature,
  .about-lab { border-radius: 20px; }
  .about-media,
  .about-feature-media,
  .about-lab-media { padding: 14px; }
  .about-media img { border-radius: 13px; }
  .about-feature-copy,
  .about-lab-copy { padding: 28px 22px 32px; }
  .about-copy { font-size: 15px; line-height: 1.85; }
  .about-significance,
  .about-closing {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 26px 22px;
    border-radius: 18px;
  }
  .about-significance .about-copy,
  .about-closing .about-copy { font-size: 15px; }
  .about-labs-heading { margin-top: 36px; text-align: left; }
  .about-labs-heading .about-copy { text-align: justify; }
}

/* ============ ARCHITECTURE (product house) ============ */
.arch-house {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

/* Decorative roof ridge (triangle) */
.arch-ridge {
  height: 26px;
  width: 56%;
  margin: 0 auto -8px;
  background: linear-gradient(180deg, #0b1f6e 0%, #1c3df0 100%);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

/* Roof band: L1 Strategic Outcomes */
.arch-roof {
  background: linear-gradient(135deg, #0b1f6e 0%, #0b3fa9 50%, #1c3df0 100%);
  color: #fff;
  border-radius: 16px;
  padding: 16px 22px 18px;
  position: relative;
  box-shadow: 0 18px 40px -28px rgba(11, 31, 110, 0.6);
}
.arch-roof-head {
  display: flex; align-items: baseline; justify-content: center;
  gap: 14px; flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 14px;
}
.arch-lnum-light {
  font-family: "Geist Mono", monospace;
  font-size: 11px; color: #6ee5ff;
  font-weight: 600; letter-spacing: 0.10em;
}
.arch-roof-title {
  font-family: "Noto Serif SC", serif;
  font-size: 16px; font-weight: 600;
  letter-spacing: 0.04em;
}
.arch-roof-cells {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.arch-roof-cell {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 10px 12px;
  text-align: center;
  font-size: 13px; font-weight: 500;
  line-height: 1.4;
}

/* Pillars: 4 missions */
.arch-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 800px) {
  .arch-pillars,
  .arch-roof-cells { grid-template-columns: repeat(2, 1fr); }
}
.arch-pillar {
  display: flex; flex-direction: column;
  gap: 8px;
  position: relative;
}
.arch-pillar-cap {
  background: linear-gradient(135deg, #1c3df0 0%, #4f7dff 100%);
  color: #fff;
  padding: 14px 14px;
  border-radius: 12px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  gap: 4px;
}
.arch-pillar.p2 .arch-pillar-cap { background: linear-gradient(135deg, #0a76d6 0%, #2bd4d4 100%); }
.arch-pillar.p3 .arch-pillar-cap { background: linear-gradient(135deg, #0b3fa9 0%, #5b6cff 100%); }
.arch-pillar.p4 .arch-pillar-cap { background: linear-gradient(135deg, #062152 0%, #1c3df0 100%); }
.arch-pillar-cap .arch-mnum {
  font-family: "Geist Mono", monospace;
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}
.arch-pillar-cap .arch-mname {
  font-family: "Noto Serif SC", serif;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.arch-pillar-block {
  border-radius: 12px;
  padding: 12px 14px 14px;
  display: flex; flex-direction: column;
  gap: 4px;
  font-size: 13px; font-weight: 500;
  line-height: 1.45;
  border: 1px solid;
  flex: 1;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.arch-pillar-block.l2 { background: #eef3fb; border-color: #d8e3f3; }
.arch-pillar-block.l3 { background: #f6f9fc; border-color: #e5e9f0; }
.arch-pillar-block:hover {
  background: #fff;
  border-color: #1c3df0;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(28, 61, 240, 0.2);
}
.arch-tier {
  font-family: "Geist Mono", monospace;
  font-size: 12.5px; color: #1c3df0;
  font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.arch-pillar-line {
  position: relative;
  padding-left: 12px;
  color: var(--ink);
}
.arch-pillar-line::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  background: #1c3df0;
  border-radius: 50%;
}

/* Ground line below foundation */
.arch-ground {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(28, 61, 240, 0.35) 18%, rgba(28, 61, 240, 0.35) 82%, transparent);
  margin: 4px 32px 0;
}

.arch-meta { margin-bottom: 24px; }
.arch-tag-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.arch-tag {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  font-weight: 500;
}
.arch-summary {
  font-family: "Noto Serif SC", serif;
  font-size: 18px;
  font-weight: 600;
  color: #1c3df0;
  letter-spacing: 0.04em;
}

.arch-matrix {
  display: grid;
  grid-template-columns: 110px repeat(4, 1fr);
  gap: 8px;
}
@media (max-width: 900px) {
  .arch-matrix { grid-template-columns: 80px repeat(4, 1fr); font-size: 11px; }
}

/* Top-left corner */
.arch-corner {
  background: linear-gradient(135deg, #0b1f6e, #1c3df0);
  color: #fff;
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  gap: 4px;
}
.arch-corner-tag {
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.arch-corner-sub {
  font-family: "Geist Mono", monospace;
  font-size: 10px;
  opacity: 0.7;
  letter-spacing: 0.06em;
}

/* Mission column headers */
.arch-mission {
  background: linear-gradient(135deg, #1c3df0 0%, #4f7dff 100%);
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  overflow: hidden;
}
.arch-mission.m2 { background: linear-gradient(135deg, #0a76d6 0%, #2bd4d4 100%); }
.arch-mission.m3 { background: linear-gradient(135deg, #0b3fa9 0%, #5b6cff 100%); }
.arch-mission.m4 { background: linear-gradient(135deg, #062152 0%, #1c3df0 100%); }
.arch-mnum {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  opacity: 0.85;
  letter-spacing: 0.1em;
  font-weight: 500;
  text-transform: uppercase;
}
.arch-mname {
  font-family: "Noto Serif SC", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

/* Layer row labels (left column) */
.arch-layer {
  background: #eef3fb;
  border: 1px solid #d8e3f3;
  border-radius: 12px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 6px;
  padding: 14px 8px;
  text-align: center;
}
.arch-lnum {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: #1c3df0;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.arch-lname {
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1.25;
  writing-mode: vertical-rl;
  text-orientation: upright;
}
@media (max-width: 900px) {
  .arch-lname { font-size: 12px; }
}

/* Matrix cells */
.arch-cell {
  background: #f6f9fc;
  border: 1px solid #e5e9f0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.45;
  display: flex; flex-direction: column;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  min-height: 64px;
}
.arch-cell:hover {
  background: #fff;
  border-color: #1c3df0;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -10px rgba(28, 61, 240, 0.2);
}
.arch-cell > div {
  position: relative;
  padding-left: 12px;
}
.arch-cell > div::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 4px; height: 4px;
  background: #1c3df0;
  border-radius: 50%;
}

/* Foundation row (full-width) */
.arch-foundation {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #062152 0%, #0b3fa9 50%, #1c3df0 100%);
  color: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 8px;
}
@media (max-width: 700px) {
  .arch-foundation { grid-template-columns: 1fr; gap: 16px; }
}
.arch-foundation-label {
  display: flex; flex-direction: column; gap: 6px;
}
.arch-foundation-label .arch-lnum { color: #6ee5ff; }
.arch-foundation-label .arch-lname {
  writing-mode: horizontal-tb;
  font-size: 22px;
  color: #fff;
}
.arch-fdesc {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
}
.arch-foundation-cells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 700px) {
  .arch-foundation-cells { grid-template-columns: 1fr; }
}
.arch-foundation-cell {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

/* ============ LEADERSHIP (管理机构) ============ */
.leadership {
  padding: 100px 0 48px;
  background: #fff;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 800px) { .lead-grid { grid-template-columns: 1fr; } }

.lead-card {
  position: relative;
  background: linear-gradient(135deg, #fff 0%, #f6f9fc 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lead-card:hover {
  border-color: #c0d2ed;
  box-shadow: 0 24px 48px -16px rgba(10,37,64,0.10);
}
.lead-card.director {
  background: linear-gradient(135deg, #062152 0%, #0b3fa9 60%, #1c3df0 100%);
  color: #fff;
  border-color: transparent;
}
.lead-avatar {
  width: 120px; height: 150px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e2eaf7 0%, #f6f9fc 100%);
  display: grid; place-items: center;
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  font-weight: 600;
  color: rgba(10,37,64,0.25);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.lead-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.lead-card.director .lead-avatar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.4);
}
.lead-info { display: flex; flex-direction: column; gap: 10px; }
.lead-role-row {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.lead-card.director .lead-role-row { color: rgba(255,255,255,0.6); }
.lead-role-tag {
  background: #f0f4fb;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  color: #1c3df0;
  white-space: nowrap;
}
.lead-card.director .lead-role-tag {
  background: rgba(255,255,255,0.18);
  color: #6ee5ff;
}
.lead-name {
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}
.lead-titles {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}
.lead-card.director .lead-titles { color: rgba(255,255,255,0.82); }
.lead-titles li { margin: 2px 0; }
.lead-card.director .lead-titles li::marker { color: rgba(255,255,255,0.4); }
.lead-honor {
  display: inline-flex; flex-wrap: wrap; gap: 6px;
  margin-top: 4px;
}
.lead-honor span {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: #f0f4fb;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.lead-card.director .lead-honor span {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}
.lead-affil-stripe {
  margin-top: 32px;
  padding: 20px 24px;
  background: #f6f9fc;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center; gap: 24px;
  font-size: 14px;
  color: var(--ink-2);
}
.lead-affil-stripe strong { color: var(--ink); font-weight: 600; }
.lead-affil-stripe .sep {
  width: 1px; height: 20px;
  background: var(--line);
}

/* ============ TEAM TIERS ============ */
.team-section { padding: 120px 0; background: var(--paper-2); }

/* Lightweight sub-label inside the team screen (directors / research team) */
.team-leads-label {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
}
.team-leads-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
/* tighten the gap between the sub-label and the director cards / placeholder */
.team-section .team-leads-label + .lead-grid { margin-top: 20px; }
.team-section .team-leads-label + .coming-soon { margin-top: 24px; }

.team-tabs {
  display: flex;
  gap: 4px;
  margin-top: 40px;
  margin-bottom: 32px;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
.team-tab {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  border: 0;
  background: transparent;
  font-family: inherit;
}
.team-tab:hover { color: var(--ink); }
.team-tab.active {
  background: linear-gradient(135deg, #1c3df0, #4f7dff);
  color: #fff;
}
.team-tab .count {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  margin-left: 8px;
  opacity: 0.7;
}

.team-tier { display: none; }
.team-tier.active { display: block; }

/* ============ PARTNERS (对外合作) ============ */
.partners-section { padding: 120px 0; background: #fff; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }

.partner-card {
  background: #f6f9fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 130px;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}
.partner-card:hover {
  background: #fff;
  border-color: #c0d2ed;
  transform: translateY(-2px);
}
.partner-type {
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1c3df0;
  font-weight: 600;
}
.partner-name {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.partner-meta {
  margin-top: auto;
  font-size: 12px;
  color: var(--ink-3);
}
.partner-card.placeholder {
  border-style: dashed;
  background: transparent;
}
.partner-card.placeholder .partner-name { color: var(--ink-3); }

/* ============ ALUMNI (毕业生去向) ============ */
.alumni-section {
  padding: 120px 0;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.alumni-cohort {
  margin-top: 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.alumni-cohort-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.alumni-cohort-title {
  display: flex; align-items: center; gap: 12px;
}
.alumni-cohort-title h3 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
  font-weight: 600;
}
.alumni-cohort-title .year-pill {
  background: linear-gradient(135deg, #1c3df0, #4f7dff);
  color: #fff;
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.alumni-cohort-summary {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.alumni-cohort-summary strong { color: var(--ink); font-weight: 600; }

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .alumni-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .alumni-grid { grid-template-columns: 1fr; } }

.alum-card {
  background: #f6f9fc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.alum-card:hover {
  transform: translateY(-2px);
  border-color: #c0d2ed;
  background: #fff;
}
.alum-card.phd { border-top: 3px solid #1c3df0; }
.alum-card.master { border-top: 3px solid #2bd4d4; }
.alum-card.bachelor { border-top: 3px solid #4f7dff; }
.alum-degree-row {
  display: flex; align-items: center; justify-content: space-between;
  font-family: "Geist Mono", monospace;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.alum-degree-tag {
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}
.alum-card.phd .alum-degree-tag { background: rgba(28,61,240,0.1); color: #1c3df0; }
.alum-card.master .alum-degree-tag { background: rgba(43,212,212,0.15); color: #0a76d6; }
.alum-card.bachelor .alum-degree-tag { background: rgba(79,125,255,0.12); color: #4f7dff; }
.alum-card.placeholder {
  border-style: dashed;
  background: transparent;
}
.alum-direction {
  font-family: "Noto Serif SC", serif;
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0 0;
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.alum-destination {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.55;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}
.alum-destination strong {
  color: var(--ink);
  font-weight: 600;
  display: block;
  font-family: "Noto Serif SC", serif;
  margin-bottom: 4px;
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ HERO UNI STRIP (二级引导) ============ */
.uni-strip {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  background: rgba(0, 8, 28, 0.42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.uni-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 12px;
  color: rgba(255,255,255,0.8);
}
.uni-strip-label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.45);
  margin-right: auto;
}
.uni-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.uni-strip-link:hover { opacity: 1; }
.uni-strip-mark {
  height: 22px;
  width: auto;
  display: block;
  /* Force the navy wordmarks to read as white on the dark hero */
  filter: brightness(0) invert(1) opacity(0.92);
}
.uni-strip-link:hover .uni-strip-mark {
  filter: brightness(0) invert(1) opacity(1);
}
.uni-strip-arr {
  display: inline-block;
  opacity: 0.55;
  font-size: 11px;
  transition: transform 0.2s, opacity 0.2s;
}
.uni-strip-link:hover .uni-strip-arr {
  opacity: 1;
  transform: translate(2px, -2px);
}
.uni-strip-sep {
  color: rgba(255,255,255,0.22);
  font-size: 11px;
  font-family: 'Geist Mono', monospace;
}

@media (max-width: 720px) {
  .uni-strip-label { display: none; }
  .uni-strip-inner { padding: 10px 20px; gap: 14px; flex-wrap: wrap; }
  .uni-strip-mark { height: 18px; }
}

/* ============ LEADERSHIP GRID VARIANTS ============ */
.lead-grid--deputies {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
}
@media (max-width: 980px) { .lead-grid--deputies { grid-template-columns: 1fr 1fr; } }
@media (max-width: 800px) { .lead-grid--deputies { grid-template-columns: 1fr; } }

/* ── 各区块标题区：等宽双栏，左右权重均衡 ── */
#about .head-grid,
#leadership .head-grid,
#projects .head-grid,
#team .head-grid,
#results .head-grid,
#partners .head-grid,
#alumni .head-grid,
#news .head-grid { align-items: start; }
#team .head-grid { align-items: center; }

#about .sec-title,
#leadership .sec-title,
#projects .sec-title,
#team .sec-title,
#results .sec-title,
#partners .sec-title,
#alumni .sec-title,
#news .sec-title {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.3;
  margin: 8px 0 0;
}

#about .sec-lede,
#leadership .sec-lede,
#projects .sec-lede,
#team .sec-lede,
#results .sec-lede,
#partners .sec-lede,
#alumni .sec-lede,
#news .sec-lede {
  font-size: 21px;
  line-height: 1.7;
  max-width: none;
}

/* ── News 标题区：左标题放大、左右两列垂直居中，使左右更协调 ── */
#news .head-grid { align-items: center; }
#news .sec-title {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  margin: 0;
}

/* ── 产品矩阵卡片：每个产品独立柔和渐变 ── */
.pcard.t-flagship { background: linear-gradient(135deg, #eef0ff 0%, #e3f5fc 100%); border-color: rgba(99,91,255,0.22); }
.pcard.t-flagship .pcard-id .tag { background: linear-gradient(135deg, #635bff, #00d4ff); color: #fff; border-color: transparent; }
.pcard.t-q { background: linear-gradient(135deg, #f5f1ff 0%, #ebf9ff 100%); border-color: rgba(139,124,255,0.22); }
.pcard.t-a { background: linear-gradient(135deg, #fff8ec 0%, #fff0e8 100%); border-color: rgba(255,138,61,0.22); }
.pcard.t-t { background: linear-gradient(135deg, #ecf6ff 0%, #e8f9fa 100%); border-color: rgba(43,212,212,0.22); }
.pcard.t-l { background: linear-gradient(135deg, #ecf9f1 0%, #ebf6f8 100%); border-color: rgba(34,197,94,0.22); }
.pcard.t-r { background: linear-gradient(135deg, #eef2ff 0%, #ecf5ff 100%); border-color: rgba(31,75,168,0.22); }
.pcard.t-i { background: linear-gradient(135deg, #fff1eb 0%, #ffece8 100%); border-color: rgba(255,128,76,0.22); }
.pcard.t-c { background: linear-gradient(135deg, #f3effd 0%, #edf2ff 100%); border-color: rgba(124,84,255,0.22); }
.pcard.t-g { background: linear-gradient(135deg, #ffeef3 0%, #fff0f6 100%); border-color: rgba(230,51,110,0.22); }
.pcard.t-m { background: linear-gradient(135deg, #effaf2 0%, #ebf9f7 100%); border-color: rgba(34,197,94,0.18); }
.pcard.t-x { background: linear-gradient(135deg, #ecfdf5 0%, #eef6ff 100%); border-color: rgba(16,185,129,0.22); }
.pcard.t-f { background: linear-gradient(135deg, #fff2ec 0%, #fdeef5 100%); border-color: rgba(249,115,22,0.22); }

/* ============ Mobile nav (hamburger) — only ≤820px; desktop untouched ============ */
.nav-toggle { display: none; }
.nav-only-mobile { display: none; }
@media (max-width: 820px) {
  .nav-inner { padding: 14px 18px; }
  .nav-cta { display: none; }

  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 42px; height: 42px; padding: 10px; margin-left: 12px;
    flex: none; background: transparent; border: 0; cursor: pointer; color: inherit;
  }
  .nav-toggle span {
    display: block; width: 22px; height: 2px; background: currentColor;
    border-radius: 2px; transition: transform .3s ease, opacity .2s ease;
  }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: #0a2540;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4px 0;
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .35s ease, opacity .25s ease;
  }
  .nav.menu-open .nav-links { max-height: 85vh; opacity: 1; pointer-events: auto; }
  .nav-links a {
    display: block; padding: 15px 24px; font-size: 16px; opacity: 0.92;
    color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a[aria-current="page"] {
    color: #6ee5ff; background: rgba(255, 255, 255, 0.08); font-weight: 600;
  }
  .nav-only-mobile { display: block; }
  #news, #contact { scroll-margin-top: 80px; }
}

/* ============ Mobile filmstrips — only ≤820px; desktop untouched ============ */
@media (max-width: 820px) {
  /* 产品矩阵:行内 style 需 !important 覆盖 */
  .projects-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    gap: 14px;
    padding: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .projects-grid::-webkit-scrollbar { display: none; }
  .projects-grid > .pcard {
    grid-column: auto !important;
    grid-row: auto !important;
    flex: 0 0 80%;
    scroll-snap-align: start;
  }

  /* Reuse the original card palette for the current product catalog. */
  #projects { padding: 108px 0 64px; }
  #projects .sec-title { font-size: clamp(20px, 6.15vw, 24px); }
  #projects > .container > .head-grid { margin-bottom: 18px; }
  #projects > .container > .head-grid > .sec-lede { display: none; }
  .product-catalog { display: block; }
  .product-catalog-intro {
    margin: 0 0 24px; font-size: 15px; line-height: 1.8; color: var(--ink-2);
  }
  .product-catalog-hint {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0 0 12px; color: var(--ink-3); font-size: 12px;
  }
  .product-catalog-hint span { font-size: 19px; color: var(--accent); }
  .product-catalog-track {
    margin-right: -32px; padding: 4px 32px 18px 0;
    scroll-padding-left: 0; border-radius: 0; background: none; animation: none;
    overscroll-behavior-x: contain;
  }
  .product-catalog-track > .pcard {
    flex-basis: min(80vw, 560px); min-height: 300px; padding: 24px;
    animation: none;
  }
  .product-catalog-track .pcard-head { flex-wrap: wrap; gap: 10px; }
  .product-catalog-track .pcard-status { font-size: 10px; }
  .product-catalog-track h3 { font-size: 24px; line-height: 1.4; }
  .product-catalog-track .pcard:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .product-catalog-controls { display: flex; justify-content: space-between; align-items: center; }
  .product-catalog-position { font-family: "Geist Mono", monospace; font-size: 12px; color: var(--ink-3); }
  .product-catalog-buttons { display: flex; gap: 10px; }
  .product-catalog-buttons button {
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 50%;
    background: #fff; color: var(--ink); font-size: 20px; cursor: pointer;
  }
  .product-catalog-buttons button:disabled { opacity: 0.3; cursor: default; }
  .product-catalog-site { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--cufe); }

  body.mobile-sections #projects .product-section-heading,
  body.mobile-sections #projects .product-index,
  body.mobile-sections #projects .product-foundation,
  body.mobile-sections #projects .product-detail-list,
  body.mobile-sections #projects .product-detail { display: none; }
  body.mobile-product-open #projects > .container > .head-grid,
  body.mobile-product-open .product-catalog,
  body.mobile-product-open #results { display: none; }
  body.mobile-product-open #projects .product-detail-list,
  body.mobile-product-open #projects .product-detail.mobile-product-active { display: block; }
  body.mobile-product-open #projects .product-foundation.mobile-product-active { display: grid; margin-top: 0; }
  body.mobile-product-open .product-back {
    display: inline-flex; align-items: center; min-height: 44px;
    margin-bottom: 18px; font-size: 14px; color: var(--cufe);
  }

  /* 研究团队 */
  .team-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin-top: 28px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .team-grid > .person {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
  .person-pic { aspect-ratio: 3/4; }

  /* 毕业生去向 */
  .alumni-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .alumni-grid::-webkit-scrollbar { display: none; }
  .alumni-grid > .alum-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
  }
  .alumni-cohort { padding: 20px; }
}


/* ============ Coming soon (敬请期待) — quiet, refined ============ */
.coming-soon {
  margin-top: 40px; padding: 52px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 13px;
  text-align: center;
}
.coming-soon .cs-line {
  width: 46px; height: 2px; border-radius: 2px; opacity: 0.75;
  background: linear-gradient(90deg, transparent, #4f7dff 30%, #9b5cff 70%, transparent);
}
.coming-soon .cs-zh {
  font-family: "Noto Serif SC", serif; font-size: 19px; font-weight: 600;
  color: var(--ink-2); letter-spacing: 0.16em; text-indent: 0.16em;
}
.coming-soon .cs-en {
  font-family: "Geist Mono", monospace; font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--ink-3);
}

/* 对外合作:与北航并排的"敬请期待"格子 */
.partner-card.soon {
  align-items: center; justify-content: center; text-align: center;
  gap: 8px; border-style: dashed; background: transparent;
}
.partner-card.soon .soon-zh {
  font-family: "Noto Serif SC", serif; font-size: 18px; font-weight: 600;
  color: var(--ink-2); letter-spacing: 0.14em; text-indent: 0.14em;
}
.partner-card.soon .soon-en {
  font-family: "Geist Mono", monospace; font-size: 10px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--ink-3);
}

/* ============ DECK GUIDE ============ */
#deck-guide {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(14px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 2px 7px rgba(8, 16, 56, 0.4));  /* 任何底色上都清晰 */
}
.dg-v { display: block; width: 25px; }
.dg-v1 { opacity: 0.4; animation: dgDrift 2.2s ease-in-out infinite 0.3s; }
.dg-v2 { opacity: 0.8;  animation: dgDrift 2.2s ease-in-out infinite 0s; }
@keyframes dgDrift {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(6px); }
}
