/* =========================================================
   赏金电竞 · 共享站点样式 /assets/site.css
   视觉系统：技术蓝图网格 + 赛博竞技场
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--hud-h) + 20px);
}

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

/* ---------- 2. Tokens ---------- */
:root {
  /* color */
  --ink-void: #07070B;
  --ink-slate: #101018;
  --line-blueprint: #23233A;
  --volt-purple: #8A5CFF;
  --arena-orange: #FF6B2C;
  --cold-blue: #45C8FF;
  --paper: #F4EFE6;
  --stone: #9A938A;
  --moss: #7E8F63;
  --clay: #B96A4A;
  --glass: rgba(255, 255, 255, 0.06);
  --white: #FFFFFF;

  /* type */
  --font-display: "Barlow Condensed", "HarmonyOS Sans SC", "Source Han Sans SC", system-ui, sans-serif;
  --font-heading: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-num: "Barlow Condensed", "DIN Alternate", ui-monospace, monospace;

  /* metrics */
  --shell: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --hud-h: 34px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 3. Base ---------- */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--paper);
  background-color: var(--ink-void);
  background-image:
    linear-gradient(to right, rgba(35, 35, 58, 0.45) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(35, 35, 58, 0.45) 1px, transparent 1px),
    radial-gradient(1000px 620px at 82% -12%, rgba(138, 92, 255, 0.18), transparent 62%),
    radial-gradient(760px 480px at 2% 0%, rgba(69, 200, 255, 0.10), transparent 68%);
  background-size: 24px 24px, 24px 24px, auto, auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
}

main { position: relative; flex: 1 0 auto; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--white);
}

p { text-wrap: pretty; }

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

::selection { background: rgba(138, 92, 255, 0.4); color: var(--white); }

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

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

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

.skip-link {
  position: fixed;
  top: 10px; left: 10px;
  z-index: 400;
  padding: 10px 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0B0713;
  background: var(--volt-purple);
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(7, 7, 11, 0.58);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  backdrop-filter: blur(14px) saturate(130%);
  border-bottom: 1px solid rgba(35, 35, 58, 0.85);
  transition: background 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(9, 9, 15, 0.97);
  border-bottom-color: var(--line-blueprint);
  box-shadow: 0 26px 50px -40px #000000;
}

/* HUD 快捷带 */
.hud-band {
  border-bottom: 1px solid rgba(35, 35, 58, 0.65);
  background: linear-gradient(90deg, rgba(138, 92, 255, 0.08), transparent 46%, rgba(255, 107, 44, 0.06));
}
.hud-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--hud-h);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.hud-tag { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.hud-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 10px var(--moss);
}
.hud-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.hud-link {
  padding: 4px 12px;
  color: var(--stone);
  border-left: 1px solid var(--line-blueprint);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.hud-link:hover, .hud-link:focus-visible { color: var(--cold-blue); background: var(--glass); }
.hud-stat { color: var(--volt-purple); white-space: nowrap; }

/* 主导航条 */
.header-bar { position: relative; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

/* 品牌 */
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  position: relative;
  width: 38px; height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(138, 92, 255, 0.55);
  background: linear-gradient(145deg, rgba(138, 92, 255, 0.30), rgba(7, 7, 11, 0.25));
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}
.brand-mark::before {
  content: "";
  width: 0; height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 13px solid var(--arena-orange);
}
.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px; right: 7px; bottom: 7px;
  height: 1px;
  background: var(--cold-blue);
  opacity: 0.85;
}
.brand:hover .brand-mark { border-color: var(--cold-blue); background: linear-gradient(145deg, rgba(69, 200, 255, 0.28), rgba(7, 7, 11, 0.25)); }
.brand-type { display: flex; flex-direction: column; gap: 1px; }
.brand-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1.2;
}
.brand-sub {
  font-family: var(--font-num);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--stone);
  line-height: 1.2;
}

/* 主导航 */
.primary-nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { display: block; }
.nav-link {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 11px 13px;
  font-size: 14.5px;
  line-height: 1.4;
  color: rgba(244, 239, 230, 0.72);
  border-radius: 2px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-label { white-space: nowrap; }
.nav-idx {
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--stone);
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 4px;
  height: 1px;
  background: var(--volt-purple);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease);
}
.nav-link:hover,
.nav-link:focus-visible { color: var(--paper); background: var(--glass); }
.nav-link:hover::after,
.nav-link:focus-visible::after { transform: scaleX(1); }
.nav-link:hover .nav-idx,
.nav-link:focus-visible .nav-idx { color: var(--cold-blue); }
.nav-link[aria-current="page"] {
  color: var(--white);
  background: rgba(138, 92, 255, 0.14);
}
.nav-link[aria-current="page"]::after {
  height: 2px;
  background: var(--arena-orange);
  transform: scaleX(1);
}
.nav-link[aria-current="page"] .nav-idx { color: var(--arena-orange); }

