/* =========================================================
   万合足球站 · 共享样式 /assets/site.css
   夜场战术板：深蓝底 + 草皮绿骨 + 琥珀橙钉转会
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; }
a { color: inherit; text-decoration: none; }

:root {
  --night: #0A1A28;
  --board: #13293B;
  --board-soft: #183448;
  --turf: #1E7A4E;
  --turf-2: #37A06B;
  --white: #FFFFFF;
  --cold: #F5F8F6;
  --ice: #9FD3CE;
  --amber: #E08A2E;
  --slate: #5F7380;
  --line: #C7D2D6;
  --text: #16232C;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-ice: rgba(159, 211, 206, 0.16);
  --hairline: rgba(159, 211, 206, 0.22);
  --shadow: 0 18px 42px rgba(6, 17, 26, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: "Barlow Condensed", "Oswald", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

body {
  background: var(--cold);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 5.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.06rem; line-height: 1.3; letter-spacing: 0; }
p { text-wrap: pretty; }
strong { font-weight: 700; }

main { display: block; }

/* ---------- 焦点 ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(10, 26, 40, 0.22);
}
.site-footer :focus-visible { outline-color: var(--turf-2); }

/* ---------- 跳转条 ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  padding: 0.7rem 1.15rem;
  background: var(--ice);
  color: var(--night);
  font-weight: 700;
  font-size: 0.9rem;
  transform: translateY(-130%);
  transition: transform 0.22s var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); outline-offset: -4px; }

/* ---------- 容器与基础布局 ---------- */
.shell {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}
@media (min-width: 900px) {
  .shell { width: min(1240px, 100% - 4rem); }
}

.stack { display: flex; flex-direction: column; gap: clamp(1rem, 2vw, 1.6rem); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.7rem); }
.grid--split { grid-template-columns: 1.55fr 1fr; }
.grid--wide { grid-template-columns: 2fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--dense { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.95rem; }
@media (max-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .grid--split,
  .grid--wide,
  .grid--3,
  .grid--dense { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   头部
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--night);
  color: var(--cold);
  border-bottom: 1px solid var(--hairline);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  z-index: 3;
  pointer-events: none;
  background: rgba(10, 26, 40, 0.4);
}
.scroll-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--turf), var(--turf-2) 55%, var(--ice));
}

/* 上层：品牌说明条 */
.brandbar {
  background:
    linear-gradient(96deg, rgba(30, 122, 78, 0.34) 0%, rgba(10, 26, 40, 0) 52%),
    var(--night);
  border-bottom: 1px solid rgba(159, 211, 206, 0.14);
}
.brandbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.6rem;
  min-height: 38px;
  padding-block: 0.4rem;
}
.brandbar__line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.785rem;
  letter-spacing: 0.07em;
  color: rgba(245, 248, 246, 0.86);
}
.brandbar__pip {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--turf-2);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px rgba(55, 160, 107, 0.2);
}
.brandbar__meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  color: var(--ice);
}
.brandbar__note {
  text-transform: uppercase;
  color: rgba(159, 211, 206, 0.78);
}
.version-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.16rem 0.48rem;
  border: 1px solid rgba(159, 211, 206, 0.55);
  color: var(--ice);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  white-space: nowrap;
}

/* 下层：栏目导航 */
.navbar {
  position: relative;
  background: var(--board);
  transition: background 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.site-header[data-scrolled] .navbar {
  background: rgba(19, 41, 59, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
  box-shadow: 0 12px 32px rgba(4, 12, 19, 0.38);
}
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 66px;
  transition: min-height 0.28s var(--ease);
}
.site-header[data-scrolled] .navbar__inner { min-height: 58px; }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--turf);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  clip-path: polygon(0 0, 100% 0, 100% 74%, 86% 100%, 0 100%);
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.85rem;
  border: 1px solid rgba(159, 211, 206, 0.45);
  background: rgba(159, 211, 206, 0.08);
  color: var(--ice);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}
.navbar__cta:hover {
  background: var(--ice);
  border-color: var(--ice);
  color: var(--night);
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 0.1rem; }
.nav__item { flex: none; }
.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.7rem;
  font-size: 0.9rem;
  color: rgba(245, 248, 246, 0.8);
  transition: color 0.2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.16rem;
  height: 2px;
  background: var(--turf-2);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--white); font-weight: 500; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(159, 211, 206, 0.4);
  color: var(--cold);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.nav-toggle:hover { background: var(--glass-ice); border-color: var(--ice); }
