/* ============================================================
 * YITONG 一通线艺 · 全站样式（电影感 · 工艺叙事）
 * ------------------------------------------------------------
 *  - 主色：科技蓝 #3B82F6 + 纯黑 #07090d + 银灰 #cdd2dc（蓝光 + 流光特效）
 *  - 字体：Inter / Noto Sans SC / Barlow Condensed
 *  - 章节：开场 / Hero / About / Craft / Products / Quality / Contact
 * ============================================================ */

:root {
  /* 科技蓝主色（黑底 + 蓝字体特效） */
  --brand:        #3B82F6;
  --brand-soft:   #7FB2FF;
  --brand-deep:   #1E4FA3;
  --ink:          #f5f6fa;
  --ink-soft:     #cdd2dc;
  --ink-mute:     #8a90a0;
  --bg:           #07090d;
  --bg-2:         #0c1118;
  --bg-3:         #141a24;
  --line:         rgba(255,255,255,0.08);
  --line-strong:  rgba(255,255,255,0.16);
  --accent-blue:  #4a8cff;
  --accent-red:   #d14545;
  --accent-copper:#c2763a;
  --shadow-1:     0 2px 12px rgba(0,0,0,0.20);
  --shadow-2:     0 8px 32px rgba(0,0,0,0.36);
  --shadow-3:     0 24px 64px rgba(0,0,0,0.48);
  --ease:         cubic-bezier(.65, .05, .36, 1);
  --ease-out:     cubic-bezier(.22, 1, .36, 1);
  --container:    1240px;
  --pad:          clamp(20px, 4vw, 56px);
}

/* -------- reset -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont,
               'Helvetica Neue', Arial, 'Microsoft Yahei', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
a:hover { color: var(--brand-soft); }
button { font: inherit; cursor: pointer; }

::selection { background: var(--brand); color: #1a1208; }

/* ============================================================
 *  开场（intro）
 * ============================================================ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;       /* 开场期间不接受任何点击 - 没有 skip */
  background: radial-gradient(ellipse at center, #0e141d 0%, #050709 80%);
  transition: opacity 1.2s var(--ease), filter 1.2s var(--ease);
}

#intro-canvas,
#intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* video 元素：保持 16:9 裁切填充 */
  display: block;
  z-index: 1;
}
#intro-final {
  position: absolute;
  inset: 0;
  background: #050709 url('../media/intro-final.png') center/cover no-repeat;
  opacity: 0;                 /* 默认隐藏，finalize 时渐显 */
  z-index: 2;
  transition: opacity .8s var(--ease);
  pointer-events: none;
}
#intro.final-frame #intro-video { opacity: 0; }
#intro.final-frame #intro-final { opacity: 1; }

/* 末帧之上的虚化 scrim：让 hero 文字清晰浮出 */
#intro-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  pointer-events: none;
  /* v3: lighter vignette — particles/video remain visible through glass */
  background:
    radial-gradient(ellipse at 30% 40%, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.42) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.06) 40%, rgba(0,0,0,0.32) 100%);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
#intro.final-frame #intro-scrim { opacity: 1; transition: opacity 1.2s var(--ease); }
/* 视频降为铺底背景层时：scrim 立刻生效（不淡入），避免浮现瞬间视频过亮刺眼 */
#intro.bg-layer:not(.final-frame) #intro-scrim { opacity: 1; transition: none; }
/* 末帧轻微虚化（呼应"虚化等效果"），让文字浮于其上 */
#intro.final-frame #intro-final {
  filter: blur(2.5px) brightness(0.6) saturate(0.9);
  transform: scale(1.04);
}
/* Showcase path: keep last frame sharp — no cinematic wash (showcase.css also overrides) */
#intro.final-frame.showcase-mode #intro-final,
#intro.showcase-mode #intro-final {
  filter: none;
  transform: scale(1.35);
}

.intro-chrome {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  opacity: 1;
  transition: opacity .8s var(--ease);
}
#intro.chrome-fade .intro-chrome:not(.intro-scroll-hint) { opacity: 0; }
#intro.chrome-fade .intro-scroll-hint { opacity: 1; } /* stay until scroll */

