/* ============================================================
   /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 {
  margin: 0;
}

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

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

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

a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #071C16;
  --ink-deep: #04100D;
  --stone: #2B3833;
  --moss: #4E6B58;
  --cream: #F2EDE2;
  --gold: #D9A94E;
  --lime: #B8F24B;
  --magenta: #E23B7B;
  --mist: #79D6C4;
  --clay: #B76B4B;
  --ash: #C9C4B8;

  --rail: 80px;
  --maxw: 1280px;
  --header-h: 76px;
  --gutter: clamp(16px, 4vw, 48px);

  --radius: 18px;
  --radius-sm: 10px;
  --cut: 2px 14px 2px 14px;

  --line: rgba(201, 196, 184, 0.16);
  --line-strong: rgba(201, 196, 184, 0.32);

  --font-display: 'Barlow Condensed', 'DIN Condensed', 'Noto Sans SC', 'Source Han Sans SC', system-ui, sans-serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', 'SFMono-Regular', ui-monospace, Menlo, monospace;
}

/* ---------- 3. 基础排版 ---------- */
body {
  min-height: 100vh;
  overflow-x: clip;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6.4vw, 5.75rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.875rem); }
h3 { font-size: clamp(1.125rem, 1.6vw, 1.5rem); line-height: 1.25; }
h4 { font-size: clamp(1rem, 1.2vw, 1.1875rem); line-height: 1.3; }

strong { font-weight: 700; color: var(--cream); }

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

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 3px;
}

.sr-only {
  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: 12px 20px;
  background: var(--lime);
  color: var(--ink-deep);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: var(--cut);
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 4. 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.72em 1.25em;
  border: 1px solid transparent;
  border-radius: var(--cut);
  background: var(--stone);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.2s ease, color 0.2s ease,
              border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--gold);
  color: var(--ink-deep);
  box-shadow: 0 12px 28px -18px rgba(217, 169, 78, 0.95);
}
.btn--gold:hover { background: var(--lime); color: var(--ink-deep); }

.btn--lime {
  background: var(--lime);
  color: var(--ink-deep);
}
.btn--lime:hover { background: var(--cream); }

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cream);
}
.btn--ghost:hover {
  background: rgba(184, 242, 75, 0.08);
  border-color: var(--lime);
  color: var(--lime);
}

/* ---------- 5. 通用组件 ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 840px; }

.section { padding-block: clamp(48px, 7vw, 104px); }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash);
}
.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 1px;
}
.eyebrow--gold::before { background: var(--gold); }
.eyebrow--magenta::before { background: var(--magenta); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.26em 0.72em;
  border: 1px solid var(--line);
  border-radius: 2px 9px 2px 9px;
  background: rgba(78, 107, 88, 0.38);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}
.tag--lime {
  background: rgba(184, 242, 75, 0.14);
  border-color: rgba(184, 242, 75, 0.42);
  color: var(--lime);
}
.tag--gold {
  background: rgba(217, 169, 78, 0.16);
  border-color: rgba(217, 169, 78, 0.44);
  color: var(--gold);
}
.tag--magenta {
  background: rgba(226, 59, 123, 0.14);
  border-color: rgba(226, 59, 123, 0.46);
  color: var(--magenta);
}
.tag--clay {
  background: rgba(183, 107, 75, 0.18);
  border-color: rgba(183, 107, 75, 0.46);
  color: #D08A69;
}
.tag--mist {
  background: rgba(121, 214, 196, 0.14);
  border-color: rgba(121, 214, 196, 0.42);
  color: var(--mist);
}

.rule {
  position: relative;
  height: 1px;
  margin-block: clamp(24px, 3vw, 40px);
  border: 0;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.rule::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 44px;
  height: 7px;
  background-image: repeating-linear-gradient(90deg, var(--moss) 0 1px, transparent 1px 6px);
  opacity: 0.85;
}

.panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(43, 56, 51, 0.92), rgba(7, 28, 22, 0.94));
}
.panel--flush {
  padding: 0;
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5em;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--ash);
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.breadcrumbs li + li::before {
  content: "/";
  color: var(--moss);
}
.breadcrumbs a {
  color: var(--ash);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.breadcrumbs a:hover {
  color: var(--lime);
  border-color: var(--lime);
}
.breadcrumbs [aria-current="page"] { color: var(--cream); }

.prose {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.85;
  color: var(--cream);
}
.prose p { max-width: 38em; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; margin-bottom: 0.6em; }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.5em; }
.prose ul, .prose ol {
  margin-block: 1em;
  padding-left: 1.25em;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose a {
  color: var(--lime);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 242, 75, 0.45);
}
.prose a:hover { border-color: var(--lime); }
.prose blockquote {
  margin-block: 1.4em;
  padding: 0.2em 0 0.2em 1.1em;
  border-left: 3px solid var(--clay);
  color: var(--ash);
}
.prose--paper {
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 30px 60px -48px #000;
}
.prose--paper h2, .prose--paper h3, .prose--paper strong { color: var(--ink); }
.prose--paper a { color: var(--moss); border-color: rgba(78, 107, 88, 0.5); }
.prose--paper blockquote { color: var(--stone); }

/* 图片容器基础规则（页面阶段放入占位图） */
.media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, var(--stone), var(--ink-deep));
}
.media img,
.media video,
.media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media--16-9 { aspect-ratio: 16 / 9; }
.media--4-3 { aspect-ratio: 4 / 3; }
.media--1-1 { aspect-ratio: 1 / 1; }
.media--3-4 { aspect-ratio: 3 / 4; }
.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(4, 16, 13, 0.88), transparent);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

