/* ==========================================================================
   NG赛场 · 共享站点样式 /assets/site.css
   夜间赛场数据指挥台：深墨绿底 / 荧光青信号 / 信号橙提醒 / 冷灰蓝分隔
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 变量
   -------------------------------------------------------------------------- */
:root {
  --c-bg: #051A16;
  --c-panel: #0A2A24;
  --c-raise: #0E3A32;
  --c-cyan: #2EE6C5;
  --c-mint: #BFF7EA;
  --c-orange: #FF8A3D;
  --c-steel: #7E9AA8;
  --c-ink: #E7F2EF;
  --c-mute: #4E6874;
  --c-amber: #FFC857;

  --line: rgba(126, 154, 168, 0.24);
  --line-soft: rgba(126, 154, 168, 0.14);
  --line-cyan: rgba(46, 230, 197, 0.34);

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

  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --cut: 16px;
  --gap: clamp(16px, 2vw, 24px);
  --section-space: clamp(56px, 8vw, 104px);
}

/* --------------------------------------------------------------------------
   2. Reset 与中文排版
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(126, 154, 168, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 154, 168, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 22%, transparent 78%);
  mask-image: radial-gradient(120% 78% at 50% 0%, #000 22%, transparent 78%);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.24; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 3px; }

#main-content {
  display: block;
  position: relative;
  z-index: 1;
  outline: none;
}

/* --------------------------------------------------------------------------
   3. 容器与章节骨架
   -------------------------------------------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-space); }

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(26px, 3.6vw, 46px);
  max-width: 74ch;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-cyan);
}

.section-index {
  display: block;
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(46, 230, 197, 0.45);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: #FFFFFF;
  margin: 0;
}

.display--1 { font-size: clamp(32px, 5.2vw, 62px); }
.display--2 { font-size: clamp(24px, 3.2vw, 40px); }

.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.72;
  color: #B4D2CB;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. 通用工具
   -------------------------------------------------------------------------- */
.stack { display: grid; gap: var(--gap); }

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-steel);
}

.hr-slant {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--line) 18%, var(--line) 82%, transparent);
}

