/* ==========================================================================
   体育综合站 · 共享样式 /assets/site.css
   墨底 + 荧光青 + 信号橙 —— 夜间球场的数据指挥室
   ========================================================================== */

/* ---------- 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, figure, blockquote, dl, dd, ul, ol, li { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea { font: inherit; color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #05100D;
  --panel: #0A1B17;
  --panel-2: #12271F;
  --grid: #2A4A40;
  --cyan: #3FE0C0;
  --cyan-soft: #9BF4E2;
  --orange: #FF7A2E;
  --paper: #F1F6F4;
  --mist: #A9BCB7;
  --wash: rgba(63, 224, 192, .08);
  --wash-2: rgba(63, 224, 192, .16);
  --orange-wash: rgba(255, 122, 46, .12);

  --rail-w: 88px;
  --shell-w: 1360px;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --pill: 999px;

  --font-cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-editorial: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", "Cascadia Mono", Menlo, Consolas, "Noto Sans Mono", monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .28s;
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-cn);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (min-width: 901px) {
  body { padding-left: var(--rail-w); }
}

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

.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;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 300;
  padding: 10px 20px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transform: translateY(-200%);
  transition: transform .22s var(--ease);
}
@media (min-width: 901px) {
  .skip-link { left: calc(var(--rail-w) + 14px); }
}
.skip-link:focus,
.skip-link:focus-visible { transform: none; }

/* ---------- 4. Layout shells ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 601px) { .shell { padding-inline: 32px; } }
@media (min-width: 901px) { .shell { padding-inline: 48px; } }
@media (min-width: 1281px) { .shell { padding-inline: 64px; } }

.section { padding-block: 40px; }
.page-head { padding-block: 64px 36px; }
.page-head .eyebrow { margin-bottom: 20px; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 26px;
}

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid { gap: 16px; }
}

/* ---------- 5. Typography ---------- */
.display-1 {
  font-size: clamp(32px, 5.2vw, 56px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.display-2 {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 900;
  line-height: 1.16;
  letter-spacing: -.015em;
}
.display-3 {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.figure {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}
.figure--xl { font-size: clamp(64px, 13vw, 160px); }
.figure--lg { font-size: clamp(40px, 6vw, 76px); }

.lede {
  max-width: 62ch;
  font-size: 19px;
  line-height: 1.72;
  color: var(--mist);
}
.muted { color: var(--mist); }
.note {
  font-size: 13px;
  line-height: 1.65;
  color: var(--mist);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--cyan);
}

.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.85;
  color: var(--mist);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  margin-top: 1.9em;
  font-size: 24px;
  line-height: 1.35;
  color: var(--paper);
  letter-spacing: -.01em;
}
.prose h3 {
  margin-top: 1.6em;
  font-size: 19px;
  color: var(--paper);
}
.prose strong { color: var(--paper); }
.prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose ol, .prose ul { padding-left: 1.4em; }
.prose ol { list-style: decimal; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: .4em; }

/* ---------- 6. Progress rail ---------- */
.read-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 250;
  background: rgba(42, 74, 64, .55);
  pointer-events: none;
}
.read-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(63, 224, 192, .8);
  transition: width .1s linear;
}

/* ---------- 7. Header · left data rail ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: var(--rail-w);
  height: 100vh;
  height: 100dvh;
  padding: 24px 8px 20px;
  background: linear-gradient(180deg, #08170F 0%, var(--ink) 55%, #030B08 100%);
  border-right: 1px solid var(--grid);
}

/* brand */
.brand {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 9px;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--cyan);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.03em;
  box-shadow: 0 0 0 1px rgba(63, 224, 192, .4), 0 14px 32px -14px rgba(63, 224, 192, .9);
  transition: transform var(--dur) var(--ease);
}
.brand:hover .brand__mark { transform: translateY(-2px); }
.brand__name {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .22em;
  color: var(--mist);
  transition: color var(--dur) var(--ease);
}
.brand:hover .brand__name { color: var(--paper); }

