/* ============================================================
   上海咫策智能科技 · 体验架构 v2
   设计语言：精密仪器 / 技术档案 (Precision Instrument Dossier)
   配色：暖纸白 + 墨黑 + 单一锈红信号色
   字体：Space Grotesk(拉丁标题) · Noto Sans SC(中文) · IBM Plex Mono(数据/索引)
   ============================================================ */

:root {
  /* ---- 浅色（默认）---- */
  --paper: #FBFAF7;
  --paper-2: #F3F0E9;
  --panel: #FFFFFF;
  --ink: #15120C;
  --ink-2: #3E382E;
  --muted: #7C7466;
  --line: #E5DFD2;
  --line-2: #D3CABB;
  --navy: #1B2A47;
  --signal: #B23A1E;
  --signal-2: #C9492A;
  --signal-soft: rgba(178, 58, 30, 0.07);
  --shadow-sm: 0 1px 2px rgba(21, 18, 12, 0.04);
  --shadow: 0 1px 2px rgba(21, 18, 12, 0.04), 0 14px 34px -18px rgba(21, 18, 12, 0.18);
  --radius: 4px;
  --radius-lg: 8px;
  --max-w: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.4s var(--ease);
  --font-sans: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'PingFang SC', 'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans SC', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;
}

[data-theme="dark"] {
  --paper: #121009;
  --paper-2: #1A1711;
  --panel: #1A1711;
  --ink: #F2EEE5;
  --ink-2: #C9C1B3;
  --muted: #948B7B;
  --line: #2C2820;
  --line-2: #3B362B;
  --navy: #9DB0DC;
  --signal: #E0593A;
  --signal-2: #EC6A47;
  --signal-soft: rgba(224, 89, 58, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 16px 38px -18px rgba(0, 0, 0, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}

::selection { background: var(--signal); color: #fff; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--signal); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: min(100% - calc(var(--gutter) * 2), var(--max-w));
  margin-inline: auto;
}

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: border-color var(--t), height var(--t);
}
.nav.scrolled { height: 60px; border-bottom-color: var(--line-2); }
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 0.1em;
}
.logo .mark {
  color: var(--signal);
  font-family: var(--font-mono);
  font-weight: 500;
}
.logo small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-left: 0.5rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--signal);
  transition: width var(--t);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 1rem; }

/* 主题切换 */
.theme-toggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 2px;
  background: var(--paper-2);
}
.theme-toggle button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  line-height: 1;
  transition: var(--t);
}
.theme-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
[data-theme="dark"] .theme-toggle button[aria-pressed="true"] {
  background: var(--signal);
  color: #fff;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  display: block; width: 100%; height: 1.5px;
  background: var(--ink);
  transition: var(--t);
}

/* ============================================================
   刊头 Hero
   ============================================================ */
.hero {
  position: relative;
  padding: 9.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero--minimal {
  padding: 8.5rem 0 1.5rem;
  border-bottom: none;
}
.hero--minimal .hero-meta { margin-bottom: 0; }
/* 极淡蓝图网格背景 */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.4;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.25rem;
  position: relative;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-meta span::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--signal);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  position: relative;
  max-width: 820px;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--signal);
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.hero-title .accent { color: var(--navy); }
.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.78;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* 仪表式数据读数 */
.hero-readouts {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 1.75rem 2.25rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.readout { display: flex; flex-direction: column; gap: 0.3rem; }
.readout .val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.readout .val .u { font-size: 0.9rem; color: var(--signal); }
.readout .lbl {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* 创始人档案照（小尺寸编辑式） */
.hero-figure {
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 0.6rem;
  position: relative;
}
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
}
.hero-figure figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0.3rem 0.2rem;
  border-top: 1px solid var(--line);
  margin-top: 0.6rem;
}
.hero-figure .who { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.hero-figure .role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: right;
}
.hero-figure .tag {
  position: absolute;
  top: -0.7rem; left: 0.6rem;
  background: var(--signal);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
  text-transform: uppercase;
}

/* 信号波形条 */
.hero-signal {
  position: relative;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.hero-signal .sig-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.hero-signal svg { width: 100%; height: 56px; display: block; }
.hero-signal .sig-path {
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.hero-signal .sig-grid { stroke: var(--line-2); stroke-width: 0.5; }
.hero-signal .sig-dot { fill: var(--navy); }

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--t);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--signal); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ============================================================
   区块通用
   ============================================================ */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section + .section { border-top: 1px solid var(--line); }

