/* =========================================================
   中欧体育看台 · 共享样式 /assets/site.css
   ========================================================= */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}
body, h1, h2, h3, h4, h5, p, ul, ol, li, figure, blockquote, dl, dd, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
hr { border: 0; }
[hidden] { display: none !important; }

/* ---------- tokens ---------- */
:root {
  --ink-900: #06110E;
  --ink-800: #0B1F19;
  --ink-700: #123028;
  --line: #1C4A3C;
  --cyan: #2FE3C6;
  --cyan-soft: #7CF7E4;
  --amber: #F2B33D;
  --amber-soft: #FFD98A;
  --text: #E8F3EF;
  --muted: #9DB8B0;
  --alert: #FF6B5A;

  --rail-w: 72px;
  --gutter: 24px;
  --pad: 24px;
  --max: 1320px;

  --font-display: "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: var(--font-display);
  --font-mono: "JetBrains Mono", "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --dur: 240ms;
  --ease: cubic-bezier(.22, .72, .28, 1);

  --z-header: 90;
  --z-dock: 120;
  --z-rail: 200;
  --z-scrim: 190;
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  padding-left: var(--rail-w);
  background-color: var(--ink-900);
  background-image:
    radial-gradient(900px 560px at 78% -12%, rgba(47, 227, 198, .10), transparent 62%),
    radial-gradient(720px 460px at 4% 6%, rgba(242, 179, 61, .06), transparent 66%);
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(32px, 6vw, 64px); }
h2 { font-size: clamp(24px, 3.4vw, 40px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 17px; }

p { text-wrap: pretty; }

b, strong { font-weight: 700; }

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

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

.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;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 8px; left: 50%;
  transform: translate(-50%, -180%);
  z-index: 400;
  padding: 10px 20px;
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  border-radius: 2px;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- header shell ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.progress {
  position: fixed;
  top: 0;
  left: var(--rail-w);
  right: 0;
  height: 2px;
  z-index: 300;
  pointer-events: none;
}
.progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .12s linear;
}

/* ---------- ticker strip ---------- */
.score-strip {
  background: rgba(6, 17, 14, .95);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.score-strip__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 34px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  color: var(--muted);
}
.ticker__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--alert);
  font-weight: 700;
  letter-spacing: .14em;
}
.ticker__badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--alert);
  animation: ticker-blink 1.6s steps(2, end) infinite;
}
@keyframes ticker-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: .18; } }

.ticker {
  flex: 1 1 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 22px, #000 calc(100% - 22px), transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-run 40s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ticker-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker__group {
  display: flex;
  flex: 0 0 auto;
  gap: 36px;
  padding-right: 36px;
  white-space: nowrap;
}
.ticker__item { color: var(--muted); }
.ticker__item b {
  color: var(--amber);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- site bar ---------- */
.site-bar {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.site-bar__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  height: 64px;
}
.site-bar__inner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 9px);
  opacity: .8;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand__tick {
  position: relative;
  display: block;
  width: 26px; height: 3px;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(47, 227, 198, .55);
}
.brand__tick::after {
  content: "";
  position: absolute;
  top: -3px; right: -8px;
  width: 3px; height: 9px;
  background: var(--amber);
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand:hover .brand__text { color: var(--cyan-soft); }

.site-bar__note {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  color: var(--muted);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text);
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.nav-toggle[aria-expanded="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
}
.nav-toggle__bars { display: grid; gap: 3px; width: 16px; }
.nav-toggle__bar { display: block; height: 2px; background: currentColor; }
.nav-toggle__label { line-height: 1; }

/* ---------- rail navigation ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail-w);
  z-index: var(--z-rail);
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 72%);
  border-right: 1px solid var(--line);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.rail__close {
  display: none;
  align-self: flex-end;
  width: 36px; height: 36px;
  margin: 10px 10px 0 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}
.rail__close:hover { border-color: var(--cyan); color: var(--cyan-soft); }

.rail__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 72px;
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
}
.rail__brand-mark {
  width: 10px; height: 10px;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(47, 227, 198, .14);
}
.rail__brand-text {
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--amber);
}

.rail__list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 8px 0;
}
.rail__item { display: block; }

.rail__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 13px 4px;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: color .16s var(--ease), background-color .16s var(--ease), border-color .16s var(--ease);
}
.rail__tick {
  display: block;
  width: 14px; height: 2px;
  background: var(--line);
  transition: width .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease);
}
.rail__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  line-height: 1;
  color: var(--line);
  font-variant-numeric: tabular-nums;
}
.rail__label {
  writing-mode: vertical-rl;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .16em;
}
.rail__link:hover {
  color: var(--cyan-soft);
  background: rgba(47, 227, 198, .05);
  border-left-color: rgba(47, 227, 198, .4);
}
.rail__link:hover .rail__tick { width: 20px; background: var(--cyan); }

.rail__link[aria-current="page"] {
  color: var(--cyan);
  background: rgba(47, 227, 198, .08);
  border-left-color: var(--cyan);
}
.rail__link[aria-current="page"] .rail__tick {
  width: 22px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(47, 227, 198, .7);
}
.rail__link[aria-current="page"] .rail__num { color: var(--amber); }
.rail__link[aria-current="page"] .rail__label { font-weight: 700; }

/* ---------- scrim ---------- */
.rail-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: rgba(3, 8, 7, .74);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s var(--ease), visibility .2s var(--ease);
}
.rail-scrim[data-open] { opacity: 1; visibility: visible; }

