/* ==========================================================================
   Calibre — 精密制造企业主题
   工程文档式排版：纯白纸面、1px 细线、单一信号蓝、方角、轻量标题
   目录
   01 字体        02 令牌        03 基础        04 通用组件
   05 页头        06 首屏        07 首页区块    08 列表与卡片
   09 文章页      10 产品页      11 独立页面    12 页脚
   13 动效        14 响应式      15 打印
   ========================================================================== */

/* ---------- 01 字体 ---------- */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/plex-sans-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/plex-sans-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/plex-sans-latin-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/plex-sans-latin-600.woff2") format("woff2");
}

/* ---------- 02 令牌 ---------- */
:root {
  --brand: #0f62fe;
  --brand-hover: #0043ce;
  --brand-press: #002d9c;
  --ink: #161616;
  --ink-2: #525252;
  --ink-3: #6f6f6f;
  --canvas: #ffffff;
  --paper: #f4f4f4;
  --paper-2: #e8e8e8;
  --line: #e0e0e0;
  --line-strong: #161616;
  --inverse: #161616;
  --inverse-2: #262626;
  --on-inverse: #ffffff;
  --on-inverse-2: #c6c6c6;
  --on-inverse-3: #8d8d8d;
  --success: #24a148;
  --error: #da1e28;

  --font-sans: "IBM Plex Sans", "PingFang SC", "HarmonyOS Sans SC",
    "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

  --container: 1400px;
  --gutter: 40px;
  --section: 120px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --fast: 180ms;
  --slow: 700ms;
}


/* Halo 搜索组件（plugin-search-widget）
   官方只开放 CSS 变量作为主题适配入口，这里按 Calibre 的字体、方角、信号蓝、
   纸面与细线体系设置；变量放在 :root/body 上，兼容 Shadow DOM 继承。 */
:root,
body {
  --halo-search-widget-base-font-size: 16px;
  --halo-search-widget-base-font-family: var(--font-sans);
  --halo-search-widget-base-rounded: 0px;
  --halo-search-widget-base-bg-color: var(--paper);
  --halo-search-widget-primary-color: var(--brand);
  --halo-search-widget-muted-color: var(--ink-3);
  --halo-search-widget-content-color: var(--ink);
  --halo-search-widget-modal-bg-color: var(--canvas);
  --halo-search-widget-modal-layer-color: rgba(10, 10, 10, 0.72);
  --halo-search-widget-hit-bg-color: var(--paper);
  --halo-search-widget-divider-color: var(--line);
  --halo-search-widget-kbd-border-color: var(--line);
  --halo-search-widget-kbd-shadow: none;

  /* 旧版搜索插件兼容变量 */
  --halo-search-widget-base-border-radius: 0px;
  --halo-search-widget-color-modal-layer: rgba(10, 10, 10, 0.72);
  --halo-search-widget-color-modal-content-bg: var(--canvas);
  --halo-search-widget-color-form-input-bg: var(--paper);
  --halo-search-widget-color-form-input: var(--ink);
  --halo-search-widget-color-form-input-placeholder: var(--ink-3);
  --halo-search-widget-color-form-divider: var(--line);
  --halo-search-widget-color-result-empty: var(--ink-3);
  --halo-search-widget-color-result-item-bg: var(--canvas);
  --halo-search-widget-color-result-item-hover-bg: var(--paper);
  --halo-search-widget-color-result-item-title: var(--ink);
  --halo-search-widget-color-result-item-content: var(--ink-2);
  --halo-search-widget-color-command-kbd-item: var(--ink-3);
  --halo-search-widget-color-command-kbd-border: var(--line);
}

/* ---------- 03 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

html {
  scrollbar-color: #bdbdbd var(--canvas);
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--canvas);
}
::-webkit-scrollbar-thumb {
  background: #bdbdbd;
  border: 3px solid var(--canvas);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--ink-3);
}
body {
  margin: 0;
  background: var(--canvas);
  caret-color: var(--brand);
  color: var(--ink-2);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
  font-weight: 400;
  line-height: 1.25;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 18px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform var(--fast) var(--ease);
}
.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-main {
  display: block;
}

.idx {
  font-variant-numeric: tabular-nums;
  color: var(--brand);
  font-weight: 500;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

/* ---------- 04 通用组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
    border-color var(--fast) var(--ease);
}
.btn svg {
  width: 16px;
  height: 16px;
  flex: none;
  transition: transform var(--fast) var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover {
  background-image: linear-gradient(rgba(10, 10, 10, 0.14), rgba(10, 10, 10, 0.14));
}
.btn--primary:active {
  background-image: linear-gradient(rgba(10, 10, 10, 0.24), rgba(10, 10, 10, 0.24));
}
.btn--secondary {
  background: var(--ink);
  color: #fff;
}
.btn--secondary:hover {
  background: #0a0a0a;
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  background: var(--paper);
}
.btn--inverse {
  background: #fff;
  color: var(--ink);
}
.btn--inverse:hover {
  background: var(--paper);
}
.btn--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13px;
}
.btn--lg {
  height: 52px;
  padding: 0 30px;
}
.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--fast) var(--ease),
    border-color var(--fast) var(--ease);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform var(--fast) var(--ease);
}
.link-arrow:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* 区块头 */
.section {
  padding-block: var(--section);
}
.section--paper {
  background: var(--paper);
}
.section--tight {
  padding-block: 72px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 64px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  margin-bottom: 56px;
}
.section-title {
  color: var(--ink);
  text-wrap: balance;
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 18em;
}
.section-sub {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
  max-width: 42ch;
  text-wrap: pretty;
}
.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 4px;
}
.section-foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* 空状态 */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 72px 24px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
}
.empty-state svg {
  width: 24px;
  height: 24px;
  color: var(--ink-3);
}

