/* =============================================================
   HZRD Crafts · Bespoke Designer Toys · Main Stylesheet
   Design tokens derived from the Ardot source.

   =============================================================
   🎛️  调整总索引 (Ctrl+F 搜下面关键词秒到)
   -------------------------------------------------------------
   【字号】调 :root 里的 --fs-* (line 38-43)
     --fs-eyebrow  小标签 (★ OUR PRODUCTS 等)
     --fs-body     正文
     --fs-lead     副标题/导语
     --fs-h3       卡片标题
     --fs-h2       section 大标题
     --fs-hero     Hero 大标题

   【图片占位大小】 改各 section 的 aspect-ratio
     L440  .hero__visual                1280/720  首页 Hero 大图
     L543  .tabs__media                 600/420   Craft & Material tab 图
     L610  .bento__main                 720/420   首页 Bento 主图(工厂展示)
     L1135 .carousel                    16/9     产品轮播图(PVC/ABS/Plush/Resin)
     L1305 .carousel--compact           3/2      紧凑轮播(Line 07 等)
     L1407 .step__art                   4/3      Factory Process 步骤图
     L1597 .security-card__visual       16/9     安全/资质卡片图
     L1779 .gallery-card__carousel      16/10    工厂产线图
     (末)  .videocard__frame            16/9     视频卡封面（全站 8 处视频位）

   【文字框宽度】max-width (容器)
     L401  .section__head-center max-width: 1000px   section 标题区
     L409  .section__title      max-width: 720px    section 大标题宽度
     L416  .section__subtitle   max-width: 720px    section 副标题宽度
     L423  .section__eyebrow    max-width: 720px    section 小标签
     L742  .cm-tabs max-width: 740px
     L770/777 .stat__num/desc   max-width: 640px
     L832  .footer__brand       max-width: 320px
     L1345 .steps__sub          max-width: 760px

   【容器固定高度】
     L267  .header__inner       height: 68px      header 高度（v92 容纳 64px LOGO）
     L465  .card                min-height: 320px 产品卡片最小高度
     L993  .btn--lg             height: 44px       大按钮高度
     L1007 .modal-head          height: 84px       弹窗头部高度
     L1247/1248 .logo__mark.has-logo-img 60.8/56px header/footer PNG logo（v92 缩 5%）
     L1222/1223 .carousel__arrow 36×36            轮播按钮

   【间距/边距】  --sp-* (line 52-60) 控制所有间距 token

   =============================================================
*/

/* -------- Tokens -------- */
:root {
  /* Brand palette */
  --c-navy:        #1E3A8A;        /* primary action, links */
  --c-navy-deep:   #0F1B3D;        /* header, dark tiles */
  --c-navy-line:   #1A2A5E;        /* borders on dark */
  --c-ink:         #0A0E27;        /* titles, deep type */
  --c-body:        #2D3552;        /* paragraph */
  --c-muted:       #6B7390;        /* secondary */
  --c-faint:       #94A3B8;        /* tertiary, captions */
  --c-line:        #E5E7EB;        /* dividers on light */
  --c-bg-warm:     #FAFAF7;        /* warm white tile */
  --c-bg:          #FFFFFF;        /* base white */
  --c-gold:        #F5C518;        /* emphasis on dark */
  --c-gold-deep:   #B89210;        /* gold hover */

  /* Role */
  --bg:            var(--c-bg);
  --bg-alt:        var(--c-bg-warm);
  --bg-dark:       var(--c-navy-deep);
  --text:          var(--c-ink);
  --text-soft:     var(--c-body);
  --text-mute:     var(--c-muted);
  --text-faint:    var(--c-faint);
  --line:          var(--c-line);

  /* Type */
  --font-en:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-zh:    'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono:  'Inter', monospace;

  /* Scale (responsive with clamp) */
  --fs-eyebrow:    13px;
  --fs-body:       clamp(15px, 1vw + 12px, 17px);
  --fs-lead:       clamp(18px, 1.2vw + 13px, 21px);
  --fs-h3:         clamp(19px, 1.2vw + 14px, 22px);
  --fs-h2:         clamp(32px, 3.2vw + 12px, 48px);
  --fs-hero:       clamp(40px, 5vw + 12px, 64px);

  /* Radii */
  --r-card:        18px;
  --r-tile:        14px;
  --r-input:       10px;
  --r-pill:        999px;

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;

  /* Page width */
  --w-page:  1440px;
  --w-narrow: 760px;

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);          /* expo out (easeOutQuint style) */
  --ease-mid:  cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast:    200ms;
  --t-base:    300ms;
  --t-slow:    600ms;

  /* Shadows */
  --shadow-card:  0 1px 2px rgba(10, 14, 39, 0.04), 0 8px 24px rgba(10, 14, 39, 0.06);
  --shadow-lift:  0 4px 8px rgba(10, 14, 39, 0.06), 0 20px 40px rgba(10, 14, 39, 0.12);
}

/* When document is in ZH locale, swap font */
html[data-locale='zh'] body {
  font-family: var(--font-zh);
  letter-spacing: 0;
  line-height: 1.6;
}
html[data-locale='en'] body {
  font-family: var(--font-en);
  letter-spacing: -0.196px;
  line-height: 1.47;
}

/* -------- Reset / base -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* v92p：弹窗打开时 body{overflow:hidden} 会让滚动条消失 → 内容瞬间变宽 15px → 整页右跳。
     scrollbar-gutter 永久预留滚动条槽位，开关弹窗页面不再横跳 */
  scrollbar-gutter: stable;
}
html, body {
  background: var(--bg);
  color: var(--text);
}
body {
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
input, textarea, select {
  font: inherit;
  color: inherit;
}
hr {
  border: 0;
  height: 1px;
  background: var(--line);
}
:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
  border-radius: 4px;
}

/* -------- Layout primitives -------- */
.container {
  width: 100%;
  max-width: var(--w-page);
  margin: 0 auto;
  padding-left: 80px;
  padding-right: 80px;
}
@media (max-width: 900px) {
  .container { padding-left: 24px; padding-right: 24px; }
}

/* ★ 调这里改全站模块上下间距 ★
   v83：原 96+96=192px 太散，收紧到 72+72=144px。
   另外「相邻且同底色」的两个 section 会叠加成一大片纯空白（白接白、暖接暖，
   比如 首页 FAQ→CTA、企业风采 平台→CTA），这种用下面的 :not() 规则吃掉一次内边距。 */
.section {
  padding-top: 72px;
  padding-bottom: 72px;
}
.section:not(.section--warm):not(.section--dark)
+ .section:not(.section--warm):not(.section--dark) {
  padding-top: 24px;          /* 同底色相邻 → 合计 96px */
}
@media (max-width: 900px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
  .section:not(.section--warm):not(.section--dark)
  + .section:not(.section--warm):not(.section--dark) {
    padding-top: 16px;        /* 同底色相邻 → 合计 64px */
  }
}

.section--warm  { background: var(--bg-alt); }
.section--dark  { background: var(--bg-dark); color: #FFFFFF; }
.section--center { text-align: center; }

/* -------- Typography helpers -------- */
.eyebrow {
  font-family: var(--font-en);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--c-navy);
}
.eyebrow--gold  { color: var(--c-gold); }
.eyebrow--navy  { color: var(--c-navy); }
.section--dark .section__title,
.section--dark .section__title-zh,
.section--dark .section__subtitle,
.section--dark .tabs__heading,
.section--dark .tabs__body { color: #FFFFFF; }
.section--dark .section__subtitle { color: var(--c-faint); }
.section--dark .eyebrow:not(.eyebrow--gold) { color: var(--c-faint); }

.section__head-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.section__head-center .section__title {
  /* 放宽 max-width + 缩字号 + 紧字距，让英文长标题少换行；
     中文走 text-wrap: balance 自动平衡行长 */
  max-width: 1400px;
  font-size: clamp(24px, 1.9vw + 13px, 34px);
  letter-spacing: -0.8px;
  text-wrap: balance;
}

.section__head {
  margin-bottom: var(--sp-7);
}
.section__head--split {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-8);
  align-items: end;
}
@media (max-width: 900px) {
  .section__head--split { grid-template-columns: 1fr; }
}
.section__head-left .section__title { margin-top: var(--sp-4); }
.section__head-left .eyebrow         { margin-top: 0; }
.section__head-right {
  font-size: 15px;
  color: var(--c-body);
  line-height: 1.55;
}
.section--dark .section__head-right { color: var(--c-faint); }
.section__head-right--zh {
  display: block;
  color: var(--c-faint);
  margin-top: var(--sp-3);
  font-size: 14px;
}

.section__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  letter-spacing: -0.374px;
  line-height: 1.12;
  color: var(--c-ink);
}
.section--center .section__title { letter-spacing: -0.374px; line-height: 1.12; }

/* ★ v83: 居中区块里的副标题必须居中 ★
   .section__subtitle 有 max-width: --w-narrow(760px)，块级元素默认左对齐，
   所以在 .section--center 里标题居中、副标题却贴左边（certifications / about / faq 的 CTA 都中招）。
   补 margin-inline:auto 让窄块自己居中。 */
.section--center .section__subtitle {
  margin-left: auto;
  margin-right: auto;
  /* ★ v84: 760px 太宽 → 英文长句第一行占满、第二行只剩一个孤字（如 "shared."）。
     改用 text-wrap:balance 让两行长度自动接近，视觉上真正居中。
     同 .section__head-center .section__title 的做法。 */
  text-wrap: balance;
}

.section__title-zh {
  font-size: clamp(20px, 1.4vw + 12px, 28px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--c-muted);
  margin-top: var(--sp-3);
}
.section__subtitle {
  font-size: var(--fs-lead);
  color: var(--c-body);
  line-height: 1.5;
  max-width: var(--w-narrow);
}
/* v95：首页分类板块副标题按语义断行（CSV 值内真换行），只作用于本板块
   —— 不能全局加 pre-line：process/privacy 等页的 subtitle 源码本身跨行会误伤 */
#custom .section__subtitle {
  white-space: pre-line;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--c-navy-deep);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.header__inner {
  /* v92：52→68px —— 容纳放大后的 64px PNG LOGO（52px 会把 LOGO 上下各裁 6px） */
  height: 68px;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
}
@media (max-width: 900px) {
  .header__inner { padding: 0 20px; height: 56px; }
}

/* =============================================================
   HEADER LOGO  ·  调整指南
   -------------------------------------------------------------
   想改 header 左上角 logo 的大小，改这一行：
     - 圆+蓝钻图标尺寸：找下方的 "header__logo" 块里的 font-size
       (icon 大小由容器 font-size 决定——这是父级控制的简写)
     - 也可直接改 index.html / process.html 里 svg 的 width="32" height="32"
     - 如果你用 PNG 替换了 SVG，PNG 实际尺寸由 .logo__mark.has-logo-img 控制
       (看本文 1155 行附近的 "Brand logo image swap" 块)
   想改 header "HZRD Crafts" 文字大小：改下一行 .header__logo 的 font-size
   ============================================================= */
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 18px;   /* 调这里 → header "HZRD Crafts" 文字大小 */
}
.logo__mark { display: inline-flex; }

