/* ==========================================================================
   金博体育 中文站 · 共享样式 /assets/site.css
   ========================================================================== */

/* ---------- 1. 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 { margin: 0; }

ul, ol { padding: 0; list-style: none; }

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

a { color: inherit; text-decoration: none; }

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

input, select, textarea { font: inherit; }

table { width: 100%; border-collapse: collapse; }

/* ---------- 2. Tokens ---------- */
:root {
  --bg: #06120E;
  --panel: #0D2019;
  --cool: #17242C;
  --line: #2B3D46;
  --lime: #B6FF3F;
  --lime-dim: #7FC42C;
  --orange: #FF8A2B;
  --orange-soft: #FFC773;
  --white: #F2F7F4;
  --muted: #A6BAB1;
  --num: #D8E6DE;
  --glass: rgba(23, 36, 44, 0.55);

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

  --shell: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 3. Base ---------- */
body {
  position: relative;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.008em;
  color: var(--white);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(43, 61, 70, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 61, 70, 0.38) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: 0.28;
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 74%);
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 74%);
}

body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--white);
}

p { color: var(--muted); }

strong, b { font-weight: 700; color: var(--white); }

::selection { background: var(--lime); color: #06120E; }

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

/* ---------- 4. Skip link ---------- */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--lime);
  color: #06120E;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  transform: translateY(-180%);
  transition: transform 0.22s var(--ease);
}

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

/* ---------- 5. Layout shell ---------- */
.shell {
  width: min(var(--shell), 100% - 2rem);
  margin-inline: auto;
}

.shell--narrow { --shell: 780px; }
.shell--wide { --shell: 1360px; }

main { display: block; }

.panel {
  position: relative;
  padding-block: clamp(2.75rem, 6.5vw, 5.5rem);
}

.panel--tint { background: var(--panel); }
.panel--cool { background: var(--cool); }
.panel--deep { background: #04100B; }

.panel--slant { clip-path: polygon(0 3rem, 100% 0, 100% 100%, 0 100%); }
.panel--slant-rev { clip-path: polygon(0 0, 100% 3rem, 100% 100%, 0 100%); }

.section-head {
  display: grid;
  gap: 0.85rem;
  max-width: 68ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* ---------- 6. Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  flex: 0 0 auto;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 62ch;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.85;
  color: var(--muted);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
  color: var(--num);
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--btn-bd, var(--line));
  background: var(--btn-bg, transparent);
  color: var(--btn-fg, var(--white));
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

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

.btn--lime {
  --btn-bg: var(--lime);
  --btn-fg: #06120E;
  --btn-bd: var(--lime);
  box-shadow: 0 12px 32px -16px rgba(182, 255, 63, 0.9);
}
.btn--lime:hover { --btn-bg: var(--lime-dim); --btn-bd: var(--lime-dim); }

.btn--ghost { --btn-bd: var(--line); --btn-fg: var(--muted); }
.btn--ghost:hover { --btn-fg: var(--white); --btn-bd: var(--lime); }

.btn--orange {
  --btn-bg: var(--orange);
  --btn-fg: #1C0D01;
  --btn-bd: var(--orange);
  box-shadow: 0 12px 32px -18px rgba(255, 138, 43, 0.9);
}
.btn--orange:hover { --btn-bg: var(--orange-soft); --btn-bd: var(--orange-soft); }

.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; }
.btn--lg { padding: 0.9rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ---------- 8. Tags, bars, status ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.62rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.6;
  border: 1px solid var(--line);
  background: rgba(43, 61, 70, 0.4);
  color: var(--muted);
}

.tag--lime {
  background: rgba(182, 255, 63, 0.13);
  border-color: rgba(182, 255, 63, 0.38);
  color: var(--lime);
}

.tag--orange {
  background: rgba(255, 138, 43, 0.14);
  border-color: rgba(255, 138, 43, 0.38);
  color: var(--orange-soft);
}

.tag--muted { background: rgba(43, 61, 70, 0.5); border-color: var(--line); color: var(--muted); }

.bar {
  position: relative;
  height: 8px;
  border-radius: 99px;
  background: rgba(43, 61, 70, 0.75);
  overflow: hidden;
}

.bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--fill, 0%);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  transition: width 0.9s var(--ease);
}

/* ---------- 9. Content surfaces ---------- */
.card {
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  border-radius: var(--radius);
  border: 1px solid rgba(43, 61, 70, 0.6);
  background: var(--panel);
}

.card--flush { padding: 0; overflow: hidden; }

.glass-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(43, 61, 70, 0.75);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
}

.solid-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(43, 61, 70, 0.55);
  background: var(--panel);
}

/* ---------- 10. Grids ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 2.4vw, 1.9rem);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--asym { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
.grid--asym-rev { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }

/* ---------- 11. Media containers ---------- */
.media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(140deg, #0D2019 0%, #17242C 55%, #06120E 100%);
}

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(43, 61, 70, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 61, 70, 0.5) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.55;
}

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 18, 14, 0) 42%, rgba(6, 18, 14, 0.78) 100%);
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--tall { aspect-ratio: 4 / 5; }
.media--fill { height: 100%; min-height: 220px; }

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0.95rem 1.1rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--white);
}