/* ---------- quick dock ---------- */
.dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-dock);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transition: opacity .2s var(--ease), visibility .2s var(--ease);
}
.dock__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--cyan);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  box-shadow: 0 10px 28px rgba(47, 227, 198, .26);
  transition: background-color .16s var(--ease), transform .16s var(--ease);
}
.dock__toggle:hover { background: var(--cyan-soft); transform: translateY(-1px); }
.dock__toggle-icon { font-size: 14px; line-height: 1; }
.dock__toggle-text { line-height: 1; }

.dock__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  min-width: 176px;
  border: 1px solid rgba(47, 227, 198, .26);
  border-radius: 10px;
  background: rgba(11, 31, 25, .72);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
}
.dock__btn {
  display: block;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(18, 48, 40, .8);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  text-align: left;
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease);
}
.dock__btn:hover {
  border-color: var(--cyan);
  color: var(--cyan-soft);
  background: rgba(47, 227, 198, .10);
}
.dock__close {
  position: absolute;
  top: -10px; right: -10px;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--ink-800);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}
.dock__close:hover { border-color: var(--cyan); color: var(--cyan-soft); }

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: clamp(40px, 6vw, 88px) 0; }
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(18px, 3vw, 30px); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}
.span-1 { grid-column: span 1; }
.span-2 { grid-column: span 2; }
.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-10 { grid-column: span 10; }
.span-11 { grid-column: span 11; }
.span-12 { grid-column: span 12; }

.divider {
  height: 3px;
  width: 100%;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 10px);
  opacity: .9;
}

/* ---------- eyebrow / section head ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  line-height: 1.4;
  color: var(--cyan-soft);
  text-transform: uppercase;
}
.eyebrow__num {
  color: var(--amber);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-head__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(24px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-head__note {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  line-height: 1.2;
  transition: border-color .16s var(--ease), color .16s var(--ease), background-color .16s var(--ease), transform .16s var(--ease);
}
.btn:hover { border-color: var(--cyan); color: var(--cyan-soft); }
.btn:active { transform: translateY(1px); }

.btn--solid {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}
.btn--solid:hover {
  background: var(--cyan-soft);
  border-color: var(--cyan-soft);
  color: var(--ink-900);
}
.btn--ghost {
  background: rgba(11, 31, 25, .62);
  border-color: rgba(47, 227, 198, .22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--cyan-soft);
}
.btn--ghost:hover { background: rgba(47, 227, 198, .12); }

/* ---------- chips (filter) ---------- */
.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  line-height: 1.4;
  transition: color .16s var(--ease), border-color .16s var(--ease), background-color .16s var(--ease);
}
.chip:hover { color: var(--cyan-soft); border-color: var(--cyan); }
.chip[aria-pressed="true"] {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-900);
  font-weight: 700;
}

/* ---------- cards / panels / glass ---------- */
.card {
  display: block;
  padding: 22px;
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .16s var(--ease), transform .24s var(--ease), background-color .16s var(--ease);
}
.card:hover { border-color: var(--cyan); }
.card--glass {
  background: rgba(11, 31, 25, .56);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
  border-color: rgba(47, 227, 198, .20);
}
.card--raised { background: var(--ink-700); }

.panel {
  padding: clamp(20px, 3vw, 32px);
  background: var(--ink-800);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.glass {
  background: rgba(11, 31, 25, .56);
  border: 1px solid rgba(47, 227, 198, .20);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
  backdrop-filter: blur(14px) saturate(125%);
}

/* ---------- media placeholder ---------- */
.media {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: var(--ink-700);
  background-image:
    repeating-linear-gradient(90deg, rgba(28, 74, 60, .55) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(0deg, rgba(28, 74, 60, .32) 0 1px, transparent 1px 46px);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 17, 14, 0) 42%, rgba(6, 17, 14, .62) 100%);
}
.media--s { aspect-ratio: 1 / 1; }
.media--m { aspect-ratio: 4 / 3; }
.media--l { aspect-ratio: 16 / 9; }
.media--xl { aspect-ratio: 21 / 9; }

/* ---------- status / tag / stat ---------- */
.status {
  --status-color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border: 1px solid currentColor;
  border-radius: 2px;
  color: var(--status-color);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  line-height: 1.7;
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.status[data-state="out"] { --status-color: var(--alert); }
.status[data-state="doubt"] { --status-color: var(--amber); }
.status[data-state="return"] { --status-color: var(--cyan); }
.status[data-state="fit"] { --status-color: var(--muted); }

.tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  line-height: 1.7;
  white-space: nowrap;
}
.tag--amber { color: var(--amber-soft); border-color: rgba(242, 179, 61, .42); }

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
}

