/* ============================================================
   谈球吧赛场 — /assets/site.css
   共享外壳：夜战侧边轨道 · 纵向叙事长卷 · 比分牌数据语言
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 12px);
}

body { margin: 0; }

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

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

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

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

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

/* ---------- 2. Design tokens ---------- */
:root {
  --night: #0B1410;
  --turf: #101D16;
  --cream: #F4EBD3;
  --neon: #C8FF3D;
  --lamp: #FFD447;
  --red: #E5483F;
  --yellow: #F2B705;
  --green-mid: #6FAE5E;
  --sage: #8A9A8F;
  --umber: #1A120E;

  --line: rgba(244, 235, 211, 0.14);
  --line-strong: rgba(244, 235, 211, 0.28);
  --ink-dim: #C3CFC4;
  --glass: rgba(16, 29, 22, 0.72);

  --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "IBM Plex Mono",
    Menlo, Consolas, "Courier New", monospace;
  --font-display: "Arial Narrow", "Helvetica Neue Condensed", Impact,
    "PingFang SC", "Microsoft YaHei", sans-serif;

  --rail-w: 252px;
  --bar-h: 60px;
  --wrap: 1160px;
  --r-sm: 8px;
  --r-md: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 3. Base typography ---------- */
body {
  background-color: var(--night);
  background-image:
    radial-gradient(90% 55% at 82% -8%, rgba(200, 255, 61, 0.09), transparent 62%),
    radial-gradient(70% 50% at 0% 100%, rgba(111, 174, 94, 0.10), transparent 70%);
  background-attachment: fixed;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--bar-h);
}

::selection { background: var(--neon); color: #0B1410; }

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

a:focus-visible,
button:focus-visible { outline-offset: 4px; }

body.nav-open { overflow: hidden; }

/* ---------- 4. Shared: container & section ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 24px);
}

.section {
  position: relative;
  padding-block: clamp(46px, 6.5vw, 92px);
  padding-inline: clamp(18px, 4vw, 24px);
}

.section > * {
  max-width: var(--wrap);
  margin-inline: auto;
}

.section--night { background: var(--night); }

.section--turf {
  background: var(--turf);
  border-block: 1px solid var(--line);
}

.section--turf::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.016) 0 1px,
    transparent 1px 46px
  );
}

.section--paper {
  background: var(--cream);
  color: #1A120E;
  --line: rgba(26, 18, 14, 0.16);
  --line-strong: rgba(26, 18, 14, 0.30);
  --sage: #5C6B60;
  --ink-dim: #4A3B31;
}

.section--paper .eyebrow { color: #8C3A2E; }
.section--paper .lede { color: #4A3B31; }
.section--paper .tile {
  background: #FBF5E6;
  border-color: rgba(26, 18, 14, 0.14);
}
.section--paper .tile:hover { border-color: rgba(26, 18, 14, 0.42); }
.section--paper .score { color: #8C3A2E; }
.section--paper .rule { background: rgba(26, 18, 14, 0.20); }

/* ---------- 5. Editorial type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}

.section-title {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  transform: skewX(-4deg);
  transform-origin: left bottom;
}

.lede {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 64ch;
}

.prose {
  max-width: 66ch;
  font-size: 17px;
  line-height: 1.82;
}

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

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  transform: skewX(-3deg);
  transform-origin: left bottom;
  margin-top: 1.8em;
  margin-bottom: 0.5em;
}

.prose h2 { font-size: clamp(22px, 2.6vw, 30px); }
.prose h3 { font-size: clamp(18px, 2vw, 22px); }

.prose a {
  color: var(--neon);
  border-bottom: 1px solid rgba(200, 255, 61, 0.45);
}

.section--paper .prose a {
  color: #8C3A2E;
  border-bottom-color: rgba(140, 58, 46, 0.45);
}

.rule {
  height: 1px;
  border: 0;
  background: var(--line);
  margin-block: clamp(28px, 4vw, 48px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.idx {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--sage);
  font-variant-numeric: tabular-nums;
}

.score {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(46px, 9vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--lamp);
  font-variant-numeric: tabular-nums;
}

/* ---------- 6. Grid ---------- */
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }

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

.grid--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.grid--12 > * { grid-column: span 12; }

.span-3, .span-4, .span-5, .span-6,
.span-7, .span-8, .span-9, .span-12 { grid-column: span 12; }

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

@media (min-width: 900px) {
  .grid--12 > * { grid-column: span 6; }
  .span-3 { grid-column: span 3; }
  .span-4 { grid-column: span 4; }
  .span-5 { grid-column: span 5; }
  .span-6 { grid-column: span 6; }
  .span-7 { grid-column: span 7; }
  .span-8 { grid-column: span 8; }
  .span-9 { grid-column: span 9; }
  .span-12 { grid-column: span 12; }
}

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

/* ---------- 7. Surfaces ---------- */
.panel {
  background: var(--turf);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.6vw, 30px);
}

.tile {
  background: var(--turf);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(18px, 2.2vw, 24px);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}

.tile:hover {
  border-color: rgba(200, 255, 61, 0.45);
  transform: translateY(-2px);
}

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

