/* ==========================================================================
   LM体育 · /assets/site.css
   共享外壳：数据面板导航 + 计分板页脚 + 通用排版与基础组件
   ========================================================================== */

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

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

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

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

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

img { height: auto; }

button { font: inherit; color: inherit; }

a { color: inherit; }

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

/* ---------- 2. 变量 ---------- */
:root {
  --space-blue: #061826;
  --night: #0B0E13;
  --cold-white: #F4F7FB;
  --neon: #B8FF3D;
  --orange: #FF6B2C;
  --haze: #6F8FA8;
  --steel: #263646;
  --glass: #0F3550;
  --alert: #FF4D6D;
  --cyan: #8EEBFF;

  --line: rgba(244, 247, 251, 0.14);
  --line-strong: rgba(244, 247, 251, 0.28);
  --line-steel: rgba(38, 54, 70, 0.75);

  --font-sans: "HarmonyOS Sans SC", "Noto Sans SC", system-ui, -apple-system,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "Roboto Mono", "DIN Alternate", ui-monospace, SFMono-Regular,
    Menlo, Consolas, monospace;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 32px);
  --cut: 18px;
  --rail-h: 26px;
  --header-h: 74px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 3. 基座 ---------- */
body {
  min-height: 100vh;
  background-color: var(--night);
  background-image:
    radial-gradient(900px 620px at 82% -8%, rgba(15, 53, 80, 0.78), rgba(6, 24, 38, 0) 68%),
    radial-gradient(680px 460px at 2% 2%, rgba(184, 255, 61, 0.06), rgba(6, 24, 38, 0) 62%);
  background-repeat: no-repeat;
  background-size: 100% 1100px, 100% 900px;
  color: var(--cold-white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--neon);
  color: #06121c;
}

#main-content { display: block; scroll-margin-top: calc(var(--header-h) + var(--rail-h) + 8px); }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

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

/* ---------- 4. 排版工具 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.display {
  font-size: clamp(3.5rem, 9vw, 8.5rem);
  font-weight: 250;
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--haze);
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--orange);
  flex: none;
}

.section-index {
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: rgba(244, 247, 251, 0.16);
  font-variant-numeric: tabular-nums;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(24px, 4vw, 44px);
}

/* ---------- 5. 网格 ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 3vw, 32px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}

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

/* ---------- 6. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn--primary {
  background: var(--neon);
  color: #06121c;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn--primary:hover { background: var(--orange); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--cold-white);
}

.btn--ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
}

/* ---------- 7. 标签与状态 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--cold-white);
  white-space: nowrap;
}

.tag--live {
  color: var(--neon);
  border-color: rgba(184, 255, 61, 0.45);
  background: rgba(184, 255, 61, 0.08);
}

.tag--pending {
  color: var(--orange);
  border-color: rgba(255, 107, 44, 0.45);
  background: rgba(255, 107, 44, 0.08);
}

.tag--alert {
  color: var(--alert);
  border-color: rgba(255, 77, 109, 0.45);
  background: rgba(255, 77, 109, 0.1);
}

/* ---------- 8. 面包屑 ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--haze);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--steel);
}

.breadcrumb a {
  color: var(--haze);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

.breadcrumb [aria-current="page"] { color: var(--cold-white); }

/* ---------- 9. 面板与框景 ---------- */
.panel {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  background:
    linear-gradient(158deg, rgba(15, 53, 80, 0.42), rgba(11, 14, 19, 0.92) 68%);
}

.panel--cut {
  border-color: transparent;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  background:
    linear-gradient(158deg, rgba(15, 53, 80, 0.6), rgba(11, 14, 19, 0.96) 70%);
  box-shadow: inset 0 0 0 1px var(--line);
}

.frame {
  position: relative;
  padding: clamp(16px, 3vw, 30px);
  border: 1px solid var(--line);
}

.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--neon);
  border-left: 2px solid var(--neon);
}

.frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}

/* ---------- 10. 图片容器基础规则 ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(148deg, var(--glass) 0%, #08131c 58%, var(--night) 100%);
}

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

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(184, 255, 61, 0.07) 0 1px,
    rgba(184, 255, 61, 0) 1px 14px
  );
}

.media-frame--21x9 { aspect-ratio: 21 / 9; }
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }

/* ---------- 11. 数据表基础 ---------- */
.data-table {
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  padding-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--haze);
}

.data-table th {
  padding: 12px 14px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--haze);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}

.data-table td {
  padding: 14px;
  color: rgba(244, 247, 251, 0.86);
  border-bottom: 1px solid var(--line-steel);
}

.data-table tbody tr:hover td { background: rgba(15, 53, 80, 0.42); }