/* v92d 防语言闪烁：中文访客在 i18n 换完字前先藏正文（内联守卫脚本给 <html> 加类，
   app.83.js 的 applyLocale 换完字移除；另有 1.2s 超时兜底）。
   用 visibility 而非 display —— 保留布局计算，换字后无二次回流。 */
html.i18n-wait body { visibility: hidden; }

/* 手机端兜底（v=77）:
   1) logo 文字不换行 —— 360px 屏「惠州润东」会折成两行把顶栏撑高一截
   2) footer 底部预留 sticky CTA 高度 —— 否则悬浮询价条会压住「隐私政策 · 使用条款」 */
@media (max-width: 900px) {
  .header__logo { white-space: nowrap; font-size: 16px; }
  /* v92：手机端顶栏 56px 放不下 64px LOGO → LOGO 缩到 48px（等比、不裁切） */
  .logo__mark.has-logo-img { width: 48px; height: 48px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

.nav {
  display: flex;
  gap: var(--sp-7);
}
@media (max-width: 900px) { .nav { display: none; } }
.nav__link {
  font-size: 12px;
  font-weight: 400;
  color: #FFFFFF;
  opacity: 0.85;
  transition: opacity var(--t-fast) var(--ease-out);
}
.nav__link:hover { opacity: 1; }

/* ============================================================
   NAV DROPDOWN（v84 新增）· 三个主标题各自下拉 + 一个直链
   ------------------------------------------------------------
   结构：
     .nav__item            （hover 容器，含主标题 + 下拉面板）
       .nav__link          （主标题，button 形态）
       .nav__menu          （下拉面板，absolute）
         .nav__menu-link   （下拉项）
     a.nav__link           （「更多展示」直链，无下拉）

   交互：hover 或 :focus-within 展开；键盘用 button + aria-expanded。
   移动端（≤900px）整个 .nav 隐藏，与旧行为一致。
   ============================================================ */
.nav__item {
  position: relative;
  display: flex;
  align-items: center;
}
/* 主标题：用 button 保持与 a.nav__link 同观感 */
button.nav__link {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
/* 下拉小箭头（纯 CSS 三角，随展开翻转） */
.nav__caret {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor;
  opacity: 0.7;
  transition: transform var(--t-fast) var(--ease-out);
  margin-top: 1px;
}
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 168px;
  padding: 6px;
  margin: 0;
  list-style: none;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 32px rgba(10, 14, 39, 0.22), 0 2px 6px rgba(10, 14, 39, 0.10);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              visibility var(--t-fast);
  z-index: 70;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* hover 空档桥接：顶部 6px 透明区，防止鼠标移入面板途中收起 */
.nav__menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.nav__menu-link {
  display: block;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 400;
  color: var(--c-body);
  white-space: nowrap;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.nav__menu-link:hover {
  background: var(--bg-alt);
  color: var(--c-navy);
}
/* 「更多展示」直链：无下拉，样式等同其它主标题 */
a.nav__link--plain { display: inline-flex; align-items: center; }

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

/* Language toggle pill */
.lang-toggle {
  display: inline-flex;
  background: var(--c-navy-line);
  border-radius: var(--r-pill);
  padding: 3px;
}
.lang-toggle__btn {
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 400;
  color: var(--c-faint);
  border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.lang-toggle__btn.is-active {
  background: #FFFFFF;
  color: var(--c-navy);
  font-weight: 600;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--r-pill);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  letter-spacing: -0.196px;
  padding: 14px 28px;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-navy);
  color: #FFFFFF;
}
.btn--primary:hover {
  background: #16307a;
}
.btn--primary:active {
  transform: scale(0.97);
}
.btn--outline {
  background: transparent;
  color: var(--c-navy);
  border: 1px solid var(--c-navy);
}
.btn--outline:hover {
  background: rgba(30, 58, 138, 0.06);
}
.btn--outline:active {
  transform: scale(0.97);
}
.btn--sm      { font-size: 12px; padding: 7px 16px; }
.btn--lg      { font-size: 18px; padding: 16px 36px; }
.btn--block   { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: #FFFFFF;
  padding: 72px 0;
}
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
}
.hero__eyebrow {
  font-size: var(--fs-eyebrow);
  color: var(--c-muted);
  letter-spacing: 0.04em;
  font-weight: 600;
}
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.374px;
  line-height: 1.07;
  color: var(--c-ink);
  margin-top: var(--sp-5);
  max-width: 1000px;
}
.hero__title-zh {
  font-size: clamp(20px, 1.4vw + 12px, 28px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-muted);
  margin-top: var(--sp-4);
  max-width: 720px;
}
.hero__subtitle {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--c-ink);
  margin-top: var(--sp-5);
  max-width: 720px;
}
.hero__subtitle-zh {
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-faint);
  margin-top: var(--sp-3);
  max-width: 720px;
}
.hero__ctas {
  margin-top: var(--sp-6);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: var(--sp-5);
  font-size: var(--fs-eyebrow);
  color: var(--c-muted);
}
.hero__visual {
  margin-top: var(--sp-7);
  border-radius: 18px;
  overflow: hidden;
  /* ★ 调这里改 首页 Hero 大图比例(宽:高) ★ */
  aspect-ratio: 1280/720;
  background: var(--bg-alt);
  border: 1px solid var(--c-line);
}

/* ============================================================
   CARDS (Custom Service)
   ============================================================ */
.cards {
  display: grid;
  gap: var(--sp-5);
}
.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cards--4 { grid-template-columns: 1fr; } }

.card {
  background: #FFFFFF;
  border-radius: var(--r-card);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  min-height: 320px;
  border: 1px solid var(--c-line);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.card__num {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-navy);
  letter-spacing: 0.04em;
}
.card__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-ink);
  letter-spacing: -0.196px;
}
.card__body {
  font-size: 15px;
  color: var(--c-body);
  line-height: 1.55;
}

/* ============================================================
   TABS (Craft & Material)
   ============================================================ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--c-navy-line);
  margin-bottom: var(--sp-7);
}
.tab {
  position: relative;
  padding: var(--sp-4) var(--sp-6);
  font-size: 16px;
  font-weight: 400;
  color: var(--c-faint);
  transition: color var(--t-base) var(--ease-out);
}
.tab.is-active {
  color: #FFFFFF;
  font-weight: 600;
}
.tab__underline {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-gold);
  pointer-events: none;
  transition: transform var(--t-base) var(--ease-out), width var(--t-base) var(--ease-out);
}

.tabs__panes { position: relative; }
.tab-pane {
  display: none;
  grid-template-columns: minmax(0, 600px) 1fr;
  gap: var(--sp-7);
  align-items: start;
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}
.tab-pane.is-active {
  display: grid;
  opacity: 1;
}
@media (max-width: 900px) {
  .tab-pane { grid-template-columns: 1fr; }
}

.tabs__media {
  border-radius: var(--r-tile);
  overflow: hidden;
  /* ★ 调这里改 Craft & Material tab 大图比例 ★ */
  aspect-ratio: 600/420;
  background: var(--bg-alt);
}
.tabs__details { display: flex; flex-direction: column; gap: var(--sp-4); }
.tabs__heading {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.15;
  color: inherit;
}
.tabs__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-faint);
}

.spec-table {
  border-top: 1px solid var(--c-navy-line);
  margin-top: var(--sp-4);
  display: flex;
  flex-direction: column;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--c-navy-line);
}
.spec-row dt {
  font-size: 13px;
  color: var(--c-faint);
}
.spec-row dd {
  font-size: 13px;
  color: #FFFFFF;
  font-weight: 600;
  text-align: right;
}

/* ============================================================
   FACTORY BENTO + STATS
   ============================================================ */
.bento {
  display: grid;
  grid-template-columns: 720px 1fr;
  gap: var(--sp-4);
  width: 100%;
  margin-bottom: 64px;
}
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr; }
}
.bento__main {
  border-radius: var(--r-tile);
  overflow: hidden;
  /* ★ 调这里改 首页 Bento 主图(工厂展示)比例 ★ */
  aspect-ratio: 720/420;
  background: var(--bg-alt);
}
.bento__col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--sp-4);
}
.bento__cell {
  border-radius: var(--r-tile);
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-7);
  width: 100%;
  padding-top: var(--sp-6);
}
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat__num {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.374px;
  color: var(--c-ink);
  line-height: 1;
}
.stat__label {
  font-size: 13px;
  color: var(--c-muted);
}

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-4);
}
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

.timeline__card {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: var(--r-tile);
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.timeline__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.timeline__day {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-navy);
  letter-spacing: 0.04em;
}
.timeline__title {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--c-ink);
}
.timeline__body {
  font-size: 13px;
  color: var(--c-body);
  line-height: 1.55;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  max-width: 880px;
}
.faq-item {
  border-top: 1px solid var(--c-line);
}
.faq-item:last-child {
  border-bottom: 1px solid var(--c-line);
}
.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  cursor: pointer;
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -0.196px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex: 0 0 24px;
}
.faq-item__icon::before, .faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--c-navy);
  transition: transform var(--t-base) var(--ease-out);
}
.faq-item__icon::before {
  inset: 11px 4px;
  height: 2px;
}
.faq-item__icon::after {
  inset: 4px 11px;
  width: 2px;
}
.faq-item[open] .faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item__body {
  padding: 0 0 var(--sp-5) 0;
  max-width: 740px;
  font-size: 15px;
  color: var(--c-body);
  line-height: 1.55;
}
.faq-item__body-zh {
  margin-top: var(--sp-2);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-faint);
}

/* ============================================================
   LEGAL DOCUMENT (privacy / terms / imprint)  2026-10-14 新增
   ─────────────────────────────────────────────────────────
   HTML 结构：
     .legal                 （窄栏正文，长文可读性优先）
       .legal__meta         （更新时间 / 语言切换提示）
       .legal__toc          （目录，锚点跳转）
       .legal__section × N  （h2 + 段落 / 列表 / 表格）
     .legal-lang            （中英对照：两块并排/上下）
   ============================================================ */
.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  align-items: center;
  margin: 0 0 var(--sp-6);
  padding: 14px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-tile);
  background: var(--c-bg-warm);
  font-size: 14px;
  color: var(--text-mute);
}
.legal__meta b { color: var(--c-navy); font-weight: 600; }

/* 目录 */
.legal__toc {
  margin: 0 0 var(--sp-7);
  padding: var(--sp-5) var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--r-tile);
}
.legal__toc-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-faint);
  margin-bottom: var(--sp-3);
}
.legal__toc ol {
  margin: 0;
  padding-left: 1.3em;
  columns: 2;
  column-gap: var(--sp-7);
}
.legal__toc li { margin-bottom: 6px; font-size: 15px; }
.legal__toc a { color: var(--c-body); }
.legal__toc a:hover { color: var(--c-navy); text-decoration: underline; }

