@font-face {
  font-family: "OPlusSans";
  src: url("assets/fonts/OPlusSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "OPlusSans";
  src: url("assets/fonts/OPlusSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Forum";
  src: url("assets/fonts/Forum-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #0b0b0b;
  --panel: #121411;
  --panel-soft: #1d2417;
  --ink: #f2f2ed;
  --sub: #bab9b6;
  --muted: #959491;
  --primary: #bbda48;
  --line: rgba(242, 242, 237, 0.18);
  --font-body: "OPlusSans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-display: "Forum", "OPlusSans", serif;
  --header-h: 88px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.65; }
body, button, a, input { font-family: var(--font-body); }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button, .button { cursor: pointer; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 200; top: 8px; left: 8px; padding: 12px 16px; background: var(--primary); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 60; inset: 0 0 auto; height: var(--header-h); display: flex; align-items: center; gap: 28px; padding: 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 11, 11, 0.76), rgba(11, 11, 11, 0.16)); }
.brand-link { display: inline-flex; align-items: center; flex: 0 0 auto; min-height: 44px; }
.brand-link img { width: 140px; height: 43px; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-size: 14px; }
.desktop-nav a::after { content: ""; position: absolute; inset: auto 0 3px; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease-out); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
/* 页眉站外入口（鹰眼平台）：字体子集已补入「港」「岛」（见 OPlusSans-*.woff2，448 字），
   不再需要独立字体族，与其余导航项共用 --font-body，字体与字号完全一致。 */
.header-cta { min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--primary); color: var(--bg); font-size: 14px; font-weight: 500; transition: transform 200ms var(--ease-out); }
.header-cta:hover { transform: scale(1.03); }
.header-cta:active { transform: scale(0.97); }
.menu-toggle { display: none; min-width: 52px; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 11, 11, 0.42); font-size: 14px; }
.mobile-nav { position: fixed; z-index: 55; inset: var(--header-h) 0 auto; padding: 16px 24px 24px; background: rgba(11, 11, 11, 0.97); border-bottom: 1px solid var(--line); }
.mobile-nav a, .mobile-nav button { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; }
.mobile-nav button { color: var(--primary); }

#main { min-height: 100vh; min-height: 100dvh; }
.screen { position: absolute; inset: 0; min-height: 100vh; min-height: 100dvh; overflow: auto; background: var(--bg); }
.scene-bg, .scene-shade, .info-shade, .module-backdrop { position: absolute; inset: 0; overflow: hidden; }
.scene-bg img, .module-backdrop img, .info-screen .scene-bg img { width: 100%; height: 100%; object-fit: cover; }
.scene-shade { background: linear-gradient(90deg, rgba(11, 11, 11, 0.9) 0%, rgba(11, 11, 11, 0.68) 42%, rgba(11, 11, 11, 0.16) 75%, rgba(11, 11, 11, 0.2) 100%), linear-gradient(0deg, rgba(11, 11, 11, 0.86) 0%, transparent 38%); }
.kicker { margin: 0 0 24px; color: var(--primary); font-size: 14px; }
.button-row { display: flex; flex-wrap: wrap; gap: 16px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out); }
.button:hover { transform: scale(1.03); }
.button:active { transform: scale(0.97); }
.button-primary { background: var(--primary); color: var(--bg); font-weight: 500; }
.button-ghost { border-color: rgba(242, 242, 237, 0.6); background: rgba(11, 11, 11, 0.18); color: var(--ink); }
.button-outline-primary { border-color: var(--primary); background: rgba(11, 11, 11, 0.2); color: var(--primary); }
.button-small { min-height: 44px; padding: 0 20px; font-size: 14px; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--primary); border-bottom: 1px solid currentColor; }

/* Home */
.home-content { position: relative; z-index: 2; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 136px 5vw 126px; }
.home-content h1 { margin: 0; font-size: clamp(48px, 6.1vw, 86px); font-weight: 500; line-height: 1.08; letter-spacing: -0.045em; }
.home-content h1 span { display: block; }
.home-content h1, .home-lead, .home-note { text-shadow: 0 2px 22px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.5); }
.home-lead { margin: 32px 0 36px; color: var(--ink); font-size: 18px; line-height: 1.8; }
.home-note { margin: 38px 0 0; color: #d6d7d1; font-size: 14px; }
.scene-footer { position: absolute; z-index: 2; inset: auto 48px 22px; display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: #d6d7d1; font-size: 12px; }
.screen-home.is-entering .home-content { opacity: 0; transform: translateY(-8px); }
.screen-home .video-scene { transition: none; }
.screen-home.is-entering .video-scene { transition: transform 760ms var(--ease-out); }
.screen-home .home-content { transition: transform 650ms var(--ease-out), opacity 550ms var(--ease-out); }

/* ── 首页全幅视频背景（6 秒循环） ──────────────────────────────────
   静帧作为底层兼兜底（视频加载中 / 减少动态 / 自动播放被拦截），
   video 叠在上面。静音 + playsinline 保证 iOS 允许自动播放。   */
.video-scene { transform: scale(1); transform-origin: 56% 52%; will-change: transform; backface-visibility: hidden; }
.hero-still, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; backface-visibility: hidden; }
.hero-still { opacity: 1; }
.hero-video { opacity: 1; }
/* 亮色晨光视频：暗幕略加强，保证左侧白色标题高于 WCAG AA */
.screen-home .scene-shade { background: linear-gradient(90deg, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.76) 42%, rgba(11, 11, 11, 0.28) 75%, rgba(11, 11, 11, 0.26) 100%), linear-gradient(0deg, rgba(11, 11, 11, 0.88) 0%, transparent 40%); }
.scene-shade { will-change: opacity; }

/* Hub */
/* 背景整体上移 1/3，建筑主体随之抬高；下方露出的区域（正好是模块卡片区）以纯黑兜底，
   再用「由下至上 黑 → 灰」渐变填充。渐变层放在暗幕之上保证灰色可见，
   顶部渐隐与上方画面软衔接，不产生水平硬分界线。 */
.hub-backgrounds { background: #0b0b0b; }
.hub-backgrounds img { position: absolute; inset: 0; opacity: 0; transform: translateY(-33.333%); transition: opacity 420ms var(--ease-out), transform 700ms var(--ease-out); }
.hub-backgrounds img.is-visible { opacity: 1; }
.hub-shade { background: linear-gradient(90deg, rgba(11, 11, 11, 0.78), rgba(11, 11, 11, 0.3) 58%, rgba(11, 11, 11, 0.12)), linear-gradient(0deg, rgba(11, 11, 11, 0.98) 0%, rgba(11, 11, 11, 0.78) 38%, transparent 72%); }
.hub-shade::after { content: ""; position: absolute; inset: auto 0 0; height: 33.333%; pointer-events: none; background: linear-gradient(0deg, rgba(11, 11, 11, 0) 0%, rgba(150, 150, 150, 0.3) 80%, rgba(150, 150, 150, 0) 100%); }
.hub-copy { position: relative; z-index: 2; padding: 160px 5vw 360px; }
.hub-copy h2 { margin: 0; font-size: clamp(40px, 4.2vw, 62px); font-weight: 500; line-height: 1.16; letter-spacing: -0.035em; }
.hub-copy > p:not(.kicker):not(.hub-instruction) { margin: 24px 0 0; color: var(--ink); font-size: 17px; }
.hub-instruction { margin: 32px 0 0; color: #d6d7d1; font-size: 13px; }
.hub-preview { position: absolute; z-index: 2; top: 120px; right: 48px; margin: 0; color: var(--ink); font-size: 12px; }
.module-dock { position: absolute; z-index: 3; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.module-entry { position: relative; display: flex; flex-direction: column; min-height: 292px; padding: 30px 40px 28px; border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(11, 11, 11, 0.06), rgba(11, 11, 11, 0.32)); transition: background-color 200ms var(--ease-out); }
.module-entry:first-child { border-left: 0; }
.module-entry::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease-out); }
.module-entry:hover, .module-entry:focus-visible, .module-entry.is-preview { background-color: rgba(187, 218, 72, 0.08); }
.module-entry:hover::before, .module-entry:focus-visible::before, .module-entry.is-preview::before { transform: scaleX(1); }
.module-entry strong { margin: 18px 0 20px; font-size: 34px; font-weight: 500; }
.module-entry > span:not(.module-english):not(.module-action) { color: #d6d7d1; font-size: 14px; }
.module-english { color: var(--sub); font-family: var(--font-display); font-size: 17px; }
.module-action { margin-top: auto; padding-top: 24px; color: var(--primary); font-size: 14px; }

/* ── 设计协同页视频背景（视频-004 / 6s） ──────────────────────────
   视频只在「大红框」＝中央主区内满布（不再整屏 fixed）；
   章节栏、顶部导航、底部说明条留在框外，均为不透明深色。
   静帧兜底 + 静音循环视频 + 双层暗幕；源片为亮白室内，暗幕特意加重，
   保证左下角白色标题始终满足 WCAG AA。仅 .module-screen.is-video 启用。 */
.module-video-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; display: none; background: var(--bg); }
.module-screen.is-video .module-video-scene { display: block; }
.module-video-still, .module-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.module-video-still { opacity: 1; }
.module-video { opacity: 1; }
.module-video-shade { position: absolute; inset: 0; z-index: 1; display: none; pointer-events: none; background: linear-gradient(180deg, rgba(11, 11, 11, 0.34) 0%, rgba(11, 11, 11, 0.10) 26%, rgba(11, 11, 11, 0.14) 52%, rgba(11, 11, 11, 0.72) 78%, rgba(11, 11, 11, 0.90) 100%), linear-gradient(90deg, rgba(11, 11, 11, 0.36) 0%, rgba(11, 11, 11, 0.06) 46%, rgba(11, 11, 11, 0) 100%); }
.module-screen.is-video .module-video-shade { display: block; }
.module-screen.is-video .module-backdrop { display: none; }
/* 中央主区跨两列，占满原成果栏位置；成果栏与交互按钮组按截图要求去掉 */
.module-screen:is(.is-video, .is-grid) .module-stage { grid-column: 2 / 4; background: transparent; border-color: rgba(242, 242, 237, 0.12); }
.module-screen:is(.is-video, .is-grid) .module-stage > img { display: none; }
.module-screen.is-video .module-stage-shade { background: linear-gradient(0deg, rgba(11, 11, 11, 0.90) 0%, rgba(11, 11, 11, 0.22) 34%, transparent 62%); }
.module-screen:is(.is-video, .is-grid) .results-panel,
.module-screen:is(.is-video, .is-grid) .interaction-dock { display: none; }
.module-screen:is(.is-video, .is-grid) .chapter-sidebar,
.module-screen:is(.is-video, .is-grid) .module-topbar,
.module-screen:is(.is-video, .is-grid) .module-controls { background: var(--bg); }
.module-screen:is(.is-video, .is-grid) .stage-copy h2, .module-screen:is(.is-video, .is-grid) .stage-copy > p:last-child { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7); }
html[data-motion="reduced"] .module-video { display: none !important; }
html[data-motion="reduced"] .module-video-still { opacity: 1 !important; }

