/* ============================================================
   质元科技 Matterium · 官网 v15
   美术方向：《质元科技 Matterium 品牌设计语言展示书》VER 2.0 / SPEC-2026
   —— 方解石白基底 + 玄武岩黑骨架 + 细研石青主色 + 深赭石重力色
   哑光漫反射 · 零发光 · 零玻璃拟态 · 零廉价渐变
   12 栅格 / 8px 基准 / 2–4px 倒角 / 1px #D6DADF 发丝线
   双轨字体：现代无衬线（Noto Sans SC / Inter）+ 科学等宽（JetBrains / DejaVu Mono）
   零依赖纯静态，可直接部署 Nginx / OSS / 轻量服务器
   ============================================================ */

/* 站内子集字体：Noto Sans SC 可变字重（OFL），只含本页用到的字形 */
@font-face {
  font-family: "Noto Sans SC Web";
  src: url("fonts/noto-sans-sc-subset.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* ---- MATTERIUM WEB SPEC v2.1 · 设计令牌 ---- */
  --mt-canvas-calcite: #F4F5F6;      /* 方解石白 · 基底 65–75% */
  --mt-ink-basalt: #17191C;          /* 玄武岩黑 · 骨架 15–20% */
  --mt-primary-azurite: #317BB0;     /* 细研石青 · 主色 5–10% */
  --mt-anchor-ochre: #5C3122;        /* 深赭石 · 重力色 5–10% */
  --mt-bubble-prompt: #ECEEF1;       /* 柔和提问气泡底 · 4px */
  --mt-border-hairline: 1px solid #D6DADF;
  --mt-elevation-diffuse: 0 4px 12px rgba(23, 25, 28, .06);
  --mt-backdrop-blur: none;          /* ZERO GLASS */

  /* 石青哑光状态阶梯 */
  --mt-azurite-hover: #26638F;
  --mt-azurite-active: #1D4D70;
  --mt-disabled: #E6E8EB;
  /* 研磨粒度显色阶梯 COARSE → FINE */
  --mt-azurite-deep: #1A4573;        /* 粗研深蓝 */
  --mt-azurite: #317BB0;             /* 细研主色 */
  --mt-azurite-light: #6EA3CA;       /* 微研浅蓝（深底上的小字/线条） */
  --mt-azurite-pale: #B3CFE2;        /* 极细淡青 */

  /* 派生中性色 */
  --white: #FFFFFF;
  --hairline: #D6DADF;
  --hairline-strong: #B9BFC6;
  --txt: #17191C;
  --txt-2: #4A5058;
  --txt-3: #6B727B;
  --ochre-light: #C08468;            /* 深底上的赭石文字 */
  --line-d: rgba(244, 245, 246, .16);  /* 深底发丝线 */
  --txt-d2: #C3C8CE;                 /* 深底次要文字 */

  --mono: "JetBrains Mono", "Cascadia Mono", "SF Mono", "DejaVu Sans Mono", Menlo, Consolas, "Noto Sans Mono", monospace;
  --sans: "Noto Sans SC Web", "Noto Sans SC", "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;

  --radius: 4px;
  --radius-sm: 2px;
  --gap: 16px;
  --nav-h: 64px;
  --ease: cubic-bezier(.22, .7, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  background: var(--mt-canvas-calcite);
  color: var(--txt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--mt-primary-azurite); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--mt-primary-azurite); outline-offset: 3px; border-radius: var(--radius-sm); }

/* 品牌化滚动条：方解石轨道 + 石青滑块 */
html { scrollbar-color: var(--mt-primary-azurite) var(--mt-canvas-calcite); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--mt-canvas-calcite); }
::-webkit-scrollbar-thumb { background: var(--mt-primary-azurite); border-radius: 2px; border: 2px solid var(--mt-canvas-calcite); }
::-webkit-scrollbar-thumb:hover { background: var(--mt-azurite-hover); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }

/* ---------- 状态点：哑光实心方点，无脉冲光晕 ---------- */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--mt-primary-azurite); flex: none; vertical-align: middle; }
.status-dot-light { background: var(--mt-azurite-light); }

/* ============================================================
   顶栏
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  background: var(--mt-canvas-calcite);
  border-bottom: var(--mt-border-hairline);
  transition: box-shadow .3s;
}
.topbar.scrolled { box-shadow: var(--mt-elevation-diffuse); }
.topbar-in { display: flex; align-items: center; height: var(--nav-h); gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand-logo { height: 32px; width: auto; }
.brand-txt { font-weight: 800; font-size: 15.5px; letter-spacing: .04em; line-height: 1.15; color: var(--txt); }
.brand-txt i { font-style: normal; font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .26em; color: var(--txt-3); display: block; }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topnav a {
  text-decoration: none; font-size: 13.5px; color: var(--txt-2);
  position: relative; padding: 6px 11px; line-height: 1.2;
  border-radius: var(--radius-sm);
  transition: color .18s, background .18s;
}
.topnav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: -1px; height: 2px;
  background: var(--mt-primary-azurite); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.topnav a:hover { color: var(--txt); background: var(--mt-bubble-prompt); }
.topnav a.active { color: var(--txt); }
.topnav a.active::after { transform: scaleX(1); }
/* 顶栏 CTA：石青实底 → 悬停 #26638F → 按下 #1D4D70 */
.topnav-cta {
  flex: none; display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-weight: 700; font-size: 13.5px; line-height: 1;
  color: #fff; background: var(--mt-primary-azurite);
  padding: 10px 16px; border-radius: var(--radius);
  transition: background .18s;
}
.topnav-cta:hover { background: var(--mt-azurite-hover); }
.topnav-cta:active { background: var(--mt-azurite-active); }
.topnav-cta .ext { font-family: var(--mono); font-size: 12px; }