.nav-toggle__bars {
  position: relative;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background 0.2s var(--ease);
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease);
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.site-header[data-open] .nav-toggle { background: var(--glass-ice); border-color: var(--ice); }
.site-header[data-open] .nav-toggle__bars { background: transparent; }
.site-header[data-open] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .navbar__inner { flex-wrap: wrap; min-height: 60px; gap: 0.5rem; }
  .nav-toggle { display: inline-flex; }
  .navbar__cta { order: 2; }
  .nav-toggle { order: 3; }
  .nav {
    order: 4;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin-left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    background: rgba(10, 26, 40, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow);
    transition: max-height 0.34s var(--ease), opacity 0.24s var(--ease),
                transform 0.3s var(--ease), visibility 0.34s var(--ease);
  }
  .site-header[data-open] .nav {
    max-height: 75vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 0.35rem 0 0.6rem; }
  .nav__item { border-bottom: 1px solid rgba(159, 211, 206, 0.12); }
  .nav__item:last-child { border-bottom: 0; }
  .nav__link { display: block; padding: 0.85rem 1.25rem; font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] {
    background: rgba(55, 160, 107, 0.16);
    box-shadow: inset 3px 0 0 var(--turf-2);
  }
}
@media (max-width: 460px) {
  .brand__text { font-size: 1.12rem; }
  .navbar__cta { font-size: 0.74rem; padding: 0.42rem 0.6rem; }
  .brandbar__note { display: none; }
}

