/* ============================================================
   千赢体育 · 共享样式表 /assets/site.css
   夜场赛事指挥中心：夜场蓝底 + 墨绿分区 + 荧光绿/暖金双强调
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--bar-h) + 18px);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
}

/* ---------- 2. Tokens ---------- */
:root {
  --night: #061a24;
  --moss: #0a2a23;
  --slate: #123b33;
  --fog: #f4f7f1;
  --lime: #b6ff3b;
  --gold: #f3c56b;
  --cyan: #54e6c8;
  --grey: #8fa39c;
  --char: #020b0e;
  --alert: #ff8a4c;

  --font-sans: system-ui, "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, "Roboto Mono", "IBM Plex Mono", monospace;

  --bar-h: 56px;
  --bar-h-sm: 36px;
  --edge: 3px;
  --shadow-hard: 7px 7px 0 var(--char);
  --shadow-hard-sm: 4px 4px 0 var(--char);
  --shadow-soft: 0 22px 48px rgba(2, 11, 14, 0.6);
  --wrap: 1320px;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --z-bar: 100;
  --z-skip: 200;
}

/* ---------- 3. Base ---------- */
body {
  background-color: var(--night);
  background-image:
    radial-gradient(ellipse 60% 40% at 88% -8%, rgba(182, 255, 59, 0.09), transparent 70%),
    radial-gradient(ellipse 50% 36% at 4% 12%, rgba(84, 230, 200, 0.07), transparent 72%);
  background-repeat: no-repeat;
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.85;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

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

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

.site-footer :focus-visible {
  outline-color: var(--gold);
}

/* ---------- 4. Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  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: var(--z-skip);
  display: inline-block;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--char);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  border: var(--edge) solid var(--char);
  box-shadow: var(--shadow-hard-sm);
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

#main-content:focus {
  outline: none;
}

/* ---------- 5. Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

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

.band {
  border-block: var(--edge) solid var(--char);
  padding-block: clamp(32px, 4.5vw, 68px);
}

.band--moss {
  background: var(--moss);
}

.band--night {
  background: var(--night);
}

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- 6. Typography utilities ---------- */
.display-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 136px);
  line-height: 0.95;
  letter-spacing: 0.06em;
  color: var(--fog);
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.sub-title {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.8;
  color: rgba(244, 247, 241, 0.82);
  max-width: 62ch;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  color: var(--grey);
  text-transform: uppercase;
}

.label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--lime);
  flex: 0 0 auto;
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: 0.04em;
}

.prose {
  max-width: 70ch;
  font-size: 17px;
  line-height: 1.85;
  color: rgba(244, 247, 241, 0.86);
}

.prose p + p {
  margin-top: 1.05em;
}

.prose a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.prose a:hover {
  background: rgba(182, 255, 59, 0.14);
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: var(--edge) solid var(--char);
  background: var(--slate);
  color: var(--fog);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  box-shadow: 5px 5px 0 var(--char);
  transition:
    transform 0.16s var(--ease),
    box-shadow 0.16s var(--ease),
    background-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--char);
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 var(--char);
}

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

.btn--lime:hover {
  background: #c9ff6b;
}

.btn--gold {
  background: var(--gold);
  color: var(--char);
}

.btn--gold:hover {
  background: #ffd98a;
}

.btn--ghost {
  background: transparent;
  color: var(--fog);
  border-color: var(--fog);
  box-shadow: 5px 5px 0 rgba(244, 247, 241, 0.28);
}

.btn--ghost:hover {
  background: var(--fog);
  color: var(--char);
  box-shadow: 7px 7px 0 rgba(244, 247, 241, 0.28);
}

.btn--sm {
  padding: 8px 14px;
  font-size: 12px;
  border-width: 2px;
  box-shadow: 4px 4px 0 var(--char);
}

.btn--sm.btn--ghost {
  box-shadow: 4px 4px 0 rgba(244, 247, 241, 0.28);
}

/* ---------- 8. Tags & status ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 2px solid var(--char);
  background: var(--slate);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tag--lime {
  background: var(--lime);
  color: var(--char);
}

.tag--gold {
  background: var(--gold);
  color: var(--char);
}

.tag--cyan {
  background: var(--cyan);
  color: var(--char);
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grey);
  flex: 0 0 auto;
}

.status-dot--live {
  background: var(--lime);
}

.status-dot--gold {
  background: var(--gold);
}

/* ---------- 9. Panels ---------- */
.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--slate);
  border: var(--edge) solid var(--char);
  box-shadow: var(--shadow-hard);
}