/* 顶部进度徽章（仅展示工艺阶段，无 skip） */
.intro-stage {
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 22px;
  border-radius: 100px;
  background: rgba(8, 12, 18, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.intro-stage .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  animation: dotPulse 1.4s infinite ease-in-out;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.7); }
}
.intro-stage .stage-zh {
  color: var(--brand-soft);
  font-weight: 600;
  font-size: 13px;
}
.intro-stage .stage-en {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-size: 11px;
}
.intro-stage.flash {
  border-color: var(--brand);
  box-shadow: 0 0 24px rgba(242,184,30,.4);
}

/* 左下角品牌 */
.intro-brand {
  bottom: 28px;
  left: 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.intro-brand .logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--ink);
}
.intro-brand .sub {
  font-size: 11px;
  letter-spacing: .32em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* 右下角时间戳 */
.intro-timestamp {
  bottom: 28px;
  right: 32px;
  font-family: 'Barlow Condensed', monospace;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .18em;
}
.intro-timestamp span { color: var(--brand-soft); }

/* v11.3 bottom-center scroll cue — elegant mouse + chevrons */
.intro-scroll-hint {
  left: 50%;
  right: auto;
  bottom: max(28px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 10px;
  border: none;
  background: transparent;
  text-shadow: none;
  animation: hintBreath 2.8s ease-in-out infinite;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.55s, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.intro-scroll-hint .hint-mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 20px rgba(127, 233, 255, 0.18);
}
.intro-scroll-hint .hint-wheel {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, #7fe9ff, rgba(127, 233, 255, 0.2));
  animation: hintWheel 1.8s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
.intro-scroll-hint .hint-text {
  font-family: 'Syne', 'Noto Sans SC', 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 248, 255, 0.88);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}
.intro-scroll-hint .hint-text::after { content: none; }
.intro-scroll-hint .hint-line { display: none; }
.intro-scroll-hint .hint-chevs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  height: 18px;
}
.intro-scroll-hint .hint-chevs i {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid rgba(127, 233, 255, 0.85);
  border-bottom: 1.5px solid rgba(127, 233, 255, 0.85);
  transform: rotate(45deg);
  opacity: 0.25;
  animation: hintChev 1.6s ease-in-out infinite;
}
.intro-scroll-hint .hint-chevs i:nth-child(2) { animation-delay: 0.22s; }

@keyframes hintBreath {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(-6px); opacity: 0.92; }
}
@keyframes hintWheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(10px); opacity: 0; }
}
@keyframes hintChev {
  0%, 100% { opacity: 0.2; }
  40% { opacity: 1; }
}

/* Hide cue once user scrolls / chrome fades / past hero */
#intro.chrome-fade .intro-scroll-hint,
#intro.bg-layer .intro-scroll-hint,
#intro.hint-gone .intro-scroll-hint,
body.scrolled-past-hero .intro-scroll-hint,
body.home-active .intro-scroll-hint,
.intro-scroll-hint.is-gone {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none;
  animation: none;
  transform: translateX(-50%) translateY(12px);
}
/* top loader removed in v11.3 */
.intro-stage, #hero-stage, #stage-label { display: none !important; visibility: hidden !important; height: 0 !important; overflow: hidden !important; }

/* 开场到 hero 衔接：canvas/video 变背景层 */
#intro.bg-layer {
  z-index: 0;                 /* 落到内容层之下 */
  pointer-events: auto;       /* hero 启用鼠标拖拽 */
}
#intro.bg-layer .intro-chrome {
  display: none;              /* chrome 隐藏，但 canvas 还在 */
}
/* 12s 起视频降为背景但仍继续播：在文字底下加一层柔和暗化「遮罩」，
   让浮在之上的 hero 文字清晰（区别于定格后 final-frame 的重 scrim） */
#intro.bg-layer:not(.final-frame) #intro-scrim {
  opacity: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  /* v3: soft vignette only — keep intro video readable under hero glass */
  background:
    radial-gradient(ellipse at 50% 42%, rgba(5,8,12,0.12) 0%, rgba(5,8,12,0.28) 55%, rgba(5,8,12,0.45) 100%),
    linear-gradient(180deg, rgba(5,8,12,0.22) 0%, rgba(5,8,12,0.10) 30%, rgba(5,8,12,0.38) 100%);
}

