/* ============================================================
   DEAU CABLE — 上海德耳电线电缆有限公司
   Brutalist Design System v1.0

   自托管字体方案（中国大陆可用）
   Google Fonts CDN (fonts.googleapis.com) 在中国大陆被墙，
   所有 @font-face 使用本地 .woff2 文件。
   ============================================================ */

/* ---- SELF-HOSTED FONTS (China mainland compatible) ---- */
@font-face {
  font-family: 'Archivo Black';
  src: url('/assets/fonts/archivo-black.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-regular.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-semibold.woff2') format('woff2');
  font-display: swap;
  font-weight: 600;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono-regular.woff2') format('woff2');
  font-display: swap;
  unicode-range: U+0000-00FF;
}
@font-face {
  font-family: 'Fredoka';
  src: url('/assets/fonts/fredoka-bold.woff2') format('woff2');
  font-display: swap;
  font-weight: 700;
  unicode-range: U+0061-0075, U+00AE; /* a-u + ® */
}

/* ---- FALLBACK (Google Fonts — for non-China visitors) ---- */
/* If fonts not self-hosted yet, uncomment the Google Fonts link in <head>
   and comment out the @font-face blocks above during development. */

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --paper: #F4F4F0;
  --paper-2: #EAE8E3;
  --ink: #060606;
  --ink-soft: #1A1A18;
  --hazard: #E61919;
  --rule: #060606;

  /* DEAU Brand Colors */
  --brown: #8B4513;   /* logo D */
  --blue: #0000CD;    /* logo E */
  --gold: #FFD700;    /* logo U */
  --green: #228B22;   /* logo U shadow */

  /* Type */
  --display: 'Archivo Black', 'Neue Haas Grotesk', 'Inter', sans-serif;
  --sans: 'Archivo', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', 'IBM Plex Mono', ui-monospace, monospace;
  --logo: 'Fredoka', sans-serif;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum", "ss01";
  caret-color: var(--hazard);
}

/* Type floor — body measure 65-75ch, balanced headings, tabular figures by default.
   Per craft-floor.md: tracking never breaks -0.04em floor. */
h1, h2, h3, h4 {
  text-wrap: balance;
  hanging-punctuation: first last;
}
p { text-wrap: pretty; max-width: 68ch; }

/* Selection — brand: ink fill + paper text */
::selection { background: var(--ink); color: var(--paper); }
::-moz-selection { background: var(--ink); color: var(--paper); }

/* Custom scrollbar — thin, on-brand (Chrome / Safari) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 2px solid var(--paper-2); }
::-webkit-scrollbar-thumb:hover { background: var(--hazard); }
* { scrollbar-color: var(--ink) var(--paper-2); scrollbar-width: thin; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { background: var(--ink); color: var(--paper); }

/* Keyboard focus ring (accessibility — skill checklist: missing focus ring) */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--hazard);
  outline-offset: 2px;
}

ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Pressed feedback (skill checklist: no active/pressed state) */
button:not(:disabled):active,
.btn-primary:active,
.btn-ghost:active,
.cta-card:active,
.wizard-option:active,
.scene-card:active,
.product-card:active,
.sidebar-head:active,
.sidebar-children li a:active,
.tag-filter-btn:active,
.mobile-nav ul a:active,
.im-float:active {
  transform: scale(0.98);
}

/* Skip-to-content link (skill checklist: missing skip link) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 10px 16px;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* Paper subtle wash — replaces feTurbulence grain (craft-floor.md bans noise filters).
   Plain subtle gradient on body adds depth without faking texture. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse at top left, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(0, 0, 0, 0.025), transparent 60%);
}

/* ============================================================
   CONTAINER — 1280px 居中(用于内容型模块,通栏 hero 仍用全宽)
   ============================================================ */
.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
@media (max-width: 1320px) {
  .container { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 880px) {
  .container { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 600px) {
  .container { padding-left: 14px; padding-right: 14px; }
}

/* ---- UTILITY CLASSES ---- */
.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.mono-md {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}
.red { color: var(--hazard); }
.ink { color: var(--ink); }

/* ---- RULES ---- */
hr.rule { border: 0; border-top: 1px solid var(--ink); margin: 0; }
hr.thick { border: 0; border-top: 4px solid var(--ink); margin: 0; }
hr.hazard { border: 0; border-top: 1px solid var(--hazard); margin: 0; }

/* ---- DEAU BRAND LOGO STYLING ---- */
.deau-d { color: var(--brown); font-weight: 700; }
.deau-e { color: var(--blue); font-weight: 700; }
.deau-a { color: var(--ink); font-weight: 700; }
.deau-u {
  color: var(--gold);
  font-weight: 700;
  text-shadow: 8px 0 0 #228B22, 16px 0 16px rgba(34, 139, 34, 0.5);
}

/* ============================================================
   1. TOP REGISTER STRIP
   ============================================================ */
.strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 8px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}
.strip > div {
  display: flex;
  gap: 8px;
  align-items: baseline;
  white-space: nowrap;
  overflow: hidden;
}
.strip b { color: var(--ink); }
.strip span { color: var(--ink-soft); }

/* ============================================================
   2. NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 24px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(6, 6, 6, 0.15);
  background: rgba(244, 244, 240, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
}
.brand {
  font-family: var(--logo);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
}
.brand sup {
  font-family: var(--logo);
  font-size: 18px;
  letter-spacing: 0.18em;
  font-weight: 400;
  vertical-align: top;
  margin-left: 0;
  color: var(--hazard);
}
.nav .brand .deau-d,
.nav .brand .deau-e,
.nav .brand .deau-a,
.nav .brand .deau-u {
  font-family: var(--logo);
}
.nav .brand .deau-u {
  text-shadow: 4px 0 0 #228B22, 7px 0 3px rgba(34, 139, 34, 0.5);
}
.nav ul {
  display: flex;
  gap: 18px;
}
.nav ul a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 7px;
}
.nav ul a.active { background: var(--ink); color: var(--paper); }
.nav .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Language Switcher */
.lang-switch {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-switch a {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 6px;
  border: 1px solid var(--ink);
}
.lang-switch a.active { background: var(--ink); color: var(--paper); }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hamburger:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   3. HERO (B 方案:全宽图条 + 内容区)
   ============================================================ */

/* ---- 3a0. 产品页 hero:1280 居中两列(图 + 文)---- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: 10px;
  border-bottom: 1px solid var(--ink);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero .num {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  border-right: 1px solid var(--ink);
  min-width: 0;
  overflow: hidden;
}
.hero .num img {
  width: 100%;
  max-width: 530px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
}
/* 变体：主图改正方 1:1，栅格两栏均分 */
.hero--square { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero--square .num img { aspect-ratio: 1 / 1; max-width: 560px; }
/* 变体：主图改 4:3，栅格两栏均分（宽图源片裁正方太狠时用）
   max-width 必须跟 .hero--square 一样是 560px —— 4:3 比正方矮，
   但宽度一样才能在栏里留出同样的 25px 空隙，不然图边框会贴上中间的竖线 */
.hero--43 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero--43 .num img { aspect-ratio: 4 / 3; max-width: 560px; }
.hero .meta-col {
  padding: 28px 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-family: var(--mono);
  min-width: 0;
  overflow: hidden;
}
.hero .meta-col h1 {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0;
}
.hero .meta-col p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; }
  .hero .num { border-right: none; border-bottom: 1px solid var(--ink); }
  .hero .meta-col { padding: 22px 0; }
}

/* ---- 3a. hero-banner:1280 居中图条,40vh 封面图感 ---- */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 40vh;
  min-height: 240px;
  max-height: 480px;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: contrast(1.05) saturate(0.9);
}
.hero-banner__overlay {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  background: linear-gradient(to top, rgba(6,6,6,0.85), rgba(6,6,6,0));
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-banner__tag { color: var(--paper); }
.hero-banner__meta { color: var(--hazard); }

/* ---- 3b. hero-content:文字 + 规格两列 (紧凑版,1280 居中) ---- */
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--ink);
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
.hero-content__text {
  padding: 16px 16px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}
