/* ============================================================
   加加体育 APP — 全站共享样式
   文件：/assets/site.css
   ============================================================ */

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

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

body {
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #F9FAFB;
  background-color: #0B0F19;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #F9FAFB;
}

p {
  line-height: 1.75;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

strong {
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid #F97316;
  outline-offset: 3px;
}

[id]:not(#main-content) {
  scroll-margin-top: 1.5rem;
}

/* ---------- 2. Variables ---------- */
:root {
  --color-bg: #0B0F19;
  --color-surface: #111827;
  --color-primary: #2563EB;
  --color-primary-bright: #3B82F6;
  --color-accent: #F97316;
  --color-teal: #0F766E;
  --color-wine: #991B1B;
  --color-text: #F9FAFB;
  --color-text-dim: #9CA3AF;
  --color-text-faint: #4B5563;
  --color-border: #1F2937;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --header-width: 248px;
  --content-max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- 3. Utility ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--content-max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- 4. Skip Link ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.625rem 1.125rem;
  background: #F97316;
  color: #0B0F19;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid #F97316;
  transform: translateY(-300%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: var(--header-width);
  height: 100vh;
  background: #0B0F19;
  border-right: 1px solid var(--color-border);
  overflow-y: auto;
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-bright) 45%, var(--color-accent) 100%);
}

.header-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem 1.5rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #F9FAFB;
  font-size: 1.375rem;
  font-weight: 800;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.brand:hover .brand-symbol {
  background: var(--color-primary-bright);
}

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

.brand-name {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
  color: #F9FAFB;
  line-height: 1.2;
}

.brand-en {
  display: block;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-dim);
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle:hover {
  border-color: var(--color-primary);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.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(-6px) rotate(-45deg);
}

.site-nav {
  margin-top: 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nav-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item a {
  display: flex;
  align-items: baseline;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border-left: 3px solid transparent;
  color: var(--color-text-dim);
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.nav-item a:hover {
  color: var(--color-text);
  background: rgba(17, 24, 39, 0.6);
  border-left-color: var(--color-primary);
}

.nav-index {
  min-width: 1.5rem;
  font-family: 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-text-faint);
  font-variant-numeric: tabular-nums;
  line-height: inherit;
}

.nav-item a[aria-current="page"] {
  color: var(--color-text);
  background: var(--color-surface);
  border-left-color: var(--color-accent);
  font-weight: 600;
}

.nav-item a[aria-current="page"] .nav-index {
  color: var(--color-accent);
}

.nav-cta {
  display: block;
  margin-top: 2rem;
  padding: 0.8125rem 1.25rem;
  background: var(--color-accent);
  color: #0B0F19;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid var(--color-accent);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  background: transparent;
  color: var(--color-accent);
}

.header-stat {
  margin-top: 1rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.header-stat strong {
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0;
}

/* ---------- 6. Footer ---------- */
.site-footer {
  position: relative;
  background: #0B0F19;
  border-top: 1px solid var(--color-border);
  padding: 3.5rem 0 0;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-bright) 35%, var(--color-accent) 75%, transparent 100%);
}

.footer-shell {
  width: min(var(--content-max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 0.8fr 0.8fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .brand {
  margin-bottom: 1.25rem;
}

.footer-about {
  font-size: 0.9375rem;
  color: var(--color-text-dim);
  margin-bottom: 0.75rem;
}

.footer-trust {
  font-size: 0.8125rem;
  color: var(--color-text-faint);
  border-left: 2px solid var(--color-primary);
  padding-left: 0.875rem;
  line-height: 1.65;
}

.footer-heading {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.125rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-dim);
}

.footer-heading::before {
  content: '';
  width: 3px;
  height: 12px;
  background: var(--color-accent);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  display: inline-block;
  font-size: 0.875rem;
  color: #D1D5DB;
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--color-primary-bright);
  transform: translateX(2px);
}

.footer-contact-list li {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-contact-note {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  margin-top: 0.875rem;
  border-top: 1px solid var(--color-border);
  padding-top: 0.875rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--color-border);
}

.footer-copy,
.footer-icp {
  font-size: 0.78125rem;
  color: var(--color-text-faint);
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* ---------- 7. Main Layout ---------- */
#main-content {
  min-height: 60vh;
}

@media (min-width: 901px) {
  #main-content,
  .site-footer {
    margin-left: var(--header-width);
  }
}

/* ---------- 8. Grids ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.grid-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22rem;
  gap: 2rem 3rem;
  align-items: start;
}

.grid-editorial--inverted {
  grid-template-columns: 22rem minmax(0, 1fr);
}

@media (max-width: 1024px) {
  .grid-editorial,
  .grid-editorial--inverted {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- 9. Page Head ---------- */
.page-head {
  position: relative;
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 2.5rem;
}

.page-head::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 96px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.page-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}

.page-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.page-lead {
  font-size: 1.0625rem;
  color: var(--color-text-dim);
  max-width: 62ch;
  line-height: 1.8;
  margin: 0;
}

/* ---------- 10. Section Label ---------- */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-bright);
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--color-primary-bright);
}

.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--color-border), transparent);
  max-width: 120px;
}

.section-label--accent {
  color: var(--color-accent);
}

.section-label--accent::before {
  background: var(--color-accent);
}

