/* =========================================================
   冠竞赛场 · 共享样式 /assets/site.css
   夜间转播台 + 战报编辑部
   ========================================================= */

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

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

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

ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; }
button, [type="button"] { -webkit-appearance: none; appearance: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--cyan); color: var(--ink-950); }

/* ---------- tokens ---------- */
:root {
  --ink-950: #061711;
  --ink-900: #0B241C;
  --ink-800: #123328;
  --paper: #F0E9D8;
  --kraft: #CBBE9F;
  --cyan: #38F2D0;
  --orange: #FF5A2A;
  --gold: #E3B24B;
  --white: #FFFFFF;
  --moss: #8FA99E;
  --alert: #FF6B6B;
  --text: #DFD9C9;

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

  --shell: 1440px;
  --gutter: clamp(16px, 2vw, 28px);
  --pad: clamp(16px, 3vw, 40px);
  --hair: 1px solid rgba(203, 190, 159, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 64px;
}

/* ---------- base ---------- */
body {
  min-height: 100vh;
  background-color: var(--ink-950);
  background-image:
    radial-gradient(1200px 620px at 10% -12%, rgba(56, 242, 208, 0.1), transparent 62%),
    radial-gradient(920px 520px at 100% 0%, rgba(255, 90, 42, 0.08), transparent 66%);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-stretch: 92%;
}

p { text-wrap: pretty; }

.data,
[data-numeric] {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(32px, 5vw, 76px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 24px;
  padding-bottom: 14px;
  border-bottom: var(--hair);
  margin-bottom: clamp(20px, 3vw, 36px);
}
.section-head--tight { margin-bottom: 16px; padding-bottom: 10px; }

.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, rgba(203, 190, 159, 0.5), rgba(56, 242, 208, 0.25), transparent);
  margin-block: clamp(24px, 4vw, 48px);
}

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

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}
.grid > * { min-width: 0; }

.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-12 { grid-column: span 12; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(56, 242, 208, 0.55);
}

.display-1 {
  font-size: clamp(2.8rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  transform: skewX(-2deg);
  text-wrap: balance;
}
.display-1--stencil {
  text-shadow: 1px 0 0 rgba(240, 233, 216, 0.5), -1px 0 0 rgba(240, 233, 216, 0.3);
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.8;
  color: #D9D3C2;
  max-width: 62ch;
}

.prose { max-width: 72ch; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 2rem; margin-bottom: 0.6rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: 0.4rem; }
.prose ul, .prose ol { margin-block: 0.8em; padding-left: 1.2em; }
.prose ul li { list-style: square; }
.prose ol li { list-style: decimal; }
.prose li + li { margin-top: 0.35em; }
.prose a { color: var(--cyan); border-bottom: 1px solid rgba(56, 242, 208, 0.45); }
.prose a:hover { color: var(--white); border-color: var(--white); }

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  background: var(--orange);
  color: var(--ink-950);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 10px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--ink-950);
  isolation: isolate;
}

.cmd-bar {
  position: relative;
  background: linear-gradient(180deg, #08211A 0%, #061711 100%);
  border-bottom: 1px solid rgba(203, 190, 159, 0.32);
}

.cmd-bar__inner {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 26px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 10px var(--pad);
  min-height: var(--header-h);
  transition: min-height 0.25s var(--ease), padding 0.25s var(--ease);
}

.site-header[data-condensed] .cmd-bar__inner {
  min-height: 54px;
  padding-block: 6px;
}

/* 品牌索引 */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--paper);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  background: var(--paper);
  color: var(--ink-950);
  border: 1px solid var(--kraft);
  border-radius: 2px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
  transform: skewX(-8deg);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.16; }
.brand__name {
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--white);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--moss);
}
.brand__ver {
  align-self: flex-start;
  margin-top: 2px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid rgba(227, 178, 75, 0.45);
  border-radius: 2px;
}

/* 命令栏导航 */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.8vw, 26px);
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.9vw, 16px);
  flex-wrap: nowrap;
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 40px;
  padding: 8px 4px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(240, 233, 216, 0.78);
  border-bottom: 2px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.site-nav__num {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--moss);
  transition: color 0.2s var(--ease);
}
.site-nav__label { white-space: nowrap; }