/* 正文分节 */
.legal__section {
  margin-bottom: var(--sp-7);
  scroll-margin-top: 96px;
}
.legal__section h2 {
  font-size: clamp(19px, 1vw + 14px, 23px);
  font-weight: 600;
  color: var(--c-ink);
  margin: 0 0 var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--c-line);
}
.legal__section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  margin: var(--sp-5) 0 var(--sp-2);
}
.legal__section p,
.legal__section li {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--c-body);
}
.legal__section p { margin: 0 0 var(--sp-4); }
.legal__section ul,
.legal__section ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.4em;
}
.legal__section li { margin-bottom: 8px; }
.legal__section a { color: var(--c-navy); text-decoration: underline; text-underline-offset: 2px; }
.legal__section strong { color: var(--c-ink); font-weight: 600; }

/* 中英对照：默认（英文站）英上中下 */
.legal__zh {
  margin-top: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--c-line);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-mute);
}
.legal__zh strong { color: var(--c-body); }
.legal__section h2 .legal__lang-tag {
  display: inline-block;
  margin-left: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  vertical-align: middle;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--c-faint);
}

@media (max-width: 720px) {
  .legal__toc ol { columns: 1; }
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.final-cta .section__title {
  letter-spacing: -0.374px;
  /* v85: 三行文案整体居中（标题可能折两行） */
  text-align: center;
  text-wrap: balance;
}
.final-cta__sub {
  font-size: var(--fs-lead);
  color: var(--c-body);
  line-height: 1.5;
  max-width: 640px;
  text-align: center;
  /* ★ v84: 英文长句在 640px 里会「第一行占满 + 第二行只剩一个孤字」（如 "shared."）。
     text-wrap:balance 让折行长度自动均衡，视觉上真正居中。 */
  text-wrap: balance;
}
.final-cta__sub-zh {
  font-size: 14px;
  color: var(--c-faint);
  line-height: 1.7;
  max-width: 640px;
  text-align: center;
}
.final-cta .btn { margin-top: var(--sp-4); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  padding: 72px 0 32px;
}
.footer__top {
  display: grid;
  /* ★ 品牌列 + 3 个链接列（Pages / Service / Studio）。
     加第 4 个链接列时要同步改这里，否则 grid 会把多出来的列挤成 0 宽 */
  grid-template-columns: minmax(0, 340px) repeat(3, minmax(0, 1fr));
  gap: var(--sp-7);
}
@media (max-width: 1100px) {
  .footer__top { grid-template-columns: minmax(0, 260px) repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
}
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.footer__brand { display: flex; flex-direction: column; gap: var(--sp-4); }
/* =============================================================
   FOOTER LOGO  ·  调整指南
   -------------------------------------------------------------
   想改 footer LOGO 文字大小：改 .footer__logo 的 font-size (当前 22px)
   想改 footer 圆+蓝钻图标大小：直接改 index.html / process.html 里 svg 的
     width / height 属性 (当前 28×28)
   想改 footer PNG 图标大小：改下面 1155 行的 .footer__logo-mark.has-logo-img
     的 width / height
   ============================================================= */
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;   /* 调这里 → footer "HZRD Crafts" 文字大小 */
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: 0.5px;
}
.footer__gold-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-gold);
  display: inline-block;
}
.footer__tagline {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.55;
  max-width: 320px;
}
.footer__contact {
  font-size: 13px;
  color: var(--c-ink);
  line-height: 1.7;
  font-weight: 500;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.footer__col a {
  font-size: 13px;
  color: var(--c-body);
  line-height: 2.2;
  transition: color var(--t-fast) var(--ease-out);
}
.footer__col a:hover { color: var(--c-navy); }

.footer__divider { margin: var(--sp-7) 0 var(--sp-5); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer__copy, .footer__legal {
  font-size: 12px;
  color: var(--c-muted);
}
.footer__legal a:hover { color: var(--c-navy); }

/* ============================================================
   STICKY CTA BAR
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  opacity: 0;
  pointer-events: none;
  transition: transform 280ms var(--ease-out), opacity 280ms var(--ease-out);
  z-index: 50;
}
.sticky-cta.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.sticky-cta__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  padding: 10px 12px 10px 22px;
  background: #FFFFFF;
  border-radius: var(--r-pill);
  box-shadow: 0 8px 28px rgba(10, 14, 39, 0.16);
  border: 1px solid var(--c-line);
}
.sticky-cta__text {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
}

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
}
.modal.is-open {
  display: flex;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 39, 0.66);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease-out);
}
.modal.is-open .modal__overlay { opacity: 1; }

.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  background: #FFFFFF;
  border-radius: 18px;
  padding: var(--sp-6) 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
  max-height: 92vh;
  overflow: auto;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out);
}
.modal.is-open .modal__dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-4);
}
.modal__close {
  font-size: 22px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted);
  transition: background var(--t-fast) var(--ease-out);
}
.modal__close:hover { background: var(--bg-alt); }
.modal__title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.374px;
  color: var(--c-ink);
  margin-bottom: var(--sp-3);
}
.modal__sub {
  font-size: 14px;
  color: var(--c-body);
  line-height: 1.55;
  margin-bottom: var(--sp-5);
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-muted);
}
.field__input {
  height: 44px;
  border-radius: var(--r-input);
  border: 1px solid var(--c-line);
  background: var(--bg-alt);
  padding: 0 var(--sp-4);
  font-size: 14px;
  transition: border var(--t-fast) var(--ease-out), background var(--t-fast) var(--ease-out);
}
.field__input:focus {
  border-color: var(--c-navy);
  background: #FFFFFF;
  outline: 0;
}
.field__input--area {
  height: 84px;
  padding: var(--sp-3) var(--sp-4);
  resize: vertical;
}
.modal__footnote {
  margin-top: var(--sp-3);
  font-size: 11px;
  color: var(--c-faint);
  text-align: center;
  line-height: 1.5;
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 24px);
  background: var(--c-ink);
  color: #FFFFFF;
  font-size: 13px;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base) var(--ease-out);
  z-index: 200;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ============================================================
   SCROLL-REVEAL ANIMATION
   ============================================================ */
[data-reveal] > [data-reveal-child],
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out);
  transition-delay: 0ms;
}
[data-reveal].is-revealed,
[data-reveal] > [data-reveal-child].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion: skip animations */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal] > [data-reveal-child] {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   LOCK SCROLL WHEN MODAL OPEN
   ============================================================ */
body.modal-open {
  overflow: hidden;
}

/* ============================================================
   I18N: show/hide Chinese secondaries
   ============================================================ */
.hero__title-zh,
.hero__subtitle-zh,
.section__title-zh,
.section__head-right--zh,
.faq-item__body-zh,
.final-cta__sub-zh,
footer .footer__brand .footer__contact-zh {
  display: block;
}
html[data-locale='zh'] .hero__title,
html[data-locale='zh'] .hero__subtitle,
html[data-locale='zh'] [data-i18n-target='en'],
html[data-locale='zh'] [data-i18n='hero_title'],
html[data-locale='zh'] [data-i18n='hero_subtitle'],
html[data-locale='zh'] [data-i18n='cs_title'],
html[data-locale='zh'] [data-i18n='cm_title'],
html[data-locale='zh'] [data-i18n='proc_title'],
html[data-locale='zh'] [data-i18n='faq_title'],
html[data-locale='zh'] [data-i18n='fc_title'],
html[data-locale='zh'] [data-i18n='fc_subtitle'],
html[data-locale='zh'] [data-i18n='hero_trust'],
html[data-locale='zh'] [data-i18n='cs_card1_body'],
html[data-locale='zh'] [data-i18n='cs_card2_body'],
html[data-locale='zh'] [data-i18n='cs_card3_body'],
html[data-locale='zh'] [data-i18n='cs_card4_body'],
html[data-locale='zh'] [data-i18n='step1_body'],
html[data-locale='zh'] [data-i18n='step2_body'],
html[data-locale='zh'] [data-i18n='step3_body'],
html[data-locale='zh'] [data-i18n='step4_body'],
html[data-locale='zh'] [data-i18n='faq1_a'],
html[data-locale='zh'] [data-i18n='faq2_a'],
html[data-locale='zh'] [data-i18n='faq3_a'],
html[data-locale='zh'] [data-i18n='faq4_a'],
html[data-locale='zh'] [data-i18n='faq5_a'] {
  /* In ZH locale the English primary heading is hidden,
     since the ZH translation is rendered as the lead element. */
}

/* The above is intentionally simple: the JS swaps data-i18n values.
   See app.js. */

/* ============================================================
   CAROUSEL COMPONENT
   Used by every image block on process.html (and any future page).
   One .carousel node holds multiple .carousel__slide children.
   Auto-rotates; pauses on hover; arrows + dots drive manual nav.
   ============================================================ */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-tile);
  background: var(--bg-alt);
  /* ★ 调这里改 产品轮播图(PVC/ABS/Plush/Resin)比例 ★ */
  aspect-ratio: 16 / 9;
  isolation: isolate;
}
.carousel__track {
  position: absolute;
  inset: 0;
}
.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  /* v62: 加位移 + 缩放 + 缓动，替代生硬的纯 opacity 淡入淡出。
     未激活的 slide 略微右移 + 缩小 + 淡出；激活时滑回原位 + 放大到 1。
     用 easeOutQuint 高帧率顺滑，无生硬跳变 */
  transform: translateX(3%) scale(0.97);
  filter: blur(2px);
  transition:
    opacity .6s cubic-bezier(0.22, 1, 0.36, 1),
    transform .7s cubic-bezier(0.22, 1, 0.36, 1),
    filter .6s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear .6s;
  /* Center the visual element (SVG / img) inside the slide both
     horizontally and vertically so the image sits in the middle,
     not pinned to the top-left corner. */
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity, filter;
}
.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  filter: blur(0);
  transition:
    opacity .6s cubic-bezier(0.22, 1, 0.36, 1),
    transform .7s cubic-bezier(0.22, 1, 0.36, 1),
    filter .6s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}
.carousel__slide svg,
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* When a slide is a real photo (loaded from /img/...),
   make the <img> sit on the slide layer so the translucent
   arrows + dots (z-index 2+) remain visible on top. */
.carousel__slide.has-photo {
  background: #000;
}
.carousel__slide.has-photo img {
  z-index: 1;
}

/* Brand logo image swap (header / footer).
   Keeps the same dimensions as the inline SVG it replaces.

   =============================================================
   调 PNG LOGO 大小 (header / footer 真实像素)
   -------------------------------------------------------------
   改了下面这两行后，刷新页面就生效。
   - header PNG 大小：.logo__mark.has-logo-img       (v92: 60.8px = 64 缩 5%)
   - footer PNG 大小：.footer__logo-mark.has-logo-img (56px)
   改完去浏览器 Ctrl+Shift+R 看效果。
   ============================================================= */
.logo__mark.has-logo-img,
.footer__logo-mark.has-logo-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.logo__mark.has-logo-img img,
.footer__logo-mark.has-logo-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* v92：header PNG 64px 缩小 5% = 60.8px（用户要求）；footer 维持 56px */
.logo__mark.has-logo-img { width: 60.8px; height: 60.8px; }
.footer__logo-mark.has-logo-img { width: 56px; height: 56px; }
/* v92n：企业 LOGO 只用真实 PNG，全站已移除手绘 SVG 兜底（用户要求：不需要兜底）。
   不要在 LOGO 容器里再塞任何 SVG / 占位图。 */

