/* ============================================================
   华体会体育 · 共享样式 /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,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

/* ---------- 2. 变量 ---------- */
:root {
  --field: #0B1B33;
  --panel: #16305A;
  --orange: #FF6A1A;
  --cyan: #2BE8B0;
  --ice: #F4F7FB;
  --steel: #7C8BA1;
  --peach: #FFD9C2;
  --teal: #0E7A5F;
  --ink: #060D18;

  --rail-w: 96px;
  --bar-h: 60px;
  --maxw: 1180px;

  --radius-organic: 8px 18px 6px 22px;
  --radius-organic-alt: 20px 6px 22px 8px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

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

  --line: rgba(124, 139, 161, 0.24);
  --line-strong: rgba(124, 139, 161, 0.42);
}

/* ---------- 3. 基础排版 ---------- */
html,
body {
  min-height: 100%;
}

body {
  background-color: var(--field);
  background-image:
    radial-gradient(1100px 560px at 8% -12%, rgba(22, 48, 90, 0.92), transparent 62%),
    radial-gradient(900px 480px at 108% 8%, rgba(14, 122, 95, 0.16), transparent 66%),
    repeating-linear-gradient(115deg, rgba(124, 139, 161, 0.055) 0 1px, transparent 1px 68px);
  background-attachment: fixed, fixed, fixed;
  color: #DCE6F3;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: var(--ice);
  text-wrap: balance;
}

h1 {
  font-size: clamp(30px, 4.4vw, 52px);
}

h2 {
  font-size: clamp(24px, 3vw, 34px);
}

h3 {
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: -0.01em;
}

h4 {
  font-size: 17px;
  letter-spacing: 0;
}

p {
  margin-bottom: 1em;
  max-width: 38em;
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 700;
  color: var(--ice);
}

::selection {
  background: var(--orange);
  color: #150A03;
}

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

a:focus:not(:focus-visible) {
  outline: none;
}

/* ---------- 4. 布局容器 ---------- */
#main-content {
  display: block;
}

.container {
  width: min(100% - 36px, var(--maxw));
  margin-inline: auto;
}

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

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

.band--light {
  background: var(--ice);
  color: #16233A;
}

.band--light h1,
.band--light h2,
.band--light h3,
.band--light h4,
.band--light strong {
  color: #0B1B33;
}

.band--light p {
  color: #22334C;
}

.band--light a:not(.btn) {
  color: var(--teal);
}

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

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

.grid--8-4 {
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

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

@media (max-width: 900px) {
  .grid--split,
  .grid--8-4,
  .grid--halves {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 6. 小字与数据 ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.index-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}

.index-tag::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange);
}

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

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ---------- 7. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px 16px 4px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.btn--primary {
  background: var(--orange);
  color: #150A03;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 106, 26, 0.32);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(244, 247, 251, 0.34);
  color: var(--ice);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--data {
  background: rgba(43, 232, 176, 0.12);
  border-color: rgba(43, 232, 176, 0.42);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.btn--data:hover,
.btn--data:focus-visible {
  background: rgba(43, 232, 176, 0.2);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* ---------- 8. 面板与面包屑 ---------- */
.panel {
  background: linear-gradient(160deg, rgba(22, 48, 90, 0.92), rgba(11, 27, 51, 0.94));
  border: 1px solid var(--line);
  border-radius: var(--radius-organic);
  padding: clamp(18px, 2.4vw, 28px);
}

.band--light .panel {
  background: #FFFFFF;
  border-color: rgba(11, 27, 51, 0.14);
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--steel);
  padding-block: 18px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(124, 139, 161, 0.62);
}

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

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

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

.band--light .breadcrumb,
.band--light .breadcrumb a {
  color: #55657C;
}

.band--light .breadcrumb [aria-current="page"] {
  color: #0B1B33;
}

/* ---------- 9. 图片容器基础 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-organic);
  background:
    linear-gradient(145deg, rgba(22, 48, 90, 0.96), rgba(6, 13, 24, 0.98) 72%);
  isolation: isolate;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(43, 232, 176, 0.14) 26px 27px),
    linear-gradient(155deg, rgba(255, 106, 26, 0.3), transparent 58%);
  mix-blend-mode: screen;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 27, 51, 0.16) 12%, rgba(6, 13, 24, 0.74) 100%);
  transition: opacity 0.2s var(--ease);
}

.media-frame:hover::after,
.media-frame:focus-within::after {
  opacity: 0.68;
}

.media-frame__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame__caption {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ice);
  text-shadow: 0 1px 12px rgba(6, 13, 24, 0.9);
}

.media-frame__caption::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin-bottom: 8px;
  background: var(--cyan);
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--tilt {
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  border-radius: 0;
}

/* ---------- 10. 头部：侧轨 ---------- */
.site-header {
  position: relative;
  z-index: 70;
  --scroll-progress: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px 12px 4px 12px;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

.rail {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 72;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 6px 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #101F3A 0%, var(--field) 46%, #081422 100%);
  border-right: 1px solid var(--line);
}

.rail::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 40%;
  background: linear-gradient(180deg, var(--orange), rgba(255, 106, 26, 0));
  opacity: 0.9;
}

/* 品牌署名 */
.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 4px 0 14px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ice);
}

