/* ============================================================
   玩球体育官网 · 共享样式表 /assets/site.css
   视觉主线：夜场球场灯光 + 数据指挥台
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 136px;
}

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

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

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

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

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

/* ---------- 2. Tokens ---------- */
:root {
  --ink: #07110D;
  --pitch: #0B2E22;
  --turf: #145A3A;
  --volt: #C8FF3D;
  --volt-soft: #E6FF9E;
  --signal: #FF5A36;
  --amber: #FFB347;
  --mist: #F2F7F0;
  --sage: #9DB3A6;
  --cyan: #5FE3C0;

  --line: rgba(200, 255, 61, 0.18);
  --line-soft: rgba(242, 247, 240, 0.12);
  --body-text: rgba(242, 247, 240, 0.78);

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

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 32px);

  --dur: 180ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--body-text);
  background-color: var(--ink);
  background-image:
    radial-gradient(900px 460px at 88% -8%, rgba(200, 255, 61, 0.10), transparent 62%),
    radial-gradient(760px 420px at 4% 2%, rgba(95, 227, 192, 0.08), transparent 58%),
    radial-gradient(1100px 620px at 50% 108%, rgba(20, 90, 58, 0.42), transparent 66%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--volt); color: var(--ink); }

h1, h2, h3, h4 {
  color: var(--mist);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.2vw, 4.25rem); font-weight: 900; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.5rem); }
h4 { font-size: clamp(1rem, 1.4vw, 1.18rem); }

p { text-wrap: pretty; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--volt);
  outline-offset: 3px;
}

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

.section { padding-block: clamp(40px, 6vw, 80px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
  margin-bottom: clamp(20px, 3vw, 34px);
}

.section-title { max-width: 30ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--volt), var(--cyan));
  flex: none;
}

.lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.78;
  color: var(--body-text);
}

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

/* ---------- 5. Skip link ---------- */
.skip-link {
  position: fixed;
  left: 50%;
  top: -100px;
  z-index: 200;
  transform: translateX(-50%);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--volt);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 16px 40px rgba(200, 255, 61, 0.28);
  transition: top var(--dur) var(--ease);
}

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

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(7, 17, 13, 0.94);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* 6.1 播报带 */
.header-utility {
  background: linear-gradient(90deg, rgba(11, 46, 34, 0.96), rgba(7, 17, 13, 0.96) 52%, rgba(20, 90, 58, 0.82));
  border-bottom: 1px solid rgba(200, 255, 61, 0.10);
  font-size: 12.5px;
  color: var(--sage);
}

.header-utility .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 28px);
  min-height: 38px;
}

.utility-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--volt-soft);
  letter-spacing: 0.01em;
}

.utility-brand::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 12px rgba(200, 255, 61, 0.9);
  animation: scorePulse 2.8s var(--ease) infinite;
}

@keyframes scorePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.78); }
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.utility-link {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mist);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.utility-link:hover {
  background: rgba(200, 255, 61, 0.12);
  border-color: var(--volt);
  color: var(--volt);
}

.utility-meta {
  color: var(--sage);
  white-space: nowrap;
}

/* 6.2 主栏 */
.header-main {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 46, 34, 0.58), rgba(7, 17, 13, 0.94));
}

.header-main .wrap {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  padding-block: 6px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--volt), #8FE31F 78%);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  transform: skewX(-6deg);
  box-shadow: 0 10px 26px rgba(200, 255, 61, 0.24);
}

.brand-mark span { transform: skewX(6deg); }

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

.brand-name {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--mist);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--sage);
}

/* 6.3 导航 */
.nav-panel {
  margin-left: auto;
  margin-right: clamp(4px, 1vw, 12px);
  min-width: 0;
}

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

.nav-item { display: block; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--body-text);
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.nav-link:hover {
  background: rgba(200, 255, 61, 0.10);
  color: var(--mist);
}

.nav-link[aria-current="page"] {
  background: var(--volt);
  color: var(--ink);
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(200, 255, 61, 0.20);
}

