/* ============================================================
   元启明 YQM · 官网首页
   媒体优先 · 近黑 / 深石墨 / 暖白 / 矿物灰 + 冰川蓝青强调
   ============================================================ */

/* ---------- 自托管字体（西文/数字，中文走系统栈） ---------- */
@font-face {
  font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latest-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-weight: 500; font-style: normal;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latest-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latest-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans"; font-weight: 700; font-style: normal;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latest-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latest-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latest-latin-500-normal.woff2") format("woff2");
}

:root {
  --bg: #0d0e0f;
  --graphite: #141619;
  --graphite-2: #1a1d21;
  --ink: #f1efe9;
  --mineral: #9ba1a7;
  --mineral-2: #646a71;
  --accent: #79d2de;
  --accent-ink: #0d0e0f;
  --line: rgba(241, 239, 233, 0.09);
  --line-strong: rgba(241, 239, 233, 0.16);
  --font: "IBM Plex Sans", "Inter", "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", "SF Mono", ui-monospace, Consolas, monospace;
  --nav-h: 72px;
  --gutter: 48px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- 胶片噪点：让深色有材料感 ---------- */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 照片统一调色 ---------- */
.hero-poster, .hero-video,
.ind-item img, .ind-wide img,
.veh-banner img, .veh-thumb img {
  filter: saturate(0.82) contrast(1.06) brightness(0.92);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.wrap {
  width: min(1440px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

/* ---------- 轻微淡入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 工程图纸式四角刻度 ---------- */
.ticks { position: relative; }
.ticks::before {
  content: ""; position: absolute; inset: 10px; z-index: 4;
  pointer-events: none;
  --t: rgba(241, 239, 233, 0.45);
  background:
    linear-gradient(var(--t), var(--t)) left 0 top 0 / 11px 1px,
    linear-gradient(var(--t), var(--t)) left 0 top 0 / 1px 11px,
    linear-gradient(var(--t), var(--t)) right 0 top 0 / 11px 1px,
    linear-gradient(var(--t), var(--t)) right 0 top 0 / 1px 11px,
    linear-gradient(var(--t), var(--t)) left 0 bottom 0 / 11px 1px,
    linear-gradient(var(--t), var(--t)) left 0 bottom 0 / 1px 11px,
    linear-gradient(var(--t), var(--t)) right 0 bottom 0 / 11px 1px,
    linear-gradient(var(--t), var(--t)) right 0 bottom 0 / 1px 11px;
  background-repeat: no-repeat;
}

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(13, 14, 15, 0.86);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  width: min(1440px, calc(100% - var(--gutter) * 2));
  height: 100%; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 22px; height: 22px; flex: none;
  border: 2px solid var(--accent); border-radius: 4px;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; inset: 4.5px;
  background: var(--accent); border-radius: 1px;
}
.brand-name { font-weight: 700; font-size: 16.5px; letter-spacing: 0.02em; line-height: 1.25; }
.brand-name em {
  display: block; font-style: normal; font-family: var(--mono);
  font-size: 8.5px; letter-spacing: 0.3em; color: var(--mineral-2); font-weight: 400;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--mineral); transition: color 0.25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a i {
  font-style: normal; font-family: var(--mono); font-size: 9.5px;
  color: var(--mineral-2); margin-right: 7px; letter-spacing: 0.04em;
}
.nav-links a.nav-cta {
  color: var(--accent-ink); background: var(--accent);
  padding: 9px 20px; border-radius: 3px; font-weight: 600;
  transition: background 0.25s, transform 0.25s;
}
.nav-links a.nav-cta:hover { background: #93dde7; transform: translateY(-1px); }
.nav-progress {
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--accent); opacity: 0.75;
}
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: 0.3s; }
.nav-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ============================================================
   首屏：完整一个视口，含导航
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-poster, .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-video { z-index: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(13, 14, 15, 0.82) 0%, rgba(13, 14, 15, 0.45) 46%, rgba(13, 14, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(13, 14, 15, 0.45) 0%, rgba(13, 14, 15, 0.05) 34%, rgba(13, 14, 15, 0.78) 88%);
}
.hero-inner {
  position: relative; z-index: 3;
  display: flex; flex-direction: column;
  padding-bottom: 40px;
}
.hero-copy { padding-bottom: clamp(48px, 8vh, 110px); max-width: 780px; }
.kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.26em;
  color: var(--accent); margin-bottom: 26px;
  display: flex; align-items: center; gap: 14px;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--accent); }