/* ---------- 11. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #F9FAFB;
}

.btn--primary:hover {
  background: var(--color-primary-bright);
  border-color: var(--color-primary-bright);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.25);
}

.btn--accent {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #0B0F19;
}

.btn--accent:hover {
  background: #ea6b0c;
  border-color: #ea6b0c;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text-dim);
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
}

.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- 12. Cards ---------- */
.card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  overflow: hidden;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 0.3s ease;
}

.card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.card:hover::after {
  width: 100%;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.card-text {
  font-size: 0.875rem;
  color: var(--color-text-dim);
  line-height: 1.65;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-primary-bright);
}

.card-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ---------- 13. Tags ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.28125rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.4;
  border: 1px solid var(--color-primary);
  color: var(--color-primary-bright);
  background: rgba(37, 99, 235, 0.1);
}

.tag--accent {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(249, 115, 22, 0.1);
}

.tag--teal {
  border-color: #0F766E;
  color: #2DD4BF;
  background: rgba(15, 118, 110, 0.12);
}

.tag--wine {
  border-color: #991B1B;
  color: #F87171;
  background: rgba(153, 27, 27, 0.12);
}

/* ---------- 14. Media Frames ---------- */
.media-frame {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}

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

.media-frame--square {
  aspect-ratio: 1 / 1;
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.media-frame:hover img,
.media-frame:focus-visible img {
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.05);
}

/* ---------- 15. Prose ---------- */
.prose {
  font-size: 1rem;
  line-height: 1.85;
  color: #D1D5DB;
}

.prose p {
  margin-bottom: 1.25rem;
}

.prose h2,
.prose h3,
.prose h4 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

.prose h2 {
  font-size: 1.5rem;
}

.prose h3 {
  font-size: 1.125rem;
}

.prose a {
  color: var(--color-primary-bright);
  border-bottom: 1px solid rgba(59, 130, 246, 0.35);
}

.prose a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.prose ul,
.prose ol {
  padding-left: 1.375rem;
  margin-bottom: 1.25rem;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.prose li::marker {
  color: var(--color-accent);
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--color-primary);
  background: rgba(37, 99, 235, 0.06);
  color: var(--color-text-dim);
}

/* ---------- 16. Breadcrumb ---------- */
.breadcrumb {
  margin: 1.75rem 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-dim);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin: 0 0.45rem;
  color: var(--color-text-faint);
}

.breadcrumb-link:hover {
  color: var(--color-primary-bright);
}

.breadcrumb-current {
  color: #D1D5DB;
  font-weight: 600;
}

/* ---------- 17. Callout ---------- */
.callout {
  position: relative;
  padding: 1.375rem 1.5rem 1.375rem 2rem;
  background: rgba(37, 99, 235, 0.08);
  border-left: 3px solid var(--color-primary);
  font-size: 0.9375rem;
  color: #D1D5DB;
  line-height: 1.7;
  margin: 2rem 0;
}

.callout--accent {
  background: rgba(249, 115, 22, 0.08);
  border-left-color: var(--color-accent);
}

.callout--wine {
  background: rgba(153, 27, 27, 0.12);
  border-left-color: var(--color-wine);
}

.callout--teal {
  background: rgba(15, 118, 110, 0.12);
  border-left-color: var(--color-teal);
}

/* ---------- 18. Divider & Frame ---------- */
.rule {
  height: 1px;
  background: linear-gradient(90deg, var(--color-border), transparent);
  border: none;
  margin: 2.5rem 0;
}

.rule--dual {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-bright) 45%, var(--color-accent) 100%);
}

.frame {
  position: relative;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.frame::before,
.frame::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--color-accent);
  border-left: 2px solid var(--color-accent);
}

.frame::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--color-primary-bright);
  border-right: 2px solid var(--color-primary-bright);
}

/* ---------- 19. Background Utilities ---------- */
.bg-grid {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.bg-diagonal {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
}

.bg-diagonal::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -8%;
  width: 55%;
  height: 150%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.03));
  transform: skewX(-8deg);
  pointer-events: none;
}

.bg-diagonal > * {
  position: relative;
}

/* ---------- 20. Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ---------- 21. Scroll Progress & Backdrop ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  pointer-events: none;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

.nav-backdrop {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  background: rgba(11, 15, 25, 0.6);
}

.nav-backdrop.is-visible {
  display: block;
}

/* ---------- 22. Mobile (max-width: 900px) ---------- */
@media (max-width: 900px) {
  [id]:not(#main-content) {
    scroll-margin-top: 4.5rem;
  }

  .site-header {
    width: 100%;
    height: 60px;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    overflow: visible;
  }

  .site-header::before {
    height: 2px;
  }

  .header-shell {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: auto;
    height: 100%;
    padding: 0 1rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-symbol {
    width: 38px;
    height: 38px;
    font-size: 1.125rem;
  }

  .brand-en {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 60px;
    left: 0;
    z-index: 110;
    width: 288px;
    max-width: 85vw;
    height: calc(100vh - 60px);
    margin-top: 0;
    padding: 2rem 1.25rem;
    overflow-y: auto;
    background: #0B0F19;
    border-right: 1px solid var(--color-border);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.45);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    flex: none;
  }

  .site-nav[data-open="true"] {
    transform: translateX(0);
  }

  .nav-item a {
    padding: 0.75rem 0.875rem;
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 2.5rem;
  }

  .header-stat {
    display: none;
  }

  #main-content {
    padding-top: 60px;
    margin-left: 0;
  }

  .site-footer {
    margin-left: 0;
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .container {
    width: 100%;
    padding-inline: var(--gutter);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

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

  .skip-link {
    transition: none;
  }
}
