/* ==========================================================================
   乐鱼体育主页 · 共享站点样式 /assets/site.css
   母题：深海声呐 · 蓝图网格 · 数据脉冲
   ========================================================================== */

:root {
  --abyss-900: #04121F;
  --abyss-800: #082238;
  --tide-700: #0E3A5C;
  --blueprint: #1F4E70;
  --sonar: #22E3D3;
  --sonar-soft: #8FF5EB;
  --pulse: #FF7A2F;
  --coral: #FF4D5E;
  --whistle: #FFD166;
  --ice: #F3F8FB;
  --steel: #7D93A8;

  --font-display: "Archivo Expanded", "HarmonyOS Sans SC", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-editorial: "Source Han Serif SC", "Noto Serif SC", "Songti SC", serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  --shell: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --line-soft: rgba(31, 78, 112, 0.6);
  --line-strong: rgba(31, 78, 112, 0.95);
  --header-h: 68px;

  --ease: cubic-bezier(0.22, 0.7, 0.28, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--abyss-900);
  color: var(--ice);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

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

button { font: inherit; color: inherit; }

table { border-collapse: collapse; border-spacing: 0; }

hr { border: 0; }

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

::selection {
  background: var(--sonar);
  color: var(--abyss-900);
}

#main-content { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- 中文排版基线 ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }

p { line-height: 1.75; }

strong { color: var(--sonar-soft); font-weight: 600; }

/* ---------- 通用工具 ---------- */
.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -160%);
  z-index: 999;
  padding: 0.7rem 1.4rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--sonar);
  color: var(--abyss-900);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  transition: transform 0.25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

.sonar-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 26% 38%, rgba(34, 227, 211, 0.16), transparent 54%),
    radial-gradient(circle at 74% 66%, rgba(255, 122, 47, 0.12), transparent 58%);
}

/* ---------- 区块与网格 ---------- */
.section { padding-block: clamp(3rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(1.75rem, 4vw, 3rem); }

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .col-3, .col-4, .col-5, .col-6, .col-7, .col-8 { grid-column: span 12; }
}

.rule-slant {
  height: 2px;
  margin-block: clamp(2rem, 6vw, 4.5rem);
  background: linear-gradient(90deg, var(--sonar) 0 14%, rgba(31, 78, 112, 0.85) 14% 100%);
  transform: skewY(-6deg);
  transform-origin: left center;
}

/* ---------- 排版组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sonar);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--ice);
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.8;
  color: var(--sonar-soft);
  max-width: 46ch;
}

.prose { max-width: 42em; color: rgba(243, 248, 251, 0.88); }
.prose > * + * { margin-top: 1.1em; }
.prose h3 { font-family: var(--font-editorial); font-weight: 600; color: var(--ice); }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding-block: 1rem 0; }
.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.breadcrumb__item { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--blueprint);
}
.breadcrumb__link {
  color: var(--steel);
  transition: color 0.25s var(--ease);
}
.breadcrumb__link:hover { color: var(--sonar); }
.breadcrumb__current { color: var(--sonar-soft); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--sonar);
  color: var(--abyss-900);
  box-shadow: 0 10px 30px -16px rgba(34, 227, 211, 0.9);
}
.btn--primary:hover { background: var(--sonar-soft); }

.btn--ghost {
  background: transparent;
  color: var(--ice);
  border-color: rgba(34, 227, 211, 0.5);
}
.btn--ghost:hover {
  border-color: var(--sonar);
  color: var(--sonar);
}

.btn--quiet {
  background: rgba(14, 58, 92, 0.65);
  color: var(--ice);
  border-color: var(--line-strong);
}
.btn--quiet:hover {
  background: rgba(14, 58, 92, 0.95);
  border-color: var(--sonar);
}

.btn--block { width: 100%; }

/* ---------- 标签 / 胶囊筛选 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.7rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  white-space: nowrap;
}
.tag--sonar { color: var(--sonar); }
.tag--pulse { color: var(--pulse); }
.tag--coral { color: var(--coral); }
.tag--whistle { color: var(--whistle); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
              background-color 0.25s var(--ease);
}
.chip:hover { color: var(--sonar-soft); border-color: var(--blueprint); }
.chip[aria-pressed="true"] {
  color: var(--abyss-900);
  background: var(--sonar);
  border-color: var(--sonar);
}

/* ---------- 面板 ---------- */
.panel {
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: var(--abyss-800);
}
.panel--float {
  border-radius: var(--radius-lg);
  border-color: rgba(31, 78, 112, 0.8);
  background: linear-gradient(180deg, rgba(14, 58, 92, 0.85), rgba(8, 34, 56, 0.9));
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.95);
}

