﻿/* ==========================================================
   Magic House Prefab — 本站样式层（叠在 base.css 之上；base.css 由 _src/theme.py 生成，只当版式骨架）

   定位：集装箱房屋的生产厂家。不是民宿、不是精品酒店。
   所以整站是「白天的厂区」，不是「傍晚的木屋」：

   - 明暗：以亮为主。浅钢灰打底、白色卡片；深色只留三处——首屏照片、室内实景、页脚。
           整页深色沉浸是酒店的手法，厂家不靠它撑质感。
   - 玻璃：毛玻璃保留，但主要形态翻成浅色磨砂（白玻璃 + 白高光描边 + 真实投影）。
           深色磨砂只用在压着照片的控件上（顶栏、询价条、角标、照片里的说明条）。
   - 颜色：蓝图蓝。工程图纸本来就是蓝的，和图纸网格、尺寸标尺是同一套逻辑。
   - 字：标题 Inter 600 + 紧字距，像钢印；规格 / 编号 / 读数一律等宽。
   - 结构：工程图纸的语言贯穿全站——1px 发丝线、带刻度的标尺、图号编号、
           零件明细表式的参数行、方角铭牌。圆角收小，产品是制造出来的东西。

   类名沿用原有的 .tone-*，但含义已重新定义（见「区块色调」一节）。
   ========================================================== */
:root {
  /* ---- 底色：从白到钢 ---- */
  --paper: #ffffff;
  --pale: #f7f8fa;
  --bg: #eceef1;
  --steel: #dce0e5;
  --dark: #151b21;
  --dark-2: #1b222a;
  --sand: #e3e6ea;            /* 产品棚拍图的底色：图片加载前后不跳色 */
  --card: var(--paper);
  --bg-2: var(--pale);
  --bg-3: var(--steel);

  /* ---- 文字 ---- */
  --ink: #121619;
  --ink-2: rgba(18,22,25,.72);
  --muted: rgba(18,22,25,.52);
  --line: rgba(18,22,25,.13);
  --hairline: rgba(18,22,25,.075);

  /* ---- 蓝图蓝 ---- */
  --accent: #1a3c61;
  --accent-2: #2d5c8f;
  --accent-w: #8ab0d8;        /* 深底上的蓝字 */

  /* ---- 图纸网格线 ---- */
  --blue: rgba(26,60,97,.13);
  --blue-f: rgba(26,60,97,.055);

  --radius: 10px;
  --radius-lg: 14px;
  --r-xl: 18px;
  --wrap: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Noto Sans SC Web", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, "JetBrains Mono", "Roboto Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --serif: var(--font);       /* 原来标题用 Newsreader，现在全站无衬线；变量留着兼容旧选择器 */

  /* ---- 阴影：浅底上必须是真实投影，才看得出层级 ---- */
  --sh-1: 0 1px 2px rgba(18,22,25,.05), 0 2px 8px -4px rgba(18,22,25,.09);
  --sh-2: 0 1px 2px rgba(18,22,25,.06), 0 12px 28px -14px rgba(18,22,25,.2);
  --sh-3: 0 2px 4px rgba(18,22,25,.07), 0 26px 60px -26px rgba(18,22,25,.34);
  --ring: 0 0 0 3px rgba(26,60,97,.22);

  /* ---- 浅色毛玻璃 ---- */
  --glass-fx: blur(24px) saturate(170%);
  --glass-bg: rgba(255,255,255,.64);
  --glass-bg-2: rgba(255,255,255,.8);
  --glass-tint: rgba(18,22,25,.045);
  --glass-edge: linear-gradient(150deg, rgba(255,255,255,1), rgba(255,255,255,.45) 28%, rgba(18,22,25,.07) 58%, rgba(255,255,255,.6));
  --glass-inset: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(18,22,25,.06);
  --glass-drop: 0 1px 2px rgba(18,22,25,.06), 0 20px 44px -22px rgba(18,22,25,.3);
  /* ---- 压在照片上的深色毛玻璃 ---- */
  --gd-bg: rgba(18,24,30,.42);
  --gd-edge: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 1px 0 rgba(255,255,255,.16);
  --gd-drop: 0 10px 30px -14px rgba(0,0,0,.6);
  --gd-rim: linear-gradient(150deg, rgba(255,255,255,.6), rgba(255,255,255,.14) 28%, rgba(255,255,255,.04) 56%, rgba(255,255,255,.3));
  --glass-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

html { background: var(--bg); color-scheme: light; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
::selection { background: rgba(26,60,97,.9); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
* { scrollbar-color: rgba(18,22,25,.26) transparent; }
::-webkit-scrollbar-thumb { background-color: rgba(18,22,25,.22); }
::-webkit-scrollbar-thumb:hover { background-color: rgba(18,22,25,.36); }
img[data-ph] { background: var(--sand); }
a { color: inherit; }

/* ==========================================================
   玻璃材质
   .glass 是浅色磨砂：元素自己做背景模糊，::before 画渐变描边（亮边在左上，像真实
   玻璃的受光边），::after 是随光标移动的柔光（main.js 写入 --mx / --my）+ 细颗粒。
   里面还要再套玻璃的容器（顶栏、询价条、表单、筛选条）不能用 .glass——带
   backdrop-filter 的元素会成为「背景根」，子元素的玻璃只能模糊到它自己——这类容器
   把模糊画在 ::before 上，写法见各自的区块。
   ========================================================== */
.glass {
  position: relative; isolation: isolate; border-radius: var(--gr, 14px);
  background-color: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: var(--glass-inset), var(--glass-drop);
}
.glass::before, .glass-edge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--glass-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background:
    radial-gradient(240px circle at var(--mx, 18%) var(--my, -30%), rgba(255,255,255,.75), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 40%),
    var(--glass-grain);
}
.glass.solid-glass { background-color: var(--glass-bg-2); }

/* 压在照片上的玻璃：深色磨砂 + 浅色文字。按所在区块切换，HTML 不用区分 */
.hero .glass, .inside .glass, .cta .glass, .page-hero .glass {
  color: #f2f5f7; background-color: var(--gd-bg);
  box-shadow: var(--gd-edge), var(--gd-drop);
}
.hero .glass::before, .inside .glass::before, .cta .glass::before, .page-hero .glass::before { background: var(--gd-rim); }
.hero .glass::after, .inside .glass::after, .cta .glass::after, .page-hero .glass::after {
  background:
    radial-gradient(240px circle at var(--mx, 18%) var(--my, -30%), rgba(255,255,255,.17), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 42%),
    var(--glass-grain);
}
/* 不支持背景模糊时退回实色，不会出现透明看不清 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass, .form::before, .toolbar::before { background-color: rgba(255,255,255,.97) !important; }
  .header .wrap::before, .quote-bar::before { background-color: rgba(20,26,32,.95) !important; }
  .hero .glass, .inside .glass, .cta .glass, .hotspot { background-color: rgba(18,24,30,.92) !important; }
}

/* ==========================================================
   排版
   ========================================================== */
h1, h2, h3, .h1, .h2, .h3, .card-title { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
.h1 { font-size: clamp(42px, 5.4vw, 86px); font-weight: 600; line-height: 1.04; letter-spacing: -.036em; }
.h2 { font-size: clamp(29px, 3.4vw, 50px); font-weight: 600; line-height: 1.09; letter-spacing: -.028em; }
.h3 { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -.016em; }
.h1 em, .h2 em, .page-hero h1 em, .ar-head h1 em { font: inherit; color: inherit; letter-spacing: inherit; }
.lead { font-size: 17px; line-height: 1.64; color: var(--ink-2); max-width: 46ch; }
.small { color: var(--muted); }

/* 眉标 → 技术标签：等宽 + 宽字距 + 方块前缀，像设备上的丝印。
   带 data-no 的区块，前缀变成「03 /」的图号（编号写在属性上，不会被 i18n 覆盖） */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; flex: none; width: 7px; height: 7px; background: currentColor; }
.eyebrow[data-no] { color: var(--muted); }
.eyebrow[data-no]::before {
  content: attr(data-no) " /"; width: auto; height: auto; background: none;
  font-family: var(--mono); letter-spacing: .1em; color: var(--accent);
}
/* 等宽字体的汉字回退很难看：中文模式回到无衬线，靠字距撑出丝印感 */
.eyebrow:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; letter-spacing: .18em; text-transform: none; }
.eyebrow:lang(zh-CN)::before { width: 6px; height: 6px; }
.eyebrow[data-no]:lang(zh-CN)::before { font-family: var(--mono); width: auto; height: auto; }
/* 深色背景（照片、页脚）上的眉标 */
.hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow, .inside-panel .eyebrow, .footer .eyebrow { color: var(--accent-w); }
.hero .eyebrow[data-no], .cta .eyebrow[data-no], .inside-panel .eyebrow[data-no] { color: rgba(242,245,247,.58); }
.hero .eyebrow[data-no]::before, .cta .eyebrow[data-no]::before, .inside-panel .eyebrow[data-no]::before { color: var(--accent-w); }

/* 尺寸标尺：图纸上那条带刻度的线，用来替代光秃秃的 border-top */
.rule {
  height: 6px; margin: 0 0 44px; border: 0;
  background:
    linear-gradient(var(--line), var(--line)) top left / 100% 1px no-repeat,
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 56px) top left / 100% 5px no-repeat;
}

