/* ==========================================================================
   /assets/site.css — 四季体育赛事 · 共享层
   1. Reset  2. Tokens & 季节主题  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%; }

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

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

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

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

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

hr { border: 0; }

/* ---------- 2. Tokens & 季节主题 ---------- */
:root {
  /* 基础色 */
  --ink: #101828;
  --ink-soft: #3A4554;
  --paper: #F7F5EF;
  --paper-deep: #F1EDE3;
  --structure: #1F3A5F;
  --mist: #D9DEE5;
  --muted: #5C6775;
  --alert: #E13B2E;

  /* 四季 */
  --spring-lime: #B8E34A;
  --spring-sprout: #F2D65C;
  --summer-lake: #0EA5C6;
  --summer-flare: #FF6B2C;
  --autumn-clay: #C05A3E;
  --autumn-amber: #D99A2B;
  --winter-ice: #A9C7D9;
  --winter-indigo: #26365C;

  /* 当前季节（默认春） */
  --accent: var(--spring-lime);
  --accent-2: var(--spring-sprout);
  --accent-dark: #B8E34A;
  --on-accent: var(--ink);
  --nav-mark: #8FB32E;
  --accent-wash: rgba(184, 227, 74, 0.22);

  /* 字体 */
  --ff-display: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --ff-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  --ff-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", SimSun, Georgia, serif;
  --ff-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺寸与节奏 */
  --radius: 4px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

:root[data-season="summer"] {
  --accent: var(--summer-lake);
  --accent-2: var(--summer-flare);
  --accent-dark: #FF6B2C;
  --on-accent: var(--ink);
  --nav-mark: #0EA5C6;
  --accent-wash: rgba(14, 165, 198, 0.16);
}

:root[data-season="autumn"] {
  --accent: var(--autumn-clay);
  --accent-2: var(--autumn-amber);
  --accent-dark: #D99A2B;
  --on-accent: #FFFFFF;
  --nav-mark: #C05A3E;
  --accent-wash: rgba(192, 90, 62, 0.16);
}

:root[data-season="winter"] {
  --accent: var(--winter-ice);
  --accent-2: var(--winter-indigo);
  --accent-dark: #A9C7D9;
  --on-accent: var(--ink);
  --nav-mark: #26365C;
  --accent-wash: rgba(169, 199, 217, 0.28);
}

/* ---------- 3. 基础排版 ---------- */
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 6.6vw, 96px); line-height: 1.02; }
h2 { font-size: clamp(28px, 4vw, 56px); }
h3 { font-size: clamp(20px, 2.2vw, 28px); letter-spacing: -0.015em; line-height: 1.25; }
h4 { font-size: 18px; letter-spacing: -0.01em; line-height: 1.4; }

p { max-width: 68ch; }

strong, b { font-weight: 700; }

::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- 4. 工具类 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--ff-mono);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.serif {
  font-family: var(--ff-serif);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.num { font-variant-numeric: tabular-nums; }

.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
}

.note {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--structure);
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.section { padding-block: clamp(40px, 6vw, 88px); }
.section--tight { padding-block: clamp(24px, 3vw, 44px); }
.section--wide { padding-block: clamp(56px, 8vw, 120px); }

.rule {
  height: 1px;
  background: var(--mist);
  border: 0;
  width: 100%;
}

.band {
  display: block;
  height: 10px;
  width: 100%;
  background: var(--accent);
}

.band--diag {
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

/* 章节自带季节变量：页面阶段给 section 加 data-season */
[data-season] {
  --section-accent: var(--accent);
  --section-accent-2: var(--accent-2);
}
[data-season="spring"] { --section-accent: #B8E34A; --section-accent-2: #F2D65C; }
[data-season="summer"] { --section-accent: #0EA5C6; --section-accent-2: #FF6B2C; }
[data-season="autumn"] { --section-accent: #C05A3E; --section-accent-2: #D99A2B; }
[data-season="winter"] { --section-accent: #A9C7D9; --section-accent-2: #26365C; }

/* 网格 */
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.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)); }

.grid-stagger { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.grid-stagger > *:nth-child(even) { margin-top: clamp(16px, 3vw, 40px); }

/* 面包屑 */
.breadcrumbs {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

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

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

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

.breadcrumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 5. 组件 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 13px 22px;
  border: 1px solid var(--structure);
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: var(--structure);
  background: transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

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

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}

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

.btn--ghost { border-color: var(--mist); color: var(--ink-soft); }
.btn--ghost:hover { background: var(--paper-deep); border-color: var(--structure); color: var(--ink); }

.btn--sm { padding: 9px 15px; font-size: 12px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 8px 15px;
  border: 1px solid var(--mist);
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  color: var(--structure);
  background: transparent;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.chip:hover { border-color: var(--structure); background: #FFFFFF; }

.chip[aria-pressed="true"],
.chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 26px);
  background: #FFFFFF;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--structure);
}

.card--offset { border-top: 3px solid var(--section-accent, var(--accent)); }

.season-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.season-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--section-accent, var(--accent));
  flex: none;
}

.index-badge {
  font-family: var(--ff-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--structure);
  opacity: 0.7;
}

/* 媒体容器：页面阶段放入 <img> 即可 */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.media:hover img { transform: scale(1.02); }

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

.media--clip {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

.media--cap::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(16, 24, 40, 0.55), rgba(16, 24, 40, 0));
  pointer-events: none;
}