/* 工具区 */
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.header-cta { padding: 9px 16px; font-size: 12.5px; letter-spacing: 0.12em; }
.header-cta:hover { background: rgba(138, 92, 255, 0.16); }

/* 移动菜单按钮 */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--line-blueprint);
  border-radius: 2px;
  background: var(--glass);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-toggle:hover { border-color: var(--volt-purple); }
.nav-toggle-bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle-bar {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--paper);
  transition: transform 0.24s var(--ease), opacity 0.2s var(--ease);
}
.site-header[data-open] .nav-toggle { border-color: var(--arena-orange); }
.site-header[data-open] .nav-toggle-bar:first-child { transform: translateY(3.25px) rotate(45deg); background: var(--arena-orange); }
.site-header[data-open] .nav-toggle-bar:last-child { transform: translateY(-3.25px) rotate(-45deg); background: var(--arena-orange); }

/* 滚动进度 */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--volt-purple), var(--cold-blue) 55%, var(--arena-orange));
  box-shadow: 0 0 12px rgba(138, 92, 255, 0.55);
  will-change: transform;
}

/* ---------- 6. Buttons ---------- */
.bx-btn {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  --btn-bd: var(--line-blueprint);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
              border-color 0.2s var(--ease), transform 0.2s var(--ease),
              box-shadow 0.2s var(--ease);
}
.bx-btn:hover { transform: translateY(-1px); }
.bx-btn:active { transform: translateY(0); }

.bx-btn--solid {
  --btn-bg: var(--arena-orange);
  --btn-fg: #140803;
  --btn-bd: var(--arena-orange);
  box-shadow: 0 12px 32px -20px var(--arena-orange);
}
.bx-btn--solid:hover { --btn-bg: #FF8347; --btn-bd: #FF8347; box-shadow: 0 16px 36px -18px var(--arena-orange); }

.bx-btn--ghost:hover {
  --btn-bd: rgba(138, 92, 255, 0.85);
  --btn-fg: var(--white);
  background: rgba(138, 92, 255, 0.16);
}

.bx-btn--line {
  --btn-bd: transparent;
  --btn-fg: var(--cold-blue);
  padding: 6px 0;
  border-radius: 0;
  border-bottom: 1px solid rgba(69, 200, 255, 0.42);
}
.bx-btn--line:hover { --btn-fg: var(--white); border-bottom-color: var(--arena-orange); transform: none; }

/* ---------- 7. Tags ---------- */
.bx-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line-blueprint);
  border-radius: 2px;
  white-space: nowrap;
}
.bx-tag--purple { color: #C7B2FF; border-color: rgba(138, 92, 255, 0.55); background: rgba(138, 92, 255, 0.14); }
.bx-tag--moss { color: #B4C49A; border-color: rgba(126, 143, 99, 0.65); background: rgba(126, 143, 99, 0.14); }
.bx-tag--clay { color: #E0A184; border-color: rgba(185, 106, 74, 0.7); background: rgba(185, 106, 74, 0.14); }

/* ---------- 8. Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(44px, 6.5vw, 92px);
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 24px;
  padding-bottom: 16px;
  margin-bottom: clamp(24px, 3.6vw, 40px);
  border-bottom: 1px solid var(--line-blueprint);
}
.section-idx {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--arena-orange);
}
.section-title {
  font-size: clamp(23px, 3.1vw, 38px);
  font-weight: 800;
  line-height: 1.1;
  flex: 0 1 auto;
}
.section-sub {
  margin-left: auto;
  max-width: 48ch;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--stone);
}

/* ---------- 9. Grid ---------- */
.bx-grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.bx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bx-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bx-grid--split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }

/* ---------- 10. Card ---------- */
.bx-card {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  background: var(--ink-slate);
  border: 1px solid var(--line-blueprint);
  border-radius: 2px;
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), background 0.22s var(--ease);
}
.bx-card::before,
.bx-card::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid rgba(138, 92, 255, 0);
  transition: border-color 0.22s var(--ease);
  pointer-events: none;
}
.bx-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.bx-card::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.bx-card:hover {
  border-color: rgba(138, 92, 255, 0.6);
  background: #12121C;
  transform: translateY(-3px);
}
.bx-card:hover::before,
.bx-card:hover::after { border-color: var(--arena-orange); }

