/* ==========================================================================
   K8 版本档案库 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================================== */

/* ---------- 1. reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink:        #0A1622;
  --ink-2:      #05101A;
  --panel:      #13263A;
  --panel-2:    #0E1D2C;
  --cyan:       #3FE0D0;
  --cyan-deep:  #12978C;
  --amber:      #FF8A3C;
  --rock:       #7C8A99;
  --moss:       #6E8A5E;
  --clay:       #C4714A;
  --paper:      #F2EFE7;
  --idx:        #9AA6B2;
  --edge:       #05101A;

  --line:      rgba(18, 151, 140, .38);
  --line-soft: rgba(124, 138, 153, .22);

  --font-display: "Archivo Narrow", "Helvetica Neue Condensed", "Arial Narrow",
                  "PingFang SC", "Source Han Sans SC", "Noto Sans SC",
                  system-ui, sans-serif;
  --font-body:    "PingFang SC", "Source Han Sans SC", "Noto Sans SC",
                  "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace,
                  SFMono-Regular, Menlo, Consolas, monospace;

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   26px;
  --r-pill: 999px;

  --wrap: 1240px;
  --gut:  clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. 底图与中文排版 ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.75;
  letter-spacing: .01em;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(1200px 620px at 82% -12%, rgba(63, 224, 208, .16), transparent 62%),
    radial-gradient(900px 520px at 2% 6%, rgba(255, 138, 60, .10), transparent 66%),
    radial-gradient(760px 720px at 50% 112%, rgba(18, 151, 140, .13), transparent 70%),
    linear-gradient(rgba(124, 138, 153, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 138, 153, .055) 1px, transparent 1px);
  background-size: auto, auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: .015em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }

strong { font-weight: 700; }

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

::selection {
  background: rgba(63, 224, 208, .32);
  color: #fff;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 50%;
  z-index: 120;
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--cyan);
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  transform: translate(-50%, -180%);
  transition: transform .22s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

/* ---------- 5. 头部 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 70;
  padding: 10px 0 0;
}

.site-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg,
    rgba(10, 22, 34, .98) 0%,
    rgba(10, 22, 34, .84) 58%,
    rgba(10, 22, 34, 0) 100%);
  pointer-events: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 90;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan-deep), var(--cyan) 58%, var(--amber));
  box-shadow: 0 0 14px rgba(63, 224, 208, .55);
  pointer-events: none;
}

.head-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* 5.1 刻度轨 */
.head-rail {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 24px;
  margin-bottom: 8px;
  padding-inline: clamp(12px, 2vw, 22px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--idx);
  overflow: hidden;
  transition: height .3s var(--ease), margin .3s var(--ease), opacity .3s var(--ease);
}

.rail-id { white-space: nowrap; }

.rail-scale {
  flex: 1 1 auto;
  height: 8px;
  background-image: repeating-linear-gradient(90deg,
    var(--line-soft) 0 1px, transparent 1px 14px);
}

.site-head[data-compact] .head-rail {
  height: 0;
  margin-bottom: 0;
  opacity: 0;
}

/* 5.2 悬浮胶囊 */
.head-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 20px);
  padding: 9px 12px 9px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(19, 38, 58, .94), rgba(10, 22, 34, .94));
  box-shadow:
    0 26px 60px -42px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(242, 239, 231, .06);
  transition: border-radius .32s var(--ease), padding .32s var(--ease),
              border-color .32s var(--ease), box-shadow .32s var(--ease);
}

.site-head[data-compact] .head-shell {
  padding: 5px 10px 5px 14px;
  border-radius: 15px;
  border-color: rgba(63, 224, 208, .52);
  box-shadow:
    0 20px 42px -34px rgba(0, 0, 0, .95),
    inset 0 1px 0 rgba(63, 224, 208, .16);
}