.hero-content__text h1,
.hero-content__text h2 {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
}
.hero-content__text p {
  font-family: var(--sans);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
  color: var(--ink-soft);
}
.hero-content__spec {
  padding: 16px 0 14px 16px;
  border-left: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  font-family: var(--mono);
}
.hero-content__spec .meta-row:first-child { border-top: none; }
.hero-content__spec .meta-row { padding: 5px 0; }

@media (max-width: 880px) {
  .hero-banner { height: 32vh; min-height: 200px; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-content__spec { border-left: none; border-top: 1px solid var(--ink); }
}
@media (max-width: 600px) {
  .hero-banner { height: 28vh; min-height: 180px; }
  .hero-content__text, .hero-content__spec { padding: 14px 14px; }
  .hero-content__text h1,
  .hero-content__text h2 { font-size: clamp(18px, 5.5vw, 28px); }
  .hero-content__text p { font-size: clamp(11px, 3.2vw, 13px); }
  .hero-banner__overlay { padding: 10px 14px; font-size: 10px; }
}
.ascii-frame {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--ink);
}
.ascii-frame::before { content: '['; color: var(--hazard); }
.ascii-frame::after  { content: ']'; color: var(--hazard); }

.meta-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.meta-row b { color: var(--hazard); font-weight: 500; }

/* ---- HERO CTA BUTTONS ---- */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.btn-primary,
.btn-ghost {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 2px solid var(--ink);
  display: inline-block;
  cursor: pointer;
  transition: background 0.22s ease-out, color 0.22s ease-out, border-color 0.22s ease-out, transform 0.12s ease-out;
  font-weight: 500;
  line-height: 1;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--hazard); border-color: var(--hazard); color: var(--paper); }
.btn-ghost {
  background: var(--paper);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---- DATA STRIP (replaces trust-strip) ---- */
.data-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  max-width: 1280px;
  margin: 0 auto;
  color: var(--ink);
}
.data-block {
  padding: 28px 22px;
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.data-block:last-child { border-right: none; }
.data-num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.data-num small {
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-left: 6px;
  color: var(--hazard);
  vertical-align: baseline;
  font-weight: 400;
}
.data-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .data-strip { grid-template-columns: repeat(2, 1fr); }
  .data-block:nth-child(2) { border-right: none; }
  .data-block:nth-child(1),
  .data-block:nth-child(2) { border-bottom: 1px solid var(--ink); }
}
@media (max-width: 600px) {
  .data-strip { grid-template-columns: 1fr; }
  .data-block { border-right: none; border-bottom: 1px solid var(--ink); }
  .data-block:last-child { border-bottom: none; }
}

/* ============================================================
   4. ABSTRACT / LEAD
   ============================================================ */
.abstract {
  padding: 56px 24px;
  display: grid;
  grid-template-columns: 140px 1fr 30ch;
  gap: 32px;
  border-bottom: 1px solid var(--ink);
}
.abstract .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hazard);
  padding-top: 6px;
}
.abstract .body {
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  max-width: 50ch;
}
.abstract .body span.drop {
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.85;
  float: left;
  margin: 4px 10px -4px 0;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}
.abstract .credits {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.abstract .credits hr { margin: 8px 0; border: 0; border-top: 1px solid var(--ink); }
.abstract .credits b { color: var(--hazard); font-weight: 500; }
.abstract .credits b { color: var(--hazard); font-weight: 500; }
.abstract .overview-img {
  grid-column: 1 / -1;
  max-height: 284px;
  overflow: hidden;
}
.abstract .overview-img img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
  margin: 24px auto 0 0;
}

/* ============================================================
   产品图集 GALLERY（多图产品：高温线 30 款等）
   ============================================================ */
