/* ============================================================
   王者赏金赛 · 共享样式表 /assets/site.css
   暗夜赛场 / 赏金金线 / 电光紫·熔岩橙·竞技青蓝
   ============================================================ */

/* ---------- 1. Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body { margin: 0; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
img, svg, video { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }

/* ---------- 2. Tokens ---------- */
:root {
  color-scheme: dark;

  --void: #07070B;
  --deep: #0F0F16;
  --carbon: #1A1A24;
  --gold: #C9A227;
  --gold-hi: #E8C96A;
  --violet: #7B4DFF;
  --lava: #FF6A3D;
  --cyan: #35D0E0;
  --ink: #F2F2F7;
  --mute: #A0A0B0;

  --line: rgba(201, 162, 39, .24);
  --hairline: rgba(242, 242, 247, .09);
  --grid-line: rgba(242, 242, 247, .03);

  --font-title: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "DejaVu Sans Mono", "Courier New", monospace;

  --w-max: 1440px;
  --pad-x: clamp(16px, 4vw, 56px);
  --r-capsule: 999px;
  --r-card: 4px;

  --fast: .18s ease;
  --slow: .34s cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  background-color: var(--void);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 900;
  font-stretch: condensed;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

a { text-decoration: none; }

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

.bs-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 4. Skip link ---------- */
.bs-skip {
  position: fixed;
  left: 18px;
  top: -80px;
  z-index: 200;
  padding: 11px 18px;
  background: var(--violet);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  border-radius: 2px;
  box-shadow: 0 18px 36px -20px rgba(123, 77, 255, .9);
  transition: top var(--fast);
}
.bs-skip:focus { top: 16px; }

/* ---------- 5. Header ---------- */
.bs-header {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 14px var(--pad-x) 0;
  background: linear-gradient(180deg, rgba(7, 7, 11, .96) 0%, rgba(7, 7, 11, .74) 62%, rgba(7, 7, 11, 0) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bs-header__rail {
  position: relative;
  max-width: var(--w-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.4vw, 24px);
  padding: 9px 12px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-capsule);
  background: rgba(15, 15, 22, .9);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, .98), inset 0 1px 0 rgba(242, 242, 247, .06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: border-color var(--slow), background var(--slow);
}
.bs-header:hover .bs-header__rail { border-color: rgba(201, 162, 39, .42); }
.bs-header[data-open="true"] .bs-header__rail {
  border-color: rgba(123, 77, 255, .5);
  border-radius: 20px;
}

/* Brand */
.bs-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  padding-right: clamp(6px, 1.4vw, 20px);
  border-right: 1px solid var(--hairline);
  color: var(--ink);
}
.bs-brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: linear-gradient(150deg, rgba(201, 162, 39, .2), rgba(123, 77, 255, .16));
  box-shadow: inset 0 0 12px rgba(201, 162, 39, .16);
  color: var(--gold-hi);
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  transition: box-shadow var(--fast), color var(--fast);
}
.bs-brand:hover .bs-brand__mark {
  color: #fff;
  box-shadow: inset 0 0 16px rgba(201, 162, 39, .3), 0 0 18px -4px rgba(232, 201, 106, .5);
}
.bs-brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.bs-brand__name {
  font-family: var(--font-title);
  font-weight: 900;
  font-stretch: condensed;
  font-size: 16px;
  letter-spacing: .02em;
  color: var(--ink);
}
.bs-brand__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--mute);
}

/* Nav */
.bs-nav { flex: 1 1 auto; min-width: 0; }
.bs-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: navidx;
}
.bs-nav__item { counter-increment: navidx; display: flex; }
.bs-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--r-capsule);
  color: var(--mute);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--fast), background var(--fast), box-shadow var(--fast);
}
.bs-nav__link::before {
  content: counter(navidx, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--gold);
  opacity: .55;
  transition: opacity var(--fast), color var(--fast);
}
.bs-nav__link:hover {
  color: var(--ink);
  background: rgba(123, 77, 255, .16);
}
.bs-nav__link:hover::before { opacity: 1; color: var(--gold-hi); }
.bs-nav__link[aria-current="page"] {
  color: var(--ink);
  background: linear-gradient(180deg, rgba(123, 77, 255, .26), rgba(123, 77, 255, .07));
  box-shadow: inset 0 0 0 1px rgba(123, 77, 255, .45);
}
.bs-nav__link[aria-current="page"]::before { opacity: 1; color: var(--gold-hi); }