.nav-icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-label { display: inline-block; }

.nav-cta {
  flex: none;
  padding: 11px 20px;
  font-size: 14px;
  white-space: nowrap;
}

/* 6.4 移动菜单按钮 */
.nav-toggle {
  display: none;
  margin-left: auto;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(200, 255, 61, 0.08);
  color: var(--volt);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.nav-toggle:hover {
  background: rgba(200, 255, 61, 0.16);
  border-color: var(--volt);
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle-bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) 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); }

/* 6.5 阅读进度光带 */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  background: rgba(200, 255, 61, 0.08);
}

.scroll-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--volt), var(--cyan) 55%, var(--signal));
  box-shadow: 0 0 14px rgba(200, 255, 61, 0.55);
  transition: width 90ms linear;
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

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

.btn-primary {
  background: var(--volt);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(200, 255, 61, 0.22);
}

.btn-primary:hover {
  background: var(--volt-soft);
  box-shadow: 0 16px 40px rgba(200, 255, 61, 0.32);
}

.btn-signal {
  background: var(--signal);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(255, 90, 54, 0.28);
}

.btn-signal:hover {
  background: #FF7350;
  box-shadow: 0 16px 40px rgba(255, 90, 54, 0.36);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--mist);
}

.btn-ghost:hover {
  background: rgba(200, 255, 61, 0.08);
  border-color: var(--volt);
  color: var(--volt);
}

.btn-block { width: 100%; }

/* ---------- 8. Tags & numbers ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border: 1px solid rgba(200, 255, 61, 0.26);
  border-radius: var(--radius-pill);
  background: rgba(200, 255, 61, 0.14);
  color: var(--volt-soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  white-space: nowrap;
}

.tag-signal {
  background: rgba(255, 90, 54, 0.16);
  border-color: rgba(255, 90, 54, 0.42);
  color: #FFB9A6;
}

.tag-amber {
  background: rgba(255, 179, 71, 0.16);
  border-color: rgba(255, 179, 71, 0.42);
  color: var(--amber);
}

.tag-cyan {
  background: rgba(95, 227, 192, 0.14);
  border-color: rgba(95, 227, 192, 0.38);
  color: var(--cyan);
}

.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--volt);
}

.num-lg { font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1; }
.num-sm { font-size: clamp(1.05rem, 1.9vw, 1.45rem); line-height: 1.1; }

/* ---------- 9. Cards ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(20, 90, 58, 0.58), rgba(11, 46, 34, 0.88) 62%, rgba(7, 17, 13, 0.92));
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.card:hover {
  border-color: rgba(200, 255, 61, 0.45);
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.38);
}

.card-title {
  color: var(--mist);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 800;
  line-height: 1.4;
}

.card-text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--body-text);
}

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-size: 13px;
  color: var(--sage);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: rgba(157, 179, 166, 0.5);
}

.breadcrumb a {
  color: var(--body-text);
  transition: color var(--dur) var(--ease);
}

.breadcrumb a:hover { color: var(--volt); }

.breadcrumb [aria-current="page"] {
  color: var(--volt);
  font-weight: 700;
}

/* ---------- 11. Filter protocol ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  padding: 6px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-pill);
  background: rgba(11, 46, 34, 0.72);
}

.filter-btn {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--body-text);
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.filter-btn:hover {
  background: rgba(200, 255, 61, 0.10);
  color: var(--mist);
}

.filter-btn[aria-pressed="true"] {
  background: var(--volt);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(200, 255, 61, 0.22);
}

.filter-item[hidden] { display: none; }

.filter-empty {
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  font-size: 14.5px;
  color: var(--sage);
  background: rgba(11, 46, 34, 0.55);
}

.filter-empty[hidden] { display: none; }

/* ---------- 12. Media frames ---------- */
.media-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 18% 0%, #17694A 0%, #0B2E22 44%, #07110D 100%);
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(200, 255, 61, 0.09) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(200, 255, 61, 0.06) 0 1px, transparent 1px 72px);
  opacity: 0.75;
  pointer-events: none;
}

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

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

