/* ============================================================
   足彩网竞彩 · 共享样式 /assets/site.css
   深蓝灰打底 + 竞彩绿锚点 + 活力橙状态色
   ============================================================ */

/* ---------- reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--green-500); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- tokens ---------- */
:root {
  --ink-900: #0C141C;
  --ink-800: #131F2A;
  --paper-050: #F4F7F4;
  --mist-400: #8C9BA8;
  --green-500: #10BF6C;
  --green-300: #6FE0A8;
  --orange-500: #FF7A29;
  --orange-200: #FFC79A;
  --slate-600: #2A3A49;
  --alert-400: #FFB020;

  --bg: var(--ink-900);
  --panel: var(--ink-800);
  --text: var(--paper-050);
  --muted: var(--mist-400);
  --line: var(--slate-600);
  --brand: var(--green-500);
  --accent: var(--orange-500);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --baseline: 24px;
  --radius: 10px;
  --radius-sm: 6px;

  --fs-12: 12px;
  --fs-14: 14px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-28: 28px;
  --fs-40: 40px;

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

  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* ---------- layout ---------- */
#main-content,
.site-main { flex: 1 0 auto; display: block; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid { display: grid; gap: var(--baseline); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.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-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

html.nav-open { overflow: hidden; }

/* ---------- text architecture ---------- */
.display {
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.lead {
  font-size: var(--fs-20);
  line-height: 1.7;
  color: var(--muted);
  max-width: 62ch;
}

.prose { max-width: 62ch; }
.prose p + p { margin-top: 16px; }
.prose a { color: var(--green-300); border-bottom: 1px solid var(--line); }
.prose a:hover { border-bottom-color: var(--green-500); }
.prose strong { font-weight: 700; color: var(--paper-050); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.rule { height: 1px; border: 0; margin: 0; background: var(--line); }
.rule--accent { height: 4px; width: 64px; background: var(--green-500); }

/* ---------- section head ---------- */
.section {
  padding-block: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
  margin-bottom: 20px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green-500);
}

.section-title {
  position: relative;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: var(--green-500);
}

.section-note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--muted);
}

/* ---------- buttons & chips ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--fs-14);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}

.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-500); color: var(--ink-900); }
.btn--primary:hover { background: var(--green-300); }
.btn--accent { background: var(--orange-500); color: var(--ink-900); }
.btn--accent:hover { background: var(--orange-200); }
.btn--ghost { border-color: var(--line); color: var(--paper-050); }
.btn--ghost:hover { border-color: var(--green-500); color: var(--green-300); }
.btn--sm { padding: 6px 12px; font-size: var(--fs-12); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-12);
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted);
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}

.chip--outline { color: var(--muted); border-color: var(--line); }
.chip--outline:hover { color: var(--paper-050); border-color: var(--green-500); }
.chip--time { color: var(--orange-500); border-color: var(--orange-500); }
.chip--time:hover { color: var(--ink-900); background: var(--orange-500); }
.chip--state { color: var(--green-300); border-color: var(--green-500); }
.chip--state:hover { color: var(--ink-900); background: var(--green-500); }
.chip--alert { color: var(--alert-400); border-color: var(--alert-400); }
.chip--alert:hover { color: var(--ink-900); background: var(--alert-400); }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--paper-050);
  color: var(--ink-900);
  font-size: var(--fs-14);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .16s var(--ease);
}

.skip-link:focus { top: 0; }

/* ---------- site header ---------- */
.site-header {
  --header-h: 64px;
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 20, 28, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  transition: border-color .16s var(--ease);
}

.site-header[data-condensed="true"] {
  --header-h: 52px;
  border-bottom-color: var(--green-500);
}

.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.progress-bar {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--green-500);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

.header-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: height .16s var(--ease);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: var(--green-500);
  color: var(--ink-900);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.brand-copy { display: flex; flex-direction: column; min-width: 0; }

.brand-name {
  font-size: var(--fs-16);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.site-header[data-condensed="true"] .brand-tag { display: none; }

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}

.nav-toggle:hover { border-color: var(--green-500); color: var(--green-300); }

.nav-toggle-bars { display: flex; flex-direction: column; gap: 3px; width: 16px; }

.nav-toggle-bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .16s var(--ease), opacity .16s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-toggle-text { font-size: var(--fs-14); font-weight: 700; }

/* primary nav (desktop) */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  min-width: 0;
}

.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { display: block; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 10px 11px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--muted);
  transition: color .16s var(--ease), background-color .16s var(--ease);
}

.nav-link:hover { color: var(--paper-050); background: var(--ink-800); }
.nav-label { font-weight: 700; }

.nav-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  opacity: .65;
}

.nav-link[aria-current="page"] {
  color: var(--paper-050);
  background: var(--ink-800);
}

.nav-link[aria-current="page"] .nav-index { color: var(--green-500); opacity: 1; }

.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--green-500);
}

.nav-link[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-500);
}

.nav-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* ---------- site footer ---------- */
.site-footer {
  position: relative;
  margin-top: auto;
  background: var(--panel);
  color: var(--paper-050);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 96px;
  height: 4px;
  background: var(--green-500);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: 32px;
  padding-block: 40px 32px;
}

.footer-brand { max-width: 48ch; }
.brand--footer { margin-bottom: 14px; }
.brand--footer .brand-mark { width: 28px; height: 28px; font-size: 14px; }

.footer-blurb {
  font-size: var(--fs-14);
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 18px;
}

