/* ==========================================================================
   BOGEQI English Brand Site — Design System v1
   设计语言：冷金属工业编辑风（Editorial Industrial）
   品牌色取自 LOGO：橙 #F28000；辅助深绿取自品牌 VI #414B43
   字体：Fraunces（展示衬线 / 温度）+ Archivo（工业无衬线 / 精度）
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* 品牌色 —— 用 OKLCH 定义，保证明暗步进感知均匀 */
  --brand:            oklch(68.5% 0.170 62);   /* ≈ #F28000 */
  --brand-deep:       oklch(58% 0.155 58);
  --brand-ink:        oklch(44% 0.120 55);

  /* 冷中性（带极轻的品牌冷偏，不用纯灰） */
  --ink:              oklch(22% 0.008 200);
  --ink-2:            oklch(38% 0.010 200);
  --ink-3:            oklch(55% 0.010 200);
  --ink-4:            oklch(70% 0.008 200);

  --paper:            oklch(97.2% 0.004 90);   /* 暖白底 */
  --paper-2:          oklch(94.5% 0.006 90);
  --paper-3:          oklch(91% 0.008 90);

  /* 深绿（品牌 VI 辅助色） */
  --forest:           oklch(38% 0.022 155);    /* ≈ #414B43 */
  --forest-deep:      oklch(26% 0.018 155);
  --forest-2:         oklch(31% 0.020 155);

  --line:             oklch(87% 0.008 90);
  --line-soft:        oklch(92% 0.006 90);
  --line-dark:        oklch(100% 0 0 / 0.14);

  /* 语义 */
  --ok:               oklch(52% 0.12 150);
  --warn:             oklch(62% 0.14 70);
  --err:              oklch(52% 0.17 25);

  /* 字体 */
  --f-display: "Fraunces", "Times New Roman", Georgia, serif;
  --f-sans:    "Archivo", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-mono:    ui-monospace, "SF Mono", "JetBrains Mono", Consolas, monospace;

  /* 字号 scale · 比值 1.28（4 度音阶，拉开层次） */
  --t-xs:   0.75rem;    /* 12 */
  --t-sm:   0.875rem;   /* 14 */
  --t-base: 1rem;       /* 16 */
  --t-md:   clamp(1.0625rem, 0.98rem + 0.42vw, 1.25rem);
  --t-lg:   clamp(1.375rem, 1.2rem + 0.85vw, 1.75rem);
  --t-xl:   clamp(1.875rem, 1.52rem + 1.7vw, 2.75rem);
  --t-2xl:  clamp(2.375rem, 1.75rem + 3.1vw, 4.25rem);
  --t-3xl:  clamp(3rem, 1.9rem + 5.4vw, 6rem);

  /* 间距 · 4pt 基准 */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 176px;

  /* 版心 */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 56px);

  /* 缓动 */
  --e-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --e-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --e-io:   cubic-bezier(0.65, 0, 0.35, 1);

  /* 层级 */
  --z-nav: 100;
  --z-over: 900;
  --z-modal: 1000;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--f-sans);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* 屏读专用 */
.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: var(--s-3); left: var(--s-3);
  z-index: 999;
  padding: var(--s-3) var(--s-4);
  background: var(--brand); color: #fff;
  font-size: var(--t-sm); font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s var(--e-out);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1560px; }

.section { padding-block: clamp(var(--s-8), 8vw, var(--s-10)); }
.section--tight { padding-block: clamp(var(--s-7), 5vw, var(--s-8)); }
.section--dark { background: var(--forest); color: var(--paper); }
.section--deep { background: var(--forest-deep); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }

/* ---------- 4. Type ---------- */
h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
h1, .h1 { font-family: var(--f-display); font-size: var(--t-3xl); }
h2, .h2 { font-family: var(--f-display); font-size: var(--t-2xl); }
h3, .h3 { font-size: var(--t-lg); letter-spacing: -0.012em; font-weight: 500; }
h4, .h4 { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.005em; }

p { text-wrap: pretty; }
.body  { font-size: var(--t-base); }
.lead {
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}
.section--dark .lead,
.section--deep .lead { color: oklch(88% 0.006 155); }

