/* =========================================================
   浩瀚体育 /assets/site.css
   夜航年鉴：深海蓝夜幕 · 电光青数据光点 · 炽热橙红行动色
   ========================================================= */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-900: #04121F;
  --ink-800: #071A29;
  --ink-700: #0A2233;
  --ink-500: #123A52;
  --cyan: #2FE0D0;
  --cyan-soft: #8CF3E8;
  --ember: #FF5A2E;
  --ember-deep: #C3310B;
  --sand: #E8D6B8;
  --mist: #F4F8FA;
  --fog: #9FB4C0;

  --line-cy: rgba(47, 224, 208, 0.22);
  --line-faint: rgba(159, 180, 192, 0.16);
  --line-ink: rgba(18, 58, 82, 0.85);

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace;

  --shell-w: 1220px;
  --grid: 24px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 0px;
}

/* ---------- 3. Base ---------- */
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.85;
  color: var(--mist);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(1100px 640px at 78% -14%, rgba(47, 224, 208, 0.10), transparent 68%),
    radial-gradient(760px 520px at 6% 2%, rgba(255, 90, 46, 0.07), transparent 70%),
    linear-gradient(to right, rgba(18, 58, 82, 0.42) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 58, 82, 0.42) 1px, transparent 1px);
  background-size: auto, auto, var(--grid) var(--grid), var(--grid) var(--grid);
  background-attachment: fixed, fixed, fixed, fixed;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(244, 248, 250, 0.05) 1px, transparent 1px);
  background-size: 5px 5px;
}
main { display: block; position: relative; z-index: 1; }

h1, h2, h3, h4 { font-weight: 900; line-height: 1.24; letter-spacing: -0.01em; color: var(--mist); }
h1 { font-size: clamp(38px, 6vw, 74px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
h4 { font-size: 18px; font-weight: 800; }
strong { font-weight: 800; }
::selection { background: var(--cyan); color: var(--ink-900); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
section[id], h2[id], h3[id] { scroll-margin-top: 132px; }

/* ---------- 4. Layout utilities ---------- */
.shell {
  width: 100%;
  max-width: var(--shell-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--grid); }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }

.section { padding-block: clamp(48px, 7vw, 96px); position: relative; }
.section--tight { padding-block: clamp(30px, 4vw, 56px); }
.section--band {
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.92), rgba(4, 18, 31, 0.55));
  border-block: 1px solid var(--line-faint);
}
.section-head { display: grid; gap: 14px; max-width: 60ch; margin-bottom: 34px; }
.section-lede { color: var(--fog); max-width: 40em; }
.divider { height: 1px; background: var(--line-faint); border: 0; margin-block: 32px; }

/* ---------- 5. Text & data atoms ---------- */
.mono, .num { font-family: var(--font-mono); font-feature-settings: "tnum" 1; letter-spacing: 0.02em; }
.num { color: var(--cyan); font-weight: 700; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--sand);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--sand); }
.lede { font-size: 18px; color: var(--fog); max-width: 38em; }
.aside-note {
  border-left: 2px solid var(--sand);
  padding: 4px 0 4px 14px;
  font-size: 14px;
  color: var(--fog);
}
.tag {
  display: inline-block;
  padding: 3px 9px;
  border: 1px solid rgba(232, 214, 184, 0.45);
  color: var(--sand);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.tag--cyan { border-color: rgba(47, 224, 208, 0.5); color: var(--cyan-soft); }
.tag--ember { border-color: rgba(255, 90, 46, 0.55); color: #FF8A66; }

.prose { max-width: 46em; }
.prose p { max-width: 38em; color: var(--mist); }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(24px, 3vw, 32px); }
.prose h3 { margin-top: 1.5em; }
.prose ul { margin-top: 1em; display: grid; gap: 0.5em; }
.prose li { position: relative; padding-left: 20px; color: var(--fog); }
.prose li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 9px; height: 1px; background: var(--cyan); }
.prose a { color: var(--cyan-soft); border-bottom: 1px solid rgba(47, 224, 208, 0.4); }
.prose a:hover { color: var(--mist); border-bottom-color: var(--cyan); }

.breadcrumb { font-family: var(--font-mono); font-size: 12px; color: var(--fog); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: rgba(159, 180, 192, 0.5); }
.breadcrumb a:hover { color: var(--cyan-soft); }
.breadcrumb [aria-current="page"] { color: var(--sand); }

.card {
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.72), rgba(4, 18, 31, 0.72));
  border: 1px solid var(--ink-500);
  padding: 22px 20px;
  transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.card:hover, .card:focus-within { border-color: var(--cyan); transform: translateY(-2px); }
.card__title { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.card__meta { font-family: var(--font-mono); font-size: 12px; color: var(--fog); letter-spacing: 0.06em; }

.stat { display: grid; gap: 6px; }
.stat__num { font-family: var(--font-mono); font-size: clamp(34px, 5.2vw, 54px); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--cyan); }
.stat__label { font-size: 13px; color: var(--fog); }

