/* ==========================================================================
   江南体育 · 共享 Site Kit 样式表
   路径：/assets/site.css
   负责：重置 / 变量 / 中文排版 / 头部 / 页脚 / 通用组件 / 响应式
   ========================================================================== */

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

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

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

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

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

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

a { color: inherit; }

/* ---------- 2. 设计变量 ---------- */
:root {
  /* 矿物色体系 */
  --deep-blue: #0B2230;
  --deep-teal: #174C4A;
  --river: #3E8E82;
  --mist: #A9C9BF;
  --stone: #7D8580;
  --moss: #6F7F52;
  --clay: #B86A4B;
  --ember: #C94A24;
  --rice: #F4F0E6;
  --paper: #FBFAF7;
  --haze: #DCE6E2;
  --ink: #131C1B;

  /* 字体 */
  --font-display: "Barlow Condensed", "Arial Narrow", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto 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, monospace;

  /* 尺寸与节奏 */
  --rail-w: 84px;
  --content-max: 1200px;
  --gutter: 24px;
  --hairline: 1px solid rgba(11, 34, 48, 0.13);
  --hairline-light: 1px solid rgba(169, 201, 191, 0.22);
  --shadow-card: 0 22px 48px -34px rgba(11, 34, 48, 0.62);
  --ease: 180ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 3. 中文排版基线 ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--rice);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--deep-blue);
}

@media (min-width: 64rem) {
  body { padding-left: var(--rail-w); }
}

/* 焦点可见 */
:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 1px;
}

/* ---------- 4. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 200;
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--rice);
  background: var(--deep-blue);
  text-decoration: none;
  border-radius: 1px 10px 1px 10px;
  transform: translateY(-220%);
  transition: transform var(--ease);
}

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

/* ---------- 5. 头部：侧边品牌轨道 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(244, 240, 230, 0.97);
  border-bottom: 1px solid rgba(11, 34, 48, 0.12);
  color: var(--ink);
}

.brand-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: var(--rail-w);
  padding: 24px 0 20px;
  background: linear-gradient(180deg, #0B2230 0%, #10323b 54%, #174C4A 100%);
  border-right: 1px solid rgba(169, 201, 191, 0.18);
  color: var(--rice);
}

.rail-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--rice);
}

.rail-brand__mark {
  writing-mode: vertical-rl;
  padding: 12px 7px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--rice);
  background: rgba(62, 142, 130, 0.2);
  border: 1px solid rgba(169, 201, 191, 0.38);
  border-radius: 2px 10px 2px 10px;
  transition: background-color var(--ease), border-color var(--ease);
}

.rail-brand:hover .rail-brand__mark {
  background: rgba(201, 74, 36, 0.28);
  border-color: rgba(201, 74, 36, 0.7);
}

.rail-brand__text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(169, 201, 191, 0.82);
}

.rail-progress {
  position: relative;
  flex: 1 1 auto;
  align-self: center;
  width: 2px;
  margin: 24px 0 18px;
  background: rgba(169, 201, 191, 0.22);
  overflow: hidden;
}

.rail-progress__bar {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, var(--ember) 0%, var(--river) 100%);
}

.rail-meta {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(169, 201, 191, 0.62);
}

/* ---------- 6. 头部：上层信息带 ---------- */
.header-shell {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.header-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-height: 64px;
  padding: 7px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(11, 34, 48, 0.1);
  transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease;
}

.header-signature {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--stone);
}

.header-signature__name {
  position: relative;
  flex: 0 0 auto;
  padding-right: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--deep-blue);
}

.header-signature__name::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 2px;
  height: 11px;
  background: var(--ember);
  transform: translateY(-50%);
}

.header-signature__note {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.utility-list {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
}

.utility-list__item { display: block; }

.utility-link {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--deep-teal);
  text-decoration: none;
  border-radius: 1px 8px 1px 8px;
  transition: background-color var(--ease), color var(--ease);
}

.utility-link:hover {
  background: var(--haze);
  color: var(--deep-blue);
}

/* ---------- 7. 头部：主行与主导航 ---------- */
.header-main {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 62px;
  padding: 8px 0;
}

.header-brand {
  display: none;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  margin-right: auto;
  text-decoration: none;
}

.header-brand__mark {
  display: inline-block;
  padding: 4px 9px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.14em;
  color: var(--rice);
  background: var(--deep-blue);
  border-radius: 1px 7px 1px 7px;
}

.header-brand__name {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--deep-teal);
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  counter-reset: nav-counter;
}

.site-nav__item {
  counter-increment: nav-counter;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--deep-blue);
  text-decoration: none;
  transition: color var(--ease);
}

.site-nav__link::before {
  content: counter(nav-counter, decimal-leading-zero);
  margin-right: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(125, 133, 128, 0.9);
  vertical-align: 0.55em;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--ease);
}