/* Craft & Material tab pane image swap. The .tabs__media container
   already has a fixed aspect-ratio (see media query below), so the
   <img> simply fills the container. */
.tabs__media.has-pane-img {
  position: relative;
  background: var(--bg-alt);
}
.tabs__media.has-pane-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Indicator dots */
.carousel__indicators {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  transition: background var(--t-fast) var(--ease-out), width var(--t-fast) var(--ease-out);
}
.carousel__dot:hover  { background: rgba(255, 255, 255, 0.85); }
.carousel__dot.is-active {
  background: #FFFFFF;
  width: 22px;
  border-radius: 999px;
}

/* Slide caption — sits bottom-left */
.carousel__caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(10, 14, 39, 0.55);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
  max-width: calc(100% - 80px);
}

/* Pause autoplay badge (only on hover) */
.carousel:hover .carousel__indicators { /* keep visible */ }

/* Slightly smaller variant for production-line cards.
   viewBox of the SVG illustrations inside is 600×400 (1.5:1),
   so the container aspect-ratio must match to avoid cropping. */
  /* ★ 调这里改 紧凑轮播(Line 07 等)比例 - 配 600×400 viewBox SVG ★ */
.carousel--compact { aspect-ratio: 3 / 2; }

/* ============================================================
   PROCESS PAGE — HERO
   ============================================================ */
.process-hero {
  background: linear-gradient(180deg, var(--c-navy-deep) 0%, var(--c-navy) 100%);
  color: #FFFFFF;
  padding: 72px 0;
}
.process-hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--c-gold);
  font-weight: 600;
}
.process-hero__title {
  /* Always stays on a single line by:
     1) white-space: nowrap  — browser is forbidden from breaking the text
     2) max-width: none      — the parent no longer caps the title to 1000px
                                (which was forcing the wrap to a second line)
     3) font-size: clamp(...) — shrinks smoothly between 28px (phones) and
                                56px (wide desktops) so the line fits every viewport
     `clamp()` = clamp(MIN, PREFERRED, MAX)
       - below 360px viewport  → 28px (smallest readable)
       - 1200px viewport        → ~56px (clamped to MAX)
       - in between             → scales linearly with viewport width */
  font-size: clamp(28px, 3.6vw + 14px, 56px);
  font-weight: 600;
  letter-spacing: -0.374px;
  line-height: 1.1;
  margin-top: var(--sp-4);
  max-width: none;
  /* ★ 调这里改 process-hero 标题换行方式 ★
     中文 (html[data-locale="zh"]): nowrap  → 单行
     英文 (html[data-locale="en"]): pre-line → 可换行(英文长 53 字符装不下 nowrap)
     （基础默认 pre-line, ZH 下面再覆盖成 nowrap） */
  white-space: pre-line;
}
/* ★ v93j → v93k：英文标题排版再调 ★
   用户要求：第一行要放下 "From Brief to Mass Production — Every Process Step Controlled,"（62 字符），
   第二行收 "Every Quality Gate Checked."，整体字号比三行版本小一点。
   做法：字号上限 68 → 34px，容器放满（max-width:100%），关掉 balance（换行已由文案 \n 决定）。
   34px 是按「62 字符 × 0.5em ≈ 31em × 34px ≈ 1054px < 容器 1104px」算的，能一行放下。 */
html[data-locale="en"] .process-hero__title[data-i18n="processhero"],
html[lang="en"] .process-hero__title[data-i18n="processhero"] {
  font-size: clamp(26px, 2.8vw + 11px, 42px);
  max-width: none;
  text-wrap: normal;
  letter-spacing: -0.3px;
  line-height: 1.22;
}
/* ZH: 在 photo 模式(index.html 大图 hero)才强制中文 hero_title 单行
   其他页面(如 process.html)的 hero 默认走 pre-line, 26 字可以 wrap.
   ★ 字号公式: 17 中文字符 × 40px = 680px < 可用宽 1104 (1200 容器 - 2×48 内边距), 安全.
   之前用 56px max 导致 "产品更..." 截断, 已降到 40px. */
html[data-locale="zh"] .process-hero--photo .process-hero__title[data-i18n="hero_title"],
html[lang="zh"] .process-hero--photo .process-hero__title[data-i18n="hero_title"] {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;                      /* ★ clip 不省略号, 防半截字 */
  max-width: 100%;
  font-size: clamp(22px, 2.4vw + 10px, 40px);    /* ★ max 56→40 */
  letter-spacing: -0.2px;
}
/* EN: 不强制 nowrap, 英文 hero_title 53 字符 @ 56px ≈ 1632px > 1104 容器, 必须 wrap 到 2 行 */
html[data-locale="en"] .process-hero--photo .process-hero__title[data-i18n="hero_title"],
html[lang="en"] .process-hero--photo .process-hero__title[data-i18n="hero_title"] {
  white-space: pre-line;
  overflow: visible;
  max-width: 900px;                         /* ★ 锁宽让英文 wrap 优雅 */
}
.process-hero__subtitle {
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin-top: var(--sp-5);
  /* v93j：760 → 820px。英文副文案句长，760px 下挤成 4 行且右侧留白明显 */
  max-width: 820px;
  /* ★ 调这里改 process_hero_sub 文案换行方式 ★
     pre-line = CSV 字段里直接按 Enter 的真换行能渲染成 <br>
     （normal = 换行被吞掉，多行挤成一行） */
  white-space: pre-line;
}
.process-hero__meta {
  margin-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-7);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
}

/* ============================================================
   PROCESS-HERO · 满屏主图 (process-hero--photo)
   v=77（用户定稿：图片彻底铺满占位，上下不允许露任何底色）
     - 占位比例锁定 = 图片原始比例 1920:599 → 1920 屏 1:1 像素，cover 恰好不放大不裁切
     - bg/overlay 改 absolute inset:0 + cover：无论内容撑多高，图片永远盖满整个占位
     - ★ section 无上下 padding（v=75 的 navy 呼吸位就是"上下透背景"的元凶，已删）
     - 内容更高时（窄桌面/大字号）section 自动长高，cover 裁两侧，绝露不出底色
   ============================================================ */
.process-hero--photo {
  position: relative;
  background: var(--c-navy-deep);
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 1920 / 599;          /* ★ 铺满规则: 占位比例=图片比例; 换图就改成新图的宽:高 */
  min-height: 540px;                 /* 内容最小高度兜底（触发放大时由 cover 裁两侧补齐） */
}
/* 主图层: 绝对定位铺满占位, cover 裁切（v=77: 不再是文档流内 fixed-ratio 块） */
.process-hero--photo .process-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero/hero-main.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* overlay 暗化遮罩: 同样铺满 */
.process-hero--photo .process-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(10, 14, 39, 0.30) 0%,
      rgba(10, 14, 39, 0.55) 45%,
      rgba(10, 14, 39, 0.88) 100%);
}
/* 文字层 - 通栏, 垂直居中; 上下 padding 撑起占位最小高度 */
.process-hero--photo .process-hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 540px;
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
}
/* hero_title: 单行 + 字号 */
.process-hero--photo .process-hero__title {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  max-width: 1180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
/* ZH 单行字号: 17 字 × 56px ≈ 952 < 可用宽 ~1132, 安全 */
html[data-locale="zh"] .process-hero--photo .process-hero__title[data-i18n="hero_title"],
html[lang="zh"] .process-hero--photo .process-hero__title[data-i18n="hero_title"] {
  font-size: clamp(28px, 3.4vw + 12px, 56px);
  letter-spacing: -0.2px;
}
/* EN wrap */
html[data-locale="en"] .process-hero--photo .process-hero__title[data-i18n="hero_title"],
html[lang="en"] .process-hero--photo .process-hero__title[data-i18n="hero_title"] {
  white-space: pre-line;
  overflow: visible;
  max-width: 900px;
}
.process-hero--photo .process-hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
/* navy 按钮切金底深字 */
.process-hero--photo .btn--primary {
  background: var(--c-gold);
  color: var(--c-navy-deep);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.process-hero--photo .btn--primary:hover {
  background: #FFD344;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}
/* ============================================================
   PROCESS-HERO · PEEK 切换按钮 (v52 新增)
   ★ 右下角悬浮 👁 按钮 ★ 点击 → 文字缓慢淡出 0.6s
   - 默认: 显示"查看图片" + 眼睛 icon
   - 切换后: 显示"显示文字" + 关闭 icon (CSS rotate 实现, 不需额外 icon)
   ============================================================ */
.process-hero__peek {
  position: absolute;
  right: var(--sp-6);
  bottom: var(--sp-6);
  z-index: 4;                          /* 在 inner(z=3)之上, 不被文字挡 */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 14, 39, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  /* 初始渐入 */
  animation: peekFadeIn 0.6s 0.4s ease both;
}
.process-hero__peek:hover {
  background: rgba(10, 14, 39, 0.72);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}
.process-hero__peek:active {
  transform: translateY(0);
}
.process-hero__peek:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}
.process-hero__peek-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}
.process-hero__peek[aria-pressed="true"] .process-hero__peek-icon {
  transform: rotate(180deg);
}
/* 文字层的"缓慢"过渡 */
.process-hero--photo .process-hero__inner {
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
/* ★ is-text-hidden 状态: 文字淡出 + 微微下滑 ★ */
.process-hero--photo.is-text-hidden .process-hero__inner {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;                /* 文字隐藏后不接收点击 */
}
/* peek 按钮本身状态切换时的微动 */
.process-hero--photo.is-text-hidden .process-hero__peek {
  background: var(--c-gold);
  color: var(--c-navy-deep);
  border-color: var(--c-gold);
}
@keyframes peekFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* 移动端: 按钮稍小, 防止挡住更多区域 */
@media (max-width: 900px) {
  .process-hero__peek {
    right: var(--sp-4);
    bottom: var(--sp-4);
    padding: 8px 12px 8px 10px;
    font-size: 12px;
    gap: 6px;
  }
}
/* 减少动效偏好: 关掉 transform 过渡 */
@media (prefers-reduced-motion: reduce) {
  .process-hero--photo .process-hero__inner { transition: opacity 0.3s ease; transform: none; }
  .process-hero--photo.is-text-hidden .process-hero__inner { transform: none; }
  .process-hero__peek, .process-hero__peek-icon { transition: none; animation: none; }
}
/* 移动端: cover 铺满 + 高度 62vh, 无任何露底 padding */
@media (max-width: 900px) {
  .process-hero--photo {
    aspect-ratio: auto;
    min-height: 0;                   /* 高度完全由 inner 的 62vh 决定 */
    padding: 0;
  }
  .process-hero--photo .process-hero__bg {
    background-position: center 65%;
  }
  .process-hero--photo .process-hero__inner {
    min-height: 62vh;
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-6);
  }
  /* 手机上 17 个中文字 @24px = 408px > 屏宽, nowrap 只能截断 → 允许换行 */
  html[data-locale="zh"] .process-hero--photo .process-hero__title[data-i18n="hero_title"],
  html[lang="zh"] .process-hero--photo .process-hero__title[data-i18n="hero_title"] {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    line-height: 1.25;
    font-size: clamp(24px, 6.4vw, 34px);
  }
}
/* 减少动效: 关闭缩放 */
@media (prefers-reduced-motion: reduce) {
  .process-hero__bg { transform: none; }
}

/* ============================================================
   PROCESS PAGE — STEP FLOW (5 STEPS)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
}
@media (max-width: 1100px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: var(--sp-7) var(--sp-5);
  border-right: 1px solid var(--c-line);
  background: #FFFFFF;
  /* v93q：改 flex 列 + 图片 margin-top:auto —— 五步文字长短不一，
     原来图片紧跟文字导致参差不齐；现在图片统一贴到卡片底部，五张图下沿齐平 */
  display: flex;
  flex-direction: column;
}
.step:last-child { border-right: 0; }
@media (max-width: 1100px) {
  .step { border-right: 0; border-bottom: 1px solid var(--c-line); }
  .step:last-child { border-bottom: 0; }
}