/* ============================================================
 *  导航
 * ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .8s var(--ease), transform .8s var(--ease),
              background .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
}
body.hero-active .site-nav,
body.home-active .site-nav { opacity: 1; transform: translateY(0); }
/* frosted only after scroll (wired in cinematic.js) */
body.nav-solid .site-nav,
.site-nav.is-solid {
  background: rgba(8, 12, 18, 0.52);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.nav-brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; letter-spacing: .08em;
}
.nav-brand .mark {
  width: 36px; height: 36px;
  background: var(--brand);
  color: #1a1208;
  display: grid; place-items: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800;
  border-radius: 4px;
}
.nav-brand .name { font-size: 16px; }
.nav-brand .name small {
  display: block; font-size: 10px; letter-spacing: .3em;
  color: var(--ink-mute); margin-top: 2px;
}

/* ---- 一通官方 LOGO 图标（PDF 提取、去背、重染为深底可见的蓝 ZY 标记） ---- */
.brand-mark {
  display: block;
  height: 24px;                 /* 完整锁标（J + 一通线艺 + YI TONG），小而精 */
  width: auto;
  flex: 0 0 auto;
  /* 深底上提亮 + 轻微蓝色光晕，与站点科技蓝主色统一 */
  filter: drop-shadow(0 0 8px rgba(59,130,246,.35))
          drop-shadow(0 2px 8px rgba(0,0,0,.55));
}
.hero-brand .brand-mark {
  height: 40px;                 /* 首屏海报：中等，不喧宾夺主 */
  margin: 0 auto 10px;
  filter: drop-shadow(0 0 14px rgba(59,130,246,.40))
          drop-shadow(0 4px 16px rgba(0,0,0,.6));
}
.intro-brand .brand-mark {
  height: 26px;                 /* 开场视频左下角：小水印级，高级感 */
  filter: drop-shadow(0 0 10px rgba(59,130,246,.38))
          drop-shadow(0 2px 10px rgba(0,0,0,.55));
}

.nav-list { display: flex; gap: 32px; }
.nav-list a {
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a.active::after { transform: scaleX(1); }
.nav-list a.active { color: var(--brand-soft); }

.nav-toggle {
  display: none;
  background: none; border: 0;
  color: var(--ink);
  font-size: 22px;
  padding: 8px;
}

/* 右侧：语言切换 + 移动端菜单 */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.lang-toggle:hover { border-color: var(--brand); }
.lang-toggle .opt {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--ink-mute);
  transition: color .3s var(--ease), background .3s var(--ease);
  line-height: 1;
}
.lang-toggle .opt.active {
  background: var(--brand);
  color: #1a1208;
}

/* ============================================================
 *  Hero（背景层 + 浮于上方的文字）
 * ============================================================ */
.hero {
  /* 首屏海报：定格冻结帧之上的着陆层 */
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px var(--pad) 72px;
  display: flex;
  align-items: center;
  z-index: 2;
  overflow: hidden;
  color: var(--ink);
}
/* 开场播放期间，.hero 文案作为文字浮现层浮在（视频降为 .bg-layer 背景后仍在播的）视频之上。
   不再把 hero 变 fixed —— 定格后它天然是文档流首屏，可滚动露出下一段；视频一直播到 ended 才定格。 */

/* 细腻暗角遮罩：让视频/末帧不抢文字，同时留出通透感 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* v3: light vignette — not a full-screen black wash */
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7,9,13,0.06) 0%, rgba(7,9,13,0.14) 50%, rgba(7,9,13,0.38) 100%),
    linear-gradient(180deg, rgba(7,9,13,0.22) 0%, rgba(7,9,13,0.05) 28%, rgba(7,9,13,0.08) 66%, rgba(7,9,13,0.40) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* ---- 品牌行：YITONG + 副标题（与 intro 角标同款文字锁标，避免与顶部 nav logo 重复） ---- */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease) .1s, transform 1s var(--ease-out) .1s;
}
body.hero-active .hero-brand { opacity: 1; transform: translateY(0); }
.hero-brand .brand-mark-text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 800;
  letter-spacing: .32em;
  color: var(--ink);
  text-shadow: 0 0 18px rgba(59,130,246,.35), 0 2px 8px rgba(0,0,0,.5);
  padding-left: .32em; /* compensate for letter-spacing right-shift */
}
.hero-brand .brand-mark-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(9px, .8vw, 11px);
  letter-spacing: .42em;
  color: var(--brand-soft);
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0,0,0,.6);
}

