/* ==========================================================================
   优尼看台 · 共享站点样式 /assets/site.css
   夜间赛场指挥中心：深墨绿基座 + 荧光青柠 + 电光橙 + 侧边品牌轨道
   ========================================================================== */

/* ---------- 01 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h, 74px) + 16px);
}

body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd { 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; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
main { display: block; }
[hidden] { display: none !important; }

/* ---------- 02 设计令牌 ---------- */
:root {
  --ink: #071C16;
  --carbon: #0B0D0C;
  --panel: #0F2E25;
  --panel-2: #123A2E;
  --lime: #C8FF3D;
  --lime-soft: #D8FF6E;
  --orange: #FF6A2B;
  --paper: #F4F7F2;
  --muted: #A8BDB2;
  --teal: #2DD4BF;
  --amber: #FFC857;
  --danger: #7A1F2B;

  --line: rgba(168, 189, 178, 0.22);
  --line-strong: rgba(168, 189, 178, 0.42);

  --rail-w: 0px;
  --header-h: 74px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1280px;
  --radius: 2px;

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

  --shadow-hard: 8px 8px 0 0 rgba(0, 0, 0, 0.55);
  --shadow-lift: 12px 12px 0 0 rgba(200, 255, 61, 0.22);
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
}

/* ---------- 03 排版与基底 ---------- */
body {
  padding-left: var(--rail-w);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--paper);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.28; letter-spacing: 0; }
h4 { font-size: 1.05rem; line-height: 1.4; letter-spacing: 0; }
h5 { font-size: 0.95rem; line-height: 1.4; letter-spacing: 0.04em; }

p { max-width: 72ch; }
b, strong { font-weight: 700; color: var(--paper); }
small { font-size: 0.82em; }

::selection { background: var(--lime); color: var(--carbon); }

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

/* ---------- 04 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--carbon {
  background: var(--carbon);
  border-block: 1px solid var(--line);
}
.section--panel {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.grid { display: grid; gap: clamp(14px, 2vw, 26px); }
.grid--auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid--split { grid-template-columns: 1fr; }
@media (min-width: 860px) {
  .grid--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}

.stack { display: grid; gap: clamp(12px, 1.8vw, 22px); }

/* ---------- 05 文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--orange);
  flex: 0 0 auto;
}

.lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
  color: var(--muted);
  max-width: 62ch;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.cut {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), calc(100% - 32px) 100%, 0 100%);
}

/* ---------- 06 按钮 ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.15em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease),
              background-color 0.16s var(--ease), color 0.16s var(--ease),
              border-color 0.16s var(--ease);
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 0 rgba(0, 0, 0, 0.5);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.5);
}
.btn--primary {
  --btn-bg: var(--lime);
  --btn-fg: var(--carbon);
  --btn-bd: var(--lime);
  box-shadow: 4px 4px 0 0 rgba(255, 106, 43, 0.9);
}
.btn--primary:hover {
  --btn-bg: var(--lime-soft);
  box-shadow: 6px 6px 0 0 rgba(255, 106, 43, 0.9);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-strong);
}
.btn--ghost:hover {
  --btn-fg: var(--lime);
  --btn-bd: var(--lime);
}
.btn--sm {
  padding: 0.5em 0.85em;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

/* ---------- 07 标签 / 卡片 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--lime);
  background: rgba(200, 255, 61, 0.1);
  border: 1px solid rgba(200, 255, 61, 0.45);
  border-radius: var(--radius);
}
.tag--orange {
  color: var(--orange);
  background: rgba(255, 106, 43, 0.12);
  border-color: rgba(255, 106, 43, 0.5);
}
.tag--teal {
  color: var(--teal);
  background: rgba(45, 212, 191, 0.12);
  border-color: rgba(45, 212, 191, 0.45);
}

.card {
  position: relative;
  padding: clamp(16px, 2.4vw, 28px);
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.card:hover {
  transform: translate(-2px, -2px);
  border-color: rgba(200, 255, 61, 0.5);
  box-shadow: var(--shadow-lift);
}

/* ---------- 08 面包屑 ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding-block: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.breadcrumb a {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.breadcrumb a:hover {
  color: var(--lime);
  border-bottom-color: var(--lime);
}
.breadcrumb__sep {
  color: var(--orange);
  opacity: 0.85;
}
.breadcrumb [aria-current="page"] {
  color: var(--paper);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}

/* ---------- 09 媒体容器（页面阶段放图） ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
}
.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06);
  transition: transform 0.4s var(--ease);
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(11, 13, 12, 0) 42%, rgba(7, 28, 22, 0.86) 100%),
    repeating-linear-gradient(0deg, rgba(200, 255, 61, 0.07) 0 1px, transparent 1px 30px);
}
.media:hover > img { transform: scale(1.03); }

.media--wide { aspect-ratio: 16 / 7; }
.media--landscape { aspect-ratio: 4 / 3; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }

.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 8px 12px;
  background: var(--carbon);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
}
.media__tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 4px 9px;
  background: var(--lime);
  color: var(--carbon);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ---------- 10 可访问标签页 ---------- */