.hero-title {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero-sub {
  max-width: 600px; font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(241, 239, 233, 0.82); margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 28px; border-radius: 3px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #93dde7; transform: translateY(-1px); }
.btn-line { border-color: rgba(241, 239, 233, 0.35); color: var(--ink); background: rgba(13, 14, 15, 0.25); }
.btn-line:hover { border-color: var(--ink); }
.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(241, 239, 233, 0.18);
  padding-top: 22px; gap: 24px;
}
.hero-meta-item b {
  display: block; font-size: clamp(16px, 1.6vw, 21px); font-weight: 700;
  letter-spacing: -0.01em; font-variant-numeric: tabular-nums;
}
.hero-meta-item span { font-size: 12.5px; color: rgba(241, 239, 233, 0.6); }

/* 滚动提示 */
.hero-scroll {
  position: absolute; right: var(--gutter); bottom: 40px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll span {
  writing-mode: vertical-rl;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.34em;
  color: rgba(241, 239, 233, 0.5);
}
.hero-scroll i {
  width: 1px; height: 52px;
  background: rgba(241, 239, 233, 0.18);
  position: relative; overflow: hidden;
}
.hero-scroll i::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%;
  background: var(--accent);
  animation: scrollLine 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
@keyframes scrollLine {
  0% { top: -40%; }
  60%, 100% { top: 110%; }
}

/* ============================================================
   通用 section
   ============================================================ */
.section { padding: clamp(88px, 10vw, 140px) 0; border-top: 1px solid var(--line); }
.section-alt { background: var(--graphite); }
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px; row-gap: 18px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.sec-index {
  grid-column: 1 / -1;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.24em;
  color: var(--mineral-2);
  display: flex; align-items: center; gap: 12px;
}
.sec-index::before {
  content: ""; width: 18px; height: 1px;
  background: var(--accent); flex: none;
}
.sec-title {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.22; font-weight: 700; letter-spacing: -0.015em;
}
.sec-desc { color: var(--mineral); font-size: 15.5px; max-width: 480px; justify-self: end; }

/* ============================================================
   01 核心能力：左列表 + 右媒体
   ============================================================ */
.cap-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.cap-list { border-top: 1px solid var(--line-strong); }
.cap-row {
  display: flex; gap: 24px; width: 100%;
  padding: 26px 4px; text-align: left;
  background: none; border: 0; border-bottom: 1px solid var(--line);
  color: inherit; font-family: inherit; cursor: pointer;
  transition: background 0.25s;
}
.cap-row:hover { background: rgba(241, 239, 233, 0.02); }
.cap-no {
  font-family: var(--mono); font-size: 12px; color: var(--mineral-2);
  padding-top: 6px; transition: color 0.25s; flex: none;
}
.cap-row.active .cap-no { color: var(--accent); }
.cap-name {
  display: block; font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  margin-bottom: 8px; color: var(--mineral);
  transition: color 0.25s;
}
.cap-row.active .cap-name, .cap-row:hover .cap-name { color: var(--ink); }
.cap-text {
  display: block; font-size: 14.5px; line-height: 1.75; color: var(--mineral);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, margin 0.45s ease;
}
.cap-row.active .cap-text { max-height: 200px; opacity: 1; margin-bottom: 14px; }
.cap-tags { display: none; flex-wrap: wrap; gap: 8px; }
.cap-row.active .cap-tags { display: flex; }
.cap-tags i {
  font-style: normal; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.06em; color: var(--mineral);
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 4px 12px;
}
.cap-mobile-img { display: none; }

.cap-panel {
  position: sticky; top: calc(var(--nav-h) + 32px);
  aspect-ratio: 4 / 3.4;
  border: 1px solid var(--line); border-radius: 8px;
  overflow: hidden; background: var(--graphite);
}
.cap-panel-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; object-position: center;
  background: #101214;
  opacity: 0; transition: opacity 0.5s ease;
}
.cap-panel-img.active { opacity: 1; }
.cap-panel-devices {
  display: flex; align-items: center; justify-content: center; gap: 4%;
  background: #e8e6e1; padding: 8%;
}
.cap-panel-devices img {
  position: static; width: 30%; height: auto; opacity: 1;
  mix-blend-mode: multiply;
}
.cap-panel-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 14px 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em;
  color: rgba(241, 239, 233, 0.85);
  background: linear-gradient(180deg, transparent, rgba(13, 14, 15, 0.72));
}