.shot-gallery {
  padding: 32px 24px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
/* 图集在 .page-main（flex 纵向列）里：margin:0 auto 会让它缩成 fit-content，
   比上方那张 912px 的宽图窄一圈。两边清掉 auto 边距撑满，
   加上 24px 内边距后正好和上方图片同宽（960-48=912）。 */
.page-main > .shot-gallery { margin-left: 0; margin-right: 0; }
.shot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.shot-grid figure { margin: 0; }
.shot-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border: 1px solid var(--ink);
  background: var(--paper-2);
}
.shot-grid figcaption {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 8px;
}
@media (max-width: 640px) {
  /* 内边距跟上方图片的 48px 让位对齐 */
  .shot-gallery { padding: 24px 24px 36px; }
  .shot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

/* ============================================================
   产品图大图查看 LIGHTBOX (Spring-driven, inline-style)
   页面上的产品图包一层 <a class="zoomable">（display:contents 不改布局），
   点击在图片位置放大显示高清版；无全屏遮罩，Esc / 点图片外关闭。
   ============================================================ */
.zoomable { display: contents; }
.zoomable img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: opacity, transform;
  background: transparent;
  /* No full-screen backdrop - centered modal only */
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  background: var(--paper);
  box-shadow: 0 0 0 1px var(--ink), 0 24px 48px -12px rgba(0,0,0,0.35);
  border-radius: 4px;
  transform: scale(0.95);
  will-change: transform;
}
.lightbox.is-open .lightbox__img {
  transform: scale(1);
}
.lightbox__img-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.lightbox__img-close:hover {
  opacity: 1;
  transform: scale(1.1);
}
@media (max-width: 640px) {
  .lightbox__img-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
}
.lightbox__bar {
  position: static;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 0;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.1em;
  justify-content: center;
}
.lightbox__title {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.82;
}
.lightbox__count { color: var(--hazard); font-weight: 700; flex: 0 0 auto; }
.lightbox__close {
  flex: 0 0 auto;
  border: 1px solid rgba(244, 244, 240, 0.5);
  background: none;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  padding: 7px 13px;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
/* 翻页按钮放在顶栏，不做左右悬浮：
   右侧有商桥的在线咨询浮窗（外部 iframe，z-index 压不过），悬浮按钮会被挡住 */
.lightbox__nav {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(244, 244, 240, 0.35);
  background: none;
  color: var(--paper);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__nav:hover { background: var(--paper); color: var(--ink); }
.lightbox__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 20px;
  text-align: center;
  color: rgba(244, 244, 240, 0.78);
  font-size: 12px;
  letter-spacing: 0.06em;
}
@media (max-width: 640px) {
  .lightbox__stage { padding: 56px 14px 46px; }
  .lightbox__bar { padding: 12px 14px; font-size: 11px; gap: 10px; }
  .lightbox__title { display: none; }
}

/* ============================================================
   5. MANIFEST (numbered theses)
   ============================================================ */
/* Standalone pages (about.html — no sidebar): center the 1280px container.
   Inside .page-main the flex column stretches children, so an auto margin
   would absorb free space and shrink the block — override it back. */
.manifest {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px 24px;
  border-bottom: 4px solid var(--ink);
}
.page-with-sidebar .manifest,
.page-main > .manifest {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.manifest h2 em { font-style: normal; color: var(--hazard); }

.thesis-list { display: grid; grid-template-columns: 1fr; }
.thesis {
  display: grid;
  grid-template-columns: 6ch 1fr 20ch;
  gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--ink);
  align-items: baseline;
}
.thesis:last-child { border-bottom: 1px solid var(--ink); }
.thesis .num {
  font-family: var(--display);
  font-size: 44px;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.thesis .num small {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  vertical-align: top;
}
.thesis h3 {
  font-family: var(--display);
  font-size: clamp(20px, 2.16vw, 29px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.thesis p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  max-width: 72ch;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}
.thesis .tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
  color: var(--hazard);
}

/* ============================================================
   6. INDEX GRID (spec tables)
   ============================================================ */
.index-section { border-bottom: none; padding: 0 24px; max-width: 1280px; margin: 0 auto; }
.index-head {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  border-bottom: none;
}
.index-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
.index-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.index-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2ch;
  background: transparent;
  padding: 0 0 22px;
  margin-top: 0;
}
.index-grid {
  display: grid;
  grid-template-columns: 6ch 1.5fr 1fr 1fr;
  gap: 1px;
  background: var(--ink);
  font-family: var(--mono);
  font-size: clamp(8px, 1.1vw, 13px);
  border: 1px solid var(--ink);
}
.index-grid > div {
  background: var(--paper);
  padding: 6px 8px;
  text-align: center;
  overflow: visible;
}
.index-grid .header {
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  word-break: keep-all;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}
.index-grid .right { text-align: right; }
.index-grid .red { color: var(--hazard); }

/* ============================================================
   7. SPECIMEN / CABLE DETAILS
   ============================================================ */
.specimen {
  border-bottom: 4px solid var(--ink);
  padding: 56px 24px;
}
.specimen-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.specimen-head h2 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}
.specimen-head .meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.spec-row {
  display: grid;
  grid-template-columns: 12ch minmax(300px, 1fr) 16ch;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  align-items: stretch;
}
.spec-col-labels {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.spec-col-labels .label,
.spec-row .label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hazard);
}
.spec-col-stats {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.spec-col-stats .stat-item {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  text-align: right;
  line-height: 1.6;
  white-space: nowrap;
}
.spec-row .glyph {
  font-family: var(--display);
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}
.spec-row .glyph.s1 { font-size: clamp(36px, 5vw, 64px); }
.spec-row .glyph.s2 { font-size: clamp(60px, 9vw, 120px); }
.spec-row .glyph.s3 { font-size: clamp(120px, 16vw, 220px); }
.spec-row .glyph-section {
  display: flex;
  justify-content: center;
  align-items: center;
}
.spec-row .stats {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.6;
}

/* ============================================================
   8. ALERT BLOCK (QR code + contact)
   ============================================================ */
.alert {
  border-bottom: 1px solid var(--ink);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: minmax(90px, 13.5ch) 1fr;
  gap: 28px;
  background: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(230, 25, 25, 0.06) 14px 28px
  );
}
.alert .label {
  border: 2px solid var(--hazard);
  padding: 0;
  align-self: start;
  line-height: 0;
  max-width: 13.5ch;
}
.alert .label img { width: 100%; max-width: 13.5ch; display: block; }
.alert .body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 64ch;
}
.alert .body strong {
  background: var(--ink);
  color: var(--paper);
  padding: 0 4px;
  font-weight: 500;
}