.step__num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-navy);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.08);
}
.step__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.196px;
  color: var(--c-ink);
  margin-top: var(--sp-4);
}
.step__body {
  font-size: 14px;
  color: var(--c-body);
  line-height: 1.6;
  margin-top: var(--sp-3);
}
.step__art {
  /* v93q：auto 把图片推到底部 → 五张图下沿在同一条水平线上；
     padding-top 保留与上方文字的呼吸间距 */
  margin-top: auto;
  padding-top: var(--sp-5);
  border-radius: var(--r-tile);
  overflow: hidden;
}
.step__art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
  background: var(--bg-alt);
  /* ★ 调这里改 Factory Process 步骤图比例 ★ */
  aspect-ratio: 4/3;
}
.step__art svg { width: 100%; height: 100%; display: block; }

/* ============================================================
   PROCESS PAGE — PRODUCTION LINE (CAROUSEL CARDS)
   ============================================================ */
.lineup {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-7);
}
@media (max-width: 900px) { .lineup { grid-template-columns: 1fr; } }

.line {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.line__media { padding: var(--sp-4) var(--sp-4) 0; }
.line__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}
.line__index {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-navy);
}
.line__title {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.196px;
  color: var(--c-ink);
}
.line__body-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-body);
}
.line__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--c-gold-deep);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 197, 24, 0.18);
  margin-top: var(--sp-2);
}
.line__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-gold);
}

/* ============================================================
   PROCESS PAGE — CERTIFICATIONS
   ============================================================ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 900px) { .cert-grid { grid-template-columns: 1fr; } }

.cert-card {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: var(--sp-7) var(--sp-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-4);
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.cert-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.cert-card__seal {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--c-navy);
  background: radial-gradient(circle at 30% 30%, #FFFFFF 0%, #F5F5F7 100%);
  border: 2px solid var(--c-navy);
  letter-spacing: 0.02em;
}
.cert-card--disney  .cert-card__seal { border-color: #1d1d1f; color: #1d1d1f; }
.cert-card--gold    .cert-card__seal { border-color: var(--c-gold); color: var(--c-gold-deep); }
.cert-card--env     .cert-card__seal { border-color: #0072B5; color: #0072B5; font-size: 22px; letter-spacing: 0.06em; }
.cert-card__title { font-size: 18px; font-weight: 600; color: var(--c-ink); }
.cert-card__sub   { font-size: 13px; color: var(--c-muted); line-height: 1.5; }

/* ============================================================
   PROCESS PAGE — SECURITY (Camera + Warehouse)
   ============================================================ */
.security {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-7);
}
@media (max-width: 900px) { .security { grid-template-columns: 1fr; } }

.security-card {
  background: var(--c-navy-deep);
  color: #FFFFFF;
  border-radius: var(--r-card);
  padding: var(--sp-7);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
}
.security-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(245, 197, 24, 0.20), transparent 70%);
  pointer-events: none;
}
.security-card__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-gold);
}
.security-card__title {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.196px;
  line-height: 1.2;
}
.security-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}
.security-card__list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.security-card__list li::before {
  content: '✓';
  color: var(--c-gold);
  font-weight: 700;
}

/* ============================================================
   PROCESS PAGE — DARK SECTION NAVY HEADER STRIP
   ============================================================ */
.section--navy {
  background: var(--c-navy-deep);
  color: #FFFFFF;
}
.section--navy .section__title { color: #FFFFFF; }
.section--navy .section__subtitle { color: rgba(255, 255, 255, 0.75); }

/* ============================================================
   CRAFT OVERVIEW CHIPS (工艺与材质首页下方一览)
   ============================================================ */

/* ============================================================
   CRAFT BOARD — 工艺板块（v86：bento 网格，11 种工艺一屏看完）
   布局：4 列 × 200px 行高
     第 1 张（光油）2×2 主卡 → 第 10/11 张各跨 2 列 → 其余单格
   设计意图：不用点 11 次，一屏建立整体印象；工艺名/说明/材质都是正文文字（利于 SEO）
   ============================================================ */
.craft-board {
  margin-top: 64px;
  padding: var(--sp-7);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--r-card);
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
}

.craft-board__head {
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.craft-board__title {
  font-size: clamp(26px, 2vw + 12px, 34px);
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 8px;
}
/* v89：板块头部只保留这一句说明 */
.craft-board__desc {
  font-size: 15px;
  line-height: 1.6;
  max-width: 820px;
  color: rgba(255, 255, 255, 0.74);
}

/* ---- bento 网格 ---- */
.craft-bento {
  display: grid;
  /* ★ 12 列错落布局（行粒度 112px，可用跨行精确控高）：
       --hero  6 列 × 4 行 → 电镀（海报卡）
       --small 3 列 × 2 行 → 幻彩 / 手绘 / 透色 / 金属漆
       --mid   4 列 × 2 行 → 光油 / 哑光 / 手感漆
       --wide  6 列 × 3 行 → 植绒 / 珠光
     实测：hero 564×496 · small 278×240 · mid 370×240 · wide 564×368，9 行正好铺满
     ★ 改这里调行粒度 ★ */
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 112px;
  gap: 16px;
}

.craft-tile {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  /* v91：去掉 isolation —— 与 backdrop-filter 叠加会触发 Chromium 合成层
     "border-radius + overflow:hidden 圆角裁切失效"，四角露直角 */
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  /* ★★ v93n 重做：光晕不再依赖「外发光」，改为「内金边 + 内发光 + 外扩散」三层 ★★
     原因：工艺板块有 9 张是深蓝占位图，与页面深蓝背景几乎同色，
     单靠向外的金色 box-shadow 叠在深色上边界模糊，看起来像"没亮"；
     电镀那张是浅色真实照片，所以只有它显眼 —— 这就是"只有第一张生效"的真相。
     三层阴影的「初值」必须是同数量的全透明值，浏览器才能逐帧插值（从 none 过渡会有延迟感）。 */
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0),
              inset 0 0 0 2px rgba(245, 197, 24, 0),
              inset 0 0 0 0 rgba(245, 197, 24, 0);
  transition: border-color 250ms ease-out,
              box-shadow 250ms cubic-bezier(0.2, 0.8, 0.25, 1);
}
/* ★★★ v93o 真因修复 ★★★
   app.83.js 给每个 [data-reveal-child] 设了内联 `transitionDelay = idx × 80ms`，
   这个延迟原本只给入场错开用，但设完一直留着；而 transition-delay 对**所有**过渡属性生效，
   于是 hover 光晕也被拖着：第 1 张 0ms（秒亮）、第 2 张 80ms、越往后越慢（第 7 张 480ms），
   移开鼠标同样延迟 —— 这就是"越靠后的卡越迟钝"的真正原因。
   修法：用 !important 压过内联值（CSS 规范：外部 !important > 内联普通声明），
   只对工艺卡清零，同时保留其它板块的入场错开效果。 */
.craft-bento .craft-tile {
  transition: border-color 250ms ease-out 0s,
              box-shadow 250ms cubic-bezier(0.2, 0.8, 0.25, 1) 0s;
  transition-delay: 0s !important;
}
.craft-bento .craft-tile__img {
  transition: filter 250ms ease-out 0s;
  transition-delay: 0s !important;
}

.craft-tile--hero  { grid-column: span 6; grid-row: span 4; }
.craft-tile--wide  { grid-column: span 6; grid-row: span 3; }
.craft-tile--mid   { grid-column: span 4; grid-row: span 2; }
.craft-tile--small { grid-column: span 3; grid-row: span 2; }

/* ★ 选中（悬停/聚焦）只做「金色边框 + 外光晕」，卡片本身不动 */
.craft-tile:hover,
.craft-tile:focus-visible {
  /* v93l：提升层叠层级，否则网格里后绘制的卡片会盖住外发光 */
  z-index: 3;
  border-color: rgba(245, 197, 24, 0.92);
  /* ① 外扩散（卡片外部空气感）② 内金边 2px（深色占位图上最抢眼的一层）
     ③ 内发光 26px（让图片"从里往外亮"） */
  box-shadow: 0 0 0 1px rgba(245, 197, 24, 0.55),
              0 0 36px rgba(245, 197, 24, 0.40),
              inset 0 0 0 2px rgba(245, 197, 24, 0.95),
              inset 0 0 26px rgba(245, 197, 24, 0.30);
}
/* hover 时图片轻微提亮 —— 深蓝占位图也能明显"点亮"，不靠位移/缩放（v91 铁律） */
.craft-tile:hover .craft-tile__img,
.craft-tile:focus-visible .craft-tile__img {
  filter: brightness(1.10);
}

.craft-tile__img {
  position: absolute;
  inset: 0;
  transition: filter 250ms ease-out;
  width: 100%;
  height: 100%;
  /* ★ 工艺特写图裁切焦点（0% 顶 / 100% 底）★ */
  object-fit: cover;
  object-position: center 42%;
  /* ★ 圆角：clip-path 直接裁图片本身（比父级 overflow 更可靠，
     父级圆角在子元素成为合成层时会失效、四角露直角）；border-radius 双保险。
     半径 19 = 卡片外圆角 20 - 1px 边框，正好贴合内缘 */
  clip-path: inset(0 round 19px);
  border-radius: 19px;
}

/* ---- 文字层：半透明渐变，压住图片下部分 ----
   ★ v91：去掉 backdrop-filter（磨砂模糊）——它会让父级圆角裁切失效、
     卡片底部两角露出直角（Chromium 合成层 bug，about 板块无此属性所以正常）。
     改用纯渐变半透明 + 自身圆角兜底。想更透／更实改这里的 0.30 / 0.72 */
.craft-tile__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 13px 15px 12px;
  background: linear-gradient(180deg,
    rgba(8, 12, 28, 0.30) 0%,
    rgba(8, 12, 28, 0.72) 100%);
  border-radius: 0 0 19px 19px;
}
.craft-tile__body::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 40px;
  transform: translateY(-100%);
  pointer-events: none;
  background: linear-gradient(180deg,
    rgba(8, 12, 28, 0) 0%,
    rgba(8, 12, 28, 0.14) 55%,
    rgba(8, 12, 28, 0.30) 100%);
}