/* 分页 */
.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.pager__spacer {
  flex: 1;
}
.pager__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--fast) var(--ease);
}
.pager__btn svg {
  width: 16px;
  height: 16px;
}
.pager__btn:first-child svg {
  transform: rotate(180deg);
}
.pager__btn:hover {
  color: var(--brand);
}
.pager__info {
  color: var(--ink-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pager__info strong {
  color: var(--ink);
  font-weight: 500;
}
.pager__slash {
  margin: 0 6px;
}

/* ---------- 05 页头 ---------- */
.utility {
  background: var(--inverse);
  color: var(--on-inverse-2);
  font-size: 12px;
  line-height: 1.4;
}
.utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 36px;
}
.utility__note {
  display: flex;
  align-items: center;
  gap: 10px;
}
.utility__dot {
  width: 5px;
  height: 5px;
  background: var(--success);
  border-radius: 50%;
  flex: none;
}
.utility__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.utility a:hover {
  color: #fff;
}

.site-header {
  position: relative;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--line);
}
.site-header--sticky {
  position: sticky;
  top: 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  height: var(--nav-h);
}
.site-header.is-scrolled {
  border-color: var(--line-strong);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  width: 30px;
  height: 30px;
  color: var(--ink);
}
.brand__mark svg {
  width: 100%;
  height: 100%;
}
.brand__mark .logo__accent {
  fill: var(--brand);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand__name {
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.brand__tag {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
.nav__head,
.nav__foot {
  display: none;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__item {
  position: relative;
}
.nav__link {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  transition: color var(--fast) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--fast) var(--ease);
}
.nav__item:hover > .nav__link,
.nav__item.is-active > .nav__link {
  color: var(--brand);
}
.nav__item.is-active > .nav__link::after,
.nav__item:hover > .nav__link::after {
  transform: scaleX(1);
}
.nav__expand {
  display: none;
}
.nav__sub {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 232px;
  padding: 8px 0;
  background: var(--canvas);
  border: 1px solid var(--line);
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease),
    visibility var(--fast);
}
.nav__item:hover > .nav__sub,
.nav__item:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__sub a {
  display: block;
  padding: 10px 20px;
  color: var(--ink-2);
  font-size: 13px;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.nav__sub a:hover {
  background: var(--paper);
  color: var(--brand);
}
.nav__subitem {
  position: relative;
}
.nav__subitem > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav__sub-arrow {
  display: inline-flex;
  flex: none;
  width: 14px;
  height: 14px;
  color: var(--ink-3);
  transform: rotate(-90deg);
  transition: color var(--fast) var(--ease);
}
.nav__sub-arrow svg {
  width: 14px;
  height: 14px;
}
.nav__subitem:hover > a .nav__sub-arrow {
  color: var(--brand);
}
.nav__sub--nested {
  top: -8px;
  left: 100%;
  min-width: 210px;
  transform: translateX(-6px);
}
.nav__subitem:hover > .nav__sub--nested,
.nav__subitem:focus-within > .nav__sub--nested,
.nav__item.is-open > .nav__sub,
.nav__subitem.is-open > .nav__sub--nested {
  opacity: 1;
  visibility: visible;
  transform: none;
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex: none;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.icon-btn:hover {
  background: var(--paper);
  color: var(--brand);
}
.login-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}
.login-link svg {
  width: 18px;
  height: 18px;
}
.login-link:hover {
  color: var(--brand);
}
.header-cta {
  margin-left: 10px;
}
.nav-toggle {
  display: none;
}

.user-menu {
  position: relative;
}
.user-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.user-menu__avatar svg {
  width: 20px;
  height: 20px;
}
.user-menu__label {
  font-size: 13px;
}
.user-menu__caret svg {
  width: 14px;
  height: 14px;
}
.user-menu__panel {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  padding: 8px 0;
  background: var(--canvas);
  border: 1px solid var(--line);
  display: none;
  z-index: 10;
}
.user-menu.is-open .user-menu__panel {
  display: block;
}
.user-menu__panel a {
  display: block;
  padding: 10px 20px;
  color: var(--ink-2);
  font-size: 13px;
}
.user-menu__panel a:hover {
  background: var(--paper);
  color: var(--brand);
}

/* ---------- 06 首屏 ---------- */
.hero {
  position: relative;
  background: var(--canvas);
}

/* 图片轮播 */
.hero--media {
  height: var(--hero-height, 720px);
  min-height: 520px;
  overflow: hidden;
  background: var(--inverse);
}
.hero__track {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--slow) var(--ease), visibility var(--slow);
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hero__slide.is-active .hero__media img {
  transform: scale(1);
  transition: transform 7s linear;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.72) 0%,
      rgba(10, 10, 10, 0.42) 48%,
      rgba(10, 10, 10, 0.08) 100%
    ),
    rgba(10, 10, 10, var(--hero-overlay, 0.28));
}
.hero--media .hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 48px;
  padding-bottom: 64px;
}
.hero--media .hero__copy {
  max-width: 780px;
}
.hero--media .hero__title {
  color: #fff;
}
.hero--media .hero__sub {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 22px;
}
.hero__title {
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__sub {
  max-width: 560px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__controls {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  transform: translateX(-50%);
  width: 100%;
}
.hero__counter {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.hero__bars {
  display: flex;
  gap: 6px;
}
.hero__bar {
  width: 34px;
  height: 2px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: background var(--fast) var(--ease);
}
.hero__bar.is-active {
  background: #fff;
}
.hero__arrows {
  display: flex;
  gap: 1px;
  margin-left: 8px;
}
.hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(10, 10, 10, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease),
    border-color var(--fast) var(--ease);
}
.hero__arrow svg {
  width: 18px;
  height: 18px;
}
.hero__arrow--prev svg {
  transform: rotate(180deg);
}
.hero__arrow:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

/* 无图首屏：工程文档式 */
.hero--doc {
  position: relative;
  padding: 112px 0 96px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero--doc::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(22, 22, 22, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(22, 22, 22, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.9),
    transparent 88%
  );
  mask-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.9), transparent 88%);
  pointer-events: none;
}
.hero__doc {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 64px;
  align-items: end;
}
.hero--doc .hero__title {
  max-width: 14em;
}
.hero__marks {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hero__mark {
  padding: 0 24px;
  border-left: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.03em;
}
.hero__mark:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__spec {
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  background: var(--canvas);
}
.hero__spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.hero__spec-no {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.spec-list {
  margin: 0;
}
.spec-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.spec-row dt {
  color: var(--ink-2);
  font-size: 13px;
}
.spec-row dd {
  color: var(--ink);
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.hero__spec-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: var(--ink-2);
  font-size: 12px;
}
.hero__spec-foot .utility__dot {
  background: var(--success);
}

/* ---------- 07 首页区块 ---------- */
/* 核心数据 */
.facts {
  border-bottom: 1px solid var(--line);
}
.facts__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.fact-cell {
  padding: 40px 32px;
  border-left: 1px solid var(--line);
}
.fact-cell:first-child {
  border-left: 0;
  padding-left: 0;
}
.fact__value {
  color: var(--ink);
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.fact__unit {
  margin-left: 6px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.fact__label {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 13px;
}

/* 产品 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  gap: 1px;
  background: transparent;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  outline: 1px solid var(--line);
  transition: background var(--fast) var(--ease);
}
.product-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
  z-index: 3;
}
.product-card:hover::before {
  transform: scaleX(1);
}
.product-card:hover {
  background: #fcfcfc;
}
.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background: var(--paper);
  overflow: hidden;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 520ms var(--ease);
}
.product-card:hover .product-card__media img {
  transform: scale(1.04);
}
.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
  padding: 24px;
}
.product-card__cat {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.product-card__title {
  color: var(--ink);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
  transition: color var(--fast) var(--ease);
}
.product-card:hover .product-card__title {
  color: var(--brand);
}
.product-card__children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 4px;
  position: relative;
  z-index: 3;
}
.product-card__children a {
  color: var(--ink-2);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
  transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.product-card__children a:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--ink-2);
  font-size: 12px;
}
.product-card__meta em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.product-card__meta svg {
  width: 16px;
  height: 16px;
  color: var(--ink-3);
  transition: transform var(--fast) var(--ease), color var(--fast) var(--ease);
}
.product-card:hover .product-card__meta svg {
  transform: translateX(3px);
  color: var(--brand);
}

/* 工厂视频 */
.video-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: center;
}
.video-copy .section-title {
  max-width: 18em;
}
.video-copy .section-sub {
  margin-top: 20px;
}
.video-points {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.video-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}
.video-points svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: none;
  color: var(--brand);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--inverse);
  border: 1px solid var(--inverse);
  overflow: hidden;
}
.video-frame video,
.video-frame__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-frame__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 12px;
  letter-spacing: 0.18em;
}
.video-frame__placeholder strong {
  color: rgba(255, 255, 255, 0.14);
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
}
.video-frame__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: rgba(10, 10, 10, 0.14);
  cursor: pointer;
  transition: opacity var(--fast) var(--ease), visibility var(--fast);
}
.video-frame__play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  background: #fff;
  color: var(--ink);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.video-frame__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}