/* ---------- 8. Chips & status ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--sage);
  text-transform: uppercase;
  white-space: nowrap;
}

.tag--lamp {
  background: var(--lamp);
  border-color: transparent;
  color: #0B1410;
  font-weight: 700;
}

.tag--neon {
  background: rgba(200, 255, 61, 0.14);
  border-color: rgba(200, 255, 61, 0.55);
  color: var(--neon);
}

.tag--red {
  background: rgba(229, 72, 63, 0.14);
  border-color: rgba(229, 72, 63, 0.55);
  color: var(--red);
}

.tag--yellow {
  background: rgba(242, 183, 5, 0.14);
  border-color: rgba(242, 183, 5, 0.55);
  color: var(--yellow);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 8px;
  height: 11px;
  border-radius: 1.5px;
  background: currentColor;
}

.status--live {
  color: var(--neon);
  background: rgba(200, 255, 61, 0.12);
}

.status--yellow {
  color: var(--yellow);
  background: rgba(242, 183, 5, 0.13);
}

.status--red {
  color: var(--red);
  background: rgba(229, 72, 63, 0.13);
}

/* ---------- 9. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease),
    color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--neon {
  background: var(--neon);
  color: #08110C;
  box-shadow: 0 10px 26px -14px rgba(200, 255, 61, 0.95);
}

.btn--neon:hover,
.btn--neon:focus-visible {
  background: #DDFF7E;
  transform: translateY(-1px);
}

.btn--line {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--cream);
}

.btn--line:hover,
.btn--line:focus-visible {
  border-color: var(--neon);
  color: var(--neon);
}

.section--paper .btn--line {
  border-color: rgba(26, 18, 14, 0.32);
  color: #1A120E;
}

.section--paper .btn--line:hover,
.section--paper .btn--line:focus-visible {
  border-color: #8C3A2E;
  color: #8C3A2E;
}

/* ---------- 10. Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--sage);
  padding-block: 20px 4px;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: rgba(138, 154, 143, 0.6);
}

.breadcrumb__item a {
  color: var(--cream);
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.breadcrumb__item a:hover,
.breadcrumb__item a:focus-visible {
  color: var(--neon);
  border-bottom-color: var(--neon);
}

.section--paper .breadcrumb__item a { color: #1A120E; }
.section--paper .breadcrumb__item a:hover { color: #8C3A2E; border-bottom-color: #8C3A2E; }

/* ---------- 11. Media container (页面阶段放图占位) ---------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background-color: var(--turf);
  background-image:
    radial-gradient(120% 90% at 18% 0%, rgba(200, 255, 61, 0.16), transparent 62%),
    repeating-linear-gradient(
      135deg,
      rgba(111, 174, 94, 0.12) 0 12px,
      transparent 12px 24px
    );
  isolation: isolate;
}

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(200, 255, 61, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 61, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.55;
  z-index: 1;
}

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

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

.media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--cream);
  background: linear-gradient(0deg, rgba(11, 20, 16, 0.92), rgba(11, 20, 16, 0));
}

/* ---------- 12. Reveal ---------- */
.reveal {
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

html[data-reveal-ready] .reveal {
  opacity: 0;
  transform: translateY(14px);
}

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

/* ============================================================
   13. HEADER — 夜战侧边轨道 / 移动抽屉
   ============================================================ */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--neon);
  color: #08110C;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transform: translateY(-180%);
  transition: transform 0.18s var(--ease);
}

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

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: rgba(244, 235, 211, 0.08);
  pointer-events: none;
}

.scroll-meter__fill {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--neon), var(--lamp));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--bar-h);
  z-index: 80;
  background: rgba(11, 20, 16, 0.97);
  border-bottom: 1px solid var(--line);
}

.topbar {
  position: relative;
  z-index: 82;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--bar-h);
  padding-inline: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 4px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}

.brand--bar {
  padding: 0;
  border-bottom: 0;
}

.brand__mark {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1px solid rgba(200, 255, 61, 0.45);
  background: var(--turf);
  overflow: hidden;
  box-shadow: inset 0 0 22px rgba(200, 255, 61, 0.14);
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(111, 174, 94, 0.38) 0 4px,
    transparent 4px 8px
  );
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 22%;
  bottom: 22%;
  left: 50%;
  width: 1px;
  background: rgba(244, 235, 211, 0.55);
}

.brand__text { display: block; }

.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0.06em;
  transform: skewX(-4deg);
  transform-origin: left center;
}

.brand--bar .brand__name { font-size: 16px; }

.brand__tag {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--sage);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(16, 29, 22, 0.85);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--neon);
  color: var(--neon);
}

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

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s var(--ease), top 0.2s var(--ease),
    bottom 0.2s var(--ease);
}

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

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

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

.rail {
  position: fixed;
  top: var(--bar-h);
  left: 0;
  bottom: 0;
  width: min(86vw, 336px);
  z-index: 78;
  display: flex;
  flex-direction: column;
  padding: 18px 20px 22px;
  overflow-y: auto;
  background: linear-gradient(180deg, #0B1410 0%, #0D1811 62%, #0B1410 100%);
  border-right: 1px solid var(--line);
  box-shadow: 30px 0 60px -34px rgba(0, 0, 0, 0.95);
  transform: translateX(-104%);
  transition: transform 0.3s var(--ease);
}

.rail::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(120% 55% at 50% 0%, rgba(200, 255, 61, 0.11), transparent 64%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 0 1px,
      transparent 1px 34px
    );
}

