/* BSPORTS赛场 · shared site kit
   赛场墨绿底 / 荧光青柠数据点 / 暖橙红变动标记 */

:root {
  --ink: #071C16;
  --charcoal: #101512;
  --pine: #123329;
  --lime: #C9FF3F;
  --flame: #FF5B3D;
  --paper: #F2EFE4;
  --mist: #8EA69A;
  --data-gray: #66786E;
  --lime-mist: #E9FFB8;
  --wire: #2A3A33;

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

  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(900px 520px at 84% -12%, rgba(201, 255, 63, .10), transparent 62%),
    radial-gradient(760px 520px at -12% 18%, rgba(255, 91, 61, .07), transparent 66%),
    var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--paper);
}

h1 { font-size: clamp(2.1rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul, ol { margin: 0; padding: 0; }

button { font-family: inherit; }

::selection { background: var(--lime); color: #0A1A12; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------- skip link ---------- */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-180%);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #0A1A12;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px var(--gutter) 0;
  pointer-events: none;
}

.site-header__island {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 1.6vw, 22px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 9px 10px 9px 14px;
  border: 1px solid var(--wire);
  border-radius: var(--radius-pill);
  background: rgba(16, 21, 18, .88);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
  backdrop-filter: blur(14px);
  transition: padding .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease);
}

.site-header.is-condensed .site-header__island {
  padding: 5px 8px 5px 10px;
  background: rgba(7, 28, 22, .97);
  border-color: rgba(201, 255, 63, .22);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--paper);
  text-decoration: none;
}

.header-brand__mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(142deg, var(--lime) 0 62%, #a8dd21 62% 100%);
  color: #07160F;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .2s var(--ease);
}
.header-brand:hover .header-brand__mark { transform: rotate(-4deg); }

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

.header-brand__name {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.header-brand__tagline {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mist);
  line-height: 1.5;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 16px);
  min-width: 0;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  display: inline-block;
  padding: 8px 11px;
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s var(--ease), background .16s var(--ease);
}
.site-nav__link:hover { color: var(--paper); background: rgba(201, 255, 63, .10); }
.site-nav__link[aria-current="page"] {
  color: #0A1A12;
  background: var(--lime);
  font-weight: 700;
}

.site-nav__quick {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.site-nav__quick-label {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--data-gray);
}
.quick-link {
  padding: 5px 11px;
  border: 1px solid var(--wire);
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-size: 13px;
  text-decoration: none;
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.quick-link:hover { color: var(--lime); border-color: var(--lime); }

.site-nav__cta { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border: 1px solid var(--wire);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.nav-toggle:hover { border-color: var(--lime); color: var(--lime); }

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-toggle__bars i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.site-header[data-open] .nav-toggle__bars i:first-child { transform: translateY(3px) rotate(45deg); }
.site-header[data-open] .nav-toggle__bars i:last-child { transform: translateY(-3px) rotate(-45deg); }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
  z-index: 90;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--lime), var(--flame));
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s var(--ease), background .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn--primary { background: var(--lime); border-color: var(--lime); color: #0A1A12; }
.btn--primary:hover { background: var(--lime-mist); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--wire); color: var(--paper); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn--flame { background: var(--flame); border-color: var(--flame); color: #1A0603; }
.btn--flame:hover { background: #ff7a60; transform: translateY(-2px); }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 128px);
  background: var(--charcoal);
  border-top: 1px solid var(--wire);
  color: var(--paper);
}

.footer-stripe {
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--lime) 0 44px,
    transparent 44px 88px,
    var(--flame) 88px 132px,
    transparent 132px 176px
  );
  opacity: .78;
}

.footer-inner {
  padding-top: clamp(38px, 5.5vw, 68px);
  padding-bottom: clamp(24px, 3vw, 36px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: clamp(28px, 4vw, 56px);
}

.footer-brand { display: block; }

.footer-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border: 1px solid rgba(201, 255, 63, .45);
  border-radius: 12px;
  background: rgba(201, 255, 63, .08);
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
}

