/* ============================================================
   孝义富景信息技术有限公司 · 官网样式
   暗场深底 / 冷白工业光 / 克制无浮夸特效
   ============================================================ */

:root {
  --bg: #0A0B0D;
  --bg-soft: #0D0F12;
  --panel: #101317;
  --panel-hi: #151A20;
  --line: rgba(255, 255, 255, 0.09);
  --line-soft: rgba(255, 255, 255, 0.055);
  --text: #E9EDF1;
  --text-2: #A7B1BB;
  --muted: #7C8792;
  --white: #F6F9FB;
  --cool: #BFD6E2;
  --cool-dim: rgba(191, 214, 226, 0.16);

  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Menlo", "Roboto Mono", "Courier New", monospace;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-cn);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--cool-dim); color: var(--white); }

:focus-visible {
  outline: 1px solid var(--cool);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 10px 16px;
  background: var(--white);
  color: #0A0B0D;
  font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ---------------- 通用文字件 ---------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.eyebrow .num {
  color: var(--cool);
  opacity: 0.85;
}
.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.lead {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  color: var(--text);
  letter-spacing: 0.015em;
}
.body-text {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-2);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(9, 10, 12, 0.86);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-logo {
  height: 34px;
  width: auto;
  opacity: 0.96;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white);
}
.brand-text span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 3px;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-link {
  position: relative;
  font-size: 13.5px;
  letter-spacing: 0.06em;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--cool);
  transition: width 0.3s var(--ease);
}
.nav-link:hover,
.nav-link.is-active { color: var(--white); }
.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.nav-cta {
  padding: 9px 18px;
  border: 1px solid var(--line);
  color: var(--white);
  font-size: 13px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-cta::after { display: none; }
.nav-cta:hover {
  border-color: rgba(191, 214, 226, 0.5);
  background: rgba(191, 214, 226, 0.07);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-2.5px) rotate(-45deg); }

/* ---------------- HERO ---------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 132px 0 96px;
  overflow: hidden;
  isolation: isolate;
}

/* 首屏 WebGL 帧格背景（手写 GLSL，Canvas 由 js/main.js 绘制） */
.hero-webgl {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero-webgl.is-ready { opacity: 1; }

.hero-grid {
  position: absolute;
  inset: -10% -10% 0 -10%;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 10%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 82%);
  mask-image: radial-gradient(120% 90% at 50% 10%, #000 0%, rgba(0, 0, 0, 0.35) 55%, transparent 82%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1100px 640px at 76% -6%, rgba(150, 195, 214, 0.17), transparent 62%),
    radial-gradient(780px 520px at 6% 14%, rgba(96, 138, 168, 0.13), transparent 66%),
    radial-gradient(900px 500px at 50% 108%, rgba(120, 160, 185, 0.07), transparent 70%);
}

.hero-inner { position: relative; z-index: 1; }

.hero-mark { margin-bottom: clamp(24px, 3vw, 36px); }
.hero-mark img {
  height: clamp(46px, 4.6vw, 62px);
  width: auto;
  opacity: 0.94;
}

.hero-title {
  font-size: clamp(2.05rem, 5.4vw, 4.05rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--white);
  max-width: 17em;
}
.hero-title .hl {
  color: var(--cool);
  position: relative;
  white-space: nowrap;
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 1px;
  background: linear-gradient(90deg, rgba(191, 214, 226, 0.75), rgba(191, 214, 226, 0));
}

.hero-sub {
  margin-top: clamp(24px, 3vw, 34px);
  max-width: 44em;
  font-size: clamp(14.5px, 1.25vw, 17px);
  line-height: 1.95;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 3.6vw, 44px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn-primary {
  background: var(--white);
  color: #08090B;
  font-weight: 600;
}
.btn-primary:hover {
  background: #FFFFFF;
  transform: translateY(-1px);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(191, 214, 226, 0.45);
  background: rgba(191, 214, 226, 0.06);
  transform: translateY(-1px);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 4vw, 56px);
  margin-top: clamp(44px, 6vw, 76px);
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.hero-tags li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.hero-tags .idx {
  color: var(--cool);
  opacity: 0.7;
}

.hero-scroll {
  position: absolute;
  right: var(--pad);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, transparent, rgba(191, 214, 226, 0.6));
}

/* ---------------- 章节骨架 ---------------- */

.section {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0;
}
.section-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  width: calc(100% - var(--pad) * 2);
  max-width: calc(var(--wrap) - var(--pad) * 2);
  margin: 0 auto;
  background: var(--line-soft);
}

