/* =========================================================
   肽为官网 · 全站样式
   结构：变量 → 基础 → 布局 → 页头/页脚 → 组件 → 各页面 → 响应式
   ========================================================= */

:root {
  --ink: #0A1620;
  --ink-2: #0F2130;
  --ink-3: #173246;
  --paper: #F4F6F3;
  --white: #FFFFFF;

  --text: #14202A;
  --muted: #5B6873;
  --faint: #8A959E;
  --line: #E1E5E0;
  --line-dark: rgba(255, 255, 255, .12);

  --accent: #0E9C8A;
  --accent-strong: #0A7F70;
  --accent-soft: #E2F4F1;
  --accent-glow: #3FD8C2;
  --amber: #E39A34;
  --amber-soft: #FCF1E1;

  /* 研发闭环四个阶段的配色 */
  --s-design: #3FD8C2;
  --s-synth: #6AA6F5;
  --s-verify: #F0B357;
  --s-iterate: #B497F5;
  --s-design-dark: #0A7F70;
  --s-synth-dark: #2F6FC4;
  --s-verify-dark: #B06F12;
  --s-iterate-dark: #7253C4;

  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --container: 1200px;
  --header-h: 76px;
  --subnav-h: 56px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "DIN Alternate", "Bahnschrift", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;

  --shadow: 0 1px 2px rgba(10, 22, 32, .04), 0 10px 30px rgba(10, 22, 32, .07);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; font-weight: 600; letter-spacing: .01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- 待补充占位：上线前全部替换 ---------- */
.tbd {
  background: var(--amber-soft);
  color: #8F5409;
  border: 1px dashed #E3A65A;
  border-radius: 6px;
  padding: 0 6px;
  font-size: .92em;
}
.on-dark .tbd, .site-footer .tbd, .page-hero .tbd, .hero .tbd, .section-dark .tbd {
  background: rgba(227, 154, 52, .14);
  color: #F2C27F;
  border-color: rgba(227, 154, 52, .5);
}
.tbd-block {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border: 1.5px dashed #E3A65A;
  border-radius: var(--radius);
  color: #8F5409;
  font-size: 14px;
  background: repeating-linear-gradient(-45deg, var(--amber-soft) 0 12px, #FEF7EC 12px 24px);
}
.draft-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #8F5409;
  background: var(--amber-soft);
  border: 1px dashed #E3A65A;
  border-radius: 999px;
  padding: 2px 10px;
}
.section-dark .draft-note {
  background: rgba(227, 154, 52, .14);
  color: #F2C27F;
  border-color: rgba(227, 154, 52, .5);
}

/* ---------- 按钮与链接 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-outline { border-color: var(--line); color: var(--text); background: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-strong);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.link-arrow:hover svg, a:hover .link-arrow svg { transform: translateX(4px); }

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  color: var(--text);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* Logo 有浅色字（深色背景）和深色字（白色背景）两版 */
.brand-logo { display: block; width: auto; height: 42px; }
.brand-logo-dark { display: none; }
.site-header.is-scrolled .brand-logo-light, .site-header.is-open .brand-logo-light { display: none; }
.site-header.is-scrolled .brand-logo-dark, .site-header.is-open .brand-logo-dark { display: block; }

.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  border-radius: 999px;
  opacity: .82;
  transition: opacity .2s, background .2s;
}
.nav-link:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.is-scrolled .nav-link:hover, .is-open .nav-link:hover { background: rgba(10, 22, 32, .05); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent-glow);
  opacity: 0;
  transition: opacity .2s;
}
body[data-page="home"] .nav-link[data-nav="home"],
body[data-page="technology"] .nav-link[data-nav="technology"],
body[data-page="products"] .nav-link[data-nav="products"],
body[data-page="solutions"] .nav-link[data-nav="solutions"],
body[data-page="about"] .nav-link[data-nav="about"] { opacity: 1; }
body[data-page="home"] .nav-link[data-nav="home"]::after,
body[data-page="technology"] .nav-link[data-nav="technology"]::after,
body[data-page="products"] .nav-link[data-nav="products"]::after,
body[data-page="solutions"] .nav-link[data-nav="solutions"]::after,
body[data-page="about"] .nav-link[data-nav="about"]::after { opacity: 1; }

.has-sub { position: relative; }
.sub {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 280px;
  padding: 8px;
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(10, 22, 32, .16);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translate(-50%, 6px); }
.sub a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.sub a:hover { background: var(--paper); color: var(--accent-strong); }

