/* Nexar official site. Rajdhani (SIL OFL) for titles and the interface, the system face for reading. */

@font-face { font-family: "Rajdhani"; src: url("../fonts/Rajdhani-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/Rajdhani-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/Rajdhani-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("../fonts/Rajdhani-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #07070a;
  --bg-alt: #0c0c12;
  --panel: #12121a;
  --panel-2: #181822;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #ececf1;
  --muted: #a3a3b2;
  --faint: #6e6e7c;
  --red: #e22028;
  --red-hot: #ff3a40;
  --red-glow: rgba(226, 32, 40, 0.45);
  --neon: #b04dff;
  --neon-glow: rgba(176, 77, 255, 0.35);
  --display: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --header-h: 92px;
  --header-h-solid: 70px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h-solid); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 0.5em; letter-spacing: 0.02em; }
h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2vw, 20px); color: var(--muted); max-width: 62ch; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }

.eyebrow {
  font: 600 14px/1 var(--display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red-hot);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); box-shadow: 0 0 10px var(--red-glow); }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  font: 700 16px/1 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, var(--red-hot), var(--red));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 10px 30px -10px var(--red-glow);
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-small { --h: 40px; padding: 0 16px; font-size: 13px; letter-spacing: 0.12em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.3s ease, background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
/* A red rule under the header once it is solid, brightest under the logo. */
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red) 18%, rgba(226, 32, 40, 0.25) 55%, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.site-header.is-solid::after { opacity: 1; }
.site-header.is-solid {
  height: var(--header-h-solid);
  background: rgba(7, 7, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 22px rgba(226, 32, 40, 0.28));
  transition: height 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}
.brand:hover img { transform: scale(1.04); filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 28px rgba(226, 32, 40, 0.55)); }
.site-header.is-solid .brand img { height: 42px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) {
  font: 600 15px/1 var(--display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.site-nav a:not(.btn):hover, .site-nav a.is-current { color: var(--text); }
.site-nav a:not(.btn):hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 60% 40%; transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.12) translate(-1.5%, 1%); } }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 10, 0.92) 0%, rgba(7, 7, 10, 0.62) 42%, rgba(7, 7, 10, 0.15) 75%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 10, 0) 30%),
    radial-gradient(60% 70% at 85% 30%, rgba(176, 77, 255, 0.18), transparent 70%);
}
.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
.hero-content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); padding-bottom: 80px; }
.kicker { font: 600 15px/1 var(--display); letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.hero-logo { margin: 0 0 22px; }
.hero-logo img { width: min(560px, 82vw); height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.6)); }
.hero-tagline {
  font: 700 clamp(26px, 3.6vw, 42px)/1.1 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  max-width: 22ch;
}
.hero-tagline span { color: var(--red-hot); text-shadow: 0 0 24px var(--red-glow); }
.hero-sub { color: var(--muted); font-size: clamp(17px, 1.8vw, 19px); max-width: 46ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.status { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1.3 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 0 var(--red-glow); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--red-glow); } 70% { box-shadow: 0 0 0 10px rgba(226, 32, 40, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 32, 40, 0); } }
.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Work in progress ---------- */
.wip {
  position: relative;
  z-index: 3;
  background: linear-gradient(90deg, rgba(226, 32, 40, 0.16), rgba(176, 77, 255, 0.08) 60%, rgba(7, 7, 10, 0));
  border-top: 1px solid rgba(226, 32, 40, 0.35);
  border-bottom: 1px solid var(--line);
}
.wip-inner { display: flex; align-items: center; gap: 20px; padding-top: 18px; padding-bottom: 18px; }
.wip-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font: 700 13px/1 var(--display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.wip-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.wip p { margin: 0; color: var(--muted); font-size: 16px; }
.wip strong { color: var(--text); }

/* "So far" notes: what the section shows is today's build. */
.dev-note {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin: 4px 0 0;
  padding: 9px 14px;
  border: 1px dashed rgba(226, 32, 40, 0.5);
  border-radius: 8px;
  background: rgba(226, 32, 40, 0.06);
  color: #d9d9e2;
  font: 600 16px/1.4 var(--display);
  letter-spacing: 0.04em;
}
.dev-note::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--red-hot); transform: rotate(45deg) translateY(-1px); }
.stats-note, .chips-title { font: 700 14px/1 var(--display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--text); margin: 0 0 14px; }
.stats-note span { color: var(--red-hot); }
.chips-title { color: var(--muted); margin-top: 8px; }
.chips + .dev-note { margin-top: 22px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split p:not(.lead):not(.eyebrow) { color: var(--muted); max-width: 60ch; }

.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stats li {
  position: relative;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats li::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--red); box-shadow: 0 0 14px var(--red-glow); }
