/* =========================================================
   四季体育 · /assets/site.css
   共享外壳：reset / 变量 / 中文排版 / 头部 / 页脚 / 通用组件
   ========================================================= */

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

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

body { margin: 0; }

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

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

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

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

a { color: inherit; }

/* ---------- 2. 变量 ---------- */
:root {
  --ink: #101820;
  --ink-soft: #1E2A33;
  --paper: #F6F1E7;
  --paper-2: #E7DFCF;
  --spring: #3AA76D;
  --summer: #F26B38;
  --summer-deep: #D8571F;
  --autumn: #E0A82E;
  --winter: #3B82C4;
  --winter-deep: #2C6699;
  --alert: #C03A2B;
  --muted: #6B7280;
  --white: #FFFFFF;

  --line: rgba(16, 24, 32, .14);
  --line-strong: rgba(16, 24, 32, .28);
  --line-invert: rgba(246, 241, 231, .16);
  --paper-glass: rgba(246, 241, 231, .88);
  --ink-glass: rgba(16, 24, 32, .95);

  --shell: 1200px;
  --gutter: clamp(18px, 4vw, 40px);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --ease: cubic-bezier(.2, .7, .3, 1);
  --shadow-island: 0 16px 40px -30px rgba(16, 24, 32, .65);
  --shadow-lift: 0 30px 60px -34px rgba(16, 24, 32, .55);

  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;
}

/* ---------- 3. 中文排版与基础文本 ---------- */
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: 1.25; }
h4 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -.01em; }

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

strong { font-weight: 800; }

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

/* ---------- 4. 焦点与可访问性 ---------- */
:focus-visible {
  outline: 3px solid var(--winter);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-220%);
  display: inline-block;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .18s var(--ease);
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 3px solid var(--summer);
  outline-offset: 2px;
}

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