.rail__mark {
  width: 24px;
  height: 24px;
  background: var(--orange);
  border-radius: 6px 12px 4px 14px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(255, 106, 26, 0.14);
  transition: transform 0.24s var(--ease);
}

.rail__brand:hover .rail__mark,
.rail__brand:focus-visible .rail__mark {
  transform: rotate(0deg);
}

.rail__brand-name {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.1;
  color: var(--ice);
}

.rail__brand-sub {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--steel);
  text-transform: uppercase;
}

/* 导航 */
.rail__nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 139, 161, 0.5) transparent;
}

.rail__nav::-webkit-scrollbar {
  width: 4px;
}

.rail__nav::-webkit-scrollbar-thumb {
  background: rgba(124, 139, 161, 0.45);
  border-radius: 4px;
}

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

.nav-link {
  position: relative;
  display: block;
  padding: 8px 4px 8px 12px;
  border-radius: 6px;
  color: #C2D0E2;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.32;
  text-decoration: none;
  transition: color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.nav-link__idx {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
  transition: color 0.16s var(--ease);
}

.nav-link__label {
  display: block;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--orange);
  transform: translateY(-50%);
  transition: height 0.16s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--ice);
  background: rgba(255, 106, 26, 0.12);
}

.nav-link:hover::before,
.nav-link:focus-visible::before {
  height: 18px;
}

.nav-link[aria-current="page"] {
  color: var(--ice);
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.24), rgba(255, 106, 26, 0));
}

.nav-link[aria-current="page"]::before {
  height: 26px;
}

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

/* 轨道底部 */
.rail__foot {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.rail__status {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

.rail__status::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(43, 232, 176, 0.18);
}

.rail__note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--steel);
}

.rail__cta {
  display: block;
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  color: #150A03;
  text-decoration: none;
  background: var(--orange);
  border-radius: 6px 14px 4px 16px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.rail__cta:hover,
.rail__cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 106, 26, 0.32);
}

/* 移动顶栏（桌面隐藏） */
.mobile-bar {
  display: none;
}

/* 遮罩 */
.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 71;
  background: rgba(6, 13, 24, 0.66);
  backdrop-filter: blur(2px);
}

/* 抽屉按钮 */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(43, 232, 176, 0.42);
  border-radius: 8px 16px 6px 18px;
  background: rgba(22, 48, 90, 0.72);
  color: var(--ice);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

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

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

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

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

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

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

/* 滚动进度 */
.scroll-meter {
  position: fixed;
  top: 0;
  left: calc(var(--rail-w) - 3px);
  width: 3px;
  height: 100vh;
  z-index: 55;
  background: rgba(124, 139, 161, 0.14);
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  width: 100%;
  height: calc(var(--scroll-progress, 0) * 100%);
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  transition: height 0.12s linear;
}

/* ---------- 11. 内容避让侧轨 ---------- */
@media (min-width: 1024px) {
  .site-main {
    margin-left: var(--rail-w);
  }

  .site-footer {
    margin-left: var(--rail-w);
  }
}