/* Tools */
.bs-header__tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-left: auto;
}
.bs-search {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-capsule);
  background: rgba(7, 7, 11, .62);
  color: var(--mute);
  font-size: 13px;
  white-space: nowrap;
  transition: border-color var(--fast), color var(--fast), background var(--fast);
}
.bs-search:hover,
.bs-search:focus-visible {
  border-color: rgba(53, 208, 224, .62);
  background: rgba(53, 208, 224, .08);
  color: var(--ink);
}
.bs-search__icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border: 1.6px solid currentColor;
  border-radius: 50%;
}
.bs-search__icon::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.6px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: right center;
}
.bs-search__text {
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Buttons */
.bs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--fast), box-shadow var(--fast), background var(--fast), color var(--fast), border-color var(--fast);
}
.bs-btn--lava {
  color: #14070B;
  background: linear-gradient(135deg, var(--lava), #FF9166);
  box-shadow: 0 10px 26px -16px rgba(255, 106, 61, .95);
}
.bs-btn--lava:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px -16px rgba(255, 106, 61, 1);
}
.bs-btn--gold {
  color: #0B0A05;
  background: linear-gradient(135deg, var(--gold), var(--gold-hi));
}
.bs-btn--gold:hover { transform: translateY(-1px); }
.bs-btn--violet {
  color: #fff;
  background: linear-gradient(135deg, var(--violet), #A184FF);
  box-shadow: 0 10px 26px -18px rgba(123, 77, 255, .95);
}
.bs-btn--ghost {
  color: var(--gold-hi);
  border-color: var(--line);
  background: rgba(201, 162, 39, .06);
}
.bs-btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, .16);
  color: #fff;
}

/* Burger */
.bs-burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgba(26, 26, 36, .92);
  cursor: pointer;
  transition: border-color var(--fast), background var(--fast);
}
.bs-burger:hover { border-color: var(--gold); background: rgba(201, 162, 39, .12); }
.bs-burger__bar {
  display: block;
  width: 18px;
  height: 1.8px;
  background: var(--gold-hi);
  transition: transform var(--fast), opacity var(--fast);
}
.bs-header[data-open="true"] .bs-burger__bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bs-header[data-open="true"] .bs-burger__bar:nth-child(2) { opacity: 0; }
.bs-header[data-open="true"] .bs-burger__bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Scroll progress */
.bs-progress {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}
.bs-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--violet) 52%, var(--cyan));
  transition: width .12s linear;
}

/* ---------- 6. Footer ---------- */
.bs-footer {
  position: relative;
  margin-top: clamp(64px, 9vw, 140px);
  padding: clamp(40px, 6vw, 80px) var(--pad-x) 32px;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(123, 77, 255, .1), transparent 62%),
    linear-gradient(180deg, var(--deep), var(--void));
  color: var(--mute);
  font-size: 14px;
}
.bs-footer::before {
  content: "";
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0) 58%, var(--violet));
}
.bs-footer__inner {
  max-width: var(--w-max);
  margin: 0 auto;
}
.bs-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.7fr);
  gap: clamp(28px, 4vw, 72px);
  padding-bottom: clamp(28px, 4vw, 52px);
  border-bottom: 1px solid var(--hairline);
}
.bs-brand--footer {
  border-right: 0;
  padding-right: 0;
}
.bs-footer__tagline {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--gold);
}
.bs-footer__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
}
.bs-footer__col-title {
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--gold-hi);
}
.bs-footer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bs-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mute);
  font-size: 14px;
  transition: color var(--fast);
}
.bs-footer__link::before {
  content: "";
  width: 10px;
  height: 1px;
  background: var(--gold);
  opacity: .45;
  transition: width var(--fast), opacity var(--fast);
}
.bs-footer__link:hover { color: var(--ink); }
.bs-footer__link:hover::before { width: 20px; opacity: 1; }

.bs-footer__meta {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 13px;
}
.bs-footer__contact .bs-mono { color: var(--cyan); }
.bs-footer__addr { color: rgba(160, 160, 176, .88); }

.bs-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(160, 160, 176, .8);
}
.bs-footer__copy { margin: 0; }
.bs-footer__copy .bs-mono { color: var(--mute); }
.bs-footer__links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bs-footer__links-inline a {
  color: var(--mute);
  transition: color var(--fast);
}
.bs-footer__links-inline a:hover { color: var(--gold-hi); }

/* ---------- 7. Layout utilities ---------- */
.bs-container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.bs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}
.bs-rule {
  height: 1px;
  border: 0;
  margin: clamp(24px, 4vw, 48px) 0;
  background: linear-gradient(90deg, var(--line), rgba(201, 162, 39, 0));
}
.bs-prose { max-width: 70ch; }
.bs-prose p { margin: 0 0 1.1em; }
.bs-prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.8em 0 .6em; }
.bs-prose h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); margin: 1.4em 0 .5em; color: var(--gold-hi); }
.bs-prose ul, .bs-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.bs-prose li { margin: .35em 0; }
.bs-prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 8. Typography utilities ---------- */
.bs-title-xl { font-size: clamp(2.5rem, 7vw, 6rem); line-height: .98; letter-spacing: -.03em; }
.bs-title-lg { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.04; }
.bs-title-md { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
.bs-slant { transform: skewX(-3deg); }
.bs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--gold);
}
.bs-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0));
}
.bs-lede {
  max-width: 62ch;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.85;
  color: #D6D6E2;
}
.bs-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.bs-index {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: var(--gold-hi);
}