.video-frame__play:hover span {
  background: var(--brand);
  color: #fff;
}
.video-frame__play:hover {
  background: rgba(10, 10, 10, 0.26);
}
.video-frame.is-playing .video-frame__play {
  opacity: 0;
  visibility: hidden;
}
.video-frame__label {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(22, 22, 22, 0.88);
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.video-frame.is-playing .video-frame__label {
  display: none;
}
.video-frame__label i {
  width: 5px;
  height: 5px;
  background: var(--brand);
  border-radius: 50%;
  font-style: normal;
}

/* 工厂优势 */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: transparent;
}
.adv {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  outline: 1px solid var(--line);
  padding: 28px 28px 36px;
}
.adv__idx {
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.adv__value {
  margin-top: 48px;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.adv__unit {
  margin-left: 4px;
  color: var(--ink-2);
  font-size: 13px;
  letter-spacing: 0;
}
.adv__label {
  margin-top: 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.adv__desc {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.7;
}

/* OEM 流程 */
.oem-head {
  margin-bottom: 48px;
}
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  border-top: 1px solid var(--line-strong);
}
.process__step {
  position: relative;
  padding-top: 26px;
}
.process__step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--brand);
}
.process__idx {
  color: var(--brand);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.process__title {
  margin-top: 18px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.35;
}
.process__desc {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.7;
}
.process__time {
  display: inline-block;
  margin-top: 16px;
  padding: 2px 8px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.oem__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.oem__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.oem__formats {
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.oem__formats strong {
  color: var(--ink);
  font-weight: 500;
}
.oem__note {
  color: var(--ink-3);
  font-size: 12px;
}
.oem__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 新闻 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.news-card {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.news-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper);
  overflow: hidden;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}
.news-card:hover .news-card__media img {
  transform: scale(1.03);
}
.news-card__pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 12px
  );
}
.news-card__cat {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 5px 10px;
  background: var(--canvas);
  color: var(--ink-2);
  font-size: 12px;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.news-card__meta i {
  width: 10px;
  height: 1px;
  background: var(--line);
  font-style: normal;
}
.news-card__title {
  color: var(--ink);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
  transition: color var(--fast) var(--ease);
}
.news-card__title a:hover {
  color: var(--brand);
}
.news-card__excerpt {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink-2);
  font-size: 12px;
}
.news-card__more svg {
  width: 15px;
  height: 15px;
  transition: transform var(--fast) var(--ease);
}
.news-card:hover .news-card__more {
  color: var(--brand);
}
.news-card:hover .news-card__more svg {
  transform: translateX(3px);
}

