/* The media-kit look: ink background, red top-left vs blue bottom-right, stencil logo, gold accents. */
:root {
  color-scheme: dark;
  --ink: #0d0e12;
  --ink-2: #14161c;
  --panel: #171a21;
  --line: rgba(255,255,255,.08);
  --fg: #f6f3ea;
  --muted: #a3a8b4;
  --red: #e5402f;
  --red-deep: #5c1410;
  --blue: #3f7bf0;
  --blue-deep: #0f2257;
  --gold: #ffc94a;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --logo: "Black Ops One", "Barlow Condensed", Impact, sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--ink); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.px { image-rendering: pixelated; }
.logo { font-family: var(--logo); letter-spacing: .04em; transform: skewX(-8deg); display: inline-block; line-height: 1; white-space: nowrap; }
.logo .r { color: var(--red); } .logo .b { color: var(--blue); } .logo .t { color: var(--fg); }
.eyebrow { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
h2 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 7vw, 76px); line-height: .9; margin: 0 0 16px; text-wrap: balance; -webkit-text-stroke: .025em currentColor; text-shadow: 0 .05em 0 #0b0710; }
.lede { color: var(--muted); max-width: 60ch; margin: 0; }
section { padding-block: clamp(64px, 9vw, 112px); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(13,14,18,.82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--ink); }
.nav .wrap { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.nav .logo { font-size: 30px; text-decoration: none; text-shadow: 2px 2px 0 #0b0710; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--fg); }
@media (max-width: 720px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 0; border-radius: 4px; padding: 12px 20px; cursor: pointer; color: var(--fg); }
.btn-discord { background: #5865f2; }
.btn-discord:hover { background: #4752c4; }
.btn svg { width: 22px; height: 22px; flex: none; }
.nav .btn { font-size: 16px; padding: 8px 14px; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(72px, 12vw, 150px) clamp(56px, 8vw, 96px); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(/assets/img/hero-bg.webp) center / cover; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13,14,18,.35) 0%, rgba(13,14,18,.55) 55%, var(--ink) 100%); }
.hero .logo { font-size: clamp(110px, 22vw, 220px); text-shadow: .035em .035em 0 #0b0710, 0 .08em .3em rgba(0,0,0,.5); }
.hero .tag { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 4vw, 40px); line-height: 1; margin: 14px 0 34px; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hero .tag .r { color: var(--red); } .hero .tag .b { color: var(--blue); }
.join { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.ip { display: flex; align-items: stretch; background: rgba(10,10,14,.78); border: 1px solid rgba(255,255,255,.14); border-radius: 4px; overflow: hidden; }
.ip code { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .04em; padding: 9px 18px; display: flex; align-items: center; white-space: nowrap; }
.ip code .g { color: var(--gold); }
.ip button { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: #18130a; border: 0; padding: 0 18px; cursor: pointer; min-width: 112px; }
.ip button:hover { background: #ffd877; }
.status { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.status .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #6b7280; margin-right: 8px; vertical-align: 1px; }
.status .on .dot { background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.status b { color: var(--fg); font-weight: 800; }

/* gameplay strip */
.reel { padding-block: 0 clamp(40px, 6vw, 72px); }
/* shown at its native 936px (the 2x render), never stretched past it */
.reel figure { margin: 0 auto; max-width: 936px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.reel img { width: 100%; height: auto; aspect-ratio: 936 / 120; }
.reel figcaption { font-size: 14px; color: var(--muted); padding: 10px 14px; background: var(--ink-2); border-top: 1px solid var(--line); }

/* how to play */
.split { background:
    linear-gradient(118deg, rgba(92,20,16,.55) 0%, transparent 42%),
    linear-gradient(118deg, transparent 58%, rgba(15,34,87,.6) 100%), var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: rgba(13,14,18,.72); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: grid; gap: 12px; align-content: start; counter-increment: s; }
.steps .icons { display: flex; gap: 8px; }
.steps .icons img { width: 48px; height: 48px; }
.steps h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0; }
.steps h3::before { content: counter(s) " "; color: var(--gold); }
.steps p { margin: 0; color: var(--muted); }
.steps p b { color: var(--fg); font-weight: 600; }
.note { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* kits */
/* four across, the short last row centred rather than left hanging */
.kits { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.kit { flex: 0 1 calc((100% - 3 * 14px) / 4); min-width: 240px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 18px;
  display: grid; grid-template-columns: 52px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 14px; align-items: center; }
@media (max-width: 560px) { .kit { flex-basis: 100%; } }
.kit img { width: 52px; height: 52px; background: rgba(255,255,255,.04); border-radius: 4px; padding: 6px; }
.kit h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 26px; line-height: 1; margin: 0; overflow-wrap: anywhere; }
.chips { grid-column: 1 / -1; align-self: start; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.chips li { white-space: nowrap; }
.chips li { font-size: 13px; font-weight: 600; color: #d8dbe2; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); border-radius: 3px; padding: 2px 8px; }

/* maps */
.maps { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 40px; }
.map { position: relative; margin: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 30%, #252a38 0%, #12141b 70%); aspect-ratio: 4 / 3; display: grid; place-items: center; }
.map img { width: 92%; height: 82%; object-fit: contain; transition: transform .4s ease; filter: drop-shadow(0 18px 24px rgba(0,0,0,.5)); }
.map:hover img { transform: scale(1.04); }
.map figcaption { position: absolute; left: 14px; bottom: 10px; font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.8); }

/* modes */
.modes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 40px; }
.mode { border-top: 3px solid var(--gold); background: var(--panel); border-radius: 0 0 6px 6px; padding: 20px; }
.mode h3 { font-family: var(--display); font-weight: 900; font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0 0 8px; }
.mode p { margin: 0; color: var(--muted); }

/* final call */
.final { text-align: center; }
.final .logo { font-size: clamp(72px, 12vw, 120px); text-shadow: .035em .035em 0 #0b0710; }
.final .join { justify-content: center; margin-top: 26px; }
footer { border-top: 1px solid var(--line); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- motion ---------- */
/* hero: slow cinematic drift on the map collage, embers on a canvas, a video slot for shader footage */
.hero::before { animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.06) translate(-1.5%, -1%); } to { transform: scale(1.14) translate(1.5%, 1%); } }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
#embers { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }

/* logo letters slam in one after another, then the core-glow breathes behind them */
.hero .logo span { display: inline-block; animation: slam .55s cubic-bezier(.2, 1.6, .4, 1) both; }
.hero .logo span:nth-child(1) { animation-delay: .1s; }
.hero .logo span:nth-child(2) { animation-delay: .28s; }
.hero .logo span:nth-child(3) { animation-delay: .46s; }
@keyframes slam { from { transform: scale(2.2) translateY(-8%); opacity: 0; filter: blur(8px); } to { transform: none; opacity: 1; filter: none; } }
.hero .logo { position: relative; }
.hero .logo::after { content: ""; position: absolute; inset: 10% -6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,201,74,.32), rgba(229,64,47,.12) 55%, transparent 75%);
  animation: breathe 4.5s ease-in-out 1s infinite; }
@keyframes breathe { 0%, 100% { opacity: .55; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.hero .tag, .hero .join, .hero .status { animation: rise .7s ease-out both; }
.hero .tag { animation-delay: .75s; } .hero .join { animation-delay: .9s; } .hero .status { animation-delay: 1.05s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ip button { transition: background .2s, transform .15s; }
.ip button:active { transform: scale(.96); }
.btn { transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(88,101,242,.35); }

/* scroll reveal: only hidden once JS is running, so the page is complete without it */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* kits: icon hops on hover, border picks up a red-to-blue edge */
.kit { position: relative; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.kit:hover { transform: translateY(-4px); background: #1b1f28; border-color: rgba(255,201,74,.35); }
.kit img { transition: transform .35s cubic-bezier(.2, 1.8, .4, 1); }
.kit:hover img { transform: translateY(-6px) rotate(-8deg) scale(1.08); }
.kit::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.kit:hover::after { transform: scaleX(1); }

/* steps: block icons bob like dropped items */
.steps .icons img { animation: bob 2.6s ease-in-out infinite; }
.steps .icons img:nth-child(2) { animation-delay: .35s; } .steps .icons img:nth-child(3) { animation-delay: .7s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* maps: islands float, each on its own beat */
.map img { animation: float 7s ease-in-out infinite; animation-delay: var(--f, 0s); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.map::before { content: ""; position: absolute; inset: auto 15% 6% 15%; height: 14%; border-radius: 50%; background: rgba(0,0,0,.35); filter: blur(14px); }
.map figcaption { transition: letter-spacing .3s ease; }
.map:hover figcaption { letter-spacing: .04em; }

/* the red/blue backdrop of the split sections slowly breathes */
.split { background-size: 140% 140%; animation: tide 16s ease-in-out infinite alternate; }
@keyframes tide { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

.mode { transition: transform .25s ease, border-color .25s ease; }
.mode:hover { transform: translateY(-4px); border-top-color: var(--red); }
.mode:nth-child(even):hover { border-top-color: var(--blue); }

/* ---------- multi-page additions ---------- */
.nav nav a[aria-current="page"] { color: var(--fg); box-shadow: inset 0 -2px 0 var(--gold); }
.hero h1.tag { margin: 14px 0 34px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); text-decoration: none; }
.more::after { content: "→"; transition: transform .2s ease; }
.more:hover::after { transform: translateX(4px); }
.kit h3 a { text-decoration: none; }
.kit h3 a::after { content: ""; position: absolute; inset: 0; }

/* page header on the inner pages: the split red/blue backdrop, a breadcrumb, the page's h1 */
.page-hero { padding-block: clamp(44px, 7vw, 84px) clamp(36px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--fg); }
h1 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(46px, 8vw, 92px); line-height: .88; margin: 0 0 16px; text-wrap: balance; }
.page-hero .lede { font-size: 19px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; padding: 6px 12px; border-radius: 3px; background: rgba(13,14,18,.6); border: 1px solid var(--line); }
.toc a:hover { border-color: rgba(255,201,74,.45); color: var(--gold); }
.prose { max-width: 70ch; }
.prose p, .prose li { color: #cfd2da; }
.prose h2 { font-size: clamp(32px, 4.5vw, 46px); margin-top: 8px; }
.prose h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 26px; margin: 30px 0 6px; }
.prose b { color: var(--fg); }
.prose a { color: var(--gold); }
section.tight { padding-block: clamp(44px, 6vw, 72px); }

/* kits page: one long card per kit */
.kit-list { display: grid; gap: 18px; margin-top: 8px; }
.kit-full { scroll-margin-top: 80px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: clamp(20px, 3vw, 30px);
  display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 8px 22px; }
@media (max-width: 600px) { .kit-full { grid-template-columns: 1fr; } }
.kit-full > img { width: 84px; height: 84px; background: rgba(255,255,255,.04); border-radius: 6px; padding: 10px; }
.kit-full h2 { font-size: clamp(36px, 5vw, 52px); margin: 0; }
.kit-full .role { margin: 4px 0 0; color: var(--muted); }
.kit-full .stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.kit-full .stats b { color: var(--red); }
.abilities { grid-column: 2; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
@media (max-width: 600px) { .abilities { grid-column: 1; } }
.abilities li { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); border-radius: 4px; padding: 12px 14px; }
.abilities h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 20px; line-height: 1.1; margin: 0 0 4px; color: var(--fg); }
.abilities p { margin: 0; font-size: 15px; color: var(--muted); }
.tip { grid-column: 2; margin: 14px 0 0; font-size: 15px; color: #d8dbe2; border-left: 3px solid var(--gold); padding: 2px 0 2px 12px; }
@media (max-width: 600px) { .tip { grid-column: 1; } }
.tip b { color: var(--gold); font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; }

/* maps page */
.map-list { display: grid; gap: 22px; }
.map-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; scroll-margin-top: 80px; }
.map-row:nth-child(even) .map { order: 2; }
@media (max-width: 760px) { .map-row { grid-template-columns: 1fr; } .map-row:nth-child(even) .map { order: 0; } }
.map-row h2 { font-size: clamp(36px, 5vw, 54px); }
.map-row p { color: var(--muted); margin: 0 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 600; color: #d8dbe2; background: rgba(255,255,255,.06); border-radius: 3px; padding: 2px 8px; }
.also { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.also li { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; padding: 6px 14px; }

/* faq */
.faq { display: grid; gap: 10px; max-width: 80ch; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: #cfd2da; }
.faq details > div p { margin: 0 0 10px; }
.faq code { background: rgba(255,255,255,.07); border-radius: 3px; padding: 1px 6px; font-size: 15px; }

/* 404 */
.lost { text-align: center; padding-block: clamp(90px, 14vw, 170px); }
.lost h1 { font-size: clamp(80px, 18vw, 180px); }
.lost .join { justify-content: center; margin-top: 30px; }

footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer nav a { text-decoration: none; } footer nav a:hover { color: var(--fg); }
.map > a { display: contents; }
footer .lists { margin-top: 10px; font-size: 13px; } footer .lists a { color: var(--muted); } footer .lists a:hover { color: var(--fg); }

/* ---------- live numbers (home strip + stats page) ---------- */
.counters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.counter { background: var(--ink-2); padding: 20px 18px 16px; }
.counter b { display: block; font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(34px, 4.4vw, 48px); line-height: 1; font-variant-numeric: tabular-nums; }
.counter span { display: block; margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.counter:nth-child(3n+1) b { color: var(--fg); } .counter:nth-child(3n+2) b { color: var(--gold); }
.home-stats { padding-block: 0 clamp(40px, 6vw, 64px); }
.home-stats .more { margin-top: 14px; }

/* Soft joins: every split section melts into the ink above and below it instead of starting on a hard line */
.split { position: relative; isolation: isolate; }
.split::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--ink) 0, rgba(13,14,18,0) clamp(60px, 9vw, 120px), rgba(13,14,18,0) calc(100% - clamp(60px, 9vw, 120px)), var(--ink) 100%); }
.page-hero.split::before { background: linear-gradient(180deg, rgba(13,14,18,0) 60%, var(--ink) 100%); }
.page-hero { border-bottom: 0; }

/* Plain (non red/blue) sections: a faint block grid lit by a soft glow, so the dark bands aren't flat.
   Same top/bottom fade as the split sections, so they still melt into each other. */
main > section:not(.split):not(.hero), #stats-page > section { position: relative; isolation: isolate; }
main > section:not(.split):not(.hero)::before, #stats-page > section::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 60% at 18% 30%, rgba(229,64,47,.12), transparent 70%),
    radial-gradient(55% 60% at 82% 70%, rgba(63,123,240,.13), transparent 70%),
    radial-gradient(40% 50% at 50% 50%, rgba(255,201,74,.05), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 clamp(60px, 9vw, 120px), #000 calc(100% - clamp(60px, 9vw, 120px)), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 clamp(60px, 9vw, 120px), #000 calc(100% - clamp(60px, 9vw, 120px)), transparent 100%);
  animation: glow 18s ease-in-out infinite alternate;
}
@keyframes glow { from { opacity: .75; } to { opacity: 1; } }

/* A short, quiet grey rule where one section hands over to the next */
main > section:not(.hero):not(.page-hero)::after, #stats-page > section + section::after {
  content: ""; position: absolute; top: 0; left: 50%; width: min(460px, 70%); height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); pointer-events: none;
}
.page-hero + section::after, .hero + section::after { display: none; }
