/* =========================================================
   球赛平台站 · /assets/site.css
   共享外壳：reset、变量、排版、头部、页脚、通用组件
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
main { display: block; }
[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --night: #071A14;
  --carbon: #111312;
  --paper: #F2EAD8;
  --mid: #14352A;
  --turf: #B8FF3D;
  --yellow: #FFD447;
  --orange: #FF7A3D;
  --line: #8BA398;
  --mist: #F7F5EF;
  --paper-shadow: #D8CDB6;

  --ink: #111312;
  --on-dark: #F2EAD8;
  --on-dark-dim: #8BA398;

  --font-display: "Archivo Black", "Arial Black", "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-body: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "DIN Alternate", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --header-h: 86px;
  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 3rem);

  --bd-thick: 3px solid var(--carbon);
  --bd-dark: 2px solid var(--mid);
  --bd-paperline: 1px solid var(--paper-shadow);
  --shadow-hard: 8px 8px 0 rgba(17, 19, 18, 0.9);
  --shadow-hard-sm: 4px 4px 0 rgba(17, 19, 18, 0.9);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-ui: 200ms;
  --dur-panel: 300ms;
}

/* ---------- 3. Base typography ---------- */
body {
  background-color: var(--night);
  background-image:
    linear-gradient(to right, rgba(139, 163, 152, 0.09) 1px, transparent 1px);
  background-size: 96px 100%;
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: clamp(16px, 0.5vw + 14.5px, 18px);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 0.98; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.55rem); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }

p { max-width: 68ch; }

::selection { background: var(--turf); color: var(--carbon); }

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

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

.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper h1,
.section--paper h2,
.section--paper h3 { color: var(--carbon); }

.grid { display: grid; gap: clamp(1rem, 2vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.underlap {
  margin-top: calc(var(--header-h) * -1);
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem));
}

.surface-paper {
  background: var(--paper);
  color: var(--ink);
  border: var(--bd-thick);
  box-shadow: var(--shadow-hard);
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
}

.rule {
  border: 0;
  border-top: var(--bd-paperline);
  margin-block: 1.25rem;
}

/* ---------- 5. Type utilities ---------- */
.mono {
  font-family: var(--font-mono);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--turf);
}

.section--paper .eyebrow { color: var(--mid); }

.annot {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--line);
  text-transform: uppercase;
}

.annot-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--line);
  text-transform: uppercase;
}

.lead {
  font-size: clamp(1.02rem, 1.15vw, 1.18rem);
  line-height: 1.7;
  color: var(--mist);
  max-width: 46ch;
}

.text-dim { color: var(--on-dark-dim); }
.section--paper .text-dim { color: #4A5F55; }

/* ---------- 6. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  padding: 0.8rem 1.15rem;
  background: var(--turf);
  color: var(--carbon);
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-140%);
  transition: transform var(--dur-ui) var(--ease);
}
.skip-link:focus,
.skip-link:focus-visible { transform: translateY(0); }

/* ---------- 7. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(180deg, rgba(7, 26, 20, 0.92) 0%, rgba(7, 26, 20, 0.55) 62%, rgba(7, 26, 20, 0) 100%);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--dur-ui) var(--ease),
    border-color var(--dur-ui) var(--ease),
    box-shadow var(--dur-ui) var(--ease),
    background-image var(--dur-ui) var(--ease);
}

.site-header.is-solid {
  background-color: var(--night);
  background-image: none;
  border-bottom-color: var(--mid);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--turf);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.header-rail {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-inline: var(--gutter);
}

/* brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 3px solid var(--turf);
  display: grid;
  place-items: center;
  transition: transform 240ms var(--ease), background-color 240ms var(--ease);
}
.brand-mark::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--turf);
  transition: background-color 240ms var(--ease);
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(45deg);
  background: var(--turf);
}
.brand:hover .brand-mark::before,
.brand:focus-visible .brand-mark::before { background: var(--night); }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--paper);
}
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turf);
}

/* navigation */
.site-nav { margin-left: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.4vw, 1.5rem);
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 0.55rem 0.2rem 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
  transition: color var(--dur-ui) var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 3px;
  background: var(--turf);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--dur-ui) var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--turf); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }

.nav-link[aria-current="page"] { color: var(--turf); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.nav-mobile-extra { display: none; }
.nav-note {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--line);
  max-width: 100%;
}

/* header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
}

/* toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.7rem;
  background: transparent;
  border: 2px solid var(--line);
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease);
}
.nav-toggle:hover { border-color: var(--turf); color: var(--turf); }

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--dur-ui) var(--ease), opacity var(--dur-ui) var(--ease);
}
.nav-toggle.is-open .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- 8. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.15rem;
  border: 2px solid transparent;
  background: var(--mid);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform var(--dur-ui) var(--ease),
    background-color var(--dur-ui) var(--ease),
    border-color var(--dur-ui) var(--ease),
    color var(--dur-ui) var(--ease),
    box-shadow var(--dur-ui) var(--ease);
}

.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn-primary {
  background: var(--turf);
  color: var(--carbon);
  border-color: var(--carbon);
  box-shadow: 4px 4px 0 rgba(17, 19, 18, 0.85);
}
.btn-primary:hover { box-shadow: 6px 6px 0 rgba(17, 19, 18, 0.9); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--turf); color: var(--turf); }

.btn-amber {
  background: var(--yellow);
  color: var(--carbon);
  border-color: var(--carbon);
  box-shadow: 4px 4px 0 rgba(17, 19, 18, 0.85);
}

.btn-sm { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- 9. Tags & chips ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 2px solid var(--line);
  color: var(--line);
  background: transparent;
}
.tag--turf { border-color: var(--turf); color: var(--turf); }
.tag--amber { border-color: var(--yellow); color: var(--yellow); }
.tag--orange { border-color: var(--orange); color: var(--orange); }

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--line);
  background: transparent;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: background-color var(--dur-ui) var(--ease), color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
}
.chip:hover { border-color: var(--turf); color: var(--turf); }
.chip[aria-pressed="true"] {
  background: var(--turf);
  border-color: var(--turf);
  color: var(--carbon);
}

/* ---------- 10. Breadcrumbs ---------- */
.crumbs {
  padding-block: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--line);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.crumbs li { display: inline-flex; align-items: center; gap: 0.5rem; }
.crumbs li + li::before { content: "/"; color: var(--mid); }
.crumbs a { color: var(--line); border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--turf); border-bottom-color: var(--turf); }
.crumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 11. Media frame (image base) ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--mid);
  background-image:
    repeating-linear-gradient(0deg, rgba(184, 255, 61, 0.07) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(184, 255, 61, 0.07) 0 1px, transparent 1px 28px);
  border: 2px solid var(--carbon);
  box-shadow: var(--shadow-hard-sm);
}
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.media-frame--wide { aspect-ratio: 21 / 9; }
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame--square { aspect-ratio: 1 / 1; }

.media-caption {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--line);
}
.section--paper .media-caption { color: #4A5F55; }

/* ---------- 12. Disclosure group ---------- */
.disclosure {
  border: 2px solid var(--carbon);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-hard-sm);
}
.disclosure + .disclosure { margin-top: 0.9rem; }

.disclosure-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.15rem;
  background: transparent;
  border: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.disclosure-toggle:hover { background: rgba(20, 53, 42, 0.07); }

.disclosure-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 2px solid var(--carbon);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1;
  transition: transform var(--dur-ui) var(--ease), background-color var(--dur-ui) var(--ease);
}
.disclosure[data-open="true"] .disclosure-icon {
  transform: rotate(45deg);
  background: var(--turf);
}

