/* ============================================================
   竞彩看台 · /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, p, ul, ol, figure, blockquote, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 88px; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #071A14;
  --ink-2: #0C2A20;
  --ink-3: #14523D;
  --lime: #C6FF4A;
  --lime-soft: #E6FFA6;
  --orange: #FF6A2A;
  --slate: #7C9BB5;
  --paper: #F2F5EE;
  --dust: #8FA39A;
  --well: #04110D;

  --line: rgba(124, 155, 181, 0.20);
  --line-2: rgba(124, 155, 181, 0.40);
  --lime-line: rgba(198, 255, 74, 0.44);

  --rail: 264px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1220px;
  --radius: 2px;

  --font-display: "Bahnschrift Condensed", "DIN Condensed", "Arial Narrow", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", "Noto Sans Mono CJK SC", monospace;
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 72% at 84% -10%, rgba(198, 255, 74, 0.075), transparent 58%),
    radial-gradient(92% 62% at 0% 108%, rgba(255, 106, 42, 0.06), transparent 62%),
    repeating-linear-gradient(90deg, rgba(124, 155, 181, 0.055) 0 1px, transparent 1px 104px);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-stretch: 82%;
}
h1 { font-size: clamp(30px, 5.4vw, 54px); }
h2 { font-size: clamp(22px, 3.4vw, 32px); }
h3 { font-size: clamp(17px, 2.2vw, 21px); }
h4 { font-size: 16px; letter-spacing: 0; }
p { text-wrap: pretty; }
strong { color: var(--lime-soft); font-weight: 700; }

a { transition: color 0.18s ease; }
a:hover { color: var(--lime); }

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

#main-content { display: block; }

/* ---------- 4. Utilities ---------- */
.mono { font-family: var(--font-mono); letter-spacing: 0.06em; }
.muted { color: var(--dust); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--lime); }
.divider { height: 1px; border: 0; background: var(--line); margin: 0; }
.stack { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 20px); }

.shell { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.shell--wide { max-width: 1440px; }
.shell--narrow { max-width: 820px; }

.grid-2, .grid-3 { display: grid; gap: clamp(16px, 2.6vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--lime);
  color: #0B1F10;
  font-weight: 800;
  font-size: 13px;
  border-radius: var(--radius);
  transform: translateY(-180%);
  transition: transform 0.18s ease;
}
.skip-link:focus { transform: translateY(0); color: #0B1F10; }

/* ---------- 6. Header shell ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(4, 17, 13, 0.97), rgba(7, 26, 20, 0.94));
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(14px, 4vw, 24px);
}

/* ---------- 7. Brand ---------- */
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand__mark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 28px;
  height: 28px;
  padding: 5px;
  flex: 0 0 auto;
  border: 1px solid var(--lime-line);
  background: rgba(198, 255, 74, 0.08);
  border-radius: 1px;
}
.brand__mark span { display: block; height: 2px; background: var(--lime); }
.brand__mark span:nth-child(1) { width: 100%; }
.brand__mark span:nth-child(2) { width: 66%; background: var(--slate); }
.brand__mark span:nth-child(3) { width: 38%; background: var(--orange); }
.brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  color: var(--paper);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--dust);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 8. Nav toggle ---------- */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--paper);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  transition: border-color 0.18s ease, color 0.18s ease;
}
.nav-toggle:hover { 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: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- 9. Nav drawer (mobile first) ---------- */
.site-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(316px, 86vw);
  z-index: 80;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 26px;
  overflow-y: auto;
  background: linear-gradient(180deg, #061A13, #0A241A 62%, #04110D);
  border-right: 1px solid var(--lime-line);
  box-shadow: 18px 0 44px rgba(2, 8, 6, 0.6);
  transform: translateX(-104%);
  visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 0.68, 0.24, 1), visibility 0s linear 0.32s;
}
.site-nav[data-open] {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.32s cubic-bezier(0.22, 0.68, 0.24, 1), visibility 0s;
}
.site-nav__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--slate);
  padding: 0 4px 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__item { border-bottom: 1px solid var(--line); }
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 8px;
  font-size: 15px;
  color: var(--paper);
  transition: background 0.2s ease, color 0.2s ease, padding 0.2s ease;
}
.site-nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--slate);
  transition: color 0.2s ease;
}
.site-nav__text { font-weight: 600; letter-spacing: 0.01em; }
.site-nav__link:hover { background: rgba(198, 255, 74, 0.08); color: var(--lime); padding-left: 14px; }
.site-nav__link:hover .site-nav__num { color: var(--lime); }
.site-nav__link[aria-current="page"] {
  background: rgba(198, 255, 74, 0.12);
  color: var(--lime);
  box-shadow: inset 2px 0 0 0 var(--lime);
}
.site-nav__link[aria-current="page"] .site-nav__num { color: var(--lime); }
.site-nav__foot { margin-top: auto; padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.site-nav__meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--dust);
}
.site-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  background: var(--orange);
  color: #180802;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background 0.18s ease, color 0.18s ease;
}
.site-nav__cta:hover { background: var(--lime); color: #0B1F10; }

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 8, 6, 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.nav-scrim[data-open] { opacity: 1; pointer-events: auto; }

@media (max-width: 1023px) {
  html[data-nav-open="true"] { overflow: hidden; }
}

/* ---------- 10. Scroll rail ---------- */
.scroll-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  z-index: 5;
  pointer-events: none;
  background: rgba(124, 155, 181, 0.16);
}
.scroll-rail__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transform-origin: left center;
  transform: scaleX(var(--scroll, 0));
  transition: transform 0.1s linear;
}