.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--tall { aspect-ratio: 3 / 4; }

/* ---------- 13. Reveal ---------- */
.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 540ms var(--ease), transform 540ms var(--ease);
}

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

/* ---------- 14. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 46, 34, 0.92), rgba(7, 17, 13, 0.98) 68%);
  color: var(--body-text);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, rgba(200, 255, 61, 0.055) 0 1px, transparent 1px 96px);
  opacity: 0.9;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--volt) 22%, var(--cyan) 52%, var(--signal) 82%, transparent);
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 36px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.9fr)) minmax(0, 1.25fr);
  gap: clamp(24px, 4vw, 48px);
}

.footer-brand { min-width: 0; }

.footer-brand-line {
  font-size: clamp(1.1rem, 2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--mist);
  letter-spacing: -0.01em;
}

.footer-brand-line b {
  color: var(--volt);
  font-weight: 900;
}

.footer-note {
  margin-top: 12px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.78;
  color: var(--sage);
}

.footer-stamp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 179, 71, 0.36);
  border-radius: var(--radius-pill);
  background: rgba(255, 179, 71, 0.10);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--amber);
}

.footer-stamp::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(255, 179, 71, 0.85);
}

.footer-col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
}

.footer-list { display: grid; gap: 9px; }

.footer-link {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  font-size: 14px;
  color: var(--body-text);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.footer-link:hover {
  color: var(--volt);
  border-bottom-color: var(--volt);
}

.footer-contact {
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.7;
}

.footer-contact-item {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--body-text);
  word-break: break-word;
}

.footer-contact-key {
  flex: none;
  min-width: 38px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 2.1;
  color: var(--sage);
  text-transform: uppercase;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: clamp(28px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--sage);
}

.footer-copy { color: var(--sage); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-left: auto;
}

.footer-legal-link {
  color: var(--body-text);
  font-size: 13px;
  transition: color var(--dur) var(--ease);
}

.footer-legal-link:hover { color: var(--volt); }

.footer-icp {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--sage);
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1180px) {
  .nav-link { padding: 9px 10px; font-size: 13.5px; }
  .nav-link .nav-icon { display: none; }
}

@media (max-width: 1080px) {
  .utility-meta { display: none; }
}

@media (max-width: 960px) {
  html { scroll-padding-top: 108px; }

  .nav-toggle { display: grid; }

  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 14px var(--gutter) 24px;
    background: rgba(7, 17, 13, 0.985);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.58);
  }

  .nav-panel[data-open="true"] { display: block; }

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

  .nav-link {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(200, 255, 61, 0.12);
    border-radius: 16px;
    background: rgba(20, 90, 58, 0.34);
    font-size: 15.5px;
  }

  .nav-link .nav-icon { display: block; width: 18px; height: 18px; }

  .nav-link[aria-current="page"] {
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(200, 255, 61, 0.22);
  }

  .nav-cta { padding: 10px 16px; font-size: 13px; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-legal { margin-left: 0; }
}

@media (max-width: 720px) {
  .header-main .wrap { min-height: 66px; gap: 10px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; font-size: 14px; }
  .brand-name { font-size: 15.5px; }
  .section-head { align-items: flex-start; }
  .filter-bar { width: 100%; border-radius: var(--radius-lg); }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-meta { gap: 10px 16px; }
  .media-frame { border-radius: var(--radius-md); }
}

@media (max-width: 460px) {
  .brand-tag { display: none; }
  .nav-cta { display: none; }
  .utility-brand { font-size: 11.5px; }
  .utility-link { font-size: 11.5px; padding: 2px 10px; }
}

/* ---------- 16. 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;
    scroll-behavior: auto !important;
  }

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

  .btn:hover,
  .card:hover { transform: none; }
}
