/* 舒朗科技官网 公共样式（首页 / 关于我们 / 产品 共用）
   品牌色出自 ckzl/final-logo/README_交付说明与后续改造.md §5：
   舒朗青 #0B5C6E（主色）、菌芽绿 #5FBF7A（点缀，≤10%，不承载白底文字）、碳灰 #3C4448（正文） */
:root {
  /* 品牌 */
  --primary: #0B5C6E;
  --primary-deep: #08414E;
  --accent: #5FBF7A;

  /* 表面 */
  --bg: #F7F8F6;
  --bg-alt: #E6F0F2;
  --surface: #FFFFFF;
  --border: #D3E0E3;
  --border-strong: #A9C2C7;

  /* 文字 */
  --ink: #3C4448;
  --ink-strong: #1E2A2D;
  --ink-muted: #5B676B;
  --on-primary: #FFFFFF;
  --on-deep-muted: #B9D3D8;

  /* 尺寸 */
  --space: 8px;
  --container: 1200px;
  --header-h: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-md: 0 1px 2px rgba(8, 65, 78, .06), 0 10px 28px rgba(8, 65, 78, .08);

  /* 字体：只用系统字体，不依赖外部 CDN，离线也能正常显示 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

/* 滚动条：深色首屏是整页最亮的地方，系统默认的浅灰滚动条贴着深底看像一条白边。
   轨道设透明（露出当前区块底色），滑块用品牌青半透明，深浅底都压得住 */
html { scrollbar-width: thin; scrollbar-color: rgba(11, 92, 110, .5) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(11, 92, 110, .5);
  border: 3px solid transparent; border-radius: 6px; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(11, 92, 110, .75); }
::-webkit-scrollbar-corner { background: transparent; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  line-height: 1.75;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { color: var(--ink-strong); line-height: 1.25; margin: 0; text-wrap: balance; letter-spacing: .02em; }
h1 { font-size: clamp(2.125rem, 1.2rem + 3.4vw, 4rem); font-weight: 700; line-height: 1.18; }
h2 { font-size: clamp(1.625rem, 1.1rem + 1.8vw, 2.625rem); font-weight: 700; }
h3 { font-size: clamp(1.0625rem, 1rem + .35vw, 1.375rem); font-weight: 600; line-height: 1.4; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 calc(var(--space) * 3); }
.section { padding: calc(var(--space) * 13) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 46em; }
.lead { color: var(--ink-muted); margin-top: calc(var(--space) * 2); max-width: 38em; }
.code { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* 跳到正文 */
.skip-link {
  position: absolute; left: calc(var(--space) * 2); top: -100px; z-index: 100;
  padding: var(--space) calc(var(--space) * 2);
  background: var(--primary-deep); color: var(--on-primary); border-radius: var(--radius-sm);
}
.skip-link:focus { top: calc(var(--space) * 2); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

/* ===== 顶栏 ===== */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px rgba(11, 92, 110, .08); }

/* 顶部阅读进度：滚动时反馈当前所处位置 */
.read-progress {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 2px;
  background: var(--primary); pointer-events: none;
  transform: scaleX(0); transform-origin: 0 50%;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.nav__links { display: flex; align-items: center; gap: calc(var(--space) * 4); list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--ink); font-weight: 500; padding: var(--space) 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }
.nav__links .nav__cta { padding: var(--space) calc(var(--space) * 2); border: 1px solid var(--primary); border-radius: var(--radius-sm); color: var(--primary); }
.nav__toggle { display: none; background: none; border: 0; padding: var(--space); color: var(--ink-strong); cursor: pointer; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space);
  min-height: 48px; padding: calc(var(--space) * 1.5) calc(var(--space) * 3);
  border-radius: var(--radius-sm); border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s, transform .1s;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--ghost { background: transparent; color: var(--primary); border-color: var(--border-strong); }
.btn--light { background: var(--surface); color: var(--primary-deep); }
.btn:active { transform: scale(.98); }
.btn-group { display: flex; flex-wrap: wrap; gap: calc(var(--space) * 2); margin-top: calc(var(--space) * 4); }
/* ::after 把点击热区扩到约 44px 高，视觉不变 */
.text-link { position: relative; color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: color .2s; }
.text-link::after { content: ""; position: absolute; left: -4px; right: -4px; top: -10px; bottom: -10px; }

@media (hover: hover) {
  .nav__links a:hover { color: var(--primary); }
  .nav__links .nav__cta:hover { background: var(--primary); color: var(--on-primary); }
  .btn--primary:hover { background: var(--primary-deep); box-shadow: var(--shadow-md); }
  .btn--ghost:hover { border-color: var(--primary); background: var(--surface); }
  .btn--light:hover { background: var(--bg-alt); }
  .text-link:hover { color: var(--primary-deep); }
}

/* ===== 首屏 ===== */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--space) * 10) 0 calc(var(--space) * 12);
  /* 首屏背景：石材肌理 + 青色菌落，靠右放置，左侧留给文案 */
  background-image: url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* 极淡的点阵底纹，模拟培养皿视野，纯装饰 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 92, 110, .07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
}
/* 左侧白雾：让文字压在干净底色上，同时把图片往右推 */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(247, 248, 246, .97) 0%,
    rgba(247, 248, 246, .93) 38%,
    rgba(247, 248, 246, .70) 64%,
    rgba(247, 248, 246, .28) 100%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: calc(var(--space) * 8); align-items: center; }
.hero__kicker { color: var(--primary); font-weight: 600; margin-bottom: calc(var(--space) * 2); }
.hero .lead { font-size: 1.0625em; }
.hero__figure { width: 100%; max-width: 520px; justify-self: end; }
.hero__figure svg { width: 100%; height: auto; }

/* 数据条独占整行，避免在左栏里挤压 */
.facts {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--space) * 3);
  margin: calc(var(--space) * 8) 0 0; padding-top: calc(var(--space) * 3); border-top: 1px solid var(--border);
}
.facts div { min-width: 0; }
.facts dt { font-size: 1.5rem; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; line-height: 1.3; white-space: nowrap; }
.facts dd { margin: 4px 0 0; font-size: .875rem; color: var(--ink-muted); line-height: 1.5; }