.site-nav__link:hover { color: var(--deep-teal); }

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after,
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--deep-teal);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* ---------- 8. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 17px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 1px 9px 1px 9px;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease);
}

.btn--solid {
  color: var(--rice);
  background: var(--deep-blue);
}

.btn--solid:hover {
  background: var(--deep-teal);
}

.btn--ghost {
  color: var(--deep-blue);
  background: transparent;
  border-color: rgba(11, 34, 48, 0.34);
}

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

.btn--accent {
  color: var(--paper);
  background: var(--ember);
}

.btn--accent:hover {
  background: #a83a19;
}

/* ---------- 9. 移动端导航按钮与抽屉 ---------- */
.nav-toggle {
  position: relative;
  z-index: 95;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--deep-blue);
  background: transparent;
  border: 1px solid rgba(11, 34, 48, 0.26);
  border-radius: 1px 9px 1px 9px;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease), background-color var(--ease);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 11px;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--ease), opacity var(--ease);
}

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

.nav-toggle[data-open="true"] {
  color: var(--paper);
  border-color: rgba(244, 240, 230, 0.42);
  background: rgba(11, 34, 48, 0.16);
}

.nav-toggle[data-open="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle[data-open="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[data-open="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* 小屏常驻查赛程 */
.dock-query {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: var(--ember);
  text-decoration: none;
  border-radius: 1px 12px 1px 12px;
  box-shadow: 0 16px 30px -18px rgba(11, 34, 48, 0.85);
}

.dock-query:hover { background: #a83a19; }

/* ---------- 10. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: 88px;
  padding: 60px 0 28px;
  font-size: 14px;
  color: rgba(244, 240, 230, 0.82);
  background:
    radial-gradient(120% 90% at 6% 0%, rgba(62, 142, 130, 0.3), transparent 58%),
    linear-gradient(165deg, #0B2230 0%, #102f38 46%, #174C4A 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--ember) 0 10%,
    var(--clay) 10% 17%,
    var(--river) 17% 54%,
    var(--mist) 54% 71%,
    rgba(169, 201, 191, 0.2) 71% 100%
  );
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

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

.footer-col__title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mist);
  border-bottom: 1px solid rgba(169, 201, 191, 0.2);
}

.footer-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  text-decoration: none;
  color: var(--paper);
}

.footer-brand__mark {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
}

.footer-brand__name {
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--mist);
}

.footer-brand__note {
  max-width: 32ch;
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.75;
  color: rgba(244, 240, 230, 0.64);
}

.footer-icp {
  display: inline-block;
  margin-top: 18px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: rgba(169, 201, 191, 0.85);
  border: 1px solid rgba(169, 201, 191, 0.26);
  border-radius: 1px 8px 1px 8px;
}

.footer-list__item + .footer-list__item { margin-top: 10px; }

.footer-link {
  position: relative;
  display: inline-block;
  padding-left: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(244, 240, 230, 0.86);
  text-decoration: none;
  transition: color var(--ease), padding-left var(--ease);
}

.footer-link::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--river);
  transition: width var(--ease), background-color var(--ease);
}

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

.footer-link:hover::before {
  width: 10px;
  background: var(--ember);
}

.footer-contact__line {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 13.5px;
  line-height: 1.6;
}

.footer-contact__line + .footer-contact__line { margin-top: 10px; }

.footer-contact__label {
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(169, 201, 191, 0.7);
}

.footer-contact__value {
  color: rgba(244, 240, 230, 0.9);
  overflow-wrap: anywhere;
}

.footer-contact__note {
  margin-top: 16px;
  padding: 10px 13px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(244, 240, 230, 0.6);
  background: rgba(11, 34, 48, 0.3);
  border-left: 2px solid rgba(201, 74, 36, 0.78);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 26px;
  margin-top: 46px;
  padding-top: 18px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(244, 240, 230, 0.56);
  border-top: 1px solid rgba(169, 201, 191, 0.18);
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.footer-bottom__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.footer-bottom__link {
  color: rgba(244, 240, 230, 0.7);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.footer-bottom__link:hover {
  color: var(--paper);
  border-bottom-color: var(--ember);
}

/* ---------- 11. 头部滚动收缩 ---------- */
.site-header[data-scrolled="true"] .header-topbar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom-color: transparent;
}

.site-header[data-scrolled="true"] .header-main {
  min-height: 56px;
}

/* ---------- 12. 通用容器与正文 ---------- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.prose {
  max-width: 68ch;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
}

.prose > * + * { margin-top: 1.1em; }

.prose h2 {
  margin-top: 2em;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.14;
  color: var(--deep-teal);
}

.prose h3 {
  margin-top: 1.7em;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-blue);
}

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

.prose ul,
.prose ol { padding-left: 1.3em; }

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.4em; }

.prose blockquote {
  padding-left: 16px;
  color: var(--deep-teal);
  border-left: 2px solid var(--ember);
}

.kit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.stack > * + * { margin-top: var(--stack-gap, 16px); }

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

/* ---------- 13. 面包屑 ---------- */
.breadcrumbs {
  padding: 20px 0;
  font-size: 12px;
  letter-spacing: 0.04em;
}

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

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--stone);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(125, 133, 128, 0.55);
}