/* 联系 CTA */
.contact-cta {
  background: var(--brand);
  color: #fff;
  padding: 88px 0;
}
.contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 80px;
  align-items: start;
}
.contact-cta__title {
  color: #fff;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
  max-width: 9em;
}
.contact-cta__desc {
  max-width: 520px;
  margin-top: 22px;
  color: #fff;
  font-size: 16px;
  line-height: 1.75;
}
.contact-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.contact-cta .btn--inverse:hover {
  background: rgba(255, 255, 255, 0.9);
}
.contact-side {
  min-width: 0;
}
.contact-list {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.contact-list__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.contact-list__row dt {
  color: #fff;
  font-weight: 400;
  font-size: 12px;
}
.contact-list__row dd {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  word-break: break-word;
}
.contact-list__row a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-cta__note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
}
.contact-cta__note span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.contact-cta__note i {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-style: normal;
}

/* ---------- 08 列表与卡片 ---------- */
/* 面包屑与内页头 */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.4;
}
.breadcrumb a {
  transition: color var(--fast) var(--ease);
}
.breadcrumb a:hover {
  color: var(--brand);
}
.breadcrumb__sep {
  color: var(--line);
}
.breadcrumb__current {
  color: var(--ink-2);
}
.breadcrumb--top {
  padding-top: 32px;
}

.page-hero {
  padding: 40px 0 64px;
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb {
  margin-bottom: 40px;
}
.page-hero__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.page-hero__body {
  min-width: 0;
}
.page-hero__title {
  color: var(--ink);
  text-wrap: balance;
  font-size: clamp(34px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20em;
}
.page-hero__desc {
  max-width: 640px;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}
.page-hero__meta {
  flex: none;
  text-align: right;
}
.page-hero__meta strong {
  display: block;
  color: var(--ink);
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.page-hero__meta span {
  display: block;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 12px;
}

/* 内容列表 */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.post-card {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper);
  overflow: hidden;
}
.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}
.post-card:hover .post-card__media img {
  transform: scale(1.03);
}
.post-card__pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 12px
  );
}
.post-card__category {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 5px 10px;
  background: var(--canvas);
  color: var(--ink-2);
  font-size: 12px;
}
.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 10px;
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.post-card__meta .dot {
  width: 3px;
  height: 3px;
  background: var(--line);
  border-radius: 50%;
}
.post-card__title {
  color: var(--ink);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
}
.post-card__title a:hover {
  color: var(--brand);
}
.post-card__excerpt {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
}
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink-2);
  font-size: 12px;
}
.post-card__more svg {
  width: 15px;
  height: 15px;
  transition: transform var(--fast) var(--ease);
}
.post-card:hover .post-card__more {
  color: var(--brand);
}
.post-card:hover .post-card__more svg {
  transform: translateX(3px);
}