.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.sec-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--signal);
  padding-bottom: 0.4rem;
  white-space: nowrap;
}
.sec-index b { color: var(--ink); font-weight: 500; }
.sec-titles h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.sec-titles p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 0.6rem;
  max-width: 60ch;
}

/* ============================================================
   核心技术
   ============================================================ */
.tech-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.tech-def {
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 1.75rem;
  position: sticky;
  top: 96px;
}
.tech-def .def-tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}
.tech-def h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.9rem;
  color: var(--ink);
}
.tech-def p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.7; }
.tech-def .def-fig { margin-top: 1.4rem; }
.tech-def .def-fig svg { width: 100%; height: auto; }
.tech-def .def-fig figcaption {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 0.6rem;
}

.tech-body p { color: var(--ink-2); margin-bottom: 1.1rem; line-height: 1.78; }
.tech-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0 2.5rem;
}
.tpoint {
  border-top: 2px solid var(--ink);
  padding-top: 0.85rem;
}
.tpoint h4 { font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; }
.tpoint p { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin: 0; }

/* 规格对比表 */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-top: 1px solid var(--line-2);
}
.spec caption {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 0.75rem;
}
.spec th, .spec td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec thead th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.spec td:first-child { color: var(--ink-2); font-weight: 500; }
.spec .ours {
  font-family: var(--font-mono);
  color: var(--signal);
  font-weight: 500;
  border-left: 2px solid var(--signal);
}
.spec .old { color: var(--muted); }

/* ============================================================
   业务线 · 编号索引目录
   ============================================================ */
.biz-index { list-style: none; counter-reset: biz; }
.biz-row {
  display: grid;
  grid-template-columns: 64px 168px 1fr;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  position: relative;
  transition: background var(--t);
}
.biz-row:last-child { border-bottom: 1px solid var(--line); }
.biz-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--signal);
  transition: width 0.3s var(--ease);
}
.biz-row:hover { background: var(--paper-2); }
.biz-row:hover::before { width: 3px; }

.biz-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--line-2);
  line-height: 1;
  transition: color var(--t);
}
.biz-row:hover .biz-num { color: var(--signal); }

.biz-thumb {
  border: 1px solid var(--line-2);
  background: var(--panel);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.biz-thumb img { width: 100%; height: 100%; object-fit: cover; }

.biz-body { min-width: 0; }
.biz-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line-2);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}
.biz-body h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}
.biz-need {
  font-size: 0.82rem;
  color: var(--signal);
  background: var(--signal-soft);
  border-left: 2px solid var(--signal);
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}
.biz-desc { font-size: 0.9rem; color: var(--ink-2); line-height: 1.7; margin-bottom: 0.8rem; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.biz-meta span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

/* ============================================================
   荣誉 · 资质
   ============================================================ */
.honors-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
  content: '';
  position: absolute; left: 4px; top: 6px; bottom: 6px;
  width: 1px; background: var(--line-2);
}
.tl-item { position: relative; padding-bottom: 1.6rem; }
.tl-item::before {
  content: '';
  position: absolute; left: -1.5rem; top: 5px;
  width: 9px; height: 9px;
  border: 1.5px solid var(--line-2);
  background: var(--paper);
  border-radius: 50%;
}
.tl-item.hot::before { background: var(--signal); border-color: var(--signal); }
.tl-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--signal);
  letter-spacing: 0.04em;
}
.tl-title { font-weight: 600; color: var(--ink); font-size: 0.98rem; margin: 0.15rem 0 0.25rem; }
.tl-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }

.award-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.award {
  border: 1px solid var(--line-2);
  background: var(--panel);
  overflow: hidden;
}
.award img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.award figcaption {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.55rem 0.6rem;
  border-top: 1px solid var(--line);
  text-transform: uppercase;
}