/* 首屏 SVG 工艺示意 */
.fig-ring { fill: none; stroke: var(--primary); stroke-width: 2; }
.fig-ring--dash { stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 2 7; }
.fig-node { fill: var(--surface); stroke: var(--primary); stroke-width: 1.5; }
.fig-node--soft { stroke: var(--border-strong); }
.fig-out { fill: var(--primary); }
.fig-line { fill: none; stroke: var(--primary); stroke-width: 1.5; }
.fig-arrow { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fig-cell { fill: none; stroke: var(--primary); stroke-width: 1.2; opacity: .35; }
.fig-soil { fill: var(--accent); }
.fig-t1 { font-size: 15px; font-weight: 600; fill: var(--primary); }
.fig-t2 { font-size: 12px; fill: var(--ink-muted); }
.fig-t3 { font-size: 14px; font-weight: 600; fill: var(--on-primary); }
.fig-t4 { font-size: 14px; font-weight: 600; fill: var(--primary-deep); }
.fig-t0 { font-size: 13px; fill: var(--ink); }
/* 首屏工艺图动效：循环播放，提供暂停按钮；图离开视口时由 JS 自动暂停 */
.hero__figure { position: relative; }
/* 只给有动画的元素设变换原点；不能用 svg *，否则会改变杆菌图形自带的 rotate() */
.fig-bubble, .fig-pulse, .fig-drop, .drift { transform-box: fill-box; transform-origin: center; }

/* 曝气气泡持续上升 */
.fig-bubble { fill: var(--surface); stroke: var(--primary); stroke-width: 1; animation: bubble 2.4s ease-out infinite; }
.fig-bubble:nth-of-type(2) { animation-delay: .6s; }
.fig-bubble:nth-of-type(3) { animation-delay: 1.2s; }
.fig-bubble:nth-of-type(4) { animation-delay: 1.8s; }
@keyframes bubble {
  0%   { transform: translateY(12px) scale(.6); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(-18px) scale(1); opacity: 0; }
}

/* 工序节点依次亮起：输入 → 发酵 → 曝气 → 产物，6 秒一轮 */
.fig-pulse { fill: none; stroke: var(--accent); stroke-width: 3; opacity: 0; animation: pulse 6s ease-in-out infinite; }
.fig-pulse--2 { animation-delay: .9s; }
.fig-pulse--3 { animation-delay: 1.8s; }
.fig-pulse--4 { animation-delay: 2.7s; }
@keyframes pulse {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  22%  { opacity: 0; }
  100% { opacity: 0; }
}

/* 产物颗粒落入土壤 */
.fig-drop { fill: var(--surface); stroke: var(--primary); stroke-width: 1.2; opacity: 0; animation: drop 6s ease-in infinite 3.2s; }
.fig-drop--b { animation-delay: 3.5s; }
@keyframes drop {
  0%   { transform: translateY(0); opacity: 0; }
  4%   { opacity: 1; }
  18%  { transform: translateY(44px); opacity: 0; }
  100% { transform: translateY(44px); opacity: 0; }
}

/* 背景杆菌缓慢漂移 */
.drift { animation: drift 7s ease-in-out infinite alternate; }
.drift:nth-child(2n) { animation-duration: 9s; animation-direction: alternate-reverse; }
.drift:nth-child(3n) { animation-duration: 11s; }
@keyframes drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(6px, -8px); }
}

.hero__figure.is-paused svg * { animation-play-state: paused !important; }

/* ===== 技术底座 + 四条产品线 ===== */
.base {
  margin-top: calc(var(--space) * 6);
  background: var(--primary-deep); color: var(--on-primary);
  border-radius: var(--radius-lg); padding: calc(var(--space) * 4);
  position: relative;
}
.base__title { color: var(--on-deep-muted); font-size: .875rem; font-weight: 600; margin-bottom: calc(var(--space) * 2); }
.base__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--space) * 3); }
.base__list li { display: flex; gap: calc(var(--space) * 1.5); align-items: flex-start; }
.base__list svg { flex: none; width: 28px; height: 28px; color: var(--accent); margin-top: 2px; }
.base__list strong { display: block; color: var(--on-primary); font-size: 1rem; }
.base__list span { display: block; color: var(--on-deep-muted); font-size: .8125rem; line-height: 1.6; margin-top: 2px; }

/* 主干到四个出口的分叉连线（桌面端） */
/* 左右各缩进半列：(容器宽 - 3 个列间距 24px) / 8，横线两端正好落在第 1、4 列中心 */
.fork { position: relative; height: 56px; margin: 0 calc((100% - 72px) / 8); }
.fork::before { content: ""; position: absolute; left: 50%; top: 0; height: 28px; border-left: 2px solid var(--primary); }
.fork::after { content: ""; position: absolute; left: 0; right: 0; top: 28px; border-top: 2px solid var(--primary); }

.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--space) * 3); }
.line { position: relative; padding-top: calc(var(--space) * 3); }
.line::before { content: ""; position: absolute; left: 50%; top: -28px; height: 52px; border-left: 2px solid var(--primary); }
.line::after { content: ""; position: absolute; left: calc(50% - 6px); top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--primary); }
.line__inner { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: calc(var(--space) * 3); height: 100%; display: flex; flex-direction: column; overflow: hidden; }
/* 卡片顶部场景图：负边距撑满整卡，上圆角与卡片一致 */
.line__img {
  flex: none; display: block;
  width: calc(100% + var(--space) * 6); max-width: none;
  margin: calc(var(--space) * -3) calc(var(--space) * -3) calc(var(--space) * 2.5);
  aspect-ratio: 16 / 10; height: auto; object-fit: cover;
  background: var(--bg-alt);
}
.line__code { font-family: var(--font-mono); color: var(--primary); font-weight: 700; font-size: .875rem; }
.line__motto { font-size: 1.625rem; font-weight: 700; color: var(--ink-strong); margin: 4px 0 2px; letter-spacing: .04em; }
.line h3 { font-size: 1rem; color: var(--primary); }
.line p { color: var(--ink-muted); font-size: .9375rem; margin-top: var(--space); }
.line dl { margin: calc(var(--space) * 2) 0; padding-top: calc(var(--space) * 2); border-top: 1px dashed var(--border); font-size: .875rem; display: grid; grid-template-columns: auto 1fr; gap: 4px calc(var(--space) * 1.5); }
.line dt { color: var(--ink-muted); }
.line dd { margin: 0; color: var(--ink-strong); }
.line .text-link { margin-top: auto; align-self: flex-start; font-size: .9375rem; }
.lines__note { margin-top: calc(var(--space) * 3); color: var(--ink-muted); font-size: .875rem; }

/* ===== 对比表 ===== */
.compare { width: 100%; border-collapse: collapse; margin-top: calc(var(--space) * 5); background: var(--surface); border-radius: var(--radius-md); overflow: hidden; font-size: .9375rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: calc(var(--space) * 2) calc(var(--space) * 2.5); border-bottom: 1px solid var(--border); }
.compare thead th { background: var(--primary-deep); color: var(--on-primary); font-weight: 600; }
.compare thead th:last-child { box-shadow: inset 0 -3px 0 var(--accent); }
.compare tbody th { width: 16%; color: var(--ink-strong); font-weight: 600; white-space: nowrap; }
.compare td { width: 42%; }
.compare td:first-of-type { color: var(--ink-muted); }
.compare td:last-of-type { color: var(--ink-strong); background: rgba(95, 191, 122, .06); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* ===== 应用场景 ===== */
.scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--space) * 5); margin-top: calc(var(--space) * 6); }
.scene svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: calc(var(--space) * 2); }
.scene p { color: var(--ink-muted); font-size: .9375rem; margin-top: var(--space); }

/* ===== 专利条 ===== */
.patents { display: grid; grid-template-columns: 1fr 1.6fr; gap: calc(var(--space) * 6); align-items: start; }
.patent-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.patent-list li { display: grid; grid-template-columns: 88px 1fr auto; gap: calc(var(--space) * 2); align-items: baseline; padding: calc(var(--space) * 2) 0; border-bottom: 1px solid var(--border); }
.patent-list .tag { font-size: .8125rem; font-weight: 600; color: var(--primary); }
.patent-list .name { color: var(--ink-strong); }
.patent-list .code { color: var(--ink); font-size: .9375rem; }
.patent-note { margin-top: calc(var(--space) * 2); font-size: .875rem; color: var(--ink-muted); }

/* ===== 环境治理 ===== */
.env { display: grid; grid-template-columns: 1fr 1.6fr; gap: calc(var(--space) * 6); align-items: start; }
.env-list { list-style: none; margin: 0; padding: 0; }
.env-list li { padding: calc(var(--space) * 2.5) 0; border-bottom: 1px solid var(--border-strong); }
.env-list li:first-child { padding-top: 0; }
.env-list p { color: var(--ink-muted); font-size: .9375rem; margin-top: 4px; }

