/* ======================================================
 * 夸父生物医药 — 共享设计令牌
 * 品牌：深墨绿 + 湖水青 + 米白 + 生命荧光绿 + 金色
 * 定位：研究型平台（科研权威、底层技术）
 * ====================================================== */
:root {
  /* === 字体 === */
  --font-display: 'Noto Serif SC', 'Montserrat', 'PingFang SC', 'Microsoft YaHei', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-number: 'Montserrat', 'Noto Sans SC', sans-serif;

  /* === 形状 === */
  --radius-card: 16px;
  --radius-button: 8px;
  --radius-pill: 999px;
  --space-unit: 8px;
  --transition: 300ms ease-out;

  /* === 阴影（冷色基调，匹配深墨绿 + 湖水青） === */
  --shadow-card: 0 2px 8px rgba(13, 40, 24, 0.05), 0 6px 24px rgba(13, 40, 24, 0.06);
  --shadow-card-hover: 0 6px 14px rgba(46, 139, 127, 0.10), 0 18px 44px rgba(13, 40, 24, 0.10);
  --shadow-elevated: 0 12px 32px rgba(13, 40, 24, 0.10);
  --shadow-inset-soft: inset 0 1px 0 rgba(255, 255, 255, 0.6);

  /* === 夸父品牌色（研究平台 — 深墨绿系） === */
  --color-primary: #0D2818;            /* 深墨绿 */
  --color-primary-rgb: 13, 40, 24;
  --color-accent: #2E8B7F;             /* 湖水青 */
  --color-bg: #F4F1EA;                 /* 米白 */
  --color-glow: #39FF88;               /* 生命荧光绿 */
  --color-honor: #C9A961;              /* 金色 */

  /* === 派生 === */
  --color-surface: #FFFFFF;
  --color-surface-muted: #E8E2D4;
  --color-text: #0D2818;
  --color-text-soft: #3D5048;
  --color-text-muted: #6B7B72;
  --color-text-on-primary: #F4F1EA;
  --color-text-on-primary-soft: rgba(244, 241, 234, 0.78);
  --color-border: #D6CFBE;
  --color-border-soft: rgba(13, 40, 24, 0.08);

  /* === 类型尺度 === */
  --fs-display: clamp(48px, 6vw, 80px);
  --fs-h1: clamp(40px, 4.6vw, 60px);
  --fs-h2: clamp(28px, 3vw, 40px);
  --fs-h3: 22px;
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-caption: 12px;
  --fs-eyebrow: 11px;
  --fs-stat: clamp(40px, 4vw, 56px);
}

/* ======================================================
 * 基础重置
 * ====================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--color-primary);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
h3 { font-size: var(--fs-h3); }
p { color: var(--color-text-soft); margin-bottom: 12px; }

/* ======================================================
 * 通用容器
 * ====================================================== */