/* Module shell */
.module-screen { overflow: hidden; }
.module-backdrop { opacity: 0.24; }
.module-backdrop::after { content: ""; position: absolute; inset: 0; background: rgba(11, 11, 11, 0.68); }
.module-shell { position: relative; z-index: 2; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 240px minmax(0, 1fr) 280px; grid-template-rows: var(--header-h) 64px minmax(0, 1fr) 96px; }
.module-topbar { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 28px; border-bottom: 1px solid var(--line); background: rgba(11, 11, 11, 0.82); }
.module-tabs { display: flex; align-items: center; gap: 32px; align-self: stretch; }
.module-tabs a { position: relative; display: inline-flex; align-items: center; min-height: 44px; color: var(--sub); font-size: 14px; }
.module-tabs a[aria-current="page"] { color: var(--ink); }
.module-tabs a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 -10px; height: 2px; background: var(--primary); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--sub); font-size: 13px; }
.chapter-sidebar { grid-column: 1; grid-row: 3 / 5; display: flex; flex-direction: column; padding: 24px 20px; border-right: 1px solid var(--line); background: rgba(16, 18, 15, 0.94); }
.chapter-sidebar > p:first-child { margin: 0 16px 18px; color: var(--muted); font-size: 12px; }
#chapter-nav { display: flex; flex-direction: column; }
.chapter-link { position: relative; display: flex; align-items: center; min-height: 56px; padding: 10px 16px; border-left: 3px solid transparent; color: var(--sub); font-size: 14px; }
.chapter-link:hover { color: var(--ink); background: rgba(242, 242, 237, 0.04); }
.chapter-link[aria-current="page"] { border-left-color: var(--primary); background: var(--panel-soft); color: var(--ink); }
.sidebar-note { margin: auto 16px 0; color: var(--muted); font-size: 12px; }
.module-stage { position: relative; grid-column: 2; grid-row: 3; min-height: 420px; margin: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.module-stage > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.module-stage-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 11, 11, 0.92), transparent 62%), linear-gradient(180deg, rgba(11, 11, 11, 0.45), transparent 35%); }
.stage-copy { position: absolute; z-index: 2; inset: auto 28px 26px; }
.stage-status { margin: 0 0 12px; color: var(--primary); font-size: 12px; }
.stage-copy h2 { margin: 0; font-size: clamp(24px, 2.3vw, 34px); font-weight: 500; line-height: 1.25; }
.stage-copy > p:last-child { max-width: 62ch; margin: 12px 0 0; color: #d6d7d1; font-size: 14px; }
.interaction-dock { position: absolute; z-index: 3; inset: 20px 20px auto; display: flex; flex-wrap: wrap; gap: 8px; }
.dock-label { width: 100%; margin: 0 0 4px; color: var(--ink); font-size: 12px; }
.dock-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 1px solid rgba(242, 242, 237, 0.42); border-radius: 999px; background: rgba(11, 11, 11, 0.56); color: var(--ink); font-size: 13px; }
.dock-button[aria-pressed="true"], .dock-button[aria-current="page"] { border-color: var(--primary); background: var(--primary); color: var(--bg); }
.dock-note { width: 100%; margin: 4px 0 0; color: #d6d7d1; font-size: 12px; }
.timeline-control { width: min(460px, 100%); padding: 12px 16px; border: 1px solid rgba(242, 242, 237, 0.3); border-radius: 12px; background: rgba(11, 11, 11, 0.68); }
.timeline-control label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 12px; }
.timeline-control input { width: 100%; accent-color: var(--primary); }
.results-panel { grid-column: 3; grid-row: 3; margin: 24px 24px 24px 0; padding: 24px; overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: rgba(18, 20, 17, 0.94); }
.panel-label { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.results-panel dl { margin: 0; }
.results-panel dl > div { padding: 16px 0; border-top: 1px solid var(--line); }
.results-panel dt { margin-bottom: 8px; color: var(--primary); font-size: 12px; }
.results-panel dd { margin: 0; color: var(--ink); font-size: 14px; }
.results-panel .text-link { margin-top: 20px; font-size: 13px; }
.panel-note { margin: 20px 0 0; color: var(--muted); font-size: 11px; }
.module-controls { grid-column: 2 / 4; grid-row: 4; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 28px; border-top: 1px solid var(--line); background: rgba(11, 11, 11, 0.88); }
.module-controls > p { margin: 0; color: var(--sub); font-size: 13px; }
.chapter-buttons { display: flex; gap: 12px; flex: 0 0 auto; }
.is-disabled { opacity: 0.45; pointer-events: none; }

/* ── 数字化协同工具：三等分预览 + 工具详情 ─────────────────────────
   一张完整预览图铺满整个三栏容器，三个透明的链接覆盖层各占 1/3，
   因此三块天然「拼合成一个完整图」、零接缝；未来每块可单独换成 video。
   仅 .module-screen.is-video（设计协同模块）启用。                  */
.tool-grid[hidden], .tool-detail[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.tool-grid { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-grid-media { position: absolute; inset: 0; overflow: hidden; }
.tool-grid-media picture, .tool-grid-media img { display: block; width: 100%; height: 100%; }
.tool-grid-media img { object-fit: cover; object-position: center; }
/* 施工协同底图：房屋主体略偏下，cover 时保住露台与火炉 */
[data-grid-media="construction"] img { object-position: center 56%; }
[data-grid-media="production"] img { object-position: center 48%; }
/* 工厂图是亮灰白日景，白字需要更重的统一暗幕（仍放在整张底图层，保证三块无明暗断层） */
.tool-grid[data-grid-media="production"] .tool-grid-media::after {
  background: linear-gradient(180deg, rgba(9, 10, 9, 0.88) 0%, rgba(9, 10, 9, 0.62) 42%, rgba(9, 10, 9, 0.46) 70%, rgba(9, 10, 9, 0.80) 100%);
}
.tool-grid-media picture[hidden] { display: none; }
/* 统一暗幕放在整张底图上（不是每块各一层），三块拼起来明暗连续，
   仍是一张完整图；浅色雾天背景下同时保证白色标题的 WCAG AA 对比度。 */
.tool-grid-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9, 10, 9, 0.84) 0%, rgba(9, 10, 9, 0.60) 28%, rgba(9, 10, 9, 0.24) 60%, rgba(9, 10, 9, 0.58) 100%); }

.tool-card {
  --tool-accent: rgba(242, 242, 237, 0.35);
  position: relative; z-index: 1; display: flex; flex-direction: column;
  padding: clamp(20px, 2.4vw, 40px); overflow: hidden;
  /* 用户要求：不体现红 / 绿 / 蓝分隔线，三块靠排版自然分区 */
  border: 0;
  color: var(--ink); isolation: isolate;
  transition: transform 240ms var(--ease-out);
}
.tool-card--red   { --tool-accent: rgba(255, 105, 96, 0.62); }
.tool-card--green { --tool-accent: rgba(187, 218, 72, 0.72); }
.tool-card--blue  { --tool-accent: rgba(96, 165, 250, 0.62); }
/* 每块预留媒体层：未来接入「预览模式动态视频」时，把 <video> 放进
   .tool-card-media 即可，其余布局与标题无需改动。当前为空（静态图阶段）。 */