/* ===== 招募合伙人（深色区块，配反白 Logo） ===== */
.partner { background: var(--primary-deep); color: var(--on-primary); position: relative; overflow: hidden; }
.partner::after {
  content: ""; position: absolute; right: -160px; bottom: -220px; width: 560px; height: 560px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .08); pointer-events: none;
}
.partner h2, .partner h3 { color: var(--on-primary); }
.partner .lead { color: var(--on-deep-muted); }
.partner__logo { height: 44px; width: auto; margin-bottom: calc(var(--space) * 4); }
.partner__ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--space) * 5); margin-top: calc(var(--space) * 6); }
.way svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: calc(var(--space) * 2); }
.way p { color: var(--on-deep-muted); font-size: .9375rem; margin-top: var(--space); }
.steps { list-style: none; margin: calc(var(--space) * 7) 0 0; padding: calc(var(--space) * 4) 0 0; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(var(--space) * 3); counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-mono); color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.steps strong { display: block; color: var(--on-primary); }
.steps span { display: block; color: var(--on-deep-muted); font-size: .875rem; }
.partner .btn-group { position: relative; z-index: 1; }

/* ===== 联系我们 ===== */
.contact { display: grid; grid-template-columns: 1fr 1.6fr; gap: calc(var(--space) * 6); align-items: start; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: calc(var(--space) * 4); }
.contact-card__name { font-size: 1.125rem; font-weight: 700; color: var(--ink-strong); }
.contact-list { margin: calc(var(--space) * 2) 0 0; }
.contact-item { display: grid; grid-template-columns: 72px 1fr; gap: calc(var(--space) * 2); padding: calc(var(--space) * 1.5) 0; border-top: 1px solid var(--border); }
.contact-item dt { color: var(--ink-muted); }
.contact-item dd { margin: 0; color: var(--ink-strong); }
/* 字段为空时整行不显示；全部为空时显示提示 */
.contact-item:has(dd:empty) { display: none; }
.contact-fallback { display: none; margin-top: calc(var(--space) * 2); color: var(--ink-muted); }
.contact-card:not(:has(.contact-item dd:not(:empty))) .contact-fallback { display: block; }

/* ===== 页脚（四列信息结构 + 动态光斑背景） ===== */
.site-footer {
  position: relative; overflow: hidden;
  /* 顶部一道极淡高光，和上方浅色区块过渡，不至于硬切 */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 20%),
    var(--primary-deep);
  color: var(--on-deep-muted);
  padding: calc(var(--space) * 6) 0 calc(var(--space) * 3);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.footer__bg { position: absolute; inset: 0; pointer-events: none; }
/* 细点阵：沿用首屏培养皿视野，向下渐隐 */
.footer__bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.5px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
/* 光斑：进入视口后由 JS 加 .is-live 才播放，省电 */
.footer__glow {
  position: absolute; inset: -25% -15%;
  background:
    radial-gradient(34% 40% at 14% 24%, rgba(95, 191, 122, .22), transparent 68%),
    radial-gradient(40% 46% at 82% 76%, rgba(11, 92, 110, .75), transparent 70%),
    radial-gradient(26% 32% at 58% 6%, rgba(185, 211, 216, .16), transparent 68%);
  animation: footer-drift 34s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.site-footer.is-live .footer__glow { animation-play-state: running; }
@keyframes footer-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}
.footer__grid {
  position: relative;
  display: grid;
  /* 最后一列留宽一点放联系入口，避免右侧出现大片空白 */
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, .8fr) minmax(0, 1.05fr);
  gap: calc(var(--space) * 4) calc(var(--space) * 5);
}
.footer__logo { height: 48px; width: auto; }
.footer__desc { margin-top: calc(var(--space) * 2); max-width: 21em; font-size: .875rem; line-height: 1.75; }
.footer__title {
  display: flex; align-items: center; gap: var(--space);
  margin-bottom: calc(var(--space) * 1.5);
  font-size: .8125rem; font-weight: 700; letter-spacing: .14em; color: var(--on-primary);
}
/* 列标题前的短色条，比纯文字更有结构感 */
.footer__title::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: var(--accent); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.footer__list a, .footer__list span {
  display: inline-block; padding: 5px 0;
  font-size: .9375rem; color: var(--on-deep-muted); text-decoration: none;
  transition: color .2s, padding-left .2s;
}
.footer__bottom {
  position: relative; display: flex; flex-wrap: wrap;
  gap: var(--space) calc(var(--space) * 4);
  align-items: center; justify-content: space-between;
  margin-top: calc(var(--space) * 5); padding-top: calc(var(--space) * 2.5);
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem;
}
.footer__bottom p { margin: 0; }
.footer__top-link { color: var(--on-primary); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 1px; }
.footer__top-link svg { display: inline-block; vertical-align: -2px; margin-left: 4px; }
@media (hover: hover) {
  .footer__list a:hover, .footer__top-link:hover { color: var(--accent); }
  .footer__list a:hover { padding-left: 6px; }
  .footer__top-link:hover { border-bottom-color: currentColor; }
}

