/* ==========================================================================
   河南鑫凯胜金属材料有限公司 · 站点设计系统
   Design system v1.0 — "Precision / 精度"
   无外部字体、无框架依赖。China-first：不依赖 Google Fonts / CDN。
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --ink:        #0A0C0F;
  --ink-2:      #11151A;
  --ink-3:      #1A1F26;
  --paper:      #FAFAF8;
  --paper-2:    #F1F2EE;
  --paper-3:    #E6E8E3;
  --text:       #0A0C0F;
  --text-2:     #3D454E;
  --muted:      #6A737D;
  --brand:      #0B4F9E;
  --brand-lt:   #1B6FD1;
  --signal:     #F2C200;
  --alum:       #C6CDD3;
  --line:       rgba(10, 12, 15, .13);
  --line-2:     rgba(10, 12, 15, .07);
  --line-dark:  rgba(255, 255, 255, .14);
  --line-dark-2:rgba(255, 255, 255, .07);

  /* Type */
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable",
          "Segoe UI", "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-num: "SF Mono", "SFMono-Regular", ui-monospace, "JetBrains Mono", Menlo, monospace;

  /* Space */
  --gut: 24px;
  --maxw: 1320px;
  --sect: clamp(72px, 9vw, 140px);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Radius — industrial: almost none */
  --r: 2px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--signal); color: #000; }

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

/* ---------- 3. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap-wide { max-width: 1680px; }

.sect { padding-block: var(--sect); }
.sect-tight { padding-block: clamp(48px, 6vw, 88px); }
.dark { background: var(--ink); color: #fff; }
.dark .muted { color: rgba(255, 255, 255, .55); }
.paper-2 { background: var(--paper-2); }

.grid { display: grid; gap: var(--gut); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

/* ---------- 4. Typography utilities ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-num);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: .5;
}
.dark .eyebrow { color: rgba(255, 255, 255, .6); }

.display {
  font-size: clamp(2.5rem, 6.6vw, 5.6rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.9rem);
  line-height: 1.06;
  letter-spacing: -.028em;
  font-weight: 600;
}
.h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  line-height: 1.25;
  letter-spacing: -.018em;
  font-weight: 600;
}
.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-2);
  max-width: 62ch;
  text-wrap: pretty;
}
.dark .lead { color: rgba(255, 255, 255, .72); }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.65; }
.mono { font-family: var(--font-num); font-variant-numeric: tabular-nums; }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }

.sect-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(32px, 4vw, 56px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.dark .sect-head { border-color: var(--line-dark); }
.sect-head .h2 { max-width: 18ch; }
.sect-head__aside { max-width: 42ch; color: var(--text-2); font-size: .95rem; }
.dark .sect-head__aside { color: rgba(255, 255, 255, .6); }

/* ---------- 5. Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: var(--r);
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease);
  position: relative;
  isolation: isolate;
}
.btn svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--signal { --btn-bg: var(--signal); --btn-fg: #0A0C0F; }
.btn--signal:hover { --btn-bg: #FFD42B; }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: currentColor;
  border: 1px solid var(--line-dark);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .07); }
.btn--line {
  --btn-bg: transparent; --btn-fg: var(--text);
  border: 1px solid var(--line);
}
.btn--line:hover { --btn-bg: var(--ink); --btn-fg: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
  transition: gap .3s var(--ease), opacity .3s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- 6. Header ---------- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r);
  transition: top .2s;
}
.skip:focus { top: 12px; }

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 76px;
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), height .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr__in {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.hdr.is-solid {
  height: 64px;
  background: rgba(250, 250, 248, .86);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.hdr.is-solid .brand__name, .hdr.is-solid .nav a, .hdr.is-solid .hdr__tel,
.hdr.is-solid .lang, .hdr.is-solid .burger { color: var(--text); }
.hdr.is-solid .brand__mark path { fill: var(--brand); }

/* header on dark hero */
.hdr--onDark { color: #fff; }
.hdr--onDark .brand__name, .hdr--onDark .nav a, .hdr--onDark .hdr__tel { color: #fff; }
.hdr--onDark .brand__mark path { fill: #fff; }
.hdr--onDark.is-solid .brand__mark path { fill: var(--brand); }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 26px; flex-shrink: 0; }
.brand__mark path { fill: var(--brand); transition: fill .3s var(--ease); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.02rem; font-weight: 700; letter-spacing: .06em; transition: color .3s; }
.brand__sub {
  font-size: 8.5px; letter-spacing: .13em; text-transform: uppercase;
  opacity: .55; font-family: var(--font-num); font-weight: 500; white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: .875rem; font-weight: 500; letter-spacing: .01em;
  position: relative; padding: 6px 0; transition: opacity .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.hdr__side { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.hdr__tel {
  font-family: var(--font-num); font-size: .875rem; font-weight: 600; letter-spacing: .01em;
  transition: color .3s; white-space: nowrap;
}
.lang {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-num); font-size: .75rem; letter-spacing: .08em;
  border: 1px solid currentColor; border-radius: 100px; padding: 5px 11px;
  opacity: .8; transition: opacity .25s, background .25s;
}
.lang:hover { opacity: 1; background: rgba(128, 128, 128, .12); }

.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  margin-right: -10px;
}
.burger span {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .35s var(--ease), background .2s;
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), top .25s;
}
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); color: #fff;
  padding: 108px var(--gut) 40px;
  transform: translateY(-100%);
  transition: transform .55s var(--ease-out);
  overflow-y: auto;
  visibility: hidden;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  padding: 20px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em;
  display: flex; justify-content: space-between; align-items: baseline;
}
.drawer nav a span { font-family: var(--font-num); font-size: .7rem; opacity: .4; letter-spacing: .1em; }
.drawer__foot { margin-top: 36px; display: flex; flex-direction: column; gap: 14px; font-size: .9rem; opacity: .7; }
.drawer__foot a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 6vw, 76px);
  padding-top: 120px;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%;
  filter: saturate(.72) contrast(1.06) brightness(.62);
  transform: scale(1.04);
  animation: heroDrift 26s var(--ease) forwards;
}
@keyframes heroDrift { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; transform: none; } }