/* 眉标 —— 全站统一的“工程编号”语汇 */
.eyebrow {
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-4);
}
.eyebrow::after {
  content: ""; flex: 1; height: 1px; max-width: 96px;
  background: currentColor; opacity: .34;
}
.section--dark .eyebrow,
.section--deep .eyebrow { color: var(--brand); }

/* 强调数字（Fraunces + 略窄字距） */
.figure {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.mono { font-family: var(--f-mono); font-size: .92em; letter-spacing: .02em; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-5);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background-color .22s var(--e-out),
              color .22s var(--e-out),
              border-color .22s var(--e-out),
              transform .22s var(--e-out);
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--outline-light { border-color: oklch(100% 0 0 / .42); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { min-height: 56px; padding: 0 var(--s-6); font-size: var(--t-base); }
.btn--block { width: 100%; }

/* 箭头链接 */
.arrow-link {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--t-sm); font-weight: 600;
  letter-spacing: 0.01em;
  padding-block: var(--s-2);
  border-bottom: 1px solid currentColor;
  transition: gap .24s var(--e-out), color .2s var(--e-out);
}
.arrow-link:hover { gap: var(--s-3); color: var(--brand); }
.arrow-link svg { flex: none; }

/* ---------- 6. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: var(--z-nav);
  transition: background-color .3s var(--e-out), box-shadow .3s var(--e-out);
}
.site-header__inner {
  display: flex; align-items: center; gap: var(--s-6);
  height: 76px;
}
.site-header--on-dark { color: #fff; }
.site-header--on-dark.is-stuck {
  background: oklch(17% 0.012 155 / .94);
  backdrop-filter: blur(12px);
}
.site-header--on-light { color: var(--ink); background: var(--paper); }
.site-header--on-light.is-stuck {
  background: oklch(97.2% 0.004 90 / .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.brand {
  display: flex; align-items: center; gap: var(--s-3);
  flex: none;
}
.brand__mark { height: 22px; width: auto; }
.brand__rule {
  width: 1px; height: 16px;
  background: currentColor; opacity: .32;
}
.brand__cn {
  font-size: var(--t-xs);
  letter-spacing: 0.22em;
  opacity: .78;
  font-weight: 500;
}

.nav { margin-left: auto; }
.nav__list {
  display: flex; align-items: center; gap: var(--s-5);
}
.nav__link {
  position: relative;
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.005em;
  padding-block: var(--s-2);
  opacity: .88;
  transition: opacity .2s var(--e-out);
}
.nav__link:hover, .nav__link[aria-current="page"] { opacity: 1; }
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s var(--e-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: var(--s-4); }
.nav__cta { min-height: 44px; height: 44px; padding: 0 var(--s-5); font-size: var(--t-sm); }

/* 汉堡菜单 */
.burger {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  align-items: center; justify-content: center;
}
.burger span {
  display: block; width: 22px; height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--e-out), opacity .2s;
}
.burger span + span { margin-top: 5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0;
  z-index: var(--z-over);
  background: var(--forest-deep);
  color: var(--paper);
  padding: 96px var(--gutter) var(--s-7);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--e-out), visibility .3s;
  overflow-y: auto;
}
.mobile-nav[data-open="true"] { opacity: 1; visibility: visible; }
.mobile-nav__list { display: flex; flex-direction: column; }
.mobile-nav__link {
  display: flex; align-items: baseline; gap: var(--s-4);
  padding-block: var(--s-4);
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-display);
  font-size: var(--t-lg);
}
.mobile-nav__num {
  font-family: var(--f-mono); font-size: var(--t-xs);
  color: var(--brand); letter-spacing: .1em;
}
.mobile-nav__foot { margin-top: auto; padding-top: var(--s-6); }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-top: 128px;
  padding-bottom: clamp(var(--s-7), 6vw, var(--s-9));
  background: var(--forest-deep);
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img,
.hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, oklch(14% 0.012 155 / .88) 0%, oklch(14% 0.012 155 / .40) 46%, oklch(14% 0.012 155 / .52) 100%),
    linear-gradient(105deg, oklch(14% 0.012 155 / .62) 0%, transparent 62%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__eyebrow {
  display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap;
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: oklch(88% 0.01 90);
  margin-bottom: var(--s-5);
}
.hero__eyebrow .dot {
  width: 5px; height: 5px; background: var(--brand); flex: none;
}
.hero h1 {
  font-size: var(--t-3xl);
  max-width: 17ch;
  margin-bottom: var(--s-5);
}
.hero__sub {
  font-size: var(--t-md);
  line-height: 1.55;
  color: oklch(90% 0.008 90);
  max-width: 52ch;
  margin-bottom: var(--s-6);
}
.hero__sub b { color: #fff; font-weight: 600; }
.hero__actions {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
}
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: clamp(var(--s-6), 5vw, var(--s-8));
  z-index: 1;
  display: flex; align-items: center; gap: var(--s-3);
  font-family: var(--f-mono); font-size: var(--t-xs);
  letter-spacing: .14em; text-transform: uppercase;
  color: oklch(88% 0.01 90);
  writing-mode: vertical-rl;
  opacity: .7;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 56px;
  background: linear-gradient(to bottom, currentColor, transparent);
}

/* ---------- 8. Stat bar ---------- */
.statbar {
  border-block: 1px solid var(--line);
  background: var(--paper);
}
.statbar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__k {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: var(--s-2);
}
.stat__v {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.stat__n { font-size: var(--t-xs); color: var(--ink-3); margin-top: var(--s-2); }

/* ---------- 9. Dual path cards ---------- */
.paths {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--paper);
}
.path {
  position: relative;
  padding: clamp(var(--s-6), 4vw, var(--s-8));
  display: flex; flex-direction: column;
  min-height: 340px;
  transition: background-color .3s var(--e-out);
}
.path + .path { border-left: 1px solid var(--line); }
.path--primary { background: var(--brand); color: #fff; }
.path--secondary { background: var(--paper); }
.path--secondary:hover { background: var(--paper-2); }
.path__kicker {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  opacity: .8;
}
.path__title {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin-bottom: var(--s-4);
}
.path__desc {
  font-size: var(--t-sm);
  line-height: 1.7;
  opacity: .92;
  margin-bottom: var(--s-5);
}
.path__list {
  display: flex; flex-direction: column; gap: var(--s-2);
  font-size: var(--t-sm);
  margin-bottom: var(--s-6);
}
.path__list li {
  display: flex; gap: var(--s-3); align-items: baseline;
}
.path__list li::before {
  content: ""; width: 12px; height: 1px; flex: none;
  background: currentColor; opacity: .55;
  transform: translateY(-4px);
}
.path__foot { margin-top: auto; }

/* ---------- 10. Feature grid（三件事） ---------- */
.feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}
.feat {
  background: var(--paper);
  padding: clamp(var(--s-5), 3vw, var(--s-7));
}
.feat__num {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .12em;
  color: var(--brand);
  margin-bottom: var(--s-5);
  display: block;
}
.feat h3 { margin-bottom: var(--s-3); }
.feat p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.7; }
.feat__note {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--line);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* ---------- 11. Series rail（横滑） ---------- */
.rail-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap;
  margin-bottom: var(--s-6);
}
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: var(--s-4);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: var(--s-2);
}
/* 横滑轨道本身需要横向溢出的空间，不能算作页面溢出 */
.rail { max-width: 100%; }
.rail::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; }
.rail__nav { display: flex; gap: var(--s-2); }
.rail__btn {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: background-color .2s var(--e-out), color .2s var(--e-out), border-color .2s;
}
.rail__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail__btn[disabled] { opacity: .32; cursor: not-allowed; }