/* ===== 入场动效：首屏一组 + 产品线一处，其余区块不加 ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-item { animation: fade-up .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-item:nth-child(2) { animation-delay: .1s; }
.hero-item:nth-child(3) { animation-delay: .2s; }
.hero-item:nth-child(4) { animation-delay: .3s; }
.hero-item:nth-child(5) { animation-delay: .4s; }
.hero-item--late { animation-delay: .5s; }
/* 滚动入场：整块上浮。--reveal-y 可按区块调位移，--reveal-delay 做块间错开 */
.js .reveal {
  opacity: 0;
  transform: translateY(var(--reveal-y, 30px));
  transition: opacity .75s cubic-bezier(.22, .7, .24, 1), transform .75s cubic-bezier(.22, .7, .24, 1);
  transition-delay: var(--reveal-delay, 0s);
}
/* 图示类：轻微放大 + 上浮，比单纯位移更有层次 */
.js .reveal--zoom { transform: translateY(18px) scale(.965); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* 产品线分叉：主干向下画出 → 横线展开 → 四条支线落下 → 卡片依次升起
   整段压到 1.2s 内：原来的 1.05s 起点让卡片要等 1.3s 才淡入，
   用户滚到卡片时动画早跑完（或还没开始），看起来像「没有入场动画」 */
:root { --line-delay: .58s; }
.js .reveal .fork::before { transform: scaleY(0); transform-origin: top; transition: transform .28s ease-out .16s; }
.js .reveal .fork::after { transform: scaleX(0); transition: transform .38s ease-out .4s; }
.js .reveal .line::before { transform: scaleY(0); transform-origin: top; transition: transform .26s ease-out var(--line-delay); }
.js .reveal .line::after { transform: scale(0); transition: transform .26s ease-out calc(var(--line-delay) + .12s); }
.js .reveal .line__inner { opacity: 0; transform: translateY(16px); transition: opacity .45s ease-out, transform .45s ease-out; transition-delay: calc(var(--line-delay) + .18s + var(--i, 0) * .08s); }
.line:nth-child(2) { --i: 1; }
.line:nth-child(3) { --i: 2; }
.line:nth-child(4) { --i: 3; }
.js .reveal.is-visible .fork::before, .js .reveal.is-visible .fork::after,
.js .reveal.is-visible .line::before, .js .reveal.is-visible .line::after,
.js .reveal.is-visible .line__inner { transform: none; opacity: 1; }

/* 成组内容依次淡入；--i 由 JS 按子元素序号写入 */
.js .stagger > * {
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s cubic-bezier(.22, .7, .24, 1), transform .6s cubic-bezier(.22, .7, .24, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .stagger.is-visible > * { opacity: 1; transform: none; }

/* ===== 响应式 =====
   按视口宽度分三档：>1024 桌面、≤1024 平板两列、≤767 手机单列。
   2026-11-27 曾试过绑定 pointer: coarse + body 最小宽度强行保桌面版，
   结果窄窗口出现横向滚动、导航被截，用户否掉，已回滚。 */
@media (max-width: 1024px) {
  /* 单列后文字在上、图在下，遮罩改为纵向 */
  .hero { background-position: center bottom; }
  .hero::after {
    background: linear-gradient(180deg,
      rgba(247, 248, 246, .97) 0%,
      rgba(247, 248, 246, .93) 48%,
      rgba(247, 248, 246, .58) 78%,
      rgba(247, 248, 246, .30) 100%);
  }
  .hero__grid { grid-template-columns: 1fr; gap: calc(var(--space) * 6); }
  .hero__figure { justify-self: center; max-width: 440px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .base__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fork { display: none; }
  :root { --line-delay: .2s; }
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: calc(var(--space) * 3); }
  .line { padding-top: 0; }
  .line::before, .line::after { display: none; }
  .scenes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .patents, .env, .contact { grid-template-columns: 1fr; gap: calc(var(--space) * 4); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .section { padding: calc(var(--space) * 8) 0; }
  .hero { padding: calc(var(--space) * 6) 0 calc(var(--space) * 8); }
  .brand img { height: 40px; }
  .nav__toggle { display: inline-flex; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { display: block; padding: calc(var(--space) * 2) calc(var(--space) * 3); border-bottom: 0; }
  .nav__links a[aria-current="page"] { border-bottom: 0; background: var(--bg-alt); }
  .nav__links .nav__cta { margin: var(--space) calc(var(--space) * 3) calc(var(--space) * 2); text-align: center; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .base { padding: calc(var(--space) * 3); }
  .base__list, .lines, .scenes, .partner__ways { grid-template-columns: 1fr; }
  .patent-list li { grid-template-columns: 1fr; gap: 2px; }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr { border-bottom: 1px solid var(--border); }
  .compare tbody th { width: 100%; white-space: normal; background: var(--bg-alt); border-bottom: 0; }
  .compare td { border-bottom: 0; padding-top: var(--space); }
  .compare td::before { content: attr(data-label); display: block; font-size: .8125rem; font-weight: 600; color: var(--primary); }
  .steps { grid-template-columns: 1fr; }
}

/* 减少动效偏好：必须保留 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal, .js .stagger > *, .js .reveal .line__inner { opacity: 1; transform: none; }
  .js .reveal .fork::before, .js .reveal .fork::after, .js .reveal .line::before, .js .reveal .line::after { transform: none; }
  .fig-toggle { display: none; }
}

/* ============================================================
   关于我们 / 产品页新增组件（MASTER.md §六「待新增」）
   ============================================================ */

/* 锚点跳转同时避开顶栏与产品子导航（--subnav-h 由产品页覆盖） */
html { scroll-padding-top: calc(var(--header-h) + var(--subnav-h, 0px) + 16px); }

/* ===== 页头横幅 ===== */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--space) * 7) 0 calc(var(--space) * 6);
  border-bottom: 1px solid var(--border);
  /* 与首屏同一族的肌理图，菌落集中在右侧，左侧承担标题 */
  background-image: url("../img/page-hero-bg.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
/* 由左至右渐隐的白雾，保证标题与导语对比度 */
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(247, 248, 246, .96) 0%,
    rgba(247, 248, 246, .88) 46%,
    rgba(247, 248, 246, .42) 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: -40px 0; pointer-events: none;
  background-image: radial-gradient(rgba(11, 92, 110, .07) 1px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 40%, #000 78%, transparent 100%);
  /* --py 由滚动视差写入，点阵随滚动轻微反向移动 */
  transform: translate3d(0, var(--py, 0px), 0);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.875rem, 1.1rem + 2.8vw, 3.25rem); max-width: 20em; }
.page-hero .lead { font-size: 1.0625em; }

.crumbs {
  display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 calc(var(--space) * 2);
  padding: 0; font-size: .875rem; color: var(--ink-muted);
}
.crumbs li + li::before { content: "/"; margin: 0 var(--space); color: var(--border-strong); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs [aria-current="page"] { color: var(--ink-strong); }

/* ===== 公司介绍 + 业务链 ===== */
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: calc(var(--space) * 7); align-items: start; }
.intro__body p + p { margin-top: calc(var(--space) * 2); }
.chain {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--space);
  counter-reset: chain;
}
.chain li { padding-top: calc(var(--space) * 1.5); border-top: 2px solid var(--primary); min-width: 0; }
.chain li::before {
  counter-increment: chain; content: counter(chain, decimal-leading-zero);
  display: block; font-family: var(--font-mono); font-size: .75rem; font-weight: 700; color: var(--primary);
}
.chain strong { display: block; margin-top: 2px; font-size: .875rem; line-height: 1.4; color: var(--ink-strong); }

/* ===== 核心技术原理：左右交替图文 ===== */
.tech { display: grid; gap: calc(var(--space) * 7); margin-top: calc(var(--space) * 7); }
.tech__row { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--space) * 6); align-items: center; }
.tech__row:nth-child(even) .tech__fig { order: -1; }
.tech__fig {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: calc(var(--space) * 3);
}
.tech__fig svg { width: 100%; height: auto; }
.tech__row h3 { display: flex; align-items: baseline; gap: var(--space); }
.tech__row h3 .idx { font-family: var(--font-mono); font-size: .875rem; color: var(--primary); font-weight: 700; }
.tech__body { min-width: 0; }
.tech__row p { color: var(--ink-muted); margin-top: calc(var(--space) * 1.5); }

/* 技术原理示意图通用图形 */
.dia-line { fill: none; stroke: var(--primary); stroke-width: 1.5; }
.dia-soft { fill: none; stroke: var(--border-strong); stroke-width: 1.5; }
.dia-dash { fill: none; stroke: var(--border-strong); stroke-width: 1; stroke-dasharray: 4 5; }
.dia-fill { fill: var(--primary); }
.dia-acc { fill: var(--accent); }
.dia-sw { fill: var(--surface); stroke: var(--primary); stroke-width: 1.2; }
.dia-t { font-size: 13px; fill: var(--ink); }
.dia-tl { font-size: 12px; fill: var(--ink-muted); }
.dia-ts { font-size: 13px; font-weight: 600; fill: var(--primary); }

/* ===== 专利卡 ===== */
.patents-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--space) * 3); margin-top: calc(var(--space) * 5);
}
.patent-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: calc(var(--space) * 3) calc(var(--space) * 3) calc(var(--space) * 3) calc(var(--space) * 4);
}
.patent-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--primary); border-radius: var(--radius-md) 0 0 var(--radius-md);
}
.patent-card--util::before { background: var(--accent); }
.patent-card__type { font-size: .8125rem; font-weight: 600; color: var(--primary); }
.patent-card h3 { margin-top: var(--space); font-size: 1rem; }
.patent-fields {
  display: grid; grid-template-columns: 4.5em minmax(0, 1fr);
  gap: 6px calc(var(--space) * 1.5);
  margin: calc(var(--space) * 2.5) 0 0; padding-top: calc(var(--space) * 2);
  border-top: 1px dashed var(--border); font-size: .875rem;
}
.patent-fields dt { color: var(--ink-muted); }
.patent-fields dd { margin: 0; color: var(--ink-strong); overflow-wrap: anywhere; }
.patent-card__note { margin-top: calc(var(--space) * 2); font-size: .8125rem; color: var(--ink-muted); }
.patent-grid__note { margin-top: calc(var(--space) * 3); font-size: .875rem; color: var(--ink-muted); }

/* 文字按钮：视觉同 .text-link，热区仍约 44px */
.link-btn {
  position: relative; background: none; border: 0; padding: 0 0 2px;
  font: inherit; font-weight: 600; color: var(--primary);
  border-bottom: 1px solid currentColor; cursor: pointer;
}
.link-btn::after { content: ""; position: absolute; left: -4px; right: -4px; top: -10px; bottom: -10px; }
.patent-card .link-btn { margin-top: calc(var(--space) * 3); align-self: flex-start; }