.menu-btn {
  display: none; flex: none; width: 40px; height: 40px;
  background: none; border: var(--mt-border-hairline); border-radius: var(--radius-sm);
  cursor: pointer; position: relative;
}
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--mt-ink-basalt); transition: transform .3s, top .3s; }
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 23px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* ============================================================
   首屏：品牌条幅 → 文案 | 矿物标本 | 产品标本卡
   ============================================================ */
.hero { background: var(--mt-canvas-calcite); padding-top: var(--nav-h); }
.masthead { background: var(--mt-primary-azurite); color: #fff; }
.masthead-in { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 15px; padding-bottom: 15px; }
.masthead-line { font-size: 17px; font-weight: 700; letter-spacing: .14em; line-height: 1.3; }
.masthead-sub { font-family: var(--mono); font-size: 11.5px; letter-spacing: .28em; color: rgba(255, 255, 255, .92); white-space: nowrap; }

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.4fr) minmax(0, 3.4fr);
  gap: 24px; align-items: stretch;
  padding-top: 56px; padding-bottom: 80px;
}
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--txt-2);
  margin-bottom: 26px; display: flex; align-items: center; gap: 12px; font-weight: 500;
}
.kicker-sq { width: 10px; height: 10px; background: var(--mt-anchor-ochre); flex: none; }
.hero h1 {
  font-size: clamp(40px, 5vw, 62px); font-weight: 900; line-height: 1.16;
  letter-spacing: -.005em; color: var(--mt-ink-basalt); margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: var(--mt-primary-azurite); }
.hero-lede { font-size: 16px; color: var(--txt-2); max-width: 470px; margin-bottom: 34px; line-height: 1.8; }
.hero-lede strong { color: var(--txt); font-weight: 700; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 12.5px; color: var(--txt-2); letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }

/* 首屏矿物标本图版 */
.hero-photo {
  margin: 0; display: flex; flex-direction: column;
  background: var(--white); border: var(--mt-border-hairline); border-radius: var(--radius);
  overflow: hidden;
}
.hero-photo img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: 50% 42%; aspect-ratio: 2 / 3; }
.hero-photo figcaption {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-top: var(--mt-border-hairline);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .04em; color: var(--txt-3); line-height: 1.6;
  white-space: nowrap;
}