.bx-card__idx {
  display: inline-block;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--volt-purple);
  margin-bottom: 10px;
}
.bx-card__title {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 800;
  color: var(--paper);
  margin-bottom: 10px;
}
.bx-card__body { font-size: 14.5px; line-height: 1.8; color: rgba(244, 239, 230, 0.78); }
.bx-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(35, 35, 58, 0.9);
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--stone);
}

/* ---------- 11. Media ---------- */
.bx-media {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #12121C, #0A0A11);
  border: 1px solid var(--line-blueprint);
  border-radius: 2px;
  isolation: isolate;
}
.bx-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.06) brightness(0.86);
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
}
.bx-media:hover img { transform: scale(1.03); filter: saturate(1.02) contrast(1.08) brightness(0.96); }
.bx-media--21x9 { aspect-ratio: 21 / 9; }
.bx-media--16x9 { aspect-ratio: 16 / 9; }
.bx-media--4x3 { aspect-ratio: 4 / 3; }
.bx-media--1x1 { aspect-ratio: 1 / 1; }
.bx-media--cut { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.bx-media__idx {
  position: absolute;
  top: 0; right: 0;
  z-index: 2;
  padding: 4px 9px;
  font-family: var(--font-num);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #0B0713;
  background: var(--volt-purple);
}
.bx-media__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 22px 12px 10px;
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--stone);
  background: linear-gradient(0deg, rgba(7, 7, 11, 0.92), transparent);
}

/* ---------- 12. Prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(244, 239, 230, 0.87);
}
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: clamp(21px, 2.4vw, 28px); margin-top: 2em; }
.prose h3 { font-size: clamp(17px, 1.8vw, 21px); color: var(--paper); margin-top: 1.6em; }
.prose a { color: var(--cold-blue); border-bottom: 1px solid rgba(69, 200, 255, 0.4); transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.prose a:hover { color: var(--white); border-bottom-color: var(--arena-orange); }
.prose strong { color: var(--white); font-weight: 700; }
.prose ul li,
.prose ol li { position: relative; padding-left: 20px; margin-top: 0.5em; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.82em;
  width: 8px; height: 1px;
  background: var(--volt-purple);
}
.prose ol { counter-reset: prose-ol; }
.prose ol li::before {
  counter-increment: prose-ol;
  content: counter(prose-ol, decimal-leading-zero);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--arena-orange);
  line-height: 1.9;
}
.prose blockquote {
  padding: 16px 20px;
  border-left: 2px solid var(--arena-orange);
  background: rgba(16, 16, 24, 0.8);
  color: var(--stone);
}
.prose code {
  font-family: var(--font-num);
  font-size: 0.95em;
  padding: 1px 6px;
  color: var(--cold-blue);
  background: rgba(69, 200, 255, 0.1);
  border-radius: 2px;
}

/* ---------- 13. Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 18px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.breadcrumbs a { color: var(--stone); transition: color 0.2s var(--ease); }
.breadcrumbs a:hover { color: var(--cold-blue); }
.breadcrumbs__sep { color: var(--line-blueprint); }
.breadcrumbs [aria-current="page"] { color: var(--paper); }

/* ---------- 14. Data table ---------- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line-blueprint);
  border-radius: 2px;
  background: var(--ink-slate);
}
.data-table { min-width: 560px; font-size: 14px; }
.data-table caption {
  padding: 14px 16px;
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: left;
  border-bottom: 1px solid var(--line-blueprint);
}
.data-table th {
  padding: 11px 14px;
  font-family: var(--font-num);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: left;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid var(--line-blueprint);
  white-space: nowrap;
}
.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(35, 35, 58, 0.7);
  color: rgba(244, 239, 230, 0.86);
}
.data-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.015); }
.data-table tbody tr:hover { background: rgba(138, 92, 255, 0.09); }
.data-table td.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }

/* ---------- 15. Reveal ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- 16. Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 110;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: rgba(16, 16, 24, 0.92);
  border: 1px solid var(--line-blueprint);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease),
              visibility 0.24s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.to-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover {
  color: var(--white);
  border-color: var(--volt-purple);
  box-shadow: 0 0 0 1px rgba(138, 92, 255, 0.45), 0 14px 30px -22px var(--volt-purple);
}
.to-top-arrow {
  font-family: var(--font-num);
  font-size: 17px;
  line-height: 1;
  color: var(--arena-orange);
}

/* ---------- 17. Footer ---------- */
.site-footer {
  position: relative;
  margin-top: clamp(48px, 7vw, 96px);
  overflow: hidden;
  background: linear-gradient(180deg, #08080E 0%, #0A0A12 58%, #07070B 100%);
  border-top: 1px solid var(--line-blueprint);
  color: var(--stone);
}
.footer-slash {
  position: absolute;
  top: -1px; left: 0;
  width: clamp(120px, 20vw, 300px);
  height: 3px;
  background: linear-gradient(90deg, var(--arena-orange), var(--volt-purple));
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}
.footer-watermark {
  position: absolute;
  right: clamp(8px, 2vw, 28px);
  bottom: -0.08em;
  font-family: var(--font-display);
  font-size: clamp(64px, 13vw, 168px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.02em;
  color: rgba(244, 239, 230, 0.035);
  pointer-events: none;
  user-select: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.55fr 1fr 0.9fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(44px, 6vw, 78px) clamp(28px, 4vw, 46px);
}

.footer-brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.brand--footer .brand-mark { width: 44px; height: 44px; }
.brand--footer .brand-name { font-size: 19px; }
.footer-note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(244, 239, 230, 0.66);
}
.footer-coord {
  font-family: var(--font-num);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(154, 147, 138, 0.7);
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-num);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer-head::before {
  content: "";
  width: 14px; height: 1px;
  background: var(--arena-orange);
}
.footer-links { display: flex; flex-direction: column; gap: 2px; }
.footer-links a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  color: rgba(244, 239, 230, 0.72);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--cold-blue); transform: translateX(3px); }