.container { width: 100%; max-width: 1200px; padding: 0 32px; margin: 0 auto; }
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--alt { background: rgba(255,255,255,0.45); border-top: 1px solid var(--color-border-soft); border-bottom: 1px solid var(--color-border-soft); }
.section--ink { background: var(--color-primary); color: var(--color-text-on-primary); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--color-text-on-primary); }
.section--ink p { color: var(--color-text-on-primary-soft); }
.eyebrow {
  font-family: var(--font-number);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: inline-block;
}
.section-title { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-title h2 { margin-bottom: 14px; }
.section-title .deck { font-size: 16px; line-height: 1.75; color: var(--color-text-soft); margin-bottom: 0; }
.section--ink .section-title .deck { color: var(--color-text-on-primary-soft); }

/* ======================================================
 * 按钮
 * ====================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em;
  border-radius: var(--radius-button);
  transition: all var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--color-primary); color: var(--color-text-on-primary); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-ghost:hover { background: var(--color-primary); color: var(--color-text-on-primary); transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--color-text-on-primary);
  border-color: rgba(244, 241, 234, 0.5);
}
.btn-outline:hover { border-color: var(--color-text-on-primary); background: rgba(244, 241, 234, 0.08); transform: translateY(-2px); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ======================================================
 * Header（夸父 — 米白毛玻璃）
 * ====================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand .logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--color-primary); color: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  position: relative; overflow: hidden;
}
.brand .logo-mark::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(57,255,136,.25) 100%);
}
.brand .text { display: flex; flex-direction: column; line-height: 1.2; }
.brand .text .cn { font-size: 16px; font-weight: 700; color: var(--color-primary); letter-spacing: 0.04em; }
.brand .text .en {
  font-family: var(--font-number); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; color: var(--color-text-muted); margin-top: 2px;
}
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a {
  font-size: 14px; color: var(--color-text); font-weight: 500;
  position: relative; padding: 6px 0;
  transition: color var(--transition);
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--color-accent); transform: scaleX(0);
  transform-origin: left; transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* BrandSwitcher（双站切换） */
.brand-switcher {
  display: flex; align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.brand-switcher a {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--color-text-soft);
  transition: all var(--transition);
  min-width: 100px;
}
.brand-switcher a .sub {
  font-family: var(--font-number); font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; color: var(--color-text-muted); margin-top: 2px;
}
.brand-switcher a.active { background: var(--color-primary); color: var(--color-text-on-primary); }
.brand-switcher a.active .sub { color: var(--color-text-on-primary-soft); }

/* ======================================================
 * Footer
 * ====================================================== */
.site-footer {
  background: var(--color-primary);
  color: var(--color-text-on-primary);
  padding: 80px 0 32px;
}
.site-footer h4 {
  color: var(--color-honor);
  font-family: var(--font-number); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer .footer-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(244, 241, 234, 0.12);
}
.site-footer ul li { margin-bottom: 10px; font-size: 14px; color: var(--color-text-on-primary-soft); }
.site-footer ul a:hover { color: var(--color-glow); }
.site-footer .footer-bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding-top: 24px; font-size: 12px; color: var(--color-text-on-primary-soft);
}

/* ======================================================
 * RelationBanner（夸父页 → 后羿）
 * ====================================================== */
.relation-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #061b10 100%);
  color: var(--color-text-on-primary);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.relation-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(46, 139, 127, 0.18), transparent 60%);
  pointer-events: none;
}
.relation-banner .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; position: relative;
}
.relation-banner .rel-text {
  display: flex; align-items: center; gap: 24px;
  font-size: 14px; color: var(--color-text-on-primary-soft);
}
.relation-banner .rel-text strong {
  display: block; color: var(--color-text-on-primary); font-size: 16px; font-weight: 700; margin-bottom: 4px;
}
.relation-banner .rel-text .divider {
  width: 1px; height: 40px; background: rgba(244, 241, 234, 0.25);
}
.relation-banner .logo-mini {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--color-accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--color-text-on-primary);
}
.relation-banner a.cta-link {
  padding: 14px 28px; background: var(--color-glow); color: var(--color-primary);
  border-radius: var(--radius-button); font-weight: 700; font-size: 14px;
  flex-shrink: 0;
  transition: transform var(--transition);
}
.relation-banner a.cta-link:hover { transform: translateX(4px); }

/* ======================================================
 * ContextualLink（夸父 ↔ 后羿）
 * ====================================================== */