/* 图纸网格：铺在区块背景里的工程坐标纸 */
.grid-paper {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(90deg, var(--blue) 0 1px, transparent 1px),
    linear-gradient(var(--blue) 0 1px, transparent 1px),
    linear-gradient(90deg, var(--blue-f) 0 1px, transparent 1px),
    linear-gradient(var(--blue-f) 0 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 14%, #000 78%, transparent);
}

/* 铭牌：方角、描边、等宽。技术信息不该套在胶囊里 */
.plate {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 4px;
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}

/* 读数：所有数字一律等宽对齐 */
.facts b, .stat b, .timeline b, .spec-table dd, .specs, .res-specs, .perks b, .g-count, .hero-card .hc-meta,
.qb-field input, .pager button, .ar-head time, .news-card .media time, #product-count, .fac-spec dd, .spec-strip b {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}

/* ==========================================================
   按钮：主操作是蓝图蓝实底，次操作是白底描边，照片上的是玻璃
   ========================================================== */
.btn {
  height: 50px; padding: 0 22px; gap: 10px; border: 0; border-radius: 8px; font-size: 15px; font-weight: 600;
  letter-spacing: -.005em; box-shadow: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .25s, box-shadow .25s, color .25s;
}
.btn .ic, .btn-light .ic, .btn-dark .ic, .btn-accent .ic, .btn-ghost .ic, .ar-card .btn-light .ic {
  width: auto; height: auto; border: 0; border-radius: 0; background: none; color: inherit;
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: transform .35s var(--ease);
}
.btn:hover .ic, .btn-ghost:hover .ic { transform: translateX(3px); background: none; border: 0; color: inherit; }
/* 主操作：.btn-accent / .btn-dark */
.btn-accent, .btn-dark {
  background: var(--accent); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(18,22,25,.1), 0 10px 24px -12px rgba(26,60,97,.55);
}
.btn-accent:hover, .btn-dark:hover { background: #16334f; color: #fff; transform: translateY(-1px); }
/* 次操作：白底描边 */
.btn-light, .btn-line {
  background: var(--paper); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(18,22,25,.05);
}
.btn-light:hover, .btn-line:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(18,22,25,.26), var(--sh-2); transform: translateY(-1px); }
/* 照片上的次操作：玻璃 */
.hero .btn-light, .hero .btn-line, .inside .btn-line, .cta .btn-light, .cta .btn-line, .btn-ghost {
  color: #f2f5f7; background: rgba(255,255,255,.1);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26), inset 0 1px 0 rgba(255,255,255,.18);
}
.hero .btn-light:hover, .hero .btn-line:hover, .inside .btn-line:hover, .cta .btn-light:hover,
.cta .btn-line:hover, .btn-ghost:hover { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.link-arrow { gap: 8px; font-size: 15px; font-weight: 600; color: var(--accent); transition: color .25s; }
.link-arrow:hover { color: var(--ink); }
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.cta .link-arrow, .inside .link-arrow { color: var(--accent-w); }
.cta .link-arrow:hover, .inside .link-arrow:hover { color: #fff; }
/* 画廊左右切换：方角玻璃钮 */
.round-btn {
  --gr: 8px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 8px;
  color: var(--ink); cursor: pointer; transition: transform .3s var(--ease), background-color .25s, box-shadow .25s;
}
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn[data-step="-1"] svg { transform: rotate(180deg); }

/* 容器类玻璃（模糊画在 ::before 上）的共用描边 */
.quote-bar::after, .form::after, .toolbar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--glass-edge);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ==========================================================
   顶栏：悬浮的玻璃条。压在照片上是深色磨砂 + 白字，压在内容上是白色磨砂 + 深字
   （main.js 切 over-dark / tint / solid）
   ========================================================== */
.header { inset: 14px 0 auto 0; background: none; transition: transform .4s var(--ease); }
.header.solid, .header.tint { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; border: 0; }
.header::before { content: none; }
.header .wrap {
  position: relative; width: min(1240px, 100% - 28px); height: 60px; padding: 0 8px 0 20px; gap: 20px; border-radius: 10px;
}
.header .wrap::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-color: rgba(255,255,255,.74); background-image: var(--glass-grain);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(18,22,25,.07), 0 1px 2px rgba(18,22,25,.05), 0 14px 32px -20px rgba(18,22,25,.3);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.solid .wrap::before { background-color: rgba(255,255,255,.88); }
.header.over-dark .wrap::before {
  background-color: rgba(18,24,30,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), inset 0 0 0 1px rgba(255,255,255,.14), 0 14px 34px -20px rgba(0,0,0,.6);
}
.header.over-dark.tint .wrap::before { background-color: rgba(18,24,30,.64); }

.logo { gap: 11px; color: var(--ink); }
.logo img { height: 32px; width: auto; filter: grayscale(1) brightness(.32); opacity: .94; }
.logo-txt { display: grid; line-height: 1; }
.logo-txt b { font-size: 19px; font-weight: 700; letter-spacing: -.024em; color: var(--ink); }
.logo-txt span { margin-top: 4px; font-family: var(--mono); font-size: 9px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.logo img, .logo-txt b, .logo-txt span, .icon-btn, .lang, .nav a { transition: color .4s var(--ease), background-color .25s, box-shadow .25s, filter .4s var(--ease); }

.nav { gap: 2px; }
.nav a {
  height: 38px; display: inline-flex; align-items: center; padding: 0 15px; border-radius: 7px;
  color: var(--ink-2); font-size: 14.5px; font-weight: 500; letter-spacing: -.005em;
}
.nav a:hover { color: var(--ink); background: rgba(18,22,25,.055); }
.nav a.active { color: var(--accent); background: rgba(26,60,97,.08); box-shadow: inset 0 0 0 1px rgba(26,60,97,.16); }
.nav a.active::after { content: none; }
.header-tools { gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 7px; color: var(--ink-2); }
.icon-btn:hover { background: rgba(18,22,25,.06); color: var(--ink); }
.lang {
  height: 40px; padding: 0 14px; border: 0; border-radius: 7px; color: var(--ink); font-size: 13px; font-weight: 600; letter-spacing: 0;
  background: rgba(18,22,25,.05); box-shadow: inset 0 0 0 1px var(--hairline);
}
.lang:hover { background: rgba(18,22,25,.09); }
/* 顶栏压在照片上：全部反白 */
.header.over-dark .logo img { filter: grayscale(1) brightness(2.5) contrast(.85); }
.header.over-dark .logo-txt b { color: #f2f5f7; }
.header.over-dark .logo-txt span { color: rgba(242,245,247,.6); }
.header.over-dark .nav a { color: rgba(242,245,247,.8); }
.header.over-dark .nav a:hover { color: #fff; background: rgba(255,255,255,.1); }
.header.over-dark .nav a.active { color: #fff; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.header.over-dark .icon-btn { color: rgba(242,245,247,.85); }
.header.over-dark .icon-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.header.over-dark .lang { color: #f2f5f7; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.header.over-dark .lang:hover { background: rgba(255,255,255,.18); }

@media (max-width: 1000px) {
  .header .wrap { padding: 0 6px 0 16px; }
  .burger { display: grid; }
  /* 手机菜单：顶栏下方展开一块白玻璃面板 */
  .nav, .header.over-dark .nav, .header.solid .nav, .header.tint .nav {
    position: fixed; inset: 84px 14px auto 14px; flex-direction: column; gap: 2px;
    padding: 8px; border: 0; border-radius: 14px;
    background-color: rgba(255,255,255,.92); background-image: var(--glass-grain);
    -webkit-backdrop-filter: blur(28px) saturate(170%); backdrop-filter: blur(28px) saturate(170%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 0 0 1px rgba(18,22,25,.08), 0 24px 56px -20px rgba(18,22,25,.4);
    opacity: 0; pointer-events: none; transform: translateY(-8px) scale(.98); transform-origin: top center;
    transition: opacity .3s var(--ease), transform .4s var(--ease);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a, .header.over-dark .nav a, .header.solid .nav a { height: 50px; padding: 0 16px; font-size: 16.5px; color: var(--ink-2); border-radius: 9px; }
  .nav a.active, .header.over-dark .nav a.active, .header.solid .nav a.active { color: var(--accent); background: rgba(26,60,97,.08); box-shadow: none; }
}
@media (max-width: 560px) {
  .header { top: 10px; }
  .header .wrap { width: calc(100% - 20px); height: 54px; padding-left: 13px; }
  .logo img { height: 28px; }
  .logo-txt b { font-size: 17px; }
  .logo-txt span { font-size: 8px; letter-spacing: .26em; }
  .header-tools { gap: 2px; }
  .lang { padding: 0 11px; height: 38px; }
  .icon-btn { width: 38px; height: 38px; }
  .nav, .header.over-dark .nav, .header.solid .nav { inset: 74px 10px auto 10px; }
}

/* ==========================================================
   首屏：一张实景照 + 压在上面的深色玻璃询价条
   ========================================================== */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
  min-height: max(680px, 94svh); color: #f2f5f7; background: var(--dark); overflow: visible; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 50%; transform: translate3d(0, var(--py, 0px), 0) scale(1.05); animation: none; will-change: transform; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(14,18,22,.5) 0%, rgba(14,18,22,0) 20%),
    linear-gradient(0deg, rgba(14,18,22,.84) 0%, rgba(14,18,22,.34) 36%, rgba(14,18,22,0) 64%),
    linear-gradient(90deg, rgba(14,18,22,.48) 0%, rgba(14,18,22,0) 56%);
}
.hero > .wrap {
  position: relative; z-index: 2; padding: 158px 0 34px;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; grid-template-areas: "copy card" "bar bar" "note note"; column-gap: 44px; align-items: end;
}
/* 首屏上一条工程坐标线，暗示「这是图纸上的东西」 */
.hero > .wrap::before {
  content: ""; position: absolute; left: 0; right: 0; top: 112px; height: 1px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%);
          mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.hero-copy { grid-area: copy; max-width: 800px; }
.hero h1 { margin: 20px 0 22px; max-width: 19ch; }
.hero .lead { max-width: 48ch; color: rgba(242,245,247,.84); }
/* 本月推荐：照片上的玻璃小卡 */
.hero-card {
  --gr: 12px; grid-area: card; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 13px;
  padding: 9px 14px 9px 9px; transition: transform .4s var(--ease);
}
.hero-card:hover { transform: translateY(-2px); }
.hero-card figure { margin: 0; aspect-ratio: 1; border-radius: 7px; overflow: hidden; background: rgba(0,0,0,.22); }
.hero-card figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-card small {
  display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-w);
}
.hero-card small:lang(zh-CN) { font-family: var(--font); font-size: 11.5px; letter-spacing: .1em; text-transform: none; }
.hero-card b { display: block; font-size: 16px; font-weight: 600; line-height: 1.26; letter-spacing: -.016em; }
.hero-card .hc-meta { display: block; margin-top: 4px; font-family: var(--mono); font-size: 11.5px; color: rgba(242,245,247,.74); }
.hero-card .hc-go { width: 32px; height: 32px; border-radius: 6px; display: grid; place-items: center; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); transition: transform .35s var(--ease), background-color .25s; }
.hero-card:hover .hc-go { transform: translateX(2px); background: rgba(255,255,255,.2); }

/* 询价条：玻璃画在 ::before 上，里面的下拉面板才能透到页面 */
.quote-bar {
  grid-area: bar; position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, .7fr) auto;
  margin-top: 40px; padding: 7px; border-radius: 12px;
}
.quote-bar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-color: rgba(18,24,30,.44); background-image: var(--glass-grain);
  -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: var(--gd-edge), 0 18px 44px -20px rgba(0,0,0,.7);
}
.quote-bar::after { background: var(--gd-rim); }
.qb-field {
  position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0;
  padding: 9px 22px; border-radius: 8px; cursor: text; transition: background-color .25s;
}
.qb-sel { cursor: pointer; }
.qb-field + .qb-field::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: rgba(255,255,255,.18); }
.qb-field:hover, .qb-field:focus-within { background: rgba(255,255,255,.1); }
.qb-field:hover::before, .qb-field:focus-within::before, .qb-field:hover + .qb-field::before, .qb-field:focus-within + .qb-field::before { opacity: 0; }
.qb-field > span {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(242,245,247,.62);
}
.qb-field > span:lang(zh-CN) { font-family: var(--font); font-size: 12px; letter-spacing: .12em; text-transform: none; }
.qb-field input {
  width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; background: none; color: #f2f5f7; font: inherit; font-size: 15.5px; line-height: 1.4;
}
.qb-field input::placeholder { color: rgba(242,245,247,.5); }
.qb-field input::-webkit-outer-spin-button, .qb-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qb-field input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.quote-bar .xs-btn, .quote-bar .xs-btn:hover, .quote-bar .xs.open .xs-btn, .quote-bar .xs-btn:focus-visible {
  padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #f2f5f7; font-size: 15.5px; line-height: 1.4;
}
.quote-bar .xs-ar { color: rgba(242,245,247,.72); }
.quote-bar .xs-pop { left: -14px; right: -14px; top: calc(100% + 16px); }
.quote-bar .xs-pop.up { top: auto; bottom: calc(100% + 16px); }
.quote-bar .btn { height: auto; min-height: 56px; margin-left: 7px; padding: 0 26px; }
.qb-note { grid-area: note; margin-top: 15px; padding-left: 22px; font-size: 13.5px; color: rgba(242,245,247,.68); }
.qb-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); transition: text-decoration-color .25s; }
.qb-note a:hover { text-decoration-color: #fff; }
@media (max-width: 1100px) {
  .hero > .wrap { grid-template-columns: 1fr; grid-template-areas: "copy" "card" "bar" "note"; }
  .hero-card { width: min(360px, 100%); margin-top: 28px; }
}
@media (max-width: 1000px) {
  .quote-bar { grid-template-columns: 1fr 1fr; }
  .qb-sel { grid-column: 1 / -1; }
  .qb-field { padding: 10px 16px; }
  .qb-field + .qb-field::before { display: none; }
  .qb-field:nth-child(3)::before { display: block; top: 12px; bottom: 12px; }
  .quote-bar .btn { grid-column: 1 / -1; margin: 6px 0 0; min-height: 52px; justify-content: center; }
}
@media (max-width: 720px) {
  .hero { min-height: 100svh; }
  .hero > .wrap { padding: 124px 0 20px; }
  .hero h1 { margin: 14px 0 16px; }
  .hero .lead { font-size: 16px; }
  .hero-card { display: none; }
  .quote-bar { margin-top: 26px; }
  .qb-note { display: none; }
  .hero > .wrap::before { display: none; }
}

/* ==========================================================
   区块色调：全是厂区的天光，只在深浅上分档。类名沿用旧的，含义已换：
     .tone-light     最亮（白偏灰）——产品、案例
     .tone-dusk      默认浅钢灰——铭牌带、FAQ
     .tone-walnut    中灰钢色——流程、历程
     .tone-steel     中灰钢色 + 图纸网格——制造
     .tone-dusk-end  深钢收尾，接页脚——CTA
   ========================================================== */
.tone-light, .tone-dusk, .tone-walnut, .tone-steel, .tone-dusk-end { position: relative; isolation: isolate; }
.tone-light { background: var(--pale); }
.tone-dusk { background: var(--bg); }
.tone-walnut { background: radial-gradient(1000px 620px at 88% 0%, rgba(255,255,255,.66), transparent 66%), var(--steel); }
.tone-steel { background: radial-gradient(1000px 620px at 12% 0%, rgba(255,255,255,.7), transparent 64%), var(--steel); }
/* 深色收尾区：变量整体反转，里面的组件自动跟着变 */
.tone-dusk-end {
  --ink: #eef1f3; --ink-2: rgba(238,241,243,.74); --muted: rgba(238,241,243,.52);
  --line: rgba(238,241,243,.14); --hairline: rgba(238,241,243,.08);
  --accent: var(--accent-w); --glass-tint: rgba(255,255,255,.06);
  color: var(--ink);
  background: radial-gradient(900px 540px at 86% 0%, rgba(120,155,195,.12), transparent 70%), linear-gradient(180deg, var(--dark), #11161b);
}
/* 这里 --accent 已反转成浅蓝（为了深底上的文字可读），但实底主按钮不能跟着变浅——
   浅蓝底配白字只有 2:1。规则是「浅底用蓝键、深底用白键」，对比度都在 10:1 以上 */
.tone-dusk-end .btn-accent, .tone-dusk-end .btn-dark {
  background: #f2f5f7; color: #15324e;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), 0 1px 2px rgba(0,0,0,.22), 0 12px 28px -12px rgba(0,0,0,.6);
}
.tone-dusk-end .btn-accent:hover, .tone-dusk-end .btn-dark:hover { background: #fff; color: #102941; }
/* 相邻的同色区块之间不留缝；换色的地方用一道发丝线交代边界 */
.tone-light, .tone-dusk, .tone-walnut, .tone-steel { border-top: 1px solid rgba(18,22,25,.07); }
.tone-light + .tone-light, .tone-dusk + .tone-dusk, .tone-walnut + .tone-walnut,
.hero + *, .inside + *, .page-hero + *, .tone-dusk-end { border-top: 0; }

/* ==========================================================
   通用区块
   ========================================================== */
.section { padding: 110px 0; }
.section-head, .section-head.head-2 { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px 40px; margin-bottom: 46px; }
.section-head .h2 { margin-top: 14px; }
.section-head p { max-width: 34ch; font-size: 15.5px; color: var(--muted); white-space: normal; }
/* 区块头的图纸基线 */
.section-head.ruled, .res-head.ruled {
  padding-top: 24px; border-top: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 56px) top left / 100% 5px no-repeat;
}
@media (max-width: 900px) {
  .section { padding: 78px 0; }
  .section-head, .section-head.head-2 { grid-template-columns: 1fr; }
  .section-head.ruled, .res-head.ruled { padding-top: 18px; }
}

/* ==========================================================
   首屏下方：工厂铭牌带 + 一段话 + 四个事实 + 认证
   ========================================================== */
.statement { padding: 0 0 100px; }
.spec-strip {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0 0 92px; padding: 0; list-style: none;
  border-bottom: 1px solid var(--line);
}
.statement .spec-strip { margin-top: 64px; }
.spec-strip li { position: relative; padding: 0 20px 24px; }
.spec-strip li:first-child { padding-left: 0; }
.spec-strip li + li::before { content: ""; position: absolute; left: 0; top: 2px; bottom: 24px; width: 1px; background: var(--line); }
.spec-strip i {
  display: block; margin-bottom: 9px; font-family: var(--mono); font-style: normal; font-size: 10.5px;
  font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.spec-strip i:lang(zh-CN) { font-family: var(--font); font-size: 12px; letter-spacing: .12em; text-transform: none; }
.spec-strip b {
  display: block; font-family: var(--mono); font-size: clamp(17px, 1.5vw, 21px); font-weight: 500;
  letter-spacing: -.01em; color: var(--ink);
}
.spec-strip b em { margin-left: 4px; font-style: normal; font-size: .62em; font-weight: 500; letter-spacing: .04em; color: var(--accent); }
.statement-text {
  max-width: 26ch; font-size: clamp(26px, 3.1vw, 44px); font-weight: 600; line-height: 1.24; letter-spacing: -.026em; color: var(--ink);
}
.statement-text .w { opacity: .26; transition: opacity .5s var(--ease); }
.statement-text .w.on { opacity: 1; }
.statement .link-arrow { margin-top: 32px; }
/* 四个事实：仪表盘读数 + 刻度线 */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 80px; }
.facts li {
  padding-top: 24px; border-top: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 40px) top left / 100% 4px no-repeat;
}
.facts b { display: block; font-family: var(--mono); font-size: clamp(36px, 3.8vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.facts span { display: block; margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.facts span:lang(zh-CN) { letter-spacing: .03em; }
/* 认证带：一条白玻璃，徽标是深灰 */
.certs { --gr: 12px; display: flex; align-items: center; justify-content: space-between; gap: 18px 40px; margin-top: 64px; padding: 15px 26px; }
.certs-label { flex: none; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.certs-label:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; letter-spacing: .1em; text-transform: none; }
.certs .brands-row { flex: 1 1 auto; justify-content: space-between; flex-wrap: nowrap; gap: 18px 28px; max-width: 880px; width: auto; animation: none; }
.certs .brand-logo { height: 34px; flex: none; }
.certs .brand-logo img { height: 25px; width: auto; max-width: 150px; filter: grayscale(1) brightness(.5); opacity: .7; transition: opacity .25s, filter .25s; }
.certs .brand-logo:hover img { opacity: 1; filter: grayscale(1) brightness(.22); }
@media (max-width: 1000px) {
  .spec-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; margin-bottom: 66px; }
  .spec-strip li { padding: 0 14px 18px; }
  .spec-strip li:nth-child(3n+1) { padding-left: 0; }
  .spec-strip li:nth-child(3n+1)::before { display: none; }
  .facts { grid-template-columns: 1fr 1fr; gap: 30px 24px; margin-top: 58px; }
  .certs { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .certs .brands-row { flex-wrap: wrap; justify-content: flex-start; gap: 16px 28px; }
}
@media (max-width: 560px) {
  .spec-strip { grid-template-columns: 1fr 1fr; margin-bottom: 50px; }
  .spec-strip li:nth-child(odd) { padding-left: 0; }
  .spec-strip li:nth-child(odd)::before { display: none; }
  .spec-strip li:nth-child(even)::before { display: block; }
  .statement { padding-bottom: 70px; }
  .statement .spec-strip { margin-top: 50px; }
}

/* ==========================================================
   居所系列：横向画廊。照片上压一块深色玻璃参数卡
   ========================================================== */
.residences { padding-bottom: 98px; }
.res-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.res-head .h2 { margin-top: 14px; }
.res-nav { display: flex; gap: 8px; flex: none; }
.res-nav .round-btn { background-color: var(--paper); box-shadow: inset 0 0 0 1px var(--line), var(--sh-1); }
.res-nav .round-btn:hover { box-shadow: inset 0 0 0 1px rgba(18,22,25,.26), var(--sh-2); transform: translateY(-1px); }
.res-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding: 4px max(40px, calc((100% - var(--wrap)) / 2)) 16px; scroll-padding-inline: max(40px, calc((100% - var(--wrap)) / 2));
}
.res-track::-webkit-scrollbar { display: none; }
.res-card {
  position: relative; flex: 0 0 min(840px, 80vw); aspect-ratio: 16 / 10; border-radius: var(--r-xl); overflow: hidden;
  scroll-snap-align: start; background: var(--dark); isolation: isolate; box-shadow: var(--sh-2);
}
.res-card > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.res-card:hover > img { transform: scale(1.03); }
.res-info {
  position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 12px; color: #f2f5f7; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 22px; padding: 18px 20px 17px 22px;
  background-color: var(--gd-bg); -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: var(--gd-edge), var(--gd-drop);
}
.res-info::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--gd-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.res-info h3 { font-size: clamp(21px, 1.9vw, 28px); font-weight: 600; line-height: 1.16; letter-spacing: -.024em; }
.res-info p { grid-column: 1; font-size: 14.5px; color: rgba(242,245,247,.76); }
.res-specs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.res-specs li {
  padding: 6px 11px; border-radius: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.res-specs li:lang(zh-CN) { font-family: var(--font); font-size: 12px; letter-spacing: .04em; text-transform: none; }
.res-specs i { margin-right: 6px; font-style: normal; color: var(--accent-w); }
.res-go {
  grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px;
  background: #f2f5f7; color: #13181d; box-shadow: 0 6px 18px -8px rgba(0,0,0,.6); transition: transform .4s var(--ease);
}
.res-card:hover .res-go { transform: translateX(3px); }
@media (max-width: 720px) {
  .res-head { align-items: flex-start; flex-direction: column; }
  .res-nav { display: none; }
  .res-track { gap: 14px; padding-inline: 20px; scroll-padding-inline: 20px; }
  .res-card { flex-basis: 86vw; aspect-ratio: 4 / 5; border-radius: 14px; }
  .res-info { left: 9px; right: 9px; bottom: 9px; padding: 16px 16px 15px 18px; }
  .res-go { width: 40px; height: 40px; }
}

/* ==========================================================
   走进室内：整幅实景照 + 玻璃标注点 + 玻璃说明面板
   ========================================================== */
.inside { position: relative; isolation: isolate; background: var(--dark); }
.inside-media { position: relative; height: min(88vh, 860px); min-height: 600px; overflow: hidden; background: var(--dark); }
.inside-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.inside-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(14,18,22,.56), rgba(14,18,22,0) 46%), linear-gradient(0deg, rgba(14,18,22,.3), rgba(14,18,22,0) 28%);
}
.inside-copy { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-start; padding-top: 102px; pointer-events: none; }
.inside-panel { --gr: 14px; pointer-events: auto; max-width: 500px; padding: 30px 32px 28px; }
.inside-panel .h2 { margin-top: 13px; font-size: clamp(26px, 2.5vw, 37px); }
.inside-panel p { margin: 15px 0 24px; font-size: 15.5px; color: rgba(242,245,247,.78); }
.hotspots { position: absolute; inset: 0; z-index: 2; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y); border-radius: 999px; color: #f2f5f7; isolation: isolate;
  display: grid; grid-template-columns: 26px minmax(0, auto); align-items: center; column-gap: 11px; max-width: 290px;
  padding: 7px 16px 7px 7px; text-align: left; font: inherit; cursor: pointer;
  background-color: var(--gd-bg); -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: var(--gd-edge), var(--gd-drop);
  transition: border-radius .4s var(--ease), padding .4s var(--ease), transform .4s var(--ease);
}
.hotspot:hover, .hotspot:focus-visible, .hotspot[aria-expanded="true"] { border-radius: 10px; padding: 11px 18px 13px 11px; transform: translateY(-2px); }
.hotspot i { position: relative; grid-row: 1; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 0 0 0 0 rgba(255,255,255,.4); animation: hsPulse 2.6s var(--ease) infinite; }
.hotspot i::before, .hotspot i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.6px; margin: -.8px 0 0 -5px; background: #13181d; border-radius: 2px; transition: transform .4s var(--ease); }
.hotspot i::after { transform: rotate(90deg); }
.hotspot[aria-expanded="true"] i::after { transform: rotate(0deg); }
@keyframes hsPulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.4); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255,255,255,0); } }
.hs-t { grid-row: 1; font-size: 13.5px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap; }
/* 说明文字收起时宽度为 0，胶囊只按标题的宽度；展开时再拉开 */
.hs-d { grid-column: 2; grid-row: 2; width: 0; max-height: 0; overflow: hidden; opacity: 0; font-size: 13px; line-height: 1.5; color: rgba(242,245,247,.78); transition: width .45s var(--ease), max-height .45s var(--ease), opacity .35s, margin .45s var(--ease); }
.hotspot:hover .hs-d, .hotspot:focus-visible .hs-d, .hotspot[aria-expanded="true"] .hs-d { width: 226px; max-height: 90px; opacity: 1; margin-top: 5px; }
/* 窄屏：照片和说明拆开排，面板和标注点都回到浅色卡片。
   注意选择器都带 .inside 前缀：这两个元素在 HTML 上同时挂着 .glass，
   而上面的 `.inside .glass` 是两级特异性——媒体查询本身不提升特异性，
   用单级的 .inside-panel / .hotspot 覆盖不掉深色玻璃。 */
