/* ==========================================================================
   体育榜前十 · shared site kit
   concept: 赛场节拍器 / pace ticker
   ========================================================================== */

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

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

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li, figure, figcaption,
blockquote, dl, dd, hr { margin: 0; padding: 0; }

ul, ol { list-style: none; }

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

button { font: inherit; color: inherit; background: none; border: 0; }

a { color: inherit; }

hr { border: 0; }

/* ---------- tokens ---------- */
:root {
  --ink: #0A2A24;
  --ink-2: #123D34;
  --ink-3: #0E332C;
  --orange: #FF6A2A;
  --blue: #1F6FD0;
  --gold: #E3B34A;
  --mist: #F5F8F2;
  --glass: #BFE3D6;
  --text: #10231F;
  --red: #D94A3D;
  --gray: #5F7A70;

  --line-light: rgba(16, 35, 31, 0.14);
  --line-dark: rgba(191, 227, 214, 0.18);
  --on-dark: rgba(245, 248, 242, 0.78);

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

  --shell: 1320px;
  --gutter: clamp(18px, 4vw, 48px);
  --radius-sm: 3px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 220ms;
}

/* ---------- base typography ---------- */
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--mist);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.6rem); line-height: 1.25; }
h4 { font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.3; }

p { max-width: 68ch; }

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.lede {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
  color: #2C453F;
  max-width: 58ch;
}

.mono {
  font-family: var(--font-mono);
  font-size: 0.72em;
  letter-spacing: 0.1em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gray);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: var(--orange);
}

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

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

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

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

.section--tight {
  padding-block: clamp(28px, 4vw, 52px);
}

.section--ink {
  background: var(--ink);
  color: var(--mist);
}

.section--ink .lede { color: rgba(245, 248, 242, 0.76); }
.section--ink .eyebrow { color: var(--glass); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.split--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--orange);
  --btn-fg: #12231F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: var(--radius-sm) var(--radius-md) var(--radius-sm) var(--radius-md);
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -14px rgba(255, 106, 42, 0.9);
}

.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--orange); --btn-fg: #12231F; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--mist);
  border-color: rgba(191, 227, 214, 0.45);
}

.btn--ghost:hover {
  --btn-bg: rgba(191, 227, 214, 0.14);
  border-color: var(--glass);
  box-shadow: none;
}

.btn--quiet {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-light);
}

.btn--quiet:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--mist);
  box-shadow: none;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--mist);
  background:
    linear-gradient(112deg, rgba(18, 61, 52, 0.96) 0%, rgba(10, 42, 36, 0.99) 58%, rgba(8, 32, 28, 1) 100%);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 20px 36px -28px rgba(3, 16, 14, 0.95);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -72px;
  z-index: 200;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #12231F;
  background: var(--orange);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  text-decoration: none;
  transition: top var(--dur) var(--ease);
}

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

.header-shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.header-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  min-height: 78px;
}

/* brand lockup */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--mist);
  padding-block: 10px;
}

.brand-mark {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
  flex: none;
}

.brand-mark i {
  display: block;
  width: 5px;
  border-radius: 1px;
  background: var(--orange);
}

.brand-mark i:nth-child(1) { height: 15px; background: var(--gold); }
.brand-mark i:nth-child(2) { height: 21px; background: var(--orange); }
.brand-mark i:nth-child(3) { height: 28px; background: var(--glass); }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: rgba(245, 248, 242, 0.55);
  line-height: 1.2;
}

/* nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--mist);
  border: 1px solid rgba(191, 227, 214, 0.38);
  border-radius: var(--radius-sm) 12px var(--radius-sm) 12px;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-toggle:hover { border-color: var(--glass); background: rgba(191, 227, 214, 0.1); }

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

.nav-toggle__bars i {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--orange);
  border-radius: 1px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) 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__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
}

/* nav */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2vw, 32px);
  min-width: 0;
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  min-width: 0;
}

.nav-cluster--brand {
  padding-left: 4px;
  border-left: 1px solid rgba(191, 227, 214, 0.16);
  padding-inline-start: clamp(14px, 2vw, 28px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.8vw, 26px);
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 10px 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--on-dark);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav-link:hover { color: var(--mist); }
.nav-link:hover::after { transform: scaleX(1); }

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

.header-cta { flex: none; }

/* beat ribbon (header bottom edge + scroll progress) */
.beat-ribbon {
  position: relative;
  height: 15px;
  overflow: hidden;
  background-color: rgba(6, 32, 27, 0.4);
  border-top: 1px solid rgba(191, 227, 214, 0.1);
  background-image:
    repeating-linear-gradient(90deg, rgba(191, 227, 214, 0.3) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(90deg, rgba(191, 227, 214, 0.55) 0 1px, transparent 1px 78px);
  background-repeat: repeat-x, repeat-x;
  background-size: 100% 6px, 100% 11px;
  background-position: left bottom, left bottom;
}

.beat-ribbon__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 100%);
  transition: width 120ms linear;
}

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  color: var(--mist);
  background:
    radial-gradient(130% 90% at 4% 0%, #17473C 0%, #0A2A24 56%, #08201C 100%);
}

.footer-beat {
  height: 14px;
  background-image: repeating-linear-gradient(90deg, rgba(191, 227, 214, 0.22) 0 1px, transparent 1px 18px);
  border-bottom: 1px solid rgba(191, 227, 214, 0.12);
}