/* =========================================================
   通用排版组件
   ========================================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.section-label::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--turf);
  flex: none;
}
.section-label--inverse { color: var(--ice); }
.section-label--inverse::before { background: var(--turf-2); }

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.4rem);
  line-height: 1.58;
  padding-left: 1rem;
  border-left: 3px solid var(--amber);
  color: var(--text);
  max-width: 34em;
}
.lead--inverse { color: var(--cold); }
.lead--ice { border-left-color: var(--ice); }

.prose { max-width: 38em; font-size: 1.02rem; line-height: 1.85; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.prose h3 { margin-top: 1.4em; }
.prose a { color: var(--turf); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--turf-2); }
.prose ul { list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 1.1rem;
}
.prose ul li + li { margin-top: 0.45rem; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 2px;
  background: var(--turf);
}
.prose--inverse { color: rgba(245, 248, 246, 0.88); }
.prose--inverse a { color: var(--ice); }

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

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.3rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn--primary { background: var(--turf); color: var(--white); }
.btn--primary:hover { background: var(--turf-2); transform: translateY(-1px); }
.btn--solid-light { background: var(--white); color: var(--night); }
.btn--solid-light:hover { background: var(--ice); transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: var(--night); font-weight: 600; }
.btn--amber:hover { background: #EFA04A; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(159, 211, 206, 0.6); color: var(--ice); }
.btn--ghost:hover { background: rgba(159, 211, 206, 0.15); color: var(--white); }

/* 色标 */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.58rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  border: 1px solid currentColor;
  white-space: nowrap;
}
.chip--round { color: var(--ice); border-color: rgba(159, 211, 206, 0.6); background: rgba(159, 211, 206, 0.12); }
.chip--transfer { color: var(--amber); border-color: rgba(224, 138, 46, 0.62); background: rgba(224, 138, 46, 0.13); }
.chip--report { color: #94E2B9; border-color: rgba(55, 160, 107, 0.7); background: rgba(30, 122, 78, 0.28); }

/* 面层 */
.surface { position: relative; padding: clamp(1.4rem, 2.6vw, 2.6rem); }
.surface--dark { background: var(--night); color: var(--cold); }
.surface--board { background: var(--board); color: var(--cold); }
.surface--light { background: var(--white); color: var(--text); border: 1px solid var(--line); }
.surface--glass {
  background: var(--glass);
  border: 1px solid var(--hairline);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.panel {
  position: relative;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border: 1px solid var(--line);
  background: var(--white);
}
.panel--glass {
  background: var(--glass);
  border-color: var(--hairline);
  color: var(--cold);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.panel--board { background: var(--board); border-color: rgba(159, 211, 206, 0.2); color: var(--cold); }
.panel--light { background: var(--white); border-color: var(--line); color: var(--text); }
.panel--amber { border-left: 3px solid var(--amber); }
.panel--report { border-left: 3px solid var(--turf); }
.panel__title { margin-bottom: 0.5rem; }
.panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-transform: uppercase;
}
.panel--glass .panel__meta,
.panel--board .panel__meta { color: rgba(159, 211, 206, 0.85); }

/* 面包屑 */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li + li::before {
  content: "/";
  margin-inline: 0.5rem;
  color: var(--line);
}
.breadcrumbs a { color: var(--slate); transition: color 0.2s var(--ease); }
.breadcrumbs a:hover { color: var(--turf); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 500; }
.breadcrumbs--inverse,
.breadcrumbs--inverse a { color: rgba(245, 248, 246, 0.66); }
.breadcrumbs--inverse a:hover { color: var(--ice); }
.breadcrumbs--inverse [aria-current="page"] { color: var(--ice); }
.breadcrumbs--inverse li + li::before { color: rgba(159, 211, 206, 0.4); }

/* 图像容器 */
.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
  background:
    linear-gradient(148deg, var(--board) 0%, var(--night) 52%, #0E2A22 100%);
  isolation: isolate;
}
.media-frame img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: 0;
  width: 62%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--turf-2));
  transform: rotate(-14deg);
  transform-origin: right bottom;
  opacity: 0.75;
  pointer-events: none;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame__caption {
  margin-top: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* 视图切换（轮次 / 转会） */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  border-bottom: 1px solid var(--hairline);
}
.tab {
  padding: 0.62rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(245, 248, 246, 0.68);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.tab:hover { color: var(--white); background: rgba(159, 211, 206, 0.1); }
.tab[aria-selected="true"] {
  color: var(--white);
  border-bottom-color: var(--turf-2);
  background: rgba(55, 160, 107, 0.15);
}
.tabs--light { border-bottom-color: var(--line); }
.tabs--light .tab { color: var(--slate); }
.tabs--light .tab:hover { color: var(--text); background: rgba(30, 122, 78, 0.08); }
.tabs--light .tab[aria-selected="true"] { color: var(--text); background: rgba(30, 122, 78, 0.1); }
[data-panel][hidden] { display: none; }

/* 入场显现 */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* 返回顶部 */
.back-to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(159, 211, 206, 0.5);
  background: rgba(19, 41, 59, 0.92);
  color: var(--ice);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
              background 0.22s var(--ease), color 0.22s var(--ease), visibility 0.26s var(--ease);
}
.back-to-top::before {
  content: "";
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
}
.back-to-top[data-visible] { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--turf); color: var(--white); border-color: var(--turf); }

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 6vw, 5.5rem);
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
  background: var(--night);
  color: var(--cold);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--turf) 0%, var(--turf-2) 22%, rgba(159, 211, 206, 0.35) 48%, transparent 88%);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(48%, 520px);
  height: 190px;
  background: linear-gradient(202deg, rgba(30, 122, 78, 0.38), rgba(30, 122, 78, 0) 72%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  display: grid;
  gap: clamp(1.6rem, 3.5vw, 2.6rem);
  padding-bottom: clamp(1.4rem, 3vw, 2rem);
}
@media (min-width: 901px) {
  .footer__inner { grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); }
}

.footer__brand { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__sign {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.62rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--white);
}
.footer__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--turf-2);
}
.footer__note {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(245, 248, 246, 0.62);
  max-width: 24em;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem 1.2rem;
}
.footer__col { min-width: 0; }
.footer__title {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.71rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ice);
  padding-bottom: 0.5rem;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(159, 211, 206, 0.18);
}
.footer__list li + li { margin-top: 0.45rem; }
.footer__list a {
  display: inline-block;
  font-size: 0.9rem;
  color: rgba(245, 248, 246, 0.76);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer__list a:hover {
  color: var(--white);
  border-bottom-color: var(--turf-2);
}

.footer__contact {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.85;
  color: rgba(245, 248, 246, 0.8);
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--turf);
}
.footer__rule {
  height: 1px;
  transform: rotate(-0.7deg);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--ice) 0%, rgba(159, 211, 206, 0.2) 45%, transparent 92%);
  margin-bottom: 0.9rem;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  color: rgba(245, 248, 246, 0.56);
}

@media (max-width: 700px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
}

/* =========================================================
   减弱动效
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.12s !important;
    transition-timing-function: linear !important;
  }
  [data-reveal] { transform: none; opacity: 0; transition: opacity 0.12s linear; }
  [data-reveal].is-visible { opacity: 1; }
  .nav,
  .back-to-top,
  .site-header[data-open] .nav { transform: none !important; }
  .btn:hover { transform: none !important; }
}
