/* ============================================================
   九游赛场 — 全站共享样式 /assets/site.css
   战术板视觉底本：深红 + 炭黑主体，沙金细线分区，
   贺兰山灰蓝块面，荧光黄绿只服务数据。
   ============================================================ */

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

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

body {
  margin: 0;
  background: var(--c-warm);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button, input, select, textarea { font: inherit; color: inherit; }

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

table { border-collapse: collapse; width: 100%; }

/* ---------- 2. Tokens ---------- */
:root {
  --c-red: #8C1C24;
  --c-red-deep: #5A0F16;
  --c-ink: #16181C;
  --c-graphite: #2A2E35;
  --c-warm: #F4F1EA;
  --c-sand: #C9A254;
  --c-slate: #4A6272;
  --c-neon: #C8F03C;
  --c-text: #1F2226;
  --c-muted: #5C6169;
  --c-hair: #D8D2C6;

  --warm-line: rgba(216, 210, 198, .34);
  --ink-line: rgba(216, 210, 198, .16);
  --sand-line: rgba(201, 162, 84, .42);

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

  --wrap: 1320px;
  --gutter: clamp(18px, 4.2vw, 60px);
  --radius: 2px;
  --shadow-1: 0 1px 2px rgba(22, 24, 28, .04), 0 18px 40px -30px rgba(22, 24, 28, .5);
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 3. Typography ---------- */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -.02em;
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 32px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -.01em;
}

h3, .h3 {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--c-muted);
}

.muted { color: var(--c-muted); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -.015em;
  margin: 0;
}

.annotation {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--c-muted);
}

.annotation--vertical {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: .3em;
  font-size: 12px;
  color: var(--c-sand);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-red);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 22px;
  height: 2px;
  background: var(--c-sand);
}

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

.num-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  background: var(--c-ink);
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: .92em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  border-radius: 1px;
}

.rule {
  border: 0;
  border-top: 1px solid var(--c-hair);
  margin: 0;
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide { max-width: 1600px; }
.container--narrow { max-width: 940px; }

.grid {
  display: grid;
  gap: clamp(18px, 2.6vw, 36px);
}

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

.grid--editorial {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(22px, 3.4vw, 54px);
}

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(28px, 4vw, 52px); }

.section--ink { background: var(--c-ink); color: var(--c-warm); }
.section--graphite { background: var(--c-graphite); color: var(--c-warm); }
.section--warm { background: var(--c-warm); }

.section--ink .eyebrow,
.section--graphite .eyebrow { color: var(--c-sand); }

.section--ink .lead,
.section--graphite .lead,
.section--ink .annotation,
.section--graphite .annotation { color: rgba(244, 241, 234, .68); }

.section--ink .num-chip,
.section--graphite .num-chip,
.panel--ink .num-chip {
  background: rgba(200, 240, 60, .12);
  color: var(--c-neon);
  border: 1px solid rgba(200, 240, 60, .38);
}

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

.btn--primary {
  background: var(--c-red);
  color: #fff;
  border-color: var(--c-red-deep);
}
.btn--primary:hover {
  background: var(--c-red-deep);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--c-warm);
  border-color: var(--sand-line);
}
.btn--ghost:hover {
  border-color: var(--c-sand);
  color: #fff;
  background: rgba(201, 162, 84, .12);
}

.btn--dark {
  background: var(--c-ink);
  color: var(--c-warm);
  border-color: var(--c-graphite);
}
.btn--dark:hover {
  background: var(--c-graphite);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- 6. Panels / tags ---------- */
.panel {
  background: #FFFFFF;
  border: 1px solid var(--c-hair);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: clamp(18px, 2.4vw, 30px);
}

.panel--ink {
  background: var(--c-graphite);
  border-color: var(--ink-line);
  color: var(--c-warm);
  box-shadow: none;
}

.tag {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--c-hair);
  border-radius: 1px;
  background: transparent;
  color: var(--c-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
}

.tag--red { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.tag--sand { background: rgba(201, 162, 84, .16); border-color: var(--c-sand); color: var(--c-red-deep); }
.tag--slate { background: var(--c-slate); border-color: var(--c-slate); color: #fff; }

/* ---------- 7. Breadcrumb ---------- */
.breadcrumb {
  padding-block: 20px 0;
  font-size: 13px;
  color: var(--c-muted);
}

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

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

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  color: var(--c-sand);
  font-family: var(--font-mono);
}

.breadcrumb__link {
  border-bottom: 1px solid transparent;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.breadcrumb__link:hover {
  color: var(--c-red);
  border-bottom-color: var(--c-sand);
}

/* ---------- 8. Media frames ---------- */
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--c-graphite);
  border: 1px solid var(--c-hair);
}

.media::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -1px;
  width: 34px;
  height: 34px;
  border-top: 2px solid var(--c-sand);
  border-right: 2px solid var(--c-sand);
  pointer-events: none;
}

