/* ==========================================================================
   江南体育 · 共享样式 /assets/site.css
   结构：1 reset · 2 变量 · 3 中文排版 · 4 通用布局 · 5 基础组件
        6 头部 · 7 页脚 · 8 响应式 · 9 动效降级
   ========================================================================== */

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

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

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

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

a { color: inherit; text-decoration: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

hr { border: 0; }

/* 2 变量 ---------------------------------------------------------------- */
:root {
  /* 色彩 */
  --ink: #0C332C;
  --ink-deep: #131F1C;
  --water: #1F8F80;
  --water-soft: #8FD0C4;
  --grass: #4C9A2A;
  --grass-light: #A8D672;
  --red: #D2372C;
  --yellow: #F2B233;
  --paper: #F7F4EC;
  --paper-2: #EFEBDF;
  --moss: #4A625B;

  --line: rgba(12, 51, 44, 0.16);
  --line-soft: rgba(12, 51, 44, 0.09);
  --on-ink: rgba(247, 244, 236, 0.72);
  --on-ink-dim: rgba(247, 244, 236, 0.52);

  /* 版式 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs: 12px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-md: 20px;
  --fs-lg: 26px;
  --fs-xl: 34px;
  --fs-2xl: 48px;
  --fs-3xl: 68px;

  /* 间距与容器 */
  --shell: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --gap: clamp(16px, 2.4vw, 28px);
  --section-y: clamp(36px, 6vw, 76px);

  /* 纸张叠层 */
  --layer-shadow: 4px 4px 0 rgba(12, 51, 44, 0.08), 1px 1px 0 rgba(12, 51, 44, 0.05);
}

/* 3 中文排版 ------------------------------------------------------------ */
body {
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgba(143, 208, 196, 0.26), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(168, 214, 114, 0.14), transparent 64%);
  background-repeat: no-repeat;
  color: var(--ink-deep);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(34px, 5.4vw, var(--fs-3xl));
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--ink-deep);
  text-wrap: balance;
}

h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--ink-deep);
  text-wrap: balance;
}

h2 { font-size: clamp(22px, 3vw, var(--fs-xl)); }
h3 { font-size: clamp(18px, 2.2vw, var(--fs-md)); }
h4 { font-size: var(--fs-base); }

p { max-width: 38em; }

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

::selection {
  background: var(--water-soft);
  color: var(--ink-deep);
}

#main-content { scroll-margin-top: 20px; }
#main-content:focus { outline: none; }