/* 分类归档 */
.subcats {
  margin-bottom: 64px;
}
.subcats__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  margin-bottom: 24px;
}
.subcats__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.subcats__count {
  color: var(--ink-3);
  font-size: 12px;
}
.subcats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: transparent;
}
.subcat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--canvas);
  outline: 1px solid var(--line);
  transition: background var(--fast) var(--ease);
}
.subcat:hover {
  background: var(--paper);
}
.subcat__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: var(--paper);
  overflow: hidden;
}
.subcat__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 420ms var(--ease);
}
.subcat:hover .subcat__media img {
  transform: scale(1.04);
}
.subcat__pattern {
  width: 100%;
  height: 100%;
  background-image: repeating-linear-gradient(
    45deg,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 12px
  );
}
.subcat__title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
}
.subcat__desc {
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.65;
}
.subcat__meta {
  margin-top: auto;
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* 分类集合 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: transparent;
}
.category-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  padding: 32px;
  background: var(--canvas);
  outline: 1px solid var(--line);
  transition: background var(--fast) var(--ease);
}
.category-card:hover {
  background: var(--paper);
}
.category-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.category-card__idx {
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.category-card__count {
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.category-card__title {
  margin-top: 24px;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
}
.category-card__title a:hover {
  color: var(--brand);
}
.category-card__desc {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.7;
}
.category-card__children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}
.category-card__children a {
  color: var(--ink-2);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.category-card__children a:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.category-card__go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  color: var(--ink-2);
  font-size: 12px;
}
.category-card__go svg {
  width: 15px;
  height: 15px;
  transition: transform var(--fast) var(--ease);
}
.category-card:hover .category-card__go {
  color: var(--brand);
}
.category-card:hover .category-card__go svg {
  transform: translateX(3px);
}

/* 标签云 */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: transparent;
}
.tag-cloud__item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 20px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  outline: 1px solid var(--line);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease);
}
.tag-cloud__item:hover {
  background: var(--paper);
  color: var(--brand);
}
.tag-cloud__hash {
  color: var(--ink-3);
  font-size: 12px;
}
.tag-cloud__item em {
  color: var(--ink-3);
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.tag-cloud__item.is-md {
  font-size: 16px;
}
.tag-cloud__item.is-lg {
  font-size: 18px;
}

/* 归档 */
.archive-layout {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 64px;
  padding-block: 64px var(--section);
}
.archive-years {
  position: sticky;
  top: 116px;
  align-self: start;
}
.archive-years__title {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-3);
  font-size: 12px;
}
.archive-years__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.archive-years__item:hover {
  color: var(--brand);
}
.archive-years__item em {
  color: var(--ink-3);
  font-size: 12px;
  font-style: normal;
}
.archive-year + .archive-year {
  margin-top: 64px;
}
.archive-year__head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}
.archive-year__head h2 {
  color: var(--ink);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.archive-year__count {
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.archive-month {
  margin-top: 32px;
}
.archive-month__title {
  margin-bottom: 6px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 400;
}
.archive-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto 16px;
  gap: 20px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.archive-item time {
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.archive-item__title {
  color: var(--ink);
  transition: color var(--fast) var(--ease);
}
.archive-item__cat {
  color: var(--ink-3);
  font-size: 12px;
}
.archive-item svg {
  width: 15px;
  height: 15px;
  color: var(--ink-3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.archive-item:hover .archive-item__title {
  color: var(--brand);
}
.archive-item:hover svg {
  opacity: 1;
  transform: none;
}

/* 标签 / 作者页 */
.author-hero {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}
.author-hero__avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.author-hero__avatar--text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-size: 30px;
  font-weight: 300;
}
.author-hero__joined {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 12px;
}

/* ---------- 09 文章页 ---------- */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  height: 2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms linear;
}
.reading-progress.is-active {
  opacity: 1;
}
.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--brand);
}

.article__head {
  padding-block: 48px 40px;
}
.article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.02em;
}
a.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.chip--accent {
  border-color: var(--brand);
  color: var(--brand);
}
.article__title {
  max-width: 18em;
  color: var(--ink);
  text-wrap: balance;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.article__excerpt {
  max-width: 760px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}
.article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.article__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article__avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.article__avatar--text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.article__author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.article__author-name {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.article__author-role {
  color: var(--ink-3);
  font-size: 12px;
}
.article__meta-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.fact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.fact svg {
  width: 14px;
  height: 14px;
}
.article__cover {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article__cover img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}
.article__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 80px;
  padding-block: 64px var(--section);
  align-items: start;
}
.article__main {
  min-width: 0;
}
.article__main > .prose {
  max-width: 720px;
}
.article__aside {
  position: sticky;
  top: 116px;
}
.toc {
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.toc__title {
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 12px;
}
.toc__link {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  transition: color var(--fast) var(--ease);
}
.toc__link.is-sub {
  padding-left: 14px;
  font-size: 12px;
}
.toc__link:hover,
.toc__link.is-active {
  color: var(--brand);
}

.article__taglist {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.article__taglist-label {
  margin-right: 8px;
  color: var(--ink-3);
  font-size: 12px;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 12px;
  transition: border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.tag-pill:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.author-card {
  display: flex;
  gap: 18px;
  margin-top: 48px;
  padding: 24px;
  border: 1px solid var(--line);
}
.author-card__avatar {
  width: 52px;
  height: 52px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--line);
}
.author-card__avatar--text {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  font-weight: 500;
}
.author-card__body strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.author-card__body p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.65;
}
.author-card__body .link-arrow {
  margin-top: 12px;
  font-size: 12px;
}

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 48px;
  background: transparent;
}
.post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--canvas);
  outline: 1px solid var(--line);
  transition: background var(--fast) var(--ease);
}
.post-nav__item:only-child {
  grid-column: 1 / -1;
}
.post-nav__item:hover {
  background: var(--paper);
}
.post-nav__label {
  color: var(--ink-3);
  font-size: 12px;
}
.post-nav__item strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.post-nav__item--next {
  text-align: right;
}