.nav-cta {
  margin-left: 14px;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  background: var(--accent);
  color: #fff;
  transition: background .2s;
}
.nav-cta:hover { background: var(--accent-strong); }
body[data-page="contact"] .nav-cta { background: var(--accent-strong); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s, top .3s, opacity .2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); background: var(--text); }
.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); background: var(--text); }

/* ---------- 首屏（首页） ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(900px 600px at 78% 42%, rgba(14, 156, 138, .24), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(106, 166, 245, .10), transparent 60%),
    var(--ink);
  padding: calc(var(--header-h) + 56px) 0 48px;
}
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000, transparent 75%);
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  min-height: min(calc(100vh - 260px), 640px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: .14em;
  color: var(--accent-glow);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 {
  margin: 22px 0 24px;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.2;
  letter-spacing: .02em;
}
.hero h1 em { font-style: normal; color: var(--accent-glow); }
.hero-lead { max-width: 560px; font-size: clamp(16px, 1.25vw, 18px); color: rgba(255, 255, 255, .72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-visual { width: 100%; max-width: 580px; justify-self: end; aspect-ratio: 1; }
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }

.hero-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
  border-top: 1px solid var(--line-dark);
}
.hero-stage {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
}
.hero-stage b { font-family: var(--font-num); font-weight: 500; font-size: 14px; color: var(--stage); }
.hero-stage small { font-family: var(--font-num); font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .38); }

/* ---------- 内页首屏 ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(700px 420px at 85% 30%, rgba(14, 156, 138, .22), transparent 62%),
    var(--ink);
  padding: calc(var(--header-h) + 80px) 0 88px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-art {
  position: absolute;
  right: max(-180px, calc((100vw - var(--container)) / 2 - 220px));
  top: 50%;
  width: 600px;
  height: 600px;
  transform: translateY(-46%);
  opacity: .9;
  pointer-events: none;
}
.page-hero-art svg { width: 100%; height: 100%; }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { margin: 18px 0 20px; font-size: clamp(32px, 4vw, 54px); line-height: 1.2; letter-spacing: .02em; }
.page-hero p { max-width: 620px; font-size: 17px; color: rgba(255, 255, 255, .7); }

/* ---------- 区块 ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tight { padding: clamp(56px, 6vw, 88px) 0; }
.section-paper { background: var(--paper); }
.section-dark { background: var(--ink); color: #fff; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.kicker::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.section-dark .kicker { color: var(--accent-glow); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head h2, .section h2.title { margin-top: 14px; font-size: clamp(26px, 3vw, 40px); }
.section-head p { color: var(--muted); font-size: 16.5px; }
.section-dark .section-head p { color: rgba(255, 255, 255, .64); }
.section-head.center { display: block; max-width: 760px; margin-inline: auto; text-align: center; }
.section-head.center p { margin-top: 18px; }

/* ---------- 首页：研发闭环 ---------- */
.loop-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.loop-step { position: relative; padding-top: 28px; border-top: 3px solid var(--stage); }
.loop-step-num { font-family: var(--font-num); font-size: 44px; font-weight: 500; line-height: 1; color: var(--stage-dark); }
.loop-step h3 { margin-top: 18px; font-size: 21px; display: flex; align-items: baseline; gap: 10px; }
.loop-step h3 small { font-family: var(--font-num); font-size: 12px; font-weight: 400; letter-spacing: .14em; color: var(--faint); text-transform: uppercase; }
.loop-step p { margin-top: 10px; font-size: 15px; color: var(--muted); }

.loop-return {
  position: relative;
  height: 44px;
  margin: 28px 12px 0;
  border: 1.5px dashed var(--accent);
  border-top: 0;
  border-radius: 0 0 22px 22px;
}
.loop-return::before {
  content: "";
  position: absolute;
  left: -7px;
  top: -10px;
  border: 6px solid transparent;
  border-bottom: 10px solid var(--accent);
  border-top: 0;
}
.loop-return span {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  padding: 0 16px;
  background: #fff;
  font-size: 14px;
  color: var(--accent-strong);
  white-space: nowrap;
}

