/* ============================================================
   /assets/site.css — 华体会 · 赛季手账 全站共享样式
   1 reset  2 变量  3 中文排版  4 页头  5 页脚  6 通用组件
   7 响应式  8 焦点与动效降级
   ============================================================ */

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

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

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

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

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

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. 变量 ---------- */
:root {
  /* 品牌色 */
  --ink: #05192B;
  --sea: #0B2E4A;
  --sea-soft: #2F5168;
  --ocean: #14486E;
  --tide: #1F6F8B;
  --pitch: #2E8B57;
  --sprout: #57B98A;
  --orange: #F2A03D;
  --amber: #FFD48A;
  --paper: #F5F2EA;
  --paper-2: #FBFAF6;
  --paper-3: #EFEBE0;
  --mist: #D7DEE3;
  --slate: #6E848F;

  /* 结构 */
  --shadow: 0 1px 2px rgba(5, 25, 43, .28);
  --shadow-lift: 0 4px 10px rgba(5, 25, 43, .14);
  --radius: 3px;
  --dur: 220ms;
  --ease: cubic-bezier(.2, .7, .3, 1);
  --container: 1240px;
  --font-cn: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- 3. 中文排版与基础 ---------- */
body {
  font-family: var(--font-cn);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  color: var(--sea);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--sea);
}

p { max-width: 40em; }

a { color: var(--tide); }

strong, b { font-weight: 700; }

::selection {
  background: var(--amber);
  color: var(--ink);
}

.display-title {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -.025em;
}

.title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.18;
}

.subtitle {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  font-weight: 700;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  line-height: 1.6;
  color: var(--tide);
  margin-bottom: .75rem;
}

.lede {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--sea-soft);
  max-width: 38em;
}

.text-muted { color: var(--slate); }

.rule {
  height: 1px;
  border: 0;
  background: var(--mist);
  margin-block: 2rem;
}

.annotation {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .2em;
  font-weight: 500;
  color: var(--slate);
}

.annotation--rotated {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: .22em;
  padding-block: .5rem;
}

.figure {
  display: block;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--orange);
}

.figure--ink { color: var(--ink); }

.figure__unit {
  font-size: .45em;
  font-weight: 600;
  margin-left: .35em;
  color: var(--slate);
  letter-spacing: .02em;
}

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

/* ---------- 4. 页头 ---------- */
.site-header {
  position: relative;
  z-index: 50;
}

.skip-link {
  position: absolute;
  top: .75rem;
  left: 1rem;
  z-index: 200;
  transform: translateY(-220%);
  display: inline-block;
  padding: .55rem 1rem;
  border-radius: 2px;
  background: var(--amber);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

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

/* 品牌层 */
.masthead {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 1px solid rgba(215, 222, 227, .16);
}

.masthead__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  padding-block: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: var(--paper);
}

.brand__mark {
  position: relative;
  flex: none;
  width: 8px;
  height: 36px;
  background: var(--pitch);
  border-radius: 1px;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 8px;
  height: 10px;
  background: var(--orange);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.brand__wordmark {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.1;
  color: var(--paper);
}

.brand__tagline {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  color: rgba(245, 242, 234, .66);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  max-width: none;
  padding: .32rem .8rem;
  border: 1px solid rgba(87, 185, 138, .42);
  border-radius: 999px;
  background: rgba(46, 139, 87, .16);
  color: #BFE3CE;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: .04em;
  white-space: nowrap;
}

.status-chip__dot {
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sprout);
}

.return-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 212, 138, .45);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.return-link::after {
  content: "↗";
  font-size: .85em;
  line-height: 1;
}

.return-link:hover,
.return-link:focus-visible {
  color: var(--paper);
  border-color: rgba(245, 242, 234, .7);
}

/* 栏目层 */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper-3);
  border-bottom: 1px solid var(--mist);
  box-shadow: 0 1px 0 rgba(5, 25, 43, .06);
}

.nav-bar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  min-height: 58px;
}

.nav-bar__index {
  padding-right: 1rem;
  border-right: 1px solid var(--mist);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  padding: .45rem .7rem;
  border: 1px solid var(--mist);
  border-radius: 2px;
  background: var(--paper-2);
  color: var(--sea);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--tide); color: var(--tide); }

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: background-color var(--dur) var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease);
}

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

.nav-toggle__text { letter-spacing: .1em; }

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .15rem;
}

.nav-list__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: .6rem .85rem;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--sea);
  text-decoration: none;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-list__link:hover {
  color: var(--tide);
  background: rgba(31, 111, 139, .08);
}

.nav-list__link[aria-current="page"] {
  color: var(--sea);
  font-weight: 700;
  background: transparent;
}

