/* ==========================================================================
   悟空体育入口 · site.css
   战术板视觉语言：斜切、极细边界、等宽数据、珠宝色分区
   ========================================================================== */

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

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

ul, ol { list-style: none; }

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

button { font: inherit; }

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

/* ---------- tokens ---------- */
:root {
  --ink: #0E1013;
  --ink-2: #191D22;
  --ink-3: #232A32;
  --paper: #F6F1E7;
  --paper-2: #EBE3D4;
  --gold: #F26A1B;
  --gold-deep: #B9470A;
  --speed: #11C5C9;
  --speed-deep: #087F86;
  --teal-900: #0D3B3C;
  --wine: #6B1F2B;
  --grey: #7A828C;
  --muted: #8E979F;
  --body-dim: #B9C1C9;
  --yellow: #FFD166;

  --line-dark: rgba(246, 241, 231, 0.14);
  --line-dark-soft: rgba(246, 241, 231, 0.08);
  --line-light: rgba(14, 16, 19, 0.14);

  --shell: 1200px;
  --radius: 12px;
  --radius-sm: 6px;

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

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 180ms;
  --t-base: 240ms;
}

/* ---------- base ---------- */
body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

main { display: block; }

#main-content { scroll-margin-top: 96px; }

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; letter-spacing: 0; }

p { line-height: 1.8; }

strong { font-weight: 800; }

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

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

/* ---------- layout helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

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

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

.section--deep { background: var(--ink-2); }

.section--teal {
  background: var(--teal-900);
  color: var(--paper);
}

.section--wine {
  background: var(--wine);
  color: var(--paper);
}

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

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

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

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

/* ---------- typographic components ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  transform: skewX(-20deg);
}

.display {
  font-size: clamp(2.1rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.display--slant {
  display: inline-block;
  transform: skewX(-2deg);
  transform-origin: left bottom;
}

.lede {
  max-width: 38em;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.85;
  color: var(--body-dim);
}

.prose {
  max-width: 38em;
}

.prose p { margin-bottom: 1.1em; }

.prose h2,
.prose h3 {
  margin: 1.9em 0 0.6em;
}

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

.prose li { margin-bottom: 0.4em; line-height: 1.8; }

.section--paper .lede,
.section--paper .prose { color: #3F464D; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 26px -18px rgba(242, 106, 27, 0.95);
}

.btn--primary:hover {
  background: var(--gold-deep);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(246, 241, 231, 0.3);
  color: var(--paper);
}

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

.btn--sm {
  padding: 8px 14px;
  font-size: 0.8rem;
}

.link-quiet {
  display: inline-block;
  padding: 6px 2px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #C9D0D7;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.link-quiet:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold);
}

.link-more::after {
  content: "\2192";
  transition: transform var(--t-fast) var(--ease);
}

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

/* ---------- tags / chips / metrics ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.5;
  background: rgba(246, 241, 231, 0.1);
  color: var(--paper);
}

.tag--live {
  background: var(--wine);
  color: var(--paper);
}

.tag--data {
  background: var(--yellow);
  color: var(--ink);
}

.tag--outline {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--body-dim);
}

.section--paper .tag--outline {
  border-color: var(--line-light);
  color: #4A5158;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--body-dim);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.chip:hover {
  border-color: var(--speed);
  color: var(--speed);
}

.chip[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric__value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--speed);
  font-variant-numeric: tabular-nums;
}

.metric__label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section--paper .metric__value { color: var(--speed-deep); }
.section--paper .metric__label { color: #5B636B; }

/* ---------- cards / panels ---------- */
.card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-2);
  box-shadow: 0 18px 40px -34px rgba(0, 0, 0, 0.9);
}

.card--offset { margin-top: clamp(0px, 3vw, 36px); }

.card__title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.card__body {
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--body-dim);
}

.panel {
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(25, 29, 34, 0.72);
}