/* ---------- 11. Desktop rail ---------- */
@media (min-width: 1024px) {
  body { padding-left: var(--rail); }

  .site-header {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail);
    display: flex;
    flex-direction: column;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #04110D 0%, #071A14 44%, #0C2A20 100%);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-header__top {
    display: block;
    padding: 26px 22px 20px;
    border-bottom: 1px solid var(--line);
  }
  .brand { flex-direction: column; align-items: flex-start; gap: 12px; }
  .brand__name { font-size: 24px; }
  .brand__sub { white-space: normal; line-height: 1.5; }
  .nav-toggle { display: none; }
  .nav-scrim { display: none; }

  .site-nav {
    position: static;
    visibility: visible;
    transform: none;
    width: auto;
    flex: 1;
    padding: 18px 14px 22px;
    overflow: visible;
    background: transparent;
    border-right: 0;
    box-shadow: none;
    transition: none;
  }
  .site-nav__link { padding: 12px 8px; font-size: 14px; }
  .site-nav__link:hover { padding-left: 14px; }

  .scroll-rail {
    top: 0;
    right: 0;
    left: auto;
    bottom: 0;
    width: 2px;
    height: 100%;
    background: rgba(124, 155, 181, 0.14);
  }
  .scroll-rail__bar {
    background: linear-gradient(180deg, var(--lime), #8FBF3A 58%, var(--orange));
    transform-origin: center top;
    transform: scaleY(var(--scroll, 0));
  }
}

/* ---------- 12. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--lime { background: var(--lime); border-color: var(--lime); color: #0B1F10; }
.btn--lime:hover { background: var(--lime-soft); color: #0B1F10; transform: translateY(-1px); }
.btn--orange { background: var(--orange); border-color: var(--orange); color: #1A0A02; }
.btn--orange:hover { background: #FF8248; color: #1A0A02; transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--paper); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--sm { padding: 8px 14px; font-size: 12.5px; }

/* ---------- 13. Filter bar & chips ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filter-bar__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin-right: 2px;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(124, 155, 181, 0.07);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.chip:hover { border-color: var(--lime-line); color: var(--lime); }
.chip[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: #0B1F10; }
.chip--venue:hover { border-color: rgba(255, 106, 42, 0.55); color: var(--orange); }
.chip--venue[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #1A0A02; }

/* ---------- 14. Breadcrumbs ---------- */
.breadcrumbs {
  padding: 14px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--dust);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: "／"; color: var(--slate); opacity: 0.7; }
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 15. Page head / section / split ---------- */
.page-head {
  padding: clamp(26px, 4.6vw, 60px) 0 clamp(22px, 3.6vw, 42px);
  border-bottom: 1px solid var(--line);
}
.page-head__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}
.page-head__eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--lime); }
.page-head__title { margin-top: 14px; max-width: 24ch; }
.page-head__lead { margin-top: 16px; max-width: 54ch; font-size: 15px; color: var(--dust); }
.page-head__meta {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--slate);
}

.section { padding-block: clamp(32px, 5.2vw, 72px); border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(18px, 3vw, 34px);
}
.section__title { max-width: 26ch; }
.section__note { max-width: 46ch; font-size: 14px; color: var(--dust); }

.split { display: grid; gap: clamp(20px, 3vw, 38px); grid-template-columns: 1fr; align-items: start; }
.split__aside { display: flex; flex-direction: column; gap: 14px; }
.split__main { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(200px, 238px) minmax(0, 1fr); }
  .split__aside { padding-right: 20px; border-right: 1px solid var(--line); }
}