/* ---------- 12. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: -90px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--neon);
  color: #06121c;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

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

/* ---------- 13. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  --progress: 0;
  background: linear-gradient(180deg, rgba(6, 24, 38, 0.99), rgba(6, 24, 38, 0.9));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-rail {
  display: flex;
  align-items: center;
  gap: 12px;
  height: var(--rail-h);
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  border-bottom: 1px solid var(--line-steel);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--haze);
  background: linear-gradient(90deg, rgba(15, 53, 80, 0.35), rgba(6, 24, 38, 0));
}

.rail-dot {
  width: 6px;
  height: 6px;
  flex: none;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(184, 255, 61, 0.9);
}

.rail-label { flex: none; }

.rail-line {
  flex: 1 1 auto;
  height: 1px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(38, 54, 70, 0.95) 0 8px,
    rgba(38, 54, 70, 0) 8px 16px
  );
}

.rail-mono { flex: none; color: rgba(111, 143, 168, 0.85); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--cold-white);
  min-width: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-mark::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  margin-right: 10px;
  background: var(--neon);
  box-shadow: 0 0 12px rgba(184, 255, 61, 0.7);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--haze);
  white-space: nowrap;
  padding-left: 18px;
}

.header-divider {
  width: 1px;
  height: 30px;
  flex: none;
  background: var(--line-strong);
}

.section-chip {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--line-steel);
  background: rgba(11, 14, 19, 0.55);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.section-chip-num {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.section-chip-name {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: rgba(244, 247, 251, 0.72);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

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

.nav-link {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(244, 247, 251, 0.72);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: var(--neon);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover { color: var(--cold-white); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--neon); }

.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  background: var(--orange);
  height: 2px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 14px;
  padding: 11px 20px;
  background: var(--neon);
  color: #06121c;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--orange);
  color: #0B0E13;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--cold-white);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-toggle:hover { border-color: var(--neon); color: var(--neon); }

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

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease),
    background-color 0.2s var(--ease);
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { bottom: 0; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
  background: var(--neon);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
  background: var(--neon);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress > span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--neon), var(--orange));
  transition: transform 0.12s linear;
}

/* ---------- 14. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 120px);
  background: var(--night);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 255, 61, 0), var(--neon) 22%, var(--orange) 62%, rgba(255, 107, 44, 0));
  opacity: 0.75;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: -38%;
  right: -12%;
  width: min(760px, 68vw);
  height: min(760px, 68vw);
  background: radial-gradient(circle, rgba(15, 53, 80, 0.6), rgba(11, 14, 19, 0) 64%);
  pointer-events: none;
}

.footer-container {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 7vw, 88px) 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

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

.footer-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--haze);
}

.footer-wordmark {
  margin-top: 14px;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 200;
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: rgba(244, 247, 251, 0.12);
  -webkit-text-stroke: 1px rgba(244, 247, 251, 0.55);
  text-stroke: 1px rgba(244, 247, 251, 0.55);
}

.footer-summary {
  margin-top: 18px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(244, 247, 251, 0.66);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.85fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 44px);
}

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

.footer-col-title {
  margin: 0 0 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--neon);
}

.footer-col-title::before {
  content: "/ ";
  color: var(--orange);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-link {
  display: inline-block;
  font-size: 14px;
  color: rgba(244, 247, 251, 0.74);
  text-decoration: none;
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-link:hover {
  color: var(--neon);
  padding-left: 4px;
}

.footer-contact {
  display: grid;
  gap: 10px;
}

.contact-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line-steel);
}

.contact-key {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--haze);
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--cold-white);
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.contact-val--text {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: rgba(244, 247, 251, 0.82);
}

.footer-hours {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--haze);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: clamp(36px, 6vw, 62px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--haze);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-legal-link {
  color: var(--haze);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal-link:hover { color: var(--cyan); }

.footer-icp { color: rgba(111, 143, 168, 0.9); }

.footer-copy {
  margin-left: auto;
  color: rgba(244, 247, 251, 0.55);
  font-variant-numeric: tabular-nums;
}

/* ---------- 15. 显现动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 16. 平板与移动端 ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 64px; }

  body.nav-open { overflow: hidden; }

  .header-divider { display: none; }

  .header-right { gap: 10px; }

  .nav-toggle { display: inline-flex; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--gutter) 26px;
    background: linear-gradient(180deg, #0B0E13 0%, #061826 100%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 34px 64px -32px rgba(0, 0, 0, 0.95);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease),
      visibility 0.28s var(--ease);
  }

  .nav[data-open] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list li { counter-increment: navcount; }

  .nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 6px;
    font-size: 16px;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--line-steel);
  }

  .nav-link::before {
    content: "0" counter(navcount);
    min-width: 22px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--orange);
    opacity: 0.9;
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] {
    color: var(--neon);
    background: rgba(184, 255, 61, 0.06);
  }

  .nav-cta {
    width: 100%;
    margin: 18px 0 0;
    padding: 15px 20px;
    font-size: 13.5px;
  }

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

  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5 { grid-column: span 3; }
  .span-6, .span-7, .span-8 { grid-column: span 6; }
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col--contact { grid-column: span 2; }
  .footer-copy { margin-left: 0; }
}

@media (max-width: 640px) {
  .brand-mark { font-size: 17px; letter-spacing: 0.1em; }
  .brand-tag { display: none; }
  .brand-mark::before { margin-right: 8px; }
  .header-left { gap: 10px; }
  .section-chip { padding: 3px 8px; }
  .section-chip-name { display: none; }
  .rail-label { letter-spacing: 0.16em; }

  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-12 { grid-column: span 1; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-col--contact { grid-column: span 1; }

  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-wordmark { -webkit-text-stroke-width: 1px; }

  .btn { width: 100%; }
}

/* ---------- 17. 减弱动画 ---------- */
@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;
  }

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

  .scroll-progress > span { transition: none; }
}
