/* ==========================================================================
   BSPORT体育 · 共享站点套件  /assets/site.css
   夜场导播台：深空黑画布 + 精密网格 + 荧光绿脉冲 + 橙红警戒 + 编辑部展签
   ========================================================================== */

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

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

body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, pre { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
:where(input, select, textarea) { font: inherit; }

/* ---------- 02 · tokens ---------- */
:root {
  /* 色彩体系 */
  --ink: #070B0A;
  --ink-2: #111715;
  --ink-3: #0C1A13;
  --lime: #B7FF3C;
  --mint: #74E6A1;
  --flame: #FF5A2A;
  --amber: #FF9F1C;
  --cream: #F3E9D2;
  --espresso: #1A1410;
  --mist: #A7B3AD;
  --flame-soft: #FFB29F;
  --white: #FFFFFF;

  --text: #E6EDE8;
  --text-dim: #C6D0CA;

  --line: rgba(167, 179, 173, 0.22);
  --line-soft: rgba(167, 179, 173, 0.11);
  --line-lime: rgba(183, 255, 60, 0.45);

  /* 字体 */
  --font-sans: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-num: "DIN Condensed", "Barlow Condensed", "Oswald", "Arial Narrow", var(--font-sans);
  --font-mono: "IBM Plex Mono", "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo,
    Consolas, monospace;

  /* 尺度 */
  --shell: 1320px;
  --gutter: clamp(18px, 4vw, 56px);
  --gap: clamp(16px, 2vw, 28px);
  --sec-y: clamp(56px, 8vw, 118px);
  --header-h: 66px;

  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);
}

/* ---------- 03 · base & 中文排版 ---------- */
body {
  position: relative;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 179, 173, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 179, 173, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 38% at 84% -6%, rgba(183, 255, 60, 0.10), transparent 70%),
    radial-gradient(48% 30% at 2% 6%, rgba(255, 90, 42, 0.07), transparent 72%);
}

html.is-nav-open { overflow: hidden; }

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

.display {
  font-weight: 900;
  font-size: clamp(40px, 7.6vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
}

.h1 {
  font-weight: 900;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--white);
}

.h2 {
  font-weight: 800;
  font-size: clamp(25px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--white);
}

.h3 {
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--white);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.lede {
  max-width: 62ch;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.8;
  color: var(--text-dim);
}

.num {
  font-family: var(--font-num);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin-block: clamp(24px, 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;
}

/* ---------- 04 · 布局骨架 ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(32px, 5vw, 66px); }

.section--panel {
  background: var(--ink-2);
  border-block: 1px solid var(--line-soft);
}

.section--cream {
  background: var(--cream);
  color: var(--espresso);
}

.section--cream .display,
.section--cream .h1,
.section--cream .h2,
.section--cream .h3 { color: var(--espresso); }

.section--cream .lede { color: #3B3229; }
.section--cream .eyebrow { color: #7A6A57; }
.section--cream .num { color: var(--espresso); }

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

/* 编号章节头 */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  padding-bottom: 16px;
  margin-bottom: clamp(24px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line-soft);
}

.sec-head__index {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--lime);
}

.sec-head__title {
  font-weight: 800;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.sec-head__note {
  max-width: 36ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.section--cream .sec-head { border-color: rgba(26, 20, 16, 0.18); }
.section--cream .sec-head__index { color: var(--flame); }
.section--cream .sec-head__title { color: var(--espresso); }
.section--cream .sec-head__note { color: #5A4E42; }

/* ---------- 05 · 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 1px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  transition: transform 0.24s var(--ease), background 0.24s var(--ease),
    border-color 0.24s var(--ease), color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 -4px rgba(183, 255, 60, 0.38);
}

.btn--lime {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

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

.btn--ghost:hover {
  color: var(--lime);
  border-color: var(--line-lime);
  box-shadow: none;
}

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

/* ---------- 06 · 页头 ---------- */
.skip-link {
  position: fixed;
  left: 14px;
  top: -120px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--lime);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  border-radius: 1px;
  transition: top 0.26s var(--ease);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}

/* 上层台标条 */
.header-utility {
  overflow: hidden;
  max-height: 64px;
  background: linear-gradient(90deg, #0C1A13 0%, #111715 52%, #0C1A13 100%);
  border-bottom: 1px solid var(--line-soft);
  transition: max-height 0.4s var(--ease), opacity 0.3s ease, border-color 0.3s ease;
}

.header-utility__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 26px);
  min-height: 42px;
  padding-block: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.header-utility__brand {
  flex: 0 0 auto;
  color: var(--lime);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.header-utility__line {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mist);
}

.header-utility__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  color: var(--mint);
}

.header-utility__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(183, 255, 60, 0.55);
  animation: bs-pulse 2.6s ease-out infinite;
}