/* 产品标本卡：玄武岩黑容器 + 等宽参数行 */
.specimen {
  position: relative; display: flex; flex-direction: column;
  background: var(--mt-ink-basalt); color: var(--txt-d2);
  border-radius: var(--radius); padding: 24px 22px 18px; overflow: hidden;
}
.specimen-bar { position: absolute; top: 0; left: 22px; width: 56px; height: 3px; background: var(--mt-primary-azurite); }
.specimen-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em; color: var(--txt-3); margin-bottom: 22px; }
.specimen-id { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.specimen-logo { width: 46px; height: auto; flex: none; }
.specimen-name { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.15; letter-spacing: -.01em; }
.specimen-role { font-family: var(--mono); font-size: 11.5px; letter-spacing: .18em; color: var(--mt-azurite-light); margin-top: 4px; }
.specimen-rows { display: flex; flex-direction: column; flex: 1; justify-content: space-evenly; }
.specimen-rows > div {
  display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: baseline;
  padding: 9px 0; border-top: 1px solid var(--line-d);
}
.specimen-rows > div:first-child { border-top: 0; padding-top: 0; }
.specimen-rows dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--txt-3); }
.specimen-rows dd { font-size: 13.5px; color: #fff; display: flex; align-items: center; gap: 8px; }
.specimen-link {
  margin-top: 16px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--mt-azurite-light);
  text-decoration: none; padding-top: 14px; border-top: 1px solid var(--line-d);
  transition: color .18s;
}
.specimen-link:hover { color: #fff; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-size: 14.5px; font-weight: 700; line-height: 1;
  padding: 14px 26px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  transition: background .18s, color .18s, border-color .18s;
}
.btn-arrow { font-family: var(--mono); font-size: 13px; }
.btn-primary { background: var(--mt-primary-azurite); color: #fff; }
.btn-primary:hover { background: var(--mt-azurite-hover); }
.btn-primary:active { background: var(--mt-azurite-active); }
.btn-line { background: transparent; color: var(--mt-ink-basalt); border-color: var(--hairline-strong); }
.btn-line:hover { border-color: var(--mt-ink-basalt); background: var(--mt-bubble-prompt); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-white { background: var(--mt-canvas-calcite); color: var(--mt-ink-basalt); }
.btn-white:hover { background: #fff; }
.btn-white:active { background: var(--mt-bubble-prompt); }
/* 玄武岩黑实底按钮（品牌组件标本中的 Publish） */
.btn-ink { background: var(--mt-ink-basalt); color: #fff; }
.btn-ink:hover { background: #2B2E33; }
.btn-ink:active { background: #3A3E45; }
.btn-block { width: 100%; }

/* 首屏入场：14px 上浮淡入，分幕错峰 */
[data-entrance] { opacity: 0; transform: translateY(14px); animation: entrance .7s var(--ease) forwards; }
[data-entrance="1"] { animation-delay: .05s; }
[data-entrance="2"] { animation-delay: .12s; }
[data-entrance="3"] { animation-delay: .22s; }
[data-entrance="4"] { animation-delay: .3s; }
[data-entrance="5"] { animation-delay: .38s; }
[data-entrance="6"] { animation-delay: .26s; }
[data-entrance="7"] { animation-delay: .36s; }
@keyframes entrance { to { opacity: 1; transform: none; } }

/* ============================================================
   跑马灯
   ============================================================ */
.ticker { background: var(--mt-canvas-calcite); border-block: var(--mt-border-hairline); overflow: hidden; padding: 12px 0; }
.ticker-track {
  display: flex; gap: 30px; width: max-content; align-items: center;
  animation: ticker 44s linear infinite;
  font-family: var(--mono); font-size: 12px; letter-spacing: .26em; color: var(--txt-2);
}
.ticker-track i { color: var(--mt-primary-azurite); font-style: normal; font-size: 8px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   章节骨架：章节号 + 标题 + 等宽副题 + 1px 玄武岩规线
   ============================================================ */
.sect { background: var(--mt-canvas-calcite); padding: 88px 0 96px; }
.sect-white { background: var(--white); }
.chap {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 40px;
  border-bottom: 1px solid var(--mt-ink-basalt);
}
.chap-no {
  font-size: 46px; font-weight: 900; line-height: .9; letter-spacing: -.03em;
  color: var(--mt-primary-azurite); font-variant-numeric: tabular-nums;
}
.chap-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.2; letter-spacing: .01em; }
.chap-sub {
  margin-left: auto; display: inline-flex; align-items: baseline; gap: 14px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--txt-3); text-transform: uppercase;
}
.chap-sub b { font-weight: 500; color: var(--txt-2); padding-left: 14px; border-left: var(--mt-border-hairline); white-space: nowrap; }

.lead { font-size: 18px; line-height: 1.8; color: var(--txt); max-width: 820px; margin-bottom: 40px; }
.lead strong { font-weight: 700; }
.sect p { color: var(--txt-2); }

.sub-title {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  font-size: 17px; font-weight: 800; color: var(--txt); margin-bottom: 18px;
}
.sub-sub { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--txt-3); }

/* 滚动显现：12px 上浮淡入（无 JS 时默认可见） */
html.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js [data-reveal].in { opacity: 1; transform: none; }
/* 数据显现：HTML 内已是最终值，仅淡入 */
html.js [data-count] { display: inline-block; opacity: 0; transition: opacity .5s var(--ease) .15s; }
html.js [data-count].counted { opacity: 1; }

/* ============================================================
   01 为什么是现在
   ============================================================ */
/* 数据表：玄武岩表头 + 发丝线行 */
.datasheet { border: var(--mt-border-hairline); border-radius: var(--radius); background: var(--white); overflow: hidden; margin-bottom: 12px; }
.ds-head {
  display: flex; justify-content: space-between; gap: 12px;
  background: var(--mt-ink-basalt); color: #fff; padding: 10px 18px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
}
.ds-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: baseline;
  padding: 18px 18px; border-top: var(--mt-border-hairline);
  transition: background .2s;
}
.ds-row:hover { background: var(--mt-bubble-prompt); }
.ds-num { font-family: var(--mono); font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: var(--mt-ink-basalt); white-space: nowrap; }
.ds-desc { font-size: 14.5px; color: var(--txt-2); }
.data-note { font-size: 12px; color: var(--txt-3); margin-bottom: 44px; letter-spacing: .02em; }

/* 年代账本 */
.era { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-bottom: 48px; }
.era-col {
  background: var(--white); border: var(--mt-border-hairline); border-top-width: 3px; border-radius: var(--radius);
  padding: 24px 26px 20px;
}
.era-old { border-top-color: var(--mt-anchor-ochre); }
.era-new { border-top-color: var(--mt-primary-azurite); }
.era-col h3 {
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px; font-weight: 800; color: var(--txt); margin-bottom: 16px;
}
.era-tag { font-family: var(--mono); font-size: 10.5px; font-weight: 600; letter-spacing: .2em; color: var(--txt-3); padding: 2px 7px; background: var(--mt-bubble-prompt); border-radius: var(--radius-sm); }
.era-col p { font-size: 14px; color: var(--txt-2); margin-bottom: 12px; line-height: 1.75; }
.era-col p:last-child { margin-bottom: 0; }
.era-when { font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: var(--mt-anchor-ochre); margin-right: 10px; letter-spacing: .04em; }

/* 产业瓶颈 2×2 bento */
.bottlenecks { margin-bottom: 56px; }
.bn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.bn-item {
  position: relative; margin: 0; padding: 18px 20px 18px 22px;
  background: var(--white); border: var(--mt-border-hairline); border-radius: var(--radius);
  font-size: 14px; color: var(--txt-2); line-height: 1.75;
  transition: border-color .2s, box-shadow .2s;
}
.bn-item:hover { border-color: var(--hairline-strong); box-shadow: var(--mt-elevation-diffuse); }
.bn-item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--mt-primary-azurite); border-radius: 0 2px 2px 0; }
.bn-ochre::before { background: var(--mt-anchor-ochre); }
.bn-azurite::before { background: var(--mt-azurite); }
.bn-deep::before { background: var(--mt-azurite-deep); }
.bn-light::before { background: var(--mt-azurite-light); }
.bn-no { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--txt-3); margin-bottom: 4px; }
.bn-item b { display: inline; font-size: 15px; color: var(--txt); margin-right: 8px; }