/* ---------- 16. Table ---------- */
.table__wrap { overflow-x: auto; border: 1px solid var(--line); }
.table { width: 100%; min-width: 520px; font-size: 13.5px; }
.table caption {
  caption-side: top;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th {
  background: rgba(20, 82, 61, 0.55);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime-soft);
  white-space: nowrap;
}
.table tbody tr:hover { background: rgba(124, 155, 181, 0.07); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { font-family: var(--font-mono); font-size: 12.5px; color: var(--lime); }

/* ---------- 17. Timeline / stat / tag / notice ---------- */
.timeline { display: flex; flex-direction: column; }
.timeline__item { position: relative; padding: 0 0 22px 24px; border-left: 1px solid var(--line); }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -4.5px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 3px rgba(198, 255, 74, 0.16);
}
.timeline__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.timeline__title { margin-top: 4px; font-family: var(--font-display); font-size: 17px; font-weight: 800; }
.timeline__body { margin-top: 6px; max-width: 56ch; font-size: 14px; color: var(--dust); }

.stat { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.stat__num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--lime);
}
.stat__label { font-size: 12px; color: var(--dust); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}
.tag--venue { border-color: rgba(255, 106, 42, 0.5); color: var(--orange); }
.tag--live { border-color: var(--lime-line); color: var(--lime); }

.notice {
  border-left: 2px solid var(--orange);
  background: rgba(255, 106, 42, 0.07);
  padding: 14px 16px;
  font-size: 13.5px;
  color: var(--paper);
}
.notice--info { border-left-color: var(--slate); background: rgba(124, 155, 181, 0.08); }

/* ---------- 18. Media placeholders ---------- */
.media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: var(--well);
  background-image:
    repeating-linear-gradient(135deg, rgba(124, 155, 181, 0.12) 0 1px, transparent 1px 13px),
    linear-gradient(155deg, rgba(20, 82, 61, 0.92), rgba(4, 17, 13, 0.96));
  aspect-ratio: 16 / 9;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 3 / 4; }
.media__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 17, 13, 0) 38%, rgba(4, 17, 13, 0.88));
}
.media__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border: 1px solid var(--line-2);
  background: rgba(4, 17, 13, 0.72);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-soft);
}
.figure { display: flex; flex-direction: column; gap: 8px; }
.figure__cap {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--dust);
}

/* ---------- 19. Footer ---------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #04110D, #071A14 46%, #0C2A20);
}
.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background:
    linear-gradient(90deg,
      var(--lime) 0%, var(--lime) 17%,
      transparent 17%, transparent 20%,
      var(--orange) 20%, var(--orange) 26%,
      transparent 26%, transparent 29%,
      rgba(124, 155, 181, 0.45) 29%, rgba(124, 155, 181, 0.45) 100%);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(32px, 4.8vw, 58px) var(--gutter);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 10px; }
.site-footer__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--paper);
}
.site-footer__logo:hover { color: var(--lime); }
.site-footer__tagline { font-size: 13px; color: var(--dust); }
.site-footer__mono {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--slate);
}
.site-footer__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.site-footer__list { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.site-footer__list--plain li { color: var(--dust); line-height: 1.6; }
.site-footer__link { color: var(--paper); border-bottom: 1px solid transparent; transition: color 0.18s ease, border-color 0.18s ease; }
.site-footer__link:hover { color: var(--lime); border-bottom-color: var(--lime-line); }
.site-footer__hint { font-size: 11.5px; color: var(--slate); }
.site-footer__block { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 9px 15px;
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  background: rgba(255, 106, 42, 0.12);
  color: var(--orange);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, color 0.18s ease;
}
.site-footer__cta:hover { background: var(--orange); color: #1A0A02; }
.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 16px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dust);
}
.site-footer__meta { color: var(--dust); }
.site-footer__meta .site-footer__link { color: var(--slate); }

@media (min-width: 900px) {
  .site-footer__inner {
    grid-template-columns: 1.45fr 1fr 1fr 1.15fr;
    gap: 0;
    align-items: start;
  }
  .site-footer__inner > * { padding-inline: clamp(16px, 2.2vw, 30px); }
  .site-footer__inner > *:first-child { padding-left: 0; }
  .site-footer__inner > *:last-child { padding-right: 0; }
  .site-footer__inner > * + * { border-left: 1px solid var(--line); }
}

/* ---------- 20. Reveal ---------- */
html[data-motion="on"] [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.68, 0.24, 1);
}
html[data-motion="on"] [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 21. Motion preferences ---------- */
@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;
  }
  html[data-motion="on"] [data-reveal] { opacity: 1; transform: none; }
}
