/* Neon Reach website. One stylesheet, no build step. Fonts are self-hosted (OFL, see
   /fonts/OFL.txt) so no request leaves for Google. */

@font-face { font-family: 'Anton'; src: url(/fonts/anton-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Chakra Petch'; src: url(/fonts/chakra-petch-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Chakra Petch'; src: url(/fonts/chakra-petch-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Chakra Petch'; src: url(/fonts/chakra-petch-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/barlow-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/barlow-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url(/fonts/barlow-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
    --bg: #0d0d12;
    --bg-deep: #08080c;
    --panel: #15151d;
    --line: #23232d;
    --line-2: #34343f;
    --ink: #f2f2f5;
    --dim: #c4c4cf;
    --mute: #8e8e9c;
    --y: #f3e600;
    --m: #ff2a6d;
    --c: #05d9e8;
    --v: #8b5cff;
    --display: 'Anton', Impact, sans-serif;
    --label: 'Chakra Petch', ui-sans-serif, sans-serif;
    --body: 'Barlow', system-ui, sans-serif;
    --jp: 'Hiragino Sans', 'Yu Gothic', 'Noto Sans JP', sans-serif;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --gutter: clamp(20px, 4vw, 56px);
    --section: clamp(64px, 7vw, 96px);
    --gap: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; scrollbar-color: var(--line-2) var(--bg-deep); }
body { display: flex; flex-direction: column; min-height: 100vh; margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--y); color: var(--bg); }
a { color: var(--ink); }
img { max-width: 100%; }
code { font-family: var(--label); font-weight: 700; color: var(--y); font-size: .95em; }
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }

.wrap { max-width: 1520px; margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--y); color: var(--bg); padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.kicker { margin: 0 0 8px; font: 600 13px/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.display { margin: 0; font: 400 clamp(48px, 7.5vw, 88px)/.92 var(--display); text-transform: uppercase; letter-spacing: .005em; }
.lede { margin: 0; font-size: 19px; color: var(--dim); max-width: 560px; }
.dim { color: var(--dim); }
.mute { color: var(--mute); }
.t-y { color: var(--y); } .t-m { color: var(--m); } .t-c { color: var(--c); } .t-v { color: var(--v); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 2px solid var(--line-2); background: transparent; color: var(--ink); text-decoration: none; font: 700 15px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: transform .15s, border-color .15s; }
.btn:hover { transform: translate(-2px, -2px); border-color: var(--mute); }
.btn:active { transform: translate(1px, 1px); }
.btn .arr { color: var(--y); }
.btn-primary { background: var(--y); border-color: var(--y); color: var(--bg); box-shadow: 5px 5px 0 var(--m); }
.btn-primary:hover { border-color: var(--y); }
.btn[disabled], .btn[aria-disabled="true"] { cursor: not-allowed; transform: none; box-shadow: none; background: transparent; border-style: dashed; border-color: var(--line-2); color: var(--mute); }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] { border-color: var(--y); color: var(--y); }

.addr { display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 64px; padding: 8px 26px 8px 20px; border: 0; background: var(--y); color: var(--bg); cursor: pointer; text-align: left; box-shadow: 6px 6px 0 var(--m); transition: transform .15s; }
.addr:hover { transform: translate(-2px, -2px); }
.addr:active { transform: translate(1px, 1px); }
.addr small { font: 700 11px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; }
.addr span { font: 400 25px/1.1 var(--display); letter-spacing: .02em; }

