/* =========================================================
   site.css — 33体育入口 共享外壳与基础组件
   ========================================================= */

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

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

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

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

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

a { color: inherit; }

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

/* ---------- tokens ---------- */
:root {
  --ink-900: #061B14;
  --ink-800: #0B2B20;
  --ink-700: #123D2C;
  --line: #2C6B51;
  --line-soft: rgba(44, 107, 81, 0.45);
  --neon: #5CFFC8;
  --neon-mist: #B8FFE3;
  --amber: #FF9F43;
  --paper: #F3E9D2;
  --muted: #8FA99C;
  --white: #F4FFF9;
  --body-text: #CFE4DA;
  --ink-on-warm: #20130A;

  --font-display: "Barlow Condensed", "DIN Condensed", "Roboto Condensed", "Oswald", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --font-cn: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-label: "IBM Plex Mono", "Barlow Condensed", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --rail-w: 236px;
  --strip-h: 40px;
  --radius-s: 4px;
  --radius-m: 10px;
  --shell-max: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --stack-gap: 18px;
}

/* ---------- base ---------- */
body {
  font-family: var(--font-cn);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text);
  background-color: var(--ink-900);
  background-image:
    repeating-linear-gradient(90deg, rgba(44, 107, 81, 0.14) 0 1px, transparent 1px 96px),
    repeating-linear-gradient(0deg, rgba(44, 107, 81, 0.08) 0 1px, transparent 1px 96px),
    radial-gradient(120% 80% at 88% -10%, rgba(92, 255, 200, 0.08), transparent 62%),
    radial-gradient(90% 60% at 0% 100%, rgba(255, 159, 67, 0.055), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  padding-top: var(--strip-h);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-cn);
  color: var(--white);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

h1 { font-size: clamp(28px, 4.6vw, 50px); font-weight: 900; }
h2 { font-size: clamp(22px, 3.2vw, 34px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }
h4 { font-size: 16px; }

p { text-wrap: pretty; }

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

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

#main-content {
  display: block;
  scroll-margin-top: calc(var(--strip-h) + 14px);
}

/* ---------- utilities ---------- */
.sr-only {
  position: absolute;
  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;
}

.shell {
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 28px 20px 64px;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap);
}

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

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

@media (min-width: 1000px) {
  .shell { padding: 40px 40px 88px; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--font-cn);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.16s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--amber);
  color: var(--ink-on-warm);
  box-shadow: 0 8px 22px -10px rgba(255, 159, 67, 0.75);
}

.btn--primary:hover {
  background: #FFB463;
  box-shadow: 0 10px 26px -8px rgba(255, 159, 67, 0.85);
}

.btn--neon {
  background: var(--neon);
  color: #032018;
}

.btn--neon:hover { background: var(--neon-mist); }

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

.btn--ghost:hover {
  border-color: var(--neon);
  color: var(--white);
  background: rgba(92, 255, 200, 0.07);
}

.btn--block { width: 100%; }

/* ---------- labels & tags ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--line);
  flex: none;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: rgba(92, 255, 200, 0.08);
  color: var(--neon-mist);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

.tag--paper {
  background: var(--paper);
  color: var(--ink-on-warm);
  border-color: #D8CBA9;
  box-shadow: 3px 3px 0 rgba(6, 27, 20, 0.55);
  transform: rotate(-0.6deg);
}

.tag--amber {
  background: var(--amber);
  color: var(--ink-on-warm);
  border-color: #E08A2F;
}

/* ---------- numbers ---------- */
.section-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 96px);
  line-height: 0.8;
  letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  font-variant-numeric: tabular-nums;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--neon);
}