.data-table { width: 100%; font-size: 14px; border: 1px solid var(--ink-500); }
.data-table th, .data-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--ink-500); }
.data-table th { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--sand); background: var(--ink-700); font-weight: 500; }
.data-table tbody tr:hover { background: rgba(47, 224, 208, 0.05); }
.data-table__num { font-family: var(--font-mono); color: var(--cyan); text-align: right; }

/* ---------- 6. Buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--ember { background: var(--ember); border-color: var(--ember); color: var(--ink-900); }
.btn--ember:hover { background: var(--ember-deep); border-color: var(--ember-deep); color: var(--mist); }
.btn--ghost { background: rgba(47, 224, 208, 0.05); border-color: rgba(47, 224, 208, 0.45); color: var(--cyan-soft); }
.btn--ghost:hover { background: rgba(47, 224, 208, 0.14); border-color: var(--cyan); color: var(--mist); }
.btn--sand { background: transparent; border-color: rgba(232, 214, 184, 0.4); color: var(--sand); }
.btn--sand:hover { border-color: var(--sand); background: rgba(232, 214, 184, 0.1); }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--line-faint);
  font-size: 13px;
  color: var(--fog);
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}
.chip:hover { color: var(--cyan-soft); border-color: var(--cyan); background: rgba(47, 224, 208, 0.08); }

/* ---------- 7. Media frames ---------- */
.figure { margin: 0; border: 1px solid var(--ink-500); background: var(--ink-700); }
.figure__frame { position: relative; overflow: hidden; background: var(--ink-700); }
.figure__frame > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.94) contrast(1.06); }
.figure--16x9 .figure__frame { aspect-ratio: 16 / 9; }
.figure--4x3 .figure__frame { aspect-ratio: 4 / 3; }
.figure--1x1 .figure__frame { aspect-ratio: 1 / 1; }
.figure--21x9 .figure__frame { aspect-ratio: 21 / 9; }
.figure--portrait .figure__frame { aspect-ratio: 3 / 4; }
.figure--glow .figure__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 80% 8%, rgba(47, 224, 208, 0.24), transparent 62%);
}
.figure--ember .figure__frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 10% 92%, rgba(255, 90, 46, 0.22), transparent 64%);
}
.figure__ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background-image: repeating-linear-gradient(45deg, rgba(18, 58, 82, 0.6) 0 1px, transparent 1px 11px);
  color: var(--fog);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
}
.figure__cap {
  display: block;
  padding: 10px 12px;
  border-top: 1px solid var(--ink-500);
  background: rgba(4, 18, 31, 0.65);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fog);
  letter-spacing: 0.04em;
}

/* ---------- 8. Round rail ---------- */
.tick-rail {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
  pointer-events: none;
}
.tick-rail__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fog);
}
.tick-rail__item::before { content: ""; width: 14px; height: 1px; background: currentColor; }
.tick-rail__item[aria-current="true"] { color: var(--cyan); }

/* ---------- 9. Header ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--cyan);
  color: var(--ink-900);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(4, 18, 31, 0.95);
  border-bottom: 1px solid var(--line-cy);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}
.brand-block { display: flex; align-items: center; gap: 16px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  position: relative;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 1px solid var(--cyan);
  background-image: radial-gradient(circle at 74% 26%, var(--ember) 2.5px, transparent 3px);
}
.brand__mark::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: rgba(47, 224, 208, 0.55); transform: translateY(-50%);
}
.brand__mark::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px; background: rgba(47, 224, 208, 0.55); transform: translateX(-50%);
}
.brand__name { font-size: 19px; font-weight: 900; letter-spacing: 0.08em; color: var(--mist); }
.brand:hover .brand__name { color: var(--cyan-soft); }
.brand__line {
  padding-left: 16px;
  border-left: 1px solid var(--line-cy);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sand);
  white-space: nowrap;
}

.topbar__actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-cy);
  color: var(--cyan-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.icon-btn:hover { border-color: var(--cyan); background: rgba(47, 224, 208, 0.1); color: var(--mist); }
.icon-btn[aria-expanded="true"] { border-color: var(--cyan); background: rgba(47, 224, 208, 0.14); color: var(--mist); }
.icon-btn__glyph { position: relative; width: 12px; height: 12px; border: 1px solid currentColor; }
.icon-btn__glyph::after {
  content: ""; position: absolute; right: -5px; bottom: -4px;
  width: 7px; height: 1px; background: currentColor; transform: rotate(45deg);
}
.icon-btn__text { line-height: 1; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line-cy);
  color: var(--mist);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.nav-toggle:hover { border-color: var(--cyan); background: rgba(47, 224, 208, 0.1); }
.nav-toggle__bars { position: relative; width: 16px; height: 10px; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1px;
  background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before { top: 2px; }
.nav-toggle__bars::after { bottom: 2px; }

/* ---------- 10. Search panel ---------- */
.search-panel {
  display: block;
  border-top: 1px solid var(--line-cy);
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.98), rgba(4, 18, 31, 0.98));
}
.search-panel__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
  padding-block: 22px 24px;
}
.search-field__label {
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--sand);
}
.search-panel__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line-faint);
}
.search-note { font-size: 13px; color: var(--fog); }