.related {
  margin-top: 56px;
}
.related__title {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}
.related__list li {
  border-bottom: 1px solid var(--line);
}
.related__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  font-size: 14px;
}
.related__list time {
  flex: none;
  width: 48px;
  color: var(--ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.related__list span {
  color: var(--ink);
}
.related__list a:hover span {
  color: var(--brand);
}

.comments {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.comments__title {
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

/* 正文 */
.prose {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.85;
  word-wrap: break-word;
}
.prose > *:first-child {
  margin-top: 0;
}
.prose p {
  margin: 0 0 1.2em;
}
.prose h2 {
  margin: 2.4em 0 0.8em;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}
.prose h3 {
  margin: 2em 0 0.6em;
  color: var(--ink);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
}
.prose h4 {
  margin: 1.8em 0 0.5em;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.prose a {
  color: var(--brand);
  border-bottom: 1px solid rgba(15, 98, 254, 0.35);
}
.prose a:hover {
  border-color: var(--brand);
}
.prose ul,
.prose ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}
.prose ul {
  list-style: square;
}
.prose ol {
  list-style: decimal;
}
.prose li {
  margin: 0.35em 0;
}
.prose li::marker {
  color: var(--brand);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
}
.prose img {
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border: 1px solid var(--line);
}
.prose figure {
  margin: 32px 0;
}
.prose figcaption {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 12px;
  text-align: center;
}
.prose code {
  padding: 2px 6px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
}
.prose pre {
  position: relative;
  margin: 32px 0;
  padding: 24px;
  background: var(--inverse);
  color: #f4f4f4;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  border-left: 1px solid var(--brand);
}
.prose pre code {
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
.copy-code {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.copy-code:hover {
  border-color: #fff;
  color: #fff;
}
.prose table {
  width: 100%;
  margin: 32px 0;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}
.prose th {
  padding: 12px;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-weight: 500;
  text-align: left;
}
.prose td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.prose hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.prose iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 10 产品页 ---------- */
.product-detail {
  padding-bottom: var(--section);
}
.product-detail__bar {
  padding: 32px 0 0;
}
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  padding: 40px 0 80px;
  align-items: start;
}
.product-gallery {
  min-width: 0;
}
.product-gallery__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: zoom-in;
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery__pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(22, 22, 22, 0.05) 0,
    rgba(22, 22, 22, 0.05) 1px,
    transparent 1px,
    transparent 14px
  );
}
.product-gallery__hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 8px;
  background: var(--canvas);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
}
/* 已被图集收走的正文图片段落 */
.prose .is-gallery-source,
.prose img.is-gallery-source {
  display: none;
}
.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.product-gallery__thumb {
  width: 76px;
  height: 76px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color var(--fast) var(--ease);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
  border-color: var(--ink);
}

.product-intro {
  min-width: 0;
  padding-top: 4px;
}
.product-intro__label {
  margin-bottom: 20px;
  color: var(--ink-3);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.product-intro__title {
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.product-intro__summary {
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}
.spec-table {
  margin: 0;
}
.spec-table__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.spec-table__row dt {
  color: var(--ink-2);
  font-size: 13px;
}
.spec-table__row dd {
  color: var(--ink);
  font-size: 14px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.spec-table__row dd a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.spec-table__row dd a + a {
  margin-left: 6px;
}
.spec-table__row dd a:hover {
  color: var(--brand);
  border-color: var(--brand);
}
.product-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.product-intro__hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 12px;
}
.product-intro__hotline svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
}
.product-intro__hotline a {
  color: var(--ink);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.product-intro__hotline a:hover {
  color: var(--brand);
}

.product-body {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.product-body__aside {
  position: sticky;
  top: 116px;
  align-self: start;
}
.product-body__label {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.product-body__meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--ink-3);
  font-size: 12px;
}
.product-body__content {
  min-width: 0;
}
.product-body__content .prose {
  max-width: 800px;
}

.related-products {
  margin-top: 88px;
}
.related-products .section-head {
  margin-bottom: 32px;
}

/* 图片灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.94);
  padding: 64px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.lightbox__close {
  top: 24px;
  right: 24px;
}
.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__arrow--prev {
  left: 24px;
}
.lightbox__arrow--next {
  right: 24px;
}
.lightbox__close:hover,
.lightbox__arrow:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.lightbox svg {
  width: 20px;
  height: 20px;
}
.lightbox__arrow--prev svg {
  transform: rotate(180deg);
}
.lightbox__count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 11 独立页面 ---------- */
.about-hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--line);
}
.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 80px;
  align-items: end;
}
.about-hero .breadcrumb {
  margin-bottom: 40px;
}
.about-hero__title {
  color: var(--ink);
  text-wrap: balance;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.about-hero__desc {
  max-width: 560px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 18px;
  line-height: 1.7;
}
.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: transparent;
}
.about-stat {
  padding: 24px;
  background: var(--canvas);
  outline: 1px solid var(--line);
}
.about-stat strong {
  display: block;
  color: var(--ink);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.about-stat span {
  display: block;
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 12px;
}
.about-body {
  padding-block: 64px var(--section);
}
.about-body .prose {
  max-width: 820px;
}
.about-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 56px;
}
.about-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}
.about-cta {
  padding-bottom: var(--section);
}