.footer-shell {
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(30px, 5vw, 70px);
  padding-top: clamp(38px, 6vw, 64px);
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.footer-brand__tagline {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.footer-brand__note {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14.5px;
  line-height: 1.8;
  color: rgba(245, 248, 242, 0.66);
}

.footer-cta { margin-top: 24px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.footer-col__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.footer-col__title::before {
  content: "";
  flex: none;
  width: 14px;
  height: 2px;
  background: var(--orange);
}

.footer-list { display: flex; flex-direction: column; gap: 2px; }

.footer-link {
  display: inline-block;
  padding: 4px 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245, 248, 242, 0.74);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--mist);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

.footer-contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px 24px;
  margin-top: clamp(30px, 5vw, 52px);
  padding-top: clamp(22px, 3vw, 32px);
  border-top: 1px solid rgba(191, 227, 214, 0.16);
}

.contact-item__label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  color: var(--glass);
  opacity: 0.7;
}

.contact-item__value {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(245, 248, 242, 0.86);
  overflow-wrap: anywhere;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(26px, 4vw, 40px);
  padding-block: 18px 26px;
  border-top: 1px solid rgba(191, 227, 214, 0.16);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: rgba(245, 248, 242, 0.55);
}

.footer-legal .mono { font-size: 1em; }

/* ---------- breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--gray);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "/";
  color: rgba(95, 122, 112, 0.55);
}

.breadcrumb a {
  color: var(--blue);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

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

/* ---------- beat separator ---------- */
.beat-sep {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: clamp(20px, 3vw, 30px);
  color: var(--gray);
}

.beat-sep__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--gold);
}

.beat-sep__line {
  flex: 1 1 auto;
  height: 8px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 1px, transparent 1px 12px);
  background-repeat: repeat-x;
  background-size: 100% 8px;
  background-position: left bottom;
  opacity: 0.45;
}

.section--ink .beat-sep,
.site-footer .beat-sep { color: var(--glass); }

/* ---------- panels ---------- */
.panel {
  padding: clamp(20px, 3vw, 32px);
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
}

.panel--glass {
  background: linear-gradient(150deg, rgba(191, 227, 214, 0.3) 0%, rgba(245, 248, 242, 0.6) 100%);
  border: 1px solid rgba(191, 227, 214, 0.7);
  box-shadow: 0 22px 48px -34px rgba(10, 42, 36, 0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.panel--ink {
  background: var(--ink-2);
  color: var(--mist);
  border-color: var(--line-dark);
}

/* ---------- tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  border: 1px solid rgba(31, 111, 208, 0.32);
  border-radius: var(--radius-sm);
  color: var(--blue);
  background: rgba(31, 111, 208, 0.1);
}

.tag--gold {
  color: #8A6413;
  border-color: rgba(227, 179, 74, 0.5);
  background: rgba(227, 179, 74, 0.18);
}

.tag--orange {
  color: #B33F0B;
  border-color: rgba(255, 106, 42, 0.45);
  background: rgba(255, 106, 42, 0.14);
}

.tag--red {
  color: var(--red);
  border-color: rgba(217, 74, 61, 0.38);
  background: rgba(217, 74, 61, 0.1);
}

/* ---------- tabs ---------- */
.tabs { display: block; }

.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: clamp(16px, 2.4vw, 26px);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-light);
}

.tab {
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray);
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm) 12px var(--radius-sm) var(--radius-sm);
  cursor: pointer;
  transition:
    color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease);
}

.tab:hover { color: var(--ink); border-color: rgba(16, 35, 31, 0.18); }

.tab[aria-selected="true"] {
  color: var(--mist);
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: inset 0 -3px 0 0 var(--orange);
}

.tab-panel[hidden] { display: none; }

/* ---------- media frames ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm) var(--radius-lg) var(--radius-sm) var(--radius-lg);
  background: linear-gradient(140deg, #123D34 0%, #0A2A24 55%, #17564A 100%);
}

.media-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 55%, transparent 100%);
}

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

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

.media-frame__tag {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  padding: 7px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--glass);
  background: rgba(10, 42, 36, 0.92);
  border-radius: 0 0 12px 0;
}

/* ---------- stats ---------- */
.stat { display: flex; flex-direction: column; gap: 6px; }

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray);
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

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

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 66px;
  }

  .nav-toggle { display: inline-flex; }

  .brand-name { font-size: 20px; }
  .brand-tagline { display: none; }
  .brand-mark { height: 24px; }
  .brand-mark i:nth-child(1) { height: 13px; }
  .brand-mark i:nth-child(2) { height: 18px; }
  .brand-mark i:nth-child(3) { height: 24px; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 14px var(--gutter) 26px;
    background: linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
    border-bottom: 1px solid rgba(191, 227, 214, 0.2);
    box-shadow: 0 30px 50px -24px rgba(3, 16, 14, 0.8);
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }

  .site-nav[data-open] { display: flex; }

  .nav-cluster {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-cluster--brand {
    padding-inline-start: 0;
    border-left: 0;
    padding-left: 0;
  }

  .nav-cluster + .nav-cluster {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(191, 227, 214, 0.16);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: 13px 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(191, 227, 214, 0.1);
  }

  .nav-link::after { display: none; }

  .nav-link[aria-current="page"] { padding-left: 16px; }

  .nav-link[aria-current="page"]::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--gold);
  }

  .header-cta { margin-top: 18px; width: 100%; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
}

@media (max-width: 900px) {
  .split,
  .split--reverse { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  .beat-sep { gap: 10px; }
}

/* ---------- motion preferences ---------- */
@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;
  }

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

  .btn:hover { transform: none; }
  .beat-ribbon__progress { transition: none; }
}
