/* ==========================================================================
   热竞技体育CN — /assets/site.css
   共享外壳：reset、变量、中文排版、头部、页脚、通用组件
   ========================================================================== */

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

/* ---------- 2. Design tokens ---------- */
:root {
  /* 矿物色体系 */
  --rk-ink: #071C17;
  --rk-carbon: #101513;
  --rk-slate: #2B332F;
  --rk-moss: #3F5A4A;
  --rk-bone: #F2EADC;
  --rk-lime: #C8FF3D;
  --rk-orange: #FF7A2F;
  --rk-amber: #E6B84A;
  --rk-clay: #B5684A;
  --rk-mist: #8FB7A7;

  --rk-bg: var(--rk-ink);
  --rk-fg: var(--rk-bone);
  --rk-muted: var(--rk-mist);
  --rk-line: var(--rk-slate);
  --rk-line-soft: rgba(63, 90, 74, 0.7);
  --rk-shadow-hard: 8px 8px 0 rgba(3, 14, 11, 0.85);
  --rk-shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.42);

  /* 排版 */
  --rk-font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;
  --rk-font-display: "Oswald", "Barlow Condensed", "Arial Narrow",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --rk-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* 网格与节奏 */
  --rk-shell: 1280px;
  --rk-gutter: clamp(18px, 4vw, 56px);
  --rk-gap: 20px;
  --rk-radius: 2px;
  --rk-border: 2px;
  --rk-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100%;
  background-color: var(--rk-bg);
  color: var(--rk-fg);
  font-family: var(--rk-font-body);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--rk-font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--rk-bone);
}

h1 { font-size: clamp(34px, 6vw, 72px); }
h2 { font-size: clamp(26px, 4vw, 44px); }
h3 { font-size: clamp(19px, 2.2vw, 25px); }
h4 { font-size: clamp(16px, 1.6vw, 19px); }

p {
  max-width: 68ch;
}

strong,
b {
  font-weight: 700;
  color: var(--rk-bone);
}

small {
  font-size: 13px;
  color: var(--rk-muted);
}

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

:focus-visible {
  outline: 3px solid var(--rk-lime);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(7, 28, 23, 0.6);
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 200;
  transform: translateY(-180%);
  padding: 12px 22px;
  background: var(--rk-lime);
  color: var(--rk-ink);
  font-family: var(--rk-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 0 0 var(--rk-radius) 0;
  transition: transform 0.16s var(--rk-ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: -4px;
}

/* ---------- 5. 外壳宽度 ---------- */
.header-shell,
.footer-shell {
  width: 100%;
  max-width: calc(var(--rk-shell) + var(--rk-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--rk-gutter);
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--rk-bone);
  background-image: linear-gradient(
    180deg,
    rgba(7, 28, 23, 0.97) 0%,
    rgba(7, 28, 23, 0.76) 58%,
    rgba(7, 28, 23, 0) 100%
  );
  transition: background-color 0.2s var(--rk-ease), box-shadow 0.2s var(--rk-ease);
}

.site-header[data-scrolled="true"] {
  background-color: var(--rk-ink);
  background-image: none;
  box-shadow: 0 2px 0 var(--rk-slate), var(--rk-shadow-soft);
}

/* 顶部收藏提示条 */
.header-utility {
  max-height: 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--rk-line-soft);
  transition: max-height 0.22s var(--rk-ease), opacity 0.18s var(--rk-ease),
    border-color 0.18s var(--rk-ease);
}

.site-header[data-scrolled="true"] .header-utility,
.header-utility[data-dismissed="true"] {
  max-height: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.header-utility__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-block: 6px;
}

.header-utility__text {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: none;
  font-family: var(--rk-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--rk-mist);
}

.header-utility__dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rk-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.18);
}

.header-utility__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--rk-font-mono);
  font-size: 18px;
  line-height: 1;
  color: var(--rk-mist);
  border: 1px solid transparent;
  border-radius: var(--rk-radius);
  transition: color 0.15s var(--rk-ease), border-color 0.15s var(--rk-ease);
}

.header-utility__close:hover {
  color: var(--rk-lime);
  border-color: var(--rk-moss);
}

/* 主导航栏 */
.header-bar {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
  min-height: 74px;
  padding-block: 10px;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-height: 44px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--rk-lime);
  color: var(--rk-ink);
  font-family: var(--rk-font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  border: 2px solid var(--rk-ink);
  box-shadow: 3px 3px 0 var(--rk-orange);
  transform: skewX(-6deg);
  transition: box-shadow 0.18s var(--rk-ease), transform 0.18s var(--rk-ease);
}