.tabs { display: grid; gap: 0; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.tabs__btn {
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease),
              border-color 0.16s var(--ease), transform 0.16s var(--ease);
}
.tabs__btn:hover {
  color: var(--lime);
  border-color: rgba(200, 255, 61, 0.55);
  transform: translateY(-1px);
}
.tabs__btn[aria-selected="true"] {
  color: var(--carbon);
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 4px 4px 0 0 rgba(255, 106, 43, 0.85);
}

.tabs__panel { padding-block: 4px; }
.tabs__panel[hidden] { display: none; }

/* ---------- 11 显现动画 ---------- */
html.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
html.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 12 跳过链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: calc(var(--rail-w) + 10px);
  z-index: 400;
  padding: 0.65em 1.1em;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--carbon);
  background: var(--lime);
  border: 2px solid var(--carbon);
  box-shadow: 4px 4px 0 0 var(--orange);
  transform: translateY(-190%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 13 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: linear-gradient(180deg,
    rgba(7, 28, 22, 0.95) 0%,
    rgba(7, 28, 22, 0.62) 62%,
    rgba(7, 28, 22, 0) 100%);
  border-bottom: 2px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}
.site-header.is-stuck {
  background: var(--carbon);
  border-bottom-color: var(--orange);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 24px);
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  min-height: var(--header-h);
  padding: 10px var(--gutter);
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.brand__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--carbon);
  background: var(--lime);
  border: 2px solid var(--carbon);
  box-shadow: 4px 4px 0 0 var(--orange);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.brand:hover .brand__mark {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 var(--orange);
}
.brand__text { display: flex; flex-direction: column; gap: 1px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.brand__sig {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--muted);
}

/* 版本脉冲条 */
.header-note {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
  padding: 5px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: rgba(15, 46, 37, 0.6);
  border: 1px solid var(--line);
}
.header-note__text { white-space: nowrap; }
.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex: 0 0 auto;
  animation: pulse-ring 2.4s var(--ease) infinite;
}
@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(200, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0); }
}

/* 导航簇 */
.nav-shell {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 24px);
  margin-left: auto;
}
.site-nav { display: flex; align-items: center; }
.site-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(2px, 0.7vw, 12px);
}
.site-nav__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 6px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--paper);
  transition: color 0.16s var(--ease);
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 2px;
  height: 3px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease);
}
.site-nav__list a:hover { color: var(--lime); }
.site-nav__list a:hover::after { transform: scaleX(1); }
.site-nav__list a[aria-current="page"] { color: var(--lime); }
.site-nav__list a[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
}

.nav-shell__foot {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 18px);
}
.nav-utility {
  display: none;
  align-items: center;
  gap: 14px;
}
.nav-utility a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}
.nav-utility a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 移动端专属端部 */
.header-end {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header-quick {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--carbon);
  background: var(--lime);
  border: 2px solid var(--carbon);
  box-shadow: 3px 3px 0 0 var(--orange);
  transition: transform 0.16s var(--ease), background-color 0.16s var(--ease);
}
.header-quick:hover { background: var(--lime-soft); transform: translate(-1px, -1px); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--paper);
  background: var(--panel);
  border: 2px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }
.nav-toggle__bars { display: grid; gap: 4px; width: 20px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: var(--lime);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* 侧边品牌轨道 */
.brand-rail { display: none; }

@media (min-width: 1200px) {
  :root { --rail-w: 92px; }

  .brand-rail {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 130;
    width: var(--rail-w);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 0 18px;
    background: var(--carbon);
    border-right: 2px solid var(--line);
  }
  .rail-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--carbon);
    background: var(--lime);
    border: 2px solid var(--carbon);
    box-shadow: 4px 4px 0 0 rgba(255, 106, 43, 0.9);
    transition: background-color 0.16s var(--ease), color 0.16s var(--ease),
                transform 0.16s var(--ease);
  }
  .rail-mark:hover {
    color: var(--paper);
    background: var(--orange);
    transform: translate(-1px, -1px);
  }
  .rail-word {
    margin: auto 0;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.5em;
    color: var(--muted);
  }
  .rail-track {
    display: flex;
    align-items: flex-end;
    width: 3px;
    flex: 0 0 96px;
    background: rgba(168, 189, 178, 0.18);
    border-radius: 2px;
    overflow: hidden;
  }
  .rail-track__fill {
    display: block;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--lime), var(--orange));
    transition: height 0.12s linear;
  }
  .rail-version {
    writing-mode: vertical-rl;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    color: var(--orange);
  }
}