.panel--gold {
  border-color: var(--gold);
  box-shadow: 7px 7px 0 rgba(243, 197, 107, 0.32);
}

.panel--night {
  background: var(--night);
}

.panel__label {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lime);
  text-transform: uppercase;
}

.panel--gold .panel__label {
  color: var(--gold);
}

/* ---------- 10. Media frames (页面阶段放置图片) ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--slate);
  border: var(--edge) solid var(--char);
  box-shadow: var(--shadow-hard);
}

.media-frame > img,
.media-frame > picture,
.media-frame > picture > img {
  width: 100%;
  height: 100%;
}

.media-frame > img,
.media-frame > picture > img {
  display: block;
  object-fit: cover;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--glow::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 75%;
  background: radial-gradient(ellipse at 50% 100%, rgba(182, 255, 59, 0.3), transparent 70%);
  pointer-events: none;
}

.media-frame__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 6px 14px;
  background: var(--char);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.figure {
  display: block;
}

.figure__caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey);
}

/* ---------- 11. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--grey);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb__item[aria-current="page"] {
  color: var(--fog);
}

.breadcrumb__link {
  color: var(--grey);
  transition: color 0.16s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--lime);
}

.breadcrumb__sep {
  color: var(--slate);
  user-select: none;
}

/* ---------- 12. Reveal (供 data-reveal 使用) ---------- */
[data-reveal] {
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}

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

/* ============================================================
   13. Command bar
   ============================================================ */
.command-bar {
  position: sticky;
  top: 0;
  z-index: var(--z-bar);
  background: rgba(6, 26, 36, 0.94);
  border-bottom: var(--edge) solid var(--char);
  box-shadow: 0 8px 0 rgba(2, 11, 14, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.command-bar__meter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--edge) * -1);
  height: var(--edge);
  overflow: hidden;
  pointer-events: none;
}

.command-bar__meter-fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--cyan) 58%, var(--gold));
  box-shadow: 0 0 14px rgba(182, 255, 59, 0.55);
  transition: width 0.1s linear;
}

.command-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: var(--bar-h);
  padding-inline: var(--pad);
  transition: min-height 0.16s var(--ease);
}

.command-bar[data-compact="true"] .command-bar__inner {
  min-height: var(--bar-h-sm);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--fog);
}

.brand__rail {
  display: block;
  width: 7px;
  height: 28px;
  background: var(--lime);
  box-shadow: 3px 3px 0 var(--char);
  transition: height 0.16s var(--ease);
}

.command-bar[data-compact="true"] .brand__rail {
  height: 20px;
}

.brand__words {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--fog);
}

.brand__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--grey);
  white-space: nowrap;
  transition: opacity 0.16s var(--ease);
}

.command-bar[data-compact="true"] .brand__meta {
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.brand:hover .brand__name {
  color: var(--lime);
}

/* Status */
.command-bar__status {
  display: none;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--grey);
}

@media (min-width: 1200px) {
  .command-bar__status {
    display: flex;
  }
}

.command-bar__dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: bar-pulse 2.6s var(--ease) infinite;
}

.command-bar__status-text {
  white-space: nowrap;
  font-size: 11px;
}

@keyframes bar-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(182, 255, 59, 0.5);
  }
  55% {
    box-shadow: 0 0 0 7px rgba(182, 255, 59, 0);
  }
}

/* Cluster */
.command-bar__cluster {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  margin-left: auto;
}

/* Navigation */
.site-nav {
  flex: 0 1 auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.8vw, 12px);
}

.site-nav__item {
  flex: 0 0 auto;
}

.site-nav__link {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border: 2px solid transparent;
  color: var(--fog);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    color 0.16s var(--ease),
    background-color 0.16s var(--ease),
    border-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.site-nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--grey);
  transition: color 0.16s var(--ease);
}

.site-nav__link:hover {
  color: var(--lime);
  background: var(--slate);
}

.site-nav__link:hover .site-nav__num {
  color: var(--lime);
}

.site-nav__link[aria-current="page"] {
  background: var(--lime);
  color: var(--char);
  border-color: var(--char);
  box-shadow: var(--shadow-hard-sm);
}

.site-nav__link[aria-current="page"] .site-nav__num {
  color: var(--char);
  opacity: 0.65;
}

/* Actions */
.command-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

/* Toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 2px solid var(--slate);
  color: var(--fog);
  flex: 0 0 auto;
  transition:
    background-color 0.16s var(--ease),
    color 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

.nav-toggle__bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars > span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

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

.command-bar[data-open="true"] .nav-toggle {
  background: var(--lime);
  border-color: var(--char);
  color: var(--char);
}

.command-bar[data-open="true"] .nav-toggle__bars > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.command-bar[data-open="true"] .nav-toggle__bars > span:nth-child(2) {
  opacity: 0;
}

.command-bar[data-open="true"] .nav-toggle__bars > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 桌面中等宽度：收紧导航 */
@media (min-width: 1024px) and (max-width: 1199px) {
  .site-nav__link {
    padding: 7px 8px;
    font-size: 13px;
  }

  .site-nav__num {
    display: none;
  }

  .command-bar__actions .btn {
    padding: 8px 12px;
    font-size: 11px;
  }
}

/* ---------- 移动 / 平板命令面板 ---------- */
@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .command-bar__status {
    display: none;
  }

  .command-bar__cluster {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 16px var(--pad) 24px;
    max-height: calc(100vh - var(--bar-h) - 16px);
    overflow-y: auto;
    background: var(--moss);
    border-bottom: var(--edge) solid var(--char);
    box-shadow: var(--shadow-soft);
  }

  .command-bar[data-open="true"] .command-bar__cluster {
    display: flex;
    animation: panel-drop 0.22s var(--ease);
  }

  .site-nav {
    width: 100%;
  }

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

  .site-nav__item {
    width: 100%;
  }

  .site-nav__link {
    justify-content: flex-start;
    padding: 15px 12px;
    font-size: 15px;
    border: 2px solid transparent;
    border-bottom: 2px solid rgba(18, 59, 51, 0.95);
  }

  .site-nav__link[aria-current="page"] {
    box-shadow: none;
    transform: none;
    border-color: var(--char);
  }

  .site-nav__num {
    font-size: 11px;
  }

  .command-bar__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid var(--slate);
  }

  .command-bar__actions .btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 13px;
  }

  .brand__meta {
    display: none;
  }
}

@keyframes panel-drop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   14. Footer
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--moss);
  border-top: var(--edge) solid var(--char);
  color: var(--fog);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--gold) 0 28%,
    var(--lime) 28% 64%,
    var(--cyan) 64% 100%
  );
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 84px) var(--pad) clamp(30px, 4vw, 52px);
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1.25fr 1fr 1.25fr;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__mark {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.05;
  color: var(--fog);
}

.site-footer__tagline {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--grey);
  max-width: 24ch;
  line-height: 1.7;
}

.site-footer__note {
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--grey);
}

.site-footer__brand .site-footer__note {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 12px;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  width: fit-content;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  align-content: start;
}

.footer-col__title {
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--slate);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.2;
  color: var(--gold);
  text-transform: uppercase;
}

.footer-col__list {
  display: grid;
  gap: 10px;
}

.footer-col__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--fog);
  transition: color 0.16s var(--ease);
}

.footer-col__link::before {
  content: "";
  display: block;
  width: 12px;
  height: 2px;
  background: var(--slate);
  flex: 0 0 auto;
  transition: background-color 0.16s var(--ease);
}

.footer-col__link:hover {
  color: var(--lime);
}

.footer-col__link:hover::before {
  background: var(--lime);
}

.site-footer__contact {
  display: block;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  padding: 9px 0;
  border-bottom: 2px solid rgba(18, 59, 51, 0.85);
  font-size: 14px;
  line-height: 1.6;
}

.contact-row__key {
  flex: 0 0 auto;
  min-width: 44px;
  padding-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--cyan);
  text-transform: uppercase;
}

.contact-row__val {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fog);
  overflow-wrap: anywhere;
}

.site-footer__contact .site-footer__note {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--slate);
}

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 18px var(--pad) 28px;
  border-top: 2px solid var(--slate);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--grey);
}

.site-footer__copy {
  color: var(--grey);
}

.site-footer__icp {
  color: var(--grey);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

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

.site-footer__legal-link:hover {
  color: var(--gold);
}

@media (max-width: 640px) {
  .site-footer__base {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-footer__legal {
    margin-left: 0;
    gap: 14px;
  }
}

/* ============================================================
   15. Reduced motion
   ============================================================ */
@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;
  }

  .command-bar__dot {
    animation: none;
    box-shadow: 0 0 0 3px rgba(182, 255, 59, 0.22);
  }

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