/* 图版通用：白色画框 + FIG 编注行 */
.figure {
  margin: 0; background: var(--white); border: var(--mt-border-hairline); border-radius: var(--radius);
  padding: 18px 18px 14px;
}
.figure figcaption, .tl-figure figcaption {
  display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
  margin-top: 14px; padding-top: 12px; border-top: var(--mt-border-hairline);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--txt-3); line-height: 1.6;
}
.figure figcaption span:first-child { color: var(--txt-2); letter-spacing: .12em; }
.tl-scroll { overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--mt-primary-azurite) var(--mt-bubble-prompt); }
.tl-scroll::-webkit-scrollbar { height: 8px; }
.tl-scroll::-webkit-scrollbar-track { background: var(--mt-bubble-prompt); border-radius: 2px; }
.tl-scroll::-webkit-scrollbar-thumb { background: var(--mt-primary-azurite); border-radius: 2px; }
.figure svg { width: 100%; height: auto; display: block; }

/* 矢量时间线 */
.tl-axis { stroke: var(--mt-ink-basalt); stroke-width: 1.5; stroke-dasharray: 910; stroke-dashoffset: 910; }
.figure.in .tl-axis { animation: tldraw 1.2s var(--ease) forwards; }
@keyframes tldraw { to { stroke-dashoffset: 0; } }
.tl-arrow { stroke: var(--mt-ink-basalt); stroke-width: 1.5; fill: none; }
.tl-stem { stroke: #C9CED4; stroke-width: 1; }
.tl-stem-next { stroke: var(--mt-anchor-ochre); stroke-dasharray: 3 3; }
.tl-dot { fill: var(--mt-primary-azurite); }
.tl-dot-next { fill: #fff; stroke: var(--mt-anchor-ochre); stroke-width: 2; }
.tl-name { font-size: 13px; fill: var(--txt-2); font-family: var(--sans); }
.tl-formula { font-family: var(--mono); font-size: 16px; font-weight: 600; fill: var(--mt-ink-basalt); }
.tl-year { font-family: var(--mono); font-size: 12.5px; fill: var(--txt-3); }
.tl-callout { fill: rgba(92, 49, 34, .06); stroke: var(--mt-anchor-ochre); stroke-width: 1; stroke-dasharray: 4 3; }
.tl-callout-text { font-size: 14px; font-weight: 700; fill: var(--mt-anchor-ochre); font-family: var(--sans); }
.tl-m { opacity: 0; }
.figure.in .tl-m { animation: fadein .5s ease forwards; }
.figure.in .tl-m:nth-of-type(2) { animation-delay: .1s; }
.figure.in .tl-m:nth-of-type(3) { animation-delay: .2s; }
.figure.in .tl-m:nth-of-type(4) { animation-delay: .3s; }
.figure.in .tl-m:nth-of-type(5) { animation-delay: .4s; }
.figure.in .tl-m:nth-of-type(6) { animation-delay: .55s; }
@keyframes fadein { to { opacity: 1; } }

/* ============================================================
   02 技术路线 · 读算做
   ============================================================ */
.sect-answer { background: var(--white); }

.lanes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.lane {
  --lane: var(--mt-primary-azurite);
  display: flex; flex-direction: column;
  background: var(--mt-canvas-calcite); border: var(--mt-border-hairline); border-top-width: 3px; border-top-color: var(--lane);
  border-radius: var(--radius); padding: 18px 20px 22px;
  transition: box-shadow .25s, border-color .25s;
}
.lane:hover { box-shadow: var(--mt-elevation-diffuse); }
.lane-read { --lane: var(--mt-anchor-ochre); }
.lane-calc { --lane: var(--mt-azurite); }
.lane-do { --lane: var(--mt-azurite-deep); }
.lane-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.lane-glyph { font-size: 44px; font-weight: 900; line-height: 1; color: var(--lane); letter-spacing: -.02em; }
.lane-spec { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--txt-3); padding-top: 8px; }
.lane-photo { margin: 0 0 18px; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--mt-bubble-prompt); }
.lane-photo img { width: 100%; height: 100%; object-fit: cover; }
.lane-calc .lane-photo img { object-position: 42% 50%; }
.lane-do .lane-photo img { object-position: 52% 50%; }
.lane h3 { font-size: 19px; font-weight: 800; color: var(--txt); line-height: 1.3; }
.lane-chip { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--lane); margin: 6px 0 14px; }
.lane-text { font-size: 14px; line-height: 1.8; color: var(--txt-2); }
.lane-text strong { color: var(--txt); }