.disclosure-panel {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition:
    max-height var(--dur-panel) var(--ease),
    visibility 0s linear var(--dur-panel);
}
.disclosure[data-open="true"] .disclosure-panel {
  visibility: visible;
  transition:
    max-height var(--dur-panel) var(--ease),
    visibility 0s;
}
.disclosure-panel-inner {
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px dashed var(--paper-shadow);
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2A3A33;
}

/* ---------- 13. To top ---------- */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--turf);
  color: var(--carbon);
  border: 3px solid var(--carbon);
  box-shadow: 4px 4px 0 rgba(17, 19, 18, 0.85);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--dur-ui) var(--ease), background-color var(--dur-ui) var(--ease);
}
.to-top:hover { transform: translate(-2px, -2px); background: var(--yellow); }

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(3rem, 7vw, 6rem);
  background-color: var(--night);
  background-image: linear-gradient(180deg, rgba(20, 53, 42, 0.55) 0%, rgba(7, 26, 20, 0) 42%);
  border-top: 4px solid var(--turf);
  color: var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(2.25rem, 5vw, 3.75rem);
}

.footer-brand { display: flex; flex-direction: column; gap: 0.85rem; }

.brand--footer .brand-mark { width: 40px; height: 40px; }
.brand--footer .brand-name { font-size: 1.3rem; }

.footer-line {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--mist);
  max-width: 24ch;
  line-height: 1.35;
}
.footer-note {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--on-dark-dim);
  max-width: 30ch;
}
.footer-badge {
  align-self: flex-start;
  padding: 0.22rem 0.6rem;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-col { display: flex; flex-direction: column; gap: 0.9rem; }

.footer-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--turf);
}

.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a {
  display: inline-block;
  font-size: 0.95rem;
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: color var(--dur-ui) var(--ease), border-color var(--dur-ui) var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--turf); border-bottom-color: var(--turf); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-item { display: grid; gap: 0.15rem; }
.footer-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--line);
}
.footer-value {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--mist);
  overflow-wrap: anywhere;
}

.footer-tip {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--line);
  max-width: 34ch;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.75rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--mid);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--line);
}
.footer-copy,
.footer-icp { max-width: none; }
.footer-icp { color: var(--mist); }
.footer-tip--inline { max-width: none; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-note { max-width: 48ch; }
}

@media (max-width: 1000px) {
  :root { --header-h: 72px; }

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

  .nav-toggle { display: inline-flex; margin-left: auto; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    margin-left: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 3rem;
    overflow-y: auto;
    background-color: var(--night);
    border-top: 2px solid var(--mid);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity var(--dur-ui) var(--ease),
      transform var(--dur-ui) var(--ease),
      visibility 0s linear var(--dur-ui);
  }
  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition:
      opacity var(--dur-ui) var(--ease),
      transform var(--dur-ui) var(--ease),
      visibility 0s;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.25rem;
    font-size: 1.15rem;
    font-weight: 800;
    border-bottom: 1px solid var(--mid);
  }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] {
    color: var(--turf);
    padding-left: 0.7rem;
    border-left: 4px solid var(--turf);
  }

  .nav-mobile-extra { display: flex; flex-direction: column; gap: 0.75rem; }

  .header-actions .btn-ghost { display: none; }

  html.is-nav-open,
  html.is-nav-open body { overflow: hidden; }
}

@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid--2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  :root { --header-h: 66px; }

  body { background-size: 64px 100%; }

  .header-actions { display: none; }
  .header-rail { gap: 0.75rem; }
  .brand-name { font-size: 1rem; }
  .brand-tag { font-size: 0.56rem; letter-spacing: 0.12em; }
  .nav-toggle-text { display: none; }

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

  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .footer-tip--inline { display: none; }

  .to-top { width: 44px; height: 44px; }
}

/* ---------- 16. Reduced motion ---------- */
@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;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .btn:hover,
  .to-top:hover,
  .brand:hover .brand-mark { transform: none; }
}