/* ===== 专利时间线 ===== */
.timeline {
  list-style: none; margin: calc(var(--space) * 6) 0 0; padding: 0 0 0 calc(var(--space) * 3);
  border-left: 2px solid var(--border-strong); display: grid; gap: calc(var(--space) * 3);
}
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: calc(var(--space) * -3 - 7px); top: .5em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--primary);
}
.timeline time { display: block; font-family: var(--font-mono); font-size: .875rem; font-weight: 700; color: var(--primary); }
.timeline strong { display: block; margin-top: 2px; font-weight: 600; color: var(--ink-strong); }

/* ===== 研发团队（深青底） ===== */
.team { background: var(--primary-deep); color: var(--on-primary); position: relative; overflow: hidden; }
.team::after {
  content: ""; position: absolute; left: -180px; top: -220px; width: 520px; height: 520px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .06); pointer-events: none;
}
.team h2 { color: var(--on-primary); }
.team .lead { color: var(--on-deep-muted); }
.team__list {
  position: relative; list-style: none; margin: calc(var(--space) * 6) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--space) * 4);
}
.member { border-top: 2px solid rgba(255, 255, 255, .16); padding-top: calc(var(--space) * 2); }
.member__name { font-size: 1.125rem; font-weight: 700; color: var(--on-primary); }
.member--lead .member__name { font-size: 1.5rem; }
.member__role { margin-top: 2px; font-size: .8125rem; font-weight: 600; color: var(--accent); }
.member p { margin-top: var(--space); font-size: .875rem; color: var(--on-deep-muted); }
.team .patent-note { color: var(--on-deep-muted); }

/* 三栏价值网格：复用 .scenes 的视觉，只改列数 */
.scenes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ===== 产品子导航 ===== */
.subnav {
  position: sticky; top: var(--header-h); z-index: 15;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.subnav__list {
  display: flex; gap: calc(var(--space) * 4); margin: 0; padding: 0;
  list-style: none; overflow-x: auto; scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: calc(var(--space) * 1.75) 0;
  font-size: .9375rem; font-weight: 500; color: var(--ink-muted);
  text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent;
}
.subnav a[aria-current="true"] { color: var(--primary); border-bottom-color: var(--primary); }

/* ===== 产品选择地图 ===== */
.decision {
  margin-top: calc(var(--space) * 6);
  display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1.2fr) 28px minmax(0, 1fr);
  align-items: center;
}
.dcol { display: grid; gap: calc(var(--space) * 3); align-content: center; }
.dcol__cap { font-size: .8125rem; font-weight: 700; letter-spacing: .1em; color: var(--primary); }
.dnode {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: calc(var(--space) * 3);
}
.dnode__no { font-family: var(--font-mono); font-size: .75rem; font-weight: 700; color: var(--primary); }
.dnode h3 { margin-top: var(--space); font-size: 1.0625rem; }
.dnode__cond {
  display: grid; gap: 6px; margin-top: calc(var(--space) * 2);
  padding-top: calc(var(--space) * 1.5); border-top: 1px dashed var(--border);
  font-size: .875rem; color: var(--ink-muted);
}
.dnode__cond b { color: var(--ink-strong); }
.darrow { display: flex; align-items: center; justify-content: center; color: var(--border-strong); }
.darrow svg { width: 20px; height: 20px; }
.dresults { align-content: center; }
.dresult {
  display: flex; gap: calc(var(--space) * 1.5); align-items: flex-start;
  padding: calc(var(--space) * 2) calc(var(--space) * 2.5);
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink-strong);
  transition: border-color .2s, background-color .2s;
}
.dresult__code { font-family: var(--font-mono); font-weight: 700; font-size: .875rem; color: var(--primary); line-height: 1.7; }
.dresult small { display: block; font-size: .8125rem; color: var(--ink-muted); }

/* ===== 产品详情：工艺路线 / 部署条件 / 场景标签 / 系统构成 ===== */
.pdetail__head { display: grid; gap: calc(var(--space) * 3); }
.pdetail__head__body { display: grid; gap: var(--space); align-content: start; }
/* 详情区场景图：桌面与标题并排，窄屏落到文字下方 */
.pdetail__img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  background: var(--bg-alt);
}
@media (min-width: 1025px) {
  .pdetail__head { grid-template-columns: 1.02fr .98fr; gap: calc(var(--space) * 6); align-items: center; }
}
.pdetail__code { font-family: var(--font-mono); font-size: .875rem; font-weight: 700; color: var(--primary); }
.pdetail__motto { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); font-weight: 700; color: var(--ink-strong); letter-spacing: .04em; }
.pdetail__grid { margin-top: calc(var(--space) * 5); display: grid; gap: calc(var(--space) * 5); }
.pdetail__grid .scenes { margin-top: calc(var(--space) * 3); }

.subhead {
  display: flex; align-items: center; gap: var(--space);
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--primary);
}
.subhead::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.subhead--gap { margin-top: calc(var(--space) * 4); }

.process {
  list-style: none; margin: calc(var(--space) * 3) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: calc(var(--space) * 2); counter-reset: proc;
}
.process li {
  flex: 1 1 140px; min-width: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: calc(var(--space) * 1.5) calc(var(--space) * 2);
  font-size: .875rem; line-height: 1.5; color: var(--ink-strong);
}
.process li::before {
  counter-increment: proc; content: counter(proc, decimal-leading-zero);
  display: block; font-family: var(--font-mono); font-size: .75rem; font-weight: 700; color: var(--primary);
}

.spec {
  display: grid; grid-template-columns: 5.5em minmax(0, 1fr);
  gap: calc(var(--space) * 1.5) calc(var(--space) * 3);
  margin: calc(var(--space) * 3) 0 0; padding-top: calc(var(--space) * 3);
  border-top: 1px solid var(--border); font-size: .9375rem;
}
.spec dt { color: var(--ink-muted); }
.spec dd { margin: 0; color: var(--ink-strong); }

.tag-list {
  display: flex; flex-wrap: wrap; gap: var(--space) calc(var(--space) * 1.5);
  margin: calc(var(--space) * 3) 0 0; padding: 0; list-style: none;
}
.tag-list li {
  padding: 4px calc(var(--space) * 2); border: 1px solid var(--border-strong);
  border-radius: 999px; background: var(--surface); font-size: .875rem; color: var(--ink);
}

.fold { margin-top: calc(var(--space) * 3); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.fold > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space);
  padding: calc(var(--space) * 2) calc(var(--space) * 3);
  font-weight: 600; color: var(--ink-strong); cursor: pointer; list-style: none;
}
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary svg { width: 18px; height: 18px; color: var(--primary); transition: transform .2s; flex: none; }
.fold[open] > summary svg { transform: rotate(90deg); }
.fold__body { padding: 0 calc(var(--space) * 3) calc(var(--space) * 3); }
.fold__body ul { margin: 0; padding-left: 1.2em; color: var(--ink-muted); font-size: .9375rem; }
.fold__body li + li { margin-top: 4px; }

/* 液肥去向三级递进 */
.tiers {
  list-style: none; margin: calc(var(--space) * 4) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--space) * 2); counter-reset: tier;
}
.tiers li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: calc(var(--space) * 2);
  font-size: .875rem; color: var(--ink);
}
.tiers li::before {
  counter-increment: tier; content: counter(tier) " 级";
  display: block; font-family: var(--font-mono); font-size: .75rem; font-weight: 700; color: var(--primary);
}