/* 4 通用布局 ------------------------------------------------------------ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 24px;
  margin-bottom: clamp(18px, 2.6vw, 30px);
}

.section-head__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--moss);
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}

.grid {
  display: grid;
  gap: var(--gap);
}

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

.rule {
  height: 1px;
  margin-block: clamp(24px, 4vw, 44px);
  background: var(--line);
  border: 0;
}

/* 5 基础组件 ------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--water);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.lede {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.82;
  color: var(--moss);
  max-width: 34em;
}

.prose { max-width: 34em; }

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

.prose h2 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  font-size: clamp(21px, 2.4vw, 28px);
}

.prose h3 {
  margin-top: 1.7em;
  margin-bottom: 0.4em;
  font-size: var(--fs-md);
}

.prose ul, .prose ol {
  list-style: disc;
  padding-left: 1.25em;
}

.prose ol { list-style: decimal; }

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

.prose a {
  color: var(--water);
  border-bottom: 1px solid currentColor;
}

.prose blockquote {
  padding: 12px 18px;
  border-left: 3px solid var(--water-soft);
  background: rgba(143, 208, 196, 0.14);
  color: var(--moss);
}

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

.num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.btn {
  --btn-bg: var(--water);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--ink-deep);
  box-shadow: 4px 4px 0 rgba(12, 51, 44, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(12, 51, 44, 0.28);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgba(12, 51, 44, 0.28);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--water);
  box-shadow: none;
}

.btn--ghost:hover {
  --btn-bg: rgba(143, 208, 196, 0.3);
  box-shadow: none;
  transform: none;
}

.btn--accent {
  --btn-bg: var(--yellow);
  --btn-fg: var(--ink-deep);
}

.btn--grass {
  --btn-bg: var(--grass);
  --btn-fg: #ffffff;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--moss);
}

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

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--water-soft);
}

.breadcrumb a {
  color: var(--water);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible { border-bottom-color: currentColor; }

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

.paper-card {
  position: relative;
  padding: clamp(16px, 2vw, 24px);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--layer-shadow);
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

.paper-card:hover {
  border-color: var(--water);
  box-shadow: 5px 5px 0 rgba(31, 143, 128, 0.16), 1px 1px 0 rgba(12, 51, 44, 0.06);
}

.paper-card--tint {
  background:
    linear-gradient(180deg, rgba(143, 208, 196, 0.24), rgba(247, 244, 236, 0.94) 70%),
    var(--paper);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  border: 1px solid currentColor;
  border-radius: 2px;
  white-space: nowrap;
}

.tag--water {
  color: var(--water);
  background: rgba(31, 143, 128, 0.14);
  border-color: rgba(31, 143, 128, 0.5);
}

.tag--yellow {
  color: var(--ink-deep);
  background: var(--yellow);
  border-color: var(--yellow);
}

.tag--grass {
  color: var(--ink-deep);
  background: var(--grass-light);
  border-color: var(--grass-light);
}

.tag--red {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}

.view-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(143, 208, 196, 0.16);
}

.view-switch__btn {
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--moss);
  border-inline-start: 1px solid var(--line);
  transition: background 0.18s ease, color 0.18s ease;
}

.view-switch__btn:first-child { border-inline-start: 0; }

.view-switch__btn:hover { background: rgba(31, 143, 128, 0.16); }

.view-switch__btn[aria-pressed="true"] {
  background: var(--water);
  color: var(--paper);
}

/* 图片容器基础（页面阶段放置图片占位） */
.figure {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    linear-gradient(162deg, rgba(143, 208, 196, 0.55), rgba(76, 154, 42, 0.24) 56%, rgba(242, 178, 51, 0.18)),
    var(--paper-2);
  border: 1px solid var(--line);
}

.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(1.5deg, rgba(12, 51, 44, 0.13) 0 1px, transparent 1px 54px),
    repeating-linear-gradient(91.5deg, rgba(12, 51, 44, 0.09) 0 1px, transparent 1px 74px);
  pointer-events: none;
}

.figure > img,
.figure > picture > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.figure--wide { aspect-ratio: 21 / 9; }
.figure--tall { aspect-ratio: 4 / 5; }
.figure--square { aspect-ratio: 1 / 1; }

.figure__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--moss);
}

/* 6 头部 ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -120px;
  left: var(--gutter);
  z-index: 60;
  padding: 10px 18px;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink-deep);
  background: var(--yellow);
  border: 1px solid var(--ink-deep);
  border-radius: 2px;
  transition: top 0.18s ease;
}

.skip-link:focus { top: 10px; outline: 2px solid var(--paper); outline-offset: 2px; }

.site-header {
  position: relative;
  z-index: 20;
  isolation: isolate;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(31, 143, 128, 0.45);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(105deg, rgba(143, 208, 196, 0.1) 0 1px, transparent 1px 88px),
    radial-gradient(120% 150% at 10% -20%, rgba(31, 143, 128, 0.55), transparent 62%),
    radial-gradient(90% 130% at 94% 130%, rgba(76, 154, 42, 0.35), transparent 62%);
}

.header-top { border-bottom: 1px solid rgba(143, 208, 196, 0.22); }

.header-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  min-height: 84px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--paper);
  background: linear-gradient(150deg, var(--water), var(--grass));
  border: 1px solid rgba(247, 244, 236, 0.5);
  box-shadow: 3px 3px 0 rgba(143, 208, 196, 0.35);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: var(--paper);
}

.brand__line {
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(143, 208, 196, 0.92);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.header-meta .tag--water {
  color: var(--water-soft);
  background: rgba(31, 143, 128, 0.2);
  border-color: rgba(143, 208, 196, 0.55);
}

.header-meta__note {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--on-ink);
}

.site-nav {
  position: relative;
  background: rgba(6, 30, 25, 0.55);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav__list {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.site-nav__list::-webkit-scrollbar { display: none; }

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 16px 2px 15px;
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  color: var(--on-ink);
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9px;
  height: 3px;
  background: var(--water-soft);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s cubic-bezier(0.22, 0.75, 0.25, 1), background 0.2s ease;
}

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

.site-nav__link:hover::after,
.site-nav__link:focus-visible::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
}

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

.nav-cta {
  flex: none;
  display: inline-block;
  padding: 9px 18px;
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink-deep);
  background: var(--yellow);
  border: 1px solid var(--ink-deep);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.38);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.nav-cta:hover {
  background: var(--grass-light);
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.42);
}

.nav-cta:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.42);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  order: 0;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--paper);
  background: rgba(31, 143, 128, 0.18);
  border: 1px solid rgba(143, 208, 196, 0.5);
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.site-nav[data-open] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-nav[data-open] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.site-nav[data-open] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 7 页脚 ---------------------------------------------------------------- */
.site-footer {
  position: relative;
  isolation: isolate;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  background: var(--ink);
  color: var(--on-ink);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(1.5deg, rgba(143, 208, 196, 0.09) 0 1px, transparent 1px 64px),
    radial-gradient(120% 130% at 86% -12%, rgba(31, 143, 128, 0.45), transparent 62%),
    radial-gradient(80% 100% at 0% 116%, rgba(76, 154, 42, 0.3), transparent 64%);
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--water) 0 30%,
    var(--water-soft) 30% 46%,
    var(--grass-light) 46% 68%,
    var(--yellow) 68% 80%,
    var(--red) 80% 88%,
    var(--grass) 88% 100%
  );
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 2.6fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(38px, 5vw, 66px) clamp(24px, 4vw, 46px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.brand--footer .brand__mark { box-shadow: 3px 3px 0 rgba(143, 208, 196, 0.28); }

.footer-brand__note {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.75;
  color: rgba(247, 244, 236, 0.88);
  max-width: 20em;
}

.footer-brand__meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: rgba(143, 208, 196, 0.85);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
}

