/* ==========================================================================
   易倍体育 · 共享站点样式 /assets/site.css
   色彩节奏：深墨绿画布 → 墨绿面板 → 边线绿刻度 → 荧光青绿强调 → 琥珀金订阅态 → 暖纸色纸张面
   ========================================================================== */

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

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

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

ul, ol { margin: 0; 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; }

table { border-collapse: collapse; }

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

hr { border: 0; border-top: 1px solid var(--line); }

/* ---------- 2. Tokens ---------- */
:root {
  --ink-950: #04140F;
  --ink-900: #071B16;
  --ink-800: #0E2F27;
  --line: #24463C;
  --paper: #F3EBDD;
  --paper-dim: #D8CCB8;
  --mint: #39FFC2;
  --mint-deep: #0FAF86;
  --amber: #F2B441;
  --amber-deep: #A97B1C;
  --frost: #EAF5EF;
  --muted: #8FA39B;

  --font-head: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --shell: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
  --shadow-hard: 6px 6px 0 0 var(--line);
  --shadow-mint: 4px 4px 0 0 var(--mint-deep);
  --shadow-amber: 4px 4px 0 0 var(--amber-deep);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- 3. Base typography ---------- */
body {
  background-color: var(--ink-900);
  background-image:
    repeating-linear-gradient(90deg, rgba(36, 70, 60, 0.55) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(36, 70, 60, 0.35) 0 1px, transparent 1px 96px);
  color: var(--frost);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--frost);
  text-wrap: balance;
}

h1 { font-size: clamp(38px, 6vw, 72px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; }
h4 { font-size: 18px; line-height: 1.3; }

p { max-width: 68ch; }

strong { font-weight: 800; color: #ffffff; }

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

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

.surface-paper :focus-visible,
.panel--paper :focus-visible {
  outline-color: var(--ink-900);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

.grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 32px);
}

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

@media (min-width: 900px) {
  .grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

.score {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--frost);
  font-variant-numeric: tabular-nums;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--mint);
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.btn--primary {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-950);
  box-shadow: var(--shadow-mint);
}

.btn--primary:hover {
  transform: translate(-1px, -2px);
  box-shadow: 6px 6px 0 0 var(--mint-deep);
}

.btn--primary:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--mint-deep);
}

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

.btn--ghost:hover {
  background: rgba(242, 180, 65, 0.1);
  border-color: var(--amber);
  color: var(--amber);
}

.btn--amber {
  background: var(--amber);
  border-color: var(--amber);
  color: #1A1204;
  box-shadow: var(--shadow-amber);
}

.btn--amber:hover {
  transform: translate(-1px, -2px);
  box-shadow: 6px 6px 0 0 var(--amber-deep);
}

.btn--amber:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 0 var(--amber-deep);
}

.btn--sm {
  padding: 8px 13px;
  font-size: 12.5px;
  letter-spacing: 0.06em;
}

/* ---------- 6. Skip link ---------- */
.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 300;
  padding: 10px 18px;
  background: var(--mint);
  color: var(--ink-950);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  box-shadow: var(--shadow-mint);
  transition: top 0.18s var(--ease);
}

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

/* ---------- 7. Header / command bar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(7, 27, 22, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.site-header::before {
  content: "";
  display: block;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  opacity: 0.85;
  pointer-events: none;
}

.site-header[data-scrolled] {
  border-bottom-color: rgba(57, 255, 194, 0.45);
  box-shadow: 0 10px 26px -12px rgba(4, 20, 15, 0.95);
}

.command-bar {
  position: relative;
}

.command-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(12px, 2vw, 26px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px var(--gutter);
  min-height: 68px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  border-radius: var(--radius);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--mint);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--mint-deep);
  box-shadow: 3px 3px 0 0 var(--mint-deep);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.brand:hover .brand__mark {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 0 var(--mint-deep);
}

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

.brand__name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--frost);
}

.brand__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  white-space: nowrap;
}

/* Nav toggle */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--frost);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}

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

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
  height: 14px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  transition: transform 0.18s var(--ease), opacity 0.18s var(--ease);
}