/* Home-page alert: smaller, secondary, no contact duplication */
.alert--home { padding: 18px 22px; }
.alert--home .label { max-width: 9ch; }
.alert--home .label img { max-width: 9ch; }
.alert--home .body { font-size: 14px; }

/* Subtle alert (contact page) — white bg, no diagonal hazard pattern */
.alert--subtle {
  background: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.alert--subtle .label { border-color: var(--ink); }

/* ============================================================
   9. COLOPHON / FOOTER
   ============================================================ */
.colophon {
  padding: 32px 24px 36px;
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr 1.6fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.85;
  border-top: 1px solid var(--ink);
  /* 斜条纹底色 — 跟顶部 alert 一致 */
  background: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(230, 25, 25, 0.06) 14px 28px
  );
}
.colophon-credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.colophon-credit .qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.colophon-credit .qr img {
  width: 120px;
  height: 120px;
  background: var(--paper);
  padding: 6px;
  border: 2px solid var(--hazard);
}
.colophon-credit .qr span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.colophon dl {
  display: grid;
  grid-template-columns: 4em 1fr;
  gap: 1px 1px;
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: none;
  line-height: 1.2;
  align-items: center;
}
.colophon dt { color: var(--hazard); }
.colophon dd { margin: 0; }

.colophon-nav h4 {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
}
.colophon-nav ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.colophon-nav a {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.colophon-nav a:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 880px) {
  .colophon { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .colophon { grid-template-columns: 1fr; }
}
.colophon .credit {
  font-family: var(--display);
  font-size: 38px;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}
.colophon .credit small {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 8px;
  color: var(--ink);
}
.colophon .credit .brand {
  font-family: var(--logo);
  font-size: 52px;
  text-transform: none;
}
.colophon .credit .deau-u {
  text-shadow: 3px 0 0 #228B22, 5px 0 2px rgba(34, 139, 34, 0.5);
}

/* ============================================================
   10. PRODUCT TAGS
   ============================================================ */
.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink);
}
.product-tags .tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 5px 12px;
  color: var(--ink-soft);
}
.product-tags .tag a { text-decoration: none; color: inherit; }
.product-tags .tag:hover,
.product-tags .tag a:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   PAGE CTA (merged selector-wizard + cta-menu)
   2×2 grid: 询价 | 选型帮助 | 获取资料 | 开始选型
   - Standalone pages (about, contact, no sidebar): centered 1280px
   - Sidebar pages (scene, product): fills .page-main column
   ============================================================ */