/* 四线对照表：表头用舒朗青，靠编号区分；手机横向滚动、首列吸附 */
.table-scroll {
  margin-top: calc(var(--space) * 5); overflow-x: auto;
  overscroll-behavior-x: contain; border-radius: var(--radius-md);
}
.compare--lines { margin-top: 0; min-width: 880px; }
/* border-collapse: collapse 下 sticky 单元格不生效，改为 separate 才能吸附首列 */
.compare--lines { border-collapse: separate; border-spacing: 0; }
/* 覆盖首页 .compare 的两列宽度分配（th 16% / td 42%），否则首列被撑到 500px 以上，sticky 会失效 */
.compare--lines th, .compare--lines td { width: auto; }
.compare--lines thead th:first-child, .compare--lines tbody th { width: 11em; }
.compare--lines tbody td { width: 20%; }
/* 首页 .compare 给 table 设了 overflow: hidden，会截断 sticky 的吸附，四线表要放开 */
.compare--lines { overflow: visible; }
.compare--lines thead th { background: var(--primary); }
.compare--lines thead th:first-child { background: var(--primary-deep); }
/* 四线并列，不设推荐列：去掉首页「最后一列高亮」的装饰 */
.compare--lines thead th:last-child { box-shadow: none; }
.compare--lines tbody td, .compare--lines tbody td:last-of-type { background: transparent; }
.compare--lines tbody td:first-of-type { color: var(--ink-muted); }
.compare--lines tbody th { white-space: nowrap; }
.compare--lines thead th, .compare--lines tbody th { position: sticky; left: 0; z-index: 1; }
.compare--lines tbody th { background: var(--surface); }
.compare--lines thead th:first-child { z-index: 2; }

/* 环境治理补充说明 */
.env-note { margin-top: calc(var(--space) * 4); font-size: .875rem; color: var(--ink-muted); }

/* ===== 证书查看：原生 dialog ===== */
.cert-dialog {
  border: 0; padding: 0; margin: auto;
  width: min(92vw, 880px); max-height: 90vh;
  border-radius: var(--radius-md); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-md);
}
.cert-dialog::backdrop { background: rgba(8, 65, 78, .62); }
.cert-dialog__bar {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space);
  padding: calc(var(--space) * 2) calc(var(--space) * 3); border-bottom: 1px solid var(--border);
}
.cert-dialog__bar h2 { font-size: 1rem; }
.cert-dialog__close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); cursor: pointer;
}
.cert-dialog__body { padding: calc(var(--space) * 3); display: grid; place-items: center; }
.cert-dialog__body img { max-height: 72vh; width: auto; }

@media (hover: hover) {
  .crumbs a:hover { color: var(--primary); }
  .subnav a:hover { color: var(--primary); }
  .link-btn:hover { color: var(--primary-deep); }
  .dresult:hover { border-color: var(--primary); background: var(--bg-alt); }
  .fold > summary:hover { color: var(--primary); }
  .cert-dialog__close:hover { border-color: var(--primary); }
}

/* ===== 新组件响应式 ===== */
@media (max-width: 1024px) {
  .intro { grid-template-columns: 1fr; gap: calc(var(--space) * 5); }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--space) * 2); }
  .tech__row { grid-template-columns: 1fr; gap: calc(var(--space) * 3); }
  .tech__row:nth-child(even) .tech__fig { order: 0; }
  .patents-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scenes--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .decision { grid-template-columns: 1fr; }
  .dcol, .dresults { align-content: start; }
  .darrow { transform: rotate(90deg); }
}
@media (max-width: 767px) {
  .page-hero { padding: calc(var(--space) * 5) 0 calc(var(--space) * 4); }
  .chain { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .patents-grid, .team__list, .tiers, .scenes--3 { grid-template-columns: 1fr; }
  .process { flex-direction: column; }
  .process li { flex: none; }
  .spec { grid-template-columns: 1fr; gap: 2px; }
  .spec dt { margin-top: var(--space); }
  /* 对照表恢复为表格并横向滚动，覆盖 .compare 的手机分行规则 */
  .compare--lines { display: table; }
  .compare--lines thead { display: table-header-group; }
  .compare--lines tbody { display: table-row-group; }
  .compare--lines tr { display: table-row; }
  .compare--lines th, .compare--lines td { display: table-cell; width: auto; white-space: normal; }
  .compare--lines td::before { content: none; }
  .compare--lines thead th:first-child, .compare--lines tbody th { position: sticky; left: 0; }
  .cert-dialog { width: 94vw; }
}

/* ============================================================
   动态背景与双语小标（首屏粒子 / 页脚光斑）
   ============================================================ */

/* 首屏粒子层：极淡点阵，JS 绘制；无 JS 时不占位、不影响阅读 */
.hero > .container { position: relative; z-index: 1; }
.hero__particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero__particles canvas { display: block; width: 100%; height: 100%; }

/* 双语小标：英文装饰行 + 中文主标，参考竞品的排版节奏 */
.kicker__en { display: block; margin-bottom: 4px; font-size: .75rem; font-weight: 600; letter-spacing: .24em; color: var(--ink-muted); }
.page-hero__en { margin-bottom: var(--space); font-size: .75rem; font-weight: 600; letter-spacing: .24em; color: var(--primary); }

@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: calc(var(--space) * 5) calc(var(--space) * 4); }
}
@media (max-width: 767px) {
  .site-footer { padding-top: calc(var(--space) * 5); }
  /* 品牌与联系通栏、两个导航列并排，页脚高度从约 970px 压到 700px 以内 */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: calc(var(--space) * 3) calc(var(--space) * 4); }
  .footer__grid > *:first-child, .footer__grid > *:last-child { grid-column: 1 / -1; }
  .footer__bottom { margin-top: calc(var(--space) * 4); }
}

@media (prefers-reduced-motion: reduce) {
  .footer__glow { animation: none; }
  .hero__particles { display: none; }
}

/* ============================================================
   科技版首屏（首页专用 .hero--tech）
   深色沉浸场 + 网格 + 辉光 + 扫描光束；内容区仍保持浅色
   ============================================================ */
.hero--tech {
  color: var(--on-primary);
  /* 深色底 + 原有石材图作隐约肌理，压到极低可见度 */
  background-image:
    linear-gradient(158deg, rgba(6, 34, 43, .95) 0%, rgba(10, 57, 71, .92) 46%, rgba(5, 28, 36, .97) 100%),
    url("../img/hero-bg.jpg");
  background-size: cover, cover;
  background-position: center, center right;
  background-repeat: no-repeat;
}
.hero--tech::before { background-image: radial-gradient(rgba(159, 227, 208, .12) 1px, transparent 1.5px); }
/* 只做底部淡出；顶部保持干净分界，避免出现灰雾带 */
.hero--tech::after {
  /* 底部压到 #lines 的起始色（#07242C），两块深色交界才看不出接缝 */
  background: linear-gradient(180deg, transparent 0%, transparent 84%, rgba(7, 36, 44, .94) 100%);
}