/* Worktree 式闭环图谱 */
.dag-figure { margin-bottom: var(--gap); }
.dag-figure svg { min-width: 760px; }
.node { fill: #fff; stroke: var(--hairline); stroke-width: 1; }
.node-top { stroke-width: 3; stroke-linecap: round; }
.node-top-know { stroke: var(--mt-anchor-ochre); }
.node-top-exp { stroke: var(--mt-azurite-deep); }
.node-top-phys { stroke: var(--mt-azurite); }
.node-hub { fill: var(--mt-ink-basalt); stroke: var(--mt-ink-basalt); }
.node-title { font-size: 16px; font-weight: 700; fill: var(--mt-ink-basalt); font-family: var(--sans); }
.node-sub { font-family: var(--mono); font-size: 11.5px; fill: var(--txt-3); letter-spacing: .02em; }
.hub-name { font-size: 21px; font-weight: 800; fill: #fff; font-family: var(--sans); letter-spacing: -.01em; }
.hub-role { font-family: var(--mono); font-size: 12px; fill: var(--mt-azurite-pale); letter-spacing: .12em; }
.hub-status { font-family: var(--mono); font-size: 10.5px; fill: var(--mt-azurite-light); letter-spacing: .22em; }
.edge { fill: none; stroke-width: 2; }
.edge-req { stroke: var(--mt-azurite); }
.edge-ret { stroke: var(--mt-azurite); stroke-dasharray: 5 5; }
.edge-fb { stroke: var(--mt-anchor-ochre); stroke-dasharray: 5 5; }
.lab { font-family: var(--mono); font-size: 12px; fill: var(--txt-2); }
.lab-fb { fill: var(--mt-anchor-ochre); }
.dag-legend text { font-family: var(--mono); font-size: 11px; fill: var(--txt-3); letter-spacing: .08em; }
.dag-nodes, .dag-edges, .dag-labels, .dag-legend { opacity: 0; transition: opacity .6s ease; }
.figure.in .dag-nodes { opacity: 1; }
.figure.in .dag-edges { opacity: 1; transition-delay: .25s; }
.figure.in .dag-labels { opacity: 1; transition-delay: .4s; }
.figure.in .dag-legend { opacity: 1; transition-delay: .5s; }

/* 数据飞轮 */
.flywheel { margin-bottom: var(--gap); }
.flywheel figcaption { margin-top: 16px; }
.fw-steps { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; align-items: center; gap: 8px; }
.fw-steps li:not(.fw-arrow) {
  display: flex; align-items: center; gap: 14px;
  background: var(--mt-canvas-calcite); border: var(--mt-border-hairline); border-radius: var(--radius);
  padding: 16px 18px;
}
.fw-no { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--mt-primary-azurite); padding: 3px 7px; background: #fff; border: var(--mt-border-hairline); border-radius: var(--radius-sm); }
.fw-steps b { font-size: 16px; font-weight: 800; color: var(--txt); }
.fw-arrow { font-family: var(--mono); font-size: 20px; color: var(--mt-primary-azurite); text-align: center; }

/* 跨尺度物质基座 */
.eng-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.eng-card {
  background: var(--mt-canvas-calcite); border: var(--mt-border-hairline); border-top: 3px solid var(--mt-azurite);
  border-radius: var(--radius); padding: 18px 20px 16px;
}
.eng-card:nth-child(1) { border-top-color: var(--mt-azurite-light); }
.eng-card:nth-child(2) { border-top-color: var(--mt-azurite); }
.eng-card:nth-child(3) { border-top-color: var(--mt-azurite-deep); }
.eng-layer { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--txt-3); margin-bottom: 8px; }
.eng-card h4 { font-size: 16px; font-weight: 800; color: var(--txt); line-height: 1.35; margin-bottom: 8px; }
.eng-card p { font-size: 13.5px; color: var(--txt-2); line-height: 1.7; }
.eng-flow { display: flex; justify-content: center; gap: 56px; padding: 12px 0; font-family: var(--mono); font-size: 13px; color: var(--mt-primary-azurite); letter-spacing: .06em; }
.eng-flow i { font-style: normal; margin-right: 6px; }
.eng-bar {
  border-radius: var(--radius-sm); padding: 14px 20px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 15px; font-weight: 800;
}
.eng-bar small { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.eng-bar b { font-weight: 800; }
.eng-bar-model { background: var(--mt-ink-basalt); color: #fff; }
.eng-bar-model small { color: var(--mt-azurite-pale); }
.eng-bar-db { margin-top: 8px; background: var(--mt-canvas-calcite); border: var(--mt-border-hairline); border-top: 3px solid var(--mt-anchor-ochre); color: var(--txt); }
.eng-bar-db small { color: var(--txt-3); font-family: var(--sans); font-weight: 500; font-size: 12.5px; letter-spacing: .04em; }
.engine figcaption { margin-top: 16px; }

/* ============================================================
   03 产品形态
   ============================================================ */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.g-wide { grid-column: 1 / -1; }
.g-card {
  position: relative; display: flex; flex-direction: column; margin: 0;
  background: var(--white); border: var(--mt-border-hairline); border-radius: var(--radius); overflow: hidden;
  cursor: zoom-in; transition: box-shadow .25s, border-color .25s;
}
.g-card:hover, .g-card:focus-visible { box-shadow: var(--mt-elevation-diffuse); border-color: var(--hairline-strong); }
.g-card img { width: 100%; height: auto; }
.g-card figcaption {
  margin-top: auto; padding: 12px 16px; border-top: var(--mt-border-hairline);
  display: flex; align-items: baseline; gap: 10px 12px; flex-wrap: wrap;
  font-size: 13px; color: var(--txt-2);
}
.g-card figcaption b { font-size: 14px; color: var(--txt); }
.g-card figcaption i { margin-left: auto; font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; color: var(--txt-3); white-space: nowrap; }
.g-zoom {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: var(--radius-sm);
  background: var(--mt-ink-basalt); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px;
  opacity: 0; transition: opacity .2s;
}
.g-card:hover .g-zoom, .g-card:focus-visible .g-zoom { opacity: 1; }
.gallery-foot { margin-top: 18px; font-size: 13px; color: var(--txt-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gallery-foot a { color: var(--mt-azurite-hover); text-decoration: none; border-bottom: 1px solid var(--mt-azurite-light); font-weight: 700; transition: color .18s, border-color .18s; }
.gallery-foot a:hover { color: var(--mt-azurite-active); border-color: var(--mt-azurite-active); }

/* ============================================================
   04 核心能力矩阵（玄武岩表头 datasheet）
   ============================================================ */
.sect-caps { background: var(--white); }
.matrix { border: var(--mt-border-hairline); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.mx-head, .mx-row { display: grid; grid-template-columns: 210px 1fr 150px; gap: 22px; align-items: baseline; }
.mx-head { background: var(--mt-ink-basalt); color: #fff; padding: 10px 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; }
.mx-row { padding: 16px 18px; border-top: var(--mt-border-hairline); transition: background .2s; }
.mx-row:hover { background: var(--mt-bubble-prompt); }
.mx-row b { font-size: 15px; font-weight: 800; color: var(--txt); line-height: 1.4; }
.mx-row b i { display: block; font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .18em; color: var(--txt-3); margin-top: 3px; }
.mx-row p { font-size: 14px; color: var(--txt-2); line-height: 1.7; }
.mx-row > span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--txt-2); text-align: right; justify-self: end; }
.sect-caps .data-note { margin: 12px 0 0; }

/* ============================================================
   05 服务对象 · 用户画像
   ============================================================ */
.sect-personas { background: var(--mt-canvas-calcite); }
.personas { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.persona {
  background: var(--white); border: var(--mt-border-hairline); border-top: 3px solid var(--mt-primary-azurite);
  border-radius: var(--radius); padding: 20px 22px 18px;
  transition: box-shadow .25s, border-color .25s;
}
.persona:hover { box-shadow: var(--mt-elevation-diffuse); border-color: var(--hairline-strong); }
.persona:nth-child(3n+2) { border-top-color: var(--mt-anchor-ochre); }
.persona:nth-child(3n) { border-top-color: var(--mt-azurite-deep); }
.p-no { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--txt-3); margin-bottom: 8px; }
.persona h3 { font-size: 17.5px; font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.persona dl > div { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; border-top: var(--mt-border-hairline); }
.persona dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--txt-3); padding-top: 4px; }
.persona dd { font-size: 14px; color: var(--txt-2); line-height: 1.75; }
.persona dd[title] { color: var(--txt); }
.p-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.p-chips span { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--txt-2); padding: 3px 9px; background: var(--mt-bubble-prompt); border-radius: var(--radius-sm); }

/* ============================================================
   06 线上服务（石青核心条幅）
   ============================================================ */
.service { background: var(--mt-primary-azurite); color: #fff; padding: 80px 0 88px; }
.chap-on-color { border-bottom-color: rgba(255, 255, 255, .55); }
.chap-on-color .chap-no, .chap-on-color .chap-title { color: #fff; }
.chap-on-color .chap-sub { color: rgba(255, 255, 255, .85); }
.chap-on-color .chap-sub b { color: #fff; border-left-color: rgba(255, 255, 255, .35); }
.service-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
.service-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .24em; color: rgba(255, 255, 255, .92); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.service-kicker .status-dot { background: #fff; }
.service-title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 900; line-height: 1.15; letter-spacing: -.01em; color: #fff; margin-bottom: 18px; }
.service-lede { font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .94); max-width: 560px; margin-bottom: 26px; }
.service-modules { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.service-modules li { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #fff; }
.mod-sq { width: 10px; height: 10px; border-radius: 2px; background: #fff; flex: none; }
.mod-ochre { background: var(--mt-anchor-ochre); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.mod-azurite { background: #fff; }
.mod-deep { background: var(--mt-azurite-deep); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
/* 服务面板：方解石白哑光面板，等宽参数行 */
.service-panel {
  background: var(--mt-canvas-calcite); color: var(--txt); border-radius: var(--radius);
  padding: 22px 24px 20px; box-shadow: 0 8px 24px rgba(23, 25, 28, .12);
}
.sp-row {
  display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline;
  padding: 10px 0; border-top: var(--mt-border-hairline);
}
.sp-row:first-child { border-top: 0; padding-top: 0; }
.sp-row span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; color: var(--txt-3); }
.sp-row b { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--txt); letter-spacing: .01em; }
.sp-row b[title] { cursor: help; }
.service-panel .btn { margin-top: 14px; }
.sp-note { margin-top: 12px; font-size: 12px; color: var(--txt-3); text-align: center; }

/* ============================================================
   07 联系
   ============================================================ */
.sect-contact { padding-bottom: 0; background: var(--mt-canvas-calcite); }
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.contact-card {
  background: var(--white); border: var(--mt-border-hairline); border-radius: var(--radius);
  padding: 24px 26px 22px; transition: box-shadow .25s, border-color .25s;
}
.contact-card:hover { box-shadow: var(--mt-elevation-diffuse); border-color: var(--hairline-strong); }
.cc-tag { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--txt-3); margin-bottom: 8px; }
.cc-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--mt-primary-azurite); border-radius: 2px; margin-right: 8px; vertical-align: 0; }
.contact-card:nth-child(2) .cc-tag::before { background: var(--mt-anchor-ochre); }
.contact-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.contact-card p { font-size: 14.5px; margin-bottom: 16px; }
.contact-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-line a {
  font-family: var(--mono); font-size: 14px; color: var(--mt-azurite-hover); text-decoration: none;
  border-bottom: 1px solid var(--mt-azurite-light); transition: color .18s, border-color .18s;
}
.contact-line a:hover { color: var(--mt-azurite-active); border-color: var(--mt-azurite-active); }
.copy-btn {
  font-size: 11.5px; font-family: var(--mono); letter-spacing: .1em;
  padding: 5px 12px; border-radius: var(--radius-sm); cursor: pointer;
  border: var(--mt-border-hairline); background: var(--mt-canvas-calcite); color: var(--txt-2);
  transition: background .18s, color .18s, border-color .18s;
}
.copy-btn:hover { background: var(--mt-ink-basalt); color: #fff; border-color: var(--mt-ink-basalt); }

/* ---------- 收尾 CTA ---------- */
.closing { background: var(--white); border-block: var(--mt-border-hairline); }
.closing-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-top: 48px; padding-bottom: 48px; }
.closing-kicker { font-family: var(--mono); font-size: 11px; letter-spacing: .24em; color: var(--txt-3); margin-bottom: 8px; }
.closing-line { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; color: var(--txt); letter-spacing: -.005em; line-height: 1.3; }

/* ============================================================
   页脚：巨型字标 + 深赭石重力条幅
   ============================================================ */
.footer { background: var(--mt-canvas-calcite); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 40px; width: auto; }
.footer-name { font-weight: 800; font-size: 16px; letter-spacing: .04em; }
.footer-name i { font-style: normal; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .24em; color: var(--txt-3); margin-left: 6px; }
.footer-meta { font-size: 12.5px; color: var(--txt-2); margin-top: 2px; }
.footer-meta-r { text-align: right; font-size: 13px; }
.footer-meta-r a { font-family: var(--mono); text-decoration: none; color: var(--mt-azurite-hover); border-bottom: 1px solid var(--mt-azurite-light); transition: color .18s, border-color .18s; }
.footer-meta-r a:hover { color: var(--mt-azurite-active); border-color: var(--mt-azurite-active); }
.footer-legal { color: var(--txt-3); font-size: 12px; margin-top: 8px; font-family: var(--mono); letter-spacing: .02em; }

.footer-anchor { background: var(--mt-anchor-ochre); color: #fff; }
.footer-anchor-in {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 32px;
  padding-top: 40px; padding-bottom: 30px;
}
.footer-mark { font-size: clamp(52px, 10vw, 120px); font-weight: 900; letter-spacing: -.04em; line-height: .9; color: #fff; grid-column: 1 / -1; }
.footer-slogan { font-size: 18px; font-weight: 800; letter-spacing: .06em; line-height: 1.4; }
.footer-slogan span { display: block; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .22em; color: rgba(255, 255, 255, .85); margin-top: 6px; }
.footer-mono { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .22em; color: rgba(255, 255, 255, .85); text-align: right; }

/* ============================================================
   回到顶部 / 浮动联系 / Toast
   ============================================================ */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer;
  background: var(--mt-ink-basalt); color: #fff; font-size: 16px; font-family: var(--mono);
  border: none; box-shadow: var(--mt-elevation-diffuse);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .3s, transform .3s, background .18s;
}
.totop.show { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--mt-azurite-hover); }

.fab-wrap { position: fixed; right: 24px; bottom: 80px; z-index: 70; }
.fab {
  width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer;
  background: var(--mt-ink-basalt); color: #fff; border: none;
  box-shadow: var(--mt-elevation-diffuse);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s;
}
.fab svg { width: 20px; height: 20px; }
.fab:hover { background: var(--mt-primary-azurite); }
.fab-pop {
  position: absolute; right: 0; bottom: 54px; width: min(320px, calc(100vw - 48px));
  background: var(--mt-canvas-calcite); color: var(--txt);
  border: var(--mt-border-hairline); border-radius: var(--radius); padding: 18px;
  box-shadow: 0 8px 24px rgba(23, 25, 28, .14);
  animation: panelin .25s var(--ease);
}
.fab-pop[hidden] { display: none; }
.fab-title { font-size: 14px; font-weight: 800; margin-bottom: 10px; letter-spacing: .04em; }
.fab-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.fab-line span { font-size: 10.5px; color: var(--txt-3); font-family: var(--mono); letter-spacing: .16em; width: 100%; }
.fab-line a { font-family: var(--mono); font-size: 12.5px; color: var(--mt-azurite-hover); text-decoration: none; border-bottom: 1px solid var(--mt-azurite-light); }
.fab-pop .btn { margin-top: 6px; padding: 11px 18px; font-size: 13.5px; }
.fab-pop .fab-totop { margin-top: 8px; }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 12px);
  z-index: 110; background: var(--white); color: var(--txt);
  border: var(--mt-border-hairline); border-left: 3px solid var(--mt-primary-azurite); border-radius: var(--radius-sm);
  padding: 11px 20px; font-size: 13.5px; letter-spacing: .02em;
  box-shadow: 0 8px 24px rgba(23, 25, 28, .14);
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   灯箱（实色遮罩，零模糊）
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(23, 25, 28, .92); animation: fadein .25s ease; }
.lb-stage {
  position: relative; z-index: 1; margin: 0; max-width: min(1080px, 86vw);
  background: var(--mt-canvas-calcite); border-radius: var(--radius); padding: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5); animation: panelin .3s var(--ease);
}
.lb-stage img { display: block; max-width: 100%; max-height: 74vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lb-stage figcaption { margin-top: 10px; padding-top: 8px; border-top: var(--mt-border-hairline); font-size: 11.5px; color: var(--txt-3); text-align: left; font-family: var(--mono); letter-spacing: .06em; }
.lb-x, .lb-prev, .lb-next {
  position: absolute; z-index: 2; border: 1px solid rgba(255, 255, 255, .25); color: #fff; cursor: pointer;
  background: var(--mt-ink-basalt); transition: background .18s;
  display: flex; align-items: center; justify-content: center;
}
.lb-x { top: 18px; right: 18px; width: 40px; height: 40px; border-radius: var(--radius); font-size: 18px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: var(--radius); font-size: 16px; font-family: var(--mono); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: var(--mt-azurite-hover); }
@keyframes panelin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.lb-stage { animation-name: panelin-stage; }
@keyframes panelin-stage { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .topbar-in { gap: 16px; }
  .topnav { gap: 0; }
  .topnav a { padding: 6px 8px; font-size: 13px; }
  .topnav a::after { left: 8px; right: 8px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .hero-copy { grid-column: 1 / -1; }
  .hero-lede { max-width: 640px; }
  .hero h1 { font-size: clamp(40px, 6vw, 56px); }
  .hero-photo img { aspect-ratio: auto; }
  .hero-photo, .specimen { min-height: 420px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 58px; }
  .wrap { padding: 0 20px; }
  .menu-btn { display: block; }
  .topnav-cta { margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .topnav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mt-canvas-calcite); border-bottom: var(--mt-border-hairline);
    padding: 8px 20px 14px;
    opacity: 0; pointer-events: none; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease);
    box-shadow: 0 8px 24px rgba(23, 25, 28, .1);
  }
  .topnav.open { opacity: 1; pointer-events: auto; transform: none; }
  .topnav a { padding: 12px 4px; font-size: 14.5px; border-bottom: var(--mt-border-hairline); border-radius: 0; }
  .topnav a::after { display: none; }
  .topnav a.active { color: var(--mt-azurite-hover); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 56px; gap: 16px; }
  .hero-photo, .specimen { min-height: 0; }
  .hero-photo img { aspect-ratio: 16 / 11; }
  .masthead-line { font-size: 15px; }
  .masthead-sub { letter-spacing: .18em; }
  .sect { padding: 56px 0 64px; }
  .chap { margin-bottom: 28px; gap: 14px; }
  .chap-no { font-size: 38px; }
  .lead { font-size: 16.5px; margin-bottom: 28px; }
  .ds-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
  .ds-num { font-size: 24px; }
  .era, .bn-grid, .lanes, .eng-grid, .contact-cols, .gallery { grid-template-columns: 1fr; }
  .g-wide { grid-column: auto; }
  .era { margin-bottom: 36px; }
  .bottlenecks { margin-bottom: 40px; }
  .tl-figure svg, .dag-figure svg { min-width: 720px; }
  .fw-steps { grid-template-columns: 1fr; gap: 8px; }
  .fw-arrow { transform: rotate(90deg); }
  .eng-flow { gap: 32px; }
  .personas { grid-template-columns: 1fr; }
  .mx-head, .mx-row { grid-template-columns: 1fr; gap: 8px; }
  .mx-head span:not(:first-child) { display: none; }
  .mx-row > span { text-align: left; justify-self: start; }
  .service { padding: 56px 0 64px; }
  .service-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-meta-r { text-align: left; }
  .footer-anchor-in { grid-template-columns: 1fr; }
  .footer-mono { flex-direction: column; align-items: flex-start; text-align: left; }
  .lb-stage { max-width: 92vw; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  /* 窄屏：右下悬浮按钮缩小靠边；首屏与滚动时收起，避免压住正文 */
  .fab-wrap { right: 12px; bottom: 14px; opacity: .92; transition: opacity .25s; }
  .fab { width: 40px; height: 40px; }
  .totop { display: none; }
  body:not(.below-fold) .fab-wrap { opacity: 0; pointer-events: none; }
  body.scrolling .fab-wrap { opacity: 0; pointer-events: none; transition-duration: .12s; }
  .fab-totop { display: block; }
}
@media (min-width: 961px) { .fab-totop { display: none; } }

@media (max-width: 560px) {
  .brand-txt { font-size: 14px; }
  .masthead-in { flex-direction: column; align-items: flex-start; gap: 4px; }
  .kicker { font-size: 11px; letter-spacing: .12em; gap: 10px; }
  .hero h1 { font-size: 38px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-note { padding-right: 44px; }
  .chap-sub { width: 100%; margin-left: 0; }
  .chap-sub b { margin-left: auto; }
  .sp-row { grid-template-columns: 64px 1fr; }
  .persona dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ============================================================
   减少动效
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], [data-entrance], [data-count] { opacity: 1 !important; transform: none !important; }
  .dag-nodes, .dag-edges, .dag-labels, .dag-legend, .tl-m { opacity: 1 !important; }
  .ticker-track { animation: none; }
}