@media (max-width: 900px) {
  .inside { display: flex; flex-direction: column; background: var(--pale); }
  .inside-copy { position: static; order: -1; padding: 82px 0 30px; }
  .inside .inside-panel {
    max-width: none; padding: 0; color: var(--ink); background-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
  }
  .inside .inside-panel::before, .inside .inside-panel::after { content: none; }
  .inside .inside-panel .eyebrow { color: var(--accent); }
  .inside .inside-panel p { color: var(--ink-2); }
  .inside .btn-line { color: var(--ink); background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(18,22,25,.05); }
  .inside-media { height: auto; min-height: 0; overflow: visible; background: none; }
  .inside-media > img { height: 62vw; min-height: 240px; border-radius: 12px; }
  .inside-media::after { content: none; }
  .hotspots { position: static; display: grid; gap: 8px; padding: 16px 20px 0; }
  .inside .hotspot {
    position: relative; left: auto; top: auto; max-width: none; border-radius: 10px; padding: 13px 16px 13px 13px; transform: none;
    color: var(--ink); background-color: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: inset 0 0 0 1px var(--line), var(--sh-1);
  }
  .inside .hotspot::before, .inside .hotspot::after { content: none; }
  .inside .hotspot:hover, .inside .hotspot:focus-visible, .inside .hotspot[aria-expanded="true"] { transform: none; border-radius: 10px; padding: 13px 16px 13px 13px; }
  .inside .hotspot i { background: var(--accent); animation: none; }
  .inside .hotspot i::before, .inside .hotspot i::after { background: #fff; }
  .inside .hs-d, .inside .hotspot:hover .hs-d, .inside .hotspot:focus-visible .hs-d,
  .inside .hotspot[aria-expanded="true"] .hs-d { width: auto; max-height: none; opacity: 1; margin-top: 4px; color: var(--ink-2); }
  .hs-t { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .hotspot i { animation: none; } }

/* ==========================================================
   制造：工厂那一段。图纸网格 + 零件明细表式的参数行 + 带裁切角标的车间照
   ========================================================== */
.factory { position: relative; }
.fac-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 66px; align-items: start; }
.fac-copy .h2 { margin: 16px 0 20px; }
.fac-copy > p { max-width: 42ch; font-size: 16.5px; color: var(--ink-2); }
.fac-spec { margin: 34px 0 0; border-top: 1px solid var(--line); }
.fac-spec div { display: flex; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.fac-spec dt {
  flex: none; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}
.fac-spec dt:lang(zh-CN) { font-family: var(--font); font-size: 13px; letter-spacing: .1em; text-transform: none; }
.fac-spec div::after {
  content: ""; order: 1; flex: 1 1 auto; height: 1px; min-width: 20px; align-self: center;
  background: repeating-linear-gradient(90deg, var(--line) 0 2px, transparent 2px 6px);
}
.fac-spec dd { order: 2; flex: none; margin: 0; font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--ink); }
.fac-spec dd:lang(zh-CN) { font-family: var(--font); font-size: 15px; }
.fac-spec dd em { margin-left: 3px; font-style: normal; font-size: .76em; color: var(--accent); }
.fac-media { position: relative; margin: 0; }
.fac-media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--sand); box-shadow: var(--sh-2); }
.fac-media figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; color: #f2f5f7;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 15px; border-radius: 7px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  background-color: var(--gd-bg); -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: var(--gd-edge), var(--gd-drop);
}
.fac-media figcaption:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; letter-spacing: .08em; text-transform: none; }
.fac-media figcaption b { font-weight: 600; color: var(--accent-w); font-variant-numeric: tabular-nums; }
/* 四角的裁切标记：图纸上用来对位的小角 */
.ticks::before, .ticks::after, .ticks > i::before, .ticks > i::after {
  content: ""; position: absolute; width: 11px; height: 11px; pointer-events: none; border-color: var(--accent); opacity: .7;
}
.ticks::before { top: -5px; left: -5px; border-top: 1px solid; border-left: 1px solid; }
.ticks::after { top: -5px; right: -5px; border-top: 1px solid; border-right: 1px solid; }
.ticks > i { position: static; }
.ticks > i::before { bottom: -5px; left: -5px; border-bottom: 1px solid; border-left: 1px solid; }
.ticks > i::after { bottom: -5px; right: -5px; border-bottom: 1px solid; border-right: 1px solid; }
@media (max-width: 1000px) {
  .fac-grid { grid-template-columns: 1fr; gap: 38px; }
  .fac-copy > p { max-width: none; }
}