.tool-card-media { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.tool-card-media video { width: 100%; height: 100%; object-fit: cover; }
/* hover 高亮层：只动 opacity，不触发布局 */
.tool-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; background: linear-gradient(180deg, rgba(187, 218, 72, 0.12), transparent 62%); transition: opacity 240ms var(--ease-out); }
.tool-card:hover::after, .tool-card:focus-visible::after { opacity: 1; }
.tool-card:hover .tool-title, .tool-card:focus-visible .tool-title { transform: translateY(-3px); }
.tool-card:active { transform: scale(0.995); }
.tool-card:focus-visible { outline: 2px solid var(--primary); outline-offset: -4px; }

/* 用户指定：三个编号改为红字文案并留在原位；白色。
   改用微软雅黑（与三块标题同族，含完整中西文字形），避免 Forum 中文回退
   导致「3DGS采集工具」这类混排出现大小不一、基线不齐。 */
.tool-index[hidden] { display: none; }
.tool-index {
  display: block; margin-bottom: 12px; color: #ffffff;
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "OPlusSans", sans-serif;
  font-size: 14px; font-weight: 400; line-height: 1.4; letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
/* 用户指定：三个模块的标题用白色微软雅黑粗体 */
.tool-title {
  margin: 0; font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "OPlusSans", sans-serif;
  font-size: clamp(20px, 2.1vw, 30px); font-weight: 700; line-height: 1.3;
  color: #ffffff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
  transition: transform 240ms var(--ease-out);
}
/* 三个点：与上方标题左对齐（同一 flex 列、同一 padding 起点），
   不放箭头、不出现「查看详细介绍」文字；hover 仅动 transform + opacity */
.tool-cta {
  align-self: flex-start; margin-top: 12px; color: #ffffff;
  font-size: 22px; line-height: 1; letter-spacing: 0.14em;
  transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out);
}
.tool-card:hover .tool-cta, .tool-card:focus-visible .tool-cta { transform: translateY(-3px); opacity: 0.82; }

/* 左下角原有大标题保留（用户截图中有）。用户要求红框内字体统一：
   用与三块主标题同族的微软雅黑、同一字号/字重/行高，并强制单行，
   消除中文子集 + 西文回退造成的大小不一、基线高低不齐。
   纯展示，不拦截卡片点击。 */