/* ============================================================
   03 边缘计算：非对称媒体网格
   ============================================================ */
.ind-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 24px;
  margin-bottom: 24px;
}
.ind-item {
  position: relative; overflow: hidden; border-radius: 8px;
  border: 1px solid var(--line); background: var(--graphite-2);
}
.ind-item img { width: 100%; height: 100%; object-fit: cover; }
.ind-feature { grid-row: span 2; }
.ind-item:not(.ind-feature) { aspect-ratio: 16 / 8.6; }
.ind-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 20px 22px 18px;
  background: linear-gradient(180deg, transparent, rgba(13, 14, 15, 0.88) 55%);
}
.ind-item figcaption b { display: block; font-size: 17px; margin-bottom: 4px; }
.ind-item figcaption p { font-size: 13px; color: rgba(241, 239, 233, 0.78); max-width: 520px; }
.ind-tag {
  display: inline-block; margin-top: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--accent);
}
.ind-wide {
  position: relative; overflow: hidden; border-radius: 8px;
  border: 1px solid var(--line);
  aspect-ratio: 21 / 7;
}
.ind-wide img { width: 100%; height: 100%; object-fit: cover; }
.ind-wide figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 28px 32px 24px;
  background: linear-gradient(180deg, transparent, rgba(13, 14, 15, 0.88) 60%);
}
.ind-wide figcaption b { display: block; font-size: 19px; margin-bottom: 4px; }
.ind-wide figcaption p { font-size: 14px; color: rgba(241, 239, 233, 0.78); }

/* ============================================================
   02 智慧交通
   ============================================================ */
.veh-banner {
  position: relative;
  width: min(1600px, calc(100% - var(--gutter)));
  margin: 0 auto clamp(48px, 6vw, 80px);
  aspect-ratio: 21 / 8;
  overflow: hidden; border-radius: 8px; border: 1px solid var(--line);
}
.veh-banner img { width: 100%; height: 100%; object-fit: cover; }
.veh-banner figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: 16px 24px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em;
  color: rgba(241, 239, 233, 0.85);
  background: linear-gradient(90deg, rgba(13, 14, 15, 0.7), transparent);
}
.veh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.veh-thumb {
  display: block; overflow: hidden;
  border-radius: 8px; border: 1px solid var(--line);
  margin-bottom: 22px;
}
.veh-thumb img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
}

/* 媒体悬停微反馈 */
.ind-item img, .ind-wide img, .veh-banner img, .veh-thumb img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.ind-item:hover img, .ind-wide:hover img,
.veh-banner:hover img, .veh-item:hover .veh-thumb img {
  transform: scale(1.03);
}
.ind-item figcaption, .ind-wide figcaption {
  transition: transform 0.5s ease;
}
.ind-item:hover figcaption, .ind-wide:hover figcaption {
  transform: translateY(-3px);
}
.veh-item h3 { font-size: 21px; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.01em; }
.veh-item h3 span { font-size: 13px; font-weight: 400; color: var(--mineral-2); margin-left: 10px; letter-spacing: 0; }
.veh-item > p { font-size: 14px; color: var(--mineral); margin-bottom: 16px; }
.veh-item ul { list-style: none; border-top: 1px solid var(--line); }
.veh-item li {
  font-size: 13px; color: var(--mineral);
  padding: 9px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
}
.veh-item li::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 1px; flex: none; }

/* ============================================================
   04 模型交付链路
   ============================================================ */
.chain {
  list-style: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-strong);
}
.chain-step {
  padding: 28px 24px 8px 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.chain-step + .chain-step { padding-left: 24px; }
.chain-step:last-child { border-right: 0; }
.chain-step::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 42px; height: 1px; background: var(--accent);
}
.chain-no {
  font-family: var(--mono); font-size: 12px; color: var(--accent);
  display: block; margin-bottom: 20px; letter-spacing: 0.1em;
}
.chain-step h3 { font-size: 17px; margin-bottom: 8px; }
.chain-step p { font-size: 13px; color: var(--mineral); }

/* ============================================================
   05 合作方式
   ============================================================ */
.partner-list { border-top: 1px solid var(--line-strong); }
.partner-row {
  display: grid; grid-template-columns: 200px 1fr 280px;
  gap: 40px; align-items: baseline;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}