.page-cta {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: 36px 24px 32px;
}
/* Inside sidebar pages, .page-cta is a child of .page-main; fill it edge-to-edge. */
.page-with-sidebar .page-cta {
  max-width: none;
  margin: 0;
}
.page-cta__head {
  font-family: var(--display);
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 28px;
}
.page-cta__sub {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: -12px 0 28px;
  max-width: 60ch;
}
.page-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  /* padding lets content breathe within the grid */
  padding: 0;
}
/* Ink lines between cells */
.page-cta-grid .cta-card { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.page-cta-grid .cta-card:nth-child(2n) { border-right: none; }
.page-cta-grid .cta-card:nth-child(3),
.page-cta-grid .cta-card:nth-child(4) { border-bottom: none; }

/* .selector-wizard and .cta-menu now DEPRECATED for product pages — use .page-cta instead */
/* Kept here only for homepage (index.html) which has them as separate full-width sections */
.selector-wizard {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 32px;
  margin-bottom: 0;
}
.selector-wizard h2 { margin-bottom: 14px; }
.selector-wizard p {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  max-width: 48ch;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.selector-wizard .btn-link {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  padding: 12px 28px;
  display: inline-block;
  transition: background 0.22s ease-out, color 0.22s ease-out, border-color 0.22s ease-out;
}
.selector-wizard .btn-link:hover { background: var(--ink); color: var(--paper); }

/* Nav right-cluster (replaces inline-flex) */
.nav-cluster { display: flex; gap: 14px; align-items: center; }

/* ============================================================
   11. CTA MENU (3-column conversion blocks)
   ============================================================ */
.cta-menu {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 42px 24px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
}
.cta-menu h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 22px;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
}
.cta-card {
  background: var(--paper);
  padding: 22px;
  border: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.22s ease-out, color 0.22s ease-out;
}
.cta-card:hover { background: var(--ink); color: var(--paper); }
.cta-card__num {
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.cta-card__title {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.cta-card__desc {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.cta-card:hover .cta-card__desc { color: var(--paper-2); }

/* ============================================================
   12. FAQ
   ============================================================ */
.faq {
  padding: 42px 24px;
  border-bottom: 1px solid var(--ink);
}
.faq h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0 0 22px;
}
.faq-item {
  border-top: 1px solid var(--ink);
  padding: 14px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--ink); }
.faq-q {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--ink);
}
.faq-q:hover { color: var(--hazard); }
.faq-q::after {
  content: '[+]';
  font-family: var(--mono);
  font-size: 12px;
  color: var(--hazard);
}
.faq-q.open::after { content: '[-]'; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.3s ease-out, visibility 0.3s ease-out;
}
.faq-a > div {
  overflow: hidden;
  min-height: 0;
  padding: 10px 0 6px;
  font-size: 15px;
  line-height: 1.55;
  max-width: 60ch;
  color: var(--ink-soft);
}
.faq-q.open + .faq-a {
  grid-template-rows: 1fr;
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
}

/* ============================================================
   13. GEO DEFINITION (AI crawlable answer blocks)
   ============================================================ */
.definition {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.definition strong {
  font-weight: 700;
  color: var(--ink);
}
.definition a { color: var(--paper); text-decoration: underline; }
.definition a:hover { background: var(--hazard); color: var(--paper); }

/* ============================================================
   14. BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 10px 24px;
  border-bottom: 1px solid var(--ink);
  max-width: 1280px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.breadcrumb ol { display: flex; gap: 8px; }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; color: var(--hazard); }

/* ============================================================
   14B. SIDEBAR NAVIGATION (场景/产品页左侧导航树)
   ============================================================ */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* .page-cta — 2×2 action grid: 询价 | 选型帮助 | 开始选型 | 选型指南
   Lives inside .page-main (the right column of page-with-sidebar).
   Inherits width from .page-main. */
.page-cta {
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: 32px 0 28px;
}
.page-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}
.sidebar {
  position: sticky;
  top: 20px;
  align-self: start;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 0 16px 18px;
  align-self: start;
  /* 目录树全部展开时比视口还高，而 sticky 元素不随页面滚动——
     没有这两行，视口以下的子项永远够不着（页面滚到底侧栏反而整体滑出屏幕）。
     所以侧栏自己成为一个滚动容器，高度上限留 40px 给 top 偏移和底部余量。 */
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.sidebar::-webkit-scrollbar { width: 8px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--ink-soft); }
.sidebar::-webkit-scrollbar-track { background: var(--paper-2); }
.sidebar h3 {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding: 18px 0 8px;
  border-bottom: 1px solid var(--ink);
  /* 标题吸顶：侧栏内部滚动时始终知道自己在哪一段 */
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}
.sidebar-tree,
.sidebar-children {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-tree > li {
  margin: 0;
}
/* 一级场景行：名字是链接（跳场景页），右侧 ± 是独立开关（就地收起/展开，不跳页） */
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.sidebar-tree > li > .sidebar-head > a {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 6px;
  cursor: pointer;
}
.sidebar-toggle {
  flex: 0 0 auto;
  border: 0;
  background: none;
  padding: 10px 10px 10px 4px;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.sidebar-tree > li.open > .sidebar-head { background: var(--ink); }
.sidebar-tree > li.open > .sidebar-head > a,
.sidebar-tree > li.open > .sidebar-head > .sidebar-toggle { color: var(--paper); }
.sidebar-tree > li > .sidebar-head:hover { background: var(--ink); }
.sidebar-tree > li > .sidebar-head:hover > a,
.sidebar-tree > li > .sidebar-head:hover > .sidebar-toggle { color: var(--paper); }
/* Accordion collapse without layout-property animation.
   Each <li> is its own 0fr→1fr grid. The link is the grid item: it must carry
   zero padding and min-height:0 so the 0fr track can collapse to nothing.
   Vertical rhythm comes from the link's own line-height inside the 1fr state.

   Collapsed items also get visibility:hidden. That takes them out of the
   accessibility tree AND out of the tab order, so a keyboard user never
   lands on a link they cannot see. visibility is a discrete-ish property:
   it flips to visible at the start of the expand and back to hidden at the
   end of the collapse, which is exactly the timing we want. */
.sidebar-children {
  display: block;
}
.sidebar-children > li {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  border-bottom: 0;
  transition: grid-template-rows 0.22s ease-out, visibility 0.22s ease-out;
}
.sidebar-children > li > a {
  overflow: hidden;
  min-height: 0;
  padding: 0 6px 0 18px;
  line-height: 34px;
}
.sidebar-children > li:last-child {
  border-bottom: none;
}
.sidebar-tree > li.open > .sidebar-children > li {
  grid-template-rows: 1fr;
  visibility: visible;
  border-bottom: 1px solid var(--paper-2);
}
.sidebar-tree > li.open > .sidebar-children > li:last-child {
  border-bottom: 0;
}
@media (prefers-reduced-motion: reduce) {
  .sidebar-children > li { transition: none; }
}
.sidebar-children li a {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
}
.sidebar-children li a:hover {
  background: var(--ink);
  color: var(--paper);
}
.sidebar-children li.active a {
  background: var(--hazard);
  color: var(--paper);
  font-weight: 700;
}
.sidebar-children li.active a:hover {
  background: var(--hazard);
  color: var(--paper);
}

/* ============================================================
   15. IM FLOAT BUTTON
   ============================================================ */
.im-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid var(--ink);
  padding: 12px 18px;
  box-shadow: 4px 4px 0 rgba(6, 6, 6, 0.2);
  transition: background 0.22s ease-out, color 0.22s ease-out, border-color 0.22s ease-out;
}
.im-float:hover {
  background: var(--hazard);
  border-color: var(--hazard);
  color: var(--paper);
}

/* ============================================================
   16. TRUST STRIP (client logos / social proof)
   ============================================================ */
.trust-strip {
  padding: 32px 22px;
  border-bottom: 4px solid var(--ink);
}
.trust-strip h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1px;
  background: var(--ink);
  border: 1px solid var(--ink);
  margin-bottom: 14px;
}
.trust-logos span {
  background: var(--paper);
  padding: 16px 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.trust-strip p {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ============================================================
   17. COMPARISON TABLE
   ============================================================ */
/* Standalone pages (guide.html — no sidebar): center the 1280px container.
   Inside .page-main (product/scene pages) the flex column stretches children,
   so an auto margin here would absorb free space and shrink the block to its
   content width. Override it back to full width there. */
.compare {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 22px 24px 26px;
  border-bottom: 1px solid var(--ink);
}
.page-with-sidebar .compare,
.page-main > .compare {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.compare h3 {
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.compare table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.compare th {
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  text-align: left;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.1em;
}
.compare td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--ink);
}
.compare tr:nth-child(even) td { background: var(--paper-2); }

/* Summary note under a comparison table — spans the same width as the table
   it interprets. Full measure is fine here: short lines of dense spec text,
   not a reading-measure paragraph.
   Separated by a paper-2 band + 1px ink rule rather than a colored side accent,
   so it reads as a footnote attached to the table rather than a callout card. */
.compare-note {
  max-width: none;   /* beats the global `p { max-width: 68ch }` — this is a table note, not body copy */
  margin: 0;
  padding: 14px 18px;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.compare-note strong { color: var(--ink); }
.compare-note small {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============================================================
   18. SCENE GRID (homepage + scene pages)
   ============================================================ */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: transparent;
  border-bottom: 1px solid var(--ink);
  max-width: 1280px;
  margin: 0 auto;
}
.scene-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: background 0.22s ease-out, color 0.22s ease-out;
}
/* 上半部:文字区 */
.scene-card .scene-body {
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
  background: var(--paper);
  transition: background 0.22s ease-out;
  overflow: hidden;
}
/* SVG 大图水印 — 用 mask 渲染,色随 currentColor,hover 时反色 */
.scene-card .scene-body::after {
  content: '';
  position: absolute;
  top: 16px;
  right: 16px;
  width: 80px;
  height: 80px;
  background: var(--ink);
  -webkit-mask-image: var(--scene-icon, none);
          mask-image: var(--scene-icon, none);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
  opacity: 0.1;
  pointer-events: none;
  transition: opacity 0.2s ease-out, background 0.22s ease-out;
  z-index: -1;
}
.scene-card:hover .scene-body::after {
  opacity: 0.18;
  background: var(--paper);
}
/* 8 张卡的 SVG 路径 — 用于文字区水印 mask */
.scene-card--robot    { --scene-icon: url('/assets/images/icon-robot.svg'); }
.scene-card--chain    { --scene-icon: url('/assets/images/icon-chain.svg'); }
.scene-card--spring   { --scene-icon: url('/assets/images/icon-spring.svg'); }
.scene-card--elevator { --scene-icon: url('/assets/images/icon-elevator.svg'); }
.scene-card--crane    { --scene-icon: url('/assets/images/icon-crane.svg'); }
.scene-card--data     { --scene-icon: url('/assets/images/icon-data.svg'); }
.scene-card--special  { --scene-icon: url('/assets/images/icon-electric.svg'); }
.scene-card--hightemp { --scene-icon: url('/assets/images/icon-high-temp.svg'); }
.scene-card--shield   { --scene-icon: url('/assets/images/icon-shield.svg'); }
.scene-card--sheath   { --scene-icon: url('/assets/images/icon-sheath.svg'); }
.scene-card .scene-index {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.scene-card .scene-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.scene-card h3 {
  font-family: var(--display);
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0;
}
.scene-card p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.scene-card .scene-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hazard);
  margin-top: 4px;
}
/* 下半部:图条 + 渐变蒙层 */
.scene-card .scene-img {
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: 135px;
  object-fit: cover;
  background: var(--ink-soft);
}
/* 底部渐变:让图底部融入卡片底边 */
.scene-card .scene-img {
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%);
          mask-image: linear-gradient(to top, transparent 0%, #000 22%);
}
/* 无图卡的占位(纯图标居中显示) */
.scene-card .scene-img-placeholder {
  flex: 1 1 auto;
  min-height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border-top: 1px solid var(--ink);
}
.scene-card:hover { background: var(--ink); color: var(--paper); }
.scene-card:hover .scene-body { background: var(--ink); color: var(--paper); }
.scene-card:hover p { color: var(--paper-2); }
.scene-card:hover .scene-index,
.scene-card:hover .scene-img-placeholder { color: var(--paper); border-color: var(--paper); }

/* ============================================================
   19. PRODUCT CARD LIST
   ============================================================ */
.product-list {
  padding: 22px 24px;
  border-bottom: 1px solid var(--ink);
}
.product-list h2 {
  font-family: var(--display);
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.product-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.product-card {
  background: var(--paper);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
/* Note: edge-cleanup :last-child/:nth-last-child rules removed.
   They break when tag filter hides cards (display: still counts hidden nodes),
   causing visible cards to lose borders at wrong positions after filtering.
   All cards keep border-right/border-bottom; grid border wraps the edges. */
.product-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid var(--ink);
  transition: opacity 0.22s ease-out;
  /* CSS-only fallback: if the hero SVG is broken or missing, the placeholder shows through.
     Image is positioned over the background; when img fails to load, only background renders. */
  background-color: var(--paper-2);
  background-image: url('/assets/images/placeholder-scene.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 80% 80%;
}
/* Card image is a link to the same detail page as 查看详情.
   display:block + line-height:0 kills the inline baseline gap under the photo;
   background:none overrides the global a:hover invert so hovering the photo
   doesn't paint the anchor black; feedback is a subtle image dim instead. */
.product-card .card-img-link {
  display: block;
  line-height: 0;
}
.product-card .card-img-link:hover { background: none; }
.product-card .card-img-link:hover img { opacity: 0.82; }
.product-card .card-img-link:focus-visible { outline-offset: 2px; }
.product-card h4 {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}
.product-card p {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-soft);
}
.product-card .card-cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 6px 12px;
  text-align: center;
  margin-top: auto;
}
.product-card .card-cta:hover { background: var(--ink); color: var(--paper); }

/* ============================================================
   19B. HUB PAGES — /scene/index.html and /product/index.html
   ============================================================ */

/* --- Series sections (product hub) --- */
.hub-series {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 44px;
}
.hub-series__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 4px solid var(--ink);
}
.hub-series__head h2 {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}

/* --- Hub product card: adds feature chips + cert row --- */
.product-card--hub h4 {
  font-size: 17px;
}
.product-card--hub p {
  font-size: 13.5px;
  line-height: 1.55;
}
.product-card--hub .card-cta {
  font-size: 12.5px;
  padding: 8px 14px;
}
.product-card--hub .card-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
/* Chip size is tuned so the longest feature list (5 chips) still fits one
   line inside a 1/3-width card — wrapping would break the baseline
   alignment of the descriptions below. */
.card-chip {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--ink);
  white-space: nowrap;
}
.product-card--hub .card-metas {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}
.product-card--hub .card-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
}
.product-card--hub .card-meta__k { color: var(--hazard); white-space: nowrap; }
.product-card--hub .card-meta__v { color: var(--ink-soft); }
/* Push the CTA to the bottom so buttons line up across a row */
.product-card--hub .card-cta { margin-top: 12px; }