/* ---------- 平台卡片 ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.platform-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 360px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.platform-card .pc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.pc-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.pc-icon svg { width: 32px; height: 32px; }
.pc-num { font-family: var(--font-num); font-size: 13px; letter-spacing: .1em; color: var(--faint); }
.platform-card h3 { font-size: 19px; }
.platform-card p { font-size: 15px; color: var(--muted); }
.platform-card .link-arrow { margin-top: auto; }
.platform-card.is-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.platform-card.is-featured .pc-icon { background: rgba(63, 216, 194, .12); color: var(--accent-glow); }
.platform-card.is-featured p { color: rgba(255, 255, 255, .66); }
.platform-card.is-featured .link-arrow { color: var(--accent-glow); }
.pc-badge {
  align-self: flex-start;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.is-featured .pc-badge { border-color: rgba(63, 216, 194, .4); color: var(--accent-glow); }

/* ---------- 案例卡片 ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-art { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); overflow: hidden; }
.case-art svg { width: 100%; height: 100%; }
.case-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 28px; }
.case-body h3 { font-size: 20px; }
.case-body p { font-size: 15px; color: var(--muted); }
.case-body .link-arrow { margin-top: auto; padding-top: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--muted);
}
.tag.is-accent { background: var(--accent-soft); color: var(--accent-strong); }

/* ---------- 优势（深色区） ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.why-item { padding: 36px 28px 8px 0; }
.why-item + .why-item { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.why-item b { font-family: var(--font-num); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--accent-glow); }
.why-item h3 { margin: 14px 0 10px; font-size: 20px; }
.why-item p { font-size: 15px; color: rgba(255, 255, 255, .62); }

/* ---------- 行动号召 ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 64px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(63, 216, 194, .35), transparent 60%),
    linear-gradient(120deg, #0A7F70, #0B4F5C);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .3);
  box-shadow: 0 0 0 40px rgba(255, 255, 255, .03), 0 0 0 80px rgba(255, 255, 255, .025);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(24px, 2.6vw, 34px); }
.cta-band p { margin-top: 12px; max-width: 560px; color: rgba(255, 255, 255, .78); }
.cta-band .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* ---------- 页脚 ---------- */
.site-footer { background: #071018; color: rgba(255, 255, 255, .66); font-size: 14px; padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 320px; line-height: 1.8; }
.footer-contact { margin-top: 22px; display: grid; gap: 8px; }
.footer-brand .brand-logo { height: 48px; }
.site-footer h4 { margin-bottom: 18px; font-size: 15px; color: #fff; }
.site-footer li { text-wrap: balance; }
.site-footer li + li { margin-top: 10px; }
.site-footer a { transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(255, 255, 255, .42);
}

/* ---------- 技术概述页 ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare-col h3 { font-size: 20px; display: flex; align-items: center; gap: 10px; }
.compare-col h3 small { font-size: 13px; font-weight: 400; color: var(--faint); }
.compare-col ul { margin-top: 24px; display: grid; gap: 16px; }
.compare-col li { position: relative; padding-left: 30px; color: var(--muted); }
.compare-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--faint);
}
.compare-col.is-ours { background: var(--ink); color: #fff; border-color: var(--ink); }
.compare-col.is-ours li { color: rgba(255, 255, 255, .78); }
.compare-col.is-ours li::before { border-color: var(--accent-glow); background: radial-gradient(circle, var(--accent-glow) 0 3px, transparent 3.5px); }
.compare-col.is-ours h3 small { color: rgba(255, 255, 255, .45); }

.loop-explorer { display: grid; grid-template-columns: minmax(300px, 500px) 1fr; gap: 72px; align-items: center; }
.loop-wheel { position: relative; aspect-ratio: 1; width: 100%; }
.loop-wheel > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.loop-wheel .arc { transition: stroke-width .3s, opacity .3s; opacity: .3; }
.loop-wheel .arc.is-active { opacity: 1; }
.loop-btn {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  white-space: nowrap;
  padding: 10px 24px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.loop-btn:hover { border-color: var(--stage-dark); }
.loop-btn .n { font-family: var(--font-num); font-size: 12px; letter-spacing: .12em; color: var(--stage-dark); }
.loop-btn .t { font-size: 17px; font-weight: 600; }
.loop-btn[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); transform: translate(-50%, -50%) scale(1.06); }
.loop-btn[aria-selected="true"] .n { color: var(--stage); }
.loop-btn[data-pos="top"] { left: 50%; top: 8%; }
.loop-btn[data-pos="right"] { left: 90%; top: 50%; }
.loop-btn[data-pos="bottom"] { left: 50%; top: 92%; }
.loop-btn[data-pos="left"] { left: 10%; top: 50%; }
.loop-center {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}
.loop-center b { font-family: var(--font-num); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: .06em; color: var(--ink); }
.loop-center small { font-size: 13px; color: var(--muted); }

.loop-panel h3 { font-size: clamp(24px, 2.4vw, 32px); display: flex; align-items: baseline; gap: 14px; }
.loop-panel h3 span { font-family: var(--font-num); font-size: 15px; font-weight: 500; letter-spacing: .12em; color: var(--stage-dark); }
.loop-q {
  margin-top: 18px;
  padding: 14px 20px;
  border-left: 3px solid var(--stage);
  background: var(--paper);
  border-radius: 0 10px 10px 0;
  font-size: 17px;
}
.loop-q small { display: block; font-size: 12px; color: var(--faint); letter-spacing: .1em; }
.loop-panel ul { margin-top: 24px; display: grid; gap: 12px; }
.loop-panel li { position: relative; padding-left: 22px; color: var(--muted); }
.loop-panel li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--stage); }
.loop-out { margin-top: 24px; display: flex; gap: 12px; align-items: baseline; font-size: 15px; }
.loop-out b { flex-shrink: 0; font-size: 13px; font-weight: 500; color: var(--faint); }

.feature-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-dark);
}
.feature b { font-family: var(--font-num); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--accent-glow); }
.feature h3 { margin: 14px 0 10px; font-size: 20px; }
.feature p { font-size: 15px; color: rgba(255, 255, 255, .64); }

.coverage { display: grid; grid-template-columns: 220px 1fr; gap: 20px 40px; align-items: start; }
.coverage + .coverage { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.coverage h3 { font-size: 17px; }
.coverage h3 small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--faint); }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-block;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
}

/* ---------- 技术概述页：AI 自驱动分子研发平台 ---------- */
.aip {
  display: grid;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 360px at 85% 20%, rgba(14, 156, 138, .16), transparent 65%),
    var(--ink);
  color: #fff;
}
.aip h3 { font-size: 16px; }

.aip-dirs {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
}
.aip-dirs h3 { padding-left: 8px; font-size: 18px; color: var(--accent-strong); }
.aip-dirs ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.aip-dirs li {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 1px 2px rgba(10, 22, 32, .06);
}
.aip-dirs img { width: auto; height: 56px; max-width: 84px; object-fit: contain; flex-shrink: 0; }
.aip-dirs span { font-size: 17px; font-weight: 600; color: var(--accent-strong); }

.aip-main { display: grid; grid-template-columns: 200px 1fr; gap: 24px; }
.aip-core {
  position: relative;
  margin: 0;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius);
  border: 4px solid #fff;
  background: #000;
}
.aip-core img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aip-core figcaption {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  padding: 14px 8px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent-strong);
  background: rgba(226, 244, 241, .94);
}