@keyframes bs-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(183, 255, 60, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(183, 255, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(183, 255, 60, 0); }
}

.header-utility__cta {
  flex: 0 0 auto;
  white-space: nowrap;
  color: var(--lime);
  border-bottom: 1px solid var(--line-lime);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.header-utility__cta:hover {
  color: var(--white);
  border-color: var(--white);
}

.site-header.is-compact .header-utility {
  max-height: 0;
  opacity: 0;
  border-color: transparent;
}

/* 下层栏目条 */
.header-bar {
  position: relative;
  z-index: 96;
  background: var(--ink);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 24px);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-num);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 72% 100%, 0 100%);
  transition: background 0.24s ease, color 0.24s ease;
}

.brand:hover .brand__mark {
  background: var(--white);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand__sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--mist);
}

.nav {
  display: flex;
  align-items: center;
  margin-inline-start: auto;
}

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

.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 11px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-dim);
  transition: color 0.22s ease, background 0.22s ease;
}

.nav__num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: rgba(167, 179, 173, 0.55);
  transition: color 0.22s ease;
}

.nav__link:hover {
  color: var(--lime);
  background: rgba(183, 255, 60, 0.07);
}

.nav__link:hover .nav__num { color: var(--lime); }

.nav__link[aria-current="page"] {
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
}

.nav__link[aria-current="page"] .nav__num { color: rgba(7, 11, 10, 0.62); }

.nav__foot { display: none; }

.header-bar__cta { flex: 0 0 auto; }

.nav-toggle { display: none; }

/* 遮罩（JS 生成） */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 88;
  background: rgba(7, 11, 10, 0.74);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-scrim[data-open="true"] {
  opacity: 1;
  visibility: visible;
}