.partner-row:hover { background: rgba(241, 239, 233, 0.02); }
.partner-row h3 { font-size: 20px; font-weight: 700; }
.partner-row p { font-size: 14.5px; color: var(--mineral); }
.partner-row span { font-size: 12.5px; color: var(--mineral-2); text-align: right; font-family: var(--mono); letter-spacing: 0.02em; }

/* ============================================================
   项目咨询
   ============================================================ */
.contact {
  padding: clamp(96px, 12vw, 170px) 0;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 78% 20%, rgba(121, 210, 222, 0.07), transparent 70%),
    var(--graphite);
}
.contact-title {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.2; font-weight: 700; letter-spacing: -0.02em;
  margin: 20px 0 18px;
}
.contact-note { color: var(--mineral); font-size: 15.5px; margin-bottom: 44px; }
.contact-mail {
  display: inline-block;
  font-size: clamp(30px, 5vw, 72px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 10px; margin-bottom: 64px;
  transition: color 0.3s, border-color 0.3s;
  word-break: break-all;
}
.contact-mail:hover { color: var(--accent); border-color: var(--accent); }
.contact-entries {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}
.contact-entry {
  padding: 26px 24px 4px 0;
  border-right: 1px solid var(--line);
  transition: background 0.25s;
}
.contact-entry + .contact-entry { padding-left: 24px; }
.contact-entry:last-child { border-right: 0; }
a.contact-entry:hover b { color: var(--accent); }
.contact-entry span {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--mineral-2); margin-bottom: 10px;
}
.contact-entry b { font-size: clamp(16px, 1.5vw, 20px); font-weight: 600; transition: color 0.25s; word-break: break-all; }