.aip-flow {
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, .02);
}
.aip-top, .aip-steps { display: grid; align-items: stretch; gap: 0; }
.aip-top { grid-template-columns: 1fr 96px 1.35fr 96px 1fr; }
.aip-steps { grid-template-columns: 1fr 64px 1fr 64px 1fr; }
.aip-node, .aip-step {
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 16px 14px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .05);
}
.aip-node h3, .aip-step h3 { font-size: 17px; }
.aip-node p, .aip-step p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.aip-node.is-hub {
  border-color: var(--accent-glow);
  background: linear-gradient(160deg, rgba(14, 156, 138, .55), rgba(10, 127, 112, .35));
}
.aip-node.is-hub h3 { font-size: 19px; }
.aip-node.is-hub p { color: rgba(255, 255, 255, .86); }
.aip-step { border-top: 3px solid var(--accent); }
.aip-step h3 { padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .14); }

/* 横向箭头：线 + 三角，文字标在线上方 */
.aip-arrow { position: relative; display: grid; place-items: center; }
.aip-arrow::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 18px;
  top: 50%;
  height: 3px;
  margin-top: -1.5px;
  background: var(--accent-glow);
}
.aip-arrow::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -8px;
  border: 8px solid transparent;
  border-left: 12px solid var(--accent-glow);
  border-right: 0;
}
.aip-arrow span { position: relative; top: -16px; font-size: 14px; font-weight: 600; color: var(--accent-glow); }

/* 下排回环：从“自动化实验”绕回“AIDD 智能设计” */
.aip-loop {
  position: relative;
  height: 40px;
  /* 两端对准第 1、3 个环节的中线：环节宽 = (总宽 - 两个 64px 箭头) / 3 */
  margin: -12px calc((100% - 128px) / 6) 0;
  border: 2px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 20px 20px;
}
.aip-loop::before {
  content: "";
  position: absolute;
  left: -9px;
  top: -14px;
  border: 8px solid transparent;
  border-bottom: 12px solid var(--accent);
  border-top: 0;
}
.aip-loop span {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  padding: 6px 22px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--accent-glow);
  background: #0E3B38;
}