/* ---- 标语：From one core wire to every scene of life. ---- */
.hero-title {
  font-size: clamp(30px, 5.2vw, 66px);
  font-weight: 800;
  line-height: 1.1;
  margin: 6px 0 18px;
  letter-spacing: -.015em;
  max-width: 1000px;
  text-shadow: 0 2px 34px rgba(0,0,0,.55);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}
body.hero-active .hero-title .line:nth-child(1) span { transition-delay: .20s; }
body.hero-active .hero-title .line:nth-child(2) span { transition-delay: .34s; }
body.hero-active .hero-title .line:nth-child(3) span { transition-delay: .48s; }
body.hero-active .hero-title .line span { transform: translateY(0); opacity: 1; }
.hero-title em {
  font-style: normal;
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 5px;
  height: 8px;
  background: linear-gradient(90deg, var(--brand) 0%, transparent 100%);
  opacity: .28;
}

/* ---- 使命文案（标语之后一小会浮现） ---- */
.hero-sub {
  font-size: clamp(13px, 1.35vw, 16px);
  line-height: 1.75;
  color: var(--ink-soft);
  max-width: 560px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1.05s var(--ease) .7s, transform 1.05s var(--ease-out) .7s;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
}
body.hero-active .hero-sub { opacity: 1; transform: translateY(0); }

/* ---- CTA 按钮（使命之后浮现） ---- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1s var(--ease) 1s, transform 1s var(--ease-out) 1s;
}
body.hero-active .hero-actions { opacity: 1; transform: translateY(0); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 14px;
  letter-spacing: .08em;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  border: 0;
  transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.btn-primary {
  background: var(--brand);
  color: #1a1208;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-soft); color: #1a1208; }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); color: var(--ink); }
.btn-arrow::after {
  content: '→';
  font-size: 18px;
  transition: transform .3s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* 移动端窄屏：按钮纵排 */
@media (max-width: 640px) {
  .hero { padding: 84px var(--pad) 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}

/* ============================================================
 *  章节通用
 * ============================================================ */
section {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: var(--bg);
}
.section-dark {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 64px;
}
.section-eyebrow {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
.section-title em { font-style: normal; color: var(--brand); }
.section-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 720px;
}

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: translateY(0); }
[data-reveal][data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal][data-reveal-delay="5"] { transition-delay: .5s; }

/* ============================================================
 *  About 走进一通
 * ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 80px;
  align-items: center;
}
.about-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-3);
  border-radius: 8px;
  overflow: hidden;
}
.about-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(242,184,30,.15) 100%);
}
.about-media .badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(7,9,13,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: 6px;
  border-left: 3px solid var(--brand);
}
.about-media .badge .y { font-size: 24px; font-weight: 700; color: var(--brand); }
.about-media .badge .t { font-size: 12px; color: var(--ink-mute); letter-spacing: .15em; }

.about-text p { color: var(--ink-soft); margin: 0 0 18px; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.about-stats .item .v {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: var(--brand-soft);
  line-height: 1;
}
.about-stats .item .l {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ============================================================
 *  Craft 工艺流程（滚动驱动 3D 分层）
 * ============================================================ */
#craft-section {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(242,184,30,0.05) 0%, transparent 50%),
    var(--bg);
  position: relative;
}
/* ============================================================== */
/*  CRAFT · 滚动驱动工业动画舞台                                       */
/*  左侧：7 步步骤 → 右侧：sticky 3D 画布（GSAP ScrollTrigger pin） */
/* ============================================================== */
#craft {
  /* v3: nearly transparent so craft-canvas screen-blends over particles */
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(94,234,255,.03) 0%, transparent 60%),
    transparent;
  /* overflow 必须拿掉：GSAP ScrollTrigger pin 会在 #craft 后面插入 spacer div，
     overflow:hidden 会把它裁掉，导致 pin 不工作 */
}
/* ============================================================
 *  Craft 工艺 · 视频铺底 + 滚动驱动
 *  - .craft-pin 被 GSAP ScrollTrigger pin 在视口里
 *  - <video> 跟着滚轮 currentTime 前进/回滚
 *  - 7 个 .craft-step 节点随进度浮起
 * ============================================================ */
#craft { position: relative; }

/* .craft-pin 去掉纯黑硬底，让粒子视频背景直接透出 → 视频工艺动画与背景无缝融合 */
.craft-pin {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: transparent;
}
/* .craft-video：作为帧源存在（驱动 currentTime / 解码），
   但不再作为视觉显示 —— 用 .craft-canvas 替代以做实时黑色键控去黑底 */
