@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/barlow-condensed-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Dela Gothic One"; src: url("assets/fonts/dela-gothic-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #0c0624;
  --bg-2: #120a33;
  --violet: #7b4dff;
  --violet-dk: #3b1f86;
  --lav: #ece6ff;
  --text: #ddd6f7;
  --muted: #a99fd2;
  --ivory: #FFF2D7;
  --orange: #FF9D00;
  --orange-dk: #b65400;
  --cyan: #39D3E8;
  --green: #73D89C;
  --red: #FF6472;
  --navy: #0d1530;
  --line: rgba(255, 255, 255, .12);
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 400 1.0625rem/1.6 var(--body); overflow-x: hidden;
  background:
    radial-gradient(60vw 50vw at 0% 30%, rgba(123, 77, 255, .16), transparent 60%),
    radial-gradient(50vw 40vw at 100% 70%, rgba(255, 157, 0, .07), transparent 60%),
    var(--bg);
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: var(--lav); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--cond); font-weight: 900; text-transform: uppercase; line-height: .92; color: var(--lav); letter-spacing: .005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--orange); color: var(--navy); padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: calc(900px + 2 * var(--gutter)); }
.dot { display: inline-block; width: .6em; height: .6em; background: var(--orange); border-radius: 2px; transform: rotate(45deg); flex: none; box-shadow: 0 0 10px rgba(255, 157, 0, .8); }

/* Giant distressed type */
.mega, .mega-sm {
  font-family: var(--cond); font-weight: 900; text-transform: uppercase; color: var(--lav);
  -webkit-mask-image: url("assets/fx/grunge.webp"); mask-image: url("assets/fx/grunge.webp");
  -webkit-mask-size: 420px; mask-size: 420px;
}
.mega { font-size: clamp(4.2rem, 12vw, 12.5rem); line-height: .82; letter-spacing: -.005em; }
.mega-sm { font-size: clamp(2.8rem, 6.6vw, 6.4rem); line-height: .86; max-width: 18ch; }
.kicker { display: flex; justify-content: center; align-items: center; gap: 12px; color: var(--orange); font: 800 1rem/1 var(--cond); letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.kicker::before, .kicker::after { content: ""; width: 36px; height: 3px; background: var(--orange); border-radius: 2px; }
.section .wrap > .mega-sm { margin-inline: auto; text-align: center; }
.section .wrap > .intro { margin-inline: auto; text-align: center; }
.intro { margin-top: 22px; max-width: 62ch; color: var(--muted); font-size: 1.15rem; }
.note { margin: 22px auto 0; text-align: center; max-width: 76ch; color: var(--muted); font-size: .95rem; padding: 12px 16px; border-radius: 14px; background: rgba(57, 211, 232, .06); border: 1px solid rgba(57, 211, 232, .2); }
.sub-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 80px 0 24px; text-align: center; }
.tag { display: inline-block; margin-right: 8px; padding: 5px 9px 4px; border-radius: 6px; font: 800 .8rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; vertical-align: .1em; }
.tag-cyan { background: rgba(57, 211, 232, .16); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(57, 211, 232, .4); }
.tag-ivory { background: rgba(255, 242, 215, .12); color: var(--ivory); box-shadow: inset 0 0 0 1px rgba(255, 242, 215, .3); }
.tag-orange { background: var(--orange); color: var(--navy); }

.glass {
  position: relative; border-radius: 22px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(150, 120, 255, .16), rgba(30, 14, 70, .55) 60%);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .14);
}

/* Buttons: Synty Modern Menus bar boxes as 9-slice */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 10px 0 12px;
  font: 800 1.2rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  border-style: solid; border-color: transparent; border-width: 12px 32px 12px 12px;
  border-image: url("assets/ui/btn-gold.webp") 26 72 26 26 fill / 12px 32px 12px 12px round stretch;
  transition: transform .12s, filter .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08) drop-shadow(0 10px 18px rgba(0, 0, 0, .4)); }