.brand:hover .brand__mark {
  transform: skewX(-6deg) translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--rk-orange);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-family: var(--rk-font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: var(--rk-bone);
  white-space: nowrap;
}

.brand__tagline {
  font-family: var(--rk-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  line-height: 1.2;
  color: var(--rk-mist);
  white-space: nowrap;
}

/* 导航 */
.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  counter-reset: rk-nav;
}

.site-nav__item {
  display: block;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--rk-mist);
  border: var(--rk-border) solid transparent;
  border-radius: var(--rk-radius);
  transition: color 0.15s var(--rk-ease), border-color 0.15s var(--rk-ease),
    background-color 0.15s var(--rk-ease);
}

.site-nav__link::before {
  counter-increment: rk-nav;
  content: counter(rk-nav, decimal-leading-zero);
  margin-right: 7px;
  font-family: var(--rk-font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--rk-amber);
  opacity: 0.85;
}

.site-nav__link:hover {
  color: var(--rk-bone);
  border-color: var(--rk-moss);
  background-color: rgba(63, 90, 74, 0.18);
}

.site-nav__link[aria-current="page"] {
  color: var(--rk-lime);
  border-color: var(--rk-lime);
  background-color: rgba(200, 255, 61, 0.08);
}

.site-nav__link[aria-current="page"]::before {
  color: var(--rk-lime);
  opacity: 1;
}

/* 头部右侧动作区 */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: none;
  padding: 6px 12px;
  font-family: var(--rk-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  line-height: 1.2;
  color: var(--rk-lime);
  border: 1px solid var(--rk-moss);
  border-radius: 999px;
  white-space: nowrap;
}

.header-status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rk-lime);
  box-shadow: 0 0 0 3px rgba(200, 255, 61, 0.16);
}

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 14px;
  font-family: var(--rk-font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--rk-bone);
  border: var(--rk-border) solid var(--rk-moss);
  border-radius: var(--rk-radius);
  transition: border-color 0.15s var(--rk-ease), color 0.15s var(--rk-ease);
}