/* ==========================================================
   分类筛选：分段控件，选中的白片滑过去（main.js segThumb）
   ========================================================== */
.tabs {
  position: relative; display: inline-flex; flex-wrap: nowrap; gap: 2px; max-width: 100%; margin-bottom: 38px; padding: 4px;
  border: 0; border-radius: 10px; overflow-x: auto; scrollbar-width: none;
  background: rgba(18,22,25,.05); box-shadow: inset 0 0 0 1px var(--hairline);
}
.tabs::-webkit-scrollbar { display: none; }
.tab, .tab:hover, .tab.active {
  position: relative; z-index: 1; flex: none; height: 38px; padding: 0 16px; margin: 0; border: 0; border-radius: 7px;
  background: none; box-shadow: none; color: var(--ink-2); font-size: 14px; font-weight: 500; letter-spacing: -.005em;
  white-space: nowrap; transition: color .3s;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--accent); font-weight: 600; }
.seg-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 7px; pointer-events: none;
  background: var(--paper); box-shadow: 0 1px 2px rgba(18,22,25,.1), 0 5px 14px -8px rgba(18,22,25,.4);
  transition: transform .45s var(--ease), width .45s var(--ease);
}
.tabs:not(:has(.seg-thumb)) .tab.active { background: var(--paper); }