.media__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 6px 10px;
  background: rgba(22, 24, 28, .86);
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}

.media--16x9 { aspect-ratio: 16 / 9; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--portrait { aspect-ratio: 3 / 4; }

/* ---------- 9. Expandable groups ---------- */
.expand {
  border-bottom: 1px solid var(--c-hair);
}

.expand__trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: inherit;
  cursor: pointer;
}

.expand__mark {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--c-sand);
  border-radius: 1px;
}

.expand__mark::before,
.expand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--c-red);
}

.expand__mark::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.expand__mark::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: transform .22s var(--ease);
}

.expand[data-open] .expand__mark::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.expand__panel {
  height: 0;
  overflow: hidden;
  transition: height .3s var(--ease);
}

.expand__body {
  padding: 0 0 22px 36px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--c-muted);
}

.section--ink .expand,
.section--graphite .expand { border-bottom-color: var(--ink-line); }
.section--ink .expand__body,
.section--graphite .expand__body { color: rgba(244, 241, 234, .68); }
.section--ink .expand__mark::before,
.section--ink .expand__mark::after,
.section--graphite .expand__mark::before,
.section--graphite .expand__mark::after { background: var(--c-neon); }

/* ---------- 10. Skip link ---------- */
.skip-link {
  position: fixed;
  left: 16px;
  top: -90px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--c-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--radius);
  transition: top .2s var(--ease);
}

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

/* ---------- 11. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: var(--c-ink);
  color: var(--c-warm);
  border-bottom: 1px solid var(--sand-line);
}

.header-bar {
  position: relative;
  z-index: 65;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "brand ticker nav";
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gutter);
}

/* --- brand --- */
.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  background: var(--c-red);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .04em;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 -2px 0 var(--c-red-deep);
}

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

.brand__name {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--c-warm);
  white-space: nowrap;
}

.brand__line {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .04em;
  color: rgba(244, 241, 234, .58);
  white-space: nowrap;
}

.brand__version {
  flex: none;
  padding: 2px 7px;
  border: 1px solid rgba(200, 240, 60, .45);
  border-radius: 1px;
  color: var(--c-neon);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}

/* --- ticker --- */
.ticker {
  grid-area: ticker;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  overflow: hidden;
  padding-block: 2px;
  border-left: 1px solid var(--sand-line);
  border-right: 1px solid var(--sand-line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

.ticker__lead {
  flex: none;
  padding-left: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-sand);
  white-space: nowrap;
  transition: color .16s var(--ease);
}
.ticker__lead:hover { color: var(--c-neon); }

.ticker__track {
  display: flex;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ticker__track::-webkit-scrollbar { display: none; }

.ticker__item {
  flex: none;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 6px 15px;
  border-right: 1px dashed var(--ink-line);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .03em;
  color: rgba(244, 241, 234, .72);
  white-space: nowrap;
}
.ticker__item:last-child { border-right: 0; }

.ticker__num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-sand);
}

/* --- nav --- */
.nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.nav__link {
  display: block;
  padding: 9px 11px;
  border-bottom: 2px solid transparent;
  color: rgba(244, 241, 234, .78);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  transition: color .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06);
}

.nav__link[aria-current="page"] {
  color: var(--c-warm);
  font-weight: 700;
  border-bottom-color: var(--c-neon);
  background: rgba(140, 28, 36, .3);
}

.nav__cta {
  flex: none;
  padding: 9px 16px;
  font-size: 13.5px;
}