.nav-toggle:hover,
.site-header[data-open="true"] .nav-toggle {
  color: var(--rk-lime);
  border-color: var(--rk-lime);
}

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.18s var(--rk-ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.18s var(--rk-ease), top 0.18s var(--rk-ease);
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header[data-open="true"] .nav-toggle__bars {
  background: transparent;
}

.site-header[data-open="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header[data-open="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle__label {
  line-height: 1;
}

/* 阅读进度条 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: rgba(43, 51, 47, 0.55);
}

.scroll-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--rk-lime) 0%,
    var(--rk-amber) 55%,
    var(--rk-orange) 100%
  );
  transition: width 0.09s linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 112px);
  background: var(--rk-carbon);
  border-top: var(--rk-border) solid var(--rk-slate);
  color: var(--rk-bone);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -2px;
  left: var(--rk-gutter);
  width: clamp(80px, 18vw, 220px);
  height: 2px;
  background: var(--rk-lime);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 68px) clamp(26px, 4vw, 42px);
}

.footer-brand {
  min-width: 0;
}

.footer-brand__name {
  max-width: none;
  font-family: var(--rk-font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--rk-bone);
}

.footer-brand__line {
  margin-top: 12px;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--rk-mist);
}

.footer-brand__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-chip {
  padding: 4px 11px;
  font-family: var(--rk-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.6;
  color: var(--rk-amber);
  border: 1px solid rgba(230, 184, 74, 0.42);
  border-radius: 999px;
}

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

.footer-group {
  min-width: 0;
}

.footer-group__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-family: var(--rk-font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.4;
  color: var(--rk-mist);
  text-transform: uppercase;
}

.footer-group__title::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  background: var(--rk-lime);
}

.footer-group__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-group__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--rk-bone);
  border-bottom: 1px solid transparent;
  transition: color 0.15s var(--rk-ease), border-color 0.15s var(--rk-ease);
}

.footer-group__link:hover {
  color: var(--rk-lime);
  border-bottom-color: var(--rk-lime);
}

.footer-contact {
  padding-block: clamp(20px, 3vw, 32px);
  border-top: 1px dashed var(--rk-line-soft);
}

.footer-contact__title {
  max-width: none;
  margin-bottom: 14px;
  font-family: var(--rk-font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  line-height: 1.4;
  color: var(--rk-mist);
  text-transform: uppercase;
}

.footer-contact__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 28px;
}

.footer-contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer-contact__key {
  font-family: var(--rk-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  line-height: 1.5;
  color: var(--rk-clay);
}

.footer-contact__value {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rk-bone);
  overflow-wrap: anywhere;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-block: 18px 36px;
  border-top: 1px solid var(--rk-slate);
  font-family: var(--rk-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--rk-mist);
}

.footer-legal__copy {
  max-width: none;
  margin-right: auto;
}

.footer-legal__icp {
  max-width: none;
  color: var(--rk-mist);
}

.footer-legal__top {
  color: var(--rk-bone);
  border-bottom: 1px solid var(--rk-moss);
  padding-bottom: 2px;
  transition: color 0.15s var(--rk-ease), border-color 0.15s var(--rk-ease);
}

.footer-legal__top:hover {
  color: var(--rk-lime);
  border-bottom-color: var(--rk-lime);
}

/* ---------- 8. 通用布局 ---------- */
.container {
  width: 100%;
  max-width: calc(var(--rk-shell) + var(--rk-gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--rk-gutter);
}

.container--narrow {
  max-width: calc(880px + var(--rk-gutter) * 2);
}

.section {
  padding-block: clamp(44px, 6.5vw, 92px);
}

.grid {
  display: grid;
  gap: var(--rk-gap);
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
}

.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(var(--min, 240px), 1fr));
}

.rule {
  height: var(--rk-border);
  background: var(--rk-slate);
  border: 0;
  margin-block: clamp(20px, 3vw, 36px);
}

.rule--lime {
  background: var(--rk-lime);
  height: 2px;
  width: clamp(60px, 12vw, 140px);
}

/* ---------- 9. 通用文字组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rk-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--rk-mist);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--rk-lime);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-head__title {
  font-family: var(--rk-font-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.012em;
  color: var(--rk-bone);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--rk-bone);
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
}

.prose a {
  color: var(--rk-lime);
  border-bottom: 1px solid rgba(200, 255, 61, 0.5);
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 0.4em;
}

.marker {
  background-image: linear-gradient(
    180deg,
    transparent 62%,
    rgba(200, 255, 61, 0.32) 62%
  );
  padding-inline: 2px;
}

/* ---------- 10. 通用面板与标签 ---------- */
.panel {
  background: var(--rk-carbon);
  border: var(--rk-border) solid var(--rk-slate);
  border-radius: var(--rk-radius);
  box-shadow: var(--rk-shadow-hard);
  padding: clamp(18px, 2.4vw, 28px);
  transition: border-color 0.16s var(--rk-ease), transform 0.16s var(--rk-ease),
    box-shadow 0.16s var(--rk-ease);
}

.panel--lime { border-color: var(--rk-lime); }
.panel--orange { border-color: var(--rk-orange); }
.panel--flush { padding: 0; }

a.panel:hover {
  transform: translate(-2px, -2px);
  border-color: var(--rk-lime);
  box-shadow: 10px 10px 0 rgba(3, 14, 11, 0.9);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--rk-font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--rk-mist);
  border: 1px solid currentColor;
  border-radius: 999px;
  white-space: nowrap;
}

.tag--lime { color: var(--rk-lime); }
.tag--orange { color: var(--rk-orange); }
.tag--amber { color: var(--rk-amber); }
.tag--clay { color: var(--rk-clay); }
.tag--mist { color: var(--rk-mist); }

/* ---------- 11. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  font-family: var(--rk-font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--rk-bone);
  background: transparent;
  border: var(--rk-border) solid var(--rk-bone);
  border-radius: var(--rk-radius);
  box-shadow: 4px 4px 0 rgba(3, 14, 11, 0.75);
  transition: transform 0.16s var(--rk-ease), box-shadow 0.16s var(--rk-ease),
    color 0.16s var(--rk-ease), border-color 0.16s var(--rk-ease),
    background-color 0.16s var(--rk-ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  color: var(--rk-lime);
  border-color: var(--rk-lime);
  box-shadow: 6px 6px 0 rgba(3, 14, 11, 0.75);
}

.btn--primary {
  background: var(--rk-lime);
  color: var(--rk-ink);
  border-color: var(--rk-lime);
  box-shadow: 4px 4px 0 var(--rk-orange);
}

.btn--primary:hover {
  background: var(--rk-lime);
  color: var(--rk-ink);
  border-color: var(--rk-orange);
  box-shadow: 6px 6px 0 var(--rk-orange);
}

.btn--ghost {
  border-color: var(--rk-slate);
  color: var(--rk-mist);
  box-shadow: none;
}

.btn--ghost:hover {
  color: var(--rk-amber);
  border-color: var(--rk-amber);
  box-shadow: none;
  transform: none;
}

/* ---------- 12. 面包屑 ---------- */
.breadcrumbs {
  font-family: var(--rk-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--rk-mist);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  margin-right: 8px;
  color: var(--rk-slate);
}