.card-series {
  display: block;
  position: relative;
  background: var(--paper-2);
}
.card-series__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-3);
}
.card-series__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--e-out);
}
.card-series:hover .card-series__media img { transform: scale(1.04); }
.card-series__tag {
  position: absolute; top: var(--s-3); left: var(--s-3);
  padding: 5px 10px;
  background: oklch(17% 0.012 155 / .78);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.card-series__body {
  padding: var(--s-4) var(--s-4) var(--s-5);
  border-top: 2px solid var(--brand);
}
.card-series__title {
  font-family: var(--f-display);
  font-size: var(--t-md);
  line-height: 1.2;
  margin-bottom: var(--s-2);
}
.card-series__meta {
  font-size: var(--t-xs);
  color: var(--ink-3);
  letter-spacing: .02em;
}

/* ---------- 12. Split（图 + 文） ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: clamp(var(--s-5), 5vw, var(--s-9));
}
.split--reverse > *:first-child { order: 2; }
.split__media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split > * { min-width: 0; }
/* 显式收缩：仅靠 min-width:0 在部分 Chromium 版本下 grid item 仍按内容宽度撑开 */
.split > * { width: 100%; max-width: 100%; }
.split__media--tall { aspect-ratio: 3 / 4; }
.split__body { align-self: center; }
/* grid 内直接用 split__media 时（如 capabilities 四个品类卡），
   min-height + aspect-ratio 会反推出宽度并撑破网格，须解除 */
.grid-2 > .split__media,
.grid-2 .split__media { width: 100%; max-width: 100%; min-height: 0; }

/* 工序条 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border-block: 1px solid var(--line-dark);
}
.step {
  background: var(--forest);
  padding: var(--s-5) var(--s-4) var(--s-6);
}
.step__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: var(--s-4);
  background: var(--forest-deep);
}
.step__img img { width: 100%; height: 100%; object-fit: cover; }
.step__n {
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  color: var(--brand);
  letter-spacing: .12em;
  display: block;
  margin-bottom: var(--s-2);
}
.step h4 { color: var(--paper); margin-bottom: var(--s-2); font-size: var(--t-base); }
.step p { font-size: var(--t-sm); color: oklch(84% 0.006 155); line-height: 1.65; }

/* ---------- 13. Quote / 品牌台词 ---------- */
.manifesto {
  max-width: 24ch;
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.manifesto em { font-style: italic; color: var(--brand); }

/* ---------- 14. CTA band ---------- */
.cta-band {
  background: var(--brand);
  color: #fff;
  padding-block: clamp(var(--s-7), 6vw, var(--s-9));
}
.cta-band__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(var(--s-6), 5vw, var(--s-9));
  align-items: end;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: oklch(96% 0.01 70); max-width: 46ch; }

/* ---------- 15. Forms ---------- */
.form {
  display: grid;
  gap: var(--s-4);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field > label {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3) var(--s-4);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: var(--t-base);
  transition: border-color .2s var(--e-out);
}
.field textarea { min-height: 132px; resize: vertical; padding-top: var(--s-3); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-4); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px oklch(68.5% 0.17 62 / .16);
}
.field ::placeholder { color: var(--ink-3); opacity: 1; }