.nav-list__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .85rem;
  bottom: .28rem;
  width: 22px;
  height: 2px;
  background: var(--pitch);
}

/* ---------- 5. 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(245, 242, 234, .86);
  border-top: 2px solid var(--pitch);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, 1.3fr);
  gap: 2.5rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.75rem, 3vw, 2.5rem);
}

.footer-brand__wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  color: var(--paper);
}

.footer-slogan {
  margin-top: .75rem;
  max-width: 22em;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(245, 242, 234, .82);
}

.footer-note {
  margin-top: .6rem;
  max-width: 26em;
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .04em;
  color: rgba(245, 242, 234, .55);
}

.footer-return {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.1rem;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 212, 138, .45);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-return::after {
  content: "↗";
  font-size: .85em;
  line-height: 1;
}

.footer-return:hover,
.footer-return:focus-visible {
  color: var(--paper);
  border-color: rgba(245, 242, 234, .7);
}

.footer-col__title {
  padding-bottom: .6rem;
  margin-bottom: .9rem;
  border-bottom: 1px solid rgba(215, 222, 227, .18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.6;
  color: var(--sprout);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: 14px;
  line-height: 1.6;
}

.footer-list a {
  color: rgba(245, 242, 234, .78);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-list--plain {
  gap: .6rem;
  color: rgba(245, 242, 234, .72);
}

.footer-list--plain li {
  display: grid;
  grid-template-columns: 2.8em minmax(0, 1fr);
  gap: .5rem;
  align-items: start;
}

.footer-label {
  padding-top: .15em;
  font-size: 12px;
  letter-spacing: .12em;
  color: rgba(245, 242, 234, .45);
}

.footer-col--contact .footer-note { margin-top: 0; margin-bottom: .9rem; }

.footer-meta {
  border-top: 1px solid rgba(215, 222, 227, .16);
  background: rgba(11, 46, 74, .55);
}

.footer-meta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-block: 1rem 1.15rem;
}

.footer-legal {
  max-width: none;
  font-size: 12.5px;
  letter-spacing: .03em;
  color: rgba(245, 242, 234, .6);
  font-variant-numeric: tabular-nums;
}

.footer-legal__list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.25rem;
  font-size: 13px;
}

.footer-legal__list a {
  padding-bottom: 1px;
  color: rgba(245, 242, 234, .78);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 242, 234, .25);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-legal__list a:hover,
.footer-legal__list a:focus-visible {
  color: var(--amber);
  border-color: var(--amber);
}

/* ---------- 6. 通用容器与组件 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.section { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section--tight { padding-block: clamp(1.5rem, 3.5vw, 2.5rem); }
.section--wide { padding-block: clamp(3.5rem, 9vw, 7rem); }

.section--band { background: var(--paper-3); }

.section--ink {
  background: var(--ink);
  color: rgba(245, 242, 234, .86);
}

.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: var(--paper); }

.section--ink .lede { color: rgba(245, 242, 234, .8); }
.section--ink .eyebrow { color: var(--sprout); }
.section--ink .annotation { color: rgba(245, 242, 234, .6); }
.section--ink .rule { background: rgba(215, 222, 227, .2); }

/* 手账装订线 */
@media (min-width: 900px) {
  .spine {
    position: relative;
    padding-inline-start: clamp(1.25rem, 3vw, 2.5rem);
  }

  .spine::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: 0;
    width: 1px;
    background: var(--mist);
  }

  .section--ink .spine::before { background: rgba(215, 222, 227, .22); }
}

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.grid--split,
.grid--2,
.grid--3 { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 820px) {
  .grid--split { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .68rem 1.25rem;
  border: 1px solid var(--sea);
  border-radius: 2px;
  background: transparent;
  color: var(--sea);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}

.btn:hover { background: var(--sea); color: var(--paper); }
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--sea);
  color: var(--paper);
}

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

.btn--accent {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.btn--accent:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
}

.btn--ghost {
  border-color: var(--mist);
  color: var(--sea);
}

.btn--ghost:hover {
  background: rgba(31, 111, 139, .07);
  border-color: var(--tide);
  color: var(--tide);
}

/* 面包屑 */
.breadcrumb { padding-block: 1.15rem; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--slate);
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

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

.breadcrumb a {
  color: var(--tide);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* 卡片 */
.card {
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow);
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.card:hover {
  border-color: var(--tide);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.card--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card--link:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.card__meta {
  font-size: 12px;
  letter-spacing: .16em;
  line-height: 1.6;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.card__title {
  margin-top: .4rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sea);
}

.card__text {
  margin-top: .4rem;
  font-size: 14px;
  line-height: 1.7;
  color: var(--slate);
}

/* 状态面板 */
.panel {
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border-radius: var(--radius);
  border-left: 2px solid var(--pitch);
  background: var(--ink);
  color: rgba(245, 242, 234, .85);
  box-shadow: var(--shadow);
}

.panel__title {
  margin-bottom: .75rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.6;
  color: var(--sprout);
}

.panel__rows {
  display: grid;
  gap: .5rem;
  font-size: 14px;
  line-height: 1.6;
}

.panel__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(215, 222, 227, .14);
}

.panel__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel__value {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--amber);
}