.site-header[data-open] .rail { transform: none; }

.rail__brand { display: none; }

.rail__nav {
  position: relative;
  flex: 1 1 auto;
  overflow-y: auto;
  padding-block: 6px 12px;
  scrollbar-width: thin;
}

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

.nav-item { display: block; }

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 12px 12px 15px;
  border-radius: var(--r-sm);
  color: #C9D4C9;
  font-size: 15px;
  letter-spacing: 0.02em;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    padding-left 0.18s var(--ease);
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 2px;
  background: var(--neon);
  transform: translateY(-50%);
  transition: height 0.18s var(--ease), background 0.18s var(--ease);
}

.nav-link:hover,
.nav-link:focus-visible {
  background: rgba(200, 255, 61, 0.08);
  color: var(--cream);
  padding-left: 19px;
}

.nav-link:hover::before,
.nav-link:focus-visible::before { height: 58%; }

.nav-link__idx {
  flex: none;
  min-width: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--sage);
  transition: color 0.18s var(--ease);
}

.nav-link__label { display: block; }

.nav-link[aria-current="page"] {
  color: var(--neon);
  background: rgba(200, 255, 61, 0.12);
  font-weight: 700;
}

.nav-link[aria-current="page"]::before { height: 72%; }

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

.rail__foot {
  position: relative;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rail__cta {
  width: 100%;
  justify-content: center;
}

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

.rail__meta::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  animation: railPulse 2.6s var(--ease) infinite;
}

@keyframes railPulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(200, 255, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0); }
}

.nav-scrim {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 76;
  background: rgba(6, 12, 9, 0.68);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s var(--ease), visibility 0.24s var(--ease);
}

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

/* ---------- 14. 桌面端：固定侧边轨道 ---------- */
@media (min-width: 1024px) {
  body {
    padding-top: 0;
    padding-left: var(--rail-w);
  }

  html { scroll-padding-top: 24px; }

  .site-header {
    position: relative;
    height: auto;
    z-index: 60;
    background: none;
    border-bottom: 0;
  }

  .topbar { display: none; }

  .scroll-meter { left: var(--rail-w); }

  .rail {
    top: 0;
    bottom: 0;
    width: var(--rail-w);
    z-index: 65;
    padding: 26px 20px 22px;
    overflow: hidden;
    transform: none;
    box-shadow: none;
    transition: none;
  }

  .rail__brand {
    display: block;
    position: relative;
    flex: none;
  }

  .nav-scrim { display: none; }

  .brand { padding: 0 4px 20px; }

  .nav-link { padding-block: 11px; }
}

/* ============================================================
   15. FOOTER — 复古出版暖色收束
   ============================================================ */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #120C09 0%, #1A120E 100%);
  color: var(--cream);
  border-top: 1px solid rgba(244, 235, 211, 0.14);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon) 0%, var(--lamp) 48%, var(--green-mid) 100%);
}

.foot-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(44px, 6vw, 68px) clamp(18px, 4vw, 24px) 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
}

@media (min-width: 640px) {
  .foot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
  }
}

@media (min-width: 1024px) {
  .foot-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.6fr;
    gap: 32px;
  }
}

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

.foot-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 27px);
  letter-spacing: 0.06em;
  transform: skewX(-4deg);
  transform-origin: left center;
  color: var(--cream);
  transition: color 0.18s var(--ease);
}

.foot-logo:hover,
.foot-logo:focus-visible { color: var(--neon); }

.foot-brandline {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--sage);
  line-height: 1.7;
}

.foot-col { min-width: 0; }

.foot-col__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--sage);
  text-transform: uppercase;
}

.foot-col__title::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--neon);
}

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

.foot-link {
  position: relative;
  display: inline-block;
  padding-block: 5px;
  font-size: 15px;
  color: #D3DCD2;
  transition: color 0.18s var(--ease), padding-left 0.18s var(--ease);
}

.foot-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 13px;
  border-radius: 2px;
  background: var(--neon);
  transform: translateY(-50%);
  transition: width 0.18s var(--ease);
}

.foot-link:hover,
.foot-link:focus-visible {
  color: var(--neon);
  padding-left: 12px;
}

.foot-link:hover::before,
.foot-link:focus-visible::before { width: 5px; }

.foot-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-contact__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.foot-contact__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sage);
  text-transform: uppercase;
}

.foot-contact__value {
  font-size: 14.5px;
  line-height: 1.6;
  color: #D3DCD2;
  overflow-wrap: anywhere;
}

.foot-contact__note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.72;
  color: var(--sage);
  max-width: 40ch;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px dashed rgba(244, 235, 211, 0.18);
}

.foot-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
}

.foot-copy {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--sage);
}

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

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

  .tile:hover { transform: none; }
  .btn--neon:hover { transform: none; }
}