.craft-video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  left: -9999px;
  top: -9999px;
}
/* .craft-canvas：实际显示层 —— 处理器把每帧视频的深底像素 alpha=0 抠掉，
   只保留发光的蓝色线条/蛛网/线束；再以 screen 混合模式叠加到粒子背景上 */
.craft-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity .9s var(--ease);
  will-change: opacity, transform;
  /* screen 混合：底色像素透明后与粒子视频 screen 混合 → 工艺线条浮在背景上 */
  mix-blend-mode: screen;
  filter: brightness(1.45) contrast(1.20) saturate(1.35) drop-shadow(0 0 22px rgba(120,180,255,.35));
}
.craft-canvas.ready { opacity: 1; }
/* 退场：末帧工艺线条保留余韵作为视觉锚点（与旧版 video 退场一致） */
.craft-pin.exiting .craft-canvas {
  opacity: .55;
  transform: scale(1.05);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
/* .craft-pin.exiting 退场时底色保持透明（让粒子背景持续透出） */
.craft-pin.exiting {
  background: transparent;
  transition: background .9s var(--ease);
}
/* #craft 段在退场期间也保持透明，让 pin 释放后仍承粒子背景 */
body.craft-handoff #craft { background: transparent; transition: background .9s var(--ease); }
.craft-pin.exiting .craft-video {
  opacity: .62;
  transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

/* .craft-scrim 大幅削弱：原 .88 重暗遮罩压死了视频工艺线条；改为极轻环境光，
   仅左侧微压暗保证文字可读，视频画面不受压 */
.craft-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4,6,10,.45) 0%, rgba(4,6,10,.15) 50%, rgba(4,6,10,0) 100%),
    linear-gradient(180deg, rgba(4,6,10,.30) 0%, rgba(4,6,10,0) 30%, rgba(4,6,10,0) 70%, rgba(4,6,10,.45) 100%);
}
.craft-pin.exiting .craft-scrim { background: linear-gradient(180deg, rgba(4,6,10,.20) 0%, rgba(4,6,10,0) 100%); transition: background .9s var(--ease); }

.craft-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 44px 56px 36px;
  max-width: 1440px;
  margin: 0 auto;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.craft-pin.exiting .craft-content {
  /* 内容上飘 + 渐出 + 轻微缩放，像被卷轴轻轻推走 */
  opacity: 0;
  transform: translateY(-44px) scale(.985);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.craft-pin.exiting .craft-progress { opacity: 0; transition: opacity .8s var(--ease); }

.craft-head { max-width: 580px; }
.craft-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
}
.craft-title {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 10px;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}
.craft-lead {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 44ch;
}

/* 7 个阶段文字节点 —— 默认半透明下移，active 浮起 */
.craft-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 620px;
}
.craft-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  position: relative;
  /* 默认不可见：轮到它时才浮现，过去后淡出 */
  opacity: 0;
  transform: translateY(20px) translateX(0);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.craft-step:last-child { border-bottom: 1px solid rgba(255,255,255,.08); }
.craft-step .idx {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--ink-mute);
  line-height: 1;
  letter-spacing: -.02em;
  transition: color .6s var(--ease), transform .6s var(--ease);
}
.craft-step .ct small {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  color: var(--ink-mute);
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.craft-step .ct h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
  transition: color .6s var(--ease);
}
.craft-step .ct p {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin: 0;
  max-width: 40ch;
}
/* active：当前阶段文字浮现（渐入） */
.craft-step.active {
  opacity: 1;
  transform: translateY(0) translateX(14px);
}
.craft-step.active .idx { color: var(--brand); transform: scale(1.08); }
.craft-step.active .ct h3 { color: var(--brand-soft); }
/* passed：走过之后向上淡出（渐出），不再占位留痕 */
.craft-step.passed {
  opacity: 0;
  transform: translateY(-12px) translateX(14px);
}
.craft-step.passed .idx { color: var(--ink-soft); }