.btn:active { transform: translateY(2px); filter: brightness(.95); }
.btn-primary { color: #3a1f00; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { color: #3a1f00; }
.btn-ghost { color: #fff; border-image-source: url("assets/ui/btn-blue.webp"); text-shadow: 0 2px 0 rgba(10, 30, 80, .55); }
.btn-ghost:hover { color: #fff; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 22px; background: var(--bg); transition: opacity .6s, visibility .6s; }
.loader img { width: min(300px, 60vw); animation: pulse 1.4s ease-in-out infinite; }
.loader-bar { width: 200px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 40%; background: var(--orange); border-radius: 3px; animation: load 1s ease-in-out infinite; }
.loaded .loader { opacity: 0; visibility: hidden; }
@keyframes pulse { 50% { transform: scale(1.04) rotate(-1deg); } }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, backdrop-filter .3s; }
.site-header.scrolled { background: rgba(12, 6, 36, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; padding: 0 var(--gutter); }
.wordmark img { height: 52px; width: auto; transition: transform .2s; }
.wordmark:hover img { transform: rotate(-3deg) scale(1.05); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; }
.site-nav a { position: relative; display: block; padding: 12px 13px; color: #fff; text-decoration: none; font: 800 1.02rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.site-nav a::after { content: ""; position: absolute; inset: 0; border: 9px solid transparent; border-image: url("assets/ui/select-brackets.webp") 44 / 9px stretch; opacity: 0; transform: scale(1.15); transition: opacity .2s, transform .2s; }
.site-nav a:hover { color: var(--orange); }
.site-nav a:hover::after { opacity: .55; transform: none; }
.site-nav a[aria-current="true"] { color: var(--orange); }
.site-nav a[aria-current="true"]::after { opacity: 1; transform: none; }
.btn-cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 14px; background: var(--orange); color: #2a1400; text-decoration: none; font: 900 1.05rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transition: filter .2s, transform .15s; }
.btn-cta img { width: 30px; height: 30px; }
.btn-cta:hover { color: #2a1400; filter: brightness(1.1); transform: translateY(-1px); }
.nav-toggle { display: none; }

@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-left: auto; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(30, 14, 70, .7); color: #fff; font: 800 1rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; border-radius: 2px; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: rgba(12, 6, 36, .97); border-bottom: 1px solid var(--line); }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 18px; }
  .site-nav a { padding: 15px 12px; font-size: 1.35rem; border-bottom: 1px solid var(--line); }
  html:not(.js) .header-inner { flex-wrap: wrap; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; }
  .btn-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: -40px; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(9px) brightness(.42) saturate(1.25); transform: scale(1.06); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 6, 36, .55) 0%, rgba(12, 6, 36, .05) 30%, rgba(12, 6, 36, .35) 70%, var(--bg) 100%), radial-gradient(80% 60% at 70% 50%, rgba(123, 77, 255, .25), transparent 70%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 120px var(--gutter) clamp(48px, 8vh, 96px); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.hero-title { max-width: 9.5ch; }
.hero-title .ln { display: block; }
.hero-title .accent { color: var(--orange); }
.hero-lede { margin-top: 22px; max-width: 30ch; color: #fff; font: 600 clamp(1.25rem, 2.2vw, 1.65rem)/1.25 var(--body); text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.hero .actions { position: relative; z-index: 4; margin-top: 26px; }
.hero-sub { margin-top: 18px; max-width: 54ch; color: var(--muted); }
.planned-for { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 22px; }
.planned-label { font: 800 .85rem/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.planned-for ul { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.planned-for li { display: inline-flex; align-items: center; gap: 6px; font: 800 .95rem/1 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.planned-for img { width: 26px; height: 26px; }
.hero-3d { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; }
.hero-fallback { display: none; }
.no-webgl .hero-fallback, html:not(.js) .hero-fallback { position: absolute; right: 2%; bottom: 8%; z-index: 1; display: flex; align-items: flex-end; width: min(54%, 820px); }
.no-webgl .hero-fallback img, html:not(.js) .hero-fallback img { width: 50%; }
.dev-badge { position: absolute; right: 0; top: 52%; z-index: 5; display: grid; justify-items: center; gap: 4px; width: 104px; padding: 14px 8px; border-radius: 16px 0 0 16px; background: rgba(40, 20, 95, .82); border: 1px solid var(--line); border-right: 0; text-align: center; font: 800 .82rem/1.05 var(--cond); letter-spacing: .08em; text-transform: uppercase; color: #fff; backdrop-filter: blur(10px); }
.dev-badge img { width: 40px; height: 40px; }
.dev-badge b { color: var(--orange); font-weight: 900; font-size: .95rem; }
.dev-badge span { color: var(--muted); }
.art-note { position: absolute; right: calc(var(--gutter) + 50px); bottom: 26px; z-index: 5; font: 600 .78rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.scroll-hint { position: absolute; left: 50%; bottom: 18px; z-index: 5; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 900px) {
  .hero { align-items: flex-start; }
  .hero-inner { padding-top: calc(76px + min(36vh, 320px)); padding-bottom: 72px; }
  .hero-3d { top: 72px; bottom: auto; height: min(36vh, 320px); }
  .art-note { left: var(--gutter); right: auto; bottom: 22px; }
  .no-webgl .hero-inner, html:not(.js) .hero-inner { padding-top: 104px; }
  .hero-title { font-size: clamp(3.6rem, 17vw, 7rem); }
  .dev-badge { top: auto; bottom: 120px; width: 92px; }
  .scroll-hint { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(123, 77, 255, .14), rgba(255, 157, 0, .08)); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font: 900 clamp(2.2rem, 5vw, 4rem)/1 var(--cond); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(236, 230, 255, .6); white-space: nowrap; }
.marquee span:nth-of-type(3n+1) { color: var(--lav); -webkit-text-stroke: 0; }
.marquee i { width: 16px; height: 16px; background: var(--orange); transform: rotate(45deg); border-radius: 3px; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 9vw, 130px) 0; }

/* The game: verb cards */
.verb-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; }
.verb-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px 24px; border-radius: 26px; border: 1px solid var(--line); overflow: visible;
  background: linear-gradient(165deg, rgba(150, 110, 255, .3), rgba(40, 18, 95, .6) 55%, rgba(18, 10, 50, .8)); box-shadow: 0 30px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .16);
  transform-style: preserve-3d; transition: transform .25s ease, box-shadow .25s; }
.verb-card .pop { position: absolute; right: 16px; top: -46px; width: 112px; height: 112px; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); animation: float 4s ease-in-out infinite; }
.verb-card:nth-child(2) .pop { animation-delay: -1.3s; } .verb-card:nth-child(3) .pop { animation-delay: -2.6s; }
@keyframes float { 50% { transform: translateY(-10px) rotate(4deg); } }
.verb-no { font: 900 1.1rem/1 var(--cond); letter-spacing: .2em; color: var(--orange); }
.verb-card h3 { margin: 8px 0 12px; font-size: clamp(2.6rem, 4vw, 3.6rem); }
.verb-card > p:not(.verb-no) { color: var(--text); }
.verb-art { position: relative; margin: 22px 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.verb-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.verb-card:hover .verb-art img { transform: scale(1.06); }
.verb-art figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: 6px; background: rgba(12, 6, 36, .8); font: 800 .72rem/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: #fff; }

/* Phases: mascot stage, tabs, live arena panel */
.phases { overflow: hidden; }
.phases-stage { position: relative; height: clamp(520px, 72vh, 760px); display: grid; place-items: center; }
.brush-x { position: absolute; left: 50%; top: 50%; width: min(1100px, 120vw); transform: translate(-50%, -50%); pointer-events: none; }
.brush-x img { position: absolute; left: 0; top: 50%; width: 100%; margin-top: -15%; }
.brush-x .b1 { transform: rotate(24deg) scale(.95); }
.brush-x .b2 { transform: rotate(-24deg) scale(.95); mix-blend-mode: screen; }
.js .brush-x img { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.6, 0, .2, 1); }
.js .brush-x.in img { clip-path: inset(0 0 0 0); }
.js .brush-x.in .b2 { transition-delay: .35s; }
.phases-title { position: absolute; left: 50%; bottom: 8%; z-index: 3; pointer-events: none; transform: translateX(-50%); width: max-content; max-width: 96vw; text-align: center; font-size: clamp(3.6rem, 13vw, 12rem); }
.mascot-3d { position: relative; z-index: 2; width: min(560px, 86vw); height: 100%; }
.mascot-fallback { display: none; }
.no-webgl .mascot-3d { display: none; }
.no-webgl .mascot-fallback { position: relative; z-index: 2; display: block; width: min(380px, 70vw); }

.phase-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 10px auto 22px; }
.phase-tab { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 24px 0 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(40, 20, 95, .6); color: #fff; font: 900 1.2rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.phase-tab img { width: 40px; height: 40px; }
.phase-tab:hover { background: rgba(70, 40, 150, .75); transform: translateY(-2px); }
.phase-tab[aria-selected="true"] { background: var(--orange); color: #2a1400; border-color: transparent; }
.phase-tab[aria-selected="true"]::after { content: ""; position: absolute; inset: -8px; border: 12px solid transparent; border-image: url("assets/ui/select-corners.webp") 40 / 12px stretch; }
.phase-panel { position: relative; height: clamp(460px, 52vw, 640px); border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 65% 40%, #2b2075, #120a33 70%); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.arena-3d { position: absolute; inset: 0; width: 100%; height: 100%; }
.arena-fallback { display: none; }
.no-webgl .arena-3d { display: none; }
.no-webgl .arena-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phase-card { position: absolute; left: 28px; top: 50%; z-index: 2; width: min(440px, calc(100% - 56px)); padding: 28px 28px 24px; transform: translateY(-50%); }
.phase-copy h3 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 14px; }
.phase-copy p + p { margin-top: 10px; }
.phase-copy p { color: var(--text); }
.try { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding: 10px 12px; border-radius: 12px; border: 1px dashed rgba(57, 211, 232, .45); background: rgba(8, 4, 26, .45); font-size: .92rem; color: #fff; }
.try img { width: 30px; height: 30px; }
.try b { color: var(--cyan); }
.try-count { margin-left: auto; font: 800 .95rem/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.try-count b { color: var(--orange); font-size: 1.15rem; }
.no-webgl .try { display: none; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.rules li { display: flex; gap: 14px; align-items: flex-start; padding: 20px 20px 22px; }
.rules img { flex: none; width: 46px; height: 46px; }
.rules p { color: var(--text); }

#arena-toast { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; opacity: 0; margin: -38px 0 0 14px; font: 900 1.6rem/1 var(--cond); letter-spacing: .06em; color: var(--orange); -webkit-text-stroke: 5px var(--navy); paint-order: stroke fill; text-shadow: 0 3px 0 var(--navy); }
#arena-toast[data-kind="prot"] { color: var(--cyan); }
#arena-toast.show { animation: toast .9s ease-out forwards; }
@keyframes toast { 0% { opacity: 0; margin-top: -20px; transform: scale(.7); } 15% { opacity: 1; transform: scale(1.1); } 30% { transform: scale(1); } 100% { opacity: 0; margin-top: -76px; } }

@media (max-width: 900px) {
  .phase-panel { height: auto; display: block; }
  .arena-3d { position: relative; inset: auto; height: 340px; }
  .no-webgl .arena-fallback { position: relative; height: 240px; }
  .phase-card { position: relative; left: auto; top: auto; transform: none; width: auto; margin: -24px 12px 12px; }
  .rules { grid-template-columns: 1fr; }
  .phase-tab { padding: 0 16px 0 10px; font-size: 1.05rem; min-height: 52px; }
  .phase-tab img { width: 32px; height: 32px; }
}

/* Worlds: 3D coverflow */
.worlds { overflow: hidden; }
.coverflow { position: relative; margin-top: 60px; }
.cf-track { position: relative; height: clamp(330px, 44vw, 560px); perspective: 1600px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cf-track img { -webkit-user-drag: none; }
.cf-card { position: absolute; left: 50%; top: 0; width: min(680px, 78vw); margin-left: calc(min(680px, 78vw) / -2); transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s, filter .6s; transform-style: preserve-3d; }
.cf-open { display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: none; cursor: zoom-in; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.cf-open img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cf-info { margin-top: 18px; padding: 0 6px; transition: opacity .4s; }
.cf-info h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 10px 0 6px; }
.cf-info p { color: var(--muted); }
.cf-card:not(.is-center) .cf-info { opacity: 0; }
.cf-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 30px; }
.cf-btn { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--line); background: rgba(40, 20, 95, .7); cursor: pointer; transition: transform .15s, background .2s; }
.cf-btn img { width: 34px; height: 34px; }
.cf-btn:hover { transform: scale(1.08); background: rgba(70, 40, 150, .9); }
.cf-prev img { transform: scaleX(-1); }
.cf-progress { position: relative; width: min(280px, 40vw); height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.cf-progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 16.6%; border-radius: 2px; background: var(--orange); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
html:not(.js) .cf-track { height: auto; display: grid; gap: 24px; padding: 0 var(--gutter); perspective: none; }
html:not(.js) .cf-card { position: static; width: auto; margin: 0; }
html:not(.js) .cf-card .cf-info { opacity: 1; }
html:not(.js) .cf-controls { display: none; }

/* Roles */
.role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 150px; }
.role-card { position: relative; padding: 210px 28px 30px; border-radius: 26px; border: 1px solid var(--line); transition: transform .25s ease;
  background: linear-gradient(165deg, rgba(150, 110, 255, .26), rgba(40, 18, 95, .6) 55%, rgba(18, 10, 50, .85)); box-shadow: 0 30px 70px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .16); }
.role-card.rivet { background: linear-gradient(165deg, rgba(255, 157, 0, .32), rgba(70, 30, 90, .6) 55%, rgba(18, 10, 50, .85)); }
.role-card.patch { background: linear-gradient(165deg, rgba(57, 211, 232, .3), rgba(30, 40, 100, .6) 55%, rgba(18, 10, 50, .85)); }
.role-card.planned { background: rgba(255, 255, 255, .03); border-style: dashed; box-shadow: none; }
.role-art { position: absolute; left: 50%; top: -140px; width: 300px; transform: translateX(-50%); filter: drop-shadow(0 24px 22px rgba(0, 0, 0, .5)); transition: transform .4s cubic-bezier(.2, .8, .2, 1.2); }
.role-card:hover .role-art { transform: translateX(-50%) translateY(-10px) scale(1.04); }
.role-art.silhouette { filter: brightness(0) invert(.85); opacity: .12; }
.role-card.planned::before { content: "?"; position: absolute; left: 50%; top: -40px; z-index: 1; transform: translateX(-50%); font: 900 9rem/1 var(--cond); color: var(--orange); text-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.role-class { display: inline-flex; align-items: center; gap: 8px; font: 800 1rem/1 var(--cond); letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); }
.role-class img { width: 34px; height: 34px; }
.role-card h3 { font-size: clamp(3rem, 5vw, 4.4rem); margin: 8px 0 14px; }
.role-card dl { margin: 0; }
.role-card dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.role-card dt { font: 800 .9rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.role-card dd { margin: 0; color: var(--text); }
.role-card.planned p:not(.role-class) { color: var(--muted); }
.art-caption { margin-top: 18px; color: var(--muted); font-size: .9rem; text-align: center; }
.targets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.targets li { padding: 24px 22px 26px; }
.targets img { width: 52px; height: 52px; margin-bottom: 8px; }
.targets strong { display: block; font: 900 clamp(3rem, 6vw, 4.6rem)/1 var(--cond); color: var(--orange); }
.targets span { display: block; margin-top: 6px; font: 800 1rem/1.2 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Platforms */
.platform-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.platform-list li { display: grid; grid-template-columns: 60px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 4px; align-items: center; padding: 22px; }
.platform-list img { grid-row: span 2; width: 60px; height: 60px; }
.p-name { font: 900 1.5rem/1 var(--cond); text-transform: uppercase; color: #fff; align-self: end; }
.p-state { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); align-self: start; }
.platform-list .is-current { border-color: rgba(255, 157, 0, .6); box-shadow: 0 0 0 1px rgba(255, 157, 0, .35), 0 24px 60px rgba(0, 0, 0, .35); }
.platform-list .is-current .p-state { color: #fff; }
.platform-list .is-no { border-radius: 22px; border: 1px dashed rgba(255, 255, 255, .22); }
.platform-list .is-no .p-name { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 3px; }

/* Roadmap track */
.track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 64px; }
.track::before { content: ""; position: absolute; left: 6%; right: 6%; top: 36px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--orange) 0 22%, rgba(255, 255, 255, .14) 22%); }
.stop { position: relative; text-align: center; padding: 0 6px; }
.stop-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid var(--line); background: #1d1250; }
.stop-dot img { width: 46px; height: 46px; }
.stop.is-now .stop-dot { background: var(--orange); border-color: transparent; box-shadow: 0 0 0 8px rgba(255, 157, 0, .18), 0 0 40px rgba(255, 157, 0, .55); }
.stop-state { font: 800 .9rem/1 var(--cond); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.stop.is-now .stop-state { color: var(--orange); }
.stop h3 { font-size: 1.9rem; margin-bottom: 10px; }
.stop p:last-child { color: var(--muted); }
.proto { margin: 70px auto 0; max-width: 860px; padding: 14px 14px 18px; }
.proto img { width: 100%; border-radius: 14px; }
.proto figcaption { margin-top: 14px; padding: 0 6px; color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq { display: grid; gap: 14px; margin-top: 44px; }
.faq details { padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; font: 900 1.35rem/1.15 var(--cond); text-transform: uppercase; color: #fff; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--orange); color: #2a1400; font: 900 1.4rem/1 var(--cond); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--orange); }
.faq details p { padding: 0 24px 24px; color: var(--text); max-width: 70ch; }

/* Follow the build (contact call to action) */
.follow-card { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 90px) clamp(24px, 6vw, 80px); border-radius: 34px; text-align: center; border: 1px solid rgba(255, 255, 255, .16);
  background: radial-gradient(70% 120% at 20% 0%, rgba(255, 157, 0, .35), transparent 60%), radial-gradient(70% 120% at 100% 100%, rgba(57, 211, 232, .3), transparent 60%), linear-gradient(135deg, #3b1f86, #1d0f52); box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.follow-bgtext { position: absolute; inset: 0; display: grid; align-content: center; pointer-events: none; opacity: .07; }
.follow-bgtext span { font: 900 clamp(4rem, 12vw, 10rem)/.85 var(--cond); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px #fff; white-space: nowrap; }
.follow-bgtext span:nth-child(even) { transform: translateX(-18%); }
.follow-card h2 { position: relative; margin: 0 auto 18px; }
.follow-card p { position: relative; max-width: 54ch; margin: 0 auto; color: #fff; font-size: 1.15rem; }
.follow-card .actions { position: relative; justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 0 0 26px; background: linear-gradient(180deg, transparent, #07031a 40%); }
.footer-hero { position: relative; display: flex; justify-content: center; align-items: flex-end; height: clamp(220px, 30vw, 420px); margin-bottom: 30px; }
.fh-logo { position: absolute; left: 50%; bottom: 0; width: min(900px, 86vw); transform: translateX(-50%); }
.fh-rivet, .fh-patch { position: absolute; bottom: 18%; width: clamp(140px, 19vw, 280px); z-index: 1; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); }
.fh-rivet { left: calc(50% - min(450px, 43vw) - 4%); transform: rotate(-6deg); }
.fh-patch { right: calc(50% - min(450px, 43vw) - 4%); transform: rotate(6deg); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; padding-top: 30px; border-top: 1px solid var(--line); }
.footer-claim { color: var(--orange); font: 900 1.4rem/1 var(--cond); letter-spacing: .14em; text-transform: uppercase; }
.footer-status { display: flex; gap: 10px; align-items: baseline; margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 18px; justify-content: flex-end; max-width: 520px; }
.footer-links a { display: inline-block; padding: 6px 0; color: #fff; text-decoration: none; font: 800 1.05rem/1.2 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: var(--orange); }
.footer-contact { margin-top: 40px; }
.footer-contact h2 { font-size: 1.6rem; margin-bottom: 16px; }
.contact-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.contact-list li { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; align-content: start; padding: 18px; border-radius: 18px; }
.contact-list img { width: 44px; height: 44px; margin-bottom: 6px; }
.c-addr { font-weight: 600; color: var(--cyan); white-space: nowrap; font-size: .98rem; }
.c-use { font: 800 .82rem/1.25 var(--cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-small { margin-top: 28px; color: var(--muted); font-size: .88rem; max-width: 110ch; }
.footer-legal { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer-legal h2 { font-size: 1.1rem; margin-bottom: 8px; }
.footer-legal.is-pending { border: 2px dashed var(--red); border-radius: 12px; padding: 16px; color: #fff; }
.footer-legal.is-pending strong { color: var(--red); }
.footer-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }

/* Pause motion */
.motion-toggle { position: fixed; right: 14px; bottom: 14px; z-index: 90; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: rgba(20, 10, 55, .88); color: #fff; cursor: pointer; backdrop-filter: blur(8px); box-shadow: 0 8px 20px rgba(0, 0, 0, .35); }
.motion-toggle .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.motion-toggle:hover { border-color: var(--cyan); }
.motion-icon { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
[aria-pressed="true"] > .motion-icon { border: 0; width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
html:not(.js) .motion-toggle { display: none; }
.motion-paused .marquee-track, .motion-paused .verb-card .pop, .motion-paused .scroll-hint span { animation-play-state: paused; }

/* Lightbox */
.lightbox { width: min(1200px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); color: var(--text); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); overflow: hidden; }
.lightbox::backdrop { background: rgba(5, 2, 18, .86); }
.lightbox #lb-img { width: 100%; height: auto; max-height: calc(94vh - 80px); object-fit: contain; background: #000; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; }
.lb-bar p { font: 900 1.2rem/1.2 var(--cond); text-transform: uppercase; text-align: center; color: #fff; }
.lb-nav, .lb-close { display: grid; place-items: center; width: 48px; height: 48px; padding: 4px; border: 0; border-radius: 12px; background: rgba(40, 20, 95, .8); cursor: pointer; transition: transform .15s; }
.lb-nav:hover, .lb-close:hover { transform: scale(1.1); }
.lb-nav img, .lb-close img { width: 36px; height: 36px; }
.lb-prev img { transform: scaleX(-1); }
.lb-close-form { position: absolute; right: 12px; top: 12px; margin: 0; z-index: 1; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .verb-cards, .role-cards { grid-template-columns: 1fr; }
  .verb-cards { gap: 60px; }
  .role-cards { gap: 170px; }
  .platform-list { grid-template-columns: repeat(2, 1fr); }
  .targets { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .platform-list, .track, .contact-list { grid-template-columns: 1fr; }
  .btn { flex: 1 1 auto; }
  .role-art { width: 240px; top: -110px; }
  .role-card { padding-top: 170px; }
  .fh-rivet, .fh-patch { bottom: 30%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .brush-x img { clip-path: none; }
}

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.notfound .mega-sm { margin-inline: auto; }
.notfound .intro { margin-inline: auto; }
.notfound .actions { justify-content: center; margin-top: 28px; }
.nf-hero { width: 220px; margin: 0 auto 10px; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .5)); }