/* 可访问标签页 */
.tabs { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--cut);
  background: rgba(43, 56, 51, 0.5);
}
.tabs__btn {
  position: relative;
  appearance: none;
  border: 0;
  border-radius: var(--cut);
  padding: 10px 16px;
  background: transparent;
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.tabs__btn:hover { color: var(--cream); background: rgba(78, 107, 88, 0.36); }
.tabs__btn[aria-selected="true"] {
  background: var(--lime);
  color: var(--ink-deep);
}
.tabs__btn[aria-selected="true"]:hover { background: var(--lime); color: var(--ink-deep); }
.tabs__panel { outline-offset: 6px; }
.tabs__panel[hidden] { display: none; }

/* 滚动显现 */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-revealed] {
  opacity: 1;
  transform: none;
}

/* ---------- 6. 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(4, 16, 13, 0.62), rgba(4, 16, 13, 0));
  transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header[data-scrolled="true"] {
  background: rgba(7, 28, 22, 0.95);
  border-bottom-color: var(--line-strong);
  box-shadow: 0 22px 44px -36px #000;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  width: 100%;
  max-width: var(--maxw);
  min-height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.site-header__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--lime) 62%, var(--mist));
  pointer-events: none;
  transition: transform 0.12s linear;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  padding-block: 10px;
  color: var(--cream);
  text-decoration: none;
}
.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 32px;
  border: 2px solid var(--lime);
  border-radius: 3px 10px 3px 10px;
  background: rgba(4, 16, 13, 0.6);
  box-shadow: inset 0 0 12px rgba(184, 242, 75, 0.16);
}
.brand__mark::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  right: 5px;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
}
.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cream);
}
.brand__slogan {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--ash);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 22px);
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.7vw, 10px);
  flex-wrap: nowrap;
}
.site-nav__item { display: block; }
.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 2px 10px 2px 10px;
  color: var(--ash);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav__link:hover {
  color: var(--cream);
  background: rgba(78, 107, 88, 0.32);
}
.site-nav__idx {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--moss);
  transition: color 0.2s ease;
}
.site-nav__link:hover .site-nav__idx { color: var(--gold); }
.site-nav__link[aria-current="page"] { color: var(--lime); }
.site-nav__link[aria-current="page"] .site-nav__idx { color: var(--lime); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
}

.site-nav__cta { display: none; }

.site-header__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.site-header__cta { padding: 0.62em 1.1em; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px 12px 2px 12px;
  background: rgba(43, 56, 51, 0.65);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.nav-toggle:hover {
  border-color: var(--lime);
  background: rgba(78, 107, 88, 0.5);
}
.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--cream);
  transition: transform 0.25s ease, opacity 0.2s ease, background-color 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--lime);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--lime);
}

.nav-scrim {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 0;
  background: rgba(4, 16, 13, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-scrim[data-open] {
  opacity: 1;
  pointer-events: auto;
}

/* ---------- 7. 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 10vw, 140px);
  border-top: 1px solid var(--line-strong);
  background: var(--ink-deep);
  color: var(--ash);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--lime) 42%, var(--mist) 68%, var(--magenta));
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.9fr 1.3fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 80px) var(--gutter) clamp(32px, 4vw, 52px);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cream);
}
.footer-brand__slogan {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--lime);
}
.footer-brand__note {
  margin-top: 12px;
  max-width: 24em;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--ash);
}

.footer-short {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.footer-short__link {
  padding: 0.34em 0.78em;
  border: 1px solid var(--moss);
  border-radius: 2px 10px 2px 10px;
  background: rgba(78, 107, 88, 0.24);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.footer-short__link:hover {
  border-color: var(--lime);
  background: rgba(184, 242, 75, 0.12);
  color: var(--lime);
}

.footer-col__title {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--moss);
}

.footer-list {
  display: grid;
  gap: 9px;
  align-content: start;
}
.footer-link {
  display: inline-block;
  color: var(--ash);
  font-size: 0.9375rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.footer-col--contact .footer-list { gap: 12px; }
.footer-contact__item {
  display: grid;
  gap: 2px;
}
.footer-contact__label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--moss);
}
.footer-contact__value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--cream);
  overflow-wrap: anywhere;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 20px var(--gutter) 36px;
  border-top: 1px solid var(--line);
}
.footer-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ash);
}
.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--moss);
}

/* ---------- 8. 响应式 ---------- */
@media (max-width: 1180px) {
  .brand__slogan { display: none; }
  .site-nav__link { padding: 10px 8px; }
}

@media (max-width: 1040px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: min(340px, 88vw);
    margin-left: 0;
    padding: 24px 22px 44px;
    overflow-y: auto;
    border-left: 1px solid var(--line-strong);
    background: linear-gradient(170deg, #0B241C, var(--ink-deep));
    transform: translateX(103%);
    visibility: hidden;
    transition: transform 0.32s ease, visibility 0.32s ease;
  }
  .site-nav[data-open] {
    transform: translateX(0);
    visibility: visible;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex-wrap: nowrap;
  }
  .site-nav__link {
    padding: 15px 12px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .site-nav__idx { font-size: 0.6875rem; }
  .site-nav__link[aria-current="page"]::after {
    left: auto;
    right: 12px;
    top: 50%;
    bottom: auto;
    width: 18px;
    height: 2px;
    transform: translateY(-50%);
  }
  .site-nav__cta {
    display: inline-flex;
    justify-content: center;
    margin-top: 4px;
  }

  .grid--4-8,
  .grid--3-9,
  .grid--3,
  .grid--2 { grid-template-columns: minmax(0, 1fr); }

  .footer-short { margin-top: 16px; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .brand__mark { width: 22px; height: 28px; }
  .brand__name { font-size: 1.125rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .tabs__btn { padding: 9px 12px; font-size: 0.75rem; }
}

@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 { transform: none; }
  .site-header__progress { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