.aip-modules {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  align-items: start;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-dark);
}
.aip-modules h3 { padding-left: 8px; font-size: 17px; color: var(--accent-glow); }
.aip-modules ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.aip-modules li { display: grid; gap: 8px; text-align: center; }
.aip-modules img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(63, 216, 194, .55);
  background: #fff;
}
/* 自动切割、分析检测、样品处理与纯化换成了白底整机产品图。
   格子仍是 4:3；样品处理那张是竖图，继续 cover 会切掉瓶口或收集柱。
   contain 把整机留在框内，白底和格子背景一致，所以留白不明显。
   智能供料、并行合成、规模化合成仍是现场实拍，继续用上面的 cover。
   规模化合成 2026-11-02 换成竖图（反应釜和冷水机）。cover 只裁掉上下的房间，两台设备都留在格子里。
   不要给这张加 is-product，否则 4:3 格子两侧会空出大块白边。 */
.aip-modules img.is-product {
  object-fit: contain;
  padding: 10px;
}
.aip-modules span { font-size: 14px; font-weight: 600; }

/* ---------- 技术与平台页（原产品与服务） ---------- */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: var(--subnav-h);
  padding: 0 16px;
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.subnav a b { font-family: var(--font-num); font-weight: 500; font-size: 12px; color: var(--faint); }
.subnav a:hover { color: var(--text); }
.subnav a.is-active { color: var(--text); border-color: var(--accent); }
.subnav a.is-active b { color: var(--accent-strong); }

.anchor-target { scroll-margin-top: calc(var(--header-h) + 24px); }
.has-subnav .anchor-target { scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 24px); }