.contextual-link {
  margin: 48px auto 0; max-width: 760px;
  padding: 18px 24px;
  background: rgba(46, 139, 127, 0.08);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 14px; color: var(--color-text);
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.contextual-link strong { color: var(--color-primary); font-weight: 700; }
.contextual-link a {
  color: var(--color-accent); font-weight: 700;
  border-bottom: 1px solid currentColor;
}

/* ======================================================
 * Hero 通用
 * ====================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 640px; display: flex; align-items: center;
  color: var(--color-text-on-primary);
  background: var(--color-primary);
}
.hero .bg-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.55;
}
.hero .container.hero-content {
  position: relative; z-index: 2;
  padding: 140px 32px 120px;
  max-width: 920px;
}
.hero .eyebrow {
  color: var(--color-honor);
  background: rgba(201, 169, 97, 0.12);
  padding: 6px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(201, 169, 97, 0.3);
  margin-bottom: 24px;
  font-size: 11px;
}
.hero h1 {
  font-size: var(--fs-display);
  color: var(--color-text-on-primary);
  margin-bottom: 24px;
  line-height: 1.05;
}
.hero .subtitle {
  font-size: 17px; line-height: 1.7;
  color: var(--color-text-on-primary-soft);
  max-width: 680px; margin-bottom: 28px;
}
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-tags span {
  padding: 6px 14px; font-size: 12px;
  background: rgba(57,255,136,0.10);
  color: var(--color-glow);
  border: 1px solid rgba(57,255,136,0.32);
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hero .btn-row { gap: 16px; }
.hero .btn-primary { background: var(--color-glow); color: var(--color-primary); }
.hero .btn-primary:hover { background: var(--color-accent); color: var(--color-text-on-primary); }
.hero .btn-ghost { color: var(--color-text-on-primary); border-color: rgba(244,241,234,0.45); }
.hero .btn-ghost:hover { background: rgba(244,241,234,0.08); }

/* ======================================================
 * 数据统计
 * ====================================================== */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.stat { padding: 36px 24px; text-align: center; border-right: 1px solid var(--color-border); }
.stat:last-child { border-right: 0; }
.stat .data-number {
  font-family: var(--font-number);
  font-size: var(--fs-stat); font-weight: 700;
  color: var(--color-primary); line-height: 1;
  margin-bottom: 12px;
  font-feature-settings: 'tnum';
}
.stat .label { font-size: 13px; color: var(--color-text-soft); }

/* ======================================================
 * 卡片 / Pillar（轻量化版：弱化边框、阴影、圆角，回归内容）
 * ====================================================== */
.card, .platform-card, .pillar {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 97, 0.18);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 2px 14px rgba(13, 40, 24, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover, .platform-card:hover, .pillar:hover {
  border-color: rgba(201, 169, 97, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(13, 40, 24, 0.08);
}
.platform-map { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; row-gap: 72px; }
.platform-card .pt-role {
  font-family: var(--font-number); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-honor); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.platform-card .pt-role::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--color-honor);
}
.platform-card h4 { font-size: 22px; margin-bottom: 14px; line-height: 1.4; font-weight: 600; }
.platform-card p { font-size: 14.5px; color: var(--color-text-soft); line-height: 1.85; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 48px; row-gap: 64px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; row-gap: 56px; }
.pillar .view-tag {
  font-family: var(--font-number); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-honor); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.pillar .view-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--color-honor);
}
.pillar h3 { font-size: 22px; margin-bottom: 14px; line-height: 1.4; font-weight: 600; }
.pillar > p { font-size: 14.5px; color: var(--color-text-soft); line-height: 1.85; }
.pillar .fact {
  font-size: 12.5px; color: var(--color-text-muted);
  margin-top: 20px; line-height: 1.7;
  padding-left: 14px;
  border-left: 2px solid var(--color-border);
}
.pillar .fact strong { color: var(--color-primary); font-weight: 700; margin-right: 4px; }

/* ======================================================
 * 院士 split / 时间轴
 * ====================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.num-badge {
  display: inline-block;
  font-family: var(--font-number); font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--color-honor);
  padding: 6px 14px; border: 1px solid var(--color-honor);
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.timeline { border-left: 2px solid var(--color-accent); padding-left: 24px; margin-top: 8px; }
.tl-item { padding: 14px 0; position: relative; }
.tl-item::before {
  content: ''; position: absolute; left: -30px; top: 22px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-honor);
  border: 3px solid var(--color-surface);
  box-shadow: 0 0 0 2px var(--color-honor);
}
.tl-item strong {
  display: block; font-family: var(--font-display); font-size: 16px;
  color: var(--color-primary); margin-bottom: 6px;
}
.tl-item p { font-size: 14px; color: var(--color-text-soft); margin: 0; }

.honors { border-top: 1px solid var(--color-border); }
.honors li {
  padding: 14px 0; border-bottom: 1px solid var(--color-border);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
}
.honors li::before { content: '🏅'; font-size: 14px; }

/* ======================================================
 * CTA Block
 * ====================================================== */