.section--dark .field input,
.section--dark .field select,
.section--dark .field textarea,
.section--deep .field input,
.section--deep .field select,
.section--deep .field textarea {
  background: oklch(31% 0.020 155);
  border-color: oklch(100% 0 0 / .18);
  color: #fff;
}
.section--dark .field > label,
.section--deep .field > label { color: oklch(78% 0.008 155); }
.section--dark .field ::placeholder,
.section--deep .field ::placeholder { color: oklch(70% 0.008 155); }

/* 客户类型 单选卡 */
.segmented { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.seg {
  position: relative;
  flex: 1 1 190px;
}
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; flex-direction: column; gap: 2px;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  font-size: var(--t-sm);
  font-weight: 500;
  transition: border-color .2s var(--e-out), background-color .2s var(--e-out);
}
.seg small { font-size: var(--t-xs); font-weight: 400; color: var(--ink-3); }
.seg input:checked + span {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  background: oklch(68.5% 0.17 62 / .06);
}
.seg input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }

.section--dark .seg span,
.section--deep .seg span {
  border-color: oklch(100% 0 0 / .22);
  color: var(--paper);
}
.section--dark .seg small,
.section--deep .seg small { color: oklch(74% 0.008 155); }
.section--dark .seg input:checked + span,
.section--deep .seg input:checked + span {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  background: oklch(68.5% 0.17 62 / .14);
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: oklch(84% 0.008 155);
  padding-top: clamp(var(--s-8), 7vw, var(--s-10));
  font-size: var(--t-sm);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(var(--s-6), 4vw, var(--s-8));
  padding-bottom: var(--s-8);
}
.foot-brand__mark { height: 24px; width: auto; margin-bottom: var(--s-4); }
.foot-brand p { max-width: 34ch; line-height: 1.7; }
.foot-h {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: oklch(66% 0.008 155);
  margin-bottom: var(--s-4);
}
.foot-list { display: flex; flex-direction: column; gap: var(--s-2); }
.foot-list a { transition: color .2s var(--e-out); }
.foot-list a:hover { color: var(--brand); }
.foot-legal {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--s-5) var(--s-6);
  display: flex; justify-content: space-between; gap: var(--s-4);
  flex-wrap: wrap;
  font-size: var(--t-xs);
  color: oklch(68% 0.008 155);
  line-height: 1.75;
}
.foot-legal__entity { max-width: 62ch; }
.foot-legal__entity strong { color: oklch(92% 0.006 155); font-weight: 600; }