/* ---- 文字：一个大标题 + 两行简介 ---- */
.craft-tile__name {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.26;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}
.craft-tile__desc {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 各尺寸档的字号与留白（越大的卡，字越大、留白越多） */
.craft-tile--mid .craft-tile__body    { padding: 15px 17px 14px; }
.craft-tile--mid .craft-tile__name    { font-size: 19px; }
.craft-tile--mid .craft-tile__desc    { font-size: 13px; margin-top: 6px; }

.craft-tile--wide .craft-tile__body   { padding: 17px 20px 16px; }
.craft-tile--wide .craft-tile__body::before { height: 48px; }
.craft-tile--wide .craft-tile__name   { font-size: 21px; }
.craft-tile--wide .craft-tile__desc   { font-size: 13.5px; margin-top: 7px; }

.craft-tile--hero .craft-tile__body   { padding: 30px 30px 26px; }
.craft-tile--hero .craft-tile__body::before { height: 72px; }
.craft-tile--hero .craft-tile__name   { font-size: 34px; }
.craft-tile--hero .craft-tile__desc   { font-size: 15.5px; margin-top: 11px; max-width: 40ch; }

/* ---- 收尾说明条（v92p：「咨询取样」按钮已按用户要求移除，只留说明文字） ---- */
.craft-note {
  margin-top: 16px;
  padding: 20px 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(90deg,
    rgba(245, 197, 24, 0.09) 0%,
    rgba(255, 255, 255, 0.035) 46%,
    rgba(255, 255, 255, 0.02) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.craft-note__text {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  max-width: 720px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  /* 平板：6 列 → 一行两张 */
  .craft-bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 104px; }
  .craft-tile--hero  { grid-column: span 6; grid-row: span 4; }
  .craft-tile--wide  { grid-column: span 3; grid-row: span 3; }
  .craft-tile--mid   { grid-column: span 3; grid-row: span 2; }
  .craft-tile--small { grid-column: span 3; grid-row: span 2; }
  .craft-tile--hero .craft-tile__name { font-size: 26px; }
}
@media (max-width: 560px) {
  /* 手机：单列 */
  .craft-bento { grid-template-columns: 1fr; grid-auto-rows: 104px; gap: 12px; }
  .craft-tile--hero  { grid-column: span 1; grid-row: span 4; }
  .craft-tile--wide  { grid-column: span 1; grid-row: span 3; }
  .craft-tile--mid,
  .craft-tile--small { grid-column: span 1; grid-row: span 2; }
  .craft-tile--hero .craft-tile__name { font-size: 23px; }
  .craft-tile--wide .craft-tile__name { font-size: 18px; }
  .craft-note { padding: 18px 18px; }
}

/* ============================================================
   PROCESS-HERO CTA ROW (used by both index.html and process.html)
   ============================================================ */
.process-hero__ctas {
  margin-top: var(--sp-7);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.process-hero__ctas .btn--lg { font-size: 17px; padding: 16px 36px; }

/* Light outline button (white border on dark hero) */
.btn--outline-light {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #FFFFFF;
  transform: translateY(-1px);
}

/* ============================================================
   PRODUCTS GALLERY (4 cards × 8-image carousels, 1×4 layout)
   ============================================================ */
.gallery-grid {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
/* Product-row variant: tighter cards, smaller carousels, 1×4 horizontal */
.gallery-grid--products {
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
.gallery-grid--products .gallery-card__head {
  padding: var(--sp-3) var(--sp-4) var(--sp-2);
}
.gallery-grid--products .gallery-card__title {
  font-size: 16px;
}
.gallery-grid--products .gallery-card__num {
  font-size: 11px;
  padding: 3px 8px;
}
.gallery-grid--products .gallery-card__caption {
  font-size: 12px;
  line-height: 1.55;
  padding: var(--sp-3) var(--sp-4) var(--sp-4);
}
/* Two rows on medium screens, one row of stacked cards on small screens */
@media (max-width: 1100px) {
  .gallery-grid--products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gallery-grid--products { grid-template-columns: 1fr; }
}
/* Default 2-col grid still applies when not using --products variant */
@media (max-width: 800px) {
  .gallery-grid:not(.gallery-grid--products) { grid-template-columns: 1fr; }
}

.gallery-card {
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.gallery-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.gallery-card__head {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5) var(--sp-4);
}
.gallery-card__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-navy);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.08);
}
.gallery-card__title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.196px;
  color: var(--c-ink);
}
.gallery-card__caption {
  font-size: 13px;
  line-height: 1.6;
  color: var(--c-body);
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  border-top: 1px solid var(--c-line);
  margin: 0;
}

.gallery-card__carousel {
  /* ★ 调这里改 工厂产线图比例 ★ */
  aspect-ratio: 16 / 10;
  border-radius: 0;
  background: var(--bg-alt);
}

/* ============================================================
   CATEGORY SHOWCASES (4 vertical blocks, 4–5 images each)
   Replaces the previous 4-column product-card grid.
   ============================================================ */
.category-showcases {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}
.category-block {
  display: grid;
  grid-template-columns: 0.85fr 1.75fr;
  gap: var(--sp-7);
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: var(--sp-7);
  overflow: hidden;
}
.category-block--reverse {
  grid-template-columns: 1.75fr 0.85fr;
}
.category-block--reverse .category-block__intro { order: 2; }
.category-block--reverse .category-block__gallery { order: 1; }

.category-block__intro {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.category-block__eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-navy);
}
html[data-locale='zh'] .category-block__eyebrow {
  text-transform: none;
  letter-spacing: 0.08em;
}
.category-block__title {
  font-size: clamp(26px, 2.2vw + 12px, 36px);
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--c-ink);
  line-height: 1.15;
}
.category-block__body {
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-body);
  max-width: 540px;
}
/* v92t：分类卡文字区改为「大标题 + 介绍 + 一条细灰线 + 待补充小字」。
   细线是正常文档流里的块级元素 → 上方文字多少变化时它自动上下移动，不需要固定定位。
   线宽与 .category-block__body 对齐（同为 540px）。 */
.category-block__rule {
  margin-top: var(--sp-3);
  height: 1px;
  background: var(--c-line);
  max-width: 540px;
}
/* v94：分类卡卖点改为列表（原「待补充」单行小字位，位置与字号不变） */
.category-block__note {
  margin-top: var(--sp-3);
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-muted);
  max-width: 540px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 7px;
}
.category-block__note li {
  position: relative;
  padding-left: 15px;
}
.category-block__note li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(245, 197, 24, .92);
}
.category-block__note li:empty { display: none; }

/* v95：四品类下方的「来图来样 / 平面转 3D / 材质 / 先打样后量产」说明行 */
.category-spec {
  margin: var(--sp-6) auto 0;
  padding-top: var(--sp-5);
  max-width: 900px;
  border-top: 1px solid var(--c-line);
  text-align: center;
  font-size: 15px;
  line-height: 1.75;
  color: var(--c-muted);
}
@media (max-width: 900px) {
  .category-spec { font-size: 14px; max-width: 100%; }
}

.category-block__gallery {
  position: relative;
  border-radius: var(--r-tile);
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}
.category-block__gallery .carousel {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  aspect-ratio: 16 / 10;
}
.category-block__gallery .carousel__track,
.category-block__gallery .carousel__slide,
.category-block__gallery .carousel__slide svg,
.category-block__gallery .carousel__slide img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.category-block__gallery .carousel__indicators { bottom: 18px; }

@media (max-width: 900px) {
  .category-block,
  .category-block--reverse {
    grid-template-columns: 1fr;
  }
  .category-block--reverse .category-block__intro,
  .category-block--reverse .category-block__gallery { order: 0; }
  .category-block__gallery { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .category-block {
    padding: var(--sp-5);
    gap: var(--sp-5);
  }
  .category-block__title { font-size: 24px; }
}

/* Bigger primary CTA in process section */
.flow__cta-row .btn--lg {
  padding: 18px 36px;
  font-size: 17px;
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.20);
}
.flow__cta-row {
  margin-top: var(--sp-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}

/* ==== 锚点定位留出吸顶导航高度（2026-10-12，页脚「产品」分组跨页锚点） ==== */
[id] { scroll-margin-top: 88px; }

/* ============================================================
   企业风采页 about.html（2026-10-13 新增）
   01 公司历程（横向轨道滑动，2026-10-14 改版） / 02 企业资质 / 03 员工风采
   04 合作厂商 / 05 其他平台图标条
   ★ 改这里调各区块图片比例 ★
   ============================================================ */

/* ------------------------------------------------------------
   01 · 公司历程：横向轨道滑动（12 节点，左右箭头 / 圆点 / 滑动）
   ─────────────────────────────────────────────────────────
   HTML 结构：
     .about-milestones                 （外层，relative 定位两端箭头）
       button.about-milestones__arrow--line ×2 （骑在时间线两端的左右箭头）
       .about-milestones__viewport     （overflow:hidden + ::before 横贯时间线）
         .about-milestones__rail       （flex 横向排列，JS 改 translateX）
           .about-milestones__card × N （一年一卡：年份 / 金色时钟节点 / 白卡[图+文]）
       .about-milestones__nav          （页码 + 圆点，JS 生成）
   ------------------------------------------------------------ */
/* ============================================================
   01 · 发展历程（v85 重构：横向时间线 + 年份节点 + 卡片）
   几何基准：--ms-line-y = 视口 padding-top + 年份高 + 间距 + 节点半径
   改节点/年份尺寸时同步 --ms-* 变量即可，横线与箭头自动对齐
   ============================================================ */
.about-milestones {
  --ms-node: 34px;          /* 节点圆直径 */
  --ms-year-h: 24px;        /* 年份行高 */
  --ms-year-gap: 14px;      /* 年份与节点间距 */
  --ms-vp-pt: 4px;          /* 视口顶部留白 */
  --ms-line-y: calc(var(--ms-vp-pt) + var(--ms-year-h) + var(--ms-year-gap) + var(--ms-node) / 2);
  position: relative;
  margin-top: var(--sp-7);
}
.about-milestones:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 6px;
  border-radius: var(--r-tile);
}
.about-milestones__arrow:focus-visible,
.about-milestones__dot:focus-visible {
  outline: 2px solid var(--c-navy);
  outline-offset: 2px;
}
.about-milestones__viewport {
  position: relative;
  overflow: hidden;
  padding: var(--ms-vp-pt) 0 18px;
}
/* 贯穿整个时间线的横线（穿过所有节点圆心） */
.about-milestones__viewport::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: var(--ms-line-y);
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg,
    rgba(229, 231, 235, 0) 0%, var(--c-line) 6%, var(--c-line) 94%,
    rgba(229, 231, 235, 0) 100%);
}
.about-milestones__rail {
  display: flex;
  gap: var(--sp-5);
  will-change: transform;
  transition: transform 420ms var(--ease-out);
}
/* 每屏可见卡片数由 JS 按容器宽度设置（CSS 兜底 3 张） */
.about-milestones__card {
  flex: 0 0 auto;
  /* ★ 一屏 4 个节点 ★ */
  width: calc((100% - var(--sp-5) * 3) / 4);
  display: flex;
  flex-direction: column;
}
/* 年份：线之上，居中 */
.about-milestones__year {
  height: var(--ms-year-h);
  margin-bottom: var(--ms-year-gap);
  font-size: 20px;
  font-weight: 700;
  line-height: var(--ms-year-h);
  text-align: center;
  color: var(--c-navy);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
/* 节点：线上的金色圆 + 时钟图标，白环抬起 */
.about-milestones__node {
  width: var(--ms-node);
  height: var(--ms-node);
  margin: 0 auto;
  border-radius: 50%;
  background: var(--c-gold);
  color: var(--c-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px var(--c-bg), 0 2px 10px rgba(184, 146, 16, 0.35);
  position: relative;
  z-index: 1;
}
.about-milestones__node svg { width: 17px; height: 17px; }
/* 卡片：线之下的白卡（图 + 标题 + 文字） */
.about-milestones__body {
  flex: 1;
  margin-top: 16px;
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(10, 14, 39, 0.06);
  transition: box-shadow var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.about-milestones__card:hover .about-milestones__body {
  box-shadow: 0 10px 26px rgba(30, 58, 138, 0.14);
  transform: translateY(-3px);
}
.about-milestones__photo {
  display: block;
  width: 100%;
  height: auto;
  /* ★ 改这里调历程照片比例（v89：16/10 → 16/9 缩小图片占比）★ */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #EEF1F6 0%, #E3E8F0 100%);
  border-bottom: 1px solid var(--c-line);
}
.about-milestones__title {
  padding: 14px 16px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.4;
}
.about-milestones__text {
  padding: 6px 16px 16px;
  font-size: 13.5px;
  color: var(--text-mute);
  line-height: 1.65;
}

/* ---- 时间线两端的箭头（骑在线上） ---- */
.about-milestones__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: 10px;
}
.about-milestones__arrow {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-bg);
  color: var(--c-navy);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.about-milestones__arrow:hover:not(:disabled) {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}
.about-milestones__arrow:active:not(:disabled) { transform: scale(0.94); }
.about-milestones__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.about-milestones__arrow svg { width: 18px; height: 18px; }
.about-milestones__arrow--line {
  position: absolute;
  top: var(--ms-line-y);
  transform: translateY(-50%);
  z-index: 2;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(10, 14, 39, 0.12);
}
.about-milestones__arrow--line:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
.about-milestones__arrow--line:active:not(:disabled) { transform: translateY(-50%) scale(0.94); }
.about-milestones__arrow--line:first-of-type { left: -8px; }
.about-milestones__arrow--line.about-milestones__arrow--next { right: -8px; }
.about-milestones__count {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--text-mute);
  min-width: 62px;
  text-align: center;
}
.about-milestones__count b {
  color: var(--c-navy);
  font-weight: 700;
}

/* ---- 圆点 ---- */
.about-milestones__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 0;
}
.about-milestones__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-line);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.about-milestones__dot:hover { background: var(--c-gold); }
.about-milestones__dot.is-active {
  background: var(--c-gold);
  transform: scale(1.35);
}