/* ---------- 07 · 页脚 ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lime) 0%, rgba(183, 255, 60, 0) 46%, rgba(255, 90, 42, 0.85) 100%);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 52px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 44ch;
}

.footer-mark {
  font-family: var(--font-sans);
  font-weight: 900;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
}

.footer-mark span { color: var(--lime); }

.footer-statement {
  font-size: 14.5px;
  line-height: 1.8;
  color: #B9C4BE;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

.chip--lime {
  color: var(--lime);
  border-color: var(--line-lime);
}

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

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

.footer-col__title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

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

.footer-link {
  display: inline-block;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: var(--lime);
  transform: translateX(2px);
}

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
  padding-block: clamp(24px, 3.4vw, 40px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(12, 26, 19, 0.65), rgba(12, 26, 19, 0));
}

.footer-contact__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lime);
}

.contact-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-list__k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mist);
}

.contact-list__v {
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--white);
  word-break: break-word;
}

.footer-contact__note {
  grid-column: 1 / -1;
  max-width: 70ch;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--mist);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-block: 20px clamp(24px, 3vw, 36px);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(167, 179, 173, 0.78);
}

.footer-legal__item { margin: 0; }
.footer-legal__item--node { margin-inline-start: auto; }

/* ---------- 08 · 通用组件 ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(18px, 2vw, 26px);
  background: linear-gradient(180deg, rgba(17, 23, 21, 0.94), rgba(12, 26, 19, 0.94));
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
    background 0.28s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: -1px;
  width: 34px;
  height: 2px;
  background: var(--lime);
  opacity: 0.75;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-lime);
}

.card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
}

.card__title {
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--white);
}

.card__meta {
  font-size: 13px;
  line-height: 1.7;
  color: var(--mist);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 1px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}

.tag--lime { color: var(--lime); border-color: var(--line-lime); }
.tag--flame { color: var(--flame-soft); border-color: rgba(255, 90, 42, 0.5); }
.tag--amber { color: var(--amber); border-color: rgba(255, 159, 28, 0.42); }

.media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background:
    radial-gradient(70% 70% at 20% 0%, rgba(183, 255, 60, 0.12), transparent 65%),
    linear-gradient(135deg, #0C1A13 0%, #111715 55%, #060A09 100%);
}

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

.media::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 24px;
  height: 24px;
  border-left: 1px solid rgba(183, 255, 60, 0.55);
  border-top: 1px solid rgba(183, 255, 60, 0.55);
  pointer-events: none;
}

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

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

.stat__num {
  font-family: var(--font-num);
  font-weight: 800;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--mist);
}

.crumbs__link {
  color: var(--mist);
  transition: color 0.2s ease;
}

.crumbs__link:hover { color: var(--lime); }

.crumbs__sep { color: rgba(167, 179, 173, 0.45); }

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

.prose {
  max-width: 70ch;
  font-size: 16px;
  line-height: 1.85;
  color: inherit;
}

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

.prose h3 {
  margin-top: 1.9em;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: inherit;
}

.prose ul { list-style: none; }

.prose li {
  position: relative;
  padding-left: 18px;
}

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

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 8px;
  height: 1px;
  background: var(--flame);
}

.prose strong { font-weight: 700; }

/* ---------- 09 · 动效 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s var(--ease) var(--reveal-delay, 0ms),
    transform 0.5s var(--ease) var(--reveal-delay, 0ms);
}

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

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--lime), var(--mint));
  pointer-events: none;
}

/* ---------- 10 · 焦点与可访问性 ---------- */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

/* ---------- 11 · 断点 ---------- */
@media (min-width: 720px) {
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: 118px minmax(0, 1fr) minmax(0, 0.82fr);
    gap: 24px;
    align-items: end;
  }

  .footer-top {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(32px, 5vw, 72px);
  }

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

  .footer-contact {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
  }
}

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

@media (max-width: 1120px) {
  .header-bar__cta { display: none; }
}

@media (min-width: 961px) {
  .nav-scrim { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 62px; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-inline-start: auto;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--white);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color 0.22s ease, border-color 0.22s ease;
  }

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

  .nav-toggle__bars {
    position: relative;
    display: block;
    width: 16px;
    height: 10px;
  }

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

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

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

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(88vw, 380px);
    margin-inline-start: 0;
    padding: calc(var(--header-h) + 26px) 22px 28px;
    overflow-y: auto;
    background: linear-gradient(180deg, #0C1A13 0%, #070B0A 72%);
    border-left: 1px solid var(--line-lime);
    transform: translateX(103%);
    visibility: hidden;
    transition: transform 0.42s var(--ease), visibility 0.42s linear;
  }

  .nav[data-open="true"] {
    transform: none;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__item { border-bottom: 1px solid var(--line-soft); }

  .nav__link {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 4px;
    border-radius: 0;
    font-size: 19px;
    font-weight: 700;
    color: var(--white);
    background: transparent;
  }

  .nav__link:hover { background: transparent; }

  .nav__num {
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--lime);
  }

  .nav__link[aria-current="page"] {
    background: transparent;
    color: var(--lime);
  }

  .nav__link[aria-current="page"]::after {
    content: "";
    width: 26px;
    height: 1.5px;
    margin-inline-start: auto;
    background: var(--lime);
  }

  .nav__foot {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }

  .nav__foot .btn { width: 100%; }
}

@media (max-width: 640px) {
  .header-utility__line { display: none; }
  .header-utility__status { margin-inline-start: auto; }
  .footer-legal__item--node { margin-inline-start: 0; }
  .contact-list { gap: 14px; }
}

/* ---------- 12 · 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;
    transition-delay: 0ms !important;
  }

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

  .btn:hover { transform: none; }
  .card:hover { transform: none; }
  .footer-link:hover { transform: none; }
}
