/* ============================================================
   亚星赛场 · 共享外壳样式 /assets/site.css
   轨道导航 + 上下文条 + 看台剖面页脚
   ============================================================ */

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

* { margin: 0; }

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

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #0B1220;
  --ink-850: #0e1728;
  --ink-800: #131C2E;
  --ink-700: #22304A;
  --line: #2A3650;
  --line-soft: #1c2740;

  --orange: #FF6B2C;
  --orange-deep: #C94E1B;
  --lime: #B8FF3C;
  --cyan: #2FB6C4;
  --amber: #F2B33D;

  --text: #F2F5FA;
  --muted: #A9B4C6;
  --dim: #6C7B96;
  --focus: #7CE0FF;

  --rail-w: 88px;
  --drawer-w: 240px;
  --ctx-h: 40px;
  --bar-h: 60px;
  --max-w: 1280px;
  --cut: 14px;

  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "Source Han Sans SC",
    "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei",
    "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Roboto Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --scroll-progress: 0;
}

/* ---------- 3. 中文排版与底色 ---------- */
body {
  min-height: 100vh;
  padding-top: var(--bar-h);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(120% 70% at 88% -10%, rgba(47, 182, 196, 0.12), transparent 62%),
    radial-gradient(90% 60% at 8% 8%, rgba(255, 107, 44, 0.08), transparent 60%),
    linear-gradient(180deg, #0B1220 0%, #0a1120 60%, #080e18 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.9) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
}

::selection {
  background: var(--orange);
  color: #0B1220;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: 0.01em;
  font-weight: 800;
}

p {
  max-width: 68ch;
}

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

#main-content {
  display: block;
  outline: none;
}

/* ---------- 4. 桌面外壳位移 ---------- */
@media (min-width: 960px) {
  body {
    padding-top: var(--ctx-h);
    padding-left: var(--rail-w);
  }
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--lime);
  color: #0B1220;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 66%, calc(100% - 10px) 100%, 0 100%);
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 6. 头部容器 ---------- */
.site-header {
  position: static;
  z-index: 90;
}

/* ---------- 7. 上下文条 ---------- */
.context-bar {
  display: none;
}

@media (min-width: 960px) {
  .context-bar {
    position: fixed;
    top: 0;
    left: var(--rail-w);
    right: 0;
    height: var(--ctx-h);
    z-index: 92;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    background: rgba(11, 18, 32, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(8px);
    font-size: 12px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
  }
}

.context-bar__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--dim);
  text-transform: uppercase;
}

.context-bar__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.context-bar__value::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--orange);
}

.context-bar__divider {
  width: 1px;
  height: 14px;
  background: var(--line);
}

.context-bar__round {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
}

.context-bar__signal {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lime);
}

.signal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(184, 255, 60, 0.16);
  animation: signal-pulse 2.4s ease-in-out infinite;
}

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(184, 255, 60, 0.16); }
  50% { box-shadow: 0 0 0 6px rgba(184, 255, 60, 0.04); }
}

/* ---------- 8. 品牌轨道 ---------- */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 95;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  background: rgba(11, 18, 32, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

@media (min-width: 960px) {
  .rail {
    right: auto;
    bottom: 0;
    width: var(--rail-w);
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 18px 0 20px;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #101a2c 0%, #0B1220 62%);
  }
}

.rail__progress {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.rail__progress-bar {
  display: block;
  width: calc(var(--scroll-progress) * 1%);
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transition: width 0.12s linear;
}

@media (min-width: 960px) {
  .rail__progress {
    top: 0;
    bottom: 0;
    left: auto;
    right: 0;
    width: 2px;
    height: auto;
  }

  .rail__progress-bar {
    width: 100%;
    height: calc(var(--scroll-progress) * 1%);
    background: linear-gradient(180deg, var(--lime), var(--orange));
    transition: height 0.12s linear;
  }
}

.rail__brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.rail__brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: #0B1220;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 66% 100%, 0 100%);
  transition: background 0.18s linear;
}

.rail__brand-text {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.rail__brand:hover .rail__brand-mark {
  background: var(--lime);
}

.rail__brand:hover .rail__brand-text {
  color: var(--orange);
}

.rail__tagline {
  display: none;
  max-width: none;
}

@media (min-width: 960px) {
  .rail__brand {
    flex-direction: column;
    gap: 12px;
    margin-top: 2px;
  }

  .rail__brand-mark {
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .rail__brand-text {
    writing-mode: vertical-rl;
    letter-spacing: 0.3em;
    font-size: 13px;
  }

  .rail__tagline {
    display: block;
    margin: 6px 0 0;
    writing-mode: vertical-rl;
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: 0.24em;
    color: var(--dim);
  }
}

.rail__toggle {
  margin-left: auto;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 62%, calc(100% - 10px) 100%, 0 100%);
  transition: border-color 0.18s linear, background 0.18s linear, color 0.18s linear;
}

.rail__toggle:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.rail__toggle:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: inset 0 0 0 2px var(--focus);
}

.rail__toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.rail__toggle-bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s linear;
}