/* ---------- 17. Page hero（内页顶部） ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(120px, 12vw, 176px);
  padding-bottom: clamp(var(--s-7), 6vw, var(--s-9));
  background: var(--forest);
  color: var(--paper);
  overflow: hidden;
}
.page-hero__media {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to right, oklch(20% 0.015 155 / .92) 0%, oklch(20% 0.015 155 / .62) 58%, oklch(20% 0.015 155 / .42) 100%);
}
/* 超宽横图首屏（如 oem 的户外烧烤柜 2.61）：窄屏下 hero 太高会把图竖着裁掉七成，
   产品整排看不见。此处改为「顶部图片条 + 下方文字区」，图按自身比例占满宽度，产品全露。
   只作用于挂了 --hero-band 的 hero，其它页面不受影响。 */
.page-hero--band { --band-ratio: 0.70; }
.page-hero--band .page-hero__media { inset: 0 0 auto 0; height: calc(100vw * var(--band-ratio)); }
.page-hero--band .page-hero__media img { height: 100%; object-position: center 30%; }
.page-hero--band .page-hero__media::after {
  background: linear-gradient(to bottom, oklch(20% 0.015 155 / .45) 0%, oklch(20% 0.015 155 / .30) 55%, oklch(20% 0.015 155 / .92) 100%);
}
.page-hero--band { padding-top: calc(100vw * var(--band-ratio) + 20px); }
@media (min-width: 900px) {
  .page-hero--band { --band-ratio: 0; padding-top: clamp(120px, 12vw, 176px); }
  .page-hero--band .page-hero__media { inset: 0; height: auto; }
  .page-hero--band .page-hero__media img { height: 100%; object-position: 50% 50%; }
  .page-hero--band .page-hero__media::after {
    background: linear-gradient(to right, oklch(20% 0.015 155 / .92) 0%, oklch(20% 0.015 155 / .62) 58%, oklch(20% 0.015 155 / .42) 100%);
  }
}

/* ---------- 18. Breadcrumbs / misc（面包屑等） ---------- */
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; margin-bottom: var(--s-5); }
.page-hero .lead { color: oklch(90% 0.008 155); }

/* 面包屑 */
.crumbs {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-mono);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: oklch(78% 0.008 155);
  margin-bottom: var(--s-5);
}
.crumbs a:hover { color: var(--brand); }
.crumbs span { opacity: .5; }

/* ---------- 18. 内容块工具 ---------- */
/* minmax(0,1fr) 而非 1fr：避免长内容把网格撑出视口导致横向溢出 */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(var(--s-5), 4vw, var(--s-7)); }
.grid-2 > * { min-width: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(var(--s-4), 3vw, var(--s-6)); }
.grid-3 > * { min-width: 0; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.grid-4 > * { min-width: 0; }

.rule-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s-5); flex-wrap: wrap;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-7);
}
.section--dark .rule-head,
.section--deep .rule-head { border-color: var(--line-dark); }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: var(--s-4) var(--s-3);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  white-space: nowrap;
}
.section--dark .spec-table th,
.section--dark .spec-table td,
.section--deep .spec-table th,
.section--deep .spec-table td { border-color: var(--line-dark); }
.section--dark .spec-table th,
.section--deep .spec-table th { color: oklch(72% 0.008 155); }

.note {
  border-left: 2px solid var(--brand);
  padding: var(--s-3) 0 var(--s-3) var(--s-4);
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.7;
}
.section--dark .note, .section--deep .note { color: oklch(84% 0.006 155); }