/* ---------- panel ---------- */
.panel {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background:
    linear-gradient(180deg, rgba(18, 61, 44, 0.94), rgba(11, 43, 32, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(184, 255, 227, 0.07),
    0 22px 44px -34px rgba(0, 0, 0, 0.95);
}

/* ---------- notice ---------- */
.notice {
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  border-radius: 0 6px 6px 0;
  background: rgba(255, 159, 67, 0.08);
  color: #F0E4D2;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.crumbs a:hover { color: var(--neon); }

.crumbs__sep { color: #3D6A58; }

.crumbs [aria-current="page"] { color: var(--neon-mist); }

/* ---------- prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--body-text);
}

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

.prose h2 {
  margin-top: 2em;
  color: var(--white);
}

.prose h3 {
  margin-top: 1.6em;
  color: var(--white);
}

.prose a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--neon-mist); }

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

.prose ol { list-style: decimal; }

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

.prose strong { color: var(--white); }

.prose blockquote {
  margin-inline: 0;
  padding: 16px 18px;
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink-on-warm);
  box-shadow: 5px 5px 0 rgba(6, 27, 20, 0.6);
  font-size: 14.5px;
}

.prose blockquote p { margin: 0; }

.prose code {
  padding: 1px 6px;
  border-radius: 3px;
  background: rgba(92, 255, 200, 0.12);
  color: var(--neon-mist);
  font-family: var(--font-label);
  font-size: 0.9em;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.prose th {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- media ---------- */
.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(92, 255, 200, 0.1), rgba(6, 27, 20, 0.35) 58%),
    repeating-linear-gradient(90deg, rgba(44, 107, 81, 0.32) 0 1px, transparent 1px 44px),
    var(--ink-800);
}

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

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

.media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 55%, rgba(6, 27, 20, 0.6) 100%);
}

.media__caption {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 4px 9px;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink-on-warm);
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 rgba(6, 27, 20, 0.6);
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: relative; z-index: 90; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--neon);
  color: #032018;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

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

/* --- status strip --- */
.status-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--strip-h);
  padding: 0 clamp(12px, 3vw, 30px);
  overflow: hidden;
  background: linear-gradient(90deg, #04140F 0%, #082018 55%, #061B14 100%);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -1px 0 rgba(92, 255, 200, 0.08);
}

.status-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(92, 255, 200, 0.13) 45%, transparent 70%);
  transform: translateX(-110%);
  animation: status-sweep 9s linear infinite;
}

@keyframes status-sweep {
  0% { transform: translateX(-110%); }
  58%, 100% { transform: translateX(110%); }
}

.status-strip__pulse {
  position: relative;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 0 0 rgba(92, 255, 200, 0.55);
  animation: pulse-dot 3.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92, 255, 200, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(92, 255, 200, 0); }
}

.status-strip__label {
  flex: none;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--neon);
}

.status-strip__text {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
  color: var(--muted);
}

.status-strip__action {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--neon-mist);
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.status-strip__action:hover {
  border-color: var(--neon);
  color: #032018;
  background: var(--neon);
}

.status-strip__action-short { display: none; }

.status-strip__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--neon), var(--amber));
  pointer-events: none;
}

/* --- mobile bar --- */
.mobile-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 65;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  padding: 0 14px;
  background: linear-gradient(180deg, #082019 0%, #061B14 100%);
  border-bottom: 1px solid var(--line);
}

.mobile-bar__brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.mobile-bar__mark {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--neon);
}

.mobile-bar__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  color: var(--neon-mist);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--neon);
  color: var(--white);
  background: rgba(92, 255, 200, 0.08);
}

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

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

.site-header[data-open="true"] .nav-toggle__bars > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header[data-open="true"] .nav-toggle__bars > span:nth-child(2) { opacity: 0; }
.site-header[data-open="true"] .nav-toggle__bars > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- backdrop --- */
.rail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 75;
  background: rgba(3, 12, 9, 0.72);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.26s var(--ease), visibility 0s linear 0.26s;
}

.site-header[data-open="true"] .rail-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.26s var(--ease), visibility 0s;
}

/* --- rail --- */
.rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 14px 18px;
  background: linear-gradient(180deg, #082019 0%, #061B14 55%, #071E16 100%);
  border-right: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.rail__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 6px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-decoration: none;
}

.rail__mark {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(92, 255, 200, 0.08);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.rail__brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.rail__name {
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
}

.rail__tagline {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--muted);
}

.rail__nav { flex: 1 1 auto; }

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

.rail__link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 10px 10px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  transition:
    color 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.rail__idx {
  flex: none;
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: #4D7A68;
  transition: color 0.18s var(--ease);
}

.rail__label { min-width: 0; }

.rail__link:hover {
  color: var(--white);
  background: rgba(92, 255, 200, 0.06);
  border-left-color: rgba(92, 255, 200, 0.45);
}

.rail__link:hover .rail__idx { color: var(--neon-mist); }

.rail__link[aria-current="page"] {
  color: var(--white);
  font-weight: 700;
  background: rgba(92, 255, 200, 0.11);
  border-left-color: var(--neon);
}