.platform { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.platform + .platform { margin-top: clamp(80px, 9vw, 128px); }
.platform.reverse .platform-visual { order: -1; }
.platform-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 300px at 70% 30%, rgba(14, 156, 138, .22), transparent 70%),
    var(--ink);
}
.platform-visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 配图轮播：几张图叠放，从右往左轮流滑入 */
.carousel-slide { position: absolute; inset: 0; transform: translateX(100%); transition: transform .8s var(--ease); }
.carousel-slide.is-active { transform: none; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
/* PeptNova 是 16:9 白底信息图，轮播框固定 5:4。
   继续用上面的 cover 会切掉左右的「序列/环化」和「合成输出」。
   contain 把整张流程留在框里，白底和上下留白连在一起。
   第一张实拍不走这条。 */
.carousel-slide img.is-diagram {
  object-fit: contain;
  object-position: center;
  background: #fff;
}
/* 外框圆角两张图都要留着（24px）。不要在信息图显示时改成直角。
   2026-11-02 曾把 PeptNova 改成直角，是怕深色底从四个角露出来；
   客户看到从实拍切到信息图时圆角消失，要求圆角一直在。
   深色底才是问题：信息图是 16:9，框是 5:4，上下有留白，
   留白处若还是深色，四个圆角会变成深色圆弧。
   is-diagram-frame 只把底色换成白，圆角不动。
   这个类要等信息图滑出画面再拿掉（见 main.js），
   否则点回实拍时，右边两角会先闪出深色。 */
.platform-visual.carousel.is-diagram-frame {
  background: #fff;
}
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(10, 22, 32, .45);
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  transition: width .3s, background .3s;
}
.carousel-dots button[aria-current="true"] { width: 22px; background: #fff; }

/* 视频配图：保持 16:9，不裁掉画面里的字幕 */
.platform-visual.is-video { aspect-ratio: 16 / 9; background: #000; }
/* 长难肽设备图。附件是 16:9、四周透明的整机渲染。
   配图框默认 5:4，用 cover 会切掉左侧注射器架和右侧仪器。
   这里单独改成 16:9，图按原比例铺满；透明处仍是上面那层深色底，不要改成纯黑。 */
.platform-visual.is-equipment { aspect-ratio: 16 / 9; }
.platform-visual.is-equipment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.platform-visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.platform-visual figcaption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .45);
}
.platform h2 { margin-top: 14px; font-size: clamp(26px, 2.8vw, 36px); }
.platform .lead { margin-top: 18px; font-size: 16.5px; color: var(--muted); }
.feature-list { margin-top: 28px; }
.feature-list li { position: relative; padding: 13px 0 13px 28px; border-top: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.meta-rows { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 12px 20px; align-items: baseline; }
.meta-rows dt { font-size: 13px; color: var(--faint); white-space: nowrap; }
.meta-rows dd { margin: 0; }

.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mode { padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.mode b { font-family: var(--font-num); font-weight: 500; font-size: 13px; letter-spacing: .14em; color: var(--accent-strong); }
.mode h3 { margin: 16px 0 10px; font-size: 19px; }
.mode p { font-size: 15px; color: var(--muted); }

/* ---------- 解决方案与案例页 ---------- */
.sector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.sector-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 48px;
  border-radius: var(--radius-lg);
  color: #fff;
}
.sector-card.pharma { background: radial-gradient(500px 300px at 100% 0%, rgba(106, 166, 245, .28), transparent 65%), #0D2233; }
.sector-card.care { background: radial-gradient(500px 300px at 100% 0%, rgba(63, 216, 194, .28), transparent 65%), #0B2725; }
.sector-card .kicker { color: rgba(255, 255, 255, .6); }
.sector-card h3 { margin-top: 16px; font-size: clamp(24px, 2.4vw, 30px); }
.sector-card > p { margin-top: 14px; color: rgba(255, 255, 255, .7); max-width: 460px; }
.sector-card ul { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.sector-card li { display: flex; gap: 12px; align-items: baseline; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .86); }
.sector-card li b { font-family: var(--font-num); font-weight: 500; font-size: 12px; color: rgba(255, 255, 255, .45); }
.sector-card > :not(.sector-ring) { position: relative; z-index: 1; }
.sector-ring { position: absolute; right: -120px; top: -120px; width: 300px; height: 300px; opacity: .35; pointer-events: none; }

.case-detail { display: grid; grid-template-columns: 340px 1fr; gap: 64px; padding: 64px 0; border-top: 1px solid var(--line); }
.case-detail:last-child { border-bottom: 1px solid var(--line); }
.case-side .case-no { font-family: var(--font-num); font-size: 56px; font-weight: 500; line-height: 1; color: var(--accent); }
.case-side h3 { margin: 20px 0 16px; font-size: 24px; }
.case-side .draft-note { margin-top: 18px; }
.case-side .case-art { margin-top: 24px; border-radius: var(--radius); }
.case-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 40px; }
.case-blocks h4 { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 10px; }
.case-blocks h4::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.case-blocks p, .case-blocks li { font-size: 15.5px; color: var(--muted); }
.case-blocks li { position: relative; padding-left: 16px; }
.case-blocks li + li { margin-top: 6px; }
.case-blocks li::before { content: ""; position: absolute; left: 0; top: .78em; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }
.case-blocks .result { grid-column: 1 / -1; padding: 24px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }

/* ---------- 关于肽为页 ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.intro-statement { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.5; }
.intro-statement em { font-style: normal; color: var(--accent-strong); }
.intro-text p + p { margin-top: 16px; }
.intro-text p { color: var(--muted); font-size: 16.5px; }

.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.name-card { position: relative; overflow: hidden; padding: 44px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.name-card .glyph {
  position: absolute;
  right: 24px;
  top: -20px;
  font-size: 200px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent-soft);
  pointer-events: none;
}
.name-card h3 { position: relative; font-size: 22px; }
.name-card h3 span { font-size: 40px; color: var(--accent-strong); margin-right: 12px; }
.name-card p { position: relative; margin-top: 14px; max-width: 420px; color: var(--muted); }

.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-item { padding: 36px 32px; border-top: 3px solid var(--accent); background: rgba(255, 255, 255, .04); border-radius: 0 0 var(--radius) var(--radius); }
.mvv-item small { font-family: var(--font-num); font-size: 12px; letter-spacing: .2em; color: var(--accent-glow); }
.mvv-item h3 { margin: 12px 0 14px; font-size: 21px; }
.mvv-item p { color: rgba(255, 255, 255, .7); }
.mvv-item ul { display: grid; gap: 10px; }
.mvv-item li { color: rgba(255, 255, 255, .78); }
.mvv-item li b { color: #fff; margin-right: 8px; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 40px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.tl-item { position: relative; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: -36px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--accent);
}
.tl-item .year { font-family: var(--font-num); font-size: 28px; font-weight: 500; color: var(--ink); }
.tl-item p { margin-top: 8px; color: var(--muted); font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.member { display: flex; flex-direction: column; text-align: left; min-width: 0; }
.member .avatar {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: #6E7378;
}
/* 姓名 | 职务 同一行 */
.member h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; margin-top: 20px; font-size: 22px; }
.member .role {
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-strong);
}
.member-bio { margin-top: 14px; display: grid; gap: 8px; }
.member-bio li { position: relative; padding-left: 16px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.member-bio li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* 2026-11-02 关于页的实验室与平台整块已删除，.lab-grid 不要加回来。 */

/* ---------- 联系我们页 ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact-list { margin-top: 32px; display: grid; gap: 4px; }
.contact-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item .ci-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 13px; color: var(--faint); }
.contact-item div { font-size: 16px; }

.form-card { padding: 48px; border-radius: var(--radius-lg); background: var(--paper); }
.form-card h2 { font-size: 26px; }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.form-grid { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field label i { font-style: normal; color: #C2410C; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { height: auto; min-height: 140px; padding: 12px 16px; resize: vertical; line-height: 1.7; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235B6873' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(14, 156, 138, .14); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #DC6B4A; }
.form-foot { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-foot .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); max-width: 420px; }
.form-foot .consent input { margin-top: 4px; accent-color: var(--accent); }
.form-status { margin-top: 18px; font-size: 14px; color: var(--accent-strong); min-height: 1.5em; }
.form-status.is-error { color: #C2410C; }
/* 公司位置：园区照片 + 地址 + 地图链接 */
.map-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  margin-top: 56px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
}
.map-photo { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.map-info { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 40px; }
.map-info .kicker { color: var(--accent-glow); }
.map-info h3 { font-size: 24px; }
.map-info p { font-size: 17px; color: rgba(255, 255, 255, .8); }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.map-links .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
.map-links .btn-outline:hover { border-color: var(--accent-glow); color: var(--accent-glow); }
.contact-item a, .footer-contact a { border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.contact-item a:hover { color: var(--accent-strong); border-color: currentColor; }
.footer-contact a:hover { color: #fff; border-color: currentColor; }

/* ---------- 进场动画 ----------
   内容始终可见（不从透明淡入），进入视口时只做轻微上移，
   这样截图、快照和不滚动的读者看到的都是完整页面。 */
.js .reveal { transform: translateY(20px); transition: transform .9s var(--ease); }
.js .reveal.is-in { transform: none; }
.js .reveal-d1 { transition-delay: .08s; }
.js .reveal-d2 { transition-delay: .16s; }
.js .reveal-d3 { transition-delay: .24s; }

/* SVG 动画 */
.spin { transform-box: view-box; transform-origin: 50% 50%; animation: spin 18s linear infinite; }
.spin-slow { transform-box: view-box; transform-origin: 50% 50%; animation: spin 120s linear infinite; }
.spin-rev { transform-box: view-box; transform-origin: 50% 50%; animation: spin 90s linear infinite reverse; }
.pulse { animation: pulse 2.4s ease-in-out infinite; }
.scan { animation: scan 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes scan { from { transform: translateX(-120px); } to { transform: translateX(520px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { transform: none; }
}

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .nav-link { padding: 8px 10px; font-size: 14.5px; }
  .nav-cta { margin-left: 8px; padding: 0 18px; }
}

/* AI 自驱动平台：中等宽度先收窄左侧照片和标签栏，窄屏改为纵向流程 */
@media (max-width: 1180px) {
  .aip-main { grid-template-columns: 160px 1fr; }
  .aip-top { grid-template-columns: 1fr 72px 1.3fr 72px 1fr; }
  .aip-dirs, .aip-modules { grid-template-columns: 1fr; }
  .aip-dirs h3, .aip-modules h3 { padding-left: 4px; }
}
@media (max-width: 860px) {
  .aip { padding: 20px; }
  .aip-dirs ul { grid-template-columns: 1fr; gap: 10px; }
  .aip-main { grid-template-columns: 1fr; }
  .aip-core { min-height: 0; aspect-ratio: 16 / 9; }
  .aip-core img { object-position: 50% 30%; }
  .aip-flow { padding: 16px; gap: 12px; }
  .aip-top, .aip-steps { grid-template-columns: 1fr; }
  .aip-arrow { height: 44px; }
  .aip-arrow::before { left: 50%; right: auto; top: 6px; bottom: 14px; width: 3px; height: auto; margin: 0 0 0 -1.5px; }
  .aip-arrow::after { right: auto; left: 50%; top: auto; bottom: 2px; margin: 0 0 0 -8px; border: 8px solid transparent; border-top: 12px solid var(--accent-glow); border-bottom: 0; }
  .aip-arrow span { top: 0; left: 18px; }
  .aip-loop { height: auto; margin: 4px 0 0; border: 0; text-align: center; }
  .aip-loop::before { display: none; }
  .aip-loop span { position: static; display: inline-block; transform: none; white-space: normal; }
  .aip-loop span::before { content: "↺  "; }
  .aip-modules ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .aip { padding: 14px; gap: 16px; }
  .aip-modules ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .cards-4, .modes { grid-template-columns: repeat(2, 1fr); }
  .platform-card { min-height: 300px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(3) { padding-left: 0; border-left: 0; }
  .why-item:nth-child(n + 3) { border-top: 1px solid var(--line-dark); margin-top: 28px; }
  .team-grid { gap: 20px; }
  .loop-explorer { gap: 48px; }
  .page-hero-art { opacity: .45; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  /* 页头带 backdrop-filter，会成为 fixed 子元素的定位容器，所以菜单改为相对页头绝对定位并写明高度 */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    margin: 0;
    padding: 8px 24px 40px;
    overflow-y: auto;
    background: #fff;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { padding: 16px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav-link::after { left: auto; right: 4px; top: 50%; bottom: auto; margin: -2px 0 0; }
  /* 子菜单跟随整个菜单显隐（inherit）：写死 visible 会让菜单收起时看不见的链接仍盖在页面上被点到 */
  .sub { position: static; min-width: 0; padding: 4px 0 12px 12px; opacity: 1; visibility: inherit; transform: none; box-shadow: none; background: transparent; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { visibility: inherit; transform: none; }
  .sub a { padding: 8px 4px; color: var(--muted); }
  .nav-cta { margin: 24px 0 0; justify-content: center; height: 48px; }
  .site-nav > ul > li:last-child { display: flex; flex-direction: column; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 8px; }
  .hero-visual { justify-self: center; max-width: 380px; margin-top: 32px; }
  .hero-stages { grid-template-columns: repeat(2, 1fr); row-gap: 4px; margin-top: 40px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .loop-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .loop-return { display: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .case-card { display: grid; grid-template-columns: 220px 1fr; }
  .case-card .case-art { aspect-ratio: auto; height: 100%; }
  .compare, .feature-3, .mvv, .name-grid, .sector-grid { grid-template-columns: 1fr; }
  .loop-explorer { grid-template-columns: 1fr; }
  .loop-wheel { max-width: 460px; margin-inline: auto; }
  .coverage { grid-template-columns: 1fr; gap: 14px; }
  .platform { grid-template-columns: 1fr; gap: 36px; }
  .platform.reverse .platform-visual { order: 0; }
  .case-detail { grid-template-columns: 1fr; gap: 32px; padding: 48px 0; }
  .case-side .case-art { display: none; }
  .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .timeline::before { display: none; }
  .tl-item::before { top: -28px; }
  .team-grid { grid-template-columns: 1fr; gap: 32px; }
  .member { display: grid; grid-template-columns: 200px 1fr; column-gap: 24px; align-items: start; }
  .member .avatar { grid-row: span 2; }
  .member h3 { margin-top: 0; }
  .map-card { grid-template-columns: 1fr; }
  .map-photo { min-height: 0; height: 240px; }
  .map-info { padding: 28px 24px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
  .page-hero-art { width: 420px; height: 420px; right: -200px; opacity: .35; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  :root { --header-h: 64px; }
  .brand-logo { height: 36px; }
  .hero { padding-top: calc(var(--header-h) + 24px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .cards-4, .modes, .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item + .why-item { padding: 28px 0 0; border-left: 0; }
  .why-item:nth-child(n + 2) { border-top: 1px solid var(--line-dark); margin-top: 24px; }
  .loop-steps { grid-template-columns: 1fr; }
  .case-card { display: flex; }
  .case-card .case-art { aspect-ratio: 16 / 9; height: auto; }
  .case-blocks { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .member { grid-template-columns: 112px 1fr; column-gap: 16px; }
  .member h3 { font-size: 19px; }
  .member .role { margin-left: 8px; padding-left: 8px; font-size: 14px; }
  .member .avatar { grid-row: auto; }
  .member-bio { grid-column: 1 / -1; }
  .timeline { grid-template-columns: 1fr; }
  .map-links .btn { flex: 1 1 auto; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .compare-col, .sector-card, .name-card { padding: 32px 24px; }
  .loop-btn { padding: 8px 16px; }
  .loop-btn .t { font-size: 15px; }
  .cta-band { padding: 40px 24px; }
}