/* ── 尾声：视频末帧冻结，7 个步骤一条一条浮现并固定 ── */
.craft-pin.finale .craft-step {
  opacity: 1;
  transform: translateY(0) translateX(14px);
}
.craft-pin.finale .craft-step .idx { color: var(--ink-soft); }
.craft-pin.finale .craft-step .ct h3 { color: var(--ink); }
/* 逐条延迟浮现（一条一条出现） */
.craft-pin.finale .craft-step:nth-child(1) { transition-delay: 0s; }
.craft-pin.finale .craft-step:nth-child(2) { transition-delay: .13s; }
.craft-pin.finale .craft-step:nth-child(3) { transition-delay: .26s; }
.craft-pin.finale .craft-step:nth-child(4) { transition-delay: .39s; }
.craft-pin.finale .craft-step:nth-child(5) { transition-delay: .52s; }
.craft-pin.finale .craft-step:nth-child(6) { transition-delay: .65s; }
.craft-pin.finale .craft-step:nth-child(7) { transition-delay: .78s; }
/* 尾声时右侧锚点全部点亮 */
.craft-pin.finale .craft-anchors li { opacity: 1; }
.craft-pin.finale .craft-anchors li .dot {
  background: var(--brand);
  transform: scale(1);
}

/* 顶部进度：阶段编号 + 当前阶段名 */
.craft-progress {
  position: absolute;
  top: 72px;
  right: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  z-index: 3;
  font-family: 'Barlow Condensed', sans-serif;
}
.craft-progress-text {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .04em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.craft-progress-stage {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: .24em;
  text-transform: uppercase;
}

/* 右侧时间锚点：7 个 dot 对应视频时间分界 */
.craft-anchors {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 3;
}
.craft-anchors li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .12em;
  transition: color .5s var(--ease);
}
.craft-anchors .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(59,130,246,.30);
  transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.craft-anchors li.done .dot { background: var(--brand); box-shadow: 0 0 8px var(--brand); }
.craft-anchors li.active .dot { background: var(--brand); transform: scale(1.4); box-shadow: 0 0 12px var(--brand); }
.craft-anchors li.active { color: var(--brand); }

@media (max-width: 980px) {
  .craft-content { padding: 56px 24px; }
  .craft-head { max-width: 100%; }
  .craft-steps { max-width: 100%; }
  .craft-progress { top: 56px; right: 24px; }
  .craft-progress-text { font-size: 20px; }
  .craft-anchors { right: 14px; gap: 10px; }
  .craft-step { grid-template-columns: 54px 1fr; gap: 16px; padding: 18px 0; }
  .craft-step .idx { font-size: 32px; }
  .craft-step .ct h3 { font-size: 16px; }
  .craft-step .ct p { font-size: 12px; }
}

/* ============================================================
 *  Products 产品中心
 * ============================================================ */
.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.product-tab {
  background: none;
  border: 0;
  padding: 20px 32px;
  color: var(--ink-mute);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  position: relative;
  cursor: pointer;
}
.product-tab small {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 4px;
}
.product-tab.active { color: var(--brand); }
.product-tab.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--brand);
}
.product-panel { display: none; }
.product-panel.active { display: block; animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}
.product-card .img {
  aspect-ratio: 4 / 3;
  background: var(--bg-3);
  position: relative;
  overflow: hidden;
}
.product-card .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 70%, rgba(242,184,30,0.10) 100%);
}
.product-card .body {
  padding: 20px;
}
.product-card .name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
}
.product-card .meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .1em;
  margin-bottom: 8px;
}
.product-card .desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 16px;
}
.product-card .specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.product-card .specs span {
  font-size: 11px;
  padding: 3px 8px;
  background: rgba(242,184,30,0.10);
  color: var(--brand-soft);
  border-radius: 3px;
  border: 1px solid rgba(242,184,30,0.20);
}

/* ============================================================
 *  Quality 品质与认证
 * ============================================================ */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.quality-card {
  padding: 32px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.quality-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.quality-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, transparent 100%);
}
.quality-card .icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(242,184,30,0.10);
  color: var(--brand);
  border-radius: 6px;
  font-size: 22px;
  margin-bottom: 20px;
}
.quality-card h4 {
  font-size: 18px;
  margin: 0 0 8px;
}
.quality-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 16px;
}
.quality-card .meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ============================================================
 *  Application 应用领域
 * ============================================================ */
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.app-card {
  padding: 32px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  transition: all .4s var(--ease);
}
.app-card:hover {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(242,184,30,0.04) 100%);
}
.app-card .icon {
  font-size: 32px;
  color: var(--brand);
  margin-bottom: 16px;
}
.app-card .name {
  font-size: 15px;
  font-weight: 700;
}
.app-card .name small {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* ============================================================
 *  Contact 联系我们
 * ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info-item:last-child { border-bottom: 0; }
.contact-info-item .icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: rgba(242,184,30,0.10);
  color: var(--brand);
  border-radius: 4px;
  display: grid; place-items: center;
  font-size: 16px;
}
.contact-info-item .body .lbl {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-info-item .body .val {
  font-size: 16px;
  font-weight: 600;
}
.contact-info-item .body .val small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}