.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(10, 12, 15, .96) 0%, rgba(10, 12, 15, .55) 34%, rgba(10, 12, 15, .18) 62%, rgba(10, 12, 15, .5) 100%),
    linear-gradient(100deg, rgba(10, 12, 15, .72) 0%, rgba(10, 12, 15, 0) 62%);
}
.hero__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000 80%, transparent);
}
.hero__in { position: relative; z-index: 2; width: 100%; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-num); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 28px; color: rgba(255, 255, 255, .82);
}
.hero__tag i {
  width: 7px; height: 7px; background: var(--signal); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(242, 194, 0, .18);
  animation: pulse 3.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(242, 194, 0, .18); }
  50% { box-shadow: 0 0 0 8px rgba(242, 194, 0, .04); }
}
.hero h1 {
  font-size: clamp(2.35rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
  max-width: 17ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--signal);
}
.hero__sub {
  margin-top: 26px;
  font-size: clamp(.98rem, 1.4vw, 1.16rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
  max-width: 52ch;
  text-wrap: pretty;
}
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero__foot {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.hero__stat span {
  display: block; margin-top: 5px;
  font-size: 12.5px; letter-spacing: .04em; color: rgba(255, 255, 255, .58);
}
.hero__stat b i {
  font-style: normal; font-size: .55em; font-weight: 500;
  letter-spacing: 0; margin-left: 6px; color: rgba(255, 255, 255, .62);
}
.hero__scroll {
  position: absolute; right: var(--gut); bottom: clamp(40px, 6vw, 76px); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-num); font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  writing-mode: vertical-rl;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 54px; background: rgba(255, 255, 255, .28);
  animation: scrollLine 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- 8. Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- 9. Page hero (inner pages) ---------- */
.phero {
  position: relative;
  padding-top: clamp(130px, 15vw, 190px);
  padding-bottom: clamp(48px, 6vw, 76px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.phero__bg { position: absolute; inset: 0; opacity: .28; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.7); }
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink) 4%, rgba(10, 12, 15, .62) 60%, rgba(10, 12, 15, .8));
}
.phero .wrap { position: relative; z-index: 2; }
.phero h1 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.02; letter-spacing: -.035em; text-wrap: balance;
  max-width: 20ch;
}
.phero p { margin-top: 22px; max-width: 54ch; color: rgba(255, 255, 255, .72); font-size: clamp(.98rem, 1.3vw, 1.1rem); text-wrap: pretty; }
.crumb {
  display: flex; gap: 8px; align-items: center; margin-bottom: 26px;
  font-family: var(--font-num); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.crumb a:hover { color: #fff; }
.crumb span { opacity: .4; }

/* ---------- 10. Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats__i {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
}
.stats__i:last-child { border-right: 0; }
.stats__i b {
  display: block; font-family: var(--font-num);
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 600;
  letter-spacing: -.045em; line-height: 1;
}
.stats__i b i { font-style: normal; font-size: .55em; color: var(--muted); margin-left: 3px; }
.stats__i span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }

/* ---------- 11. Product cards ---------- */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pcard {
  background: var(--paper);
  padding: 0;
  position: relative;
  display: flex; flex-direction: column;
  transition: background .4s var(--ease);
}
.pcard:hover { background: #fff; }
.pcard__img {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-3);
}
.pcard__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out), filter .6s var(--ease);
  filter: saturate(.85);
}
.pcard:hover .pcard__img img { transform: scale(1.045); filter: saturate(1); }
.pcard__body { padding: 24px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__no {
  font-family: var(--font-num); font-size: 11px; letter-spacing: .12em;
  color: var(--muted);
}
.pcard__body h3 { font-size: 1.16rem; letter-spacing: -.02em; }
.pcard__body p { font-size: .9rem; line-height: 1.65; color: var(--text-2); }
.pcard__meta {
  margin-top: auto; padding-top: 16px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.tag {
  font-family: var(--font-num); font-size: 10.5px; letter-spacing: .06em;
  padding: 4px 8px; border: 1px solid var(--line); color: var(--text-2);
  border-radius: 100px; white-space: nowrap;
}

/* ---------- 12. Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.split--rev > *:first-child { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.8) contrast(1.04); }
.split__media figcaption {
  margin-top: 12px; font-size: 11.5px; color: var(--muted);
  font-family: var(--font-num); letter-spacing: .04em;
}
.frame { position: relative; }
.frame::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--line); z-index: -1; pointer-events: none;
}
.dark .frame::after { border-color: var(--line-dark); }

/* ---------- 13. Spec list / table ---------- */
.spec { width: 100%; font-size: .9rem; }
.spec th, .spec td { padding: 13px 16px 13px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th {
  font-family: var(--font-num); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; padding-bottom: 11px;
  border-bottom: 1px solid var(--ink);
}
.spec td:first-child { font-weight: 600; white-space: nowrap; padding-right: 24px; }
.spec td.num, .spec th.num { white-space: nowrap; }
.spec tbody tr:hover { background: rgba(0, 0, 0, .018); }
.spec--dark th { color: rgba(255, 255, 255, .55); border-bottom-color: rgba(255, 255, 255, .8); }
.spec--dark td { border-bottom-color: var(--line-dark); }
.spec--dark tbody tr:hover { background: rgba(255, 255, 255, .03); }
.spec-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.spec-wrap > .spec { min-width: 100%; }   /* 按内容自然布局，超出时由容器横向滚动 */

/* ---------- 14. Timeline / process ---------- */
.proc { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-dark); border-block: 1px solid var(--line-dark); }
.proc__i { background: var(--ink); padding: 30px 22px 34px; position: relative; }
.proc__i::before {
  content: ""; position: absolute; top: 0; left: 22px; width: 26px; height: 2px; background: var(--signal);
}
.proc__i b { display: block; font-family: var(--font-num); font-size: 10.5px; letter-spacing: .14em; opacity: .45; margin-bottom: 18px; }
.proc__i h4, .proc__i h3 { font-size: 1.02rem; margin-bottom: 8px; letter-spacing: -.01em; }
.proc__i p { font-size: .84rem; line-height: 1.6; color: rgba(255, 255, 255, .55); }

/* ---------- 15. Marquee ---------- */
.marquee { overflow: hidden; padding-block: 22px; border-block: 1px solid var(--line); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 0; width: max-content; animation: slide 52s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 26px;
  padding-right: 26px;
  font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 500;
  letter-spacing: -.015em; color: var(--muted); white-space: nowrap;
}
.marquee__track span::after { content: ""; width: 5px; height: 5px; background: var(--signal); border-radius: 50%; flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- 16. Project grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pitem { background: var(--paper); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; transition: background .35s; }
.pitem:hover { background: #fff; }
.pitem b { font-size: .98rem; font-weight: 600; letter-spacing: -.01em; }
.pitem span { font-size: 12px; color: var(--muted); font-family: var(--font-num); letter-spacing: .03em; }

/* ---------- 17. Certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert { display: flex; flex-direction: column; gap: 14px; }
.cert img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center;
  border: 1px solid var(--line); background: #fff;
  transition: transform .6s var(--ease-out), box-shadow .4s;
}
.cert:hover img { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .3); }
.cert b { font-size: .875rem; font-weight: 600; }
.cert span { font-size: 11.5px; color: var(--muted); font-family: var(--font-num); letter-spacing: .04em; }

/* ---------- 18. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1rem, 1.4vw, 1.14rem); font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-num); font-size: 1.4rem; font-weight: 300;
  line-height: 1; color: var(--muted); transition: transform .35s var(--ease); flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 26px; max-width: 78ch; color: var(--text-2); font-size: .95rem; text-wrap: pretty; }
.faq p + p { padding-top: 0; }

/* ---------- 19. CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta__bg { position: absolute; inset: 0; opacity: .18; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 80% 0%, rgba(11, 79, 158, .5), transparent 60%); }
.cta .wrap { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.04; letter-spacing: -.035em; max-width: 18ch; }
.cta__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* ---------- 20. Footer ---------- */
.ftr { background: var(--ink); color: #fff; padding-top: clamp(56px, 7vw, 90px); font-size: .9rem; }
.ftr__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.ftr h4, .ftr__title {
  font-family: var(--font-num); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .42); font-weight: 600; margin-bottom: 20px;
}
.ftr ul { display: flex; flex-direction: column; gap: 11px; }
.ftr a { color: rgba(255, 255, 255, .72); transition: color .25s; }
.ftr a:hover { color: #fff; }
.ftr__brand p { color: rgba(255, 255, 255, .5); max-width: 34ch; margin-top: 20px; line-height: 1.7; }
.ftr__nap { color: rgba(255, 255, 255, .72); display: flex; flex-direction: column; gap: 12px; }
.ftr__nap b { color: #fff; font-weight: 600; }
.ftr__legal {
  border-top: 1px solid var(--line-dark);
  padding-block: 24px 30px;
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: 12px; color: rgba(255, 255, 255, .38);
  font-family: var(--font-num); letter-spacing: .02em;
}

/* ---------- 21. Misc ---------- */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .hr { background: var(--line-dark); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 100px;
  font-size: 12.5px; color: var(--text-2);
}
.pill i { width: 5px; height: 5px; background: var(--signal); border-radius: 50%; }
.dark .pill { border-color: var(--line-dark); color: rgba(255, 255, 255, .72); }

.note {
  border-left: 2px solid var(--signal); padding: 4px 0 4px 18px;
  font-size: .875rem; color: var(--muted); max-width: 60ch;
}

.anchor-nav {
  position: sticky; top: 64px; z-index: 20;
  background: rgba(250, 250, 248, .92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 28px; overflow-x: auto; padding-block: 14px;
  scrollbar-width: none;
}
.anchor-nav::-webkit-scrollbar { display: none; }
.anchor-nav a {
  font-size: .85rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  padding-bottom: 2px; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s;
}
.anchor-nav a:hover { color: var(--text); border-bottom-color: var(--text); }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 24px; }
  .hdr__tel { display: none; }
}

@media (max-width: 1024px) {
  .nav, .hdr__side .lang { display: none; }
  .burger { display: flex; }
  .hdr__side { gap: 8px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcards { grid-template-columns: repeat(2, 1fr); }
  .proc { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--rev > *:first-child { order: 0; }
  .hero__foot { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__i { border-bottom: 1px solid var(--line); }
  .stats__i:nth-child(2n) { border-right: 0; }
  .sect-head { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 760px) {
  :root { --gut: 20px; }
  .hero { min-height: 92svh; padding-top: 96px; }
  .hero__scroll { display: none; }
  .hero__grid { background-size: 25% 100%; }
  .g-2, .g-3, .pcards, .pgrid { grid-template-columns: 1fr; }
  .proc { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ftr__top { grid-template-columns: 1fr; gap: 32px; }
  .ftr__legal { flex-direction: column; gap: 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__foot { grid-template-columns: repeat(2, 1fr); }
  .h2 { font-size: clamp(1.5rem, 7vw, 2rem); }
  .sect { padding-block: clamp(56px, 12vw, 76px); }
  .phero { padding-top: 118px; }
  .frame::after { display: none; }
  .brand__sub { display: none; }
}

@media (max-width: 400px) {
  .hero__foot { grid-template-columns: 1fr 1fr; }
  .stats__i { padding-right: 12px; }
}

/* ---------- 23. Print ---------- */
@media print {
  .hdr, .drawer, .hero__scroll, .marquee, .cta { display: none !important; }
  body { background: #fff; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
}

/* ==========================================================================
   v2 追加：锚点导航 / 文章排版 / 知识库 / 移动端底栏 / 页面转场
   ========================================================================== */

/* ---------- 锚点导航（修正嵌套 flex） ---------- */
.anchor-nav { padding-block: 0; }
.anchor-nav__in {
  display: flex; gap: 28px; overflow-x: auto; padding-block: 15px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.anchor-nav__in::-webkit-scrollbar { display: none; }
.anchor-nav__in a { flex: 0 0 auto; }
@media (max-width: 760px) {
  .anchor-nav__in { gap: 20px; padding-inline: var(--gut); }
}

/* ---------- 文章正文排版 ---------- */
.article { max-width: 74ch; }
.article > p {
  font-size: 1.02rem; line-height: 1.85; color: var(--text-2);
  margin-bottom: 1.35em; text-wrap: pretty;
}
.article > h2, .article > h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin: 2.2em 0 .8em; letter-spacing: -.015em;
  padding-top: .2em;
}
.article > h2 + p, .article > h3 + p { margin-top: 0; }
.article strong { color: var(--text); font-weight: 600; }
.article em { font-style: normal; background: linear-gradient(transparent 62%, rgba(242,194,0,.35) 62%); }
.article table { margin: 1.6em 0 1.8em; font-size: .92rem; }
.article .spec td { padding-block: 12px; }
.article .spec th { font-size: 10.5px; }
.article > p:last-child { margin-bottom: 0; }

/* ---------- 知识库列表（英文单页版） ---------- */
.kb-list { display: flex; flex-direction: column; gap: 0; }
.kb-sec {
  padding: 40px 0; border-bottom: 1px solid var(--line);
  max-width: 80ch;
}
.kb-sec:first-child { padding-top: 0; }
.kb-sec h2 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }

/* ---------- 表单 ---------- */
.hp {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; opacity: 0; pointer-events: none;
}
form input, form textarea {
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
form input:focus, form textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11,79,158,.12);
}
form input:user-invalid, form textarea:user-invalid { border-color: #C0392B; }

/* ---------- 移动端底部操作栏 ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: rgba(10,12,15,.94);
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    border-top: 1px solid rgba(255,255,255,.12);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 10px 0 9px;
    font-size: 11.5px; letter-spacing: .04em; color: rgba(255,255,255,.86);
    border-right: 1px solid rgba(255,255,255,.08);
  }
  .mobile-bar a:last-child { border-right: 0; }
  .mobile-bar svg { width: 19px; height: 19px; }
  .mobile-bar a:active { background: rgba(255,255,255,.08); }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .ftr { padding-bottom: 8px; }
}

/* ---------- 页面转场（View Transitions API） ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: vtOut .22s var(--ease) both; }
  ::view-transition-new(root) { animation: vtIn .32s var(--ease-out) both; }
  @keyframes vtOut { to { opacity: 0; } }
  @keyframes vtIn { from { opacity: 0; transform: translateY(8px); } }
}

/* ---------- 滚动锚点偏移 ---------- */
section[id], [id].pcard, .kb-sec { scroll-margin-top: 92px; }

/* ---------- 卡片箭头微交互 ---------- */
.pcard::after {
  content: ""; position: absolute; top: 18px; right: 20px;
  width: 22px; height: 1px; background: var(--text);
  opacity: 0; transform: translateX(-6px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.pcard:hover::after { opacity: .55; transform: none; }

/* ---------- 表格数字对齐 ---------- */
.spec td.num { text-align: left; }

/* ---------- 打印 ---------- */
@media print {
  .mobile-bar { display: none !important; }
  body { padding-bottom: 0; }
}

/* 锚点导航当前项 */
.anchor-nav__in a.is-active { color: var(--text); border-bottom-color: var(--text); }

/* ---------- v3 修复：grid/flex 子项最小宽度（防止 1fr 被表格撑破） ---------- */
.split > *, .grid > *, .pcards > *, .pgrid > *, .certs > *, .proc > *,
.hero__foot > *, .stats > *, .ftr__top > * { min-width: 0; }
.split__media, .split__media img, figure { min-width: 0; }
.spec-wrap { max-width: 100%; }
.article { min-width: 0; }
.article .spec-wrap { margin-inline: 0; }
@media (max-width: 760px) {
  .split > *, .grid > * { min-width: 0; }
  .phero h1, .hero h1 { overflow-wrap: anywhere; }
}

/* ---------- v4 可访问性：触摸目标 ≥ 24×24（WCAG 2.5.8 AA） ---------- */
.ftr ul li a,
.ftr__nap a,
.crumb a,
a.num,
.ftr__legal a { display: inline-block; padding-block: 5px; }
.brand { padding-block: 4px; }
.ftr ul li { margin-bottom: 2px; }
.spec a { display: inline-block; padding-block: 5px; }

/* ---------- v4：主行动按钮最小触摸高度 44px（桌面端同样受益） ---------- */
.btn { min-height: 44px; }
.btn--line, .btn--ghost, .btn--signal { min-height: 44px; }
.hdr__tel { padding-block: 6px; }

/* Hero 关键词行（H1 首行小字，兼顾 SEO 与视觉） */
.hero__kl {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(.62rem, .95vw, .78rem);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 14px;
}

/* 宽表格（表头 ≥4 列）在窄屏横向滚动，避免列被压缩成竖排文字 */
@media (max-width: 760px) {
  .spec-wrap > table[data-wide="1"] { min-width: 560px; }
}

/* 页脚法务链接 */
.ftr__legal-links { display: flex; gap: 18px; }
.ftr__legal-links a { color: inherit; }
.ftr__legal-links a:hover { color: rgba(255,255,255,.9); }
/* 文章元信息行 */
.article__meta {
  font-size: 12.5px; letter-spacing: .04em; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}

/* ---------- GEO：答案前置 / 参考资料 / 直接回答 ---------- */
.answer {
  font-size: 1.05rem; line-height: 1.75; font-weight: 500;
  color: var(--text); margin: 0 0 1.5em;
  padding: 16px 20px; background: rgba(11,79,158,.05);
  border-left: 3px solid var(--brand); text-wrap: pretty;
}
.tldr {
  margin: 0 0 40px; padding: 22px 24px;
  background: var(--paper-2, #F3F2EE); border: 1px solid var(--line);
}
.tldr__label {
  font-family: var(--font-num); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
.tldr p { font-size: 1.02rem; line-height: 1.7; color: var(--text-2); margin: 0; }
.refs { margin: 0 0 1.2em; padding-left: 1.4em; }
.refs li { margin-bottom: .5em; font-size: .96rem; line-height: 1.7; color: var(--text-2); }
.refs strong { color: var(--text); font-weight: 600; }
.byline {
  display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center;
  font-size: 12.5px; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}
.byline b { color: var(--text-2); font-weight: 600; }