.cta-block {
  text-align: center; padding: 80px 48px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}
.cta-block h2 { font-size: 36px; margin-bottom: 16px; }
.cta-block p { font-size: 16px; max-width: 560px; margin: 0 auto 28px; }

/* ======================================================
 * 入站图 / 头像
 * ====================================================== */
.portrait {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 16px;
  position: relative;
  overflow: hidden;
}
.portrait img { border-radius: calc(var(--radius-card) - 8px); }
.portrait .caption {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-number); font-size: 11px;
  letter-spacing: 0.18em; color: var(--color-text-muted);
  text-transform: uppercase;
}

/* ======================================================
 * 步骤条（转化通道）
 * ====================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 56px; row-gap: 0; }
.step {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 8px 0 0 0;
  position: relative;
  transition: opacity var(--transition);
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 32px; height: 1.5px;
  background: var(--color-honor);
  opacity: 0.6;
  transition: width var(--transition), opacity var(--transition);
}

/* 深色区块内 step：深色玻璃卡（后羿层次感移植） */
.section--ink .step {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 169, 97, 0.22);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.section--ink .step:hover {
  border-color: rgba(201, 169, 97, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}
.section--ink .step::before { left: 32px; }
.step:hover::before { width: 64px; opacity: 1; }
.step:hover { border: 0; }
.step .step-num {
  font-family: var(--font-number); font-size: 12px; font-weight: 700;
  letter-spacing: 0.22em; color: var(--color-accent);
  margin-bottom: 16px;
}
.step h3 { font-size: 22px; margin-bottom: 12px; }
.step p { font-size: 14px; }

/* ======================================================
 * Hero 分隔（页内）— 高度适中，既不占满首屏也不显得过薄
 * ====================================================== */
.page-hero {
  padding: 24px 0 22px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(201, 169, 97, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(46, 139, 127, 0.12) 0%, transparent 40%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 0;
  max-width: 820px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.page-hero .eyebrow,
.page-hero .deck { display: none; }
.page-hero .breadcrumb {
  font-family: var(--font-number); font-size: 11px;
  letter-spacing: 0.22em; color: var(--color-text-muted);
  text-transform: uppercase; margin-bottom: 4px;
}
.page-hero .breadcrumb a:hover { color: var(--color-accent); }
.page-hero .btn-row { margin-top: 24px; gap: 12px; }

/* ======================================================
 * 响应式
 * ====================================================== */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .grid-3, .platform-map, .steps, .stats, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .relation-banner .inner { flex-direction: column; align-items: flex-start; }
  .relation-banner .rel-text { flex-direction: column; align-items: flex-start; gap: 12px; }
  .relation-banner .rel-text .divider { display: none; }
  .hero .container.hero-content { padding: 88px 24px 72px; }
  .page-hero { padding: 18px 0 16px; }
  .page-hero .container { padding-left: 0; }
  .page-hero h1 { font-size: clamp(18px, 5vw, 22px); -webkit-line-clamp: 2; }
}

/* ======================================================
 * Reveal 入场动画（轻量，统一节拍）
 * ====================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease-out, transform 600ms ease-out; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: 60ms; }
.reveal[data-delay="2"] { transition-delay: 120ms; }
.reveal[data-delay="3"] { transition-delay: 180ms; }
.reveal[data-delay="4"] { transition-delay: 240ms; }
.reveal[data-delay="5"] { transition-delay: 300ms; }
.reveal[data-delay="6"] { transition-delay: 360ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ======================================================
 * 1) 顶部 scroll 进度条
 * ====================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 200;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-glow) 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 120ms linear;
  pointer-events: none;
}

/* ======================================================
 * 2) section-title 装饰（左竖条 + 标题后细线）
 * ====================================================== */
.section-title { position: relative; }
.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.section-title h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 28px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-honor));
  border-radius: 2px;
}
.section-title h2::after {
  content: '';
  display: inline-block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--color-border) 0%, transparent 100%);
  margin-left: 16px;
  min-width: 80px;
  max-width: 280px;
}