/* ---------- 9. Components ---------- */
.bs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 28px);
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: linear-gradient(160deg, rgba(26, 26, 36, .94), rgba(15, 15, 22, .9));
  transition: border-color var(--fast), transform var(--fast), box-shadow var(--fast);
}
.bs-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 39, 0) 72%);
  opacity: .5;
  transition: opacity var(--fast);
}
.bs-card:hover {
  border-color: rgba(201, 162, 39, .5);
  transform: translateY(-2px);
  box-shadow: 0 26px 46px -36px rgba(0, 0, 0, 1);
}
.bs-card:hover::after { opacity: 1; }
.bs-card__title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.bs-card__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--mute);
}

.bs-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid rgba(53, 208, 224, .42);
  border-radius: 2px;
  background: rgba(53, 208, 224, .08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--cyan);
}
.bs-tag--gold {
  border-color: var(--line);
  background: rgba(201, 162, 39, .09);
  color: var(--gold-hi);
}
.bs-tag--lava {
  border-color: rgba(255, 106, 61, .45);
  background: rgba(255, 106, 61, .1);
  color: #FFB59B;
}

.bs-breadcrumb { margin: 0 0 clamp(18px, 2.5vw, 30px); }
.bs-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--mute);
}
.bs-breadcrumb__item { display: inline-flex; align-items: center; gap: 8px; }
.bs-breadcrumb__item + .bs-breadcrumb__item::before {
  content: "/";
  color: rgba(201, 162, 39, .6);
}
.bs-breadcrumb__link { color: var(--mute); transition: color var(--fast); }
.bs-breadcrumb__link:hover { color: var(--gold-hi); }
.bs-breadcrumb__item[aria-current="page"] { color: var(--ink); }

.bs-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background-color: var(--carbon);
  background-image:
    linear-gradient(rgba(242, 242, 247, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 242, 247, .045) 1px, transparent 1px),
    radial-gradient(90% 80% at 18% 8%, rgba(123, 77, 255, .24), transparent 62%),
    linear-gradient(150deg, var(--carbon), var(--void));
  background-size: 48px 48px, 48px 48px, cover, cover;
}
.bs-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.06);
}
.bs-media--wide { aspect-ratio: 21 / 9; }
.bs-media--tall { aspect-ratio: 4 / 5; }
.bs-media--square { aspect-ratio: 1 / 1; }
.bs-media__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(7, 7, 11, .9));
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--mute);
}

/* ---------- 10. Reveal ---------- */
.bs-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.bs-reveal[data-visible] {
  opacity: 1;
  transform: none;
}

/* ---------- 11. Responsive ---------- */
@media (max-width: 1180px) {
  .bs-search__text { display: none; }
  .bs-search { padding: 9px 12px; }
  .bs-nav__link { padding: 8px; font-size: 13px; }
  .bs-nav__link::before { display: none; }
}

@media (max-width: 900px) {
  .bs-header { padding: 10px 12px 0; }
  .bs-header__rail {
    flex-wrap: wrap;
    row-gap: 0;
    padding: 10px 12px;
    border-radius: 20px;
  }
  .bs-header[data-open="true"] .bs-header__rail { border-radius: 20px; }
  .bs-brand {
    flex: 1 1 auto;
    border-right: 0;
    padding-right: 0;
  }
  .bs-header__tools { gap: 8px; }
  .bs-search { display: none; }
  .bs-burger { display: flex; }
  .bs-progress { left: 14px; right: 14px; }

  .bs-nav {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--slow), opacity var(--slow);
  }
  .bs-header[data-open="true"] .bs-nav {
    max-height: 70vh;
    overflow-y: auto;
    opacity: 1;
  }
  .bs-nav__list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-top: 10px;
    padding: 6px 0 10px;
    border-top: 1px solid var(--hairline);
  }
  .bs-nav__link {
    width: 100%;
    padding: 13px 8px;
    border-radius: 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 15px;
  }
  .bs-nav__link::before {
    display: inline-block;
    font-size: 11px;
    color: var(--gold);
    opacity: .8;
  }
  .bs-nav__link:hover { background: rgba(123, 77, 255, .12); }
  .bs-nav__link[aria-current="page"] {
    background: linear-gradient(90deg, rgba(123, 77, 255, .3), transparent);
    box-shadow: inset 2px 0 0 var(--violet);
  }

  .bs-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bs-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .bs-footer__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-footer__links { grid-template-columns: 1fr 1fr; gap: 22px; }
  .bs-footer__base {
    flex-direction: column;
    align-items: flex-start;
  }
  .bs-footer__links-inline { gap: 12px; }
}

@media (max-width: 420px) {
  .bs-brand__sub { display: none; }
  .bs-brand__mark { width: 30px; height: 30px; font-size: 15px; }
  .bs-brand__name { font-size: 15px; }
  .bs-btn--lava { padding: 9px 12px; font-size: 13px; }
}

/* ---------- 12. 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;
  }
  .bs-reveal {
    opacity: 1;
    transform: none;
  }
}