/* --- Series head links (title + MODELS) --- */
.hub-series__head-link,
.hub-series__meta-link {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.22s ease-out;
}
.hub-series__head-link:hover,
.hub-series__meta-link:hover {
  color: var(--hazard);
}
.hub-series__head-link:focus-visible,
.hub-series__meta-link:focus-visible {
  outline: 2px solid var(--hazard);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Keep h2/meta layout intact inside anchors */
.hub-series__head-link h2 { margin: 0; }

/* --- "查看全部" button (for series with >4 models) --- */
.hub-series__more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 10px 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.22s ease-out, color 0.22s ease-out, border-color 0.22s ease-out;
}
.hub-series__more-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.hub-series__more-btn:focus-visible {
  outline: 2px solid var(--hazard);
  outline-offset: 2px;
}

/* Wrapper: right-align the button under the card grid */
.more-btn-wrapper {
  text-align: right;
  margin-top: 24px;
}

/* Responsive adjustments */
@media (max-width: 880px) {
  .hub-series { padding: 0 18px 32px; }
  .hub-series__head { flex-direction: column; gap: 8px; }
  .hub-series__more-btn { width: 100%; }
}
@media (max-width: 600px) {
  .hub-series { padding: 0 14px 28px; }
}

/* ============================================================
   20. SELECTOR WIZARD (3-step tool)
   ============================================================ */