/* ---------- 11. Nav ---------- */
.site-nav {
  border-top: 1px solid var(--line-faint);
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.86), rgba(4, 18, 31, 0.55));
  position: relative;
}
.site-nav::after {
  content: "";
  display: block;
  height: 5px;
  background-image: repeating-linear-gradient(to right, rgba(159, 180, 192, 0.32) 0 1px, transparent 1px 12px);
}
.site-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-nav__list { display: flex; flex-wrap: wrap; align-items: stretch; gap: 2px; }
.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 2px solid transparent;
  font-size: 15px;
  font-weight: 700;
  color: var(--fog);
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.site-nav__link:hover { color: var(--mist); background: rgba(47, 224, 208, 0.07); border-bottom-color: rgba(47, 224, 208, 0.55); }
.site-nav__link:focus-visible { outline-offset: -2px; }
.site-nav__link[aria-current="page"] { color: var(--mist); background: rgba(232, 214, 184, 0.07); border-bottom-color: var(--sand); }
.site-nav__idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0; color: var(--cyan); }
.site-nav__link[aria-current="page"] .site-nav__idx { color: var(--sand); }
.site-nav__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fog);
  white-space: nowrap;
}
.site-nav__meta .mono { color: var(--cyan); }

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan), var(--sand) 62%, var(--ember));
}

/* ---------- 12. Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line-cy);
  background: linear-gradient(180deg, rgba(10, 34, 51, 0.94), rgba(4, 18, 31, 1));
}
.site-footer__inner { padding-block: 52px 28px; }
.site-footer__masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line-faint);
}
.footer-brand__name { font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: 0.08em; }
.footer-brand__line { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--sand); }
.footer-brand__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: var(--fog);
  text-align: right;
}
.footer-brand__meta .mono { color: var(--cyan); }

.site-footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 24px; }
.footer-col__title {
  padding-bottom: 8px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--sand);
}
.footer-col__list li + li { margin-top: 9px; }
.footer-col__list a { font-size: 14px; color: var(--fog); transition: color 0.18s ease; }
.footer-col__list a:hover { color: var(--cyan-soft); }
.footer-col__list a[aria-current="page"] { color: var(--sand); }

.footer-contact li { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: 14px; color: var(--fog); }
.footer-contact li + li { margin-top: 9px; }
.footer-contact__k { flex: 0 0 auto; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--sand); }
.footer-contact__v { overflow-wrap: anywhere; }

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid var(--line-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--fog);
}
.footer-icp { color: var(--sand); }
.footer-copy { color: var(--fog); }

/* ---------- 13. Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 0.4s ease, transform 0.4s ease; }
  .js [data-reveal].is-revealed { opacity: 1; transform: none; }
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1279px) {
  .tick-rail { display: none; }
}
@media (max-width: 1023px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-panel__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8 { grid-column: span 12; }
}
@media (max-width: 899px) {
  body { font-size: 16px; }
  .nav-toggle { display: inline-flex; }
  .brand__line { display: none; }
  .site-header { position: sticky; }
  .topbar__inner { min-height: 58px; }

  .site-nav__inner { display: block; }
  .site-nav__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 0;
    padding-inline: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .site-nav__list li { flex: 0 0 auto; }
  .site-nav__link { padding: 11px 14px; font-size: 14px; }
  .site-nav__meta { display: none; }

  .site-header[data-open] .site-nav__list { flex-direction: column; flex-wrap: nowrap; overflow: visible; padding-inline: 0; }
  .site-header[data-open] .site-nav__list li { flex: 1 1 auto; width: 100%; }
  .site-header[data-open] .site-nav__link {
    justify-content: flex-start;
    padding: 15px var(--gutter);
    border-bottom: 1px solid var(--line-faint);
    border-left: 3px solid transparent;
  }
  .site-header[data-open] .site-nav__link[aria-current="page"] {
    border-left-color: var(--sand);
    border-bottom-color: var(--line-faint);
    background: rgba(232, 214, 184, 0.07);
  }
  .site-header[data-open] .site-nav__link:hover { border-left-color: rgba(47, 224, 208, 0.55); }

  .search-panel__inner { grid-template-columns: 1fr; max-height: 66vh; overflow-y: auto; }
}
@media (max-width: 719px) {
  .topbar__cta { display: none; }
  .icon-btn__text { display: none; }
  .icon-btn { width: 38px; padding: 0; justify-content: center; }
  .brand__name { font-size: 17px; }
  .site-footer__masthead { align-items: flex-start; }
  .footer-brand__meta { text-align: left; }
}
@media (max-width: 519px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .nav-toggle__text { display: none; }
  .nav-toggle { width: 38px; padding: 0; justify-content: center; }
  .site-footer__legal { flex-direction: column; align-items: flex-start; }
  .chip { font-size: 12px; padding: 5px 10px; }
  .data-table { display: block; overflow-x: auto; }
}

/* ---------- 15. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .card:hover, .card:focus-within { transform: none; }
  .scroll-progress { background: var(--cyan); }
}