/* 窄桌面：一屏 3 张 */
@media (max-width: 1200px) {
  .about-milestones__card { width: calc((100% - var(--sp-5) * 2) / 3); }
}
/* 平板：一屏 2 张 */
@media (max-width: 980px) {
  .about-milestones__card { width: calc((100% - var(--sp-5)) / 2); }
}
/* 手机：一屏 1 张，箭头收进画布内 */
@media (max-width: 640px) {
  .about-milestones__card { width: 100%; }
  .about-milestones__rail { gap: var(--sp-4); }
  .about-milestones__arrow--line { width: 36px; height: 36px; }
  .about-milestones__arrow--line:first-of-type { left: -4px; }
  .about-milestones__arrow--line.about-milestones__arrow--next { right: -4px; }
}

/* ---------- 02 · 企业资质（证书扫描件，竖版 3:4） ---------- */
.about-cert__grid {
  display: grid;
  /* ★ 改这里调每行证书数量 ★ */
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.about-cert__item { margin: 0; }
.about-cert__img {
  width: 100%;
  height: auto;
  /* ★ 改这里调证书图片比例 ★ */
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--r-tile);
  border: 1px solid var(--c-line);
  background: var(--c-bg);
}
.about-cert__cap {
  margin-top: var(--sp-3);
  font-size: 14px;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ---------- 03 · 员工风采（v91：12 列错落 bento + 每格双图自动渐变轮播） ----------
   ★ 6 格、4 种尺寸，且内部边界互相错位（不是整齐的 2 行）：
     1 = 7列×3行 717×368 ｜ 2 = 5列×2行 507×240 ｜ 3 = 5列×2行 507×240
     4 = 4列×3行 403×368 ｜ 5 = 3列×3行 292×368 ｜ 6 = 5列×2行 507×240
     铺满方式：行1-3 左7/右2行 → 行4 右3收尾 → 行4-6 左4+左3 → 行5-6 右6
     行粒度 112px × 6 行 = 752px 总高（旧版 704，基本持平）
   轮播：a/b 两图同 keyframes、b 延迟半周期，10s 无缝交替，无需手动翻看 */
.about-team__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 112px;
  gap: 16px;
  margin-top: var(--sp-7);
}
.about-team__item {
  position: relative;
  margin: 0;
  border-radius: var(--r-tile);
  overflow: hidden;
  border: 1px solid var(--c-line);
  background: var(--c-bg);
}
/* 显式定位 → 保证「错位」而不是被自动填充排齐 */
.about-team__item--1 { grid-column: 1 / span 7; grid-row: 1 / span 3; }
.about-team__item--2 { grid-column: 8 / span 5; grid-row: 1 / span 2; --tf-delay: -1.2s; }
.about-team__item--3 { grid-column: 8 / span 5; grid-row: 3 / span 2; --tf-delay: -2.4s; }
.about-team__item--4 { grid-column: 1 / span 4; grid-row: 4 / span 3; --tf-delay: -3.6s; }
.about-team__item--5 { grid-column: 5 / span 3; grid-row: 4 / span 3; --tf-delay: -4.8s; }
.about-team__item--6 { grid-column: 8 / span 5; grid-row: 5 / span 2; --tf-delay: -6s; }
.about-team__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ★ 与工艺板块同一条教训：合成层（下面的 opacity 动画）会让父级圆角裁切失效，
     所以图片自己也要 clip-path 兜底（半径取 --r-tile 14px） */
  clip-path: inset(0 round 14px);
  border-radius: 14px;
  animation: teamFade 16s var(--tf-delay, 0s) infinite;
}
/* v93j：B 图偏移半个周期 —— 两张图严格互补，交叉渐变 3s（用户要求：3 秒渐变切换） */
.about-team__img--b { animation-delay: calc(var(--tf-delay, 0s) - 8s); }
/* 周期 16s：显示 5s → 渐变 3s → 隐藏 5s → 渐变 3s
   31.25% = 5s / 16s；50% = 8s；81.25% = 13s */
@keyframes teamFade {
  0%, 31.25%  { opacity: 1; }
  50%, 81.25% { opacity: 0; }
  100%        { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .about-team__img { animation: none; }
  .about-team__img--b { display: none; }
}
/* 说明文字压在图片底部渐变上，不占网格行高 */
.about-team__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  margin: 0;
  padding: 28px 14px 12px;
  font-size: 13px;
  color: #FFFFFF;
  line-height: 1.5;
  background: linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(10, 14, 39, 0.72) 100%);
}
/* 平板：退回 6 列，1 号/6 号做整幅大图，中间四个半幅 */
@media (max-width: 1200px) {
  .about-team__grid { grid-auto-rows: 92px; }
}
@media (max-width: 980px) {
  .about-team__grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 150px;
  }
  .about-team__item--1 { grid-column: span 6; grid-row: span 2; }
  .about-team__item--2 { grid-column: span 3; grid-row: span 1; }
  .about-team__item--3 { grid-column: span 3; grid-row: span 1; }
  .about-team__item--4 { grid-column: span 3; grid-row: span 1; }
  .about-team__item--5 { grid-column: span 3; grid-row: span 1; }
  .about-team__item--6 { grid-column: span 6; grid-row: span 2; }
}
@media (max-width: 640px) {
  .about-team__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 132px;
  }
  .about-team__item--1 { grid-column: span 2; grid-row: span 2; }
  .about-team__item--2,
  .about-team__item--3,
  .about-team__item--4,
  .about-team__item--5 { grid-column: span 1; grid-row: span 1; }
  .about-team__item--6 { grid-column: span 2; grid-row: span 2; }
}

/* ---------- 04 · 合作厂商（v91：两行 5 + 4，等大等距居中 · 横向拉开） ----------
   ★ 卡片 136 → 190px，横向间距 18 → 46px：
     第一行 5 个 = 1134px（原来只有 752px，两侧留白太多显得挤在一堆）
     第二行 4 个 = 898px，居中 → 两行都左右对称、格距一致（用户要「分布均匀」）
   ★ 调「拉开程度」改 --partner-gap；调 logo 大小改 --partner-w */
.about-partner__wrap {
  margin-top: var(--sp-7);
  --partner-w: 190px;
  --partner-gap: 46px;
}
.about-partner__row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--partner-gap);
}
.about-partner__row + .about-partner__row { margin-top: 28px; }
.about-partner__item { width: var(--partner-w); margin: 0; }
.about-partner__logo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--r-tile);
  padding: 18px;
  transition: border-color var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.about-partner__item:hover .about-partner__logo {
  border-color: var(--c-navy);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.10);
}
.about-partner__name {
  margin-top: 8px;
  font-size: 12.5px;
  text-align: center;
  color: var(--text-mute);
}
@media (max-width: 980px) {
  .about-partner__wrap { --partner-w: 150px; --partner-gap: 32px; }
}
@media (max-width: 640px) {
  .about-partner__wrap { --partner-w: calc((100% - var(--partner-gap)) / 2); --partner-gap: 22px; }
}