.site-header[data-open] .nav-toggle {
  border-color: var(--mint);
  color: var(--mint);
}

.site-header[data-open] .nav-toggle__bars span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header[data-open] .nav-toggle__bars span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.nav-toggle__label { line-height: 1; }

/* Primary nav */
.primary-nav {
  flex: 1 1 auto;
  min-width: 0;
}

.primary-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}

.primary-nav__item { display: flex; }

.primary-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--frost);
  white-space: nowrap;
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}

.primary-nav__link:hover {
  background: var(--ink-800);
  border-color: var(--line);
  color: var(--mint);
}

.primary-nav__link[aria-current="page"] {
  background: var(--mint);
  border-color: var(--mint);
  color: var(--ink-950);
  box-shadow: 3px 3px 0 0 var(--mint-deep);
}

.nav-index {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.primary-nav__link:hover .nav-index { color: var(--mint-deep); }

.primary-nav__link[aria-current="page"] .nav-index { color: rgba(4, 20, 15, 0.5); }

/* Header actions */
.command-bar__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

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

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

/* Header — medium desktop tightening */
@media (max-width: 1180px) {
  .primary-nav__link {
    padding: 7px 8px;
    font-size: 13px;
  }
  .brand__tag { display: none; }
}

/* Header — collapsed command panel */
@media (max-width: 1023px) {
  .command-bar__inner {
    min-height: 62px;
    padding-block: 9px;
    row-gap: 0;
    justify-content: space-between;
  }

  .brand { order: 1; }
  .nav-toggle { order: 2; display: inline-flex; }

  .primary-nav {
    order: 3;
    flex: 1 0 100%;
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-header[data-open] .primary-nav { display: block; }

  .primary-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .primary-nav__link {
    width: 100%;
    padding: 11px 12px;
    font-size: 15px;
    background: var(--ink-800);
    border-color: var(--line);
  }

  .primary-nav__link:hover { background: #123A31; }

  .primary-nav__link[aria-current="page"] {
    background: var(--mint);
    border-color: var(--mint);
    color: var(--ink-950);
  }

  .command-bar__actions {
    order: 4;
    flex: 1 0 100%;
    display: none;
    gap: 8px;
    padding: 12px 0 14px;
  }

  .site-header[data-open] .command-bar__actions { display: flex; }

  .command-bar__actions .btn { flex: 1 1 0; }
}

@media (max-width: 420px) {
  .nav-toggle__label { display: none; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: 16px; }
}

/* ---------- 8. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--ink-950);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background-image: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 14px);
  opacity: 0.85;
  pointer-events: none;
}

.footer__inner {
  position: relative;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter) 26px;
}

.footer__inner::before,
.footer__inner::after {
  content: "";
  position: absolute;
  bottom: 18px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--line);
  pointer-events: none;
}

.footer__inner::before { left: var(--gutter); border-right: 0; border-top: 0; }
.footer__inner::after { right: var(--gutter); border-left: 0; border-top: 0; }

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(26px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.footer__brand { min-width: 0; }

.footer__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--frost);
}

.footer__mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: var(--mint);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  border: 1px solid var(--mint-deep);
  box-shadow: 3px 3px 0 0 var(--mint-deep);
}

.footer__brandline {
  margin-top: 14px;
  max-width: 36ch;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.footer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.chip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.chip--football {
  color: var(--mint);
  border-color: rgba(57, 255, 194, 0.4);
  background: rgba(57, 255, 194, 0.08);
}

.chip--basketball {
  color: var(--amber);
  border-color: rgba(242, 180, 65, 0.4);
  background: rgba(242, 180, 65, 0.08);
}

.chip--paper {
  color: var(--paper);
  border-color: rgba(243, 235, 221, 0.32);
  background: rgba(243, 235, 221, 0.08);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.footer__col { min-width: 0; }

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

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

.footer__link {
  display: inline-block;
  padding: 7px 0 7px 11px;
  border-left: 2px solid var(--line);
  font-size: 14.5px;
  color: var(--frost);
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.footer__link:hover {
  color: var(--mint);
  border-left-color: var(--mint);
}

.footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: clamp(16px, 2.6vw, 30px);
  padding: clamp(22px, 3.4vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.footer__field { min-width: 0; }

.footer__field-label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__field-value {
  display: block;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--frost);
  overflow-wrap: anywhere;
}

.footer__field-value--mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}

.footer__copy { max-width: none; }

.footer__legal {
  max-width: none;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  color: var(--muted);
}

@media (min-width: 860px) {
  .footer__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.6fr); }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
  .footer__nav { gap: 42px; }
}

/* ---------- 9. Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.breadcrumb__link {
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.breadcrumb__link:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.breadcrumb__sep {
  color: var(--line);
  font-size: 10px;
}

.breadcrumb__current {
  color: var(--frost);
}

/* ---------- 10. Section head (numbered chapters) ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px clamp(12px, 2vw, 26px);
  padding-bottom: 14px;
  margin-bottom: clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}

.section-head__num {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: clamp(52px, 9vw, 120px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(57, 255, 194, 0.2);
  font-variant-numeric: tabular-nums;
}

.section-head__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 6px;
}

.section-head__title {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.1;
}

/* ---------- 11. Panels & surfaces ---------- */
.panel {
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.6vw, 30px);
}

.panel--frame {
  border-width: 2px;
  box-shadow: var(--shadow-hard);
}

.panel--paper {
  background: var(--paper);
  border-color: var(--paper-dim);
  color: var(--ink-900);
}

.panel--paper h2,
.panel--paper h3,
.panel--paper h4 { color: var(--ink-900); }

.panel__title {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--frost);
}

.panel--paper .panel__title { color: var(--ink-900); }

.surface-paper {
  background: var(--paper);
  color: var(--ink-900);
  border-radius: var(--radius);
}

.surface-paper h1,
.surface-paper h2,
.surface-paper h3,
.surface-paper h4 { color: var(--ink-900); }

/* ---------- 12. Prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 17px;
  line-height: 1.78;
  color: var(--frost);
}

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

.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }

.prose a {
  color: var(--mint);
  border-bottom: 1px solid rgba(57, 255, 194, 0.4);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

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

.prose ul,
.prose ol {
  padding-left: 1.25em;
  list-style: disc;
}

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.4em; }

.surface-paper .prose,
.prose.surface-paper { color: var(--ink-900); }

.surface-paper .prose a,
.prose.surface-paper a {
  color: #0B6A52;
  border-bottom-color: rgba(11, 106, 82, 0.35);
}

/* ---------- 13. Media containers ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 16 / 9;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.06) brightness(0.92);
  transition: transform 0.4s var(--ease), filter 0.3s var(--ease);
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(57, 255, 194, 0.16) 0 1px, transparent 1px),
    linear-gradient(to bottom, rgba(57, 255, 194, 0.16) 0 1px, transparent 1px);
  background-size: 33.333% 100%, 100% 50%;
  opacity: 0.35;
  mix-blend-mode: screen;
}

.media--wide { aspect-ratio: 21 / 9; }
.media--square { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }

.media:hover > img { transform: scale(1.03); }

.media__tag {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 5px 11px;
  background: var(--mint);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 12px;
  background: linear-gradient(0deg, rgba(4, 20, 15, 0.94), rgba(4, 20, 15, 0));
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--frost);
}

/* ---------- 14. Reduced motion ---------- */
@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;
  }

  .btn--primary:hover,
  .btn--amber:hover,
  .brand:hover .brand__mark,
  .media:hover > img { transform: none; }
}