/* ============================================================
   页脚
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 44px 0 0; position: relative; overflow: hidden; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; padding-bottom: 44px; }
.footer-watermark {
  position: relative; z-index: 0;
  font-weight: 700; font-size: clamp(140px, 24vw, 340px);
  line-height: 0.72; letter-spacing: -0.02em;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(241, 239, 233, 0.07);
  user-select: none; pointer-events: none;
  margin-bottom: -0.18em;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand p { font-size: 14px; font-weight: 600; line-height: 1.5; }
.footer-brand em { display: block; font-style: normal; font-size: 12px; color: var(--mineral-2); font-weight: 400; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--mineral); }
.footer-nav a:hover { color: var(--ink); }
.footer-copy { width: 100%; font-size: 12px; color: var(--mineral-2); }
.footer-copy-separator { margin: 0 8px; }
.footer-copy a { transition: color 0.2s; }
.footer-copy a:hover { color: var(--ink); }

/* ============================================================
   响应式 · 平板
   ============================================================ */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-desc { justify-self: start; }
  .cap-layout { grid-template-columns: 1fr; }
  .cap-panel { display: none; }
  .cap-text { max-height: none; opacity: 1; margin-bottom: 14px; }
  .cap-tags { display: flex; }
  .cap-mobile-img {
    display: block; width: 100%; height: auto;
    border-radius: 8px; border: 1px solid var(--line);
    margin-top: 16px;
  }
  .cap-devices.cap-mobile-img {
    display: flex; align-items: center; justify-content: center; gap: 4%;
    background: #e8e6e1; padding: 6% 4%; aspect-ratio: 16 / 8;
  }
  .cap-devices img { width: 29%; height: auto; mix-blend-mode: multiply; }
  .ind-grid { grid-template-columns: 1fr; }
  .ind-feature { grid-row: auto; aspect-ratio: 16 / 9; }
  .ind-wide { aspect-ratio: 16 / 8; }
  .veh-grid { grid-template-columns: 1fr; gap: 48px; max-width: 640px; }
  .chain { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .chain-step:nth-child(2n) { border-right: 0; }
  .chain-step:last-child { grid-column: 1 / -1; }
  .partner-row { grid-template-columns: 160px 1fr; }
  .partner-row span { grid-column: 2; text-align: left; }
  .contact-entries { grid-template-columns: 1fr; }
  .contact-entry { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .contact-entry + .contact-entry { padding-left: 0; }
  .contact-entry:last-child { border-bottom: 0; }
}

/* ============================================================
   响应式 · 手机
   ============================================================ */
@media (max-width: 720px) {
  :root { --gutter: 20px; --nav-h: 64px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13, 14, 15, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav-links a.nav-cta { border: 0; text-align: center; margin-top: 14px; padding: 13px; }
  .nav-toggle { display: block; }
  .kicker { letter-spacing: 0.16em; }
  .hero-scroll { display: none; }
  .hero { min-height: 560px; }
  .hero-inner { padding-bottom: 28px; }
  .hero-copy { padding-bottom: 40px; }
  .hero-meta { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .chain { grid-template-columns: 1fr; }
  .chain-step { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0 18px; }
  .chain-step + .chain-step { padding-left: 0; }
  .chain-step:last-child { border-bottom: 0; }
  .partner-row { grid-template-columns: 1fr; gap: 8px; padding: 24px 4px; }
  .partner-row span { grid-column: auto; }
  .ind-item:not(.ind-feature) { aspect-ratio: 16 / 10; }
  .ind-wide { aspect-ratio: 16 / 11; }
  .veh-banner { width: calc(100% - var(--gutter) * 2); aspect-ratio: 16 / 9; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   降低动效偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   THEME LAB（临时预览用，后续按此标记整块删除）
   用法：在 <html data-theme="dark|paper|forest"> 上切换
   ============================================================ */
:root {
  --nav-bg: rgba(13, 14, 15, 0.86);
  --nav-menu-bg: rgba(13, 14, 15, 0.98);
  --accent-hover: #93dde7;
  --watermark-stroke: rgba(241, 239, 233, 0.07);
}

/* 纸白 · 浅色工业 */
:root[data-theme="paper"] {
  --bg: #ecebe7;
  --graphite: #e3e1db;
  --graphite-2: #dad8d2;
  --ink: #16181b;
  --mineral: #565c63;
  --mineral-2: #868c93;
  --accent: #0f7e8c;
  --accent-ink: #f4f3ef;
  --accent-hover: #1295a5;
  --line: rgba(22, 24, 27, 0.1);
  --line-strong: rgba(22, 24, 27, 0.18);
  --nav-bg: rgba(236, 235, 231, 0.88);
  --nav-menu-bg: rgba(236, 235, 231, 0.98);
  --watermark-stroke: rgba(22, 24, 27, 0.08);
}

/* 松绿 · 深墨绿 + 琥珀 */
:root[data-theme="forest"] {
  --bg: #0e120f;
  --graphite: #131914;
  --graphite-2: #182019;
  --ink: #edefe8;
  --mineral: #96a199;
  --mineral-2: #5f6a62;
  --accent: #d9b04c;
  --accent-ink: #0e120f;
  --accent-hover: #e8c46a;
  --line: rgba(237, 239, 232, 0.09);
  --line-strong: rgba(237, 239, 232, 0.16);
  --nav-bg: rgba(14, 18, 15, 0.86);
  --nav-menu-bg: rgba(14, 18, 15, 0.98);
  --watermark-stroke: rgba(237, 239, 232, 0.07);
}

/* 柠绿 · 第一版配色（近黑 + 荧光绿 #c8f04b） */
:root[data-theme="lime"] {
  --bg: #0b0d10;
  --graphite: #0e1114;
  --graphite-2: #12151a;
  --ink: #e8eaec;
  --mineral: #9aa1ab;
  --mineral-2: #5c646e;
  --accent: #c8f04b;
  --accent-ink: #0b0d10;
  --accent-hover: #d8f56f;
  --line: rgba(232, 234, 236, 0.09);
  --line-strong: rgba(232, 234, 236, 0.16);
  --nav-bg: rgba(11, 13, 16, 0.86);
  --nav-menu-bg: rgba(11, 13, 16, 0.98);
  --watermark-stroke: rgba(232, 234, 236, 0.07);
}

/* 切换后引用变量的硬编码处 */
.nav.scrolled { background: var(--nav-bg); }
.nav-links a.nav-cta:hover, .btn-accent:hover { background: var(--accent-hover); }
.footer-watermark { -webkit-text-stroke-color: var(--watermark-stroke); }

/* 切换器挂件 */
.theme-lab {
  position: fixed; right: 18px; bottom: 18px; z-index: 1000;
  display: flex; gap: 2px;
  background: var(--graphite);
  border: 1px solid var(--line-strong);
  border-radius: 3px; overflow: hidden;
}
.theme-lab button {
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em;
  color: var(--mineral); padding: 8px 12px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.theme-lab button:hover { color: var(--ink); }
.theme-lab button.active { color: var(--ink); border-bottom-color: var(--accent); }
@media (max-width: 720px) {
  .nav-links { background: var(--nav-menu-bg); }
}
/* ========== THEME LAB END ========== */