/* 图片容器（页面阶段放入 img，页头页脚不使用） */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--ocean);
  box-shadow: var(--shadow);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
  transition: transform var(--dur) var(--ease);
}

.media--slant { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5rem), 0 100%); }
.media--tall { aspect-ratio: 3 / 4; }
.media--wide { aspect-ratio: 21 / 9; }

.media__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: .6rem .8rem;
  font-size: 12px;
  letter-spacing: .14em;
  line-height: 1.6;
  color: var(--paper);
  background: linear-gradient(to top, rgba(5, 25, 43, .82), rgba(5, 25, 43, 0));
}

/* 标签 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .18rem .55rem;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .08em;
  font-variant-numeric: tabular-nums;
}

.tag--days { background: var(--sprout); color: var(--ink); }
.tag--fee { background: var(--amber); color: var(--ink); }

.tag--batch {
  border: 1px solid var(--tide);
  background: transparent;
  color: var(--tide);
}

.tag--live {
  border: 1px solid rgba(46, 139, 87, .4);
  background: rgba(46, 139, 87, .14);
  color: var(--pitch);
}

/* 竖排索引 */
.rail {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding-left: .9rem;
  border-left: 1px solid var(--mist);
}

.rail__title {
  margin-bottom: .4rem;
  font-size: 12px;
  letter-spacing: .2em;
  line-height: 1.6;
  color: var(--slate);
}

.rail__link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--sea-soft);
  text-decoration: none;
  border-radius: 2px;
  transition: color var(--dur) var(--ease);
}

.rail__link:hover { color: var(--tide); }

.rail__link[aria-pressed="true"],
.rail__link[aria-current="true"] {
  color: var(--sea);
  font-weight: 700;
}

.rail__link[aria-pressed="true"]::before,
.rail__link[aria-current="true"]::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  background: var(--pitch);
}

/* 时间轴基线 */
.timeline {
  position: relative;
  padding-left: 1.25rem;
  border-left: 1px solid var(--mist);
}

.timeline__item {
  position: relative;
  padding: 0 0 1.25rem .25rem;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: .55rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sprout);
  border: 1px solid var(--paper);
}

.timeline__item:last-child { padding-bottom: 0; }

.timeline__date {
  font-size: 12px;
  letter-spacing: .16em;
  line-height: 1.6;
  color: var(--slate);
  font-variant-numeric: tabular-nums;
}

.section--ink .rail { border-left-color: rgba(215, 222, 227, .22); }
.section--ink .rail__link { color: rgba(245, 242, 234, .78); }
.section--ink .rail__link:hover { color: var(--sprout); }
.section--ink .timeline { border-left-color: rgba(215, 222, 227, .22); }
.section--ink .timeline__item::before { border-color: var(--ink); }

/* 滚动进度条（由 site.js 插入） */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  z-index: 60;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
  transition: transform 80ms linear;
}

/* ---------- 7. 响应式 ---------- */
@media (max-width: 899px) {
  .masthead__inner { padding-block: .85rem; }

  .nav-bar__inner {
    min-height: 0;
    padding-block: .55rem;
    gap: .5rem;
  }

  .nav-bar__index { display: none; }

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

  .nav-list {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-top: .55rem;
    padding-top: .35rem;
    border-top: 1px solid var(--mist);
  }

  .nav-bar[data-open] .nav-list { display: flex; }

  .nav-bar[data-open] .nav-toggle__bars { background: transparent; }
  .nav-bar[data-open] .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-bar[data-open] .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

  .nav-list__link {
    width: 100%;
    padding: .7rem .6rem;
    border-bottom: 1px solid rgba(215, 222, 227, .7);
    border-radius: 0;
    font-size: 16px;
  }

  .nav-list li:last-child .nav-list__link { border-bottom: 0; }

  .nav-list__link[aria-current="page"] { background: rgba(46, 139, 87, .1); }

  .nav-list__link[aria-current="page"]::after {
    left: 0;
    right: auto;
    top: .85rem;
    bottom: .85rem;
    width: 3px;
    height: auto;
  }

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

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .return-link { margin-left: 0; }

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

  .footer-meta__inner { justify-content: flex-start; }

  .footer-legal { font-size: 12px; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* ---------- 8. 焦点与动效降级 ---------- */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible,
.card--link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .card:hover { transform: none; }
}