/* ==========================================================
   产品卡：白卡片 + 发丝描边。方角，产品是制造出来的东西
   ========================================================== */
.grid-4 { gap: 20px; }
.grid-3 { gap: 22px; }
.card {
  background: var(--paper); border: 0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(18,22,25,.12), var(--sh-2); }
.card-media, .gallery-main { aspect-ratio: 4 / 3; background: var(--sand); }
.card-media { border-radius: 0; isolation: isolate; border-bottom: 1px solid var(--hairline); }
.card-media img { transition: transform 1s var(--ease), opacity .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.035); }
.card-media .alt { position: absolute; inset: 0; opacity: 0; transition: opacity .4s; }
.card:hover .card-media .alt { opacity: 1; }
.card-media::after { content: none; }
.card-body { padding: 17px 18px 16px; gap: 3px; }
.card-title { font-size: 17.5px; font-weight: 600; line-height: 1.32; letter-spacing: -.016em; }
.card-cat { font-size: 12.5px; color: var(--muted); }
.card .round {
  width: 32px; height: 32px; margin-top: 2px; border: 0; border-radius: 6px; color: var(--ink-2);
  background: rgba(18,22,25,.05); box-shadow: inset 0 0 0 1px var(--hairline); transition: all .3s var(--ease);
}
.card:hover .round { background: var(--accent); color: #fff; box-shadow: none; transform: none; }
.specs {
  gap: 7px 16px; margin-top: 14px; padding-top: 13px; border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .01em; text-transform: uppercase; color: var(--ink-2);
}
.specs:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; letter-spacing: .03em; text-transform: none; }
.specs svg { color: var(--accent); }
/* 角标：型号铭牌，不是胶囊 */
.badge, .badge.new, .badge.premium, .badge.custom, .badge.hot {
  top: 10px; left: 10px; z-index: 2; padding: 5px 9px; border: 0; border-radius: 4px;
  font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: #f2f5f7; background: rgba(18,24,30,.66);
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.badge:lang(zh-CN) { font-family: var(--font); font-size: 11.5px; letter-spacing: .08em; }
.badge.hot { background: rgba(26,60,97,.88); }
.empty { color: var(--muted); }

/* ==========================================================
   工程案例
   ========================================================== */
.news-card { gap: 10px; }
.news-card .media {
  position: relative; aspect-ratio: 4 / 3; margin-bottom: 6px; border-radius: 12px; isolation: isolate;
  box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); transition: box-shadow .35s var(--ease);
}
.news-card:hover .media { box-shadow: inset 0 0 0 1px rgba(18,22,25,.12), var(--sh-2); }
.news-card .media img { transition: transform 1s var(--ease); }
.news-card:hover .media img { transform: scale(1.035); }
/* 日期压在图片上：深色玻璃铭牌 */
.news-card .media time {
  position: absolute; left: 10px; top: 10px; z-index: 2; padding: 5px 9px; border-radius: 4px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: #f2f5f7;
  background: rgba(18,24,30,.66); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.news-card h3 { font-size: 20px; font-weight: 600; line-height: 1.28; letter-spacing: -.018em; transition: color .25s; }
.news-card:hover h3 { color: var(--accent); }
.news-card p { font-size: 14.5px; color: var(--muted); }
.news-card .link-arrow { margin-top: 4px; font-size: 14px; }

/* ==========================================================
   交付流程：步骤号变成图号，配图方角
   ========================================================== */
.flow { gap: 22px; }
.flow li { position: relative; }
.flow figure { position: relative; margin: 0 0 20px; aspect-ratio: 4 / 3; border-radius: 10px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); }
.flow li:hover figure img { transform: scale(1.035); }
.flow figure img { transition: transform 1s var(--ease); }
.flow b {
  display: block; position: static; padding-top: 15px; border-top: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 44px) top left / 100% 4px no-repeat;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.flow b:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; letter-spacing: .1em; }