.module-screen:is(.is-video, .is-grid):not(.is-tool-detail) .stage-copy {
  z-index: 5; left: 28px; right: auto; width: min(560px, 46%); max-width: none;
  pointer-events: none;
}
.module-screen:is(.is-video, .is-grid):not(.is-tool-detail) .stage-copy h2 {
  margin: 0; font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "OPlusSans", sans-serif;
  font-size: clamp(17px, 1.45vw, 21px); font-weight: 700; line-height: 1.3;
  letter-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums;
  color: #ffffff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}
.module-screen:is(.is-video, .is-grid):not(.is-tool-detail) .stage-copy > p:last-child { font-size: 12px; }
.module-screen:is(.is-video, .is-grid):not(.is-tool-detail) .stage-status { font-size: 11px; margin-bottom: 8px; }

/* ── 逆向建模章节：模型 / 动画灰色占位 ─────────────────────────────
   可转动建筑模型、室内模型动画、室内现状点云等素材后续接入；
   现在按用户要求先给灰色底，并明确标注「素材待接入」，不伪造三维内容。 */
.stage-scene[hidden], .stage-summary[hidden] { display: none !important; }

.stage-scene {
  position: absolute; inset: 0; z-index: 2;
  display: grid; grid-template-columns: 1fr 2fr;
  background: #232421;
}
/* 室内逆向建模：前三=室内动画，后三=现状点云模型 */
#module-stage[data-scene="indoor"] .stage-scene { grid-template-columns: 2fr 1fr; }
/* 建模章用灰色占位替代照片，隐藏三等分底图 */
#module-stage[data-scene="model-left"] .tool-grid-media,
#module-stage[data-scene="indoor"] .tool-grid-media { display: none; }

.scene-panel {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  padding: clamp(20px, 2.4vw, 40px); text-align: center;
  background-color: #2a2b28;
  background-image: repeating-linear-gradient(135deg, rgba(242, 242, 237, 0.028) 0 1px, transparent 1px 14px);
}
.scene-panel--b { background-color: #242520; }
.scene-chip {
  display: inline-block; padding: 3px 9px; border: 1px solid rgba(187, 218, 72, 0.55);
  border-radius: 999px; color: var(--primary); font-size: 11px; line-height: 1.5; letter-spacing: 0.06em;
}
.scene-title { margin: 0; color: #f2f2ed; font-size: clamp(15px, 1.5vw, 20px); font-weight: 700; line-height: 1.35; text-wrap: balance; }
.scene-hint { max-width: 26ch; margin: 0; color: #b9bab3; font-size: 12px; line-height: 1.65; text-wrap: balance; }

/* 建筑逆向建模章：两段实拍翻模视频（左 3DGS / 右 SketchUp）。
   视频铺满所在面板、原亮原色显示（用户要求清晰靓丽，不做整体压暗）；
   只在底部留一条窄暗幕托住左下章节标题，白字改由 text-shadow 保可读。
   ≤991px 面板被三块卡片压得很窄，保留灰色占位文字，不让视频与白字叠在一起。 */
.scene-video { display: none; }
@media (min-width: 992px) {
  .scene-video {
    display: block; position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    /* 2026-11-23 用户反馈：视频要清晰靓丽，不做整体压暗；清晰度优先，文字靠阴影兜底 */
  }
  .scene-video[hidden] { display: none !important; }
  #module-stage[data-scene="model-left"] .scene-panel--a .scene-video { object-position: 46% 50%; }
  .stage-scene.has-video .scene-chip,
  .stage-scene.has-video .scene-title,
  .stage-scene.has-video .scene-hint { display: none; }
  /* 2026-11-24 用户：所有视频保持原始状态，不在视频上叠任何加深层 */
  .stage-scene.has-video .scene-panel::after { display: none; }
  /* 2026-11-23 用户（红框）：建模章的卡片文字改成深灰、去掉灰色底板。
     视频保持原亮原色，浅色 SketchUp 背景上用深灰字直接压住，浅色描边负责在花背景上兜底 */
  #module-stage.has-video .tool-index,
  #module-stage.has-video .tool-title {
    color: #3c3d38;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  }
  #module-stage.has-video .tool-cta { color: #3c3d38; text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6); }
  /* 中栏项目名往下让开 SketchUp 工具栏那一行，落在干净的浅色背景上
     （三块卡片都是 <a>，网格里还有一个 h2 与媒体 div，所以用 nth-of-type 而不是 nth-child） */
  #module-stage.has-video[data-scene="model-left"] .tool-card:nth-of-type(2) { padding-top: clamp(56px, 5vw, 78px); }
  /* 室内章左栏是浅色模型，白色章节标题同样靠双层阴影保可读 */
  #module-stage[data-scene="model-left"] .stage-copy,
  #module-stage[data-scene="indoor"] .stage-copy { text-shadow: 0 1px 3px rgba(0, 0, 0, 0.82), 0 2px 16px rgba(0, 0, 0, 0.66); }
}

/* 建模章左栏收窄，让左下标题留在模型预览窗口内（对齐截图） */
#module-stage[data-scene="model-left"] .stage-copy { width: min(420px, 32%); }

/* 章节说明：一次 / 二次采集页右下角（用户截图中的红字文案） */
.stage-summary {
  position: absolute; right: 28px; bottom: 26px; z-index: 4;
  max-width: 46%; margin: 0; padding-left: 14px;
  border-left: 1px solid rgba(187, 218, 72, 0.55);
  color: #f2f2ed; font-size: 13px; line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

/* 建模章的三块只是标签，不再是工具入口：去掉一切可点击反馈 */
.tool-card--static { cursor: default; }
.tool-card--static::after { display: none; }
.tool-card--static:hover .tool-title,
.tool-card--static:hover .tool-cta { transform: none; opacity: 1; }
.tool-card--static:active { transform: none; }

/* 详情页：占满「三块加起来的面积」（整个 module-stage） */
.tool-detail {
  position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
  padding: clamp(20px, 2vw, 32px); overflow: auto;
  background: linear-gradient(180deg, rgba(9, 10, 9, 0.94), rgba(9, 10, 9, 0.97)), url("assets/bimass/tools/module-preview.webp") center / cover no-repeat;
  background-blend-mode: normal;
}
/* 施工协同详情页：底图换成施工协同的图片 */
.tool-detail--construction {
  background-image: linear-gradient(180deg, rgba(9, 10, 9, 0.94), rgba(9, 10, 9, 0.97)), url("assets/bimass/tools/construction-preview.webp");
}
.tool-detail--production {
  background-image: linear-gradient(180deg, rgba(9, 10, 9, 0.94), rgba(9, 10, 9, 0.97)), url("assets/bimass/tools/production-preview.webp");
}
.module-screen.is-tool-detail .stage-copy { display: none; }
.tool-back { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; color: var(--sub); font-size: 13px; }
.tool-back:hover, .tool-back:focus-visible { color: var(--primary); }
.tool-detail-index { margin: clamp(10px, 1.4vw, 20px) 0 6px; color: var(--primary); font-family: var(--font-display); font-size: 14px; letter-spacing: 0.1em; }
.tool-detail h2 {
  margin: 0; font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "OPlusSans", sans-serif;
  font-size: clamp(28px, 3.2vw, 46px); font-weight: 700; line-height: 1.24; color: #ffffff;
}
.tool-detail-lead { max-width: 62ch; margin: 10px 0 clamp(16px, 2vw, 26px); color: #d6d7d1; font-size: 14px; }
.tool-detail-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(16px, 2vw, 32px); align-items: stretch; }
.tool-preview-frame {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
  min-height: 150px; max-height: 210px; padding: 20px; text-align: center;
  border: 1px dashed rgba(242, 242, 237, 0.34); border-radius: 12px; background: rgba(11, 11, 11, 0.36);
}
.tool-preview-label { color: var(--ink); font-size: 15px; }
.tool-preview-frame p { margin: 0; color: var(--muted); font-size: 12px; }
.tool-intro-slot { padding: clamp(16px, 2vw, 28px); border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 11, 11, 0.42); }
.tool-intro-slot h3 { margin: 0 0 12px; color: var(--primary); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
.tool-intro-slot p { margin: 0 0 12px; color: var(--ink); font-size: 14px; }
/* 施工协同：三个专业用要点清单，替代单段说明 */
.tool-intro-list { margin: 0 0 12px; padding-left: 1.1em; color: var(--ink); font-size: 14px; line-height: 1.75; }
/* 点云扫描详情页的两段实测视频（仅 pointcloud 工具显示） */
.tool-scan-video { position: relative; overflow: hidden; border-radius: 10px; background: #0b0b0b; }
.tool-scan-video[hidden] { display: none; }
/* 竖版 9:16：放进预览框内完整显示，两侧留黑边，不裁切现场画面 */
/* 2026-11-23 红框比例：左列窄（约 24%）、右列宽（约 76%），两列等高撑满详情区 */
/* ── 鹰眼协同管理：JARVIS 平台录屏铺满整个详情区 ───────────────────
   2026-11-23 用户红框：视频放进整块详情页。桌面用整幅背景 + 左侧渐变，
   文字压在视频之上；≤991px 仍走「预览位 + 说明卡」的常规定版。 */
.tool-detail-bg { display: none; }
@media (min-width: 992px) {
  .tool-detail--hawk { overflow: hidden; background: #0b0b0b; }
  .tool-detail--hawk .tool-detail-bg {
    display: block; position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: contain; object-position: center;
    /* 2026-11-24 用户：两段并排录屏要完整显示，不裁切；contain 后两侧留黑边，与深色详情区同色 */
  }
  /* 2026-11-25：一次采集 / 二次采集各一段背景视频，未选中的必须让位（hidden 优先级高于 display:block） */
  .tool-detail--hawk .tool-detail-bg[hidden] { display: none; }
  /* 2026-11-24 用户：视频保持原始状态，不在视频上叠任何加深层 */
  .tool-detail--hawk::before { display: none; }
  .tool-detail--hawk > :not(.tool-detail-bg) { position: relative; z-index: 2; }
  .tool-detail--hawk .tool-preview-slot { display: none; }
  .tool-detail--hawk .tool-detail-body {
    display: flex; flex: 1 1 auto; min-height: 0; align-items: flex-end; justify-content: flex-end;
    padding-bottom: 0;  /* 2026-11-24 用户：文字贴底边对齐 */
  }
  /* 2026-11-24 用户：去掉右下文字块的深灰背景，文字移到右下角、底边对齐；
     视频保持原始亮度，文字靠 text-shadow 兜底可读 */
  .tool-detail--hawk .tool-intro-slot {
    max-width: 420px; border: 0; background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0; margin: 0; text-align: right;
  }
  .tool-detail--hawk .tool-intro-slot h3,
  .tool-detail--hawk .tool-intro-slot p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 2px 12px rgba(0, 0, 0, 0.72);
  }
  /* 2026-11-24 用户：标题「模块说明」和下面两行字右侧对齐。
     h3 是 13px + letter-spacing:.06em，可见字形右边缘比 14px 正文靠右约 7px，这里补偿掉 */
  .tool-detail--hawk .tool-intro-slot h3 { margin-right: 7px; }
  /* 视频提亮后，左上标题区白字同样靠文字阴影保可读，不动画面 */
  .tool-detail--hawk .tool-back,
  .tool-detail--hawk .tool-detail-index,
  .tool-detail--hawk h2,
  .tool-detail--hawk .tool-detail-lead {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.92), 0 2px 12px rgba(0, 0, 0, 0.72);
  }
}

/* ── 施工协同「机电BIM深化 / 装饰BIM深化」：整页背景录屏 ──────────────
   2026-11-25 用户红框：视频放进整块详情区，页面上所有文字压在视频之上、
   不被视频遮挡；视频保持原始色彩与亮度，不做调色与曝光调整（也不叠加深层）。
   2026-11-25 用户绿框：右侧「模块说明」整体下移到右下角，
   移动后文字的底边与左侧导航文字（01 机电BIM深化 …）的底边水平对齐。 */
.tool-detail--scene {
  --detail-pad: clamp(18px, 1.6vw, 26px);
  --detail-gap: clamp(16px, 2vw, 32px);
}
@media (min-width: 992px) {
  .tool-detail--scene {
    padding: var(--detail-pad);
    overflow: hidden;                 /* 背景视频不越出详情区 */
    background: #f4f4f1;              /* 视频加载前的兜底与白底录屏同色系，避免闪黑 */
  }
  .tool-detail--scene .tool-detail-bg {
    display: block; position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%;
    /* 正片 1920x1032（1.86:1）与详情区（约 1.91:1）几乎同比，cover 只裁 2~3% */
    object-fit: cover; object-position: center;
  }
  .tool-detail--scene .tool-detail-bg[hidden] { display: none; }  /* 未选中的那段让位 */
  /* 2026-11-25 用户：去掉文字后面的黑色背景。
     衬底全部移除，画面上不叠任何东西；录屏本身是白底软件界面，
     所以这三块文字改为深色（品牌绿取同色相的深版），
     视频保持原始色彩与亮度，一个像素都不动。 */
  .tool-detail--scene > :not(.tool-detail-bg) { position: relative; z-index: 2; }
  /* 红框区域已由视频承担，虚线预览位与占位文字不再出现 */
  .tool-detail--scene .tool-preview-slot { display: none; }
  /* 说明块要相对「整个详情区」定位，所以这层容器必须保持 static（否则会当成参照系） */
  .tool-detail--scene .tool-detail-body { display: block; position: static; height: 0; min-height: 0; }
  /* 2026-11-25：去衬底后深色文字压不住视频自带的深灰工具栏，
     底部再抬 --scene-safe 让两行文字整体避开这条工具栏带。
     抬升量随面板高度自适应：面板越矮视频裁得越多、工具栏越靠下，
     抬升自动收窄到 0，避免矮屏时说明块顶到导语上。 */
  .tool-detail--scene {
    --scene-safe: clamp(0px, calc((100% - 470px) * 0.33), 26px);
  }
  .tool-detail--scene .tool-switch {
    position: absolute; left: var(--detail-pad);
    bottom: calc(var(--detail-pad) + var(--scene-safe));
    margin: 0; padding-top: 0;
  }
  /* 右下角说明块：底边 = 面板底边 -（内边距 + 安全抬升 + 44px 导航链接内 21.45px 行高的半行余量），
     即与左侧导航文字的底边落在同一条水平线上 */
  .tool-detail--scene .tool-intro-slot {
    position: absolute; z-index: 3;
    right: var(--detail-pad);
    bottom: calc(var(--detail-pad) + var(--scene-safe) + (44px - 21.45px) / 2);
    width: calc((100% - 2 * var(--detail-pad) - var(--detail-gap)) * 0.425);
    padding: 0 clamp(18px, 2vw, 28px);   /* 左右内边距不变，文字横向位置与原来一致 */
    border: 0; border-radius: 0; background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    text-align: left;
  }
  .tool-detail--scene .tool-intro-slot .tool-placeholder { margin-bottom: 0; }
  /* 结构BIM 的录屏右侧自带一条深红图库面板（约占画面宽 15%），
     深色文字压上去读不出来 —— 这一页的说明块整体左移，避开这条面板。 */
  .tool-detail--scene[data-scene-tool="structure"] .tool-intro-slot {
    right: calc(var(--detail-pad) + 13%);
  }
  /* 深色文字方案：白底录屏上白字不可读，这里整块改成深色系。
     对比度按 WCAG 2.2 AA 取：主文字 #101210 / 白底 ≈ 19:1，
     次要文字 #2b2d28 ≈ 13.6:1，品牌绿深版 #5f700f ≈ 5.5:1。 */
  .tool-detail--scene { --scene-ink: #101210; --scene-sub: #2b2d28; --scene-accent: #5f700f; }
  .tool-detail--scene .tool-back,
  .tool-detail--scene .tool-detail-lead,
  .tool-detail--scene .tool-switch a { color: var(--scene-sub); }
  .tool-detail--scene .tool-back:hover,
  .tool-detail--scene .tool-back:focus-visible,
  .tool-detail--scene .tool-switch a:hover,
  .tool-detail--scene .tool-switch a:focus-visible { color: var(--scene-ink); }
  .tool-detail--scene .tool-detail-index,
  .tool-detail--scene .tool-switch a[aria-current="page"] { color: var(--scene-accent); }
  .tool-detail--scene .tool-intro-slot h3 { color: var(--scene-ink); font-weight: 600; }
  .tool-detail--scene .tool-switch a[aria-current="page"] { border-bottom-color: var(--scene-accent); }
  .tool-detail--scene h2,
  .tool-detail--scene .tool-intro-slot,
  .tool-detail--scene .tool-intro-list,
  .tool-detail--scene .tool-intro-slot p,
  .tool-detail--scene .tool-intro-slot li { color: var(--scene-ink); }
  .tool-detail--scene .tool-intro-list li::marker { color: var(--scene-accent); }
  .tool-detail--scene .tool-placeholder { color: var(--scene-sub) !important; }
  /* 画面里有深灰工具栏与线稿，深字压上去仍会被吃掉。
     这里靠两件事托住文字，都不碰视频：① 文字本身加一圈极轻柔光；
     ② 三块小字整体提一档字重、placeholder 提 1px 字号（比堆阴影更有效）。 */
  .tool-detail--scene .tool-back,
  .tool-detail--scene .tool-detail-index,
  .tool-detail--scene .tool-detail-lead,
  .tool-detail--scene .tool-intro-slot,
  .tool-detail--scene .tool-switch a {
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.96), 0 0 2px rgba(255, 255, 255, 0.96),
      0 0 7px rgba(255, 255, 255, 0.9);
  }
  .tool-detail--scene h2 {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.96), 0 0 5px rgba(255, 255, 255, 0.96),
      0 0 16px rgba(255, 255, 255, 0.85);
  }
  .tool-detail--scene .tool-back,
  .tool-detail--scene .tool-detail-lead,
  .tool-detail--scene .tool-switch a,
  .tool-detail--scene .tool-intro-slot p,
  .tool-detail--scene .tool-intro-slot li { font-weight: 500; }
  .tool-detail--scene .tool-placeholder { font-size: 13px !important; }
}

/* ── 生产协同「装饰结构BIM / 硬质饰面产品BIM / 木构产品BIM」：整页图片背景 ──
   2026-11-25 用户红框：把三张效果图分别铺在三个详情页的整块详情区。
   图片保持原始色彩与亮度（不调色、不叠加深层、不加衬底），
   页面原有布局不动（标题区在上、说明块在右、01/02/03 在底部），所有文字压在图上。
   三张图明暗差很大 —— 装饰结构 mean 180 / 硬质饰面 140 / 木构 89 ——
   所以文字色按页适配：前两页深色，木构页白色。 */
@media (min-width: 992px) {
  /* 图片背景用 CSS background 而不是 <img>：滚动容器里 background 默认贴住元素框、
     不随内容滚动 —— 1280×800 这类矮视口下木构页文案比可视高度长 100px，
     用 <img> 会跟着滚走露出深色底，用 background 则像固定不动的景片。 */
  .tool-detail--photo {
    background-image: none;
    background-color: #f4f4f1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    /* 纵向照常滚动（矮视口下木构页文案比可视区高），横向一律不滚：
       底部导航那层羽化暗衬会略微超出盒子，不能让它撑出横向滚动条。 */
    overflow-x: hidden;
  }
  .tool-detail--photo[data-photo-tool="decorative"] {
    background-image: image-set(
      url("assets/bimass/scene/production/decorative-01.avif") type("image/avif"),
      url("assets/bimass/scene/production/decorative-01.jpg") type("image/jpeg"));
  }
  .tool-detail--photo[data-photo-tool="hardfinish"] {
    background-image: image-set(
      url("assets/bimass/scene/production/hardfinish-01.avif") type("image/avif"),
      url("assets/bimass/scene/production/hardfinish-01.jpg") type("image/jpeg"));
  }
  .tool-detail--photo[data-photo-tool="wood"] {
    background-image: image-set(
      url("assets/bimass/scene/production/wood-01.avif") type("image/avif"),
      url("assets/bimass/scene/production/wood-01.jpg") type("image/jpeg"));
    background-color: #2a2118;   /* 暖棕暗调，图片加载前不闪白 */
  }
  .tool-detail--photo > :not(.tool-detail-bg) { position: relative; z-index: 2; }
  /* 红框区域已由背景图承担：虚线预览位与它的「待接入」占位文案不再显示。
     这里用 visibility 而不是 display，保留左侧网格占位 ——
     否则说明块会被 grid 自动排到第一列，跑到页面左边，与截图位置不符。 */
  .tool-detail--photo .tool-preview-slot { visibility: hidden; }
  /* 说明块保留原有的卡片结构（这三页本来就是带底、带描边、圆角的卡片），
     只把卡片底从深色换成同色系浅色磨砂：图片纹理透得出来，
     同时给文字一块亮度稳定的落脚地 —— 装饰结构那页中央压着整块深色木体量，
     纯靠字阴影托不住，任何单一文字色都会有一半读不清。 */
  .tool-detail--photo .tool-intro-slot {
    background: rgba(248, 247, 243, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(14px) saturate(1.04);
    backdrop-filter: blur(14px) saturate(1.04);
  }
  /* 底部 01/02/03 导航不铺任何底：这里图是浅色地面与墙体，深字本身能读，
     加径向白光会横出一条突兀的雾带，反而更糟。
     其中「02」会掠过中央深色木体量，所以这一条字色比别处再深一档、
     白柔光贴身一点（13px 小字，光晕超过 6px 就糊）。 */
  .tool-detail--photo .tool-switch { position: relative; }
  .tool-detail--photo .tool-switch a {
    color: #1a1b15;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.98), 0 0 2px rgba(255, 255, 255, 0.92),
      0 0 7px rgba(255, 255, 255, 0.82);
  }
  .tool-detail--photo .tool-switch a:hover,
  .tool-detail--photo .tool-switch a:focus-visible { color: #000000; }
  /* 默认深色文字方案（浅色图）：主文字 #14150f、次要文字也压到同一深度 ——
     浅底上「次要」不能再靠降低明度做层次（会掉到 4.5:1 以下），改由字号与字重区分。
     品牌绿深版 #3a4606（在 L≈176 的浅底上 4.7:1）。 */
  .tool-detail--photo { --photo-ink: #14150f; --photo-sub: #14150f; --photo-accent: #3a4606; }
  .tool-detail--photo h2,
  .tool-detail--photo .tool-intro-slot,
  .tool-detail--photo .tool-intro-list,
  .tool-detail--photo .tool-intro-slot p,
  .tool-detail--photo .tool-intro-slot li { color: var(--photo-ink); }
  .tool-detail--photo .tool-intro-slot h3 { color: var(--photo-ink); font-weight: 600; }
  .tool-detail--photo .tool-back,
  .tool-detail--photo .tool-detail-lead,
  .tool-detail--photo .tool-switch a { color: var(--photo-sub); }
  .tool-detail--photo .tool-back:hover,
  .tool-detail--photo .tool-back:focus-visible,
  .tool-detail--photo .tool-switch a:hover,
  .tool-detail--photo .tool-switch a:focus-visible { color: var(--photo-ink); }
  .tool-detail--photo .tool-detail-index,
  .tool-detail--photo .tool-switch a[aria-current="page"] { color: var(--photo-accent); }
  .tool-detail--photo .tool-switch a[aria-current="page"] { border-bottom-color: var(--photo-accent); }
  /* 浅底上的深字只需一层很薄的托底光。13px 小字吃不住 2px 以上的柔光
     （笔画本身只有 1px，会被白雾糊成一团），所以小字用 1px 紧贴光 + 提字重。 */
  .tool-detail--photo h2 {
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.92), 0 0 12px rgba(255, 255, 255, 0.8);
  }
  .tool-detail--photo .tool-back,
  .tool-detail--photo .tool-detail-index,
  .tool-detail--photo .tool-detail-lead,
  .tool-detail--photo .tool-intro-slot,
  .tool-detail--photo .tool-switch a {
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.9), 0 1px 4px rgba(255, 255, 255, 0.72);
  }
  .tool-detail--photo .tool-back,
  .tool-detail--photo .tool-detail-lead,
  .tool-detail--photo .tool-switch a,
  .tool-detail--photo .tool-intro-slot p,
  .tool-detail--photo .tool-intro-slot li { font-weight: 500; }
  .tool-detail--photo .tool-intro-slot h3 { font-weight: 600; }
  /* 硬质饰面产品：这张图左侧与底部是深色石材边缘（左上 mean 126、左下 88），
     中央大板很亮（199）。文字按各自实际压到的那条带来分色：
     「返回」「01/03」和底部导航落在深色边条上 → 白字；
     大标题落在亮板上 → 深字；
     导语正好压在板材下缘那条暗色横带上（整行都暗）→ 白字。
     卡内文字跟着卡片底走，始终深字。 */
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-back,
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-detail-index,
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-detail-lead,
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-switch a {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 12px rgba(0, 0, 0, 0.6);
  }
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-back:hover,
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-back:focus-visible,
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-switch a:hover,
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-switch a:focus-visible {
    color: #ffffff; text-decoration: underline; text-underline-offset: 4px;
  }
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-switch a[aria-current="page"] {
    color: #ffffff; border-bottom-color: #ffffff;
  }
  /* 木构产品：暖棕暗调（mean 89），深字只剩 2.4:1 —— 整页改用白字 + 深阴影 */
  .tool-detail--photo[data-photo-tool="wood"] {
    --photo-ink: #ffffff; --photo-sub: #ffffff; --photo-accent: #dbe98a;
  }
  /* 底部导航这几项掠过桌面与木柜的明暗交界，加一层很窄的暗衬把底压稳，
     当前项的文字也回到白色（浅绿小字压在 L≈122 的桌面上只有 3.3:1）。
     暗衬用大椭圆在边缘完全淡出，看不出矩形边界。 */
  .tool-detail--photo[data-photo-tool="wood"] .tool-switch { position: relative; }
  .tool-detail--photo[data-photo-tool="wood"] .tool-switch::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: -22px -20px -24px -20px;
    background: radial-gradient(ellipse 62% 52% at 50% 52%,
      rgba(0, 0, 0, 0.52) 0%,
      rgba(0, 0, 0, 0.34) 40%,
      rgba(0, 0, 0, 0.12) 66%,
      rgba(0, 0, 0, 0) 86%);
  }
  .tool-detail--photo[data-photo-tool="wood"] .tool-switch a[aria-current="page"] {
    color: #ffffff; border-bottom-color: #dbe98a;
  }
  .tool-detail--photo[data-photo-tool="wood"] .tool-switch a[aria-current="page"]:hover,
  .tool-detail--photo[data-photo-tool="wood"] .tool-switch a[aria-current="page"]:focus-visible {
    color: #ffffff;
  }
  /* 暗图配白字：卡片底换成深色磨砂，与浅色页反过来，但结构一致 */
  .tool-detail--photo[data-photo-tool="wood"] .tool-intro-slot {
    background: rgba(24, 20, 15, 0.56);
    border-color: rgba(255, 255, 255, 0.22);
  }
  .tool-detail--photo[data-photo-tool="wood"] h2,
  .tool-detail--photo[data-photo-tool="wood"] .tool-back,
  .tool-detail--photo[data-photo-tool="wood"] .tool-detail-index,
  .tool-detail--photo[data-photo-tool="wood"] .tool-detail-lead,
  .tool-detail--photo[data-photo-tool="wood"] .tool-intro-slot,
  .tool-detail--photo[data-photo-tool="wood"] .tool-switch a {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.72), 0 2px 14px rgba(0, 0, 0, 0.5);
  }
}

/* 视频版详情页把头部收紧一档，把高度让给两段视频（标题仍是页面视觉主体） */
.tool-detail--video { padding: clamp(18px, 1.6vw, 26px); }
.tool-detail--video .tool-back { min-height: 36px; }
.tool-detail--video .tool-detail-index { margin: clamp(6px, 1vw, 12px) 0 4px; }
.tool-detail--video h2 { font-size: clamp(26px, 2.6vw, 38px); }
.tool-detail--video .tool-detail-lead { margin: 8px 0 clamp(12px, 1.4vw, 18px); }

/* 2026-11-23 用户：详情页照「建筑逆向建模」章的尺寸与排布——
   左 1/3、右 2/3，两段视频等高铺满整个详情区，原「模块说明」文案叠加在右侧视频之上。 */
.tool-detail-body--pointcloud,
.tool-detail-body--3dgs {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  flex: 1 1 auto; min-height: 0;
}
.tool-detail-body--pointcloud .tool-preview-slot,
.tool-detail-body--3dgs .tool-preview-slot { display: flex; flex-direction: column; min-height: 0; }
.tool-detail-body--pointcloud .tool-preview-frame--video,
.tool-detail-body--3dgs .tool-preview-frame--video {
  flex: 1 1 auto; min-height: 0;
  padding: 0; border: 0; border-radius: 12px; background: #0b0b0b;  /* 与右栏视频同款通铺，不再有虚线框感 */
}
.tool-detail-body--pointcloud .tool-scan-video--vertical,
.tool-detail-body--3dgs .tool-scan-video--vertical { height: 100%; flex: 1 1 auto; min-height: 0; }
.tool-scan-video--vertical { width: 100%; display: flex; justify-content: center; align-items: center; }
.tool-scan-video--vertical .scan-video { height: 100%; width: auto; max-width: 100%; object-fit: contain; }
/* 点云工具的预览框：去掉占位虚线与内边距，让竖版视频尽量放大 */
.tool-preview-frame--video { min-height: 300px; max-height: none; padding: 8px; border: 1px solid var(--line); background: rgba(11, 11, 11, 0.62); }
/* 横版 8:5：占满右栏宽度，模块说明下移到视频下方 */
.tool-scan-video--wide { width: 100%; height: 250px; flex: none; margin-bottom: 16px; }
/* 右侧：横版视频铺满整列，模块说明原文案压在视频上，底部一条暗幕保可读 */
.tool-detail-body--pointcloud .tool-intro-slot,
.tool-detail-body--3dgs .tool-intro-slot {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 0; padding: clamp(18px, 2vw, 28px); overflow: hidden;
  border: 0; border-radius: 12px; background: #0b0b0b;
}
/* 2026-11-24 用户：视频保持原始状态，不在视频上叠任何加深层 */
.tool-detail-body--pointcloud .tool-intro-slot::after,
.tool-detail-body--3dgs .tool-intro-slot::after { display: none; }
.tool-detail-body--pointcloud .tool-intro-slot > :not(.tool-scan-video),
.tool-detail-body--3dgs .tool-intro-slot > :not(.tool-scan-video) { position: relative; z-index: 2; }
.tool-detail-body--pointcloud .tool-scan-video--wide,
.tool-detail-body--3dgs .tool-scan-video--wide {
  position: absolute; inset: 0; z-index: 0; height: 100%; margin: 0; border-radius: 0;
}
.tool-scan-video--wide .scan-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.scan-video { border: 0; }
.tool-scan-caption { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.tool-intro-list li { margin: 0 0 8px; }
.tool-intro-list li::marker { color: var(--primary); }
.tool-intro-list li:last-child { margin-bottom: 0; }
.tool-intro-list[hidden] { display: none; }
.tool-placeholder { color: var(--muted) !important; font-size: 12px !important; }
.tool-switch { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: auto; padding-top: clamp(16px, 2vw, 24px); }
.tool-switch a { min-height: 44px; display: inline-flex; align-items: center; color: var(--sub); font-size: 13px; border-bottom: 2px solid transparent; }
.tool-switch a:hover, .tool-switch a:focus-visible { color: var(--ink); }
.tool-switch a[aria-current="page"] { color: var(--primary); border-bottom-color: var(--primary); }

html[data-motion="reduced"] .tool-card,
html[data-motion="reduced"] .tool-title,
html[data-motion="reduced"] .tool-cta { transition: none !important; }
html[data-motion="reduced"] .tool-card:hover .tool-title,
html[data-motion="reduced"] .tool-card:hover .tool-cta { transform: none !important; }

/* Assets and about */
.info-shade { background: linear-gradient(90deg, rgba(11, 11, 11, 0.94), rgba(11, 11, 11, 0.72)), linear-gradient(0deg, rgba(11, 11, 11, 0.9), transparent); }
.info-container {
  position: relative; z-index: 2; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 150px 0 72px;
  /* 整个栏目统一中西文字形齐全的单一字体族：OPlusSans 中文子集缺全角标点与部分
     拉丁字形，回退系统字体后字面大小、基线、粗细不齐（用户截图「有大有小」）。
     不靠调字号修，显式指定字体族；a 有 body 级显式规则，需单独继承。 */
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "OPlusSans", sans-serif;
}
.info-container a { font-family: inherit; }
.info-container h2 { max-width: 850px; margin: 0; font-size: clamp(40px, 5vw, 66px); font-weight: 500; line-height: 1.2; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.info-lead { max-width: 720px; margin: 24px 0 40px; color: #d6d7d1; font-size: 17px; letter-spacing: 0; }
/* 数字资产页：文字左边界对齐其他页面（首页/枢纽页均为 5vw）。原 .info-container
   是 1180px 居中，1440 宽屏下左缘 130px，比 5vw(72px) 靠右 58px，用户标注要求左移对齐。 */
.info-container--assets { width: 100%; max-width: none; padding-left: 5vw; padding-right: 5vw; }
/* 首屏两栏：左栏标题 + 导语 + FBIM 技术说明，右栏数字孪生视频（纯装饰，上不叠字）。
   视频后段是亮色后台界面，故左侧文字区自带深色实底，不依赖视频对比度。 */
/* 22:35 标注：左栏文字收窄、右栏视频放大填满红框。左≈433px、右≈900px（16:9） */
.asset-hero { display: grid; grid-template-columns: minmax(0, 0.48fr) minmax(0, 1.02fr); gap: 40px; align-items: start; }
.asset-hero-copy { position: relative; z-index: 2; padding: 40px 24px 40px 0; }
/* 左栏较窄，标题收至 44px 上限，保证第二行 10 字单行不折行（逐字几何一致） */
.asset-hero-copy h2 { max-width: 433px; font-size: clamp(28px, 2.5vw, 36px); }
/* 导语与 FBIM 说明收窄到 433px，超出的字在红框内自然换行 */
.asset-hero-copy .info-lead { margin: 20px 0 0; max-width: 433px; }
.asset-tech { max-width: 433px; margin: 20px 0 0; color: #e2e3dc; font-size: 14px; line-height: 1.9; letter-spacing: 0; text-wrap: pretty; }
/* 视频保持原始 960×544 比例（约 16:9），object-fit:contain 保证不裁切、不变形；
   框宽占满右栏，高度由比例决定（不再强行拉伸到与左栏等高）。 */
/* margin-top 让视频顶边对齐标注红框顶部（约 199px），不再超出红框 */
.asset-hero-media { position: relative; z-index: 1; margin-top: 48px; aspect-ratio: 960 / 544; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #0b0b0b; }
.asset-video { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: #0b0b0b; }
/* 视频上不叠文字，仅加极轻暗幕压住后段亮色后台界面，避免整块过曝刺眼 */
.asset-hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(9,10,9,.12), rgba(9,10,9,.28)); }
.asset-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
/* 22:27 截图：筛选按钮行整体平移到首屏下方（视频区之后、页面底部） */
/* 22:46 标注：按钮行上移到与视频底边齐平（去掉之前的大间距） */
.asset-filters--bottom { position: relative; z-index: 2; margin: 0; }
.asset-filters a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--sub); }
.asset-filters a[aria-current="page"] { border-color: var(--primary); color: var(--primary); background: rgba(187, 218, 72, 0.08); }
.asset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.asset-card { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: rgba(11, 11, 11, 0.78); }
/* 全部资产视图：竣工汇总卡跨两列收尾，避免 5 张卡在 3 列栅格留空档 */
.asset-card--wide { grid-column: span 2; }
.asset-card .asset-module { color: var(--primary); font-size: 12px; }
.asset-card h2 { margin: 20px 0 12px; font-size: 21px; font-weight: 500; }
.asset-card p { margin: 0; color: var(--sub); font-size: 14px; }
.asset-status { display: inline-flex; margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
/* 桌面三列：同一行卡片正文行数不同（2 行 / 1 行）会让「标准交付成果」与上方横杠一高一低。
   给正文区一个「两行」下限，状态行便自然落在同一水平线上；文字与横杠仍左对齐，
   横杠宽度、卡片高度与卡片内其他元素位置都不变。仅桌面生效，移动端保持原样。 */
@media (min-width: 992px) {
  .asset-card p { min-height: 3.3em; min-height: 2lh; }
}
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; margin-top: 48px; }
.about-panel { padding: 28px; border-left: 2px solid var(--primary); background: rgba(11, 11, 11, 0.68); }
.about-panel h2 { margin: 0 0 16px; font-size: 24px; font-weight: 500; }
.about-panel p, .about-panel li { color: #d6d7d1; }
.about-panel ul { margin: 0; padding-left: 20px; }

.motion-toggle { position: static; flex: 0 0 auto; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 11, 11, 0.42); color: var(--sub); font-size: 12px; }
.motion-toggle[aria-pressed="true"] { border-color: var(--primary); color: var(--primary); }
.contact-dialog { width: min(560px, calc(100% - 32px)); padding: 36px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--ink); }
.contact-dialog::backdrop { background: rgba(11, 11, 11, 0.76); backdrop-filter: blur(6px); }
.contact-dialog h2 { margin: 0 0 20px; font-size: 30px; font-weight: 500; line-height: 1.3; }
.contact-dialog p:not(.kicker), .contact-dialog li { color: var(--sub); }
.dialog-close { float: right; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: 13px; }
.noscript-content { position: relative; z-index: 80; margin: 100px 24px 24px; padding: 24px; background: var(--panel); border: 1px solid var(--line); }

@media (max-width: 1199px) {
  .site-header { padding: 0 28px; gap: 20px; }
  .desktop-nav { gap: 20px; }
  .module-shell { grid-template-columns: 200px minmax(0, 1fr) 240px; }
  .module-entry { padding: 26px; }
  .module-entry strong { font-size: 30px; }
  .results-panel { padding: 18px; }
}

@media (max-width: 991px) {
  :root { --header-h: 80px; }
  .desktop-nav { display: none; }
  .site-header .menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 52px; background: #0b0b0b; color: #f2f2ed; border-color: rgba(242, 242, 237, 0.7); }
  .header-cta { margin-left: auto; }
  .home-content { padding-inline: 32px; }
  .hub-copy { padding: 136px 32px 32px; }
  .hub-preview { top: 100px; right: 32px; }
  .screen-hub { overflow: auto; }
  .module-dock { position: relative; grid-template-columns: 1fr; margin-top: 96px; background: rgba(11, 11, 11, 0.38); }
  .module-entry { min-height: 176px; border-left: 0; border-top: 1px solid var(--line); }
  .module-entry strong { margin: 12px 0; }
  .module-action { padding-top: 16px; }
  .module-screen { overflow: auto; }
  .module-shell { display: grid; grid-template-columns: 1fr; grid-template-rows: var(--header-h) auto auto minmax(480px, 68vh) auto auto; min-height: 100dvh; }
  .module-topbar { grid-column: 1; grid-row: 2; padding: 10px 20px; }
  .module-tabs { gap: 22px; overflow-x: auto; }
  .chapter-sidebar { grid-column: 1; grid-row: 3; padding: 14px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .chapter-sidebar > p:first-child, .sidebar-note { display: none; }
  #chapter-nav { flex-direction: row; flex-wrap: wrap; gap: 2px 8px; overflow-x: visible; }
  .chapter-link { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
  .chapter-link[aria-current="page"] { border-left-color: transparent; border-bottom-color: var(--primary); }
  .module-stage { grid-column: 1; grid-row: 4; min-height: 480px; margin: 20px; }
  /* 设计协同页单列布局：视频主区仍占满整行，成果栏隐藏后不留空档 */
  .module-screen:is(.is-video, .is-grid) .module-stage { grid-column: 1; }
  .module-screen:is(.is-video, .is-grid) .sidebar-note { display: block; margin: 12px 12px 0; }
  /* 移动优先：三块纵向堆叠，仍共用一张底图（纵向拼合） */
  .tool-grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); }
  .tool-card { border: 0; padding: 18px 22px; }
  .tool-index { margin-bottom: 6px; font-size: 13px; }
  .tool-title { font-size: clamp(20px, 5.4vw, 27px); }
  .tool-cta { margin-top: 8px; font-size: 20px; }
  /* 移动端三块纵向堆叠：原有大标题会压住第三块标题，按移动优先原则隐藏
     （信息已由三块主标题与底部说明条完整表达），桌面仍保留 */
  .module-screen:is(.is-video, .is-grid):not(.is-tool-detail) .stage-copy { display: none; }
  /* 建模章占位：默认纵向堆叠，再按章节改为上下两块 */
  .stage-scene { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  #module-stage[data-scene="indoor"] .stage-scene { grid-template-columns: 1fr; grid-template-rows: 2fr 1fr; }
  /* 有占位区／底部说明的章节：三块先收成内容高度，说明与占位落到它们下方，
     避免绝对定位的说明文字压住卡片标题（桌面不受影响） */
  #module-stage[data-summary="true"] .tool-grid,
  #module-stage[data-scene="model-left"] .tool-grid,
  #module-stage[data-scene="indoor"] .tool-grid { grid-template-rows: repeat(3, auto); align-content: start; }
  #module-stage[data-summary="true"] { min-height: 580px; }
  #module-stage[data-scene="model-left"],
  #module-stage[data-scene="indoor"] { min-height: 740px; }
  /* 占位区仍铺满整块舞台（背景统一变灰），文字下移避开上方三块卡片 */
  .scene-panel { padding-top: 220px; }
  /* 章节说明改为底部整条 */
  .stage-summary {
    top: auto; left: 16px; right: 16px; bottom: 14px; max-width: none;
    padding: 12px 14px; border-left: 0; border-top: 1px solid rgba(187, 218, 72, 0.55);
    border-radius: 10px; background: rgba(9, 10, 9, 0.82); font-size: 12px; line-height: 1.65;
  }
  .tool-detail-body { grid-template-columns: 1fr; }
  .tool-preview-frame { min-height: 140px; max-height: 180px; }
  /* 详情页窄屏：内容整体不压缩（否则两段视频会向上压住标题），超出一屏改为整块滚动 */
  .tool-detail-body { flex: 0 0 auto; }
  .tool-detail-body--pointcloud .tool-scan-video--vertical,
  .tool-detail-body--3dgs .tool-scan-video--vertical { height: min(56vh, 360px); }
  .tool-detail-body--pointcloud .tool-scan-video--wide,
  .tool-detail-body--3dgs .tool-scan-video--wide { height: min(32vh, 210px); }
  /* 预览框在窄屏按内容撑高，不要 flex:1 把 0 高度撑成「上下都溢出」 */
  .tool-detail-body--pointcloud .tool-preview-frame--video,
  .tool-detail-body--3dgs .tool-preview-frame--video {
    flex: 0 0 auto; min-height: 0; max-height: none;   /* 放开上面的 180px 上限，否则视频向上溢出压住标题 */
  }
  /* 鹰眼：窄屏把整幅背景改成标题下方的常规视频块，不再做背景层 */
  .tool-detail--hawk { overflow: auto; }
  .tool-detail--hawk .tool-detail-bg {
    display: block; position: static; order: 1;
    width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover;
    margin: 6px 0 14px; border-radius: 12px; background: #0b0b0b;
  }
  .tool-detail--hawk .tool-detail-body { order: 2; display: block; }
  .tool-detail--hawk .tool-switch { order: 3; }
  /* 施工协同「机电 / 结构 / 装饰 BIM 深化」：窄屏与鹰眼同一手法 ——
     整页背景录屏改成标题下方（导语之后）的常规视频块，画面完整可见。
     手机竖屏放不下 1.86:1 的横版录屏做整页背景（cover 只剩中间约 1/5，软件界面全糊），
     白底录屏上压深色字也读不稳，所以这里「视频在上、文字在下」不做叠加。
     16:9 与三段录屏（1.86 / 1.67 / 1.86）都接近：统一比例保证切换 01/02/03 时页面高度不跳；
     画面用 contain 完整显示不裁切，比例上的微小差值留黑边（与块底色同色，不显眼）。
     max-height 兜住矮视口（横屏手机、991×740 这类小窗口）：视频块不高过可视区，一屏能看全。
     虚线预览位与「待接入」占位文案让位（视频本身已经出现）。
     ≥992px 仍是整页背景 + 文字叠加，见上方 .tool-detail--scene 的桌面规则。 */
  .tool-detail--scene .tool-detail-bg:not([hidden]) {
    display: block; position: static; order: 1;
    width: 100%; height: auto; aspect-ratio: 16 / 9;
    max-height: 62dvh;
    object-fit: contain;
    margin: 4px 0 16px; border-radius: 12px; background: #0b0b0b;
  }
  .tool-detail--scene .tool-detail-body { order: 2; }
  .tool-detail--scene .tool-switch { order: 3; }
  .tool-detail--scene .tool-preview-slot { display: none; }
  /* 生产协同「装饰结构 / 硬质饰面 / 木构产品」：窄屏把虚线预览位改成效果图位 ——
     位置与施工协同的视频块完全对应（导语下方、模块说明上方），
     原图 1920×862 按原比例完整显示，不裁切、不调色；占位文案隐藏。
     两页文字都回到深色详情区的常规白字方案（不再压图，无需按图分色）。
     ≥992px 仍是整页 CSS 背景图，见上方 .tool-detail--photo 的桌面规则。 */
  .tool-detail--photo .tool-preview-frame {
    aspect-ratio: 1920 / 862; min-height: 0; max-height: none; padding: 0;
    border: 0; border-radius: 12px;
    background-position: center; background-size: cover; background-repeat: no-repeat;
  }
  .tool-detail--photo .tool-preview-frame > * { display: none; }
  .tool-detail--photo[data-photo-tool="decorative"] .tool-preview-frame {
    background-color: #f4f4f1;
    background-image: image-set(
      url("assets/bimass/scene/production/decorative-01.avif") type("image/avif"),
      url("assets/bimass/scene/production/decorative-01.jpg") type("image/jpeg"));
  }
  .tool-detail--photo[data-photo-tool="hardfinish"] .tool-preview-frame {
    background-color: #f4f4f1;
    background-image: image-set(
      url("assets/bimass/scene/production/hardfinish-01.avif") type("image/avif"),
      url("assets/bimass/scene/production/hardfinish-01.jpg") type("image/jpeg"));
  }
  .tool-detail--photo[data-photo-tool="wood"] .tool-preview-frame {
    background-color: #2a2118;
    background-image: image-set(
      url("assets/bimass/scene/production/wood-01.avif") type("image/avif"),
      url("assets/bimass/scene/production/wood-01.jpg") type("image/jpeg"));
  }
  /* 窄屏回到「视频在上、文字在下」的静态排布，不做叠加 */
  .tool-detail-body--pointcloud .tool-intro-slot,
  .tool-detail-body--3dgs .tool-intro-slot {
    display: block; padding: clamp(16px, 2vw, 28px);
    border: 1px solid var(--line); border-radius: 12px; background: rgba(11, 11, 11, 0.42);
  }
  .tool-detail-body--pointcloud .tool-intro-slot::after,
  .tool-detail-body--3dgs .tool-intro-slot::after { display: none; }
  .tool-detail-body--pointcloud .tool-scan-video--wide,
  .tool-detail-body--3dgs .tool-scan-video--wide {
    position: static; height: min(32vh, 210px); margin-bottom: 16px; border-radius: 10px;
  }
  .results-panel { grid-column: 1; grid-row: 5; margin: 0 20px 20px; overflow: visible; }
  .module-controls { grid-column: 1; grid-row: 6; padding: 20px; }
  /* 数字资产首屏：窄屏单列，视频移到文案下方，避免两栏挤压 */
  .asset-hero { grid-template-columns: 1fr; gap: 24px; }
  .asset-hero-copy { padding: 0; }
  .asset-hero-copy h2, .asset-hero-copy .info-lead, .asset-tech { max-width: none; }
  .asset-hero-media { margin-top: 0; }
  .asset-grid { grid-template-columns: repeat(2, 1fr); }
  .asset-card--wide { grid-column: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 575px) {
  :root { --header-h: 72px; }
  .site-header { padding: 0 18px; }
  .brand-link img { width: 118px; height: auto; }
  .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .home-content { justify-content: flex-end; padding: 120px 22px 138px; }
  .home-content h1 { font-size: clamp(42px, 12.8vw, 58px); letter-spacing: -0.05em; }
  .home-lead { margin: 24px 0 28px; font-size: 16px; }
  .home-lead br { display: none; }
  .home-note { margin-top: 28px; }
  .button-row { width: 100%; flex-direction: column; gap: 10px; }
  .button-row .button { width: 100%; flex: none; padding-inline: 16px; }
  .scene-footer { inset: auto 22px 18px; font-size: 11px; }
  .scene-footer span:last-child { display: none; }
  .scene-shade { background: linear-gradient(0deg, rgba(11, 11, 11, 0.94) 0%, rgba(11, 11, 11, 0.54) 60%, rgba(11, 11, 11, 0.4) 100%); }
  .hub-copy { padding: 116px 22px 20px; }
  .hub-copy h2 { font-size: 38px; }
  .hub-copy > p:not(.kicker):not(.hub-instruction) { font-size: 15px; }
  .hub-instruction { font-size: 12px; }
  .hub-preview { display: none; }
  .module-dock { margin-top: 72px; }
  .module-entry { padding: 24px 22px; }
  .module-entry strong { font-size: 30px; }
  .module-topbar { align-items: flex-start; flex-direction: column; gap: 4px; }
  .module-tabs { width: 100%; }
  .back-link { align-self: flex-end; }
  .module-shell { grid-template-rows: var(--header-h) auto auto minmax(430px, 64vh) auto auto; }
  .module-stage { min-height: 430px; margin: 14px; border-radius: 12px; }
  .interaction-dock { inset: 14px 14px auto; }
  .dock-button { min-height: 44px; padding-inline: 14px; }
  .stage-copy { inset: auto 20px 22px; }
  .stage-copy h2 { font-size: 25px; }
  .stage-copy > p:last-child { font-size: 13px; }
  .results-panel { margin: 0 14px 14px; }
  .module-controls { align-items: flex-start; flex-direction: column; }
  .chapter-buttons { width: 100%; }
  .chapter-buttons .button { flex: 1; }
  .info-container { width: calc(100% - 36px); padding-top: 118px; }
  .info-container h2 { font-size: 36px; }
  .info-lead { font-size: 15px; }
  .info-container--assets { width: 100%; padding-left: 5vw; padding-right: 5vw; }
  .asset-hero { gap: 20px; }
  .asset-hero-copy h2 { font-size: 32px; }
  .asset-tech { margin-top: 20px; font-size: 13px; line-height: 1.8; }
  .asset-filters { margin-top: 20px; }
  .asset-hero-media { border-radius: 12px; }
  .asset-grid { grid-template-columns: 1fr; }
  .asset-card { min-height: 190px; }
  .about-panel { padding: 22px; }
  .motion-toggle { padding-inline: 10px; font-size: 11px; }
  .contact-dialog { padding: 26px 22px; }
  .contact-dialog h2 { font-size: 25px; }
}

@media (max-height: 760px) and (min-width: 992px) {
  .module-screen { overflow: auto; }
  .module-shell { min-height: 780px; }
  .home-content { padding-top: 120px; padding-bottom: 100px; }
  .home-content h1 { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
html[data-motion="reduced"] *, html[data-motion="reduced"] *::before, html[data-motion="reduced"] *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
html[data-motion="reduced"] .video-scene { transition: none !important; transform: none !important; }
html[data-motion="reduced"] .hero-video { display: none !important; }
html[data-motion="reduced"] .hero-still { opacity: 1 !important; }
@media (prefers-reduced-motion: reduce) { .screen-home.is-entering .video-scene { transition: none !important; } }