/* ---------- 12. 移动 / 平板：抽屉 ---------- */
@media (max-width: 1023px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 70;
  }

  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: var(--bar-h);
    padding: 0 14px;
    background: rgba(11, 27, 51, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
  }

  .mobile-bar__brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: var(--ice);
    text-decoration: none;
  }

  .mobile-bar__sub {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--cyan);
    text-transform: uppercase;
  }

  .rail {
    width: min(304px, 86vw);
    padding: 20px 12px 18px;
    gap: 14px;
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.28s var(--ease), visibility 0.28s var(--ease);
    box-shadow: 24px 0 60px rgba(6, 13, 24, 0.55);
    z-index: 73;
  }

  .rail__brand {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0 0 14px;
  }

  .rail__brand-name {
    writing-mode: horizontal-tb;
    font-size: 18px;
    letter-spacing: 0.06em;
  }

  .rail__brand-sub {
    writing-mode: horizontal-tb;
    margin-left: auto;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .nav-link {
    padding: 11px 10px 11px 16px;
    font-size: 15px;
  }

  .nav-link__idx {
    display: inline-block;
    margin: 0 10px 0 0;
    font-size: 11px;
  }

  .nav-link__label {
    display: inline-block;
  }

  .rail__status {
    font-size: 11px;
  }

  .rail__note {
    font-size: 11px;
  }

  .rail__cta {
    padding: 12px 8px;
    font-size: 14px;
  }

  .site-header[data-open] .rail {
    transform: translateX(0);
    visibility: visible;
  }

  .site-header[data-open] .nav-scrim {
    display: block;
  }

  body.nav-open {
    overflow: hidden;
  }

  .scroll-meter {
    top: var(--bar-h);
    left: 0;
    right: 0;
    width: auto;
    height: 2px;
    background: rgba(124, 139, 161, 0.2);
  }

  .scroll-meter__fill {
    width: calc(var(--scroll-progress, 0) * 100%);
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--orange));
    transition: width 0.12s linear;
  }
}

/* ---------- 13. 页脚 ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #081422 0%, var(--ink) 100%);
  color: #B9C7D9;
  font-size: 15px;
  border-top: 1px solid var(--line);
}

.footer-diagonal {
  height: 74px;
  background:
    linear-gradient(102deg, var(--orange) 0 24%, transparent 24% 100%),
    linear-gradient(102deg, transparent 0 58%, var(--cyan) 58% 61%, transparent 61%),
    repeating-linear-gradient(102deg, rgba(124, 139, 161, 0.18) 0 1px, transparent 1px 30px);
  clip-path: polygon(0 0, 100% 0, 100% 32%, 0 100%);
  opacity: 0.94;
}

.footer-inner {
  width: min(100% - 36px, var(--maxw));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 34px 44px;
  padding: 10px 0 38px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.footer-intro {
  margin: 0;
  max-width: 34em;
  line-height: 1.8;
  color: #B9C7D9;
}

.footer-cta {
  margin-top: 4px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
}

.footer-col__title {
  position: relative;
  margin: 0 0 12px;
  padding-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-col__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  display: inline-block;
  color: #CBD7E6;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease), transform 0.16s var(--ease);
}

.footer-link:hover,
.footer-link:focus-visible {
  color: var(--orange);
  border-color: rgba(255, 106, 26, 0.6);
  transform: translateX(2px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.footer-contact__title {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
}

.footer-contact__line {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #CBD7E6;
  word-break: break-word;
}

.footer-contact__note {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--steel);
  max-width: 30em;
}

.footer-base {
  width: min(100% - 36px, var(--maxw));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--steel);
}

.footer-copy,
.footer-icp {
  margin: 0;
  font-size: 12px;
}

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

.footer-legal__link {
  color: var(--steel);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.footer-legal__link:hover,
.footer-legal__link:focus-visible {
  color: var(--cyan);
}

/* ---------- 14. 显现 ---------- */
html.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s var(--ease) var(--reveal-delay, 0ms),
    transform 0.5s var(--ease) var(--reveal-delay, 0ms);
}

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

/* ---------- 15. 响应式收尾 ---------- */
@media (max-width: 1023px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 16px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

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

  .container {
    width: min(100% - 28px, var(--maxw));
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding-bottom: 30px;
  }

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

  .footer-base {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-diagonal {
    height: 50px;
  }

  .btn {
    width: 100%;
    padding-inline: 18px;
  }

  .footer-cta {
    width: auto;
  }
}

/* ---------- 16. 焦点与减弱动效 ---------- */
.nav-link:focus-visible,
.footer-link:focus-visible,
.footer-legal__link:focus-visible,
.rail__cta:focus-visible,
.rail__brand:focus-visible,
.mobile-bar__brand:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

@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;
  }

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

  .rail {
    transition: none;
  }

  .btn:hover,
  .rail__cta:hover,
  .nav-toggle:hover,
  .footer-link:hover {
    transform: none;
  }
}