.rail__toggle-bars i:nth-child(2) {
  width: 66%;
}

.rail__toggle-text {
  font-size: 11px;
  letter-spacing: 0.2em;
}

@media (min-width: 960px) {
  .rail__toggle {
    margin: auto 0 0;
    flex-direction: column;
    gap: 6px;
    width: 52px;
    min-height: 52px;
    padding: 0;
    clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  }
}

.rail__cta {
  display: none;
}

@media (min-width: 960px) {
  .rail__cta {
    display: block;
    margin-top: 10px;
    padding: 14px 8px;
    writing-mode: vertical-rl;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-decoration: none;
    text-align: center;
    color: #0B1220;
    background: var(--orange);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
    transition: background 0.18s linear, color 0.18s linear;
  }

  .rail__cta:hover {
    background: var(--lime);
    color: #0B1220;
  }
}

.site-header[data-open] .rail__toggle {
  background: var(--orange);
  border-color: var(--orange);
  color: #0B1220;
}

.site-header[data-open] .rail__toggle-bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.site-header[data-open] .rail__toggle-bars i:nth-child(2) {
  opacity: 0;
}

.site-header[data-open] .rail__toggle-bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- 9. 栏目抽屉 ---------- */
.nav-drawer {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  width: min(84vw, 320px);
  height: calc(100vh - var(--bar-h));
  z-index: 94;
  display: flex;
  flex-direction: column;
  padding: 20px 16px 22px;
  overflow-y: auto;
  background: #0F1829;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 24px 0 48px rgba(4, 8, 16, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-16px);
  transition: transform 0.22s var(--ease), opacity 0.18s linear, visibility 0.22s linear;
}

@media (min-width: 960px) {
  .nav-drawer {
    top: var(--ctx-h);
    left: var(--rail-w);
    width: var(--drawer-w);
    height: auto;
    max-height: calc(100vh - var(--ctx-h));
    padding: 22px 18px 24px;
    box-shadow: 16px 20px 44px rgba(4, 8, 16, 0.45);
  }
}

.site-header[data-open] .nav-drawer {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.nav-drawer__label {
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5F6F8C;
}

.nav-drawer__nav {
  display: block;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-list__item {
  list-style: none;
}

.nav-list__link {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 10px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.18s linear, background 0.18s linear, border-color 0.18s linear;
}

.nav-list__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #4E5F7E;
}

.nav-list__link:hover {
  color: var(--text);
  border-left-color: var(--orange);
  background: rgba(255, 107, 44, 0.08);
}

.nav-list__link[aria-current="page"] {
  color: var(--text);
  font-weight: 800;
  border-left-color: var(--orange);
  background: linear-gradient(90deg, rgba(255, 107, 44, 0.18), transparent 86%);
}

.nav-list__link[aria-current="page"] .nav-list__index {
  color: var(--orange);
}

.nav-drawer__paths {
  margin: 18px 0 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.path-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 6px 6px 0;
  padding: 4px 12px;
  border: 1px solid var(--line);
  background: rgba(34, 48, 74, 0.45);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 60%, calc(100% - 8px) 100%, 0 100%);
  transition: color 0.18s linear, border-color 0.18s linear, background 0.18s linear;
}

.path-chip:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: rgba(255, 107, 44, 0.1);
}

.nav-drawer__cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.nav-drawer__meta {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-soft);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #5F6F8C;
  max-width: none;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 93;
  display: block;
  padding: 0;
  border: 0;
  background: rgba(6, 10, 18, 0.62);
  backdrop-filter: blur(2px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s linear, visibility 0.2s linear;
}

.site-header[data-open] .nav-scrim {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ---------- 10. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  clip-path: polygon(0 0, 100% 0, 100% 70%, calc(100% - 12px) 100%, 0 100%);
  transition: background 0.18s linear, color 0.18s linear, border-color 0.18s linear;
}

.btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  box-shadow: inset 0 0 0 2px var(--focus);
}