.section-head { margin-bottom: clamp(38px, 5vw, 62px); }

.section-title {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  line-height: 1.42;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.005em;
  max-width: 24em;
}
.section-title b {
  font-weight: 600;
  color: var(--cool);
}

/* ---------------- 公司简介 ---------------- */

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.insight-list { border-top: 1px solid var(--line-soft); }
.insight-list li {
  display: flex;
  gap: 18px;
  padding: 20px 2px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease);
}
.insight-list li:hover { background: rgba(255, 255, 255, 0.018); }
.insight-no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--cool);
  opacity: 0.65;
  padding-top: 4px;
  flex: 0 0 auto;
}
.insight-list h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
}
.insight-list p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-2);
}

/* ---------------- 业务概览数字 ---------------- */

.stats-section { padding-top: clamp(8px, 1.5vw, 20px); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.stat {
  position: relative;
  background: var(--panel);
  padding: clamp(26px, 2.8vw, 38px) clamp(20px, 2.2vw, 30px);
  transition: background 0.35s var(--ease);
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cool);
  opacity: 0.75;
  transition: width 0.5s var(--ease);
}
.stat:hover { background: var(--panel-hi); }
.stat:hover::before { width: 100%; }

.stat-num {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  line-height: 1;
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-unit {
  font-family: var(--font-cn);
  font-size: 0.3em;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--cool);
  opacity: 0.85;
}
.stat-label {
  display: block;
  margin-top: 18px;
  font-size: 14px;
  color: var(--text);
  letter-spacing: 0.05em;
}
.stat-en {
  display: block;
  margin-top: 7px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* ---------------- 核心业务卡片 ---------------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.card {
  position: relative;
  background: var(--panel);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: background 0.35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cool);
  transition: width 0.5s var(--ease);
  opacity: 0.75;
}
.card:hover { background: var(--panel-hi); }
.card:hover::before { width: 100%; }

.card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(30px, 5vw, 52px);
}
.card-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cool);
  opacity: 0.7;
}
.card-en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-align: right;
  line-height: 1.5;
}
.card-title {
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.55;
}
.card-desc {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-2);
  flex: 1;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.card-tags li {
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 9px;
}

/* ---------------- 技术能力 ---------------- */

.cap-list { border-top: 1px solid var(--line-soft); }

.cap-row {
  display: grid;
  grid-template-columns: 56px minmax(200px, 300px) 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  padding: clamp(22px, 2.4vw, 30px) 2px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s var(--ease);
}
.cap-row:hover { background: rgba(255, 255, 255, 0.018); }

.cap-no {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--cool);
  opacity: 0.6;
  padding-top: 6px;
}
.cap-name {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.03em;
  padding-top: 1px;
}
.cap-name .en {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted);
}
.cap-desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--text-2);
  padding-top: 3px;
}

/* ---------------- 交付流程 ---------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.step {
  position: relative;
  background: var(--panel);
  padding: clamp(22px, 2.4vw, 30px) clamp(18px, 1.8vw, 24px) clamp(26px, 2.6vw, 34px);
  transition: background 0.35s var(--ease);
}
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cool);
  opacity: 0.8;
  transition: width 0.45s var(--ease);
}
.step:hover { background: var(--panel-hi); }
.step:hover::before { width: 100%; }

.step-no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cool);
  opacity: 0.7;
}
.step h3 {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
}
.step-en {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 5px;
}
.step-desc {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-2);
}

/* ---------------- 应用场景 ---------------- */

