:root {
  --bg: #09090a;
  --bg2: #111113;
  --bg3: #18181b;
  --ink: #ededef;
  --dim: #8d8d95;
  --line: rgba(237,237,239,.1);
  --red: #c7371f;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4.5vw, 64px);
  --r: 22px;
  --ease: cubic-bezier(.22,1,.36,1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: transparent; color: var(--ink); font: 16px/1.5 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; text-align: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
.wrap { padding-left: var(--pad); padding-right: var(--pad); }
#view { outline: none; min-height: 100vh; }

/* ---------- street-map line art ---------- */
.map-bg { position: fixed; left: 0; top: 0; width: 100%; z-index: -1; pointer-events: none; }

/* ---------- signature ---------- */
.sig { display: block; width: clamp(160px, 18vw, 260px); margin-top: 28px; margin-left: auto; margin-right: 8%; }
.sig path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- scattered gallery ---------- */
.moments { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 20px; padding-bottom: 80px; }
.moment { display: block; position: relative; text-align: left; }
.m-cap { display: block; margin-bottom: 10px; font: 500 12px/1 var(--mono); color: var(--dim); text-transform: uppercase; letter-spacing: .04em; }
.m-title { display: block; margin-top: 12px; font: 500 15px/1.35 var(--font); max-width: 30em; opacity: .85; }
.moment .media { border-radius: 4px; }
.m1 { grid-column: 1 / 7; margin-top: 0; }
.m2 { grid-column: 9 / 13; margin-top: 140px; }
.m3 { grid-column: 3 / 7; margin-top: 120px; }
.m4 { grid-column: 8 / 12; margin-top: 40px; }
.m5 { grid-column: 1 / 5; margin-top: 60px; }
.m6 { grid-column: 6 / 11; margin-top: 160px; }

/* ---------- on duty / off duty ---------- */
.duty { overflow: hidden; }
.duty-words { display: flex; align-items: flex-end; justify-content: center; gap: clamp(16px, 3vw, 48px); flex-wrap: wrap; }
.duty-w { position: relative; font: 600 clamp(56px, 10vw, 176px)/.86 var(--font); letter-spacing: -.06em; color: rgba(237,237,239,.18); transition: color .5s var(--ease); text-align: left; }
.duty-w small { display: block; font: 500 13px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.duty-w[aria-pressed="true"] { color: var(--ink); }
.duty[data-mode="on"] .duty-w[data-duty="on"] { color: var(--ink); }
.duty-slash { font: 300 clamp(56px, 10vw, 176px)/.86 var(--font); color: var(--red); }
.duty-sets { position: relative; margin-top: clamp(36px, 5vw, 64px); }
.duty-set { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.duty[data-mode="on"] .duty-set[data-set="off"], .duty[data-mode="off"] .duty-set[data-set="on"] { display: none; }
.duty-card { display: block; text-align: left; }
.duty-card span { display: block; margin-top: 12px; font: 500 16px/1.3 var(--font); }

/* ---------- WebGL image layer sits under the page ---------- */
.media-gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
#view, .foot { position: relative; z-index: 1; }
.gl-on { background: transparent !important; }
.gl-on img { opacity: 0; }

/* scroll progress */
.progress { position: fixed; right: 6px; top: 50%; z-index: 95; width: 2px; height: 120px; margin-top: -60px; border-radius: 2px; background: var(--ink); transform-origin: top; transform: scaleY(0); pointer-events: none; }
@media (max-width: 820px) { .progress { display: none; } }

/* marquee */
.marquee { overflow: hidden; padding: clamp(20px, 4vw, 48px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.mq-in { display: flex; align-items: center; width: max-content; will-change: transform; }
.mq-in span { font: 600 clamp(48px, 8vw, 132px)/1 var(--font); letter-spacing: -.05em; white-space: nowrap; padding: 0 .3em; }
.mq-in span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.mq-in i { width: clamp(14px, 1.6vw, 24px); aspect-ratio: 1; border-radius: 50%; background: var(--red); flex: none; }

/* footer letters */
.foot-big .fl { display: inline-block; overflow-x: visible; overflow-y: clip; padding-bottom: .04em; vertical-align: top; }
.foot-big .fl > span { display: inline-block; }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-content: center; justify-items: center; gap: 22px; }
.ring { position: relative; width: 112px; height: 112px; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2; }
.ring .track { stroke: var(--line); }
.ring .prog { stroke: var(--ink); stroke-linecap: round; stroke-dasharray: 352; stroke-dashoffset: 352; }
.ring img { position: absolute; inset: 12px; width: 88px; height: 88px; border-radius: 50%; }
.loader-pct { font: 500 13px/1 var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; }

/* ---------- page change: a slim bar while the next page comes in ---------- */
.navbar-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150; background: var(--red); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ---------- rolling labels ---------- */
.roll { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1.2em; line-height: 1.2; vertical-align: middle; }
.roll > span { display: flex; flex-direction: column; transition: transform .5s var(--ease); transition-delay: calc(var(--i) * 14ms); }
.roll > span > span { display: block; height: 1.2em; }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-1.2em); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--font); transition: background .3s, color .3s, border-color .3s, transform .4s var(--ease); white-space: nowrap; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: #a92c17; }
.btn.light { background: var(--ink); color: var(--bg); }
.btn.light:hover { background: #fff; }
.btn.ghost { border: 1px solid rgba(237,237,239,.28); }
.btn.ghost:hover { border-color: var(--ink); }
.btn:active { transform: scale(.97); }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; transition: background .3s; }
.icon-btn:hover { background: rgba(255,255,255,.08); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn svg path { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.link { font-size: 15px; color: var(--dim); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- nav: a floating glass bar ---------- */
.nav { position: fixed; z-index: 100; top: 14px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; width: min(1080px, calc(100% - 28px)); padding: 6px 6px 6px 8px; border-radius: 999px; background: rgba(18,18,20,.62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(255,255,255,.08); transition: transform .5s var(--ease), opacity .4s; }
.nav.hide { transform: translate(-50%, -120%); opacity: 0; }
.logo { display: flex; align-items: center; gap: 9px; font: 700 15px/1 var(--font); letter-spacing: .02em; padding-right: 8px; }
.logo img { width: 30px; height: 30px; border-radius: 50%; }
.links { display: flex; gap: 2px; margin: 0 auto; }
.links a { position: relative; padding: 10px 13px; border-radius: 999px; font-size: 14px; color: var(--dim); transition: color .25s, background .25s; }
.links a:hover { color: var(--ink); }
.links a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.08); }
.nav-end { display: flex; align-items: center; gap: 6px; }
.burger { display: none; }
.burger i { position: absolute; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease); }
.burger i:first-child { transform: translateY(-3.5px); }
.burger i:last-child { transform: translateY(3.5px); }
.burger[aria-expanded="true"] i:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: rotate(-45deg); }
.burger { position: relative; }
.sheet { position: fixed; inset: 0; z-index: 90; background: rgba(9,9,10,.96); backdrop-filter: blur(10px); padding: 96px 24px 32px; animation: sheet .5s var(--ease); }
@keyframes sheet { from { opacity: 0; } }
.sheet nav { display: flex; flex-direction: column; }
.sheet a { font: 600 40px/1.15 var(--font); letter-spacing: -.035em; padding: 6px 0; animation: rise .6s var(--ease) both; }
.sheet a:nth-child(n) { animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* ---------- home hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: absolute; left: var(--pad); bottom: clamp(120px, 18vh, 190px); max-width: 52%; }
.kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--dim); margin-bottom: 18px; }
.badge { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 11px; border-radius: 999px; background: rgba(224,69,47,.16); color: #ff8a78; font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.title { font: 600 clamp(64px, 11.5vw, 200px)/.84 var(--font); letter-spacing: -.06em; }
.tl { display: block; overflow-x: visible; overflow-y: clip; padding-bottom: .06em; }
.tl > span { display: block; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.chips { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.chips .stat { padding: 16px 16px 0 0; }
.chips .stat + .stat { padding-left: 16px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 600 clamp(22px, 2.2vw, 30px)/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat span { display: flex; align-items: center; gap: 7px; margin-top: 7px; font-size: 13px; color: var(--dim); }
.g { width: 7px; height: 7px; border-radius: 50%; background: #3fcf7c; flex: none; }

/* ---------- statement: words light up as you scroll ---------- */
.statement { padding-top: clamp(120px, 16vw, 220px); padding-bottom: clamp(60px, 8vw, 120px); }
.words { font: 500 clamp(30px, 4.4vw, 68px)/1.08 var(--font); letter-spacing: -.035em; max-width: 19em; }
.words .w { opacity: .16; transition: opacity .2s linear; }

/* ---------- sections ---------- */
.sec { padding-top: clamp(80px, 10vw, 150px); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.h2 { font: 600 clamp(40px, 5.6vw, 88px)/.95 var(--font); letter-spacing: -.05em; }
.rise-line { display: block; overflow-x: visible; overflow-y: clip; padding-bottom: .06em; }
.rise-line > span { display: block; }
.note { color: var(--dim); font-size: 15px; }

/* video card */
.vcard { display: block; width: 100%; }
.media { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg3); aspect-ratio: 16/9; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.vcard:hover .media img, .scard:hover .media img { transform: scale(1.05); }
.dur { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 6px; background: rgba(0,0,0,.72); font: 500 12px/1.3 var(--mono); }
.vcard h3 { margin-top: 14px; font: 500 17px/1.3 var(--font); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcard p { margin-top: 6px; font-size: 14px; color: var(--dim); }
.vcard.big h3 { font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(0, auto); gap: 16px; }
.b-main { grid-column: span 2; grid-row: span 2; }
.b-side { grid-column: span 2; }
.bento .b-side .vcard { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.bento .b-side .vcard h3 { margin-top: 2px; }
.bento .b-side .vcard .media { grid-row: span 2; }
.tile { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; min-height: 220px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), border-color .3s; }
a.tile:hover { transform: translateY(-4px); border-color: rgba(237,237,239,.22); }
.tile-k { font: 500 12px/1 var(--mono); color: var(--dim); letter-spacing: .04em; text-transform: uppercase; }
.tile h3 { font: 600 clamp(24px, 2.2vw, 34px)/1.02 var(--font); letter-spacing: -.035em; }
.tile p { color: var(--dim); font-size: 15px; max-width: 26em; }
.tile .stats { display: flex; gap: 28px; margin-top: auto; }
.tile .go { position: absolute; right: 22px; top: 20px; font-size: 20px; transition: transform .5s var(--ease); }
a.tile:hover .go { transform: translateX(4px); }
.t-discord { grid-column: span 2; background: #15161d; }
.t-roblox { background: var(--red); border-color: transparent; color: #fff; }
.t-roblox .tile-k, .t-roblox .stat span { color: rgba(255,255,255,.75); }
.t-erlcx { background: #ededef; color: var(--bg); border-color: transparent; }
.t-erlcx .tile-k, .t-erlcx p { color: #55555c; }

/* ranked */
.ranked { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; counter-reset: r; }
.ranked li { position: relative; padding-top: 34px; }
.rank { position: absolute; left: -4px; top: -28px; font: 600 clamp(72px, 7vw, 116px)/1 var(--font); letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(237,237,239,.3); pointer-events: none; z-index: 1; }

/* shorts strip */
.shorts-sec { overflow: hidden; }
.shorts-track { display: flex; gap: 16px; padding: 0 var(--pad); width: max-content; }
.shorts-view { scrollbar-width: none; }
.shorts-view::-webkit-scrollbar { display: none; }
/* sideways scroll bar: a hairline with a solid thumb and a counter */
.hbar { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.hbar-track { position: relative; flex: 1; height: 2px; background: var(--line); border-radius: 2px; cursor: grab; touch-action: none; }
.hbar-track::before { content: ""; position: absolute; inset: -12px 0; }
.hbar-track.drag { cursor: grabbing; }
.hbar-thumb { position: absolute; left: 0; top: -2px; height: 6px; width: 20%; will-change: transform; }
/* the visible bar thickens on hover by scaling, so nothing reflows */
.hbar-thumb::after { content: ""; position: absolute; inset: 0; background: var(--ink); border-radius: 4px; transform: scaleY(.34); transition: transform .25s var(--ease); }
.hbar-track:hover .hbar-thumb::after, .hbar-track.drag .hbar-thumb::after { transform: scaleY(1); }
.hbar-n { font: 12px/1 var(--mono); color: var(--dim); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.scard { display: block; width: clamp(200px, 18vw, 260px); flex: none; }
.scard .media { aspect-ratio: 9/16; border-radius: 18px; }
.scard p { margin-top: 12px; font: 500 15px/1.3 var(--font); }
.scard small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }

/* explore list */
.explore { border-top: 1px solid var(--line); }
.explore a { display: grid; grid-template-columns: 70px 1fr 1fr 40px; align-items: center; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.ex-i { font: 500 13px/1 var(--mono); color: var(--dim); }
.ex-t { font: 600 clamp(28px, 3.4vw, 52px)/1 var(--font); letter-spacing: -.045em; transition: transform .6s var(--ease), color .3s; }
.ex-s { color: var(--dim); }
.ex-a { font-size: 22px; justify-self: end; transition: transform .5s var(--ease); }
.explore a:hover .ex-t { transform: translateX(14px); color: var(--red); }
.explore a:hover .ex-a { transform: translateX(6px); }

/* join */
.join { position: relative; padding: clamp(40px, 6vw, 90px); border-radius: 28px; background: var(--bg2); border: 1px solid var(--line); overflow: hidden; }
.join-title { position: relative; font: 600 clamp(44px, 7vw, 120px)/.92 var(--font); letter-spacing: -.055em; }

/* ---------- subpages ---------- */
.page { padding-top: clamp(130px, 16vw, 200px); }
.page-head { max-width: 980px; margin-bottom: clamp(40px, 6vw, 80px); }
.page-title { font: 600 clamp(56px, 10vw, 168px)/.88 var(--font); letter-spacing: -.06em; }
.lead { margin-top: 26px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: #c4c4ca; max-width: 40em; }
.tabs { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.tabs a { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--dim); transition: color .25s, border-color .25s, background .25s; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 40px 20px; }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 32px 16px; }
.sgrid .scard { width: auto; }
.more-row { display: flex; justify-content: center; margin-top: 48px; }
.live-strip { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 20px; margin-bottom: 24px; border-radius: 16px; background: rgba(224,69,47,.1); border: 1px solid rgba(224,69,47,.3); }
.live-strip b { font-weight: 600; flex: 1; }
.live-strip span:last-child { color: var(--dim); font-size: 14px; }
.feature { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; padding: clamp(28px, 4vw, 56px); border-radius: 28px; overflow: hidden; margin-bottom: 16px; }
.feature.dark { background: #15161d; border: 1px solid var(--line); }
.feature.red { background: var(--red); color: #fff; }
.feature.red .stat span { color: rgba(255,255,255,.8); }
.feature.ink { flex-direction: column; align-items: flex-start; background: var(--bg2); border: 1px solid var(--line); }
.feature-k { font: 500 13px/1 var(--mono); color: var(--dim); }
.feature-t { font: 600 clamp(40px, 6vw, 96px)/.92 var(--font); letter-spacing: -.055em; }
.stats.xl { display: flex; gap: clamp(28px, 6vw, 80px); flex-wrap: wrap; }
.stats.xl .stat b { font-size: clamp(48px, 7vw, 112px); letter-spacing: -.06em; }
.stats.xl .stat span { font-size: 15px; }
.stats.xl.line { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.four { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile.plain { min-height: 200px; }
.gfx-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gfx-stack figure { margin: 0; }
.gfx-stack .g-wide { grid-column: span 2; }
.gfx-stack .media { aspect-ratio: auto; }
.gfx-stack .g-wide .media { aspect-ratio: 16/8; }
.gfx-stack figure:not(.g-wide) .media { aspect-ratio: 4/3; }
.gfx-stack img { -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.gfx-stack figcaption { margin-top: 12px; color: var(--dim); font-size: 14px; }
.links-list { border-top: 1px solid var(--line); margin-bottom: 48px; }
.links-list a { display: grid; grid-template-columns: 1fr 1fr 40px; align-items: center; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.links-list span:first-child { color: var(--dim); }
.links-list b { font: 600 clamp(20px, 2.2vw, 30px)/1.1 var(--font); letter-spacing: -.03em; transition: transform .5s var(--ease); }
.links-list a:hover b { transform: translateX(10px); }
.links-list .go { justify-self: end; }
.contact { padding: 24px; border-radius: var(--r); background: var(--bg2); border: 1px solid var(--line); }
.contact p + p { margin-top: 10px; color: #c4c4ca; }
.next { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 24px; align-items: end; margin-top: clamp(100px, 12vw, 180px); padding: 36px 0 0; border-top: 1px solid var(--line); }
.next-k { grid-column: 1 / -1; font: 500 13px/1 var(--mono); color: var(--dim); margin-bottom: 16px; }
.next-t { font: 600 clamp(56px, 9vw, 150px)/.9 var(--font); letter-spacing: -.06em; transition: transform .7s var(--ease), color .3s; }
.next-s { color: var(--dim); padding-bottom: 10px; }
.next-a { font-size: clamp(32px, 4vw, 60px); transition: transform .6s var(--ease); }
.next:hover .next-t { transform: translateX(16px); color: var(--red); }
.next:hover .next-a { transform: translateX(10px); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: 20px; background: rgba(5,5,6,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: sheet .35s var(--ease); }
.lb-inner { width: min(1200px, 100%); }
.lb-frame { aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000; animation: grow .6s var(--ease); }
@keyframes grow { from { transform: scale(.94); opacity: 0; } }
.lb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-title { margin-top: 14px; font: 500 17px/1.3 var(--font); }
.lb-close { position: absolute; top: 18px; right: 18px; font-size: 26px; background: rgba(255,255,255,.08); width: 44px; height: 44px; }

/* ---------- footer ---------- */
.foot { padding: clamp(100px, 12vw, 180px) var(--pad) 28px; overflow-x: clip; }
.foot-big { font: 700 clamp(120px, 30vw, 480px)/.78 var(--font); letter-spacing: -.08em; color: var(--ink); user-select: none; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--line); margin-top: 20px; }
.foot-row nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-row a { color: var(--dim); font-size: 14px; transition: color .25s; }
.foot-row a:hover { color: var(--ink); }
.copy { color: var(--dim); font-size: 13px; }

/* ---------- small screens ---------- */
@media (max-width: 1020px) {
  .links { display: none; }
  .burger { display: grid; }
  .nav-end { margin-left: auto; }
}
@media (max-width: 820px) {
  .hero-inner { max-width: none; right: var(--pad); bottom: 170px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .chips .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .chips .stat:nth-child(n+3) { padding-top: 12px; }
  .bento { grid-template-columns: 1fr; }
  .b-main, .b-side, .t-discord { grid-column: auto; grid-row: auto; }
  .bento .b-side .vcard { display: block; }
  .ranked { grid-template-columns: 1fr; gap: 48px; }
  .moments { grid-template-columns: 1fr; gap: 36px; padding-bottom: 0; }
  .moments .moment { grid-column: auto; margin-top: 0; transform: none !important; }
  .duty-set { grid-template-columns: 1fr; }
  .sig { margin-right: 0; }
  .explore a { grid-template-columns: 44px 1fr 30px; }
  .ex-s { display: none; }
  .two, .four, .gfx-stack { grid-template-columns: 1fr; }
  .gfx-stack .g-wide { grid-column: auto; }
  .links-list a { grid-template-columns: 1fr 30px; }
  .links-list span:first-child { grid-column: 1 / -1; font-size: 13px; }
  .next { grid-template-columns: 1fr auto; }
  .next-s { display: none; }
  .vgrid { grid-template-columns: 1fr; }
  .sgrid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
