/* ============================================================
   YD赛场 · 共享站点外壳
   /assets/site.css
   ============================================================ */

/* ---------- 1. 变量 ---------- */
:root {
  --ink: #061A13;
  --ink-2: #0C2A1F;
  --ink-3: #143A2B;
  --paper: #F3F6EA;
  --paper-dim: #D6DFD0;
  --mist: #A9BFAE;
  --lime: #C9FF3D;
  --lime-deep: #93C42A;
  --orange: #FF7A2F;
  --ice: #7FD8FF;
  --press: #04100B;

  --line: rgba(169, 191, 174, 0.26);
  --line-soft: rgba(169, 191, 174, 0.14);
  --line-strong: rgba(201, 255, 61, 0.34);
  --scrim: rgba(4, 16, 11, 0.68);

  --header-h: 68px;
  --radius: 3px;
  --shadow-stack: 5px 5px 0 0 rgba(169, 191, 174, 0.16);

  --font-serif: "Source Han Serif SC", "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { 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, video { display: block; max-width: 100%; height: auto; }
main { display: block; }
strong, b { font-weight: 700; }
hr { border: 0; }

::selection { background: var(--lime); color: var(--press); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 3. 排版基座 ---------- */
h1, .h1 {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2, .h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h3, .h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.24;
}

p { line-height: 1.65; }

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

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 1.6em;
  line-height: 1;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
}

.label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

.visually-hidden {
  position: absolute !important;
  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;
}

/* ---------- 4. 容器与网格 ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.container--narrow { max-width: 760px; }

.grid {
  display: grid;
  gap: clamp(12px, 1.6vw, 20px);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.section { padding-block: clamp(40px, 6vw, 72px); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 20px;
  padding-bottom: 14px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border-bottom: 1px dashed var(--line);
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section__intro {
  max-width: 52ch;
  color: var(--mist);
  font-size: 0.92rem;
}

.divider {
  height: 1px;
  margin-block: clamp(24px, 4vw, 40px);
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.62rem 1.05rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--lime);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease,
              transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--press);
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 var(--press);
}

.btn--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--press);
}

.btn--lime:hover {
  background: var(--lime-deep);
  border-color: var(--lime-deep);
  color: var(--press);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--paper);
}

.btn--ghost:hover {
  background: rgba(201, 255, 61, 0.12);
  border-color: var(--lime);
  color: var(--lime);
}

.btn--orange {
  border-color: rgba(255, 122, 47, 0.5);
  color: var(--orange);
}

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

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

.btn--paper:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--press);
}

/* ---------- 6. 通用组件 ---------- */
.paper-card {
  position: relative;
  padding: clamp(16px, 2.4vw, 24px);
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-stack);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.paper-card:hover,
.paper-card:focus-within {
  border-color: var(--line-strong);
  transform: translate(-1px, -2px);
}

.paper-card--paper {
  background: var(--paper);
  border-color: var(--press);
  color: var(--ink-2);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.18rem 0.6rem;
  border: 1px solid var(--line-strong);
  background: rgba(201, 255, 61, 0.08);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  clip-path: polygon(0 0, 100% 0, 100% 66%, 84% 100%, 0 100%);
}

.tag--orange {
  border-color: rgba(255, 122, 47, 0.45);
  background: rgba(255, 122, 47, 0.1);
  color: var(--orange);
}

.tag--ice {
  border-color: rgba(127, 216, 255, 0.4);
  background: rgba(127, 216, 255, 0.1);
  color: var(--ice);
}

.breadcrumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--mist);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  color: rgba(169, 191, 174, 0.5);
}

.breadcrumbs__link {
  color: var(--mist);
  transition: color 0.16s ease;
}

.breadcrumbs__link:hover { color: var(--lime); }
.breadcrumbs__item[aria-current="page"] { color: var(--paper); }