/* --- nav toggle --- */
.nav-toggle {
  grid-area: toggle;
  position: relative;
  z-index: 71;
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  background: transparent;
  border: 1px solid var(--sand-line);
  border-radius: var(--radius);
  color: var(--c-warm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  cursor: pointer;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}

.nav-toggle:hover {
  border-color: var(--c-sand);
  background: rgba(201, 162, 84, .12);
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}

.nav-toggle__bars i {
  display: block;
  height: 2px;
  background: var(--c-sand);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

.nav-toggle__bars i:nth-child(2) { width: 70%; }

.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars i:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* --- scrim --- */
.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(22, 24, 28, .66);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}

.nav-scrim[data-open] {
  opacity: 1;
  pointer-events: auto;
}

/* --- scroll progress --- */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  z-index: 3;
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--c-red), var(--c-sand) 58%, var(--c-neon));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .09s linear;
}

/* ---------- 12. Footer ---------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 120px);
  background: var(--c-ink);
  color: rgba(244, 241, 234, .72);
  border-top: 3px solid var(--c-red);
  font-size: 14.5px;
}

.footer__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(38px, 5vw, 66px) var(--gutter) clamp(22px, 3vw, 34px);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(30px, 4vw, 52px);
  border-bottom: 1px solid var(--ink-line);
}

.footer__mark {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  color: var(--c-warm);
}

.footer__mark::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 12px;
  background: var(--c-sand);
}

.footer__desc {
  max-width: 36ch;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(244, 241, 234, .6);
}

.footer__region {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-sand);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(244, 241, 234, .62);
}

.footer__contact li { display: flex; flex-wrap: wrap; gap: 8px; }

.footer__label {
  flex: none;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-slate);
  padding-top: 2px;
}

.footer__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--c-warm);
}

.footer__title a {
  padding-bottom: 3px;
  border-bottom: 1px solid var(--sand-line);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.footer__title a:hover {
  color: var(--c-sand);
  border-bottom-color: var(--c-sand);
}

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

.footer__list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244, 241, 234, .66);
}

.footer__list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 1px;
  background: var(--c-sand);
  opacity: .75;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding-top: clamp(20px, 2.6vw, 28px);
  font-size: 12.5px;
  color: rgba(244, 241, 234, .5);
}

.footer__copy { margin: 0; }

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__legal-link {
  color: rgba(244, 241, 234, .74);
  border-bottom: 1px solid var(--ink-line);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}

.footer__legal-link:hover {
  color: var(--c-neon);
  border-bottom-color: var(--c-neon);
}

.footer__icp {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

/* ---------- 13. Focus ---------- */
:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
}

.site-footer :focus-visible {
  outline-color: var(--c-sand);
}

/* ---------- 14. Responsive ---------- */
@media (max-width: 1279px) {
  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand nav"
      "ticker ticker";
    row-gap: 10px;
    padding-block: 13px 11px;
  }

  .ticker {
    border-left: 0;
    border-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ticker__lead { padding-left: 0; }
}

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

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

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

  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 979px) {
  .header-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand toggle"
      "ticker ticker";
  }

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

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(340px, 88vw);
    padding: 96px 26px 34px;
    background: var(--c-graphite);
    border-left: 1px solid var(--sand-line);
    box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .75);
    overflow-y: auto;
    transform: translateX(103%);
    transition: transform .32s var(--ease);
  }

  .nav[data-open] { transform: translateX(0); }

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

  .nav__link {
    padding: 15px 14px;
    border-bottom: 1px solid var(--ink-line);
    border-left: 3px solid transparent;
    font-size: 17px;
    font-weight: 600;
  }

  .nav__link[aria-current="page"] {
    border-bottom-color: var(--ink-line);
    border-left-color: var(--c-neon);
    background: rgba(140, 28, 36, .28);
  }

  .nav__cta {
    width: 100%;
    margin-top: 26px;
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body { font-size: 16px; }

  .brand__line { display: none; }

  .annotation--vertical { display: none; }

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

  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .footer__icp { margin-left: 0; }

  .expand__body { padding-left: 0; }
}

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

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

  .brand__version { display: none; }

  .nav-toggle__label { display: none; }
}

/* ---------- 15. Motion preference ---------- */
@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-progress__bar { transition: none; }
}