.footer-brand__name {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.footer-statement {
  max-width: 32ch;
  margin: 0 0 16px;
  color: var(--mist);
  font-size: 14.5px;
  line-height: 1.7;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-meta li {
  padding: 3px 10px;
  border: 1px dashed rgba(102, 120, 110, .6);
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

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

.footer-col__title {
  margin: 0 0 14px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.footer-links a {
  display: inline-block;
  color: var(--paper);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .16s var(--ease), transform .16s var(--ease);
}
.footer-links a:hover { color: var(--lime); transform: translateX(3px); }

.footer-contact {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.9fr);
  gap: clamp(18px, 3vw, 36px);
  margin-top: clamp(30px, 4.4vw, 52px);
  padding-top: clamp(22px, 3.2vw, 34px);
  border-top: 1px dashed rgba(102, 120, 110, .5);
}

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

.footer-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.footer-contact__item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 10px;
  min-width: 0;
}
.footer-contact__item--wide { grid-column: 1 / -1; }

.footer-contact__label {
  color: var(--data-gray);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-contact__value {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}
.footer-contact__item--wide .footer-contact__value {
  font-family: var(--font-sans);
  font-size: 14.5px;
  word-break: normal;
}

.copy-btn {
  padding: 2px 9px;
  border: 1px solid var(--wire);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.copy-btn:hover { color: var(--lime); border-color: var(--lime); }
.copy-btn[data-copied="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #0A1A12;
}
.copy-btn[data-copied="false"] {
  border-color: var(--flame);
  color: var(--flame);
}

.footer-contact__note {
  grid-column: 1 / -1;
  margin: 14px 0 0;
  max-width: 74ch;
  color: var(--data-gray);
  font-size: 12.5px;
  line-height: 1.7;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: clamp(24px, 3.4vw, 40px);
  padding-top: 18px;
  border-top: 1px solid rgba(102, 120, 110, .35);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}
.footer-legal p { margin: 0; }
.footer-legal__icp { color: var(--data-gray); }
.footer-legal__link {
  color: var(--mist);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.footer-legal__link:hover { color: var(--lime); }

/* ---------- layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(44px, 6.5vw, 92px);
}

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, var(--wire), rgba(42, 58, 51, 0) 72%);
}

.section-index {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1;
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--data-gray);
}

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.display {
  font-size: clamp(2.1rem, 5.6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.title {
  font-size: clamp(1.55rem, 3.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.lead {
  max-width: 58ch;
  color: var(--mist);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
}

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

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

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

/* ---------- tags & chips ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 1px solid var(--wire);
  border-radius: var(--radius-pill);
  background: rgba(18, 51, 41, .7);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tag--lime { background: var(--lime); border-color: var(--lime); color: #0A1A12; }
.tag--flame { background: var(--flame); border-color: var(--flame); color: #1A0603; }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  appearance: none;
  padding: 7px 15px;
  border: 1px solid var(--wire);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  transition: color .16s var(--ease), border-color .16s var(--ease), background .16s var(--ease);
}
.chip:hover { color: var(--paper); border-color: var(--data-gray); }
.chip[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: #0A1A12;
}

/* ---------- panels & paper cards ---------- */
.panel {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--wire);
  border-radius: var(--radius-m);
  background: var(--pine);
}

.panel--paper {
  background: var(--paper);
  border-color: #d9d4c2;
  color: var(--charcoal);
}
.panel--paper h2,
.panel--paper h3,
.panel--paper h4,
.panel--paper .title { color: var(--charcoal); }
.panel--paper .note,
.panel--paper .lead { color: #4a5a52; }

.paper-card {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: var(--radius-s);
  border: 1px solid var(--wire);
  background: var(--paper);
  color: var(--charcoal);
  box-shadow: 7px 7px 0 0 rgba(201, 255, 63, .16);
}
.paper-card h3,
.paper-card h4 { color: var(--charcoal); }
.paper-card .note { color: #4a5a52; }

/* ---------- accordion ---------- */
.accordion {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--wire);
}

.accordion__item { border-bottom: 1px solid var(--wire); }

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  background: none;
  color: var(--paper);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: color .16s var(--ease);
}
.accordion__trigger:hover { color: var(--lime); }

.accordion__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--wire);
  border-radius: var(--radius-pill);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1;
  transition: transform .22s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
  color: var(--lime);
  border-color: var(--lime);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.accordion__item[data-open="true"] .accordion__panel { grid-template-rows: 1fr; }

.accordion__inner { overflow: hidden; }

.accordion__body {
  max-width: 70ch;
  padding: 0 4px 22px;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- media frames ---------- */
.media-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wire);
  border-radius: var(--radius-m);
  background: linear-gradient(160deg, #0d2a22, #071c16);
}
.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-frame--16x9 { aspect-ratio: 16 / 9; }
.media-frame--4x3 { aspect-ratio: 4 / 3; }
.media-frame--4x5 { aspect-ratio: 4 / 5; }
.media-frame--1x1 { aspect-ratio: 1 / 1; }
.media-frame--wide { aspect-ratio: 21 / 9; }

.media-frame--empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    118deg,
    rgba(201, 255, 63, .12) 0 1px,
    transparent 1px 20px
  );
  pointer-events: none;
}

.media-frame__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--lime);
  color: #0A1A12;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.media-frame__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 16px 12px;
  background: linear-gradient(transparent, rgba(7, 28, 22, .92));
  color: var(--paper);
  font-size: 12.5px;
  letter-spacing: .01em;
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  color: var(--data-gray);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.breadcrumbs a {
  color: var(--mist);
  text-decoration: none;
  transition: color .16s var(--ease);
}
.breadcrumbs a:hover { color: var(--lime); }
.breadcrumbs__sep { opacity: .55; }
.breadcrumbs [aria-current="page"] { color: var(--lime); }