/* 数据刻度 */
.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-value {
  font-family: var(--ff-mono);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stat-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* 淡入（由 JS 添加 .js-reveal 后才隐藏，无 JS 时始终可见） */
.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

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

/* ---------- 6. 页头 ---------- */
.site-header {
  position: relative;
  z-index: 60;
  background: var(--paper);
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -80px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: top 0.16s var(--ease);
}

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

/* 顶部轨道行 */
.header-rail {
  background: var(--structure);
  color: rgba(247, 245, 239, 0.78);
}

.header-rail-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 34px;
  padding-block: 7px;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.rail-id { color: rgba(247, 245, 239, 0.62); }

.rail-hint {
  flex: 1 1 auto;
  max-width: none;
  text-align: center;
  color: rgba(247, 245, 239, 0.6);
}

.rail-status {
  max-width: none;
  color: rgba(247, 245, 239, 0.82);
  white-space: nowrap;
}

.rail-status b {
  color: var(--accent-dark);
  font-weight: 700;
}

.rail-hours {
  max-width: none;
  color: rgba(247, 245, 239, 0.58);
  white-space: nowrap;
}

/* 品牌行 */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 15px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-mark i {
  display: block;
  transition: transform 0.3s var(--ease);
}

.brand-mark i:nth-child(1) { background: var(--spring-lime); border-radius: 3px 0 0 0; }
.brand-mark i:nth-child(2) { background: var(--summer-lake); border-radius: 0 3px 0 0; }
.brand-mark i:nth-child(3) { background: var(--autumn-clay); border-radius: 0 0 0 3px; }
.brand-mark i:nth-child(4) { background: var(--winter-indigo); border-radius: 0 0 3px 0; }

.brand:hover .brand-mark i { transform: scale(1.08); }

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
}

.brand-tag {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  line-height: 1.2;
}

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid var(--structure);
  border-radius: 2px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--structure);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle:hover { background: var(--structure); color: var(--paper); }

.nav-toggle-bars {
  display: grid;
  gap: 3px;
  width: 16px;
  flex: none;
}

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

.site-header[data-open="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* 命令栏导航 */
.site-nav {
  background: var(--paper-deep);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
}

.nav-item { border-right: 1px solid var(--mist); }

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding: 14px 20px;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--structure);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease),
              border-color 0.18s var(--ease);
}

.nav-idx {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8A93A0;
}

.nav-link:hover {
  background: #FFFFFF;
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.nav-link[aria-current="page"] {
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--nav-mark);
}

.nav-link[aria-current="page"] .nav-idx {
  color: var(--ink);
  opacity: 0.55;
}

/* 阅读进度条 */
.scroll-meter {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
  background: transparent;
}

.scroll-meter i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.1s linear;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 96px);
  background: var(--paper);
  border-top: 1px solid var(--structure);
  color: var(--ink);
}

.footer-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 12px;
  clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
}

.footer-band i { display: block; }
.footer-band i:nth-child(1) { background: var(--spring-lime); }
.footer-band i:nth-child(2) { background: var(--summer-lake); }
.footer-band i:nth-child(3) { background: var(--autumn-clay); }
.footer-band i:nth-child(4) { background: var(--winter-indigo); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.05fr 1.5fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--mist);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-brandline {
  max-width: 18ch;
  font-family: var(--ff-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}

.footer-tagmono {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.footer-cta { margin-top: 4px; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
}

.footer-group { display: flex; flex-direction: column; gap: 12px; }

.footer-group-title {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--structure);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mist);
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color 0.16s var(--ease);
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
}

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

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }

.footer-contact-list li { display: flex; flex-direction: column; gap: 2px; }

.footer-contact-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-contact-value {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.footer-note {
  font-size: 12px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted);
}

.footer-link-strong {
  align-self: flex-start;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--structure);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.footer-link-strong:hover { color: var(--ink); border-bottom-color: var(--ink); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 18px 26px;
  font-size: 12px;
  color: var(--muted);
}

.footer-copy { max-width: none; }

.footer-icp {
  max-width: none;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

.footer-legal-links a {
  color: var(--ink-soft);
  transition: color 0.16s var(--ease);
}

.footer-legal-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1023px) {
  .rail-hint { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

  .site-nav { display: none; }

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

  .nav-list { flex-direction: column; }

  .nav-item { border-right: 0; border-bottom: 1px solid var(--mist); }
  .nav-item:last-child { border-bottom: 0; }

  .nav-link {
    padding: 14px 0 14px 14px;
    border-bottom: 0;
    border-left: 3px solid transparent;
    justify-content: flex-start;
  }

  .nav-link:hover { border-left-color: var(--accent); border-bottom-color: transparent; }

  .nav-link[aria-current="page"] {
    border-bottom-color: transparent;
    border-left-color: var(--nav-mark);
  }

  .grid-2, .grid-3, .grid-stagger { grid-template-columns: 1fr; }
  .grid-stagger > *:nth-child(even) { margin-top: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .media--hero { aspect-ratio: 4 / 3; }
  .media--clip { clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%); }
}

@media (max-width: 719px) {
  .rail-hours { display: none; }
  .header-rail-inner { justify-content: space-between; gap: 10px; font-size: 10px; }
  .brand-name { font-size: 18px; }
  .brand-tag { letter-spacing: 0.12em; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-legal { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 419px) {
  .rail-id { display: none; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* ---------- 9. 可访问性 ---------- */
:focus-visible {
  outline: 2px solid var(--structure);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(247, 245, 239, 0.95);
}

.header-rail :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--paper);
  box-shadow: 0 0 0 5px rgba(31, 58, 95, 0.9);
}

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

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

  .card:hover,
  .btn:hover { transform: none; }

  .media:hover img { transform: none; }

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