/* ---------- 指标 ---------- */
.stat { display: grid; gap: 0.15rem; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--pulse);
}
.stat__unit {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--steel);
  margin-left: 0.25rem;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- 数据表 ---------- */
.data-table {
  width: 100%;
  min-width: 480px;
  font-size: 0.9375rem;
}
.data-table caption {
  padding-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  text-align: left;
}
.data-table th,
.data-table td {
  padding: 0.68rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.data-table thead th {
  background: rgba(14, 58, 92, 0.6);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}
.data-table tbody tr:nth-child(even) { background: rgba(14, 58, 92, 0.32); }
.data-table tbody tr { transition: background-color 0.2s var(--ease); }
.data-table tbody tr:hover { background: rgba(34, 227, 211, 0.08); }
.data-table td { color: var(--ice); }
.data-table .is-num {
  font-family: var(--font-mono);
  color: var(--pulse);
  white-space: nowrap;
}

/* ---------- 图片容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--tide-700), var(--abyss-800));
}
.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 1.25rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(4, 18, 31, 0.92));
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--sonar-soft);
}

/* ---------- 可展开内容组 ---------- */
.accordion { border-top: 1px solid var(--line-soft); }
.accordion__item {
  position: relative;
  border-bottom: 1px solid var(--line-soft);
  padding-left: 0.9rem;
}
.accordion__item::before {
  content: "";
  position: absolute;
  left: 0; top: 0.9rem; bottom: 0.9rem;
  width: 3px;
  border-radius: 3px;
  background: var(--blueprint);
  transition: background-color 0.3s var(--ease);
}
.accordion__item[data-open]::before { background: var(--sonar); }

.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
}
.accordion__index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--sonar);
}
.accordion__title {
  font-family: var(--font-editorial);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ice);
}
.accordion__icon {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.accordion__icon::before,
.accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--sonar);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.accordion__trigger:hover .accordion__icon { border-color: var(--sonar); }
.accordion__item[data-open] .accordion__icon { transform: rotate(180deg); }
.accordion__item[data-open] .accordion__icon::after { opacity: 0; }

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.accordion__item[data-open] .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel-inner { overflow: hidden; }
.accordion__body {
  padding-bottom: 1.25rem;
  max-width: 62ch;
  color: rgba(243, 248, 251, 0.82);
}

/* ---------- 滚入显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 页头 ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  color: var(--ice);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header[data-scrolled] {
  background: rgba(4, 18, 31, 0.94);
  border-bottom-color: var(--line-strong);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}

.site-header__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image:
    linear-gradient(to right, rgba(31, 78, 112, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 78, 112, 0.4) 1px, transparent 1px);
  background-size: 64px 64px;
  transition: opacity 0.45s var(--ease);
}
.site-header[data-scrolled] .site-header__grid { opacity: 0.5; }

.site-header__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.4vw, 1.25rem);
  padding-block: 0.55rem;
}

/* 品牌 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
  min-width: 0;
}
.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(34, 227, 211, 0.55);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.brand__mark::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--sonar);
  border-radius: 50%;
  animation: sonar-ping 3s ease-out infinite;
}
.brand__mark::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sonar);
  box-shadow: 0 0 12px 2px rgba(34, 227, 211, 0.7);
}
@keyframes sonar-ping {
  0% { transform: scale(1); opacity: 0.75; }
  70%, 100% { transform: scale(1.95); opacity: 0; }
}

.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ice);
  line-height: 1.25;
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  color: var(--steel);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 头部状态 */
.header-status {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--steel);
  white-space: nowrap;
}
.header-status__item { display: inline-flex; align-items: center; gap: 0.4rem; }
.header-status__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sonar);
  box-shadow: 0 0 8px rgba(34, 227, 211, 0.8);
}
.header-status__dot--pulse {
  background: var(--pulse);
  box-shadow: 0 0 8px rgba(255, 122, 47, 0.8);
}