.footer-meta { display: flex; flex-direction: column; gap: 10px; }
.footer-meta__row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.7);
}
.footer-meta__key {
  font-family: var(--font-num);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}
.footer-strong {
  font-family: var(--font-num);
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(35, 35, 58, 0.85);
  background: rgba(7, 7, 11, 0.55);
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  padding-block: 18px 24px;
  font-family: var(--font-num);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--stone);
}
.footer-copy { color: rgba(244, 239, 230, 0.72); }
.footer-legal {
  padding: 2px 10px;
  color: var(--stone);
  border: 1px solid var(--line-blueprint);
  border-radius: 2px;
}
.footer-hours { margin-left: auto; color: rgba(154, 147, 138, 0.85); }

/* ---------- 18. Responsive ---------- */
@media (max-width: 1199px) {
  .hud-nav { display: none; }
  .nav-link { padding: 10px 10px; font-size: 13.5px; }
  .nav-link::after { left: 10px; right: 10px; }
  .nav-idx { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .hud-band { display: none; }
  .brand-name { font-size: 16px; }
  .nav-toggle { display: grid; }
  .header-inner { min-height: var(--header-h); gap: 12px; }
  .header-tools { margin-left: auto; }

  .primary-nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    display: block;
    max-height: calc(100vh - var(--header-h) - 12px);
    overflow-y: auto;
    padding: 8px var(--gutter) 22px;
    background: rgba(9, 9, 15, 0.99);
    border-bottom: 1px solid var(--line-blueprint);
    box-shadow: 0 34px 60px -40px #000000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s var(--ease);
  }
  .site-header[data-open] .primary-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    justify-content: flex-start;
    gap: 14px;
    padding: 15px 4px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid rgba(35, 35, 58, 0.8);
    background: none;
  }
  .nav-link::after { left: 4px; right: auto; width: 22px; bottom: 8px; }
  .nav-idx { display: inline-block; font-size: 11px; }
  .nav-link[aria-current="page"] { background: rgba(138, 92, 255, 0.1); }

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

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-hours { margin-left: 0; }
  .section-sub { margin-left: 0; max-width: none; }
}

@media (max-width: 700px) {
  body { font-size: 16px; }
  .bx-grid--2, .bx-grid--3 { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  .footer-watermark { font-size: clamp(52px, 18vw, 96px); }
  .breadcrumbs { font-size: 10px; letter-spacing: 0.12em; }
}

/* ---------- 19. Motion preference ---------- */
@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;
    scroll-behavior: auto !important;
  }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .bx-card:hover,
  .bx-btn:hover,
  .bx-media:hover img,
  .footer-links a:hover { transform: none; }
  .to-top { transition: none; }
}