/* ---------- 12. Breadcrumb ---------- */
.breadcrumb { margin-bottom: 1.15rem; }

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}

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

.breadcrumb li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--line);
}

.breadcrumb a { color: var(--muted); transition: color 0.2s var(--ease); }
.breadcrumb a:hover { color: var(--lime); }

/* ---------- 13. Prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--muted);
}

.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 900;
  color: var(--white);
}

.prose h3 {
  margin-top: 1.8em;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.prose ul, .prose ol { display: grid; gap: 0.5em; padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--lime); }
.prose a { color: var(--lime); border-bottom: 1px solid rgba(182, 255, 63, 0.4); }
.prose a:hover { border-bottom-color: var(--lime); }

/* ---------- 14. Reveal ---------- */
.has-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
  will-change: opacity, transform;
}

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

/* ==========================================================================
   15. Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(6, 18, 14, 0.84);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem 2rem;
  padding-block: 0.85rem;
}

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

.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  color: #06120E;
  background: linear-gradient(140deg, var(--lime) 0%, var(--lime-dim) 58%, #2E5A12 100%);
  box-shadow: 0 0 0 1px rgba(182, 255, 63, 0.32), 0 10px 26px -12px rgba(182, 255, 63, 0.7);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--lime);
}

.brand--footer .brand__mark { width: 36px; height: 36px; flex-basis: 36px; }
.brand--footer .brand__name { font-size: 1.1rem; }

/* Navigation */
.site-nav { grid-column: 2; justify-self: end; min-width: 0; }

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem;
}

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 9px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  color: var(--muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.26rem;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s var(--ease);
}

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

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

/* Actions */
.site-header__actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(23, 36, 44, 0.5);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

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

.nav-toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  flex: 0 0 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}

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

.nav-toggle-label { line-height: 1; }

/* Status strip */
.status-strip {
  border-top: 1px solid rgba(43, 61, 70, 0.7);
  background: linear-gradient(90deg, rgba(13, 32, 25, 0.92) 0%, rgba(23, 36, 44, 0.55) 60%, rgba(6, 18, 14, 0.9) 100%);
}

.status-strip__inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-block: 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.status-item { display: inline-flex; align-items: center; gap: 0.4rem; }
.status-item b { font-weight: 600; color: var(--lime); }

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 138, 43, 0.6);
  animation: status-pulse 2.6s var(--ease) infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 138, 43, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 138, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 138, 43, 0); }
}

/* Scroll meter */
.scroll-meter {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), var(--orange));
  pointer-events: none;
  transition: width 0.12s linear;
}

/* ==========================================================================
   16. Footer
   ========================================================================== */
.site-footer {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.25rem) 1.5rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, #08160F 58%, #050E0A 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--lime) 22%, var(--orange) 64%, transparent 100%);
  opacity: 0.72;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(4, minmax(110px, 1fr));
  gap: 2rem 1.5rem;
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid rgba(43, 61, 70, 0.7);
}

.footer-brand { max-width: 36ch; }

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

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.85;
  color: var(--muted);
}

.footer-col__title {
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.footer-col ul { display: grid; gap: 0.55rem; }

.footer-col a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover { color: var(--white); }

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.25rem;
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid rgba(43, 61, 70, 0.55);
}

.contact-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.contact-item__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime-dim);
}

.contact-item__value { color: var(--num); font-size: 0.88rem; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  padding-top: 1.25rem;
}

.footer-legal {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: rgba(166, 186, 177, 0.72);
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; max-width: 52ch; }
}

@media (max-width: 1000px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 0.6rem;
  }

  .site-header__actions { grid-column: 2; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5.5rem 1.5rem 3rem;
    background: rgba(6, 18, 14, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s var(--ease), visibility 0.26s var(--ease);
    overflow-y: auto;
  }

  .site-nav[data-open] { opacity: 1; visibility: visible; }

  .nav-list {
    counter-reset: nav;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
  }

  .nav-item {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    align-items: center;
  }

  .nav-item::before {
    counter-increment: nav;
    content: "0" counter(nav);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--lime);
  }

  .nav-link {
    padding: 1rem 0.4rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(43, 61, 70, 0.55);
    font-size: clamp(1.3rem, 5.6vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
  }

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

  .nav-link[aria-current="page"] { color: var(--lime); }

  .status-strip__inner {
    gap: 1.1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .status-strip__inner::-webkit-scrollbar { display: none; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }

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

  .panel--slant,
  .panel--slant-rev { clip-path: none; }

  .site-footer__top { gap: 1.75rem 1.25rem; }

  .media--fill { min-height: 200px; }
}

@media (max-width: 520px) {
  .shell { width: min(var(--shell), 100% - 1.5rem); }

  .brand__sub { letter-spacing: 0.16em; }

  .site-header__actions .btn--sm { padding: 0.45rem 0.75rem; font-size: 0.78rem; }

  .nav-toggle-label { display: none; }

  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }

  .site-footer__contact { flex-direction: column; gap: 0.6rem; }
  .contact-item { align-items: flex-start; flex-direction: column; gap: 0.15rem; }
}

/* ==========================================================================
   18. 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;
  }

  .has-reveal [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }

  .status-dot { animation: none; }
}