/* 横向赛程带 */
.rail {
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  padding-bottom: 10px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--lime-deep) rgba(169, 191, 174, 0.18);
}

.rail > * {
  flex: 0 0 clamp(220px, 30vw, 320px);
  scroll-snap-align: start;
}

.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track { background: rgba(169, 191, 174, 0.14); }
.rail::-webkit-scrollbar-thumb { background: var(--lime-deep); border-radius: 99px; }
.rail:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

/* 可复用图片容器 */
.media-frame {
  position: relative;
  display: grid;
  place-items: end start;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(169, 191, 174, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow-stack);
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(201, 255, 61, 0.22), transparent 55%),
    linear-gradient(160deg, #143A2B, #061A13 58%, #0C2A1F);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(120deg, rgba(243, 246, 234, 0.05) 0 1px, transparent 1px 22px);
}

.media-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.85) contrast(1.05);
}

.media-frame__caption {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-top: 1px solid rgba(201, 255, 61, 0.35);
  background: rgba(4, 16, 11, 0.72);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

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

/* 显现动效状态 */
[data-reveal] {
  transition: opacity 0.34s ease, transform 0.34s ease;
}

[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(14px);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---------- 7. 跳转链接 ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  background: var(--lime);
  color: var(--press);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: translateY(-180%);
  transition: transform 0.16s ease;
}

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

/* ---------- 8. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(6, 26, 19, 0.97);
  border-bottom: 1px solid rgba(201, 255, 61, 0.22);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 2vw, 28px);
  min-height: var(--header-h);
  padding-block: 8px;
}

.site-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: rgba(243, 246, 234, 0.08);
  pointer-events: none;
}

.site-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--ice));
  transition: width 0.1s linear;
}

/* 署名 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  order: 1;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--lime);
  color: var(--press);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  transition: background 0.16s ease, color 0.16s ease;
}

.brand:hover .brand__mark,
.brand:focus-visible .brand__mark {
  background: var(--paper);
  color: var(--press);
}

.brand__text { display: block; line-height: 1.1; }

.brand__name {
  display: block;
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand__note {
  display: block;
  margin-top: 2px;
  color: var(--mist);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
}

/* 右侧工具 */
.site-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 3;
  flex: 0 0 auto;
}

.quick-entry {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(201, 255, 61, 0.45);
  border-radius: 2px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.quick-entry::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(201, 255, 61, 0.18);
}

.quick-entry:hover,
.quick-entry:focus-visible {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--press);
}

.quick-entry:hover::before,
.quick-entry:focus-visible::before {
  background: var(--press);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(243, 246, 234, 0.28);
  border-radius: 2px;
  color: var(--paper);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--lime);
  color: var(--lime);
}

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