/* 联系我们页 */
.contact-page {
  padding: 64px 0 var(--section);
}
.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}
.contact-page__title {
  color: var(--ink);
  font-size: clamp(30px, 3.4vw, 44px);
  max-width: 9em;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.contact-page__desc {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.75;
}
.contact-rows {
  margin-top: 32px;
  border-top: 1px solid var(--line-strong);
}
.contact-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 20px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-row dt {
  color: var(--ink-3);
  font-size: 12px;
}
.contact-row dd {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  word-break: break-word;
}
.contact-row dd a:hover {
  color: var(--brand);
}
.contact-map {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12px;
  overflow: hidden;
}
.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-map__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.contact-map__placeholder svg {
  width: 28px;
  height: 28px;
  color: var(--brand);
}
.contact-steps {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.contact-steps li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
}
.contact-steps .idx {
  flex: none;
}

/* 错误页 */
.error-page {
  padding: 120px 0 160px;
}
.error-page__code {
  color: var(--paper-2);
  font-size: clamp(64px, 10vw, 96px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.error-page__title {
  margin-top: 24px;
  color: var(--ink);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.error-page__desc {
  max-width: 520px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 16px;
}
.error-page__detail {
  max-width: 720px;
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 12px;
  word-break: break-word;
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* ---------- 12 页脚 ---------- */
.site-footer {
  background: var(--inverse);
  color: var(--on-inverse-2);
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--inverse-2);
}
.footer-brand .brand__name {
  color: #fff;
}
.footer-brand .brand__tag {
  color: var(--on-inverse-3);
}
.footer-brand .brand__mark {
  color: #fff;
}
.footer-about {
  max-width: 340px;
  margin-top: 24px;
  color: var(--on-inverse-2);
  font-size: 13px;
  line-height: 1.75;
}
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
}
.socials a {
  color: var(--on-inverse-2);
  font-size: 12px;
  border-bottom: 1px solid transparent;
}
.socials a:hover {
  color: #fff;
  border-color: #fff;
}
.footer-col__title {
  margin-bottom: 18px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--on-inverse-2);
  font-size: 13px;
  transition: color var(--fast) var(--ease);
}
.footer-links a:hover {
  color: #fff;
}
.footer-links em {
  color: var(--on-inverse-3);
  font-size: 12px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--on-inverse-2);
  font-size: 13px;
  line-height: 1.6;
}
.footer-contact svg {
  width: 15px;
  height: 15px;
  margin-top: 4px;
  flex: none;
  color: var(--on-inverse-3);
}
.footer-contact a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 32px;
  color: var(--on-inverse-3);
  font-size: 12px;
}
.footer-bottom p {
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom a:hover {
  color: #fff;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease),
    visibility var(--fast);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------- 13 动效 ---------- */
.reveal-item {
  opacity: 1;
  transform: none;
}
.js-reveal .reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.js-reveal .reveal-item.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js-reveal .reveal-item {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 14 响应式 ---------- */
@media (max-width: 1240px) {
  :root {
    --gutter: 32px;
    --section: 96px;
  }
  .nav__list {
    gap: 24px;
  }
  .hero__doc {
    gap: 56px;
  }
  .video-block {
    gap: 48px;
  }
  .product-top {
    gap: 48px;
  }
  .article__layout {
    gap: 56px;
  }
}

@media (max-width: 1080px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .hero__doc {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
  }
  .about-hero__inner {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
  }
}

@media (max-width: 1023px) {
  .utility__inner {
    height: 34px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta,
  .login-link {
    display: none;
  }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: var(--canvas);
    border: 0;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 320ms var(--ease), visibility 320ms;
    overflow-y: auto;
  }
  body.nav-open .nav {
    transform: none;
    visibility: visible;
  }
  .nav__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav__head-title {
    color: var(--ink-3);
    font-size: 12px;
  }
  .nav__list {
    display: block;
    margin-top: 8px;
  }
  .nav__item {
    border-bottom: 1px solid var(--line);
  }
  .nav__link {
    height: auto;
    padding: 18px 0;
    font-size: 21px;
    font-weight: 400;
  }
  .nav__link::after {
    display: none;
  }
  .nav__item.is-active > .nav__link {
    color: var(--brand);
  }
  .nav__expand {
    position: absolute;
    top: 4px;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: var(--ink-2);
    cursor: pointer;
  }
  .nav__expand svg {
    width: 18px;
    height: 18px;
    transition: transform var(--fast) var(--ease);
  }
  .nav__item.is-open .nav__expand svg {
    transform: rotate(180deg);
  }
  .nav__sub {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px 14px;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__item.is-open > .nav__sub {
    display: block;
  }
  .nav__subitem {
    position: relative;
  }
  .nav__subitem > a {
    padding-right: 40px;
  }
  .nav__sub-arrow {
    display: none;
  }
  .nav__sub--nested {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 8px 14px;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__subitem.is-open > .nav__sub--nested {
    display: block;
  }
  .nav__sub a {
    padding: 8px 0;
    font-size: 14px;
  }
  .nav__foot {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
  }
  .nav__foot .btn {
    justify-content: center;
  }
  .header-actions {
    gap: 2px;
  }

  .hero--doc {
    padding: 72px 0 64px;
  }
  .hero__doc,
  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__spec {
    max-width: 520px;
  }
  .hero--media {
    height: 600px;
  }
  .hero--media .hero__inner {
    padding-bottom: 88px;
  }
  .hero__controls {
    bottom: 24px;
  }

  .video-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .article__layout {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }
  .article__aside {
    position: static;
    order: -1;
    margin-bottom: 32px;
  }
  .toc {
    border-left: 0;
    padding-left: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .toc__body {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
  }
  .toc__link,
  .toc__link.is-sub {
    padding: 4px 0;
    padding-left: 0;
    font-size: 12px;
  }
  .article__main > .prose {
    max-width: 100%;
  }
  .product-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 32px;
  }
  .product-gallery__main {
    aspect-ratio: 4 / 3;
  }
  .product-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-body__aside {
    position: static;
  }
  .page-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }
  .page-hero__meta {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }
  .page-hero__meta span {
    margin-top: 0;
  }
  .archive-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 48px;
  }
  .archive-years {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }
  .archive-years__title {
    width: 100%;
    margin-bottom: 4px;
  }
  .archive-years__item {
    gap: 16px;
    padding: 6px 10px;
    border: 1px solid var(--line);
  }
  .contact-cta__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .contact-map {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --section: 64px;
    --nav-h: 64px;
  }
  body {
    font-size: 16px;
  }
  .utility__links {
    display: none;
  }
  .utility__inner {
    justify-content: flex-start;
    height: 32px;
  }
  .brand__name {
    font-size: 16px;
  }
  .brand__tag {
    display: none;
  }
  .site-header__inner {
    gap: 16px;
  }

  .hero--media {
    height: 520px;
  }
  .hero--media .hero__inner {
    padding-top: 32px;
    padding-bottom: 72px;
  }
  .hero__title {
    font-size: clamp(34px, 9vw, 44px);
  }
  .hero__sub {
    font-size: 16px;
    margin-top: 16px;
  }
  .hero__actions {
    margin-top: 26px;
    gap: 8px;
  }
  .hero__actions .btn {
    height: 46px;
    padding: 0 20px;
  }
  .hero__controls {
    gap: 12px;
    flex-wrap: wrap;
  }
  .hero__bar {
    width: 20px;
  }
  .hero__arrow {
    width: 44px;
    height: 44px;
  }
  .hero--doc {
    padding: 56px 0 56px;
  }
  .hero__marks {
    margin-top: 36px;
    gap: 8px 0;
  }
  .hero__mark {
    padding: 0 14px;
    font-size: 12px;
  }
  .hero__spec-head,
  .spec-row,
  .hero__spec-foot {
    padding-inline: 16px;
  }

  .facts__row {
    grid-template-columns: repeat(2, 1fr);
  }
  .fact-cell {
    padding: 24px 20px;
  }
  .fact-cell:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
  }
  .fact-cell:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
  .section-title {
    font-size: clamp(26px, 7.4vw, 32px);
    max-width: none;
  }
  .section-sub {
    font-size: 14px;
  }
  .section-head__aside {
    gap: 14px;
  }

  .product-grid,
  .news-grid,
  .post-grid,
  .category-grid,
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    gap: 32px;
  }
  .post-grid {
    gap: 32px;
  }
  .product-card__body {
    padding: 20px;
  }
  .product-card__media {
    padding: 24px;
  }
  .adv {
    padding: 24px;
  }
  .adv__value {
    margin-top: 28px;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process__step {
    padding: 22px 0 22px 24px;
    border-bottom: 1px solid var(--line);
    border-top: 0;
  }
  .process__step::before {
    top: 30px;
    left: 0;
  }
  .process__title {
    margin-top: 6px;
  }
  .oem__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .oem__actions {
    width: 100%;
  }
  .oem__actions .btn {
    flex: 1;
  }

  .contact-cta {
    padding: 56px 0;
  }
  .contact-cta__title {
    font-size: clamp(28px, 7.6vw, 36px);
  }
  .contact-cta__actions .btn {
    flex: 1;
  }
  .contact-list__row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .page-hero {
    padding: 28px 0 40px;
  }
  .page-hero .breadcrumb {
    margin-bottom: 28px;
  }
  .page-hero__title {
    font-size: clamp(30px, 8.4vw, 40px);
  }
  .page-hero__desc {
    font-size: 14px;
  }

  .post-nav {
    grid-template-columns: 1fr;
  }
  .subcats {
    margin-bottom: 40px;
  }

  .archive-year__head h2 {
    font-size: 36px;
  }
  .archive-item {
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    gap: 12px;
    font-size: 13px;
  }
  .archive-item__cat {
    display: none;
  }
  .archive-item svg {
    opacity: 1;
    transform: none;
  }

  .article__head {
    padding-block: 32px 28px;
  }
  .article__title {
    font-size: clamp(28px, 8vw, 36px);
  }
  .article__excerpt {
    font-size: 16px;
  }
  .article__meta {
    gap: 16px;
  }
  .article__meta-facts {
    gap: 16px;
  }
  .article__layout {
    padding-block: 40px 64px;
  }
  .article__cover img {
    max-height: 380px;
  }
  .article__main > .prose,
  .prose {
    font-size: 16px;
  }
  .prose h2 {
    font-size: 21px;
  }
  .prose h3 {
    font-size: 18px;
  }
  .author-card {
    flex-direction: column;
  }
  .author-hero {
    flex-wrap: wrap;
    gap: 20px;
  }
  .author-hero__avatar {
    width: 72px;
    height: 72px;
  }
  .related__list a {
    gap: 12px;
  }

  .product-detail {
    padding-bottom: 64px;
  }
  .product-detail__bar {
    padding-top: 20px;
  }
  .product-top {
    padding: 28px 0 56px;
  }
  .product-gallery__main {
    aspect-ratio: 1 / 1;
    padding: 24px;
  }
  .product-gallery__thumb {
    width: 60px;
    height: 60px;
  }
  .product-intro__actions .btn {
    flex: 1;
  }
  .product-body {
    padding-top: 24px;
  }
  .related-products {
    margin-top: 56px;
  }
  .lightbox {
    padding: 16px;
  }
  .lightbox__close {
    top: 12px;
    right: 12px;
  }
  .lightbox__arrow {
    top: auto;
    bottom: 16px;
    transform: none;
  }
  .lightbox__arrow--prev {
    left: 16px;
  }
  .lightbox__arrow--next {
    right: 16px;
  }

  .about-hero {
    padding: 56px 0 48px;
  }
  .about-hero__title {
    font-size: clamp(32px, 9vw, 42px);
  }
  .about-hero__desc {
    font-size: 16px;
  }
  .about-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .about-body {
    padding-block: 40px 64px;
  }

  .contact-page {
    padding-block: 40px 64px;
  }
  .contact-row {
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 12px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 40px;
  }
  .footer-about {
    max-width: none;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0 28px;
  }
  .to-top {
    right: 16px;
    bottom: 16px;
  }

  .error-page {
    padding: 72px 0 96px;
  }
}

@media (max-width: 420px) {
  .hero__marks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 0;
  }
  .hero__mark {
    padding-left: 12px;
  }
  .hero__mark:nth-child(2n + 1) {
    padding-left: 0;
    border-left: 0;
  }
  .about-gallery {
    grid-template-columns: 1fr;
  }
}

/* ---------- 15 打印 ---------- */
@media print {
  .utility,
  .site-header,
  .site-footer,
  .to-top,
  .reading-progress,
  .hero__controls,
  .article__aside,
  .lightbox {
    display: none !important;
  }
  body {
    color: #161616;
    background: #fff;
  }
  .article__layout,
  .product-top,
  .product-body {
    display: block;
  }
  a {
    color: #161616;
  }
  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 12px;
    color: #555;
  }
}

/* ---------- 补充：局部结构 ---------- */
.article__head .breadcrumb {
  margin-bottom: 32px;
}
.subcat__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.video-copy {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.contact-map__placeholder strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.contact-page__content {
  margin-top: 40px;
}
.contact-page__desc + .contact-rows {
  margin-top: 24px;
}
.product-gallery__main.is-empty {
  cursor: default;
}

/* 描边卡片的键盘焦点：覆盖 1px 细线 */
.subcat:focus-visible,
.tag-cloud__item:focus-visible,
.post-nav__item:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}