.contact-form .field {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .3s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
#contact-ok {
  font-size: 13px;
  color: var(--brand-soft);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
#contact-ok.show { opacity: 1; }

/* ============================================================
 *  Footer
 * ============================================================ */
.site-footer {
  position: relative;
  z-index: 2;
  background: #04060a;
  padding: 60px var(--pad) 30px;
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h5 {
  font-size: 12px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 16px;
}
.footer-col p,
.footer-col li {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.8;
}
.footer-col li { list-style: none; }
.footer-col a:hover { color: var(--brand); }
.footer-bottom {
  max-width: var(--container);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-mute);
}

/* ============================================================
 *  响应式
 * ============================================================ */
@media (max-width: 1024px) {
  .craft-layered { grid-template-columns: 1fr; gap: 40px; }
  .craft-canvas { position: relative; top: 0; max-width: 560px; margin: 0 auto; width: 100%; }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-media { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .hero { padding-top: 100px; }
  .nav-list { display: none; }
  .nav-toggle { display: block; }
  body.nav-open .nav-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(8, 12, 18, 0.88);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    padding: 14px 18px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 50;
  }
  body.nav-open .nav-list a {
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .craft-step { grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0 28px 16px; }
  .craft-step .idx { font-size: 40px; }
  .craft-step .name > span { font-size: 18px; }
  .quality-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .intro-stage { padding: 8px 14px; font-size: 11px; gap: 8px; }
  .lang-toggle .opt { padding: 5px 9px; font-size: 11px; }
}

/* 弱视动 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* 防止滚动穿透：开场期间锁滚动 */
body.intro-lock { overflow: hidden; height: 100vh; }

/* ============================================================
 *  v5 · 工业传输电缆广告（流光溢彩）
 *  - 12s 起 hero 文案（品牌/标语/使命/按钮）浮于视频生活场景之上
 *  - 视频结束后末帧冻结做主页固定背景（#intro.bg-layer）
 *  - #light-flow 主页全屏光流层（mix-blend-mode: screen）
 *  - 滚动时光流轻微视差
 * ============================================================ */

/* ---- #light-flow：流光溢彩固定光流层（finalize 后激活） ---- */
#light-flow {
  position: fixed;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s var(--ease);
  mix-blend-mode: screen;
  will-change: transform;
}
body.light-flow #light-flow { opacity: 1; }

#light-flow .ray {
  position: absolute;
  top: -20%;
  width: 2px;
  height: 140%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0) 8%,
    rgba(255,255,255,.72) 30%,
    rgba(255,255,255,.95) 50%,
    rgba(140,210,255,.55) 72%,
    transparent 90%);
  filter: blur(1px);
  opacity: .55;
  transform: rotate(20deg);
  animation: rayDrift 16s linear infinite;
}
#light-flow .r1 { left: 15%; animation-duration: 16s; animation-delay: -2s;  opacity: .45; }
#light-flow .r2 { left: 35%; width: 1px; animation-duration: 22s; animation-delay: -7s; opacity: .35; filter: blur(2px); }
#light-flow .r3 { left: 55%; width: 3px; animation-duration: 18s; animation-delay: -11s; opacity: .65; }
#light-flow .r4 { left: 72%; width: 1px; animation-duration: 24s; animation-delay: -4s; opacity: .30; filter: blur(2.5px); }
#light-flow .r5 { left: 88%; animation-duration: 20s; animation-delay: -9s; opacity: .50; }
@keyframes rayDrift {
  0%   { transform: rotate(20deg) translateX(-30%); }
  50%  { transform: rotate(22deg) translateX( 10%); }
  100% { transform: rotate(20deg) translateX(-30%); }
}