.footer-contact { display: grid; gap: 8px; margin-bottom: 16px; }
.footer-contact li { display: flex; align-items: baseline; gap: 10px; font-size: var(--fs-14); }

.footer-contact-key {
  flex: 0 0 40px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--green-500);
}

.footer-contact-val { color: var(--paper-050); word-break: break-word; }

.footer-note {
  font-size: var(--fs-12);
  line-height: 1.7;
  color: var(--muted);
  max-width: 44ch;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-col-title {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--paper-050);
}

.footer-list { display: grid; gap: 10px; }
.footer-list a { font-size: var(--fs-14); color: var(--muted); transition: color .16s var(--ease); }
.footer-list a:hover { color: var(--green-300); }

.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-block: 16px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--muted);
}

.footer-legal { margin-right: auto; }
.footer-copy { margin: 0; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--ink-800);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s linear, color .16s var(--ease), border-color .16s var(--ease);
}

.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--paper-050); border-color: var(--green-500); }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--muted);
}

.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li + li::before { content: "/"; color: var(--slate-600); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green-300); }
.breadcrumb [aria-current="page"] { color: var(--paper-050); }

/* ---------- panels ---------- */
.panel {
  position: relative;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.panel--paper { background: var(--paper-050); color: var(--ink-900); border-color: var(--paper-050); }
.panel--paper .chip { border-color: rgba(12, 20, 28, .28); color: var(--ink-900); }
.panel--paper .chip--time { color: #9C4108; border-color: var(--orange-500); }

.panel--edge { overflow: hidden; }

.panel--edge::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 48px;
  background: var(--green-500);
}

/* ---------- media frames ---------- */
.media-frame {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: .35;
  pointer-events: none;
}

.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--wide { aspect-ratio: 16 / 9; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--diagonal { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); }

.media-frame__caption {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--muted);
}

/* ---------- index list ---------- */
.index-list { border-top: 1px solid var(--line); }

.index-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  transition: background-color .16s var(--ease);
}

.index-row:hover { background: var(--panel); }

.index-num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--green-500);
}

.index-title { font-size: var(--fs-16); font-weight: 700; color: var(--paper-050); }

.index-desc {
  display: block;
  margin-top: 4px;
  font-size: var(--fs-14);
  font-weight: 400;
  color: var(--muted);
}

.index-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--orange-500);
  white-space: nowrap;
}

/* ---------- timeline ---------- */
.timeline {
  position: relative;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink-900);
  border: 2px solid var(--green-500);
}

.timeline-time {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--orange-500);
}

.timeline-title { margin-top: 2px; font-size: var(--fs-16); font-weight: 700; }

.timeline-body {
  margin-top: 4px;
  max-width: 62ch;
  font-size: var(--fs-14);
  color: var(--muted);
}

/* ---------- stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat { padding: 16px; background: var(--panel); }

.stat-value {
  font-family: var(--font-mono);
  font-size: var(--fs-28);
  font-weight: 600;
  line-height: 1.1;
  color: var(--green-300);
}

.stat-label { margin-top: 6px; font-size: var(--fs-12); color: var(--muted); }

/* ---------- tabs ---------- */
.tabs { margin-top: 8px; }

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.tab {
  position: relative;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}

.tab:hover { color: var(--paper-050); background: var(--ink-800); }

.tab[aria-selected="true"] {
  color: var(--paper-050);
  background: var(--ink-800);
  border-color: var(--line);
}

.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--green-500);
}

.tab-panel { padding-top: 20px; }
.tab-panel[hidden] { display: none; }
.tab-panel:not([hidden]) { animation: fade-up .16s var(--ease); }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s linear;
  }

  .primary-nav::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 96px;
    height: 4px;
    background: var(--green-500);
  }

  .primary-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .nav-item { border-bottom: 1px solid var(--line); }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 14px 14px 16px;
    border-radius: 0;
    font-size: var(--fs-16);
  }

  .nav-link:hover { background: transparent; color: var(--paper-050); }
  .nav-link[aria-current="page"] { background: transparent; }

  .nav-link[aria-current="page"]::after {
    left: 0;
    right: auto;
    top: 12px;
    bottom: 12px;
    width: 3px;
    height: auto;
    border-radius: 0 2px 2px 0;
  }

  .nav-link[aria-current="page"]::before {
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 16px;
  }

  .nav-actions .btn,
  .nav-actions .chip { width: 100%; justify-content: center; padding: 12px 16px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 1023px) {
  .span-3, .span-4, .span-5 { grid-column: span 6; }
  .span-7, .span-8, .span-9 { grid-column: span 12; }
}

@media (max-width: 720px) {
  :root { --baseline: 20px; }

  .site-header { --header-h: 56px; }
  .site-header[data-condensed="true"] { --header-h: 50px; }

  .brand-mark { width: 28px; height: 28px; font-size: 14px; }
  .brand-name { font-size: var(--fs-14); }

  .index-row { grid-template-columns: 40px minmax(0, 1fr); }
  .index-meta { grid-column: 2; }
}

@media (max-width: 639px) {
  .span-3, .span-4, .span-5, .span-6 { grid-column: span 12; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-blurb { max-width: none; }
  .to-top { right: 12px; bottom: 12px; }
}

@media (max-width: 420px) {
  .nav-toggle-text { display: none; }
  .footer-nav { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html.js [data-reveal] { opacity: 1; transform: none; }
  .progress-bar { transition: none; }
}