.site-nav__link:hover { color: var(--white); border-bottom-color: rgba(56, 242, 208, 0.5); }
.site-nav__link:hover .site-nav__num { color: var(--cyan); }

.site-nav__link[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--cyan);
}
.site-nav__link[aria-current="page"] .site-nav__num { color: var(--cyan); }
.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(56, 242, 208, 0.8);
}

.site-nav__utility {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-left: clamp(8px, 1.4vw, 20px);
  border-left: 1px solid rgba(203, 190, 159, 0.26);
}

/* 移动端按钮 */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 13px;
  margin-left: auto;
  background: rgba(11, 36, 28, 0.75);
  border: 1px solid rgba(203, 190, 159, 0.42);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--cyan); color: var(--white); }
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transition: transform 0.25s var(--ease), top 0.25s var(--ease);
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars::after { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5px; transform: rotate(-45deg); }
.nav-toggle__label { line-height: 1; }

/* 进度线 */
.cmd-bar__progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--gold) 62%, var(--orange) 100%);
  transition: transform 0.12s linear;
  pointer-events: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background-color 0.18s var(--ease), border-color 0.18s var(--ease),
              color 0.18s var(--ease);
}
.btn--primary {
  background: var(--orange);
  color: var(--ink-950);
  box-shadow: 3px 3px 0 0 rgba(6, 23, 17, 0.75);
}
.btn--primary:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 0 rgba(6, 23, 17, 0.85);
}
.btn--primary:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 0 rgba(6, 23, 17, 0.8); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(203, 190, 159, 0.55);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--white); background: rgba(56, 242, 208, 0.08); }
.btn--sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.82rem;
}

/* ---------- collect badge ---------- */
.collect-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 12px;
  background: rgba(227, 178, 75, 0.1);
  border: 1px solid rgba(227, 178, 75, 0.5);
  border-radius: 2px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.collect-badge:hover { border-color: var(--gold); background: rgba(227, 178, 75, 0.18); }
.collect-badge__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(227, 178, 75, 0.18);
  border-radius: 50%;
}
.collect-badge__count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
}

/* ---------- tags & chips ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--moss);
}
.tag--cyan { color: var(--cyan); }
.tag--gold { color: var(--gold); }
.tag--orange { color: var(--orange); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: rgba(11, 36, 28, 0.65);
  border: 1px solid rgba(203, 190, 159, 0.4);
  border-radius: 2px;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease), background-color 0.18s var(--ease);
}
.chip:hover { border-color: var(--cyan); color: var(--white); }
.chip[aria-pressed="true"],
.chip[aria-selected="true"],
.chip.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--ink-950);
}

/* ---------- paper stack ---------- */
.paper {
  position: relative;
  background: var(--paper);
  color: #10231C;
  border: 1px solid var(--kraft);
  border-radius: 2px;
  box-shadow:
    4px 4px 0 0 rgba(6, 23, 17, 0.9),
    8px 8px 0 0 rgba(203, 190, 159, 0.22);
}
.paper__num {
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 2;
  padding: 3px 9px;
  background: var(--ink-950);
  color: var(--cyan);
  border: 1px solid var(--kraft);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

/* ---------- panels & stats ---------- */
.panel {
  position: relative;
  padding: clamp(16px, 2.4vw, 26px);
  background: rgba(11, 36, 28, 0.72);
  border: 1px solid rgba(203, 190, 159, 0.28);
  border-radius: 2px;
}
.panel--flush { padding: 0; overflow: hidden; }
.panel--dash {
  background: #081E18;
  border-color: rgba(56, 242, 208, 0.35);
  box-shadow: 0 20px 34px -24px #000, inset 0 0 0 1px rgba(56, 242, 208, 0.08);
}

.stat { display: flex; flex-direction: column; gap: 2px; }
.stat__value {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.1rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cyan);
}
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  padding-block: 16px 4px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--moss);
}
.crumbs li { display: inline-flex; align-items: center; gap: 10px; }
.crumbs li:not(:first-child)::before {
  content: "/";
  color: rgba(203, 190, 159, 0.45);
}
.crumbs a { color: rgba(240, 233, 216, 0.8); }
.crumbs a:hover { color: var(--cyan); }
.crumbs [aria-current="page"] { color: var(--cyan); }