/* vertical nav */
.site-nav {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.site-nav::-webkit-scrollbar { width: 0; height: 0; }
.site-nav__signature { display: none; }
.site-nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 0;
  border-radius: var(--r-sm);
  color: var(--mist);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav-link__label {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .16em;
}
.nav-link:hover { color: var(--paper); background: var(--wash); }
.nav-link.is-inview { color: var(--cyan-soft); background: var(--wash); }
.nav-link[aria-current="page"] {
  color: var(--cyan);
  background: var(--wash-2);
  box-shadow: inset 0 0 0 1px rgba(63, 224, 192, .3);
}

/* rail tools */
.rail-tools {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.tool-chip {
  display: block;
  padding: 7px 2px;
  border-radius: var(--r-sm);
  border: 1px solid var(--grid);
  background: rgba(18, 39, 31, .7);
  color: var(--mist);
  font-size: 10px;
  line-height: 1.3;
  letter-spacing: .06em;
  text-align: center;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tool-chip:hover {
  color: var(--cyan-soft);
  border-color: var(--cyan);
  background: var(--wash);
}
.tool-chip--accent {
  color: var(--orange);
  border-color: rgba(255, 122, 46, .45);
}
.tool-chip--accent:hover {
  color: var(--orange);
  border-color: var(--orange);
  background: var(--orange-wash);
}

/* drawer toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--pill);
  border: 1px solid var(--grid);
  background: rgba(10, 27, 23, .9);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: .12em;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); background: var(--wash); }
.nav-toggle__lines {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: background-color .2s var(--ease);
}
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan);
  transition: transform .28s var(--ease);
}
.nav-toggle__lines::before { top: -6px; }
.nav-toggle__lines::after { top: 6px; }
.site-header[data-open] .nav-toggle__lines { background: transparent; }
.site-header[data-open] .nav-toggle__lines::before { transform: translateY(6px) rotate(45deg); }
.site-header[data-open] .nav-toggle__lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 8. Header · mobile ---------- */
@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: var(--ink);
    border-right: 0;
    border-bottom: 1px solid var(--grid);
    z-index: 120;
  }
  .brand { flex-direction: row; gap: 10px; }
  .brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: none;
  }
  .brand__name {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 13px;
    letter-spacing: .12em;
    color: var(--paper);
  }

  .nav-toggle { display: inline-flex; position: relative; z-index: 40; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    width: auto;
    justify-content: flex-start;
    padding: 88px 22px 210px;
    background: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .26s var(--ease), transform .26s var(--ease), visibility .26s;
  }
  .site-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(42, 74, 64, .3) 1px, transparent 1px),
      linear-gradient(90deg, rgba(42, 74, 64, .3) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: .7;
    pointer-events: none;
  }
  .site-header[data-open] .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__signature {
    position: relative;
    display: block;
    margin-bottom: 26px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .24em;
    color: var(--cyan);
  }
  .site-nav__list {
    position: relative;
    align-items: stretch;
    gap: 4px;
  }
  .nav-link {
    justify-content: flex-start;
    gap: 14px;
    padding: 15px 20px;
    border-radius: var(--r-lg);
    border: 1px solid transparent;
  }
  .nav-link__label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .06em;
  }
  .nav-link[aria-current="page"] { border-color: rgba(63, 224, 192, .35); }

  .rail-tools {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 31;
    flex-direction: row;
    gap: 8px;
    width: auto;
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--panel);
    border-top: 1px solid var(--grid);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .site-header[data-open] .rail-tools { transform: none; visibility: visible; }
  .rail-tools li { flex: 1 1 0; }
  .tool-chip { padding: 12px 6px; font-size: 13px; letter-spacing: .06em; }
}