.nav-toggle__bars span {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.18s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child {
  transform: translateY(2.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child {
  transform: translateY(-2.75px) rotate(-45deg);
}

.nav-toggle__text { white-space: nowrap; }

/* 导航 */
.site-nav {
  order: 2;
  display: flex;
  align-items: center;
}

.site-nav__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.site-nav__item { display: block; }

.site-nav__index {
  margin-right: 0.4em;
  color: rgba(201, 255, 61, 0.65);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0;
}

.site-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.7rem;
  color: var(--paper-dim);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.16s ease, background 0.16s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.28rem;
  height: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s ease;
}

.site-nav__link:hover { color: var(--paper); }
.site-nav__link:hover::after { transform: scaleX(1); }

.site-nav__link[aria-current="page"] {
  color: var(--lime);
  background: rgba(201, 255, 61, 0.08);
}

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

.site-nav__head,
.site-nav__foot { display: none; }

.site-nav__cta { display: inline-flex; }

.site-nav__meta {
  color: var(--mist);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
}

/* 抽屉遮罩 */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: var(--scrim);
}

.nav-scrim[data-open="true"] { display: block; }

/* ---------- 9. 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  border-top: 1px solid rgba(201, 255, 61, 0.3);
  color: var(--paper);
}

.site-footer::before {
  content: "";
  display: block;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--lime) 0 14px, transparent 14px 28px);
  opacity: 0.45;
}

.footer__top { padding-block: clamp(34px, 5vw, 60px) clamp(22px, 3vw, 32px); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.05fr) 1.7fr;
  gap: clamp(24px, 4vw, 56px);
}

.footer__brand { min-width: 0; }

.footer__mark {
  width: 44px;
  height: 44px;
  font-size: 1rem;
}

.footer__logo {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.footer__tagline {
  margin-top: 6px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.footer__note {
  max-width: 34ch;
  margin-top: 14px;
  color: var(--mist);
  font-size: 0.82rem;
  line-height: 1.72;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.footer__col { min-width: 0; }

.footer__title {
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px dashed var(--line);
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.footer__list { display: grid; gap: 8px; }

.footer__link {
  display: inline-block;
  padding-block: 2px;
  border-bottom: 1px solid transparent;
  color: var(--paper-dim);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--lime);
  border-bottom-color: rgba(201, 255, 61, 0.55);
}

.footer__contact {
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: clamp(16px, 2.4vw, 22px);
  border-top: 1px dashed var(--line);
}

.footer__contact-label { color: var(--ice); }

.footer__contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 24px;
  margin-top: 10px;
}

.footer__contact-line {
  display: flex;
  align-items: baseline;
  gap: 0.6em;
  color: var(--paper-dim);
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer__contact-key {
  flex: 0 0 auto;
  color: var(--mist);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
}

.footer__contact-value { min-width: 0; }

.footer__contact-value--mono {
  color: var(--ice);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(169, 191, 174, 0.18);
  color: var(--mist);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

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

.footer__legal-link {
  color: var(--mist);
  transition: color 0.16s ease;
}

.footer__legal-link:hover,
.footer__legal-link:focus-visible { color: var(--lime); }

.footer__copyright { margin: 0; }

/* ---------- 10. 响应式 ---------- */
@media (max-width: 1024px) {
  .site-nav__link { padding-inline: 0.55rem; font-size: 0.8rem; }
  .site-nav__link::after { left: 0.55rem; right: 0.55rem; }
}

@media (max-width: 899px) {
  .grid-12 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .brand__note { display: none; }
  .quick-entry { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__tools { order: 2; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(88vw, 340px);
    padding: 18px 20px 28px;
    overflow-y: auto;
    background: var(--ink-2);
    border-left: 1px solid rgba(201, 255, 61, 0.4);
    box-shadow: -18px 0 40px rgba(4, 16, 11, 0.6);
    transform: translateX(103%);
    visibility: hidden;
    transition: transform 0.2s ease, visibility 0.2s ease;
  }

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

  .site-nav__head {
    display: block;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px dashed var(--line);
    color: var(--mist);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__item { border-bottom: 1px solid var(--line-soft); }

  .site-nav__link {
    display: flex;
    align-items: center;
    gap: 0.6em;
    width: 100%;
    padding: 0.9rem 0.2rem;
    font-size: 1rem;
  }

  .site-nav__link::after { display: none; }

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

  .site-nav__foot {
    display: block;
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid rgba(201, 255, 61, 0.22);
  }

  .site-nav__cta {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
  }

  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-header__inner { min-height: 62px; }
  :root { --header-h: 62px; }
}

@media (max-width: 560px) {
  .grid-12 { grid-template-columns: minmax(0, 1fr); }
  .footer__cols { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { justify-content: flex-start; }
  .footer__contact-line { flex-direction: column; gap: 2px; }
}

/* ---------- 11. 可访问性偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .btn:hover,
  .paper-card:hover,
  .paper-card:focus-within { transform: none; }

  .site-nav { transition: none; }

  [data-reveal],
  [data-reveal].is-pending {
    opacity: 1;
    transform: none;
  }
}