/* 5.3 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #04141C;
  background: linear-gradient(140deg, var(--cyan), #8BF1E6 58%, var(--cyan-deep));
  box-shadow:
    inset 0 0 0 1px rgba(5, 16, 26, .55),
    0 10px 22px -14px rgba(63, 224, 208, .95);
  transition: width .3s var(--ease), height .3s var(--ease),
              border-radius .3s var(--ease), font-size .3s var(--ease);
}

.site-head[data-compact] .brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 13px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--paper);
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--idx);
  white-space: nowrap;
}

/* 5.4 移动端按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid rgba(63, 224, 208, .42);
  border-radius: var(--r-pill);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(63, 224, 208, .12);
  border-color: var(--cyan);
}

.nav-toggle-bars {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 12px;
}

.nav-toggle-bar {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .24s var(--ease), opacity .2s ease;
}

.nav-toggle-bar:first-child { top: 1px; }
.nav-toggle-bar:last-child  { bottom: 1px; }

.site-head[data-open] .nav-toggle-bar:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.site-head[data-open] .nav-toggle-bar:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.nav-toggle-label { display: inline-block; }

/* 5.5 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 18px);
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  position: relative;
  display: block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  letter-spacing: .02em;
  color: rgba(242, 239, 231, .9);
  transition: background .2s var(--ease), color .2s var(--ease), padding .2s var(--ease);
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  transform: translate(-4px, -50%) scale(0);
  transition: transform .22s var(--ease);
}

.nav-link:hover {
  background: rgba(63, 224, 208, .10);
  color: #fff;
}

.nav-link[aria-current="page"] {
  padding-left: 26px;
  color: #fff;
  background: rgba(63, 224, 208, .14);
}

.nav-link[aria-current="page"]::before {
  transform: translate(0, -50%) scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: transform .22s var(--ease), background .22s var(--ease),
              border-color .22s var(--ease), color .22s var(--ease),
              box-shadow .22s var(--ease);
}

.btn-solid {
  background: var(--cyan);
  color: #04141C;
  box-shadow: 0 12px 28px -16px rgba(63, 224, 208, .95);
}

.btn-solid:hover {
  background: #8BF1E6;
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: rgba(63, 224, 208, .45);
  color: var(--cyan);
}

.btn-ghost:hover {
  background: rgba(63, 224, 208, .12);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.btn:active { transform: translateY(0); }

/* ---------- 7. 页脚 ---------- */
.site-foot {
  position: relative;
  margin-top: clamp(56px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 78% 0%, rgba(63, 224, 208, .10), transparent 64%),
    radial-gradient(700px 420px at 6% 100%, rgba(255, 138, 60, .07), transparent 66%),
    linear-gradient(180deg, rgba(8, 18, 28, .99), rgba(5, 16, 26, 1));
  overflow: hidden;
}

.site-foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(124, 138, 153, .05) 1px, transparent 1px);
  background-size: 100% 32px;
  opacity: .7;
  pointer-events: none;
}

/* 7.1 栏目主题带 */
.foot-band {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(19, 38, 58, .45);
}

.foot-band-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(14px, 3vw, 34px);
  padding: 13px var(--gut);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rock);
}

.foot-band-track span + span::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-right: 12px;
  background: var(--cyan-deep);
  vertical-align: middle;
}

/* 7.2 主体 */
.foot-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.65fr);
  gap: clamp(28px, 4vw, 64px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(36px, 5vw, 62px) var(--gut) clamp(26px, 3.4vw, 40px);
}

.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.foot-brand .brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 16px;
}

.foot-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--paper);
}

.foot-brand-note {
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.85;
  color: var(--rock);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.foot-col-title {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
}

.foot-col-title::before {
  content: "";
  width: 14px;
  height: 1px;
  margin-right: 9px;
  background: var(--cyan);
  opacity: .8;
}

.foot-links li + li { margin-top: 10px; }

.foot-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: rgba(242, 239, 231, .84);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.foot-link::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--rock);
  transition: background .2s var(--ease), transform .2s var(--ease);
}

.foot-link:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

.foot-link:hover::before {
  background: var(--cyan);
  transform: scale(1.5);
}

/* 7.3 联系方式横条 */
.foot-contact {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(20px, 4vw, 48px);
  width: 100%;
  padding: clamp(15px, 2.2vw, 20px) var(--gut);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(19, 38, 58, .48);
}

.foot-contact-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}

.foot-contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--idx);
}

.foot-contact-val {
  color: rgba(242, 239, 231, .92);
  letter-spacing: .02em;
}