/* ---------- header ---------- */
.site-head { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: rgba(13, 13, 18, .92); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-mark { position: relative; width: 30px; height: 30px; }
.logo-mark::before, .logo-mark::after { content: ''; position: absolute; inset: 0; clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%); }
.logo-mark::before { background: var(--m); transform: translate(3px, 3px); }
.logo-mark::after { background: var(--y); }
.logo-word { font: 400 23px/1 var(--display); letter-spacing: .04em; color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 12px 11px; text-decoration: none; color: var(--dim); font: 600 15px/1 var(--label); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--y); }
.head-cta { min-height: 44px; padding: 0 16px; box-shadow: 4px 4px 0 var(--m); flex-shrink: 0; }
@media (max-width: 760px) {
    .site-head .wrap { flex-wrap: wrap; gap: 0; padding-top: 12px; }
    .head-cta { margin-left: auto; min-height: 40px; }
    .nav { order: 3; width: calc(100% + 22px); margin: 6px -11px 0; padding-bottom: 4px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

/* ---------- hero (home) ---------- */
.hero { display: flex; flex-wrap: wrap; gap: 44px clamp(44px, 5vw, 88px); align-items: center; padding-top: 44px; padding-bottom: 72px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 700 13px/1.3 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.chip { padding: 5px 10px; background: var(--m); color: #fff; }
.live { display: inline-flex; align-items: center; gap: 8px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.live.on i { background: #4dff9a; box-shadow: 0 0 0 0 rgba(77, 255, 154, .6); animation: pulse 2.4s infinite; }
.hero h1 { position: relative; margin: 0; font: 400 clamp(72px, 11vw, 176px)/.86 var(--display); text-transform: uppercase; }
.hero h1 .ghost { position: absolute; inset: 0; color: var(--m); opacity: .55; transform: translate(4px, 3px); animation: reg .9s var(--ease) .15s both; }
.hero h1 .front { position: relative; display: block; animation: slide .7s var(--ease) both; }
.hero .lede { max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: stretch; margin-top: 4px; }
.fine { margin: 0; font: 500 13px/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* the city poster */
.poster { flex: 1.2 1 420px; min-width: 0; max-width: 760px; position: relative; height: clamp(440px, 36vw, 600px); }
.poster .slab { position: absolute; inset: 0 0 0 8%; background: var(--y) radial-gradient(rgba(13, 13, 18, .2) 1.3px, transparent 1.6px) 0 0 / 8px 8px; clip-path: polygon(16% 0, 100% 0, 100% 88%, 84% 100%, 0 100%); }
.poster .night { position: absolute; left: 0; right: 7%; top: 10%; bottom: 13%; overflow: hidden; background: linear-gradient(#1a0f33, #0b0b12 70%); clip-path: polygon(0 5%, 100% 0, 93% 100%, 3% 95%); animation: wipe .8s cubic-bezier(.7, 0, .2, 1) .3s both; }
.poster .moon { position: absolute; right: 16%; top: 9%; width: 60px; height: 60px; border-radius: 50%; background: #f6efe0; }
.poster .whale { position: absolute; left: 28%; top: 15%; width: 120px; animation: drift 9s ease-in-out infinite; }
.poster .whale img { display: block; width: 100%; image-rendering: pixelated; opacity: .85; filter: drop-shadow(0 0 6px rgba(5, 217, 232, .5)); animation: holo 5s steps(1) infinite; }
.poster .rain { position: absolute; inset: 0; opacity: .14; background: repeating-linear-gradient(100deg, transparent 0 26px, rgba(170, 210, 255, .6) 26px 27px, transparent 27px 60px) 0 0 / 60px 320px; animation: rain .9s linear infinite; }
.poster .towers { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; display: flex; align-items: flex-end; gap: 4px; padding: 0 6px; }
.poster .tower { position: relative; flex: 1 1 0; background: #1b1b25 linear-gradient(90deg, transparent 0 3px, rgba(255, 217, 168, .14) 3px 6px, transparent 6px 10px) 2px 6px / 10px 10px; border-top: 2px solid #2a2a36; }
.poster .tower i { position: absolute; width: 4px; height: 5px; animation: win 7s steps(1) infinite; }
.poster .rail { position: absolute; left: 0; right: 0; height: 4px; }
.poster .train { position: absolute; left: 0; height: 15px; border-radius: 9px 3px 3px 9px; background: #fff; }
.poster .train::after { content: ''; position: absolute; left: 14px; right: 10px; top: 4px; height: 6px; background: repeating-linear-gradient(90deg, var(--tc) 0 14px, transparent 14px 19px); }
.poster .t1 { --tc: var(--c); width: 200px; animation: train 12s linear infinite; }
.poster .t2 { --tc: var(--v); width: 160px; background: #d9d4ff; border-radius: 3px 8px 8px 3px; animation: train2 16s linear infinite; }
.poster .jp { position: absolute; right: 1%; top: 5%; margin: 0; writing-mode: vertical-rl; font: 900 44px/1 var(--jp); color: var(--bg); }
.poster .tagline { position: absolute; left: 13%; bottom: 3%; margin: 0; font: 400 21px/1 var(--display); letter-spacing: .08em; color: var(--bg); }
@media (max-width: 600px) { .poster { height: 420px; } .poster .whale { width: 90px; } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-deep); }
.ticker div { display: inline-block; padding: 12px 0; font: 600 14px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--mute); animation: tick 70s linear infinite; }
.ticker b { color: var(--m); font-weight: 700; margin: 0 14px; }

/* ---------- sections ---------- */
.section { padding-top: var(--section); }
.page-head + .section { padding-top: clamp(40px, 4vw, 56px); }
.section-head { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.section-head p:last-child { margin: 0; max-width: 420px; color: var(--dim); font-size: 16px; }

/* mode cards: at most four tracks, so the big card plus four small ones always close the grid */
.bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); grid-auto-flow: dense; gap: var(--gap); }
.card { --arth: 130px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: calc(var(--arth) + 14px) 22px 22px; overflow: hidden; background: var(--panel); color: var(--ink); text-decoration: none; box-shadow: 6px 6px 0 #000; transition: transform .25s var(--ease); }
.card:hover { transform: translate(-4px, -6px); }
.card .art { position: absolute; left: 0; right: 0; top: 0; height: var(--arth); background: var(--a) radial-gradient(rgba(13, 13, 18, .28) 1.3px, transparent 1.6px) 0 0 / 8px 8px; clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%); transition: transform .5s var(--ease); }
.card:hover .art { transform: translateY(-8px); }
.card.big .art { background-image: url(/img/whale.svg), radial-gradient(rgba(13, 13, 18, .28) 1.3px, transparent 1.6px); background-size: 200px auto, 8px 8px; background-position: 62% 38%, 0 0; background-repeat: no-repeat, repeat; image-rendering: pixelated; }
/* small cards in a row line their titles up under the art; the footer sits on the bottom edge */
.card:not(.big):not(.next) { justify-content: flex-start; }
.card:not(.big):not(.next) p { margin-bottom: 16px; }
.card:not(.big):not(.next) .foot { margin-top: auto; }
.card.big { --arth: 330px; grid-column: span 2; grid-row: span 2; min-height: 420px; }
.card.soon .art { filter: saturate(.35) brightness(.7); }
.tag { position: relative; align-self: flex-start; padding: 4px 8px; font: 700 12px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; background: var(--a); color: var(--bg); }
.card.soon .tag { background: #2c2c38; color: #fff; }
.card h3 { position: relative; margin: 10px 0 0; font: 400 44px/.95 var(--display); text-transform: uppercase; }
.card.big h3 { font-size: clamp(52px, 7vw, 84px); }
.card p { position: relative; margin: 10px 0 0; font-size: 15px; color: var(--dim); max-width: 420px; }
.card .foot { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid #2c2c38; font: 600 13px/1 var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.card .foot span { color: var(--y); font-size: 18px; transition: transform .25s; }
.card:hover .foot span { transform: translateX(6px); }
@media (max-width: 640px) { .card.big { --arth: 150px; grid-column: auto; grid-row: auto; min-height: 0; } .card { min-height: 0; } }
/* lead layout (home, modes): the RPG's big card, the lobby, and the SMP and Minigames as quiet links */
.bento.lead { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card.wide { grid-column: span 2; }
.card.wide .art { --arth: 130px; }
.card.wide p { max-width: 560px; }
.also { grid-column: span 2; display: flex; flex-direction: column; padding: 22px; background: var(--panel); border: 1px solid var(--line); }
.also h3 { margin: 0 0 6px; font: 700 13px/1.2 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.also ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; flex: 1; }
.also li { flex: 1; display: flex; border-top: 1px solid var(--line); }
.also li:first-child { border-top: 0; }
.also a { position: relative; flex: 1; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: 4px 16px; padding: 14px 0 14px 14px; color: var(--ink); text-decoration: none; }
.also a::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; background: var(--a); }
.also span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.also strong { font: 400 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.also small { font: 700 12px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.also em { grid-column: 1; font-style: normal; font-size: 14px; color: var(--dim); }
.also i { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 18px; color: var(--y); transition: transform .25s; }
.also a:hover i { transform: translateX(6px); }
.also a:hover strong { color: var(--a); }
@media (max-width: 1000px) {
    .bento.lead { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento.lead .card.big { grid-column: span 2; grid-row: auto; min-height: 0; --arth: 260px; }
    .bento.lead .card.wide, .bento.lead .also { grid-column: span 2; }
    .card.wide { min-height: 0; }
}
@media (max-width: 640px) { .bento.lead { grid-template-columns: 1fr; } .bento.lead .card.big, .bento.lead .card.wide, .bento.lead .also { grid-column: auto; } .bento.lead .card.big { --arth: 150px; } }


/* altitude chart */
.layers { display: flex; flex-wrap: wrap; gap: 32px clamp(32px, 4vw, 64px); align-items: center; }
.layers-copy { flex: 1 1 360px; max-width: 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 6px; }
.facts strong { display: block; font: 400 52px/1 var(--display); }
.facts span { font: 600 12px/1.3 var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.chart { flex: 999 1 520px; min-width: 0; padding: 24px 22px 18px; background: #121219; border: 1px solid var(--line); }
.chart-head { display: flex; justify-content: space-between; margin: 0 0 18px; font: 600 12px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.chart ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.chart li { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 14px; align-items: center; }
.chart .bar { position: relative; height: 46px; background: var(--bg); overflow: hidden; }
.chart .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--a); transform-origin: left; }
.chart .bar span { position: absolute; left: 14px; top: 0; bottom: 0; display: flex; align-items: center; gap: 10px; font: 700 15px/1 var(--label); color: var(--ink-on, #fff); }
.chart .bar small { font-weight: 500; font-size: 13px; opacity: .8; }
.chart .y { font: 400 26px/1 var(--display); text-align: right; }
.chart-note { margin: 16px 0 0; font-size: 13px; color: var(--mute); }
@media (max-width: 560px) {
    .chart .bar { height: 10px; margin-top: 24px; overflow: visible; }
    .chart .bar span { top: -24px; bottom: auto; left: 0; height: 18px; font-size: 14px; color: var(--ink); }
    .chart .y { font-size: 22px; align-self: end; }
}

/* call to action slab */
.slab-cta { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding: 48px clamp(24px, 4vw, 56px) 44px; background: var(--y); color: var(--bg); box-shadow: 10px 10px 0 var(--m); }
.slab-cta::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(45deg, var(--bg) 0 14px, transparent 14px 28px) 0 0 / 56px 10px; animation: stripes 2.4s linear infinite; }
.slab-cta h2 { margin: 0; font: 400 clamp(44px, 6.5vw, 72px)/.92 var(--display); text-transform: uppercase; }
.slab-cta p { margin: 12px 0 0; font-size: 17px; max-width: 520px; }
.slab-cta .btn { background: var(--bg); border-color: var(--bg); color: #fff; }

/* ---------- subpages ---------- */
.page-head { position: relative; padding-top: 56px; padding-bottom: 44px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -40px; top: 0; bottom: 0; width: 38%; background: var(--a, var(--y)) radial-gradient(rgba(13, 13, 18, .25) 1.3px, transparent 1.6px) 0 0 / 8px 8px; clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%); opacity: .9; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { margin: 0 0 16px; font: 400 clamp(56px, 9vw, 112px)/.9 var(--display); text-transform: uppercase; max-width: 62%; }
.page-head .lede { max-width: 540px; }
.crumbs { margin: 0 0 18px; font: 600 13px/1 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.crumbs a { color: var(--mute); text-decoration: none; }
.crumbs a:hover { color: #fff; }
@media (max-width: 700px) { .page-head::after { width: 22%; opacity: .7; } .page-head h1, .page-head .lede { max-width: 80%; } }

.cols { display: flex; flex-wrap: wrap; gap: var(--gap) 24px; }
.cols > .main { flex: 999 1 560px; min-width: 0; }
.cols > .side { flex: 1 1 300px; min-width: 0; }
@media (max-width: 860px) { .cols > .side-first { order: -1; } }
.sticky { position: sticky; top: 24px; align-self: flex-start; }

.box { background: var(--panel); border: 1px solid var(--line); padding: 24px; }
.mapframe { background: var(--panel); border: 1px solid var(--line); box-shadow: 8px 8px 0 var(--c); }
.mapframe iframe { display: block; width: 100%; height: min(78vh, 920px); min-height: 440px; border: 0; }
.map-bar { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 28px; }
.map-bar .live { margin: 0; font: 700 15px/1.4 var(--label); }
.box > :last-child { margin-bottom: 0; }

/* a row of panels; .wide takes the larger share */
.panels { display: flex; flex-wrap: wrap; gap: var(--gap); align-items: stretch; }
.panels > * { flex: 1 1 280px; min-width: 0; }
.panels > .wide { flex: 2.4 1 440px; }
.panels > .stack { display: flex; flex-direction: column; gap: var(--gap); }
.stack > .box { flex: 1 0 auto; }
.big-stat { margin: 0; font: 400 clamp(34px, 3vw, 44px)/1 var(--display); text-transform: uppercase; }
.box .note { margin: 12px 0 0; font-size: 15px; color: var(--mute); }
.box .btn { margin-top: 18px; }
.box .live { display: flex; margin: 0; font: 700 15px/1 var(--label); }
.box .addr { width: 100%; padding-right: 14px; }
.box .addr span { font-size: clamp(18px, 2vw, 22px); }
.box h2, .box h3 { margin: 0 0 12px; font: 700 15px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: var(--gap); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 44px/1 var(--display); color: var(--y); }
.steps h2 { margin: 0 0 6px; font: 400 28px/1.1 var(--display); text-transform: uppercase; }
.steps p { margin: 0; color: var(--dim); }
@media (max-width: 480px) { .steps li { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px; } .steps li::before { font-size: 36px; } }

.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.points.two-up { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px 32px; }
.section > .kicker:first-child { margin-bottom: 16px; }
.points li { position: relative; padding-left: 26px; color: var(--dim); }
.points li::before { content: '+'; position: absolute; left: 0; top: 0; font: 700 20px/1.2 var(--label); color: var(--a, var(--y)); }

.players { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.players li { padding: 6px 12px; background: var(--bg); border: 1px solid var(--line-2); font: 600 14px/1.2 var(--label); }

/* questions: heading left, answers right on wide screens */
.qa { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); align-items: start; }
.qa .section-head { margin: 0; }
@media (max-width: 900px) { .qa { grid-template-columns: minmax(0, 1fr); } }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font: 700 18px/1.3 var(--label); transition: color .15s; }
.faq summary:hover { color: var(--y); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 700 24px/1 var(--label); color: var(--y); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 18px; color: var(--dim); max-width: 680px; }

.rules { margin: 0; padding: 0; list-style: none; counter-reset: r; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: var(--gap); }
.rules li { counter-increment: r; position: relative; padding: 24px; background: var(--panel); border: 1px solid var(--line); }
.rules li::before { content: counter(r, decimal-leading-zero); display: block; margin-bottom: 8px; font: 400 32px/1 var(--display); color: var(--m); }
.rules h2 { margin: 0 0 6px; font: 400 26px/1.1 var(--display); text-transform: uppercase; }
.rules p { margin: 0; color: var(--dim); }

.legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--gap); }
.legal h2 { margin: 0 0 10px; font: 400 30px/1.1 var(--display); text-transform: uppercase; color: var(--ink); letter-spacing: 0; }
.legal p { margin: 0 0 12px; color: var(--dim); }
.legal a { color: var(--y); text-underline-offset: 3px; }
.todo { background: rgba(243, 230, 0, .12); color: var(--y); padding: 0 4px; }

/* shop */
.ids { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: start; }
.id { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--panel); border: 2px solid var(--line-2); border-radius: 10px; box-shadow: 8px 8px 0 #000; transition: transform .25s var(--ease); }
.id:nth-child(1) { transform: rotate(-.8deg); }
.id:nth-child(3) { transform: rotate(.6deg); }
.id:hover { transform: translate(-3px, -5px); }
.id.featured { border-color: var(--y); box-shadow: 8px 8px 0 var(--m); }
.id.featured::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 32%, rgba(5, 217, 232, .16) 44%, rgba(255, 42, 109, .16) 52%, rgba(243, 230, 0, .16) 60%, transparent 70%) 0 0 / 220% 100%; animation: sheen 5s ease-in-out infinite; }
.id-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.id-top small { font: 700 11px/1.2 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.id.featured .id-top small { color: var(--y); }
.id h2 { margin: 4px 0 0; font: 400 54px/1 var(--display); color: var(--a); }
.chipcard { width: 40px; height: 30px; border-radius: 5px; background: linear-gradient(transparent 45%, rgba(0, 0, 0, .25) 45% 55%, transparent 55%), linear-gradient(90deg, transparent 45%, rgba(0, 0, 0, .25) 45% 55%, transparent 55%), linear-gradient(135deg, #e9d48a, #a9853a); }
.price { margin: 0; font: 700 20px/1 var(--label); }
.id .points li { color: var(--ink); }
.id-foot { display: flex; justify-content: flex-end; padding-top: 14px; border-top: 1px dashed var(--line-2); }

/* ---------- screenshots ---------- */
/* a shot: clipped frame on an offset block in its accent, caption underneath */
.shot { --cut: 22px; --off: 7px; position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; }
.shot-frame { position: relative; display: block; flex: none; cursor: zoom-in; transition: transform .25s var(--ease); }
.shot-frame::before { content: ''; position: absolute; inset: 0; background: var(--a); transform: translate(var(--off), var(--off)); transition: transform .25s var(--ease); }
.shot-frame::before, .shot picture { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.shot picture { position: relative; display: block; overflow: hidden; background: var(--panel); }
.shot img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s var(--ease); }
.shot-frame:hover { transform: translate(-3px, -3px); }
.shot-frame:hover::before { transform: translate(calc(var(--off) + 3px), calc(var(--off) + 3px)); }
.shot-frame:hover img { transform: scale(1.03); }
.shot figcaption { display: flex; flex-direction: column; gap: 6px; padding-top: 22px; }
.shot-where { font: 700 12px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--a); }
.shot figcaption strong { font: 400 28px/1 var(--display); text-transform: uppercase; }
.shot-cap { font-size: 15px; line-height: 1.45; color: var(--dim); max-width: 60ch; }

.shot.lead { --cut: 40px; --off: 14px; }
.shot.lead .shot-frame::before { background: var(--a) radial-gradient(rgba(13, 13, 18, .22) 1.3px, transparent 1.6px) 0 0 / 8px 8px; }
.shot.lead figcaption { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); grid-template-areas: "where cap" "title cap"; gap: 8px 48px; align-items: end; padding-top: 34px; }
.shot.lead .shot-where { grid-area: where; }
.shot.lead figcaption strong { grid-area: title; font-size: clamp(36px, 4.4vw, 56px); line-height: .95; }
.shot.lead .shot-cap { grid-area: cap; justify-self: end; max-width: 520px; font-size: 17px; }
/* mode pages: a letterbox crop keeps the facts below within reach */
.shot.lead.banner img { aspect-ratio: 21 / 9; }
@media (max-width: 760px) {
    .shot.lead.banner img { aspect-ratio: 16 / 9; }
    .shot.lead { --cut: 22px; --off: 8px; }
    .shot.lead figcaption { grid-template-columns: minmax(0, 1fr); grid-template-areas: "where" "title" "cap"; padding-top: 24px; }
    .shot.lead .shot-cap { justify-self: start; font-size: 16px; }
}

/* the District gallery: a large shot beside two stacked ones, then rows of three */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 48px 28px; }
.gallery .shot { grid-column: span 2; }
.gallery .lg { --cut: 32px; --off: 10px; grid-column: span 4; grid-row: span 2; }
.gallery .lg.right { grid-column: 3 / span 4; }
.gallery .lg .shot-frame { flex: 1 1 0; min-height: 0; }
.gallery .lg picture, .gallery .lg img { height: 100%; }
.gallery .lg img { aspect-ratio: auto; }
.gallery .lg figcaption strong { font-size: 40px; }
@media (max-width: 999px) {
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
    .gallery .shot, .gallery .lg.right { grid-column: span 1; grid-row: auto; }
    .gallery .lg, .gallery .lg.right { grid-column: 1 / -1; }
    .gallery .lg .shot-frame { flex: none; }
    .gallery .lg picture, .gallery .lg img { height: auto; }
    .gallery .lg img { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
    .gallery { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    .gallery .shot { --cut: 16px; --off: 6px; }
    .gallery .lg figcaption strong { font-size: 32px; }
}

/* home: one shot per layer, slanted like frames of a film strip; swipeable on phones */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: clamp(48px, 5vw, 72px) 0 0; padding: 0; list-style: none; }
.strip a { position: relative; display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none; }
.strip a::before { content: ''; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 16 / 9; background: var(--a); transform: translate(6px, 6px); transition: transform .25s var(--ease); }
.strip a::before, .strip picture { clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%); }
.strip picture { position: relative; display: block; overflow: hidden; background: var(--panel); transition: transform .25s var(--ease); }
.strip img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .7s var(--ease); }
.strip a:hover picture { transform: translate(-3px, -3px); }
.strip a:hover::before { transform: translate(9px, 9px); }
.strip a:hover img { transform: scale(1.04); }
.strip-tag { position: absolute; left: 9%; top: 10px; padding: 4px 8px; background: var(--a); color: var(--bg); font: 700 11px/1.2 var(--label); letter-spacing: .14em; text-transform: uppercase; }
.strip strong { padding-left: 4px; font: 400 24px/1 var(--display); text-transform: uppercase; }
.strip strong::after { content: ' →'; color: var(--y); font: 700 18px/1 var(--label); }
@media (max-width: 1099px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
    .strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
    .strip li { scroll-snap-align: start; }
}

/* big mode card with a shot instead of flat art; a band of the accent stays on the slant */
.card.big .art.photo { background-image: none; }
.card .art.photo picture { display: block; height: 100%; clip-path: polygon(0 0, 100% 0, 100% calc(72% - 10px), 0 calc(100% - 10px)); }
.card .art.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .art.photo img { transform: scale(1.03); }

/* full-size view (site.js); without JS the links open the image itself */
/* every shot is 16:9, so the width alone fits the image and its caption bar into the viewport */
.lightbox { width: min(100vw - 32px, (100vh - 200px) * 16 / 9, 1760px); max-width: none; max-height: none; margin: auto; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.lightbox::backdrop { background: var(--bg-deep); }
.lightbox[open] { display: flex; flex-direction: column; gap: 18px; }
.lightbox img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--bg-deep); box-shadow: 10px 10px 0 var(--a, var(--y)); }
.lb-bar { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: flex-end; justify-content: space-between; }
.lb-bar figcaption { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 320px; }
.lb-bar figcaption strong { font: 400 32px/1 var(--display); text-transform: uppercase; }
.lb-nav { display: flex; gap: 10px; align-items: center; }
.lb-nav .btn { min-height: 46px; padding: 0 16px; background: var(--bg); }
.lb-count { min-width: 64px; text-align: center; font: 700 14px/1 var(--label); letter-spacing: .12em; color: var(--mute); }
.lightbox.single [data-go], .lightbox.single .lb-count { display: none; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] img { animation: lb-in .35s var(--ease); } }
@keyframes lb-in { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }

/* ---------- footer ---------- */
.site-foot { margin-top: var(--section); border-top: 1px solid var(--line); background: var(--bg-deep); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; align-items: center; padding-top: 24px; padding-bottom: 4px; }
.site-foot .mark { margin: 0; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-foot nav a { padding: 8px 0; color: var(--dim); text-decoration: none; font-size: 15px; }
.site-foot nav a:hover { color: #fff; }
.site-foot .mark { font: 400 26px/1 var(--display); letter-spacing: .04em; color: #2c2c38; }
.site-foot .legal { margin: 0 auto; padding-top: 4px; padding-bottom: 28px; font-size: 13px; color: var(--mute); }

/* ---------- motion ---------- */
@keyframes slide { from { transform: translateX(-36px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes reg { from { transform: translate(-12px, 8px); opacity: 0; } to { transform: translate(4px, 3px); opacity: .55; } }
@keyframes wipe { from { clip-path: polygon(0 5%, 0 5%, 3% 95%, 3% 95%); } to { clip-path: polygon(0 5%, 100% 0, 93% 100%, 3% 95%); } }
@keyframes train { 0% { transform: translateX(-240px); } 55%, 100% { transform: translateX(800px); } }
@keyframes train2 { 0%, 30% { transform: translateX(800px); } 85%, 100% { transform: translateX(-240px); } }
@keyframes drift { 50% { transform: translate(-24px, -10px); } }
@keyframes holo { 0%, 47%, 53%, 100% { opacity: 1; } 48% { opacity: .4; } 50% { opacity: .9; } 52% { opacity: .6; } }
@keyframes win { 0%, 40%, 46%, 74%, 100% { opacity: 1; } 42% { opacity: .15; } 70% { opacity: .3; } }
@keyframes rain { to { background-position: -30px 320px; } }
@keyframes tick { to { transform: translateX(-50%); } }
@keyframes stripes { to { background-position: 56px 0; } }
@keyframes sheen { 0% { background-position: -160% 0; } 60%, 100% { background-position: 260% 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(77, 255, 154, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(77, 255, 154, 0); } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* scroll reveal: site.js adds .js to <html> and .in to elements as they enter */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .chart .bar i { transform: scaleX(0); transition: transform 1s var(--ease); }
.js .chart.in .bar i { transform: scaleX(1); }
.js .chart.in li:nth-child(2) .bar i { transition-delay: .08s; }
.js .chart.in li:nth-child(3) .bar i { transition-delay: .16s; }
.js .chart.in li:nth-child(4) .bar i { transition-delay: .24s; }
.js .chart.in li:nth-child(5) .bar i { transition-delay: .32s; }

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