/* ---------- 14 页头响应式 ---------- */
@media (max-width: 959px) {
  :root { --header-h: 64px; }

  .header-end {
    display: flex;
    margin-left: auto;
  }
  .nav-shell {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 140;
    width: min(90vw, 400px);
    margin-left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: calc(var(--header-h) + 18px) 22px 28px;
    background: var(--carbon);
    border-left: 2px solid var(--lime);
    box-shadow: -18px 0 44px rgba(0, 0, 0, 0.62);
    overflow-y: auto;
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.28s var(--ease), visibility 0.28s var(--ease);
  }
  .nav-shell[data-open="true"] {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-toggle {
    position: relative;
    z-index: 150;
  }
  .site-nav { display: block; }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    counter-reset: nav-index;
  }
  .site-nav__list li {
    counter-increment: nav-index;
    border-top: 1px solid var(--line);
  }
  .site-nav__list li:last-child { border-bottom: 1px solid var(--line); }
  .site-nav__list a {
    display: flex;
    align-items: center;
    padding: 15px 2px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.02em;
  }
  .site-nav__list a::before {
    content: "0" counter(nav-index);
    margin-right: 12px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--orange);
  }
  .site-nav__list a::after {
    left: 0;
    right: auto;
    width: 100%;
    bottom: 0;
    height: 2px;
  }
  .nav-shell__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: auto;
  }
  .nav-utility {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
  }
  .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .header-actions .btn { width: 100%; }
}

body.nav-open { overflow: hidden; }

@media (max-width: 1099px) {
  .site-nav__list a { font-size: 0.88rem; padding: 8px 4px; }
  .site-nav__list a::after { left: 4px; right: 4px; }
  .header-actions .btn--ghost { display: none; }
}

@media (max-width: 420px) {
  .brand__sig { display: none; }
  .nav-toggle__label { display: none; }
}

@media (min-width: 1240px) {
  .nav-utility { display: flex; }
}
@media (min-width: 1400px) {
  .header-note { display: inline-flex; }
}

/* ---------- 15 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--carbon);
  border-top: 2px solid var(--lime);
  color: var(--paper);
}

.footer-tape {
  background: var(--lime);
  color: var(--carbon);
  border-bottom: 2px solid var(--carbon);
}
.footer-tape__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
}
.footer-tape__tag {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  border: 1px solid rgba(11, 13, 12, 0.45);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 64px);
}
@media (min-width: 880px) {
  .footer-top { grid-template-columns: minmax(280px, 1.1fr) minmax(0, 1.8fr); }
}

.footer-brand__line {
  position: relative;
  padding-top: 14px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.footer-brand__line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 4px;
  background: var(--orange);
}
.footer-brand__desc {
  margin-top: 12px;
  max-width: 38ch;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--muted);
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.footer-contact__item {
  display: grid;
  gap: 2px;
  padding-left: 12px;
  border-left: 2px solid var(--panel-2);
}
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--teal);
}
.footer-contact__value {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.footer-col__title {
  padding-bottom: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--lime);
  border-bottom: 2px solid var(--line);
}
.footer-list { display: grid; gap: 9px; }
.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.16s var(--ease), transform 0.16s var(--ease);
}
.footer-list a::before {
  content: "";
  width: 8px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--orange);
  transition: width 0.16s var(--ease), background-color 0.16s var(--ease);
}
.footer-list a:hover {
  color: var(--paper);
  transform: translateX(2px);
}
.footer-list a:hover::before {
  width: 16px;
  background: var(--lime);
}

.footer-meta {
  display: grid;
  gap: 10px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--muted);
}
.footer-meta__icp {
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--paper);
}
.footer-meta__region {
  max-width: 80ch;
  padding-left: 12px;
  border-left: 2px solid var(--danger);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-bottom__copy {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  color: var(--paper);
}
.footer-bottom__note { max-width: 52ch; }

/* ---------- 16 动效降级 ---------- */
@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;
  }
  html.has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