/* ---------- 18b. 大板编号卡（拆包取证 / 索赔流程共用） ---------- */
.claim-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: oklch(100% 0 0 / .22);
  border: 1px solid oklch(100% 0 0 / .22);
  margin-top: var(--s-6);
}
.claim-grid > * { min-width: 0; }
/* 深色区块上：卡片不能和背景同色，否则网格线看不见；用半透明叠加出层次 */
.claim-card { background: var(--forest-deep); padding: var(--s-5); }
.section--dark .claim-card,
.section--deep .claim-card { background: oklch(100% 0 0 / .045); }
.claim-card__k {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-2);
}
.claim-card__v {
  font-family: var(--f-display);
  font-size: var(--t-md);
  color: var(--paper);
  font-weight: 400;
  line-height: 1.3;
}
.claim-card__n {
  font-size: var(--t-xs);
  color: oklch(78% 0.006 155);
  margin-top: var(--s-2);
  line-height: 1.65;
}
/* 浅色版（用于白底区块）：退回实色 + 常规分隔线 */
.claim-grid--light { background: var(--line); border-color: var(--line); }
.claim-grid--light .claim-card,
.section .claim-grid--light .claim-card { background: var(--paper); }
.claim-grid--light .claim-card__v { color: var(--ink); }
.claim-grid--light .claim-card__n { color: var(--ink-2); }

/* 编号步骤列表 */
.claim-steps { list-style: none; padding: 0; margin: 0; counter-reset: cs; }
.claim-steps > li {
  counter-increment: cs;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-sm);
  color: var(--ink-2);
  line-height: 1.72;
}
.claim-steps > li:last-child { border-bottom: 0; }
.claim-steps > li::before {
  content: counter(cs, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--brand);
  padding-top: 3px;
}
.claim-steps strong { color: var(--ink); }
.section--dark .claim-steps > li,
.section--deep .claim-steps > li { border-color: var(--line-dark); color: oklch(82% 0.006 155); }
.section--dark .claim-steps strong,
.section--deep .claim-steps strong { color: var(--paper); }

/* ---------- 18c. 空间系列小卡（十大空间） ---------- */
.tspace {
  border-top: 2px solid var(--brand);
  padding: var(--s-4) 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.tspace__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--shell);
  margin-bottom: var(--s-4);
}
.tspace__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.tspace:hover .tspace__media img { transform: scale(1.035); }
.tspace__n {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: .12em;
  color: var(--ink-3);
  margin-bottom: var(--s-2);
}
.tspace h4 {
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: var(--s-2);
}
.tspace p { font-size: var(--t-sm); color: var(--ink-2); line-height: 1.68; }

.badge-row { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.badge {
  padding: 6px 11px;
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section--dark .badge, .section--deep .badge {
  border-color: oklch(100% 0 0 / .2);
  color: oklch(86% 0.006 155);
}

/* ---------- 19. 进场动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--e-out), transform .7s var(--e-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* 横滑容器内的元素不用位移进场，避免横向滚动时右侧卡片停留在 opacity:0 */
.rail [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: flex; margin-left: var(--s-4); }
  .nav__cta { margin-left: auto; }
  .site-header__inner { height: 68px; }
  html { scroll-padding-top: 78px; }
  .paths { grid-template-columns: 1fr; }
  .path + .path { border-left: 0; border-top: 1px solid var(--line); }
  .path { min-height: 0; }
  .feats { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse > *:first-child { order: 0; }
  .split__media,
  .split__media--tall { aspect-ratio: 4 / 3; width: 100%; }
  .statbar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .hero { min-height: 92svh; }
  .hero__scroll { display: none; }
}

@media (max-width: 620px) {
  .steps { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  /* 单列时 grid item 仍会按内容宽度撑开，必须显式约束 */
  .grid-2 > *, .grid-3 > *, .grid-4 > * { min-width: 0; width: 100%; max-width: 100%; }
  .split__media, .split__media--tall { width: 100%; max-width: 100%; }
  .foot-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__actions .btn { width: 100%; }
  .rail { grid-auto-columns: 78%; }
  .brand__cn, .brand__rule { display: none; }
  .foot-legal { flex-direction: column; }
  .seg { flex: 1 1 100%; }
  .claim-grid { grid-template-columns: 1fr; }
  .claim-card { padding: var(--s-4); }
}

/* 打印 */
@media print {
  .site-header, .mobile-nav, .hero__scroll, .rail__nav { display: none !important; }
  body { background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