/* ---------- prose ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin: 1.6em 0 .6em; }
.prose h3 { margin: 1.4em 0 .5em; }
.prose p { margin: 0 0 1.1em; color: #dfe6dd; }
.prose ul,
.prose ol { margin: 0 0 1.2em; padding-left: 1.2em; color: #dfe6dd; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--lime); font-weight: 700; }
.prose blockquote {
  margin: 1.6em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--lime);
  background: rgba(18, 51, 41, .55);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  color: var(--paper);
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .header-brand__tagline { display: none; }
  .site-nav__link { padding: 8px 9px; font-size: 13.5px; }
}

@media (max-width: 980px) {
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .footer-contact { grid-template-columns: 1fr; }
  .grid--split { grid-template-columns: 1fr; }
}

/* ---------- mobile: bottom capsule nav ---------- */
@media (max-width: 920px) {
  body { padding-bottom: 104px; }

  .site-header {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  }

  .site-header__island {
    padding: 8px 10px 8px 12px;
    border-radius: 20px;
  }

  .site-header.is-condensed .site-header__island {
    padding: 8px 10px 8px 12px;
  }

  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    max-height: min(70vh, 520px);
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--wire);
    border-radius: var(--radius-l);
    background: rgba(9, 24, 19, .985);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .55);
  }
  .site-header[data-open] .site-nav { display: flex; }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .site-nav__link {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    font-size: 15px;
  }
  .site-nav__link[aria-current="page"] { border-radius: 12px; }

  .site-nav__quick { display: flex; }
  .site-nav__cta { display: inline-flex; width: 100%; }

  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 20px; }
  .footer-contact__list { grid-template-columns: 1fr; }
  .footer-legal { gap: 8px 16px; font-size: 11.5px; }
}

@media (max-width: 560px) {
  .header-brand__mark { width: 34px; height: 34px; font-size: 12px; }
  .header-brand__name { font-size: 15px; }
  .footer-meta li { font-size: 10px; letter-spacing: .1em; }
  .footer-brand__mark { width: 40px; height: 40px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-progress__bar { transition: none !important; }
}

/* ---------- print ---------- */
@media print {
  .site-header,
  .site-footer,
  .scroll-progress,
  .skip-link { display: none !important; }
  body { background: #fff; color: #111; }
  a { color: #111; }
}