.rail__link[aria-current="page"] .rail__idx { color: var(--neon); }

.rail__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 1px;
  background: var(--neon);
  box-shadow: 0 0 8px rgba(92, 255, 200, 0.9);
}

.rail__cta {
  width: 100%;
  margin-top: auto;
}

.rail__foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #4D7A68;
}

.rail__foot-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--neon);
  opacity: 0.85;
}

/* --- header: mobile / tablet --- */
@media (max-width: 999px) {
  body { padding-top: 100px; }
  body.is-nav-open { overflow: hidden; }

  .status-strip {
    top: 56px;
    left: 12px;
    right: 12px;
    height: 30px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    gap: 8px;
  }

  .status-strip__text { font-size: 11.5px; }
  .status-strip__action { padding: 2px 9px; font-size: 10px; }
  .status-strip__action-long { display: none; }
  .status-strip__action-short { display: inline; }

  .rail {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    width: min(84vw, 310px);
    border-right: 1px solid var(--line);
    box-shadow: 24px 0 60px -30px rgba(0, 0, 0, 0.95);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 0.28s var(--ease), visibility 0s linear 0.28s;
  }

  .site-header[data-open="true"] .rail {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.28s var(--ease), visibility 0s;
  }

  .rail__link { padding: 13px 12px; font-size: 15px; }
  .rail__cta { padding: 13px 18px; }
}

/* --- header: desktop --- */
@media (min-width: 1000px) {
  body { padding-left: var(--rail-w); }

  .mobile-bar { display: none; }
  .rail-backdrop { display: none; }

  .rail {
    position: fixed;
    top: var(--strip-h);
    left: 0;
    bottom: 0;
    z-index: 50;
    width: var(--rail-w);
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(11, 43, 32, 0.85) 0%, rgba(6, 27, 20, 0.98) 62%),
    var(--ink-900);
  box-shadow: inset 0 1px 0 rgba(92, 255, 200, 0.09);
}

.site-footer::before {
  content: "33";
  position: absolute;
  right: -0.06em;
  bottom: -0.3em;
  z-index: 0;
  font-family: var(--font-display);
  font-size: clamp(180px, 26vw, 340px);
  line-height: 0.72;
  letter-spacing: -0.05em;
  color: rgba(92, 255, 200, 0.045);
  pointer-events: none;
  user-select: none;
}

.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 4vw, 44px);
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px) 20px clamp(26px, 4vw, 40px);
}

.footer-lead__mark {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 44px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--white);
  font-weight: 700;
}

.footer-lead__desc {
  max-width: 30ch;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.footer-lead__meta {
  margin-top: 16px;
  font-family: var(--font-label);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4D7A68;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 24px;
}

.footer-col__title {
  margin-bottom: 12px;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-mist);
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-col__list a {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s var(--ease), transform 0.16s var(--ease);
}

.footer-col__list a:hover {
  color: var(--neon);
  transform: translateX(2px);
}

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

.footer-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line-soft);
  font-size: 13px;
}

.footer-contact__key {
  flex: none;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4D7A68;
}

.footer-contact__val {
  min-width: 0;
  color: var(--white);
  word-break: break-word;
}

.footer-note {
  margin-top: 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-base {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 16px 20px 22px;
  border-top: 1px solid var(--line-soft);
}

.footer-base__legal,
.footer-base__year {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.footer-base__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-base__links a {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.16s var(--ease);
}

.footer-base__links a:hover { color: var(--neon); }

@media (min-width: 700px) {
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-lead { grid-column: 1 / -1; }
  .footer-base { padding-inline: 32px; }
  .footer-main { padding-inline: 32px; }
}

@media (min-width: 1000px) {
  .footer-main { padding-inline: 40px; }
  .footer-base { padding-inline: 40px; }
}

@media (min-width: 1180px) {
  .footer-main {
    grid-template-columns: 1.5fr 2.1fr 1.1fr;
    align-items: start;
  }
  .footer-lead { grid-column: auto; }
}

/* =========================================================
   MOTION
   ========================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease);
}

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

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

  .status-strip::after { display: none; }
  .status-strip__pulse { animation: none; box-shadow: 0 0 0 3px rgba(92, 255, 200, 0.18); }

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

  .rail { transition: none !important; }
}