.breadcrumbs__item a {
  color: var(--rk-mist);
  border-bottom: 1px solid transparent;
  transition: color 0.15s var(--rk-ease), border-color 0.15s var(--rk-ease);
}

.breadcrumbs__item a:hover {
  color: var(--rk-lime);
  border-bottom-color: var(--rk-lime);
}

.breadcrumbs__item[aria-current="page"] {
  color: var(--rk-bone);
}

/* ---------- 13. 数字与状态 ---------- */
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__value {
  font-family: var(--rk-font-mono);
  font-weight: 700;
  font-size: clamp(40px, 8vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--rk-lime);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--rk-font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: var(--rk-mist);
  text-transform: uppercase;
}

/* ---------- 14. 图片容器基础规则 ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: var(--rk-border) solid var(--rk-slate);
  border-radius: var(--rk-radius);
  background-color: #0C1F1A;
  background-image:
    radial-gradient(120% 90% at 18% 0%, rgba(63, 90, 74, 0.6), transparent 62%),
    linear-gradient(162deg, #0E241E 0%, #101513 58%, #071C17 100%);
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(200, 255, 61, 0.07) 0 1px,
    transparent 1px 46px
  );
  background-image: repeating-linear-gradient(
    90deg,
    rgba(200, 255, 61, 0.07) 0 1px,
    transparent 1px 46px
  );
  pointer-events: none;
}

.media img,
.media svg,
.media video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--rk-ease), filter 0.35s var(--rk-ease);
}

.media--framed {
  box-shadow: var(--rk-shadow-hard);
}

.media:hover img {
  transform: scale(1.03);
}

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

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px 14px 11px;
  font-family: var(--rk-font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--rk-bone);
  background: linear-gradient(
    180deg,
    rgba(7, 28, 23, 0) 0%,
    rgba(7, 28, 23, 0.92) 100%
  );
}

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

  .header-actions {
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    background: var(--rk-carbon);
    border-top: var(--rk-border) solid var(--rk-slate);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
    transition: max-height 0.24s var(--rk-ease), opacity 0.18s var(--rk-ease),
      visibility 0.18s var(--rk-ease);
  }

  .site-header[data-open="true"] .site-nav {
    max-height: min(72vh, 560px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--rk-gutter) 20px;
  }

  .site-nav__item {
    border-bottom: 1px solid var(--rk-slate);
  }

  .site-nav__item:last-child {
    border-bottom: 0;
  }

  .site-nav__link {
    width: 100%;
    min-height: 54px;
    justify-content: flex-start;
    padding-inline: 2px;
    font-size: 16px;
    border: 0;
    border-radius: 0;
    background: none;
  }

  .site-nav__link:hover {
    background: rgba(63, 90, 74, 0.16);
    border-color: transparent;
  }

  .site-nav__link[aria-current="page"] {
    background: none;
    color: var(--rk-lime);
    box-shadow: inset 3px 0 0 var(--rk-lime);
    padding-left: 12px;
  }

  .site-nav__link::before {
    font-size: 11px;
  }
}

@media (max-width: 920px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-contact__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .footer-brand__line {
    max-width: 46ch;
  }

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

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .header-bar {
    min-height: 66px;
  }

  .brand__tagline {
    display: none;
  }

  .header-status {
    display: none;
  }

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

@media (max-width: 640px) {
  .header-utility {
    display: none;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .brand__name {
    font-size: 15.5px;
  }

  .footer-legal {
    font-size: 11px;
    gap: 8px 18px;
  }

  .footer-legal__copy {
    margin-right: 0;
    width: 100%;
  }
}

/* ---------- 16. 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .media:hover img {
    transform: none;
  }
}