.flow h3 { margin: 9px 0 9px; font-size: 20px; font-weight: 600; letter-spacing: -.018em; }
.flow p { font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.flow-sec { padding: 110px 0; }
.flow-sec .section-head p { color: var(--muted); }

/* ==========================================================
   常见问题
   ========================================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
.faq-wrap .h2 { margin: 14px 0 18px; }
.faq-wrap .side p { margin-bottom: 28px; max-width: 36ch; color: var(--ink-2); }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq summary { gap: 22px; font-size: 19px; font-weight: 600; line-height: 1.34; letter-spacing: -.016em; transition: color .25s; }
.faq summary:hover { color: var(--accent); }
.faq summary i {
  position: relative; width: 34px; height: 34px; border: 0; border-radius: 7px; flex: none;
  background: rgba(18,22,25,.05); box-shadow: inset 0 0 0 1px var(--hairline);
  transition: background-color .25s, box-shadow .25s;
}
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink-2); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
/* 开合用 + / −，方块本身不转：旋转 45° 会把方角按钮变成菱形。
   与室内实景的标注点（.hotspot i）同一套做法。
   transform: none 是必须的——base.css 里有 rotate(45deg)，不显式归零就会留着 */
.faq details[open] summary i { transform: none; background: var(--accent); box-shadow: none; }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #fff; }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { margin-top: 12px; max-width: 64ch; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } .faq summary { font-size: 18px; } }

/* ==========================================================
   CTA：一张实景照 + 玻璃联系面板
   ========================================================== */
.cta {
  position: relative; display: flex; align-items: center; min-height: 560px; padding: 48px; border-radius: var(--r-xl);
  overflow: hidden; isolation: isolate; background: var(--dark); color: #f2f5f7; box-shadow: var(--sh-3);
}
.cta::after { content: none; }
.cta > img { display: block; position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.cta-inner { --gr: 14px; display: grid; align-content: start; justify-items: start; gap: 24px; width: min(520px, 100%); padding: 38px; }
.cta-inner > div:first-child { width: 100%; }
.cta .h2 { max-width: 14ch; margin-top: 12px; }
.cta p { margin-top: 14px; font-size: 14.5px; color: rgba(242,245,247,.76); }
.cta-panel { display: grid; width: 100%; }
.cta-panel a:not(.btn) {
  display: flex; align-items: center; gap: 11px; padding: 13px 0; font-size: 15px; color: #f2f5f7;
  border-top: 1px solid rgba(255,255,255,.14); transition: color .25s; overflow-wrap: anywhere;
}
.cta-panel a:not(.btn):hover { color: var(--accent-w); }
.cta-panel a:not(.btn) svg { flex: none; color: var(--accent-w); }
.cta-panel .btn { margin-top: 14px; justify-content: space-between; }
@media (max-width: 700px) {
  .cta { min-height: 0; padding: 140px 10px 10px; border-radius: 14px; align-items: flex-end; }
  .cta-inner { --gr: 12px; padding: 24px 20px; }
}

/* ==========================================================
   页脚：唯一一整块深色。公司信息 + 出厂铭牌
   ========================================================== */
.footer {
  padding: 92px 0 36px; background: #11161b; color: rgba(238,241,243,.62); font-size: 14px; border-top: 0;
}
.footer .logo { margin-bottom: 16px; }
.footer .logo img { height: 34px; filter: grayscale(1) brightness(2.5) contrast(.85); }
.footer .logo-txt b { font-size: 21px; color: #eef1f3; }
.footer .logo-txt span { color: rgba(238,241,243,.5); }
.footer h5 {
  margin-bottom: 16px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: #eef1f3;
}
.footer h5:lang(zh-CN) { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: none; }
.footer a { transition: color .25s; }
.footer a:hover { color: #eef1f3; }
.cert-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.cert-chips span {
  padding: 5px 10px; border-radius: 4px; font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .1em; color: rgba(238,241,243,.76); box-shadow: inset 0 0 0 1px rgba(238,241,243,.18);
}
/* 出厂铭牌：成立年份 / 产能 / 出口范围 */
.foot-plate { display: flex; flex-wrap: wrap; gap: 7px 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(238,241,243,.1); list-style: none; }
.foot-plate li {
  margin: 0; padding: 5px 10px; border-radius: 4px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(238,241,243,.7);
  box-shadow: inset 0 0 0 1px rgba(238,241,243,.14);
}
.foot-plate li:lang(zh-CN) { font-family: var(--font); font-size: 11.5px; letter-spacing: .08em; text-transform: none; }
.foot-plate li b { color: var(--accent-w); font-weight: 600; font-variant-numeric: tabular-nums; }
.subscribe {
  padding: 4px; border: 0; border-radius: 8px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(238,241,243,.14);
}
.subscribe:focus-within { box-shadow: inset 0 0 0 1px rgba(238,241,243,.4); }
.subscribe input { padding: 0 12px; color: #eef1f3; }
.subscribe input::placeholder { color: rgba(238,241,243,.42); }
.subscribe button { width: 40px; height: 40px; border-radius: 6px; background: #eef1f3; color: #13181d; }
.wechat-qr img { border-radius: 6px; }
.socials a { border-radius: 7px; color: rgba(238,241,243,.8); }
.socials a:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer-bottom { border-top-color: rgba(238,241,243,.1); }
.pay-icons svg { opacity: .8; }
.big-word { display: none; }

/* 悬浮咨询：浮在整页之上的玻璃铭牌 */
.float-wa {
  height: 50px; padding: 0 18px 0 6px; border: 0; border-radius: 10px; font-size: 14px; font-weight: 600; color: #f2f5f7;
  background: rgba(20,26,32,.7); -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.14), 0 14px 34px -14px rgba(0,0,0,.6);
}
.float-wa i { width: 38px; height: 38px; border-radius: 7px; }
@media (max-width: 720px) { .float-wa { padding: 6px; } }

/* ==========================================================
   内页顶部：整幅照片 + 粗标题，面包屑是玻璃铭牌
   ========================================================== */
.page-hero {
  display: flex; flex-direction: column; justify-content: flex-end; min-height: min(62vh, 580px); padding: 146px 0 60px;
  color: #f2f5f7; background: var(--dark); isolation: isolate;
}
.page-hero > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,18,22,.56), rgba(14,18,22,0) 26%), linear-gradient(0deg, rgba(14,18,22,.86), rgba(14,18,22,.3) 50%, rgba(14,18,22,.05) 76%);
}
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { display: none; }
.page-hero h1 { max-width: 17ch; margin: 0; font-size: clamp(36px, 4.6vw, 70px); font-weight: 600; line-height: 1.05; letter-spacing: -.032em; }
.page-hero .ph-lead { margin-top: 18px; max-width: 48ch; font-size: 17px; color: rgba(242,245,247,.8); }
.crumbs, .crumbs.on-light {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2);
}
.crumbs:lang(zh-CN), .crumbs.on-light:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; letter-spacing: .08em; text-transform: none; }
.page-hero .crumbs {
  padding: 7px 13px; border-radius: 5px; color: rgba(242,245,247,.8);
  background: rgba(18,24,30,.46); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.crumbs a, .crumbs.on-light a { color: inherit; opacity: .8; transition: opacity .25s, color .25s; }
.crumbs a:hover, .crumbs.on-light a:hover { opacity: 1; }
.page-hero .crumbs a:hover { color: #fff; }
.crumbs span, .crumbs.on-light span { opacity: .4; }
.crumbs .cur, .crumbs.on-light .cur, .page-hero .crumbs span[data-i18n] { opacity: 1; font-weight: 600; }
.crumbs.on-light a:hover { color: var(--accent); }

/* ==========================================================
   产品列表：吸顶的玻璃筛选条
   ========================================================== */
.toolbar {
  position: relative; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between;
  gap: 14px; margin-bottom: 26px; padding: 6px; border: 0; border-radius: 12px;
}
.toolbar .tabs { flex: 1 1 auto; min-width: 0; margin: 0; background: none; box-shadow: none; padding: 0; }
.toolbar .tabs .seg-thumb { top: 0; bottom: 0; }
.toolbar .search {
  flex: none; display: flex; align-items: center; gap: 9px; width: 42px; min-width: 0; height: 42px; margin: 0; padding: 0 12px;
  border: 0; border-radius: 8px; overflow: hidden; cursor: pointer;
  background: rgba(18,22,25,.05); box-shadow: inset 0 0 0 1px var(--hairline);
  transition: width .4s var(--ease), box-shadow .25s, background-color .25s;
}
/* 平时只是一个放大镜钮，点开（或里面有字）才展开成输入框，标签那行就放得下全部品类 */
.toolbar .search input { flex: 1; min-width: 0; }
.toolbar .search:focus-within, .toolbar .search.filled {
  width: 270px; padding: 0 14px; cursor: text; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(18,22,25,.26);
}
.toolbar .tab { padding: 0 14px; }
.search input { color: var(--ink); font-size: 14.5px; }
.search input::placeholder { color: var(--muted); }
.search svg { color: var(--ink-2); flex: none; }
@media (min-width: 901px) {
  .toolbar { position: sticky; top: 86px; z-index: 30; }
  .toolbar::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background-color: rgba(255,255,255,.76); background-image: var(--glass-grain);
    -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
    box-shadow: var(--glass-inset), var(--glass-drop);
  }
}
@media (max-width: 900px) {
  .toolbar { flex-direction: column; align-items: stretch; padding: 0; }
  .toolbar::after { content: none; }
  .toolbar .tabs { width: 100%; padding: 4px; background: rgba(18,22,25,.05); box-shadow: inset 0 0 0 1px var(--hairline); }
  .toolbar .search, .toolbar .search:focus-within, .toolbar .search.filled { width: 100%; }
}
#product-count { color: var(--muted); }
.pager button {
  min-width: 42px; height: 42px; border: 0; border-radius: 7px; color: var(--ink); font-family: var(--mono); font-size: 13.5px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline), 0 1px 2px rgba(18,22,25,.05);
  -webkit-backdrop-filter: none; backdrop-filter: none; transition: all .25s;
}
.pager button:hover:not(:disabled):not(.active) { box-shadow: inset 0 0 0 1px rgba(18,22,25,.26), var(--sh-1); transform: translateY(-1px); }
.pager button.active { background: var(--accent); color: #fff; box-shadow: none; }
.pager .gap { color: var(--muted); }

/* ==========================================================
   产品详情
   ========================================================== */
body[data-solid] main > .section:first-child { padding-top: 120px; }
.detail { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; }
.gallery-main { border-radius: 14px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); }
.thumbs { gap: 9px; margin-top: 10px; }
.thumbs button { border-radius: 7px; border: 0; opacity: .6; box-shadow: inset 0 0 0 1px var(--hairline); transition: opacity .25s, box-shadow .25s; }
.thumbs button.active { opacity: 1; box-shadow: inset 0 0 0 2px var(--accent); }
.thumbs button:hover { opacity: 1; }
/* 图片上的切换 / 放大 / 页码：深色玻璃铭牌 */
.g-nav, .g-zoom, .g-count {
  color: #f2f5f7; border: 0; border-radius: 7px; background: rgba(18,24,30,.56);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 22px -10px rgba(0,0,0,.6);
}
.g-count { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }
.g-nav:hover, .g-zoom:hover { background: rgba(18,24,30,.78); }
/* 右侧信息：一块白玻璃面板，吸顶 */
.detail-info { --gr: 14px; position: sticky; top: 96px; padding: 30px 30px 28px; }
.detail-info h1 { margin: 12px 0 12px; font-size: clamp(25px, 2.4vw, 36px); font-weight: 600; line-height: 1.12; letter-spacing: -.028em; }
.detail-intro { font-size: 15.5px; color: var(--ink-2); }
.spec-table { margin: 24px 0; padding: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
.spec-table div { padding: 11px 0; border-bottom: 1px solid var(--line); }
.spec-table dt {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.spec-table dt:lang(zh-CN) { font-family: var(--font); font-size: 13.5px; letter-spacing: .06em; text-transform: none; }
.spec-table dd { font-family: var(--mono); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.spec-table dd:lang(zh-CN) { font-family: var(--font); font-size: 14.5px; font-weight: 600; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 22px; }
.perks li { padding: 12px 12px 11px; border-radius: 8px; font-size: 12px; color: var(--muted); background: rgba(18,22,25,.04); box-shadow: inset 0 0 0 1px var(--hairline); }
.perks b { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 13.5px; font-weight: 500; color: var(--ink); }
.perks b:lang(zh-CN) { font-family: var(--font); font-size: 14.5px; font-weight: 600; }
/* 正文（后台富文本） */
.detail-body { border-top-color: var(--line); }
.detail-body h2 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.detail-body h3 { color: var(--ink); font-weight: 600; }
.detail-body p, .detail-body li, .detail-body blockquote { color: var(--ink-2); }
.detail-body li::before { background: var(--accent); }
.detail-body strong { color: var(--ink); }
.detail-body a { color: var(--accent); text-decoration-color: rgba(26,60,97,.4); }
.detail-body a:hover { text-decoration-color: var(--accent); }
.detail-body code { background: rgba(18,22,25,.06); }
.detail-body blockquote { border-left-color: var(--accent); }
.detail-body img { border-radius: 10px; }
.table-wrap { background: var(--paper); border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); }
.detail-body th { background: rgba(18,22,25,.04); color: var(--ink); font-weight: 600; }
.detail-body th, .detail-body td { border-bottom-color: var(--line); }
.detail-body td:first-child { color: var(--muted); }
/* 内装图 */
.rooms { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: 260px 260px; gap: 12px; }
.rooms figure { position: relative; margin: 0; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); }
.rooms figure:first-child { grid-row: span 2; }
.rooms img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.rooms figure:hover img { transform: scale(1.035); }
.rooms figcaption {
  position: absolute; left: 10px; bottom: 10px; padding: 6px 11px; border-radius: 5px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #f2f5f7;
  background: rgba(18,24,30,.62); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}
.rooms figcaption:lang(zh-CN) { font-family: var(--font); font-size: 12px; letter-spacing: .04em; text-transform: none; }
@media (max-width: 900px) {
  .detail { grid-template-columns: 1fr; }
  .detail-info { position: relative; top: auto; padding: 24px 20px; }
  .rooms { grid-template-columns: 1fr; grid-template-rows: 250px 190px 190px; }
  .rooms figure:first-child { grid-row: auto; }
}

/* ==========================================================
   关于页
   ========================================================== */
.split { gap: 72px; }
.split .h2 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.12; }
.split .media { border-radius: 14px; box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-2); }
.prose p { color: var(--ink-2); font-size: 16px; }
.stats { gap: 0 32px; border-top: 0; }
.stat {
  padding: 24px 0 0; border-top: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 40px) top left / 100% 4px no-repeat;
}
.stat b { font-family: var(--mono); font-size: clamp(38px, 4vw, 60px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.stat b sup { position: relative; top: .3em; margin-left: 5px; font-family: var(--mono); font-size: .3em; font-weight: 500; letter-spacing: .04em; color: var(--accent); vertical-align: top; }
.stat span { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 800px) { .stats { gap: 30px 20px; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.value {
  padding: 26px 24px; border-radius: 12px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.value:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(18,22,25,.12), var(--sh-2); }
/* 原来隐藏的编号放出来当图号 */
.value b { display: block; margin-bottom: 14px; font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; color: var(--accent); }
.value h3 { margin: 0 0 9px; font-size: 20px; font-weight: 600; letter-spacing: -.018em; }
.value p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }
.dark { background: none; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: linear-gradient(90deg, var(--accent), rgba(18,22,25,.1)); }
.timeline li { position: relative; padding: 34px 22px 0 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 3px; background: var(--steel); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 5px rgba(26,60,97,.08); }
.timeline b { font-family: var(--mono); font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.timeline h4 { margin: 11px 0 5px; font-size: 15.5px; font-weight: 600; letter-spacing: -.012em; }
.timeline p { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), rgba(18,22,25,.1)); }
  .timeline li { padding: 0 0 0 34px; }
}
/* 关于页的认证带 */
.brands { padding: 40px 0; background: var(--pale); border-top: 1px solid rgba(18,22,25,.07); border-bottom: 1px solid rgba(18,22,25,.07); overflow: visible; }
.brands-in { display: flex; align-items: center; justify-content: space-between; gap: 22px 52px; }
.brands-in .eyebrow { flex: none; color: var(--muted); }
.brands-in .brands-row { flex: 1 1 auto; max-width: 880px; justify-content: space-between; flex-wrap: nowrap; gap: 20px 28px; width: auto; animation: none; }
.brand-logo { height: 36px; flex: none; }
.brand-logo img { height: 25px; width: auto; max-width: 150px; filter: grayscale(1) brightness(.5); opacity: .7; transition: opacity .25s, filter .25s; }
.brand-logo:hover img { opacity: 1; filter: grayscale(1) brightness(.22); }
@media (max-width: 1000px) {
  .brands-in { flex-direction: column; align-items: flex-start; }
  .brands-in .brands-row { flex-wrap: wrap; justify-content: flex-start; max-width: none; width: 100%; }
}

/* ==========================================================
   联系页
   ========================================================== */
.contact-grid { gap: 58px; align-items: start; }
.contact-item { gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item .fi {
  width: 42px; height: 42px; border: 0; border-radius: 8px; color: var(--accent);
  background: rgba(26,60,97,.07); box-shadow: inset 0 0 0 1px rgba(26,60,97,.14);
}
.contact-item span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-item span:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; letter-spacing: .08em; text-transform: none; }
.contact-item a, .contact-item p { font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.contact-item a:hover { color: var(--accent); }
.contact-qr { margin-top: 24px; padding: 22px; border: 0; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); }
.contact-qr p { color: var(--muted); }
.contact-qr-row figure { color: var(--ink-2); }
.contact-qr-row img { border-radius: 8px; background: #fff; padding: 4px; box-shadow: inset 0 0 0 1px var(--hairline); }
/* 表单：白玻璃面板（模糊画在 ::before 上，里面的下拉面板才能透出去） */
.form { position: relative; isolation: isolate; align-content: start; gap: 18px 16px; padding: 36px; border: 0; border-radius: 14px; background: none; box-shadow: none; }
.form::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background-color: var(--glass-bg-2); background-image: var(--glass-grain);
  -webkit-backdrop-filter: var(--glass-fx); backdrop-filter: var(--glass-fx);
  box-shadow: var(--glass-inset), var(--glass-drop);
}
.form .h3 { font-size: 23px !important; font-weight: 600; letter-spacing: -.02em; }
.field label {
  font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.field label:lang(zh-CN) { font-family: var(--font); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: none; }
.field input, .field select, .field textarea, .xs-btn {
  padding: 13px 14px; font-size: 15px; color: var(--ink); border: 0; border-radius: 8px;
  background: rgba(18,22,25,.035); box-shadow: inset 0 0 0 1px var(--line);
}
.field input:hover, .field select:hover, .field textarea:hover, .xs-btn:hover { border: 0; box-shadow: inset 0 0 0 1px rgba(18,22,25,.26); }
.field input:focus, .field select:focus, .field textarea:focus, .xs.open .xs-btn, .xs-btn:focus-visible {
  border: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--accent), var(--ring);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:user-invalid { box-shadow: inset 0 0 0 1px #c0392b; }
.form-note { color: #1a7f4b; }
.sub-note { color: #7fd3a4; }
@media (max-width: 900px) { .form { padding: 24px 18px; } }
/* 自定义下拉（select.js）：选项面板是白玻璃浮层 */
.xs-lb.ph { color: var(--muted); }
.xs-ar { color: var(--ink-2); }
.xs-pop {
  padding: 5px; border: 0; border-radius: 10px; background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(26px) saturate(170%); backdrop-filter: blur(26px) saturate(170%);
  box-shadow: inset 0 0 0 1px rgba(18,22,25,.09), 0 2px 6px rgba(18,22,25,.08), 0 26px 56px -20px rgba(18,22,25,.4);
}
.xs-opt { border-radius: 7px; color: var(--ink-2); }
.xs-opt.hv { background: rgba(18,22,25,.06); color: var(--ink); }
.xs-opt.on { color: var(--accent); font-weight: 600; }
.xs-opt.on::after { border-color: var(--accent); }
.xs-pop::-webkit-scrollbar-thumb { background: rgba(18,22,25,.2); }

/* ==========================================================
   案例详情
   ========================================================== */
.ar-head .crumbs { margin-bottom: 24px; }
.ar-head time { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; color: var(--accent); }
.ar-head h1 { margin: 12px 0 18px; font-size: clamp(30px, 3.8vw, 56px); font-weight: 600; line-height: 1.06; letter-spacing: -.03em; }
.ar-lead { font-size: 17.5px; color: var(--ink-2); }
.ar-cover { border-radius: 14px; background: var(--sand); box-shadow: var(--sh-2); }
.ar-body p, .ar-body li { color: var(--ink-2); }
.ar-card { padding: 26px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); }
.ar-card h3 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.ar-card p { color: var(--ink-2); }
.ar-card .btn-light { color: var(--ink); background: rgba(18,22,25,.04); border: 0; box-shadow: inset 0 0 0 1px var(--line); }
.ar-card .btn-light:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(18,22,25,.26), var(--sh-1); }
.ar-nav {
  padding: 20px 22px; border: 0; border-radius: 10px; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1); transition: box-shadow .25s, transform .25s var(--ease);
}
.ar-nav:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(18,22,25,.14), var(--sh-2); }
.ar-nav span { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; color: var(--muted); }
.ar-nav span:lang(zh-CN) { font-family: var(--font); font-size: 12px; letter-spacing: .08em; }
.ar-nav b { font-size: 16px; font-weight: 600; letter-spacing: -.016em; }
.ar-pn { border-top-color: var(--line); }

/* 灯箱 */
.lb { background: rgba(14,18,22,.9); }
.lb-x, .lb-nav, .lb-count {
  border: 0; border-radius: 8px; color: #f2f5f7; background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.lb-count { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.lb-x:hover, .lb-nav:hover { background: rgba(255,255,255,.22); }

/* ==========================================================
   进场动画
   ========================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .18s; } .d4 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .statement-text .w { opacity: 1; }
  .hero-bg img { transform: scale(1.02); }
}
main > .section:last-child { padding-bottom: 100px; }

/* ==========================================================
   版式
   原来的骨架是从机械站沿用的：每个区块都是「眉标 + 同样大的标题 + 下方等分网格」，
   padding 一律 110px，整页滚下来像同一个模板刷了七遍。这一节重排页面级的构成：

   1. 标题分级   主张区块（制造 / 产品系列）用大标题，支撑区块（现货 / 案例 /
                 流程 / 问答）小一号。首屏 > 主张 > 支撑，滚动时有大小交替。
   2. 节奏分级   留白按内容轻重分三档，而不是均匀铺开。
   3. 双栏陈述   首屏下方那段话原来独占一屏、四个数字又占半屏；改成左边陈述、
                 右边一根数据柱，密度提上来。
   4. 工序轴     交付流程原来只是四张图并排；改成图纸上的工序线 + 节点编号。
   5. 破等分     案例三张卡原来三等分，与上一个区块的产品网格撞版；首张跨两列。
   ========================================================== */

/* ---- 1. 标题分级 ---- */
.h2 { font-size: clamp(28px, 3vw, 44px); }
/* 主张区块：把话说重的地方 */
.fac-copy .h2, .res-head .h2 { font-size: clamp(32px, 3.8vw, 56px); }
/* 支撑区块：列事实的地方 */
.section-head .h2, .faq-wrap .h2 { font-size: clamp(25px, 2.4vw, 35px); }

/* ---- 2. 垂直节奏分级 ---- */
.section { padding: 100px 0; }
.factory { padding: 132px 0; }                    /* 制造是全站的重音 */
.flow-sec { padding: 112px 0; }
.section#faq { padding: 86px 0; }                 /* 收尾前收紧 */
.residences { padding-top: 100px; padding-bottom: 94px; }
@media (max-width: 900px) {
  .section, .factory, .flow-sec, .section#faq { padding: 74px 0; }
  .residences { padding-top: 74px; padding-bottom: 70px; }
}

/* ---- 3. 首屏下方：左边陈述，右边数据柱 ---- */
@media (min-width: 1001px) {
  .statement .wrap {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 384px);
    column-gap: clamp(48px, 5vw, 92px); align-items: start;
  }
  .statement .spec-strip, .statement .certs { grid-column: 1 / -1; }
  .statement-text, .statement > .wrap > .link-arrow { grid-column: 1; }
  /* 数据柱和陈述同起一行，跨到链接那一行，右栏才不会在底下留一块空 */
  .statement .facts { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; }
  .statement-text { max-width: 24ch; }
}
/* 数据柱：竖排读数，每项一条发丝线，像设备侧面的铭牌 */
.statement .facts { grid-template-columns: 1fr; gap: 0; }
.statement .facts li {
  padding: 15px 0 16px; border-top: 1px solid var(--line); background: none;
}
.statement .facts li:last-child { border-bottom: 1px solid var(--line); }
.statement .facts b { font-size: clamp(29px, 2.5vw, 38px); letter-spacing: -.04em; }
.statement .facts span { margin-top: 5px; font-size: 13px; }
@media (max-width: 1000px) {
  .statement .facts { grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 52px; }
  .statement .facts li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .statement .facts { grid-template-columns: 1fr; }
  .statement .facts li:nth-last-child(2) { border-bottom: 0; }
}

/* ---- 4. 交付流程：工序线 + 节点编号 ---- */
.flow { position: relative; padding-top: 32px; }
/* 工序线：走完四道工序后淡出 */
.flow::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent) 74%, rgba(18,22,25,.14) 100%);
}
.flow li { position: relative; padding-top: 26px; display: flex; flex-direction: column; }
/* 节点：方角、描边、外圈淡光——和关于页历程轴同一支。
   top 要把 .flow 的 padding-top 减掉，节点中心才压在工序线上 */