/* --------------------------------------------------------------------------
   5. 按钮
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--c-mint);
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  background: var(--c-cyan);
  color: #04201B;
}

.btn--primary:hover { background: #63F4DC; transform: translateY(-1px); }

.btn--ghost {
  background: rgba(46, 230, 197, 0.04);
  color: var(--c-mint);
  border-color: var(--line-cyan);
}

.btn--ghost:hover {
  background: rgba(46, 230, 197, 0.13);
  color: #FFFFFF;
  border-color: var(--c-cyan);
}

.btn--orange {
  background: var(--c-orange);
  color: #1D0B02;
}

.btn--orange:hover { background: #FFA366; transform: translateY(-1px); }

.btn--sm { padding: 8px 14px; font-size: 12.5px; }

.btn:focus-visible { outline-offset: 3px; }

/* --------------------------------------------------------------------------
   6. 页头
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 12px 22px;
  background: var(--c-cyan);
  color: #04201B;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 62%, calc(100% - 12px) 100%, 0 100%);
  transition: top 0.2s ease;
}

.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 42, 36, 0.97), rgba(5, 26, 22, 0.94));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.24s ease;
}

.site-header[data-scrolled] {
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.95);
}

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

.header-brand-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(14px, 2.6vw, 36px);
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-ink);
}

.brand-mark {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(148deg, var(--c-cyan) 0%, #16B79C 52%, #0E3A32 100%);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.brand-mark::after {
  content: "";
  width: 13px;
  height: 13px;
  border: 2px solid #04201B;
  transform: rotate(45deg);
}

.brand-text { display: block; }

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: 0.1em;
  color: #FFFFFF;
}

.brand-line {
  display: block;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.2em;
  color: var(--c-cyan);
}

.header-tier-one {
  margin: 0;
  padding-left: clamp(12px, 2vw, 26px);
  border-left: 1px solid var(--line);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--c-steel);
  letter-spacing: 0.04em;
  max-width: 34ch;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  background: rgba(46, 230, 197, 0.07);
  border: 1px solid var(--line-cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 0 3px rgba(46, 230, 197, 0.16);
  animation: statusPulse 2.6s ease-in-out infinite;
}

.status-label { color: var(--c-steel); }
.status-value { color: var(--c-mint); }

@keyframes statusPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(46, 230, 197, 0.08);
  border: 1px solid var(--line-cyan);
  color: var(--c-mint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.nav-toggle:hover { background: rgba(46, 230, 197, 0.16); color: #FFFFFF; }

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 16px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.site-header[data-open] .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header[data-open] .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.header-nav-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  padding-block: 10px 12px;
  border-top: 1px solid var(--line);
}

.nav-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--c-mute);
  white-space: nowrap;
}

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

.nav-list a {
  display: inline-block;
  padding: 9px 13px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--c-mint);
  text-decoration: none;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav-list a:hover {
  background: rgba(46, 230, 197, 0.1);
  color: #FFFFFF;
}

.nav-list a:focus-visible { outline-offset: -3px; }

.nav-list a[aria-current="page"] {
  background: rgba(46, 230, 197, 0.16);
  color: var(--c-cyan);
  box-shadow: inset 0 -2px 0 0 var(--c-cyan);
}

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

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-amber) 82%, var(--c-orange));
  pointer-events: none;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   7. 页脚
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(64px, 9vw, 120px);
  background: linear-gradient(180deg, var(--c-panel) 0%, #04140F 78%);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  opacity: 0.72;
  background: linear-gradient(90deg, transparent 0%, var(--c-cyan) 18%, var(--c-steel) 54%, var(--c-orange) 84%, transparent 100%);
}

.footer-inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 78px) var(--gutter) 0;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 1.05fr) minmax(0, 1.65fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}

.footer-brand { display: grid; gap: 16px; justify-items: start; }

.brand--footer .brand-mark { width: 44px; height: 44px; }
.brand--footer .brand-name { font-size: 24px; }

.footer-summary {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-steel);
  max-width: 34ch;
}

.footer-signal {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 26px;
}

.footer-signal span {
  display: block;
  width: 5px;
  background: linear-gradient(180deg, var(--c-cyan), rgba(46, 230, 197, 0.1));
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.footer-signal span:nth-child(1) { height: 8px; }
.footer-signal span:nth-child(2) { height: 16px; background: linear-gradient(180deg, var(--c-cyan), rgba(46, 230, 197, 0.08)); }
.footer-signal span:nth-child(3) { height: 24px; }
.footer-signal span:nth-child(4) { height: 12px; background: linear-gradient(180deg, var(--c-amber), rgba(255, 200, 87, 0.1)); }
.footer-signal span:nth-child(5) { height: 19px; }
.footer-signal span:nth-child(6) { height: 9px; background: linear-gradient(180deg, var(--c-orange), rgba(255, 138, 61, 0.08)); }

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

.footer-col-title {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-steel);
}

.footer-col ul { list-style: none; display: grid; gap: 2px; }

.footer-col a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--c-mint);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, padding-left 0.16s ease;
}

.footer-col a:hover {
  color: var(--c-cyan);
  border-bottom-color: rgba(46, 230, 197, 0.45);
  padding-left: 6px;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px 28px;
  margin-top: clamp(32px, 4.6vw, 58px);
  padding: clamp(18px, 2.4vw, 26px);
  background: rgba(14, 58, 50, 0.62);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.contact-item { display: grid; gap: 6px; align-content: start; }

.contact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-mute);
}

.contact-value {
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  color: var(--c-cyan);
  word-break: break-all;
}

.contact-value--plain {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--c-ink);
  word-break: normal;
}

.contact-note {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px dashed var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-steel);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(22px, 3vw, 34px);
  padding-block: 18px 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-steel);
}

.footer-copy { color: var(--c-ink); }
.footer-icp { color: var(--c-steel); }
.footer-domain { color: var(--c-mute); }

/* --------------------------------------------------------------------------
   8. 面包屑
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-block: clamp(16px, 2vw, 24px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--c-steel);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--c-mute);
}

.breadcrumbs a { color: var(--c-mint); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-cyan); }
.breadcrumbs [aria-current="page"] { color: var(--c-ink); }

/* --------------------------------------------------------------------------
   9. 面板 / 标签 / 芯片
   -------------------------------------------------------------------------- */