.cards-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.scene {
  background: var(--panel);
  padding: clamp(26px, 3.4vw, 44px);
  position: relative;
  transition: background 0.35s var(--ease);
}
.scene::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cool);
  opacity: 0.75;
  transition: width 0.45s var(--ease);
}
.scene:hover { background: var(--panel-hi); }
.scene:hover::before { width: 100%; }
.scene-no {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--cool);
  opacity: 0.65;
}
.scene h3 {
  margin-top: 16px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
}
.scene p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
  max-width: 34em;
}

/* ---------------- 关于我们 / 联系 ---------------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.facts {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.fact {
  background: var(--panel);
  padding: 18px 20px;
}
.fact dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd {
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.contact-card {
  background: var(--panel);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  transition: background 0.3s var(--ease);
}
.contact-card:not(.no-link):hover { background: var(--panel-hi); }
.contact-card:not(.no-link)::after {
  content: "→";
  position: absolute;
  right: 26px;
  top: 24px;
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-card:not(.no-link):hover::after {
  transform: translateX(4px);
  color: var(--cool);
}
.cc-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cc-value {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--white);
  letter-spacing: 0.02em;
}
.cc-value.placeholder {
  color: var(--text-2);
  border-bottom: 1px dashed rgba(191, 214, 226, 0.35);
  align-self: flex-start;
  padding-bottom: 2px;
}
.cc-hint {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------------- 页脚 ---------------- */

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(46px, 6vw, 72px) 0 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 60%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo {
  height: 42px;
  width: auto;
  opacity: 0.9;
}
.footer-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
}
.footer-en {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 4px;
}
.footer-slogan {
  grid-column: 1 / -1;
  margin-top: 6px;
  font-size: clamp(13.5px, 1.6vw, 16px);
  color: var(--text-2);
  letter-spacing: 0.06em;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  justify-content: flex-end;
  align-content: flex-start;
}
.footer-nav a {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.05em;
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover { color: var(--white); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

/* ---------------- 滚动进场（stagger 错开 + 统一 860ms） ---------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 860ms var(--ease) var(--reveal-delay, 0ms),
    transform 860ms var(--ease) var(--reveal-delay, 0ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* 首屏入场初始态：JS 加 .hero-anim 后被 Web Animations API 接管 */
.hero-anim [data-hero-item] { opacity: 0; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
  .cap-row { grid-template-columns: 48px 1fr; }
  .cap-desc { grid-column: 2 / -1; padding-top: 12px; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .header-inner { height: 64px; }
  .brand-text span { display: none; }

  .nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 22px;
    background: rgba(9, 10, 12, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line-soft);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-link {
    padding: 14px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-link::after { display: none; }
  .nav-cta {
    margin-top: 14px;
    text-align: center;
    border-bottom: 1px solid var(--line);
  }

  .nav-toggle { display: block; }

  .two-col,
  .contact-layout { grid-template-columns: 1fr; }
  .cards-3 { grid-template-columns: 1fr; }
  .card-top { margin-bottom: 26px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; padding-top: 22px; border-top: 1px solid var(--line-soft); }
  .hero-scroll { display: none; }
  .hero { padding-top: 108px; min-height: auto; padding-bottom: 76px; }

  /* 移动端降级：不跑 WebGL shader */
  .hero-webgl { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: clamp(2.1rem, 7vw, 2.8rem); }
}

@media (max-width: 680px) {
  body { font-size: 15px; }
  .hero-title { font-size: clamp(1.9rem, 7.6vw, 2.5rem); line-height: 1.36; }
  .hero-title .hl { white-space: normal; }
  .hero-tags { gap: 12px 22px; }
  .hero-tags li { font-size: 9.5px; }
  .hero-actions .btn { flex: 1 1 auto; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .cap-row { grid-template-columns: 34px 1fr; gap: 12px 14px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 400px) {
  .process-grid { grid-template-columns: 1fr; }
  .brand-logo { height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-anim [data-hero-item] { opacity: 1; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