.flow li::before {
  content: ""; position: absolute; left: 0; top: -32px; width: 13px; height: 13px; border-radius: 3px;
  background: var(--steel); box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 5px rgba(26,60,97,.09);
}
/* 工序号提到节点旁边；原来挂在它上面的那条 per-item 标尺线撤掉，不和贯穿的工序线打架 */
.flow li b { order: -1; margin-bottom: 15px; padding-top: 0; border-top: 0; background: none; }
.flow figure { order: 0; margin: 0 0 16px; aspect-ratio: 5 / 3; }
.flow h3 { order: 1; margin: 0 0 7px; }
.flow p { order: 2; }
@media (max-width: 1000px) {
  /* 两行两列时贯穿线会穿过第二行的文字，改成每项自己一段短线 */
  .flow { padding-top: 0; }
  .flow::before { content: none; }
  .flow li { padding-top: 24px; }
  .flow li::before { top: -6px; }
  .flow li::after {
    content: ""; position: absolute; left: 24px; right: 0; top: 0; height: 1px; background: rgba(18,22,25,.14);
  }
}

/* ---- 6. 产品矩阵：六个品类排成网格，一屏看完
   原来是横向画廊，视口里一次只露一张半，要一张张划过去。采购要的是横向对比：
   哪个型号多大、一柜装几套、装多久。所以改成网格，照片上那块玻璃参数牌保留。 ---- */