.panel {
  position: relative;
  padding: clamp(20px, 2.6vw, 30px);
  background: var(--c-panel);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.panel--raise { background: var(--c-raise); }

.panel--cut-left {
  clip-path: polygon(18px 0, 100% 0, 100% 100%, 0 100%, 0 18px);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--c-mint);
  background: rgba(126, 154, 168, 0.14);
  border: 1px solid rgba(126, 154, 168, 0.3);
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}

.tag--live {
  color: var(--c-cyan);
  background: rgba(46, 230, 197, 0.14);
  border-color: var(--line-cyan);
}

.tag--alert {
  color: var(--c-orange);
  background: rgba(255, 138, 61, 0.14);
  border-color: rgba(255, 138, 61, 0.4);
}

.tag--warn {
  color: var(--c-amber);
  background: rgba(255, 200, 87, 0.14);
  border-color: rgba(255, 200, 87, 0.4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--c-mint);
  background: rgba(14, 58, 50, 0.9);
  border: 1px solid var(--line);
  cursor: pointer;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.chip:hover { border-color: var(--line-cyan); color: #FFFFFF; }

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--c-cyan);
  border-color: var(--c-cyan);
  color: #04201B;
}

.chip:focus-visible { outline-offset: 3px; }

/* --------------------------------------------------------------------------
   10. 图片容器（页面阶段放置图片占位）
   -------------------------------------------------------------------------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--c-raise);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(126, 154, 168, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126, 154, 168, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
}

.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--portrait { aspect-ratio: 3 / 4; }

.media-frame__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 8px 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--c-mint);
  background: rgba(5, 26, 22, 0.84);
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
}

.media-frame__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-mute);
  background:
    radial-gradient(80% 70% at 22% 18%, rgba(46, 230, 197, 0.14), transparent 62%),
    radial-gradient(70% 60% at 82% 88%, rgba(255, 138, 61, 0.12), transparent 60%),
    var(--c-raise);
}

/* --------------------------------------------------------------------------
   11. 入场显现
   -------------------------------------------------------------------------- */
html[data-js] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1);
}

html[data-js] [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   12. 响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .header-tier-one { display: none; }
  .header-brand-row { grid-template-columns: auto 1fr auto; }
}

@media (max-width: 980px) {
  .header-brand-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding-block: 12px;
  }

  .header-status { display: none; }
  .nav-toggle { display: inline-flex; }

  .header-nav-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    max-height: 0;
    padding-block: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    border-top: 0;
    transition: max-height 0.34s ease, opacity 0.24s ease, padding-block 0.34s ease, visibility 0.24s;
  }

  .site-header[data-open] .header-nav-row {
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    padding-block: 14px 20px;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    border-top: 1px solid var(--line);
  }

  .nav-eyebrow { padding-bottom: 4px; }

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

  .nav-list a {
    padding: 13px 16px;
    font-size: 15px;
    background: rgba(46, 230, 197, 0.05);
    border-left: 2px solid transparent;
  }

  .nav-list a[aria-current="page"] {
    box-shadow: none;
    border-left-color: var(--c-cyan);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--line-soft);
  }

  .nav-actions .btn { width: 100%; }

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

@media (max-width: 620px) {
  body { font-size: 15.5px; }

  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 19px; }
  .brand-line { font-size: 10px; letter-spacing: 0.16em; }

  .nav-toggle-text { display: none; }
  .nav-toggle { padding: 10px 12px; }

  .footer-columns { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-value { font-size: 13px; }
}

/* --------------------------------------------------------------------------
   13. 动效偏好
   -------------------------------------------------------------------------- */
@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;
  }

  .status-dot { animation: none; }

  html[data-js] [data-reveal],
  html[data-js] [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-progress { display: none; }
}