.section--paper .card,
.section--paper .panel {
  background: #FFFFFF;
  border-color: var(--line-light);
  color: var(--ink);
  box-shadow: 0 20px 44px -38px rgba(14, 16, 19, 0.55);
}

.section--paper .card__body { color: #4A5158; }

.hairline {
  height: 1px;
  border: 0;
  background: var(--line-dark);
  margin-block: clamp(18px, 3vw, 30px);
}

.section--paper .hairline { background: var(--line-light); }

/* ---------- breadcrumbs ---------- */
.breadcrumbs { margin-bottom: clamp(16px, 2.4vw, 26px); }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: "/";
  color: rgba(246, 241, 231, 0.3);
}

.breadcrumbs__link {
  color: inherit;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.breadcrumbs__link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.breadcrumbs__current { color: var(--paper); }

/* ---------- media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(118deg, rgba(246, 241, 231, 0.05) 0 1px, transparent 1px 16px),
    var(--ink-3);
}

.media img,
.media picture,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.media__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(14, 16, 19, 0) 0%, rgba(14, 16, 19, 0.86) 100%);
}

.media__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

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

/* ---------- reveal (JS: .is-armed / .is-in) ---------- */
[data-reveal] {
  transition: opacity var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

[data-reveal].is-armed {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.skip-link {
  position: absolute;
  left: 16px;
  top: -72px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.88rem;
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
  top: 12px;
  outline-offset: 2px;
}

.site-header {
  position: relative;
  z-index: 90;
  background: var(--ink);
  color: var(--paper);
}

/* 上层：品牌说明条 */
.masthead {
  background:
    repeating-linear-gradient(115deg, rgba(246, 241, 231, 0.045) 0 1px, transparent 1px 14px),
    var(--ink);
  border-bottom: 1px solid var(--line-dark);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  min-height: 78px;
  padding-block: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  flex: 0 0 auto;
}

.brand__sigil {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  transform: skewX(-8deg);
  box-shadow: 0 12px 26px -18px rgba(242, 106, 27, 0.95);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand__name {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.brand__tagline {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  color: var(--speed);
}

.masthead__note {
  flex: 1 1 auto;
  max-width: 32em;
  padding-left: 18px;
  border-left: 1px solid var(--line-dark);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex: 0 0 auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(246, 241, 231, 0.28);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

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

.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform var(--t-fast) var(--ease),
    top var(--t-fast) var(--ease);
}

.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 5px;
  transform: rotate(-45deg);
}

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

/* 下层：栏目 + 双锚点 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(14, 16, 19, 0.94);
  border-bottom: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow var(--t-base) var(--ease);
}

.site-header[data-scrolled] .navbar {
  box-shadow: 0 22px 44px -34px #000000;
}

.progress-rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  overflow: hidden;
  background: var(--line-dark-soft);
}

.progress-rail__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--yellow) 55%, var(--speed) 100%);
  transition: opacity var(--t-fast) linear;
  will-change: transform;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 32px);
  min-height: 62px;
}

.nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

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

.nav__item { display: flex; }

.nav__link {
  position: relative;
  display: inline-block;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #D5DBE1;
  transition: color var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform var(--t-base) var(--ease);
}

.nav__link:hover { color: var(--paper); }
.nav__link:hover::after { transform: scaleX(1); }

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

.anchor-pair {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.anchor-pair__item {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 7px 16px 7px 20px;
  border-radius: var(--radius-sm);
  text-align: left;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
  transition: transform var(--t-fast) var(--ease),
    background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.anchor-pair__kicker {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  opacity: 0.82;
}

.anchor-pair__label {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.anchor-pair__item--trace {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 14px 28px -20px rgba(242, 106, 27, 0.95);
}

.anchor-pair__item--trace:hover {
  background: var(--yellow);
  transform: translateY(-2px);
}

.anchor-pair__item--case {
  background: transparent;
  color: var(--speed);
  box-shadow: inset 0 0 0 1px rgba(17, 197, 201, 0.55);
}

.anchor-pair__item--case:hover {
  background: rgba(17, 197, 201, 0.14);
  color: var(--speed);
  box-shadow: inset 0 0 0 1px var(--speed);
  transform: translateY(-2px);
}

/* 头部响应式 */
@media (max-width: 1120px) {
  .masthead__note { display: none; }

  .nav__link {
    padding: 8px 7px;
    font-size: 0.86rem;
  }

  .nav__link::after { left: 7px; right: 7px; }

  .anchor-pair__item { padding: 6px 12px 6px 16px; }
  .anchor-pair__label { font-size: 0.8rem; }
}

@media (max-width: 980px) {
  .navbar__inner { gap: 10px; }
  .nav__list { gap: 0; }
  .nav__link { font-size: 0.82rem; padding: 8px 6px; }
}

@media (max-width: 900px) {
  .masthead__inner {
    flex-wrap: wrap;
    row-gap: 12px;
    min-height: 0;
    padding-block: 14px;
  }

  .brand { order: 1; flex: 1 1 auto; }

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

  .masthead__actions {
    order: 3;
    flex: 1 1 100%;
    margin-left: 0;
    gap: 10px;
  }

  .masthead__actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .link-quiet { display: none; }

  .navbar__inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    padding-block: 0;
  }

  .nav { display: none; }

  .nav[data-open] {
    display: block;
    padding-top: 8px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed var(--line-dark);
  }

  .nav__item { width: 100%; }

  .nav__link {
    display: block;
    padding: 12px 6px;
    font-size: 1rem;
  }

  .nav__link::after {
    left: 6px;
    right: auto;
    width: 20px;
    bottom: 8px;
  }

  .anchor-pair {
    width: 100%;
    padding-bottom: 10px;
  }

  .anchor-pair__item {
    flex: 1 1 50%;
    padding: 8px 12px 8px 18px;
  }
}

@media (max-width: 420px) {
  .brand__sigil { width: 38px; height: 38px; font-size: 1.15rem; }
  .brand__name { font-size: 0.96rem; }
  .brand__tagline { font-size: 0.6rem; letter-spacing: 0.14em; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(38px, 5vw, 68px);
  background:
    repeating-linear-gradient(115deg, rgba(246, 241, 231, 0.035) 0 1px, transparent 1px 16px),
    var(--ink);
  border-top: 1px solid var(--line-dark);
  color: var(--paper);
}

.footer__strip {
  margin-bottom: clamp(26px, 4vw, 44px);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--muted);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(30px, 4vw, 52px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 40ch;
}

.brand--footer .brand__sigil {
  width: 38px;
  height: 38px;
  font-size: 1.15rem;
}

.footer__note {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #C6CDD4;
}

.footer__feedback {
  padding-left: 12px;
  border-left: 2px solid var(--wine);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: var(--muted);
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}

.footer__col-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--speed);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link {
  display: inline-block;
  padding: 2px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: #D5DBE1;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.footer__link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer__contact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 24px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(25, 29, 34, 0.72);
}

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.footer__contact-kicker {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.footer__contact-value {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer__contact-value--mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--yellow);
}

.footer__mark {
  margin-top: clamp(24px, 3vw, 40px);
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.05em;
  text-align: right;
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 241, 231, 0.1);
  pointer-events: none;
  user-select: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(16px, 2vw, 24px);
  padding-block: 18px;
  border-top: 1px solid var(--line-dark);
}

.footer__legal {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.footer__meta {
  font-size: 0.76rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__contact { grid-template-columns: minmax(0, 1fr); }
  .footer__mark { text-align: left; }
}

@media (max-width: 560px) {
  .footer__cols { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   MOTION PREFERENCES
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

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

  .anchor-pair__item:hover,
  .btn--primary:hover { transform: none; }

  .link-more:hover::after { transform: none; }
}