.footer-col__title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--water-soft);
  border-bottom: 1px solid rgba(143, 208, 196, 0.3);
}

.footer-list li + li { margin-top: 8px; }

.footer-list a {
  display: inline-block;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--paper);
  border-bottom-color: var(--water);
}

.footer-text {
  display: block;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--on-ink-dim);
  overflow-wrap: anywhere;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.24);
  border-top: 1px solid rgba(143, 208, 196, 0.22);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 28px;
  padding-block: 16px;
  font-size: 12.5px;
  color: var(--on-ink-dim);
}

.footer-bottom__icp {
  max-width: none;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: rgba(247, 244, 236, 0.62);
}

.footer-bottom__note {
  max-width: 56ch;
  color: rgba(247, 244, 236, 0.48);
}

/* 滚动进度线（由 JS 注入 .read-progress） */
.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--water), var(--grass-light) 58%, var(--yellow));
  pointer-events: none;
  transition: transform 0.12s linear;
  will-change: transform;
}

/* 8 响应式 -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .site-nav__inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-block: 10px;
  }

  .nav-cta {
    order: 1;
    margin-left: auto;
  }

  .site-nav__list {
    order: 2;
    display: none;
    width: 100%;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: 4px;
    padding-top: 6px;
    overflow: visible;
    border-top: 1px solid rgba(143, 208, 196, 0.22);
  }

  .site-nav[data-open] .site-nav__list { display: flex; }

  .site-nav__link {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(143, 208, 196, 0.12);
  }

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

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

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

@media (max-width: 720px) {
  .header-top__inner {
    flex-wrap: wrap;
    gap: 12px;
    min-height: 0;
    padding-block: 16px;
  }

  .header-meta { width: 100%; justify-content: flex-start; gap: 10px; }

  .brand__mark { width: 40px; height: 40px; font-size: 20px; }
  .brand__name { font-size: 18px; }
  .brand__line { font-size: 12px; }
}

@media (max-width: 620px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: minmax(0, 1fr); }

  .footer-cols { grid-template-columns: minmax(0, 1fr); }
  .footer-bottom__inner { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .nav-cta { padding: 8px 12px; font-size: 13px; }
  .nav-toggle { padding: 8px 10px; }
  .header-meta__note { display: none; }
}

/* 9 焦点与动效降级 ------------------------------------------------------ */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 3px;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--yellow);
}

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

  .btn:hover,
  .btn:active,
  .nav-cta:hover,
  .nav-cta:active { transform: none; }

  .read-progress { transition: none; }
}