/* 网格层：左上浓、向外淡出 */
.hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(159, 227, 208, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 227, 208, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(115% 90% at 28% 18%, #000 26%, transparent 76%);
}
/* 双团辉光：右上偏绿、左下偏深青 */
.hero__glow {
  position: absolute; inset: -12%; pointer-events: none;
  background:
    radial-gradient(36% 44% at 78% 26%, rgba(95, 191, 122, .18), transparent 70%),
    radial-gradient(48% 56% at 14% 82%, rgba(11, 92, 110, .55), transparent 72%);
}
/* 扫描光束：9 秒一次，极低对比 */
.hero__beam { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__beam::before {
  content: ""; position: absolute; top: -40%; left: -32%;
  width: 34%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(159, 227, 208, .12), transparent);
  transform: rotate(14deg);
  animation: hero-beam 9s linear infinite;
}
@keyframes hero-beam {
  0%   { transform: translateX(-10%) rotate(14deg); opacity: 0; }
  10%  { opacity: 1; }
  55%  { opacity: 1; }
  72%, 100% { transform: translateX(330%) rotate(14deg); opacity: 0; }
}

/* 文字反白 */
.hero--tech h1 { color: var(--on-primary); }
.hero--tech .lead { color: rgba(226, 240, 236, .80); }
.hero--tech .hero__kicker { color: var(--accent); }
.hero--tech .kicker__en { color: rgba(226, 240, 236, .52); }

/* 按钮：主按钮改亮绿，幽灵按钮改半透明白边 */
.hero--tech .btn--primary {
  background: var(--accent); border-color: transparent; color: #06222B;
  box-shadow: 0 12px 32px rgba(95, 191, 122, .22);
}
.hero--tech .btn--primary:hover { background: #74d18f; }
.hero--tech .btn--ghost { color: var(--on-primary); border-color: rgba(255, 255, 255, .30); }
.hero--tech .btn--ghost:hover { border-color: rgba(255, 255, 255, .60); background: rgba(255, 255, 255, .06); }

/* 工艺图整体换深色配色：SVG 全走变量，改作用域即可 */
.hero--tech .hero__figure {
  --primary: #8FE0CB;
  --primary-deep: #D9F4EC;
  --surface: #0A2E38;
  --border-strong: rgba(159, 227, 208, .34);
  --ink: #EAF6F3;
  --ink-muted: rgba(226, 240, 236, .62);
  --on-primary: #06222B;
}
/* 土壤块在深底上会过亮，压成半透明 */
.hero--tech .fig-soil { fill: rgba(95, 191, 122, .42); }

/* 数据条改玻璃卡 */
.hero--tech .facts {
  padding: calc(var(--space) * 3) calc(var(--space) * 4);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(8px);
}
.hero--tech .facts dt { color: var(--accent); }
.hero--tech .facts dd { color: rgba(226, 240, 236, .70); }

@media (max-width: 1024px) {
  .hero--tech::after { background: linear-gradient(180deg, transparent 0%, transparent 88%, rgba(7, 36, 44, .94) 100%); }
  .hero__beam { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__beam { display: none; }
}

/* ============================================================
   全页动态背景
   首屏联网粒子之外，内容区补缓慢漂移的光斑、流动网格、深色光带
   注意：用 overflow: clip 而非 hidden，避免破坏产品页对照表的 sticky 首列
   ============================================================ */
/* overflow: clip 而非 hidden：裁剪背景层溢出，但不创建滚动容器（不破坏 sticky） */
.section { position: relative; overflow: clip; }
.section > .container { position: relative; z-index: 1; }

/* 1) 内容区光斑：52s 极缓漂移，透明度约 5% */
.section::before {
  content: ""; position: absolute; inset: -15%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(24% 30% at 16% 22%, rgba(11, 92, 110, .085), transparent 70%),
    radial-gradient(28% 34% at 84% 76%, rgba(95, 191, 122, .075), transparent 72%),
    radial-gradient(22% 26% at 62% 10%, rgba(56, 132, 255, .045), transparent 72%);
  animation: section-drift 40s ease-in-out infinite alternate;
}
@keyframes section-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

/* 2) 浅灰区块叠流动网格：48px 方格 60s 走完一格 */
.section--alt::after {
  content: ""; position: absolute; inset: -48px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 92, 110, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 110, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-pan 45s linear infinite;
}
@keyframes grid-pan { to { transform: translate3d(48px, 48px, 0); } }

/* 3) 合伙人深色区：斜向光带缓慢扫动 */
.partner::before {
  content: ""; position: absolute; inset: -30% -20%; z-index: 0; pointer-events: none;
  background: linear-gradient(104deg,
    transparent 34%,
    rgba(159, 227, 208, .065) 46%,
    rgba(95, 191, 122, .065) 52%,
    transparent 64%);
  animation: partner-sweep 22s ease-in-out infinite alternate;
}
@keyframes partner-sweep {
  from { transform: translate3d(-8%, 0, 0); }
  to   { transform: translate3d(8%, 0, 0); }
}
.partner > .container { position: relative; z-index: 1; }

/* 4) 首屏网格缓慢平移（与粒子、光束叠加成三层动效） */
.hero__mesh { inset: -56px; animation: mesh-pan 80s linear infinite; }
@keyframes mesh-pan { to { transform: translate3d(56px, 56px, 0); } }

@media (prefers-reduced-motion: reduce) {
  .section::before, .section--alt::after, .partner::before, .hero__mesh { animation: none; }
}

/* ============================================================
   质感层（借鉴阿里云的多层光晕 + 竞品的颗粒纹理）
   1) 全站细噪点：消除纯渐变的「塑料感」，一处覆盖三页
   2) 首屏彩色光晕：青 + 菌芽绿 + 冷蓝三团，缓慢呼吸
   ============================================================ */
:root {
  /* 128px 噪点由 SVG feTurbulence 生成，不额外请求图片 */
  --noise-url: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='128' height='128'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='128' height='128' filter='url(%23n)' opacity='0.5'/></svg>");
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  background-image: var(--noise-url);
  background-size: 128px 128px;
  opacity: .06;
  /* soft-light 在深底与浅底上都柔和；multiply 会把深色区压出脏斑 */
  mix-blend-mode: soft-light;
}

/* 首屏三色光晕：比原来的两团多一层冷蓝，呼吸更有层次 */
.hero--tech .hero__glow {
  background:
    radial-gradient(38% 44% at 78% 24%, rgba(95, 191, 122, .22), transparent 70%),
    radial-gradient(30% 36% at 58% 8%, rgba(56, 132, 255, .10), transparent 72%),
    radial-gradient(50% 58% at 12% 84%, rgba(11, 92, 110, .60), transparent 74%);
  animation: hero-glow 26s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  from { transform: translate3d(-1%, -1%, 0) scale(1); opacity: .9; }
  to   { transform: translate3d(2%, 1.5%, 0) scale(1.08); opacity: 1; }
}

/* 粒子层左侧（文案区）减弱，右侧图示区保留，避免连线压字 */
.hero__particles {
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0%, #000 40%, #000 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .16) 0%, #000 40%, #000 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero--tech .hero__glow { animation: none; }
  body::after { display: none; }
}

/* ============================================================
   内容区科技场
   —— #lines 由浅灰改深色，承接首屏形成连续深色段；
      浅色区改为带方向性的渐变底，表格与卡片一并升级
   ============================================================ */

/* 1) 深色区块（技术底座 + 四条产品线） */
.section--deep {
  background:
    radial-gradient(52% 46% at 18% 4%, rgba(11, 92, 110, .62), transparent 72%),
    radial-gradient(44% 40% at 86% 92%, rgba(95, 191, 122, .13), transparent 74%),
    linear-gradient(158deg, #07242C 0%, #0A3947 48%, #051C24 100%);
  color: var(--on-primary);
}
.section--deep .section__head h2 { color: var(--on-primary); }
.section--deep .section__head .lead { color: rgba(226, 240, 236, .76); }

/* 深色区叠亮青网格，与首屏同一语言 */
.section--deep::after {
  content: ""; position: absolute; inset: -48px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(159, 227, 208, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 227, 208, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-pan 45s linear infinite;
}
.section--deep::before {
  background:
    radial-gradient(30% 40% at 74% 16%, rgba(159, 227, 208, .10), transparent 70%),
    radial-gradient(34% 44% at 14% 84%, rgba(11, 92, 110, .52), transparent 72%);
}

/* 共用技术底座：实心深卡改玻璃卡 */
.section--deep .base {
  /* 用比页面底色更亮的实心深青，边界才立得住；半透白在深底上会「消失」 */
  background: linear-gradient(180deg, #17525F 0%, #0E3F4C 100%);
  border: 1px solid rgba(159, 227, 208, .26);
  box-shadow: 0 26px 64px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .14);
}
.section--deep .base__title { color: var(--accent); letter-spacing: .08em; }
.section--deep .base__list strong { color: var(--on-primary); }
.section--deep .base__list span { color: rgba(226, 240, 236, .68); }
.section--deep .base__list svg { color: var(--accent); filter: drop-shadow(0 0 7px rgba(95, 191, 122, .38)); }

/* 分叉连线改亮青并带光晕 */
.section--deep .fork::before,
.section--deep .fork::after { border-color: rgba(143, 224, 203, .42); }
.section--deep .line::before { border-color: rgba(143, 224, 203, .42); }
.section--deep .line::after {
  background: #08252D; border-color: #8FE0CB;
  box-shadow: 0 0 12px rgba(143, 224, 203, .45);
}

/* 产品线卡片：玻璃化 + hover 上浮发光 */
.section--deep .line__inner {
  background: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .17);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22);
  backdrop-filter: blur(6px);
  transition: background-color .25s, border-color .25s, transform .25s;
}
/* 场景图与文字之间加一道细线，避免图片直接切到正文 */
.section--deep .line__img { border-bottom: 1px solid rgba(255, 255, 255, .10); }
.section--deep .line__code { color: var(--accent); }
.section--deep .line__motto { color: var(--on-primary); }
.section--deep .line h3 { color: #8FE0CB; }
.section--deep .line p { color: rgba(226, 240, 236, .72); }
.section--deep .line dl { border-top-color: rgba(255, 255, 255, .13); }
.section--deep .line dt { color: rgba(226, 240, 236, .52); }
.section--deep .line dd { color: #EAF6F3; }
.section--deep .line .text-link { color: #8FE0CB; }
.section--deep .lines__note { color: rgba(226, 240, 236, .55); }
@media (hover: hover) {
  .section--deep .line__inner:hover {
    background: rgba(255, 255, 255, .075);
    border-color: rgba(143, 224, 203, .34);
    transform: translateY(-3px);
  }
}

/* 2) 浅色区：底色加方向性渐变，不再是一块纯色 */
.section--alt {
  background:
    linear-gradient(180deg, rgba(11, 92, 110, .055), transparent 32%),
    linear-gradient(0deg, rgba(95, 191, 122, .045), transparent 36%),
    var(--bg-alt);
}

/* 3) 对比表：表头渐变、行 hover 光条、容器浮起 */
.compare {
  border: 1px solid var(--border);
  box-shadow: 0 26px 60px rgba(11, 92, 110, .10);
}
.compare thead th {
  background: linear-gradient(180deg, #0B5C6E 0%, #08414E 100%);
  border-bottom: 2px solid var(--accent);
}
.compare tbody tr { transition: background-color .22s; }
.compare tbody th { border-left: 3px solid transparent; transition: border-color .22s; }
.compare td:last-of-type { background: rgba(95, 191, 122, .07); }
@media (hover: hover) {
  .compare tbody tr:hover { background: rgba(95, 191, 122, .06); }
  .compare tbody tr:hover th { border-left-color: var(--accent); }
}

/* 4) 场景卡：从裸图标改为带光条的卡片 */
.scenes { gap: calc(var(--space) * 3); }
.scene {
  position: relative; overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: calc(var(--space) * 3);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.scene::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 72%);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .32s ease;
}
.scene svg { filter: drop-shadow(0 2px 7px rgba(95, 191, 122, .22)); }
@media (hover: hover) {
  .scene:hover {
    border-color: rgba(95, 191, 122, .40);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(11, 92, 110, .10);
  }
  .scene:hover::after { transform: scaleX(1); }
}

/* 7) 白底区块也铺一层极淡流动网格，避免出现「白板」区 */
.section:not(.section--alt):not(.section--deep):not(.partner)::after {
  content: ""; position: absolute; inset: -48px; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 92, 110, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 110, .035) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-pan 45s linear infinite;
}

/* 6) 区块编号：像工程图纸的图号，自上而下 01、02…（仅首页） */
.flow { counter-reset: block; }
.flow .section__head { counter-increment: block; }
.flow .section__head::before {
  content: counter(block, decimal-leading-zero);
  display: block;
  margin-bottom: calc(var(--space) * 1.5);
  font-family: var(--font-mono);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  /* 浅底上用主色深青，深底区块再单独提亮，否则绿字压在浅青上看不清 */
  color: var(--primary);
  opacity: .55;
}
.section--deep .section__head::before,
.partner .section__head::before { color: var(--accent); opacity: .9; }

/* 5) 专利与环境治理列表：左缘光条 hover 提示 */
.patent-list li, .env-list li { transition: padding-left .22s, background-color .22s; }
@media (hover: hover) {
  .patent-list li:hover, .env-list li:hover {
    padding-left: calc(var(--space) * 1.5);
    background: rgba(11, 92, 110, .03);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* 用与定义同特异性的选择器，否则 :not() 链会盖掉这里的 animation: none */
  .section--deep::after,
  .section:not(.section--alt):not(.section--deep):not(.partner)::after { animation: none; }
}

/* ============================================================
   静置动画层
   1) 首屏流体：canvas 由 fluid.js（WebGL）绘制，这里只管摆放
   2) 内容区管线：JS 注入的 SVG，光点沿管道流动 + 气泡上浮
   都是 infinite 常驻循环，不依赖滚动
   ============================================================ */
.hero__fluid {
  position: absolute; inset: 0; z-index: 0;
  display: block; width: 100%; height: 100%;
  pointer-events: none;
  opacity: .82;
}
.hero__glow, .hero__mesh, .hero__particles, .hero__beam { z-index: 1; }

/* 管线层：铺满整个区块，位于内容之下、底色之上 */
.stream {
  /* z-index 与 .container 同级但排在前面，管线在底色之上、内容之下 */
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.stream svg { display: block; width: 100%; height: 100%; }

/* 静止管路：给光点一条可见的轨道 */
.stream__pipe {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1;
  opacity: .13;
}
.stream--deep .stream__pipe { stroke: #8FE0CB; opacity: .18; }

/* 光点：用 dasharray 留一小段实线，靠 dashoffset 位移形成「流动」 */
.stream__line {
  fill: none;
  stroke: var(--primary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 46 300;
  opacity: .40;
  animation: stream-run 7s linear infinite;
}
.stream__line--b {
  stroke: var(--accent);
  opacity: .34;
  animation-duration: 9.6s;
  animation-delay: -3.2s;
}
.stream__line--c {
  opacity: .22;
  animation-duration: 12.5s;
  animation-delay: -6s;
}
@keyframes stream-run { to { stroke-dashoffset: -1440; } }

/* 气泡：从底部缓缓上浮，越往上越淡 */
.stream__bubble {
  fill: var(--primary);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: bubble-rise 11s ease-in infinite;
}
@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(.55); opacity: 0; }
  14%  { opacity: .42; }
  80%  { opacity: .22; }
  100% { transform: translateY(-320px) scale(1.15); opacity: 0; }
}

/* 深色区块：线条换亮青，透明度抬高，否则在深底上看不见 */
.stream--deep .stream__line { stroke: #8FE0CB; opacity: .42; }
.stream--deep .stream__line--b { stroke: #5FBF7A; opacity: .38; }
.stream--deep .stream__bubble { fill: #8FE0CB; }

@media (prefers-reduced-motion: reduce) {
  .stream__line, .stream__bubble { animation: none; }
  .stream__bubble { opacity: 0; }
  .hero__fluid { display: none; }
}