.selector-wizard {
  padding: 42px 24px;
  border-bottom: 4px solid var(--ink);
  max-width: 1280px;
  margin: 0 auto;
}
.selector-wizard h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.wizard-steps-track {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.wizard-step {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 22px 0;
  will-change: transform;
}
.wizard-progress {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
}
.wizard-progress span {
  flex: 1;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--ink);
  border-right: none;
  text-transform: uppercase;
}
.wizard-progress span:last-child { border-right: 1px solid var(--ink); }
.wizard-progress span.done { background: var(--ink); color: var(--paper); }
.wizard-progress span.current { background: var(--hazard); color: var(--paper); border-color: var(--hazard); }

.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--paper);
  border: 1px solid var(--ink);
  margin-bottom: 22px;
}
.wizard-option {
  background: var(--paper);
  padding: 18px 14px;
  border: 1px solid var(--ink);
  text-align: left;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.22s ease-out, color 0.22s ease-out;
}
.wizard-option:hover,
.wizard-option.selected { background: var(--ink); color: var(--paper); }

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}
.wizard-nav button {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.wizard-nav button:hover { background: var(--ink); color: var(--paper); }
.wizard-nav button.primary { background: var(--ink); color: var(--paper); }
.wizard-nav button.primary:hover { background: var(--hazard); border-color: var(--hazard); }

.wizard-result {
  text-align: center;
  padding: 28px 22px;
}
.wizard-result h3 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.wizard-result .result-card {
  display: inline-block;
  text-align: left;
  border: 2px solid var(--ink);
  padding: 22px;
  min-width: 280px;
  margin: 8px;
}

/* ============================================================
   21. PAGE HERO (for non-product pages)
   ============================================================ */
.page-hero {
  padding: 42px 24px;
  border-bottom: 4px solid var(--ink);
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.page-hero p {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.5;
  max-width: 48ch;
  color: var(--ink-soft);
}

/* ============================================================
   22. CONTACT / ABOUT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink);
  border-bottom: 1px solid var(--ink);
  max-width: 1280px;
  margin: 0 auto;
}
.contact-grid > div {
  background: var(--paper);
  padding: 28px 22px;
}
.contact-grid h3 {
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.contact-grid dl {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
}
.contact-grid dt { color: var(--hazard); text-transform: uppercase; }
.contact-grid dd { margin-bottom: 10px; }

/* ============================================================
   23. NEWS / BLOG LIST
   ============================================================ */
.news-list {
  padding: 22px;
}
.news-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
  align-items: baseline;
}
.news-item .date {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hazard);
}
.news-item h3 {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.news-item p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ============================================================
   24. MOBILE NAV OVERLAY (Spring-driven Drawer)
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 2000;
  padding: 22px;
  overflow-y: auto;
  transform: translateY(100%);
  will-change: transform;
}
.mobile-nav.open {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav { transform: none !important; transition: opacity 0.15s ease !important; }
  .mobile-nav.open { transform: none !important; }
}
/* Safety: force hidden on desktop where hamburger is not shown */
@media (min-width: 881px) {
  .mobile-nav { display: none !important; }
}
.mobile-nav .close-btn {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: none;
  border: 2px solid var(--ink);
  padding: 8px 16px;
  margin-bottom: 22px;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 0; }
.mobile-nav ul a {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
}
.mobile-nav ul a:hover { background: var(--ink); color: var(--paper); }