/* ---------- 5. 布局基础 ---------- */
.shell {
  width: min(calc(100% - var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section { padding: clamp(44px, 7vw, 88px) 0; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink h2,
.section--ink h3 { color: var(--white); }

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

.grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.grid--split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.grid--halves { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--thirds { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--summer);
  flex: none;
}

.section--ink .eyebrow { color: rgba(246, 241, 231, .6); }

.tick-scale {
  height: 14px;
  color: rgba(16, 24, 32, .24);
  background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 28px);
}

.section--ink .tick-scale { color: rgba(246, 241, 231, .28); }

/* ---------- 6. 通用按钮 / 标签 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}

.btn--primary { background: var(--summer); color: var(--white); }
.btn--primary:hover { background: var(--summer-deep); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-soft); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(16, 24, 32, .05); }

.section--ink .btn--ghost { border-color: var(--line-invert); color: var(--paper); }
.section--ink .btn--ghost:hover { border-color: rgba(246, 241, 231, .45); background: rgba(246, 241, 231, .08); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  flex: none;
}

.badge--spring { background: rgba(58, 167, 109, .16); color: #1F6B44; }
.badge--spring::before { background: var(--spring); }

.badge--summer { background: rgba(242, 107, 56, .16); color: #A8400F; }
.badge--summer::before { background: var(--summer); }

.badge--autumn { background: rgba(224, 168, 46, .2); color: #7E5A0C; }
.badge--autumn::before { background: var(--autumn); }

.badge--winter { background: rgba(59, 130, 196, .16); color: #24557F; }
.badge--winter::before { background: var(--winter); }

.badge--alert { background: rgba(192, 58, 43, .14); color: #93301F; }
.badge--alert::before { background: var(--alert); }

/* ---------- 7. 面包屑 / 正文容器 / 锚点目录 ---------- */
.breadcrumb {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
}

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

.breadcrumb a {
  color: var(--winter-deep);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

.prose {
  max-width: 38em;
  font-size: 17px;
  line-height: 1.75;
}

.prose h2 { margin: 1.8em 0 .6em; }
.prose h3 { margin: 1.6em 0 .5em; }

.prose ul,
.prose ol {
  margin: 0 0 1.15em;
  padding-left: 1.3em;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }

.prose a {
  color: var(--winter-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--autumn);
  color: var(--ink-soft);
}

.anchor-nav {
  position: sticky;
  top: 96px;
  font-size: 14px;
}

.anchor-nav a {
  display: block;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.anchor-nav a:hover {
  color: var(--ink);
  background: rgba(16, 24, 32, .05);
}

.anchor-nav a.is-current {
  color: var(--ink);
  font-weight: 800;
  border-left-color: var(--summer);
  background: rgba(16, 24, 32, .05);
}

/* ---------- 8. 日期轨道 ---------- */
.date-track {
  display: flex;
  gap: 10px;
  padding: 14px 4px 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.date-track__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: grid;
  gap: 2px;
  justify-items: center;
  min-width: 78px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  background: var(--paper-2);
  color: var(--ink);
  text-decoration: none;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}

.date-track__item:hover { background: #DCD1BC; }

.date-track__item.is-active,
.date-track__item[aria-current="true"] {
  transform: scale(1.08);
  background: var(--ink);
  color: var(--paper);
}

.date-track__day {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.date-track__meta {
  font-size: 11px;
  letter-spacing: .08em;
  opacity: .72;
}

.date-track__tick {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .35;
}

/* ---------- 9. 图片容器 ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--paper-2), #DCD1BC);
  isolation: isolate;
}

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

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

.media--slash {
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  border-radius: 0;
}

.media--framed {
  border: 1px solid var(--line);
  padding: 10px;
  background: rgba(255, 255, 255, .46);
}

.media[data-season]::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
}

.media[data-season="spring"]::after { background: var(--spring); }
.media[data-season="summer"]::after { background: var(--summer); }
.media[data-season="autumn"]::after { background: var(--autumn); }
.media[data-season="winter"]::after { background: var(--winter); }

@media (min-width: 768px) {
  .media { border-radius: var(--r-xl); }
}

/* ---------- 10. 主题筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-btn {
  appearance: none;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.filter-btn:hover { border-color: var(--ink); background: rgba(16, 24, 32, .05); }

.filter-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.filter-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

.filter-item {
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}

.filter-item.is-out {
  opacity: 0;
  transform: translateY(8px);
}

.filter-item[hidden] { display: none; }

/* ---------- 11. 显现 ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

html.js [data-reveal="num"] {
  transform: translateY(0) scale(.9);
  transform-origin: left center;
}

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

/* =========================================================
   12. 头部 · 悬浮胶囊浮岛
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px var(--gutter) 0;
  transition: padding .18s var(--ease);
}

.season-rail {
  display: block;
  width: 100%;
  max-width: var(--shell);
  height: 4px;
  margin: 0 auto 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg,
    var(--spring) 0 25%,
    var(--summer) 25% 50%,
    var(--autumn) 50% 75%,
    var(--winter) 75% 100%);
}

.header-island {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 9px 10px 9px 18px;
  background: var(--paper-glass);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-island);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: max-width .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.site-header[data-scrolled="true"] { padding-top: 8px; }

.site-header[data-scrolled="true"] .header-island {
  max-width: 1060px;
  background: var(--ink-glass);
  border-color: var(--line-invert);
  box-shadow: var(--shadow-lift);
}

/* 品牌 */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  width: 18px;
  height: 18px;
  flex: none;
  transform: skewX(-6deg);
}

.brand-mark i {
  display: block;
  border-radius: 2px;
  background: var(--muted);
}

.brand-mark i:nth-child(1) { background: var(--spring); }
.brand-mark i:nth-child(2) { background: var(--summer); }
.brand-mark i:nth-child(3) { background: var(--autumn); }
.brand-mark i:nth-child(4) { background: var(--winter); }

.brand-text { display: block; }

.brand-name {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.brand-tag {
  display: block;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .06em;
  color: var(--muted);
}

/* 导航 */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

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

.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease);
}

.nav-list a:hover { background: rgba(16, 24, 32, .07); }

.nav-list a[aria-current="page"] {
  background: rgba(16, 24, 32, .08);
  font-weight: 800;
}

.nav-list a[aria-current="page"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--summer);
  vertical-align: middle;
}

.nav-utility {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.util-link {
  padding: 6px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color .18s var(--ease);
}

.util-link:hover { color: var(--ink); }

/* 深墨态文字反转 */
.site-header[data-scrolled="true"] .brand { color: var(--paper); }
.site-header[data-scrolled="true"] .brand-name { color: var(--white); }
.site-header[data-scrolled="true"] .brand-tag { color: rgba(246, 241, 231, .6); }

.site-header[data-scrolled="true"] .nav-list a { color: rgba(246, 241, 231, .8); }
.site-header[data-scrolled="true"] .nav-list a:hover {
  color: var(--white);
  background: rgba(246, 241, 231, .12);
}
.site-header[data-scrolled="true"] .nav-list a[aria-current="page"] {
  color: var(--white);
  background: rgba(246, 241, 231, .16);
}

.site-header[data-scrolled="true"] .nav-utility { border-left-color: var(--line-invert); }
.site-header[data-scrolled="true"] .util-link { color: rgba(246, 241, 231, .68); }
.site-header[data-scrolled="true"] .util-link:hover { color: var(--white); }

/* 移动导航按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

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

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

.nav-toggle-bar::before { top: -5px; }
.nav-toggle-bar::after { top: 5px; }

.site-header[data-open="true"] .nav-toggle-bar { background: transparent; }
.site-header[data-open="true"] .nav-toggle-bar::before { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bar::after { transform: translateY(-5px) rotate(-45deg); }

.site-header[data-scrolled="true"] .nav-toggle {
  color: var(--paper);
  border-color: var(--line-invert);
}

.site-header[data-open="true"] .nav-toggle {
  background: rgba(16, 24, 32, .08);
}

/* ---------- 平板 / 手机导航 ---------- */
@media (max-width: 1024px) {
  .site-header { padding-inline: var(--gutter); }
  .season-rail { margin-bottom: 8px; }

  .header-island {
    padding: 8px 8px 8px 14px;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 5;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px;
    max-height: min(72vh, 560px);
    overflow-y: auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lift);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease);
  }

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

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

  .nav-list a {
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 16px;
    color: var(--ink);
  }

  .nav-utility {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 10px 0 0;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .util-link {
    padding: 6px 14px;
    font-size: 14px;
  }

  .nav-utility .btn { width: 100%; }

  /* 移动面板始终在暖纸上，强制恢复深墨文字 */
  .site-header[data-scrolled="true"] .nav-list a { color: var(--ink); }
  .site-header[data-scrolled="true"] .nav-list a:hover {
    color: var(--ink);
    background: rgba(16, 24, 32, .07);
  }
  .site-header[data-scrolled="true"] .nav-list a[aria-current="page"] {
    color: var(--ink);
    background: rgba(16, 24, 32, .08);
  }
  .site-header[data-scrolled="true"] .nav-utility { border-top-color: var(--line); }
  .site-header[data-scrolled="true"] .util-link { color: var(--muted); }
  .site-header[data-scrolled="true"] .util-link:hover { color: var(--ink); }
}

@media (max-width: 620px) {
  .brand-tag { display: none; }
  .nav-toggle-label { display: none; }
  .nav-toggle { padding: 9px 12px; }

  .anchor-nav {
    position: static;
    top: auto;
    margin-bottom: 20px;
  }

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

@media (max-width: 480px) {
  .date-track__item { min-width: 68px; padding: 9px 10px; }
}

/* =========================================================
   13. 页脚 · 深墨场地
   ========================================================= */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--ink);
  color: var(--paper);
}

.site-footer h2,
.site-footer h3 { color: var(--white); }

.footer-shell {
  padding: clamp(40px, 6vw, 76px) 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(260px, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4vw, 56px);
}

.site-footer .brand {
  color: var(--paper);
  margin-bottom: 16px;
}

.site-footer .brand-name { color: var(--white); }
.site-footer .brand-tag { color: rgba(246, 241, 231, .55); }

.footer-intro {
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(246, 241, 231, .72);
  margin-bottom: 18px;
}

.season-track {
  display: flex;
  gap: 6px;
  width: min(100%, 240px);
}

.season-track__seg {
  flex: 1;
  height: 6px;
  border-radius: var(--r-pill);
}

.season-track__seg--spring { background: var(--spring); }
.season-track__seg--summer { background: var(--summer); }
.season-track__seg--autumn { background: var(--autumn); }
.season-track__seg--winter { background: var(--winter); }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  color: rgba(246, 241, 231, .5);
}

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

.footer-links a {
  display: inline-block;
  font-size: 15px;
  color: rgba(246, 241, 231, .86);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  border-bottom-color: var(--summer);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px clamp(18px, 3vw, 36px);
  margin-top: clamp(30px, 4vw, 52px);
  padding-top: 26px;
  border-top: 1px solid var(--line-invert);
}

.contact-item { display: grid; gap: 6px; }

.contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(246, 241, 231, .48);
}

.contact-value {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246, 241, 231, .92);
  word-break: break-word;
}

.footer-note {
  max-width: 62ch;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(246, 241, 231, .55);
}

.footer-note--copy {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(246, 241, 231, .42);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-invert);
}

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

.legal-links a {
  font-size: 13px;
  color: rgba(246, 241, 231, .72);
  text-decoration: none;
  transition: color .18s var(--ease);
}

.legal-links a:hover { color: var(--white); }

.footer-icp {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: rgba(246, 241, 231, .5);
}

@media (max-width: 960px) {
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-contact { grid-template-columns: minmax(0, 1fr); }
  .footer-icp { margin-left: 0; }
}

/* ---------- 14. 动效偏好 ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  html.js [data-reveal],
  html.js [data-reveal="num"] {
    opacity: 1;
    transform: none;
  }

  .date-track__item:hover,
  .date-track__item.is-active,
  .date-track__item[aria-current="true"] { transform: none; }

  .filter-item.is-out { opacity: 1; transform: none; }
}