/* ============================================================
   媒体 · 论文
   ============================================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.m-card {
  border: 1px solid var(--line-2);
  background: var(--panel);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.m-card img { width: 100%; height: 100%; object-fit: cover; }
.m-card.tall { grid-column: span 4; grid-row: span 2; }
.m-card.wide { grid-column: span 8; }
.m-card.sq { grid-column: span 4; }
.m-cap {
  padding: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
}
.m-cap strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 0.15rem; font-size: 0.85rem; }

.pub-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.pub {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left var(--t);
}
.pub:hover { padding-left: 0.6rem; }
.pub .yr {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--signal);
  letter-spacing: 0.04em;
}
.pub h4 { font-size: 0.98rem; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 0.3rem; }
.pub p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.pub .lnk {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--navy);
  white-space: nowrap;
}
.pub .lnk:hover { color: var(--signal); }

/* ============================================================
   业务合作
   ============================================================ */
.contact {
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.contact .c-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}
.contact p { color: var(--ink-2); max-width: 56ch; margin-bottom: 2rem; line-height: 1.75; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.c-item .k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.c-item .v { font-size: 0.98rem; color: var(--ink); font-weight: 500; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-2);
  background: var(--paper-2);
  padding: 2.5rem 0;
}
.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer .f-mark { font-family: var(--font-display); font-weight: 700; color: var(--ink); }

/* ============================================================
   动效（克制）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 320px; margin-top: 1rem; }
  .tech-split { grid-template-columns: 1fr; }
  .tech-def { position: static; }
  .honors-grid { grid-template-columns: 1fr; }
  .award-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 60px 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-2);
    padding: 0.5rem var(--gutter) 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--t);
  }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 0.9rem 0; font-size: 0.95rem; }
  .nav-links a::after { display: none; }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-toggle { display: flex; }
  .theme-toggle { display: none; }

  .hero-readouts { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
  .sec-head { grid-template-columns: 1fr; gap: 0.5rem; }
  .tech-points { grid-template-columns: 1fr; }
  .biz-row { grid-template-columns: 44px 1fr; }
  .biz-thumb { display: none; }
  .media-grid { grid-template-columns: 1fr; }
  .m-card.tall, .m-card.wide, .m-card.sq { grid-column: span 1; grid-row: auto; }
  .pub { grid-template-columns: 1fr; gap: 0.4rem; }
  .pub .lnk { justify-self: start; }
  .award-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-signal .sig-path { stroke-dashoffset: 0; }
  .sig-scan { display: none; }
}

/* ============================================================
   多页架构 · 导航激活态 / 面包屑 / 子页刊头 / 详情 / 页脚导航
   ============================================================ */
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { width: 100%; }

/* 面包屑 */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--signal); }
.breadcrumb .here { color: var(--ink); }
.breadcrumb .sep { opacity: 0.5; }

/* 子页刊头 */
.subhero {
  padding: 8.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.subhero-index {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--signal);
  margin-bottom: 1rem;
}
.subhero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}
.subhero-lead {
  margin-top: 1.2rem;
  color: var(--ink-2);
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* 返回链接 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 2rem;
}
.back-link:hover { color: var(--signal); }

/* 业务线详情 */
.biz-detail-head {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.25rem;
}
.biz-detail-head .bd-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 500;
  color: var(--signal);
  line-height: 1;
}
.biz-detail-head .bd-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid var(--line-2);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}
.biz-detail-head h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.bd-thumb {
  border: 1px solid var(--line-2);
  background: var(--panel);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 2rem;
}
.bd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bd-need {
  background: var(--signal-soft);
  border-left: 3px solid var(--signal);
  padding: 1.1rem 1.3rem;
  margin-bottom: 2rem;
}
.bd-need .k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  display: block;
  margin-bottom: 0.5rem;
}
.bd-need p { color: var(--ink); font-size: 0.98rem; line-height: 1.7; margin: 0; }
.bd-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 2.5rem;
}
.bd-metric { background: var(--panel); padding: 1.1rem 1.2rem; }
.bd-metric .mk {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}
.bd-metric .mv {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}
.bd-body p { color: var(--ink-2); line-height: 1.8; margin-bottom: 1.1rem; max-width: 68ch; }
.bd-foot {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* 业务线目录行 → 详情链接 */
.biz-go {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.biz-row:hover .biz-go { color: var(--signal); }

/* 首页预览卡片 */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.preview-card {
  background: var(--paper);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: background var(--t);
}
.preview-card:hover { background: var(--paper-2); }
.preview-card .pc-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--signal);
}
.preview-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.preview-card p { font-size: 0.84rem; color: var(--muted); line-height: 1.6; }
.preview-card .pc-go {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--navy);
}
.preview-card:hover .pc-go { color: var(--signal); }