.res-track {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  overflow: visible; padding: 0; scroll-snap-type: none;
}
.res-card { flex: none; aspect-ratio: 4 / 3; border-radius: 12px; scroll-snap-align: none; }
/* 卡片小了一半，玻璃牌上的字号和间距跟着收 */
.res-info { left: 10px; right: 10px; bottom: 10px; gap: 2px 14px; padding: 13px 14px 12px 15px; border-radius: 10px; }
.res-info h3 { font-size: clamp(17px, 1.35vw, 20px); }
.res-info p { font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.res-specs { gap: 5px; margin-top: 10px; }
.res-specs li { padding: 4px 8px; font-size: 10px; letter-spacing: .04em; }
.res-go { width: 36px; height: 36px; border-radius: 7px; }
@media (max-width: 1100px) { .res-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .res-track { grid-template-columns: 1fr; gap: 12px; }
  .res-card { aspect-ratio: 3 / 2; }
}

/* ---- 5. 首页案例：工程台账
   原来是三等分图卡，紧跟在产品网格后面，连着两屏都是「网格铺图卡」。
   厂家陈列项目本来就是一份清单：缩略图 + 项目名 + 一句话 + 日期。
   密度高，而且和上一个区块彻底分开。列表页（news.html）仍保持大图网格。 ---- */
/* 1100px 以下 .grid-3 本来就落到两列网格，台账排不开，就让它保持网格 */
@media (min-width: 1101px) {
  .projects .grid-3 { grid-template-columns: 1fr; gap: 0; }
  /* 一行一个工程：缩略图 | 项目名 | 一句话 | 去看。横向排满，不留中间那块空 */
  .projects .news-card {
    display: grid; grid-template-columns: 200px minmax(0, 1.18fr) minmax(0, 1fr) auto; align-items: center;
    gap: 0 30px; padding: 20px 4px; border-top: 1px solid var(--line);
    transition: background-color .3s var(--ease);
  }
  .projects .news-card:last-child { border-bottom: 1px solid var(--line); }
  .projects .news-card:hover { background: rgba(255,255,255,.6); }
  .projects .news-card .media {
    grid-column: 1; aspect-ratio: 16 / 10; border-radius: 8px;
    box-shadow: inset 0 0 0 1px var(--hairline), var(--sh-1);
  }
  /* 台账的项目名要把一行占满再换，别让 balance 提前折行 */
  .projects .news-card h3 { grid-column: 2; font-size: 19px; line-height: 1.3; text-wrap: normal; }
  .projects .news-card p { grid-column: 3; -webkit-line-clamp: 3; }
  .projects .news-card .link-arrow { grid-column: 4; margin: 0; }
  /* 日期角标缩到左上角，仍是压在照片上的那块玻璃 */
  .projects .news-card .media time { top: 8px; left: 8px; }
}

/* ==========================================================
   中文排版
   中文字体（Noto Sans SC Web）的可变字重上限是 500，中文标题到 500 为止；
   靠收紧字距和行高撑硬朗，不再用宋体那套宽松排布。
   规则按元素自身的语言匹配：中文页面里保留英文的元素（带 lang="en"）不受影响。
   ========================================================== */
html:lang(zh-CN) { text-autospace: normal; font-synthesis-weight: none; }
html:lang(zh-CN) body { font-weight: 400; line-height: 1.75; }
.h1:lang(zh-CN), .h2:lang(zh-CN), .page-hero h1:lang(zh-CN), .detail-info h1:lang(zh-CN),
.ar-head h1:lang(zh-CN), .statement-text:lang(zh-CN) { font-weight: 500; letter-spacing: 0; line-height: 1.28; font-feature-settings: "palt"; }
.h1:lang(zh-CN) { font-size: clamp(34px, 4.6vw, 70px); letter-spacing: .005em; line-height: 1.2; }
.h2:lang(zh-CN) { font-size: clamp(25px, 2.9vw, 42px); }
/* 标题分级的中文档位：汉字字面比拉丁字母大，整体收一档 */
.fac-copy .h2:lang(zh-CN), .res-head .h2:lang(zh-CN) { font-size: clamp(27px, 3.2vw, 47px); }
.section-head .h2:lang(zh-CN), .faq-wrap .h2:lang(zh-CN) { font-size: clamp(21px, 2.1vw, 30px); }
.page-hero h1:lang(zh-CN) { font-size: clamp(30px, 3.9vw, 56px); max-width: none; }
.detail-info h1:lang(zh-CN) { font-size: clamp(23px, 2.2vw, 33px); }
.ar-head h1:lang(zh-CN) { font-size: clamp(27px, 3.2vw, 46px); }
.statement-text:lang(zh-CN) { max-width: 24em; font-size: clamp(22px, 2.3vw, 35px); line-height: 1.5; letter-spacing: .01em; }
.hero h1:lang(zh-CN), .cta .h2:lang(zh-CN), .inside-panel .h2:lang(zh-CN), .fac-copy .h2:lang(zh-CN) { max-width: none; }
.card-title:lang(zh-CN), .news-card h3:lang(zh-CN), .res-info h3:lang(zh-CN), .faq summary:lang(zh-CN), .flow h3:lang(zh-CN),
.value h3:lang(zh-CN), .hero-card b:lang(zh-CN), .ar-card h3:lang(zh-CN), .detail-body h2:lang(zh-CN),
.ar-nav b:lang(zh-CN), .timeline h4:lang(zh-CN) { font-weight: 500; letter-spacing: .005em; }
.res-info h3:lang(zh-CN) { font-size: clamp(16px, 1.25vw, 18.5px); }
.faq summary:lang(zh-CN) { font-size: 18px; }
.lead:lang(zh-CN), .page-hero .ph-lead:lang(zh-CN) { line-height: 1.85; letter-spacing: .015em; }
.btn:lang(zh-CN), .nav a:lang(zh-CN), .tab:lang(zh-CN) { font-weight: 500; letter-spacing: .04em; }
.hs-t:lang(zh-CN), .contact-item a:lang(zh-CN), .contact-item p:lang(zh-CN), .facts span:lang(zh-CN) { font-weight: 500; }