/* ---------- 05 · 其他平台图标条 ---------- */
.about-social__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.about-social__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  text-decoration: none;
  color: var(--c-ink);
  background: var(--c-bg);
  transition: border-color var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out);
}
.about-social__item:hover {
  border-color: var(--c-navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 58, 138, 0.12);
}
.about-social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex: 0 0 auto;
  line-height: 0;
}
/* v85: 真实品牌图标 + 品牌色淡底圆片 */
.about-social__icon img { width: 20px; height: 20px; display: block; }
.about-social__item--xhs .about-social__icon { background: #FFEEF1; }
.about-social__item--dy  .about-social__icon { background: #F1F3F7; }
.about-social__item--ins .about-social__icon { background: #FFF0F5; }
.about-social__item--fb  .about-social__icon { background: #EAF1FF; }
.about-social__item--yt  .about-social__icon { background: #FFEFEF; }
.about-social__item--tk  .about-social__icon { background: #F1F3F7; }
.about-social__label {
  font-weight: 600;
  font-size: 15px;
}
/* 语言分流：中文界面显示 小红书/抖音，英文界面显示 Ins/FB/YouTube/TikTok */
.about-social__item--zh { display: none; }
html[data-locale="zh"] .about-social__item--zh { display: inline-flex; }
html[data-locale="zh"] .about-social__item--en { display: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .about-cert__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
}
@media (max-width: 560px) {
  .about-cert__grid { grid-template-columns: 1fr; }
  /* 员工风采的手机断点已统一收敛到上方 ≤640 规则（v91），这里不再重复定义 */
}

/* =============================================================
   VIDEO CARD · 自托管 MP4，点封面才加载 (v83)
   ─────────────────────────────────────────────────────────
   HTML 写法：
     <figure class="videocard" data-video="assets/video/xxx.mp4"
             data-poster="assets/img/video/xxx.jpg" data-reveal-child>
       <div class="videocard__frame">
         <img class="videocard__poster" src="assets/img/video/xxx.jpg"
              alt="" width="1280" height="720" loading="lazy">
         <button class="videocard__play" type="button" aria-label="Play video">
           <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 5v14l11-7z"/></svg>
         </button>
         <span class="videocard__dur">0:60</span>
       </div>
       <figcaption class="videocard__cap">
         <strong data-i18n="vid_x_title">…</strong>
         <span data-i18n="vid_x_note">…</span>
       </figcaption>
     </figure>
   MP4 缺失时自动降级成「视频待补充」，不会出现空白播放器。
   ============================================================= */
.videocard {
  margin: 0;
}
.videocard__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;            /* ★ 调这里改视频比例 ★ */
  overflow: hidden;
  border-radius: var(--r-card);
  background: var(--c-navy-deep);
  border: 1px solid var(--c-line);
  cursor: pointer;
  isolation: isolate;
  transition: box-shadow .25s var(--ease-out), transform .25s var(--ease-out);
}
.videocard__frame:hover {
  box-shadow: 0 18px 44px rgba(10, 14, 39, .22);
  transform: translateY(-2px);
}
.videocard__poster,
.videocard__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;                    /* ⚠ 必须写：img 有 width/height 属性 */
  object-fit: cover;
  border: 0;
  background: var(--c-navy-deep);
}
.videocard__video { z-index: 3; }

/* 底部压暗，保证白字可读 */
.videocard__frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(10, 14, 39, .62), rgba(10, 14, 39, 0));
  pointer-events: none;
  z-index: 1;
}
.videocard__frame.is-playing::after { display: none; }

/* ---- 播放按钮 ---- */
.videocard__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 50%;
  background: var(--c-gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 34px rgba(10, 14, 39, .48);
  transition: background .2s var(--ease-out), transform .2s var(--ease-out);
  z-index: 2;
}
.videocard__play svg { width: 30px; height: 30px; fill: var(--c-navy-deep); margin-left: 3px; }
.videocard__frame:hover .videocard__play { background: #FFD84A; transform: translate(-50%, -50%) scale(1.06); }
.videocard__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---- 时长胶囊 ---- */
.videocard__dur {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-4);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(10, 14, 39, .78);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  z-index: 2;
}
.videocard__frame.is-playing .videocard__dur { display: none; }

/* ---- 图注 ---- */
.videocard__cap {
  display: block;
  padding-top: var(--sp-4);
}
.videocard__cap strong {
  display: block;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.35;
}
.videocard__cap span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-body);
  color: var(--c-muted);
  line-height: 1.6;
  max-width: 680px;
}

/* ---- 素材缺失时的降级态 ---- */
.videocard__missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  padding: var(--sp-5);
  background: rgba(10, 14, 39, .72);
  color: #fff;
  z-index: 4;
}
.videocard__missing strong { font-size: 17px; font-weight: 700; }
.videocard__missing span { font-size: 14px; color: #B9C4DC; }

/* ---- 尺寸变体 ---- */
.videocard--wide { max-width: 1060px; margin-inline: auto; }
.videocard--wide .videocard__play { width: 92px; height: 92px; }
.videocard--wide .videocard__play svg { width: 36px; height: 36px; }
.videocard--inline .videocard__frame { border-radius: var(--r-tile); }
.videocard--inline .videocard__play { width: 58px; height: 58px; }
.videocard--inline .videocard__play svg { width: 22px; height: 22px; }

@media (max-width: 640px) {
  .videocard__play { width: 60px; height: 60px; }
  .videocard__play svg { width: 24px; height: 24px; }
  .videocard--wide .videocard__play { width: 68px; height: 68px; }
  .videocard--wide .videocard__play svg { width: 26px; height: 26px; }
}

/* ---- 视频位外层间距（插在 section 里用） ---- */
.video-slot { margin: var(--sp-7) 0; }
.video-slot:first-child { margin-top: var(--sp-6); }

/* ============================================================
   视频位（v93q）
   ------------------------------------------------------------
   ★ 设计原则：没有视频文件时「视觉零变化」。
     所有视频默认 opacity:0 + 无 src；JS 加载成功才加 .is-ready 淡入。
     这样素材没到位也不会出现黑框 / 破图。
   ★ 命名约定（丢进这个目录并保持同名即可生效）：
     assets/video/hero-home.mp4          首页 Hero（无音频循环）
     assets/video/hero-process.mp4       工艺页 Hero（无音频循环）
     assets/video/factory-tour.mp4       工厂影片（有音频，带控制条）
     assets/video/craft/finish-05.mp4    电镀  craft/finish-04.mp4 幻彩  craft/finish-10.mp4 透色
   ============================================================ */

/* —— Hero 视频层（铺满整块首屏） —— */
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-video video.is-ready { opacity: 1; }

/* 纯文字版 hero（工艺页）需要自己有定位上下文 */
.process-hero { position: relative; }
.process-hero > .container { position: relative; z-index: 2; }

/* —— 工厂影片（可拖进度条 / 暂停 / 音量） —— */
/* v93s：回到与页面内容同宽（container 内 1104px），16:9 → 1104×621。
   全宽 1440×810 用户反馈「太大」，以版面一致性优先。 */
.factory-film {
  margin-top: var(--sp-6);
  position: relative;
  border-radius: var(--r-tile);
  overflow: hidden;
  /* ★ video 没有 src 时浏览器不渲染 poster 属性 → 会露出空黑块。
     改用容器背景图兜底：没视频时看得到封面，视频就绪后由 is-ready 关掉背景。 */
  background: #0A0E27 url('../img/process/film-poster-v1.jpg') center / cover no-repeat;
}
.factory-film.is-ready { background-image: none; }
.factory-film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #0A0E27;
}
/* 影片还没上线时压在上面的一行说明 */
.factory-film__note {
  position: absolute;
  left: 50%;
  bottom: 62px;   /* v93r：避开原生控制条（全宽后控制条常驻） */
  transform: translateX(-50%);
  background: rgba(10, 14, 39, 0.82);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}
.factory-film.is-ready .factory-film__note { display: none; }

/* —— 工艺卡悬停视频 —— */
.craft-tile__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  clip-path: inset(0 round 19px);
  border-radius: 19px;
  opacity: 0;
  transition: opacity 240ms ease;
  pointer-events: none;
}
.craft-tile__video.is-ready { opacity: 1; }

/* ============================================================
   v97 · 安全合作 / 质量保证（工艺页 hero 下方两行图示块）
   替代原 hero 副文案；两行，每行「大项 + 箭头 + 三个小项」
   ============================================================ */
.assurance { padding: var(--sp-7) 0; }
.assurance__row {
  display: grid;
  grid-template-columns: minmax(150px, max-content) 44px 1fr;
  align-items: center;
  gap: var(--sp-5);
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--c-line);
}
.assurance__row:first-child { padding-top: 0; }
.assurance__row:last-child { border-bottom: 0; padding-bottom: 0; }
.assurance__label-zh {
  font-size: clamp(24px, 1.6vw + 14px, 30px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 3px;
  color: var(--c-ink);
}
.assurance__label-en {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 2.6px;
  color: var(--c-muted);
}
/* 英文标签更长：缩字号 + 收字距，保证一行放下（"Safe Cooperation" 曾换行贴住箭头） */
html[data-locale='en'] .assurance__label-zh,
html[lang='en'] .assurance__label-zh {
  font-size: clamp(19px, 1vw + 11px, 23px);
  letter-spacing: -0.2px;
}
/* 英文语境下「Safe Cooperation / SAFE COOPERATION」重复，隐掉英文副标题行 */
html[data-locale='en'] .assurance__label-en,
html[lang='en'] .assurance__label-en { display: none; }
.assurance__arrow { display: block; color: var(--c-ink); }
.assurance__arrow svg { display: block; width: 34px; height: 16px; }
.assurance__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.assurance__item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.assurance__icon { display: block; color: var(--c-gold-deep); }
.assurance__icon svg { display: block; width: 30px; height: 30px; }
.assurance__item-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.4;
}
.assurance__item-desc {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--c-muted);
}
@media (max-width: 1080px) {
  .assurance__row { grid-template-columns: minmax(130px, max-content) 34px 1fr; gap: var(--sp-4); }
  .assurance__items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .assurance { padding: var(--sp-6) 0; }
  .assurance__row { grid-template-columns: 1fr; gap: var(--sp-4); }
  .assurance__arrow { display: none; }
  .assurance__items { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* v98 · 安全合作/质量保证 图标放大 + 加淡金底圆，观感更完整 */
.assurance__item { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.assurance__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(184, 146, 16, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.assurance__icon svg { width: 26px; height: 26px; }
.assurance__item-title { font-size: 15.5px; }

/* v100 · 企业风采首屏副标题按句断行（只在句号处换，避免「一项项查/出来的」这种断词）
   用属性选择器精确命中 ab_sub，不影响其它页共用的 .section__subtitle */
.section__subtitle[data-i18n="ab_sub"] { white-space: pre-line; }

/* =============================================================
   FOOTER MAP CARD · 工厂位置卡片（v104，全站页脚 7 页）
   点开跳转：英文 → Google Maps，中文 → 高德
   href 由 app.js 的 data-href-key 机制按 locale 从 STRINGS 填入
   ============================================================ */
.footer__map {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: var(--c-bg);
  text-decoration: none;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
}
.footer__map:hover,
.footer__map:focus-visible {
  border-color: var(--c-gold-deep);
  box-shadow: 0 0 0 3px rgba(184, 146, 16, 0.15);
}
.footer__map-art { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; line-height: 0; }
.footer__map-art svg { display: block; }
.footer__map-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer__map-title { font-size: 13px; font-weight: 600; color: var(--c-ink); }
.footer__map-addr { font-size: 12px; color: var(--c-muted); }
.footer__map-cta { font-size: 12px; font-weight: 600; color: var(--c-navy); margin-top: 4px; }
.footer__map:hover .footer__map-cta,
.footer__map:focus-visible .footer__map-cta { color: var(--c-gold-deep); }

/* ============================================================
   CATEGORY LICENCE NOTE · 分类卡授权说明小字（v111，卡 1/2/3）
   跟在系列清单 ul 后面，小号灰字，不抢层级不遮挡
   ============================================================ */
.category-block__licence {
  font-size: 12px;
  line-height: 1.6;
  color: var(--c-muted);
  margin: var(--sp-2) 0 0;
}
html[data-locale='zh'] .category-block__licence { font-size: 11.5px; }

/* FAMA 页 H1：关键词多，缩小字号保证桌面端整行显示（v118） */
.section__title--fama {
  font-size: clamp(24px, 2.4vw + 8px, 38px);
}