/* 导航 */
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(243, 248, 251, 0.86);
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.site-nav__index {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--steel);
  transition: color 0.25s var(--ease);
}
.site-nav__link:hover {
  background: rgba(34, 227, 211, 0.1);
  color: var(--sonar-soft);
}
.site-nav__link:hover .site-nav__index { color: var(--sonar); }
.site-nav__link[aria-current="page"] {
  background: rgba(34, 227, 211, 0.14);
  color: var(--sonar);
  box-shadow: inset 0 0 0 1px rgba(34, 227, 211, 0.45);
}
.site-nav__link[aria-current="page"] .site-nav__index { color: var(--sonar); }

/* 头部 CTA */
.header-cta { padding: 0.62rem 1.15rem; font-size: 0.875rem; }

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: rgba(8, 34, 56, 0.7);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.nav-toggle:hover { border-color: var(--sonar); }
.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}
.nav-toggle__bars > span {
  display: block;
  height: 1.5px;
  background: var(--sonar);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header[data-open] .nav-toggle__bars > span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}
.site-header[data-open] .nav-toggle__bars > span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}
.nav-toggle__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}

/* 滚动进度 */
.scroll-meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(31, 78, 112, 0.45);
  overflow: hidden;
}
.scroll-meter__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--sonar), var(--pulse));
}

/* ---------- 页头响应式 ---------- */
@media (max-width: 1240px) {
  .header-status { display: none; }
}
@media (max-width: 1080px) {
  .site-header {
    background: rgba(4, 18, 31, 0.94);
    border-bottom-color: var(--line-strong);
  }
  .site-header__grid { opacity: 0.5; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 0.6rem var(--gutter) 1.4rem;
    background: var(--abyss-900);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-strong);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-header[data-open] .site-nav { display: block; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link {
    justify-content: flex-start;
    border-radius: 0;
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid rgba(31, 78, 112, 0.45);
    font-size: 1rem;
  }
  .site-nav__item:last-child .site-nav__link { border-bottom: 0; }
  .site-nav__link[aria-current="page"] {
    background: transparent;
    box-shadow: none;
    padding-left: 0.9rem;
    border-left: 3px solid var(--sonar);
  }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--abyss-800);
  border-top: 1px solid var(--line-strong);
}
.site-footer__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(to right, rgba(31, 78, 112, 0.32) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 78, 112, 0.32) 1px, transparent 1px);
  background-size: 72px 72px;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.75rem, 3vw, 2.75rem);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.85fr)) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.footer-brand { display: grid; gap: 0.65rem; align-content: start; }
.footer-brand .brand__mark { width: 38px; height: 38px; }
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ice);
}
.footer-brand__note {
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--steel);
}

.footer-col { display: grid; gap: 0.9rem; align-content: start; }
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sonar);
}

.footer-links { display: grid; gap: 0.55rem; }
.footer-links__item a {
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--steel);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}
.footer-links__item a:hover {
  color: var(--sonar);
  transform: translateX(4px);
}

.footer-contact { display: grid; gap: 0.7rem; }
.footer-contact__item { display: grid; gap: 0.1rem; }
.footer-contact__key {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer-contact__value {
  font-size: 0.9375rem;
  color: var(--ice);
  word-break: break-word;
}
.footer-contact__note {
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--steel);
}

.footer-legal {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-soft);
  background: rgba(4, 18, 31, 0.6);
}
.footer-legal__inner {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
  padding-block: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--steel);
}
.footer-legal__icp { color: var(--sonar-soft); }
.footer-legal__meta { color: var(--steel); }

@media (max-width: 1100px) {
  .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .site-footer__inner { grid-template-columns: minmax(0, 1fr); }
  .footer-legal__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- 动效降级 ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .accordion__panel { transition: none; }
}