/* ======================================================
 * 3) 卡片连号角标
 * ====================================================== */
.pillar, .platform-card, .step, .stat {
  position: relative;
}
/* Pillar auto-counter removed — content leads, not badge.
   Kept counter-reset so .pillar still parses if counter is restored later. */
.grid-3, .grid-4, .platform-map, .steps { counter-reset: pillar-num; }

/* ======================================================
 * 4) stats 区域加强（上下细线 + hover 高亮）
 * ====================================================== */
.stats {
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, var(--color-surface) 0%, rgba(255,255,255,0.6) 100%);
}
.stat {
  position: relative;
  transition: background var(--transition);
}
.stat:hover {
  background: linear-gradient(180deg, rgba(46, 139, 127, 0.04) 0%, rgba(46, 139, 127, 0.08) 100%);
}
.stat .data-number {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ======================================================
 * 5) timeline 节点装饰
 * ====================================================== */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-border) 100%);
}
.tl-item {
  padding-left: 40px;
}
.tl-item::before {
  width: 14px; height: 14px;
  border: 3px solid var(--color-surface);
  background: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-border);
  top: 22px; left: 0;
  transition: transform var(--transition), background var(--transition);
}
.tl-item:hover::before {
  transform: scale(1.3);
  background: var(--color-honor);
}

/* ======================================================
 * 6) focus 状态（统一青色 focus ring）
 * ====================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ======================================================
 * 7) 图片 hover 缩放
 * ====================================================== */
img.zoomable,
.platform-card img,
.portrait img,
.pillar img,
.info-item .info-icon {
  transition: transform 400ms ease-out;
}
.card:hover img.zoomable,
.platform-card:hover img,
.portrait:hover img,
.pillar:hover img {
  transform: scale(1.04);
}

/* ======================================================
 * 8) 页面背景微光晕
 * ====================================================== */
body {
  background:
    radial-gradient(circle at 18% 22%, rgba(201, 169, 97, 0.07) 0%, transparent 38%),
    radial-gradient(circle at 82% 70%, rgba(46, 139, 127, 0.09) 0%, transparent 36%),
    linear-gradient(180deg, #F7F5EF 0%, #F4F1EA 46%, #EEF0E8 100%);
  background-attachment: fixed;
}

/* ======================================================
 * 9) eyebrow 装饰（左竖条 + 字距）
 * ====================================================== */
.eyebrow {
  position: relative;
  padding-left: 16px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* ======================================================
 * 10) h2 / h3 节奏统一
 * ====================================================== */
h2 {
  letter-spacing: -0.018em;
  line-height: 1.2;
  margin-bottom: 14px;
}
h3 {
  letter-spacing: -0.012em;
  line-height: 1.3;
}

/* ======================================================
 * Contact 表单
 * ====================================================== */
.contact-section { background: transparent; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px 44px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.contact-form-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-honor) 50%, transparent 100%);
}
.contact-form-head { margin-bottom: 28px; }
.contact-form-head .eyebrow { margin-bottom: 10px; }
.contact-form-head h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.contact-form-head .deck { font-size: 14px; margin-bottom: 0; }

.contact-form .form-row { margin-bottom: 20px; }
.contact-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form .form-field { display: flex; flex-direction: column; }
.contact-form label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  font-size: 15px;
  color: var(--color-primary);
  padding: 12px 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
  font-family: inherit;
}
.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: rgba(46, 139, 127, 0.4);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(46, 139, 127, 0.12);
  background: rgba(255, 255, 255, 1);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}