/* 区块内联链接 */
.inline-go {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-top: 1.5rem;
}
.inline-go:hover { color: var(--signal); }

/* 创始人档案（首页专属） */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* 左侧栏：教授简介 + 照片 + 公司信息 */
.founder-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 92px;
}
.founder-photo {
  position: relative;
  border: 1px solid var(--line-2);
  background: var(--panel);
  padding: 0.5rem;
  box-shadow: var(--shadow);
}
.founder-photo .tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--signal);
  color: #fff;
  padding: 0.28rem 0.5rem;
  border-radius: var(--radius);
}
.founder-photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.02);
}
.founder-photo figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0.5rem 0.35rem;
  border-top: 1px solid var(--line);
  margin-top: 0.5rem;
}
.founder-photo .who {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.founder-photo .role {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* 创始人档案正文标题（照片上方） */
.founder-intro {
  margin-bottom: 0.5rem;
}
.founder-body { padding-top: 0.25rem; }
.fb-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.fb-sub {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.7;
  max-width: 36ch;
}
.founder-meta {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.fm-item { border-left: 2px solid var(--line-2); padding-left: 1rem; }
.fm-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.4rem;
}
.fm-item p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.founder-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  margin-bottom: 1.75rem;
}
.fstat {
  text-align: center;
}
.fstat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.fstat span {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.4;
}
.founder-bio {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.founder-bio p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--ink-2);
}
.founder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* 科研履历时间线 */
.founder-timeline {
  margin-bottom: 1.75rem;
}
.founder-timeline .ft-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}
.ft-list {
  list-style: none;
  border-left: 1px solid var(--line-2);
  padding-left: 1.25rem;
  display: grid;
  gap: 0.85rem;
}
.ft-list li { position: relative; }
.ft-list li::before {
  content: '';
  position: absolute;
  left: -1.3rem;
  top: 0.55rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
}
.ft-year {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
  margin-right: 0.5rem;
}
.ft-list p {
  display: inline;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-2);
}

/* 学术贡献块 */
.founder-works {
  margin-bottom: 1.75rem;
}
.fw-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}
.fw-grid {
  display: grid;
  gap: 0.75rem;
}
.fw-item {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 0.85rem 1.1rem;
}
.fw-item .fw-type {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.3rem;
}
.fw-item h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}
.fw-item p {
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; }
  .founder-side { position: static; max-width: 440px; }
  .founder-photo { max-width: 360px; }
  .founder-stats { grid-template-columns: repeat(2, 1fr); }
}

/* CTA 条 */
.cta-band {
  position: relative;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(135deg, rgba(178,58,30,0.04) 0%, transparent 45%),
    var(--panel);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--signal);
}
.cta-main { min-width: 0; }
.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 0.9rem;
}
.cta-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cta-band h2 wbr { display: none; }
.cta-band p {
  color: var(--ink-2);
  max-width: 54ch;
  margin-top: 1rem;
  line-height: 1.75;
  text-wrap: pretty;
}
.cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
  list-style: none;
  padding: 0;
}
.cta-tags li {
  font-size: 0.78rem;
  color: var(--ink-2);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 0.38rem 0.9rem;
  background: rgba(255,255,255,0.4);
}
[data-theme="dark"] .cta-tags li { background: rgba(0,0,0,0.15); }
.cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.8rem;
  min-width: 11rem;
}
.cta-action .btn {
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem;
}
.cta-hint {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
}