/* ---------- 9. Buttons / chips / breadcrumb ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--pill);
  border: 1px solid var(--grid);
  background: transparent;
  color: var(--paper);
  font-size: 15px;
  letter-spacing: .04em;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { border-color: var(--cyan); color: var(--cyan); background: var(--wash); }
.btn--primary {
  background: var(--orange);
  border-color: var(--orange);
  color: #180800;
  font-weight: 700;
}
.btn--primary:hover { background: #FF9256; border-color: #FF9256; color: #180800; }
.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 700;
}
.btn--cyan:hover { background: var(--cyan-soft); border-color: var(--cyan-soft); color: var(--ink); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--mist);
}
.breadcrumb a { color: var(--mist); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb__sep { color: var(--grid); }
.breadcrumb [aria-current="page"] { color: var(--paper); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--grid);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--mist);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.tag--on {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--wash);
}

/* ---------- 10. Panels / media / data ---------- */
.panel {
  position: relative;
  padding: 24px;
  border-radius: var(--r-xl);
  border: 1px solid var(--grid);
  background: var(--panel);
}
.panel--flush { padding: 0; overflow: hidden; }
.panel--wash { background: var(--wash); border-color: rgba(63, 224, 192, .28); }

.media-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  border: 1px solid var(--grid);
  background: var(--panel-2);
}
.media-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.72) contrast(1.08);
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(63, 224, 192, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 224, 192, .06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.data-table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.data-table caption {
  padding-bottom: 12px;
  text-align: left;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mist);
}
.data-table th,
.data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--grid);
}
.data-table thead th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
}
.data-table tbody tr { transition: background-color .2s var(--ease); }
.data-table tbody tr:nth-child(even) { background: var(--panel-2); }
.data-table tbody tr:hover { background: var(--wash); }

.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--paper);
}
.stat__value--accent { color: var(--orange); }
.stat__label {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--mist);
}

/* ---------- 11. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 104px;
  padding-top: 64px;
  background: linear-gradient(180deg, var(--ink) 0%, #030B08 100%);
  border-top: 1px solid var(--grid);
  font-size: 15px;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(42, 74, 64, .4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 74, 64, .4) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 15% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 15% 0%, #000 0%, transparent 72%);
}
.site-footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 48ch;
}
.footer-brand .brand { flex-direction: row; align-items: center; gap: 12px; }
.footer-brand .brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  font-size: 14px;
  box-shadow: none;
}
.footer-brand .brand__name {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  font-size: 15px;
  letter-spacing: .14em;
  color: var(--paper);
}
.footer-intro { color: var(--mist); line-height: 1.85; }
.footer-address {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--mist);
}
.footer-note {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--grid);
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(214px, 1fr));
  gap: 10px;
}
.copy-chip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--grid);
  background: var(--panel);
  text-align: left;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.copy-chip:hover { border-color: var(--cyan); background: var(--wash); }
.copy-chip__key {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--mist);
}
.copy-chip__val {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--paper);
  word-break: break-all;
}
.copy-chip__hint {
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--cyan);
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.copy-chip:hover .copy-chip__hint,
.copy-chip:focus-visible .copy-chip__hint { opacity: 1; }
.copy-chip.is-copied { border-color: var(--cyan); background: var(--wash-2); }
.copy-chip.is-copied .copy-chip__hint { opacity: 1; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}
.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--cyan);
}
.footer-col__list { display: flex; flex-direction: column; gap: 11px; }
.footer-col__list a {
  font-size: 14px;
  color: var(--mist);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer-col__list a:hover { color: var(--paper); padding-left: 4px; }

.footer-legal {
  position: relative;
  border-top: 1px solid var(--grid);
  padding-block: 22px;
}
.footer-legal__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .02em;
  color: var(--mist);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 240;
  padding: 11px 22px;
  border-radius: var(--pill);
  background: var(--cyan);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 18px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 900px) {
  .site-footer { margin-top: 72px; padding-top: 48px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .footer-nav { grid-template-columns: 1fr; }
}

/* ---------- 12. Reveal ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .34s var(--ease), transform .34s var(--ease);
}
.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .has-js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .read-progress__bar { transition: none; }
  .copy-toast { transition: none; }
}