.contact-form input:invalid:not(:placeholder-shown):not(:focus),
.contact-form textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.03);
}
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%232E8B7F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1,1 6,7 11,1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form .form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-soft);
  flex-wrap: wrap;
}
.contact-form .form-actions .btn {
  padding: 14px 36px;
  font-size: 14px;
  position: relative;
}
.contact-form .form-actions .btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.contact-form .form-actions .btn .spinner {
  display: inline-block;
  width: 14px; height: 14px;
  margin-right: 8px;
  border: 2px solid rgba(244, 241, 234, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
  vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.contact-form .form-hint {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 0;
  flex: 1;
  min-width: 200px;
}

/* 提交成功反馈 */
.contact-success {
  text-align: center;
  padding: 48px 24px;
  animation: successFadeIn 600ms ease-out;
}
.contact-success .success-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 139, 127, 0.15), rgba(57, 255, 136, 0.1));
  color: var(--color-accent);
  margin-bottom: 20px;
}
.contact-success h3 {
  font-size: 22px;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.contact-success p {
  color: var(--color-text-soft);
  margin-bottom: 24px;
}
@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 侧边直接联系 */
.contact-aside {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.contact-aside::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--color-honor) 50%, var(--color-accent) 100%);
}
.contact-aside .eyebrow { margin-bottom: 10px; }
.contact-aside h2 { font-size: clamp(20px, 2.2vw, 24px); margin-bottom: 8px; }
.contact-aside .deck { font-size: 14px; margin-bottom: 28px; }
.info-list { display: flex; flex-direction: column; gap: 18px; }
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(46, 139, 127, 0.10), rgba(46, 139, 127, 0.04));
  color: var(--color-accent);
}
.info-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}
.info-value {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.5;
}
a.info-value:hover { color: var(--color-accent); }

/* Contact 响应式 */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrap { padding: 28px 22px; }
  .contact-form .form-row-2 { grid-template-columns: 1fr; gap: 14px; }
  .contact-aside { padding: 28px 22px; }
  .contact-form .form-actions { flex-direction: column; align-items: stretch; }
  .contact-form .form-actions .btn { width: 100%; }
}
/* ======================================================
 * 三段式横幅图（产业转化）
 * ====================================================== */
.channel-banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  margin-top: 8px;
}
.channel-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(280px, 38vw, 460px);
  object-fit: contain;
  transition: transform 600ms ease-out;
}
.channel-banner:hover img { transform: scale(1.03); }
/* Caption placed as a figure-caption above the banner image.
   Designed to read like a figure legend / 图注 — does not overlap the diagram. */
.channel-banner__caption-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 14px;
  padding: 10px 20px;
  max-width: 720px;
  font-family: var(--font-number);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  text-align: center;
}
.channel-banner__caption-top::before,
.channel-banner__caption-top::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
  min-width: 24px;
}

/* decorations removed; caption moved above banner */

/* ======================================================
 * 三段式 step 卡片视觉强化（产业转化）
 * ====================================================== */
.section .steps {
  position: relative;
}
.section .steps .step {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.section .steps .step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0.6;
  transition: opacity var(--transition);
}
.section .steps .step:hover::before { opacity: 1; }
.section .steps .step h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4px;
}
.section .steps .step p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.section .steps .step .step-num {
  font-size: 11px;
  letter-spacing: 0.24em;
}

/* 移动端 fallback */
@media (max-width: 880px) {
  .channel-banner img { height: 220px; }
  .channel-banner__caption {
    left: 12px; right: 12px; bottom: 12px;
    font-size: 10px;
    padding: 10px 14px;
    letter-spacing: 0.14em;
  }
  .section .steps .step { padding: 28px 24px; }
}



/* ======================================================
 * 滚动入场（components.js initReveal 自动标注）
 * ====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* 标题支持真实换行符（CMS 值中的换行渲染为换行） */
.page-hero h1,
.section-title h2,
[data-cms="home-team-title"],
[data-cms="team-h2-title"] { white-space: pre-line; }

/* multi-line CMS headings: render DB newlines as real line breaks */
h1[data-cms], h2[data-cms], h3[data-cms],
[data-cms="home-trans-title"] { white-space: pre-line; }