/* Drag handle area at top */
.mobile-nav__drag-handle {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40px;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav__drag-handle::after {
  content: '';
  width: 36px;
  height: 4px;
  background: var(--ink-soft);
  border-radius: 2px;
}
.mobile-nav__drag-handle:active { cursor: grabbing; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 880px) {
  .strip { grid-template-columns: 1fr 1fr; gap: 8px 22px; }
  .strip > div:nth-child(n+5) { display: none; }
  .nav ul { display: none; }
  .hamburger { display: block; }

  .abstract { grid-template-columns: 1fr; }
  .thesis { grid-template-columns: 6ch 1fr; }
  .thesis .tag { display: none; }
  .index-tables { grid-template-columns: 1fr; }
  .index-grid { grid-template-columns: 6ch 1fr 1fr 1fr; }
  /* 规格表四列在窄屏放不下：让外层 grid/flex item 允许收缩，表格改成内部横向滚动，
     不再把整页撑出横向滚动条（min-width:auto 会按内容最小宽度顶宽；
     margin:0 auto 还会让 flex item 不被拉伸、按内容宽度顶宽） */
  .page-with-sidebar > * { min-width: 0; }
  .page-main { min-width: 0; }
  .page-main > * { min-width: 0; }
  .page-main > .index-section { margin-left: 0; margin-right: 0; }
  .index-section { min-width: 0; }
  .index-tables { overflow-x: auto; min-width: 0; }
  .index-grid { min-width: 420px; }
  /* 规格表标题行：标题 + 型号标签在窄屏放不下，允许换行 */
  .index-head { flex-wrap: wrap; gap: 6px; }
  .index-head h2 { font-size: clamp(22px, 7vw, 30px); }
  .index-head .meta { font-size: 10px; }

  .spec-row { grid-template-columns: 1fr; gap: 12px; }
  .spec-col-stats { flex-direction: row; gap: 18px; }
  .spec-col-stats .stat-item { text-align: left; }

  .page-with-sidebar { grid-template-columns: 1fr; }
  /* 窄屏：内容在前、侧边栏在后（耐高温段有 30 款，侧栏放前面要滑很久才看到正文） */
  .page-with-sidebar { display: flex; flex-direction: column; gap: 24px; }
  .page-main { order: 1; }
  .sidebar { order: 2; position: static; max-height: none; overflow-y: visible; }
/* 窄屏侧栏跟着页面滚，标题再吸顶就会浮在正文上面 —— 关掉 */
.sidebar h3 { position: static; }
  .page-cta { position: absolute; left: 0; right: 0; }
  .alert { grid-template-columns: 1fr; }
  .colophon { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 600px) {
  .strip { grid-template-columns: 1fr; font-size: 10px; }
  .strip > div:nth-child(n+3) { display: none; }
  .nav { padding: 10px 14px; }
  .brand { font-size: 36px; }

  .abstract { padding: 32px 14px; }
  .abstract .body { font-size: 16px; }
  .manifest { padding: 32px 14px; }
  .thesis { grid-template-columns: 4ch 1fr; gap: 16px; }
  .thesis .num { font-size: 32px; }

  .index-tables { padding: 0 14px 14px; }
  .index-grid { font-size: 8px; }

  .page-with-sidebar { grid-template-columns: 1fr; }
  .cta-menu { padding: 28px 14px; }
  .page-cta { padding: 28px 14px 24px; }
  .page-cta-grid { grid-template-columns: 1fr; }
  .page-cta-grid .cta-card { border-right: none; border-bottom: 1px solid var(--ink); }
  .page-cta-grid .cta-card:last-child { border-bottom: none; }
  .faq { padding: 28px 14px; }
  .alert { padding: 14px; }
  .colophon { padding: 24px 14px; }

  .scene-grid { grid-template-columns: 1fr; }
  .product-card-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 28px 14px; }
  .page-hero h1 { font-size: clamp(28px, 10vw, 52px); }

  .im-float { bottom: 16px; right: 16px; padding: 10px 14px; font-size: 10px; }
  .wizard-options { grid-template-columns: 1fr; }
}

/* === .manifest h2 最终覆盖(高优先级,放在文件末尾) === */
.manifest h2 {
  font-family: var(--display);
  font-size: clamp(25px, 5vw, 75px) !important;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 0 0 32px;
}

/* ============================================================
   TAG FILTER (product hub — grouped single-select)
   ============================================================ */
.tag-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1280px;
  margin: 0 auto 32px;
  padding: 26px 24px 0;
}
.tag-filter__label {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.tag-filter__all-btn {
  display: inline-flex;
}
.tag-filter__groups {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tag-filter__group {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}
.tag-filter__group-title {
  flex: 0 0 auto;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.tag-filter__group-title::after {
  content: ':';
  margin-left: 2px;
}
.tag-filter__btns {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.tag-filter-btn {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink);
  padding: 0 11px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.tag-filter-btn:hover {
  border-color: var(--hazard);
}
.tag-filter-btn.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.tag-filter__empty {
  margin-top: 16px;
  padding: 20px 14px;
  background: var(--paper-2);
  border: 1px dashed var(--ink-soft);
  text-align: center;
}
.tag-empty__text {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.tag-empty__btn {
  font-family: var(--sans);
  font-size: 13px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  padding: 8px 16px;
  cursor: pointer;
}
.tag-empty__btn:hover {
  background: var(--hazard);
  border-color: var(--hazard);
}

/* ============================================================
   5 列规格表（光伏系列：编号/型号/截面/外径/直流电压）
   .index-grid 默认 4 列，光伏表多一列需显式覆盖，否则表头与数据行错位
   ============================================================ */
.index-grid--5 {
  grid-template-columns: 6ch 1.5fr 1fr 1fr 1fr;
}
@media (max-width: 880px) {
  .index-grid--5 {
    grid-template-columns: 6ch 1fr 1fr 1fr 1fr;
    min-width: 520px;
  }
}

/* 响应式：与 .hub-series 的内边距保持一致 */
@media (max-width: 880px) {
  .tag-filter { padding: 20px 18px 0; margin-bottom: 24px; }
  .tag-filter__groups { gap: 16px; }
  .tag-filter__group { padding: 14px; gap: 12px; }
  .tag-filter__group-title { flex-basis: 68px; }
}
@media (max-width: 600px) {
  .tag-filter { padding: 16px 14px 0; gap: 12px; }
  .tag-filter__group { padding: 12px; gap: 8px; flex-direction: column; }
  .tag-filter__group-title { flex: none; padding-top: 0; }
  .tag-filter__btns { gap: 6px; }
  .tag-filter-btn { font-size: 12px; padding: 5px 10px; }
}

/* ============================================================
   GLOBAL REDUCED MOTION FALLBACK
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .scene-card.reveal { opacity: 1; transform: none; }
  .mobile-nav { transform: none !important; transition: opacity 0.15s ease !important; }
  .lightbox { transition: opacity 0.15s ease !important; }
  .lightbox__img { transform: none !important; }
  .faq-a { transition: none !important; }
  .sidebar-children > li { transition: none !important; }
  .wizard-steps-track { transition: none !important; transform: none !important; }
}