/* ---------- breadcrumb ---------- */
.breadcrumb { padding: 14px 0; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
  content: "/";
  margin: 0 9px;
  color: var(--line);
}
.breadcrumb a { color: var(--muted); transition: color .16s var(--ease); }
.breadcrumb a:hover { color: var(--cyan-soft); }
.breadcrumb [aria-current="page"] { color: var(--cyan-soft); }

/* ---------- prose ---------- */
.prose {
  max-width: 36em;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}
.prose > * + * { margin-top: 1.4em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(21px, 2.6vw, 28px); }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 18px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .82em;
  width: 8px; height: 2px;
  background: var(--cyan);
}
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .6em; }
.prose a {
  color: var(--cyan-soft);
  border-bottom: 1px solid rgba(47, 227, 198, .36);
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.prose a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.prose strong { color: var(--amber-soft); }

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
[data-reveal][data-revealed] { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(40px, 6vw, 96px);
  background: var(--ink-800);
  color: var(--muted);
}
.footer__rule {
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--cyan) 0 1px, transparent 1px 10px);
  opacity: .55;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-top: clamp(36px, 5vw, 60px);
  padding-bottom: clamp(28px, 4vw, 44px);
}
.footer__brand { min-width: 0; }
.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer__logo:hover { color: var(--cyan-soft); }
.footer__tagline {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 22em;
}
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .1em;
}
.footer__meta-key { color: var(--line); }
.footer__meta-val { color: var(--amber); }

.footer__col { min-width: 0; }
.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--cyan-soft);
  text-transform: uppercase;
}
.footer__list { display: flex; flex-direction: column; gap: 9px; }
.footer__list li { font-size: 14px; line-height: 1.6; }
.footer__list a {
  color: var(--muted);
  transition: color .16s var(--ease), padding-left .16s var(--ease);
}
.footer__list a:hover { color: var(--cyan-soft); padding-left: 4px; }
.footer__list--plain li {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .02em;
  line-height: 1.9;
  color: var(--muted);
  word-break: break-word;
}
.footer__k {
  display: inline-block;
  margin-right: 8px;
  color: var(--line);
  letter-spacing: .12em;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--muted);
}
.footer__legal-note { color: var(--line); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.4fr; }
  .footer__col--contact { grid-column: span 2; }
}

@media (max-width: 1023px) {
  :root { --rail-w: 0px; --pad: 20px; }
  body { padding-left: 0; }
  html { scroll-padding-top: 108px; }
  .progress { left: 0; }

  .site-bar__note { display: none; }
  .nav-toggle { display: inline-flex; }

  .rail {
    width: min(86vw, 322px);
    padding-bottom: 28px;
    background: linear-gradient(180deg, var(--ink-800) 0%, var(--ink-900) 100%);
    border-right: 1px solid rgba(47, 227, 198, .28);
    box-shadow: 24px 0 64px rgba(0, 0, 0, .6);
    transform: translateX(-102%);
    transition: transform var(--dur) var(--ease);
    z-index: var(--z-rail);
  }
  .rail[data-open] { transform: translateX(0); }

  .rail__close { display: grid; place-items: center; }

  .rail__brand {
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    height: 62px;
    padding: 0 20px;
  }
  .rail__brand-text {
    writing-mode: horizontal-tb;
    letter-spacing: .22em;
    font-size: 13px;
  }

  .rail__list { padding: 10px 0 20px; }
  .rail__link {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-left: 2px solid transparent;
  }
  .rail__tick { width: 20px; height: 2px; }
  .rail__num { font-size: 11px; width: 20px; }
  .rail__label {
    writing-mode: horizontal-tb;
    font-size: 16px;
    letter-spacing: .06em;
  }
  .rail__link:hover .rail__tick,
  .rail__link[aria-current="page"] .rail__tick { width: 28px; }

  .is-nav-open .dock { opacity: 0; visibility: hidden; pointer-events: none; }
  .is-nav-open { overflow: hidden; }

  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .span-1, .span-2, .span-3, .span-4, .span-5,
  .span-6, .span-7, .span-8, .span-9, .span-10,
  .span-11, .span-12 { grid-column: span 6; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: span 2; }
  .footer__col--contact { grid-column: span 2; }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .score-strip__inner { height: 30px; font-size: 10.5px; gap: 10px; }
  .site-bar__inner { height: 58px; gap: 12px; }
  .brand__text { font-size: 16.5px; }
  .brand__tick { width: 20px; }

  .dock { right: 12px; bottom: 12px; }
  .dock__toggle { padding: 9px 14px; font-size: 11.5px; }
  .dock__panel { min-width: 156px; }

  .footer__inner { grid-template-columns: 1fr; gap: 26px; }
  .footer__brand, .footer__col--contact { grid-column: span 1; }
  .footer__legal { font-size: 10.5px; line-height: 1.9; }
  .section-head { margin-bottom: 20px; }
}

@media (max-width: 420px) {
  :root { --pad: 16px; --gutter: 14px; }
  .nav-toggle__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ticker__track { animation: none !important; transform: none !important; }
  .ticker__badge::before { animation: none !important; opacity: 1; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .progress__bar { transition: none !important; }
}