/* 页脚导航（站点地图） */
.footer { padding: 0; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}
.f-brand .f-mark {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.6rem;
}
.f-brand .f-tag { color: var(--muted); font-size: 0.86rem; line-height: 1.6; max-width: 36ch; }
.footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.fn-col h5 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 1rem;
}
.fn-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-2);
  padding: 0.32rem 0;
}
.fn-col a:hover { color: var(--signal); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem 0 2.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* 信号波形微动 */
@keyframes sig-draw { to { stroke-dashoffset: 0; } }
.hero-signal .sig-path {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: sig-draw 2.2s var(--ease) forwards;
}
.sig-scan {
  stroke: var(--signal);
  stroke-width: 1;
  opacity: 0;
  animation: sig-scan 4.5s linear 1.2s infinite;
}
@keyframes sig-scan {
  0% { transform: translateX(0); opacity: 0; }
  8% { opacity: 0.55; }
  92% { opacity: 0.55; }
  100% { transform: translateX(1000px); opacity: 0; }
}

/* 子页响应式 */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
  .biz-detail-head { grid-template-columns: 1fr; gap: 0.75rem; }
  .biz-detail-head .bd-num { font-size: 2.2rem; }
  .subhero { padding: 7.5rem 0 2.5rem; }
}

/* ============================================================
   移动端阅读体验强化（≤768 / ≤480）
   目标：贴合手机阅读习惯 + 降低文字密度带来的压迫感
   ============================================================ */
@media (max-width: 768px) {
  /* 导航：保留主题切换、收起品牌副标，避免顶栏拥挤 */
  .logo small { display: none; }
  .nav-right { gap: 0.55rem; }
  .nav-right .theme-toggle { display: inline-flex; }
  .theme-toggle button { padding: 0.3rem 0.5rem; }

  /* 区块节奏：减小留白，缓解“长留白 + 长文墙”的割裂感 */
  .section { padding: 3.25rem 0; }
  .sec-head { margin-bottom: 1.9rem; padding-bottom: 1rem; gap: 0.6rem; }
  .sec-titles p { font-size: 0.92rem; }

  /* 正文阅读：舒适字号与行距，避免眼球疲劳 */
  body { font-size: 16px; line-height: 1.78; }
  p { line-height: 1.78; }

  /* 首页 Hero：减小顶部留白 */
  .hero--minimal { padding: 6.25rem 0 1rem; }
  .hero-meta { font-size: 0.66rem; gap: 0.45rem 0.85rem; margin-bottom: 1.4rem; }
  .hero-lead { font-size: 1rem; }

  /* 创始人：左栏取消 sticky，照片与正文自然流式，照片收窄居中 */
  .founder-grid { gap: 2rem; }
  .founder-side { gap: 1.25rem; }
  .founder-photo { max-width: 280px; margin: 0 auto; }
  .founder-stats { grid-template-columns: repeat(2, 1fr); padding: 1rem 0; gap: 0.75rem; }
  .fstat b { font-size: 1.55rem; }
  .fstat span { font-size: 0.7rem; }
  .founder-bio p,
  .fm-item p,
  .ft-list p { font-size: 0.95rem; }
  .founder-links { gap: 0.9rem 1.1rem; }
  .inline-go { margin-top: 0.9rem; }

  /* 技术页：对比表窄屏不溢出、可换行 */
  .spec { font-size: 0.78rem; table-layout: auto; }
  .spec th, .spec td { padding: 0.55rem 0.5rem; line-height: 1.5; }
  .spec thead th { letter-spacing: 0.02em; }

  /* 业务线索引：编号/描述堆叠（缩略图已在 768 隐藏） */
  .biz-row { grid-template-columns: 40px 1fr; gap: 1rem; padding: 1.4rem 0; }
  .biz-body h3 { font-size: 1.1rem; }
  .biz-desc { font-size: 0.88rem; }

  /* 荣誉时间线更紧凑 */
  .timeline { padding-left: 1.1rem; }
  .tl-item { padding-bottom: 1.2rem; }

  /* 业务合作：信息卡单列 */
  .contact-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* CTA 条：按钮占满，便于点按 */
  .cta-band { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; }
  .cta-band::before { width: 3px; }
  .cta-main h2 { font-size: 1.55rem; line-height: 1.22; }
  .cta-band h2 wbr { display: inline; }
  .cta-action { align-items: stretch; }
  .cta-action .btn { width: 100%; justify-content: center; }
  .cta-hint { text-align: center; }

  /* 按钮点按区更大（≥46px） */
  .btn { padding: 0.85rem 1.4rem; min-height: 46px; }

  /* 页脚导航 2 列，缩小间距 */
  .footer-top { gap: 2rem; padding: 2.5rem 0 2rem; }
  .footer-nav { gap: 1.25rem 1rem; }

  /* 子页刊头 */
  .subhero { padding: 6.25rem 0 2.25rem; }
  .subhero-lead { font-size: 0.98rem; }
}