.breadcrumbs__link {
  color: var(--deep-teal);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--ease), color var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--deep-blue);
  border-bottom-color: var(--ember);
}

.breadcrumbs__current {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- 14. 展签与标签 ---------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px 4px 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep-teal);
  background: rgba(169, 201, 191, 0.2);
  border: 1px solid rgba(23, 76, 74, 0.24);
  border-radius: 1px 8px 1px 8px;
}

.section-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ember);
  border-radius: 50%;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--deep-blue);
  background: var(--haze);
  border-radius: 1px 7px 1px 7px;
}

.tag--moss {
  color: #47522f;
  background: rgba(111, 127, 82, 0.2);
}

.tag--clay {
  color: #7c4026;
  background: rgba(184, 106, 75, 0.2);
}

.tag--river {
  color: #1f5c55;
  background: rgba(62, 142, 130, 0.2);
}

/* ---------- 15. 斜切信息卡 ---------- */
.kit-card {
  position: relative;
  padding: 22px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(11, 34, 48, 0.12), var(--shadow-card);
  clip-path: polygon(
    0 0,
    calc(100% - 14px) 0,
    100% 14px,
    100% 100%,
    14px 100%,
    0 calc(100% - 14px)
  );
  transition: clip-path 200ms ease, box-shadow 200ms ease;
}

.kit-card:hover {
  box-shadow: inset 0 0 0 1px rgba(11, 34, 48, 0.3), var(--shadow-card);
  clip-path: polygon(
    0 0,
    calc(100% - 17px) 0,
    100% 17px,
    100% 100%,
    17px 100%,
    0 calc(100% - 17px)
  );
}

/* ---------- 16. 图像容器 ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: var(--media-ratio, 16 / 9);
  background: var(--haze);
  border-radius: 2px 14px 2px 2px;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.media-frame--wide { --media-ratio: 21 / 9; }
.media-frame--tall { --media-ratio: 3 / 4; }
.media-frame--square { --media-ratio: 1 / 1; }

.media-frame__caption {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--stone);
}

/* ---------- 17. 响应式 ---------- */
@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

@media (min-width: 64rem) {
  .brand-rail { display: flex; }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
    gap: 44px 36px;
  }

  .footer-col--brand { padding-right: 12px; }

  .dock-query { display: none; }
}

@media (max-width: 63.9375rem) {
  .header-actions { display: none; }

  .header-brand { display: inline-flex; }

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

  .header-main {
    gap: 12px;
    min-height: 58px;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: min(86vw, 360px);
    margin: 0;
    padding: 92px 26px 40px;
    overflow-y: auto;
    background: linear-gradient(180deg, #0B2230 0%, #174C4A 100%);
    box-shadow: -30px 0 60px -40px rgba(11, 34, 48, 0.9);
    visibility: hidden;
    transform: translateX(101%);
    transition: transform 240ms cubic-bezier(0.2, 0.7, 0.3, 1), visibility 240ms;
  }

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

  .site-nav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }

  .site-nav__item + .site-nav__item {
    border-top: 1px solid rgba(169, 201, 191, 0.16);
  }

  .site-nav__link {
    display: block;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(244, 240, 230, 0.9);
  }

  .site-nav__link::before {
    font-size: 10px;
    color: rgba(169, 201, 191, 0.72);
    vertical-align: 0.5em;
  }

  .site-nav__link::after {
    left: 4px;
    right: auto;
    bottom: 10px;
    width: 26px;
  }

  .site-nav__link:hover { color: var(--paper); }

  .site-nav__link[aria-current="page"] {
    color: var(--paper);
  }

  .site-nav__link[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .header-signature__note { display: none; }

  .utility-link {
    padding: 4px 7px;
    font-size: 11.5px;
  }
}

@media (max-width: 30rem) {
  :root { --gutter: 16px; }

  .header-topbar { gap: 10px; }

  .header-signature { font-size: 11px; }

  .utility-list { gap: 0; }

  .utility-link {
    padding: 4px 5px;
    letter-spacing: 0.02em;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- 18. 动效降级 ---------- */
@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;
    scroll-behavior: auto !important;
  }

  .site-nav {
    transition: none !important;
  }
}