/* 7.4 底栏 */
.foot-base {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(16px, 3vw, 32px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(18px, 2.6vw, 26px) var(--gut) clamp(30px, 4vw, 46px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--idx);
}

.foot-copy { color: var(--idx); }

.foot-icp {
  padding: 3px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  color: var(--rock);
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-left: auto;
}

.foot-legal a {
  color: var(--idx);
  transition: color .2s var(--ease);
}

.foot-legal a:hover { color: var(--cyan); }

/* ---------- 8. 正文容器与网格 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.grid-12 {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

/* ---------- 9. 基础组件 ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-bottom: clamp(16px, 2.5vw, 26px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--idx);
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.crumbs li::after {
  content: "/";
  color: var(--cyan-deep);
}

.crumbs li:last-child::after { content: ""; }

.crumbs a {
  color: var(--idx);
  transition: color .2s var(--ease);
}

.crumbs a:hover { color: var(--cyan); }

.crumbs [aria-current="page"] { color: var(--paper); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}

.kicker::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.lede {
  max-width: 62ch;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.85;
  color: rgba(242, 239, 231, .82);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 24px;
  margin-bottom: clamp(20px, 3vw, 34px);
}

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
}

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(19, 38, 58, .86), rgba(10, 22, 34, .9));
  box-shadow: 0 24px 50px -42px rgba(0, 0, 0, .95);
  transition: transform .28s var(--ease), border-color .28s var(--ease),
              box-shadow .28s var(--ease);
}

.panel:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 30px 60px -40px rgba(63, 224, 208, .5);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-body {
  font-size: 15px;
  color: rgba(242, 239, 231, .82);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: rgba(19, 38, 58, .62);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--rock);
  transition: border-color .2s var(--ease), color .2s var(--ease),
              background .2s var(--ease);
}

.chip:hover {
  border-color: var(--cyan-deep);
  color: var(--paper);
}

.chip.is-active,
.chip[aria-pressed="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(110, 138, 94, .24);
}

/* ---------- 10. 图片容器（页面阶段放 <img>） ---------- */
.figure {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(160deg, rgba(19, 38, 58, .95), rgba(5, 16, 26, .95));
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) contrast(1.06) brightness(.96);
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(63, 224, 208, .06) 0%, transparent 38%, rgba(5, 16, 26, .72) 100%);
  pointer-events: none;
}

.figure-wide   { aspect-ratio: 16 / 9; }
.figure-tall   { aspect-ratio: 3 / 4; }
.figure-square { aspect-ratio: 1 / 1; }

.figure-caption {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--idx);
}

/* ---------- 11. 扫描线与显现 ---------- */
@keyframes scan-x {
  from { transform: translateX(-30vw); }
  to   { transform: translateX(130vw); }
}

.scanline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(90px, 14vw, 220px);
  background: linear-gradient(90deg, transparent, rgba(63, 224, 208, .34), transparent);
  animation: scan-x 7s linear infinite;
  pointer-events: none;
}

[data-reveal][data-reveal-armed] {
  opacity: 0;
  transform: translateY(16px);
}

[data-reveal][data-revealed] {
  opacity: 1;
  transform: none;
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 12px);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-left: 0;
    padding: 16px;
    border: 1px solid rgba(63, 224, 208, .45);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(19, 38, 58, .99), rgba(8, 18, 28, .99));
    box-shadow: 0 34px 70px -36px #000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(.99);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }

  .site-head[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .nav-link[aria-current="page"] { padding-left: 30px; }

  .nav-link::before { left: 15px; }

  .nav-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-actions .btn {
    flex: 1 1 44%;
  }
}

@media (max-width: 900px) {
  .foot-inner { grid-template-columns: 1fr; }
  .foot-cols  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-12    { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .brand-tag { display: none; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-legal { margin-left: 0; }
  .nav-actions .btn { flex: 1 1 100%; }
  .grid-12 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .foot-cols { grid-template-columns: 1fr; }
  .nav-toggle-label { display: none; }
}

/* ---------- 13. 降低动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  [data-reveal][data-reveal-armed] {
    opacity: 1;
    transform: none;
  }

  .scanline { display: none; }

  .panel:hover,
  .btn:hover,
  .foot-link:hover { transform: none; }
}