.btn--primary {
  background: var(--orange);
  color: #0B1220;
}

.btn--primary:hover {
  background: var(--orange-deep);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

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

/* ---------- 11. 布局与通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.section {
  position: relative;
  padding-block: 56px;
}

@media (min-width: 960px) {
  .section {
    padding-block: 88px;
  }
}

.stack > * + * {
  margin-top: 16px;
}

.grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

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

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 14px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumb a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s linear, border-color 0.18s linear;
}

.breadcrumb a:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.breadcrumb__sep {
  color: #3D4C66;
}

.panel {
  position: relative;
  padding: 22px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.panel--alt {
  background: linear-gradient(155deg, #17233a 0%, #101a2c 100%);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  background: rgba(34, 48, 74, 0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  clip-path: polygon(0 0, 100% 0, 100% 60%, calc(100% - 8px) 100%, 0 100%);
}

.chip--live {
  color: var(--lime);
  border-color: rgba(184, 255, 60, 0.4);
}

.chip--round {
  color: var(--orange);
  border-color: rgba(255, 107, 44, 0.45);
}

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

.timeline__item {
  position: relative;
  padding: 14px 0 14px 26px;
  border-left: 1px solid var(--line);
}

.timeline__dot {
  position: absolute;
  top: 22px;
  left: -4px;
  width: 7px;
  height: 7px;
  background: var(--orange);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.timeline__label {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--dim);
}

/* ---------- 12. 图片容器基础规则 ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: #0E1727;
  border: 1px solid var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
}

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

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.06) 0 1px,
    transparent 1px 4px
  );
  mix-blend-mode: overlay;
}

.media__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 8px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  background: linear-gradient(90deg, rgba(11, 18, 32, 0.94), rgba(11, 18, 32, 0));
}

.media--placeholder {
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 18% 0%, #1b2a44 0%, #0b1220 72%);
}

.media__placeholder-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #5B6D8B;
}

/* ---------- 13. 即时提示 ---------- */
.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 150;
  max-width: 260px;
  padding: 12px 16px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s linear, transform 0.2s var(--ease);
}

.toast[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 14. 进场 ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

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

/* ---------- 15. 页脚：看台剖面 ---------- */
.site-footer {
  position: relative;
  margin-top: 64px;
  padding: 46px 0 22px;
  background: linear-gradient(180deg, #0e1728 0%, #080e18 100%);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--orange) 0 26px,
    transparent 26px 64px
  );
  opacity: 0.55;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: -60px;
  width: 260px;
  height: 260px;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(47, 182, 196, 0.16), transparent 68%);
}

.footer__grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer__grid {
    padding-inline: 32px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .footer__grid {
    grid-template-columns: 1.5fr 0.85fr 0.85fr 1.3fr;
    gap: 32px;
  }

  .footer__grid > :nth-child(1) { padding-top: 0; }
  .footer__grid > :nth-child(2) { padding-top: 14px; }
  .footer__grid > :nth-child(3) { padding-top: 28px; }
  .footer__grid > :nth-child(4) { padding-top: 42px; }
}

.footer__brand {
  position: relative;
  padding-left: 14px;
  border-left: 2px solid var(--orange);
}

.footer__brand-name {
  max-width: none;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
}

.footer__brand-line {
  max-width: none;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer__col {
  display: block;
}

.footer__col-title {
  max-width: none;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5F6F8C;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__link {
  display: inline-block;
  min-height: 32px;
  padding: 4px 0;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.18s linear, border-color 0.18s linear;
}

.footer__link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.footer__contact {
  min-width: 0;
}

.footer__contact-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.footer__contact-label {
  flex: none;
  min-width: 40px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #5F6F8C;
  text-transform: uppercase;
}

.footer__contact-value {
  font-size: 13px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.footer__note {
  max-width: none;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #6C7B96;
}

.footer__base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  max-width: var(--max-w);
  margin: 34px auto 0;
  padding: 16px 20px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #6C7B96;
}

@media (min-width: 768px) {
  .footer__base {
    padding-inline: 32px;
  }
}

.footer__copy,
.footer__icp {
  max-width: none;
}

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

.footer__base-link {
  text-decoration: none;
  color: #6C7B96;
  border-bottom: 1px solid transparent;
  transition: color 0.18s linear, border-color 0.18s linear;
}

.footer__base-link:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

/* ---------- 16. 减少动态 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .signal-dot {
    animation: none;
  }

  .has-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-drawer {
    transform: none;
  }
}