.stats strong { display: block; font: 700 46px/1 var(--display); letter-spacing: 0.02em; }
.stats span { display: block; font: 700 15px/1.2 var(--display); letter-spacing: 0.16em; text-transform: uppercase; margin: 6px 0 8px; }
.stats small { display: block; color: var(--faint); font-size: 14px; line-height: 1.4; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative;
  padding: 30px 26px 26px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(226, 32, 40, 0.5); box-shadow: 0 18px 40px -20px var(--red-glow); }
.card .icon { width: 44px; height: 44px; fill: none; stroke: var(--red-hot); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; filter: drop-shadow(0 0 8px var(--red-glow)); }
.card h3 { font-size: 22px; }
.card p { color: var(--muted); margin: 0; font-size: 16px; }

/* ---------- Arenas ---------- */
.arena { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: clamp(56px, 8vw, 96px); }
.arena:last-child { margin-bottom: 0; }
.arena-flip .arena-main { order: 2; }
.arena-main, .thumbs a, .gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}
.arena-main img, .thumbs img, .gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 9; transition: transform 0.5s ease, filter 0.3s ease; }
.arena-main:hover img, .thumbs a:hover img, .gallery a:hover img { transform: scale(1.05); filter: brightness(1.08); }
.arena-main::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), inset 0 -80px 80px -60px rgba(0, 0, 0, 0.7);
  pointer-events: none;
}
.arena-text h3 { font-size: clamp(30px, 3.4vw, 40px); }
.arena-text p:not(.eyebrow) { color: var(--muted); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.thumbs a { border-radius: 8px; }

/* ---------- Operatives ---------- */
.video-frame { margin: 0 0 clamp(36px, 5vw, 56px); }
.video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(226, 32, 40, 0.15), 0 0 60px -20px var(--neon-glow);
}
.video-frame figcaption { color: var(--faint); font-size: 14px; margin-top: 12px; text-align: center; }

.faces { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.faces li { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.faces img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.5s ease; }
.faces li:hover img { transform: scale(1.06); }
.faces span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  font: 700 13px/1 var(--display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent);
}

.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font: 600 15px/1 var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips strong { color: var(--text); font-weight: 700; margin-right: 4px; }

/* ---------- Arsenal ---------- */
.arsenal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.arsenal-col { padding: 28px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.arsenal-col h3 { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.arsenal-col h3 small { font-size: 28px; color: var(--red-hot); }
.arsenal-col ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 16px; }
.arsenal-col li { break-inside: avoid; padding: 6px 0; color: var(--muted); font: 500 17px/1.3 var(--display); letter-spacing: 0.04em; }
.arsenal-col li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--red); transform: rotate(45deg) translateY(-2px); }

/* ---------- Media ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* ---------- Follow ---------- */
.follow { text-align: center; overflow: hidden; }
.follow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 60% at 50% 40%, rgba(226, 32, 40, 0.14), transparent 70%);
  pointer-events: none;
}
.follow-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.follow-mark { width: 120px; height: auto; margin-bottom: 18px; filter: drop-shadow(0 0 30px var(--red-glow)); }
.follow .lead { margin: 0 auto 26px; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.social:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; background: #050507; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.footer-row img { height: 26px; width: auto; opacity: 0.85; }
.footer-row p { margin: 0; color: var(--faint); font-size: 14px; }
.footer-row .fine { flex-basis: 100%; font-size: 12.5px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(3, 3, 5, 0.94);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1600px, 100%); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; border: 1px solid var(--line-strong); }
.lightbox figcaption { text-align: center; color: var(--muted); margin-top: 12px; font: 600 15px/1.3 var(--display); letter-spacing: 0.1em; text-transform: uppercase; }
.lightbox button {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.lightbox button:hover { background: var(--red); border-color: var(--red); }
.lightbox .lb-close { position: absolute; top: 16px; right: 16px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .faces { grid-template-columns: repeat(3, 1fr); }
  .arsenal { grid-template-columns: 1fr; }
  .arsenal-col ul { columns: 3; }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
  }
  .menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: transform 0.25s ease, background 0.25s ease;
  }
  .menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle .bars::before { top: -6px; }
  .menu-toggle .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: rgba(7, 7, 10, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 16px; }
  .site-header { background: rgba(7, 7, 10, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line); }
  .split, .arena { grid-template-columns: 1fr; }
  .wip-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .arena-flip .arena-main { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 7, 10, 0.75) 45%, rgba(7, 7, 10, 0.45) 100%); }
}

@media (max-width: 560px) {
  :root { --header-h: 76px; --header-h-solid: 64px; }
  .brand img { height: 46px; }
  .site-header.is-solid .brand img { height: 38px; }
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .stats strong { font-size: 38px; }
  .faces { grid-template-columns: repeat(2, 1fr); }
  .arsenal-col ul { columns: 2; }
  .gallery { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .lightbox { padding: 12px; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 20px; }
  .lightbox .lb-prev { left: 20px; }
  .lightbox .lb-next { right: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