#light-flow .glow {
  position: absolute;
  width: 56vmin; height: 56vmin;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .35;
  animation: glowPulse 9s ease-in-out infinite;
}
#light-flow .g1 { top: 8%;  left: 4%;  background: radial-gradient(circle, rgba(255,120,200,.55) 0%, transparent 70%); animation-delay: -2s; }
#light-flow .g2 { bottom: 6%; right: 6%; background: radial-gradient(circle, rgba(90,200,255,.50) 0%, transparent 70%); animation-delay: -5s; width: 50vmin; height: 50vmin; }
#light-flow .g3 { top: 42%; right: 12%; background: radial-gradient(circle, rgba(170,130,255,.50) 0%, transparent 70%); animation-delay: -3s; width: 46vmin; height: 46vmin; }
#light-flow .g4 { bottom: 18%; left: 15%; background: radial-gradient(circle, rgba(120,255,200,.42) 0%, transparent 70%); animation-delay: -7s; width: 42vmin; height: 42vmin; }
#light-flow .g5 { top: 16%; left: 46%; background: radial-gradient(circle, rgba(255,210,120,.40) 0%, transparent 70%); animation-delay: -4s; width: 40vmin; height: 40vmin; }
@keyframes glowPulse {
  0%, 100% { transform: scale(1)    translate(0, 0);   opacity: .28; }
  50%      { transform: scale(1.25) translate(4%, -3%); opacity: .48; }
}

/* ---- 主页背景：视频铺底（hero-active 起即半透明，视频在后面几页也一直透出播放），
        末帧冻结后同一透明度承接冻结帧 → 无背景突变 ---- */
/* v3: opaque slabs removed — glass treatment lives in premium.css
   (kept as ultra-light fallback if premium fails to load) */
body.hero-active section,
body.home-active section {
  background: rgba(7, 9, 13, 0.22);
}
body.hero-active #products,
body.home-active #products {
  background: linear-gradient(180deg, rgba(7,9,13,0.28) 0%, rgba(12,17,24,0.32) 100%);
}
body.hero-active #craft,
body.home-active #craft {
  background: transparent;
}

/* 滚动揭示元素带一道金光流过（流光溢彩的"光"落在内容上） */
.product-card.in,
.quality-card.in,
.app-card.in,
.craft-step.in {
  animation: revealGlow 1.2s var(--ease) both;
}
@keyframes revealGlow {
  0%   { box-shadow: 0 0 0 0   rgba(127,178,255,0);   border-color: var(--line); }
  40%  { box-shadow: 0 0 40px 0 rgba(127,178,255,.20); border-color: rgba(127,178,255,.5); }
  100% { box-shadow: 0 0 0 0   rgba(127,178,255,0);   border-color: var(--line); }
}
.product-card.in, .quality-card.in, .app-card.in { border-color: rgba(127,178,255,.4); }

/* ---- Wire Catalogue：18 张卡片密排 ---- */
.catalogue-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.catalogue-grid .product-card { background: rgba(12,17,24,.82); }
.catalogue-grid .product-card .img { aspect-ratio: 16 / 7; }
.catalogue-grid .product-card .body { padding: 16px; }
.catalogue-grid .product-card .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-soft);
  line-height: 1.4;
  margin-bottom: 8px;
  word-break: break-word;
}
.catalogue-grid .product-card .desc {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.catalogue-grid .product-card .meta { font-size: 11px; }
.catalogue-grid .product-card .specs span {
  font-size: 11px;
  white-space: normal;
  line-height: 1.45;
  padding: 4px 10px;
}

/* === redesign (2026-09-01): 线束工艺列表 + 目录图卡 === */
.craft-list { display:grid; gap:0; border-top:1px solid var(--line); margin-top:8px; }
.craft-row { display:grid; grid-template-columns:92px 1fr; gap:24px; align-items:start; padding:30px 0; border-bottom:1px solid var(--line); }
.craft-row .idx { font-family:'Barlow Condensed',sans-serif; font-size:42px; font-weight:800; color:var(--brand); line-height:1; }
.craft-row .cn { font-size:20px; font-weight:700; color:var(--ink); margin-bottom:8px; }
.craft-row .cd { font-size:15px; color:var(--ink-soft); line-height:1.65; }
@media (max-width:720px){ .craft-row{ grid-template-columns:64px 1fr; gap:16px; padding:22px 0;} .craft-row .idx{font-size:32px;} .craft-row .cn{font-size:17px;} }

.catalogue-grid .product-card .img { padding:0; background:#0c1118; overflow:hidden; aspect-ratio:16/10; }
.catalogue-grid .product-card .img img { width:100%; height:100%; object-fit:cover; display:block; }