/* ---------- media containers ---------- */
.media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(150deg, #0E2B22 0%, #123328 48%, #081B15 100%);
  border: 1px solid rgba(203, 190, 159, 0.32);
  border-radius: 2px;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.9) brightness(0.92);
  transition: transform 0.5s var(--ease);
}
.media--wide { aspect-ratio: 21 / 9; }
.media--tall { aspect-ratio: 3 / 4; }
.media--square { aspect-ratio: 1 / 1; }

.media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(56, 242, 208, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 242, 208, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
  pointer-events: none;
}
.media__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  padding: 4px 10px;
  background: var(--orange);
  color: var(--ink-950);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- reveal motion ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.4s var(--ease) var(--reveal-delay, 0ms),
    transform 0.4s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: linear-gradient(180deg, #08211A 0%, #061711 58%, #04120D 100%);
  border-top: 1px solid rgba(203, 190, 159, 0.35);
  color: var(--paper);
}

.footer__inner {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px) var(--pad) 26px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 40px);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.brand--footer { color: var(--paper); }
.brand--footer .brand__mark {
  background: var(--ink-950);
  color: var(--cyan);
  border-color: rgba(56, 242, 208, 0.6);
}

.footer__note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss);
}

.footer__col { min-width: 0; }

.footer__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(203, 190, 159, 0.26);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--paper);
}
.footer__num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

.footer__list { display: flex; flex-direction: column; gap: 2px; }
.footer__list a {
  display: inline-block;
  padding: 6px 0;
  font-size: 0.92rem;
  color: rgba(240, 233, 216, 0.76);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer__list a:hover { color: var(--cyan); transform: translateX(3px); }

.footer__contact {
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(20px, 3vw, 32px);
  border-top: 1px solid rgba(203, 190, 159, 0.26);
}
.footer__contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px 28px;
  margin-top: 14px;
}
.footer__contact-grid p {
  font-size: 0.84rem;
  line-height: 1.7;
  color: var(--moss);
}
.footer__strong {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  word-break: break-word;
}
.footer__hint {
  margin-top: 16px;
  max-width: 72ch;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--moss);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: clamp(24px, 4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid rgba(203, 190, 159, 0.26);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--moss);
}
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: rgba(240, 233, 216, 0.82);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.footer__legal-links a:hover { color: var(--cyan); border-bottom-color: var(--cyan); }
.footer__copy { line-height: 1.7; }
.footer__icp { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .cmd-bar__inner { position: relative; justify-content: space-between; gap: 12px; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--pad) 22px;
    background: #08211A;
    border-top: 1px solid rgba(203, 190, 159, 0.3);
    border-bottom: 1px solid rgba(203, 190, 159, 0.42);
    box-shadow: 0 30px 46px -30px #000;
  }
  .site-nav[data-open] { display: flex; }

  html.nav-open { overflow: hidden; }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__item { border-bottom: 1px dashed rgba(203, 190, 159, 0.22); }
  .site-nav__item:last-child { border-bottom: 0; }
  .site-nav__link {
    justify-content: flex-start;
    align-items: center;
    min-height: 52px;
    padding: 12px 2px;
    font-size: 1rem;
    border-bottom: 0;
  }
  .site-nav__num { color: var(--cyan); font-size: 0.72rem; }
  .site-nav__link[aria-current="page"] { color: var(--cyan); }
  .site-nav__link[aria-current="page"]::after {
    left: auto;
    right: 2px;
    width: 6px;
    height: 6px;
  }

  .site-nav__utility {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding: 16px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(203, 190, 159, 0.26);
  }
  .site-nav__utility .btn { flex: 1 1 150px; min-height: 44px; }
  .site-nav__utility .collect-badge { min-height: 44px; }

  .grid { gap: clamp(14px, 3vw, 22px); }
  .span-3, .span-4, .span-5, .span-6 { grid-column: span 6; }
  .span-7, .span-8, .span-9, .span-10 { grid-column: span 12; }
}

@media (max-width: 640px) {
  .brand__sub { display: none; }
  .brand__mark { width: 30px; height: 30px; font-size: 0.95rem; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 0 12px; }

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

  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .display-1 { transform: none; }
}

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

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

  .media img { transition: none; }
  .btn:hover, .footer__list a:hover { transform: none; }
  .display-1 { transform: none; }
}