@media (max-width: 480px) {
  :root { --gutter: 1.1rem; }
  .section { padding: 2.75rem 0; }
  .founder-stats { gap: 0.6rem; }
  .fstat b { font-size: 1.4rem; }
  .hero-readouts { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
  .biz-row { grid-template-columns: 34px 1fr; }
  .award-gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .cta-band h2 { font-size: 1.35rem; line-height: 1.25; }
  .founder-photo { max-width: 240px; }
}

/* ============================================================
   产品矩阵页（products.html）+ 产品子页
   设计语言：暖纸白 / 墨黑 / 锈红信号色，卡片化、可视化
   ============================================================ */
.prod-hero { padding: 7rem 0 2.5rem; }
.prod-hero .sec-head { margin-bottom: 1.2rem; }
.prod-hero-lead { max-width: 700px; color: var(--muted, #6b6660); font-size: 1.05rem; line-height: 1.78; }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0 1rem; }
.prod-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(20,18,16,0.09); border-radius: 14px; padding: 1.6rem 1.5rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20,18,16,0.10); border-color: rgba(178,58,30,0.35); }
.pc-icon { width: 46px; height: 46px; color: var(--signal, #B23A1E); margin-bottom: 1rem; }
.pc-tag { display: inline-block; font-size: 0.7rem; letter-spacing: .04em; color: var(--signal, #B23A1E); background: rgba(178,58,30,0.09); padding: 0.22rem 0.6rem; border-radius: 999px; margin-bottom: 0.8rem; }
.prod-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; line-height: 1.3; }
.pc-desc { color: var(--muted, #6b6660); font-size: 0.92rem; line-height: 1.65; min-height: 3.4rem; margin-bottom: 1.1rem; }
.pc-metrics { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.6rem; padding: 0.9rem 0; border-top: 1px solid rgba(20,18,16,0.07); border-bottom: 1px solid rgba(20,18,16,0.07); margin-bottom: 1.1rem; }
.pc-metric { text-align: center; }
.pc-m-val { font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 1.02rem; font-weight: 600; color: var(--ink, #1a1714); line-height: 1.1; }
.pc-m-label { font-size: 0.64rem; color: var(--muted, #6b6660); margin-top: 0.25rem; line-height: 1.3; }
.pc-link { margin-top: auto; font-weight: 600; color: var(--signal, #B23A1E); font-size: 0.92rem; }
.pc-link::after { content: " →"; }

.prod-tech-note { display: flex; align-items: center; gap: 0.8rem; margin: 2.5rem 0 1rem; padding: 1.1rem 1.4rem; background: rgba(178,58,30,0.05); border-left: 3px solid var(--signal, #B23A1E); border-radius: 0 10px 10px 0; font-size: 0.92rem; color: var(--muted, #6b6660); line-height: 1.7; }
.prod-tech-note b { color: var(--ink, #1a1714); }

/* 产品子页 */
.pd-hero { padding: 7rem 0 2rem; }
.pd-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.pd-hero h1 { font-size: 2.3rem; line-height: 1.2; margin: 0.6rem 0 0.8rem; }
.pd-tag { display: inline-block; font-size: 0.72rem; letter-spacing: .05em; color: var(--signal, #B23A1E); background: rgba(178,58,30,0.09); padding: 0.25rem 0.7rem; border-radius: 999px; }
.pd-lead { color: var(--muted, #6b6660); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.4rem; }
.pd-hero-visual { display: flex; justify-content: center; }
.pd-hero-visual svg { width: 100%; max-width: 330px; height: auto; }

.pd-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0 0.5rem; }
.pd-metric { background: #fff; border: 1px solid rgba(20,18,16,0.08); border-radius: 12px; padding: 1.2rem 1rem; text-align: center; }
.pd-metric b { display: block; font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 1.5rem; color: var(--signal, #B23A1E); line-height: 1.1; }
.pd-metric span { display: block; font-size: 0.74rem; color: var(--muted, #6b6660); margin-top: 0.45rem; line-height: 1.4; }

.pd-section { padding: 3rem 0; border-top: 1px solid rgba(20,18,16,0.06); }

.pd-principle { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.pd-principle .pp-visual { display: flex; justify-content: center; }
.pd-principle.flip .pp-visual { order: -1; }
.pd-principle .pp-text p { color: var(--muted, #6b6660); line-height: 1.8; margin-bottom: 0.9rem; }
.pd-principle .pp-text h3 { font-size: 1.25rem; margin-bottom: 0.8rem; }
.pd-principle svg { width: 100%; max-width: 370px; height: auto; }

.bars { display: grid; gap: 1rem; }
.bar-row { display: grid; grid-template-columns: 200px 1fr; gap: 1rem; align-items: center; }
.bar-row .bar-label { font-size: 0.84rem; color: var(--ink, #1a1714); }
.bar-track { position: relative; height: 26px; background: rgba(20,18,16,0.05); border-radius: 6px; overflow: hidden; }
.bar-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--signal, #B23A1E), #d4603f); border-radius: 6px; }
.bar-fill.muted { background: rgba(20,18,16,0.18); }
.bar-val { font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 0.8rem; color: var(--muted, #6b6660); margin-top: 0.3rem; }

.pd-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.pd-table th, .pd-table td { padding: 0.7rem 0.9rem; border-bottom: 1px solid rgba(20,18,16,0.08); text-align: left; vertical-align: top; }
.pd-table th { color: var(--signal, #B23A1E); font-size: 0.78rem; letter-spacing: .03em; }
.pd-table td:first-child { color: var(--ink, #1a1714); font-weight: 600; }

.pd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step { background: #fff; border: 1px solid rgba(20,18,16,0.08); border-radius: 12px; padding: 1.3rem 1.1rem; }
.step .step-n { font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 0.8rem; color: var(--signal, #B23A1E); }
.step h4 { margin: 0.5rem 0 0.4rem; font-size: 1rem; }
.step p { font-size: 0.84rem; color: var(--muted, #6b6660); line-height: 1.6; }

.pd-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rm-item { border: 1px solid rgba(20,18,16,0.08); border-radius: 12px; padding: 1.3rem; }
.rm-item .rm-phase { font-family: var(--mono, 'IBM Plex Mono', monospace); font-size: 0.78rem; color: var(--signal, #B23A1E); }
.rm-item h4 { margin: 0.5rem 0 0.5rem; }
.rm-item p { font-size: 0.86rem; color: var(--muted, #6b6660); line-height: 1.65; }

.pd-back { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; color: var(--signal, #B23A1E); font-weight: 600; }
.pd-back::before { content: "← "; }

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .pd-hero-grid, .pd-principle { grid-template-columns: 1fr; gap: 1.5rem; }
  .pd-principle.flip .pp-visual { order: 0; }
  .pd-metrics { grid-template-columns: repeat(2, 1fr); }
  .pd-steps { grid-template-columns: 1fr 1fr; }
  .pd-roadmap { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 120px 1fr; }
  .pd-hero h1 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .pd-metrics { grid-template-columns: 1fr 1fr; }
  .pd-steps { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 96px 1fr; }
  .pc-metrics { gap: 0.3rem; }
}

/* ============================================================
   多语言切换器（i18n）
   ============================================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  background: var(--panel);
  flex: 0 0 auto;
}
.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.32rem 0.7rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
.lang-switch button + button { border-left: 1px solid var(--line-2); }
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active {
  background: var(--signal);
  color: #fff;
}
.lang-switch button.active:hover { color: #fff; }

/* 导航在窄屏时保持切换器与主题切换一行 */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
@media (max-width: 768px) {
  .lang-switch button { padding: 0.3rem 0.6rem; font-size: 0.7rem; }
}

/* 多语言下拉选择器（8 语言） */
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-2);
  background-color: var(--panel);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  line-height: 1;
  padding: 0.34rem 1.55rem 0.34rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  flex: 0 0 auto;
  max-width: 9.5rem;
  transition: border-color 0.18s, background-color 0.18s, color 0.18s;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b675c' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.55rem center;
  background-size: 0.6rem;
}
.lang-select:hover { border-color: var(--ink-2); }
.lang-select:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
[data-theme="dark"] .lang-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23C9C1B3' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@media (max-width: 768px) {
  .lang-select { font-size: 0.7rem; padding: 0.3rem 1.4rem 0.3rem 0.6rem; max-width: 8.5rem; }
}
