/* tastemaker stamp | Option D "OASIS arcade" | macro: World Map of Places (start screen > level select > arcade > broadcast tower > trophy room > save game) | mood: retro-futurist arcade, premium | hero: centred start screen, one monitor | nav: quiet + one CTA | yellow toggle is PREVIEW ONLY | contrast: ink/yellow 14.6:1 (electric) 16.5:1 (fluoro), yellow/bg 15.7:1 | critique 5/4/4/5/3/5 */

/* ---------- accent: Studio Night ink + yellow ---------- */
:root[data-theme="oasis"] {
  --gold: #FFE600;
  --gold-2: #fff04d;
  --gold-ink: #1a1206;
  --violet: #9d6bff;
  --violet-soft: rgba(157, 107, 255, 0.22);
  --magenta: #ff3f9e;
  --live: #4ade80;
  --font-pixel: "Press Start 2P", "JetBrains Mono", monospace;
  --shadow-float: 0 30px 80px -30px rgba(157, 107, 255, 0.35), 0 10px 30px -15px rgba(0, 0, 0, 0.8);
}
:root[data-theme="oasis"][data-yellow="fluoro"] { --gold: #E6FF2E; --gold-2: #f0ff6b; }
/* judges fix: brighter secondary text (muted 9.6:1, dim 6.4:1 on --bg) */
:root[data-theme="oasis"] { --muted: #c6bddf; --dim: #9d93bb; }

/* ---------- centring: one axis for everything ---------- */
.centred { text-align: center; margin-inline: auto; }
.section-head.centred { max-width: 820px; margin-inline: auto; justify-items: center; }
.section-head.centred .lede { margin-inline: auto; }
.section-head.small h3 { font-size: var(--step-3); }
.centred-row { justify-content: center; }
.muted-note { color: var(--dim); font-size: 0.9rem; margin-top: var(--space-4); }
.optin-centred { margin-inline: auto; }
.optin-centred .optin-row { justify-content: center; }
.optin-success { text-align: center; }

/* ---------- preview yellow toggle (remove before launch) ---------- */
.yellow-chip { position: fixed; z-index: 70; left: 0.75rem; bottom: 0.75rem; display: flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.4rem 0.35rem 0.7rem; border: 1px dashed var(--line-strong); border-radius: 999px; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.yellow-chip-label { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); margin-right: 0.3rem; }
.yellow-chip button { display: inline-flex; align-items: center; gap: 0.4rem; border: 1px solid transparent; background: transparent; color: var(--muted); font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.7rem; border-radius: 999px; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out); }
.yellow-chip button i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.yellow-chip button[aria-checked="true"] { background: var(--surface-2); color: var(--text); border-color: var(--line-strong); }
@media (max-width: 899px) { .yellow-chip { bottom: 0.6rem; left: auto; right: 0.6rem; padding: 0.25rem; } .yellow-chip button { padding: 0.3rem 0.55rem; font-size: 0.7rem; } .yellow-chip-label { display: none; } }

/* ---------- scenes (each section is a place) ---------- */
.scene { position: relative; isolation: isolate; overflow: clip; }
.scene-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.scene-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0.55; }
.scene-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 900ms var(--ease-out); }
.scene-video.is-live { opacity: 0.55; }
.hero.start .scene-video { object-position: center bottom; mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); }
.hero.start .scene-video.is-live { opacity: 0.42; }
.tower .scene-video { object-position: center 30%; }
.tower .scene-video.is-live { opacity: 0.5; }
@media (max-width: 959px) { .scene-video.only-desktop { display: none; } }
@media (prefers-reduced-motion: reduce) { .scene-video { display: none; } }
.scene-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg) 0%, color-mix(in oklab, var(--bg) 35%, transparent) 22%, color-mix(in oklab, var(--bg) 35%, transparent) 70%, var(--bg) 100%); }
.scanlines { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.floor-glow { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: radial-gradient(ellipse at 50% 100%, color-mix(in oklab, var(--gold) 22%, transparent), transparent 70%); }

/* ---------- START SCREEN ---------- */
.hero.start { padding-block: clamp(1.5rem, 2vw + 1rem, 3rem) var(--space-16); }
.hero.start .wrap { display: grid; grid-template-columns: 1fr; justify-items: center; gap: var(--space-6); }
.hero.start .scene-art { opacity: 0.42; object-position: center bottom; mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent); }
#gridfloor { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 62%; display: block; opacity: 0.85; mask-image: linear-gradient(to bottom, transparent, #000 35%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%); }
.hud { width: 100%; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-pixel); font-size: 0.55rem; white-space: nowrap; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); line-height: 1.6; }
.hud b { color: var(--gold); font-weight: 400; margin-right: 0.6em; }
@media (max-width: 640px) { .hud { font-size: 0.42rem; justify-content: center; gap: 1.4rem; } }
.hero.start .optin { margin-top: var(--space-2); }
.hero.start .monitor { margin-top: var(--space-8); }
.hero.start h1 { font-size: var(--step-4); max-width: 18ch; line-height: 1.02; }
.hero.start .lede { max-width: 38em; margin-top: 0; }
.hero.start .hero-eyebrow { margin-bottom: 0; }

.monitor { margin: var(--space-4) auto 0; width: min(100%, 440px); position: relative; }
.monitor-bezel { background: linear-gradient(180deg, #1d1636, #120c24); border: 1px solid var(--line-strong); border-radius: 22px; padding: 14px 14px 0; box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.06); position: relative; }
.monitor-bezel::before { content: ""; position: absolute; inset: -40px -60px auto; height: 140px; background: radial-gradient(ellipse at 50% 100%, var(--violet-soft), transparent 70%); filter: blur(24px); z-index: -1; }
.monitor-screen { position: relative; border-radius: 14px; overflow: hidden; background: #07050d; box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.7); }
.monitor-screen video { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 30%; display: block; }
.monitor-screen .scanlines { opacity: 0.9; }
.screen-glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 35%, transparent 70%, rgba(255, 255, 255, 0.03)); pointer-events: none; }
.monitor-foot { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 0.4rem 0.8rem; }
.monitor-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.monitor-label.right { margin-left: auto; color: var(--gold); }
.led { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 10px var(--live); }
.chip-static { position: absolute; left: 50%; bottom: 3.4rem; transform: translateX(-50%); white-space: nowrap; }
@media (max-width: 480px) { .chip-static { font-size: 0.72rem; } .chip-static b { font-size: 0.82rem; } }

.press-start { font-family: var(--font-pixel); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); text-align: center; margin-bottom: 0.8rem; background: color-mix(in oklab, var(--bg) 85%, transparent); display: table; margin-inline: auto; padding: 0.4rem 0.9rem; border-radius: 6px; animation: blink 1.1s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.blink { color: var(--gold); animation: blink 1s steps(2, start) infinite; }
@media (prefers-reduced-motion: reduce) { .press-start, .blink { animation: none; } }

/* ---------- LEVEL SELECT ---------- */
.levels .scene-art { object-position: center 40%; opacity: 0.45; }
.portals { grid-template-columns: 1fr; }
@media (min-width: 760px) { .portals { grid-template-columns: repeat(3, 1fr); } }
.route.portal { min-height: 0; border-radius: 160px 160px 24px 24px; background: var(--surface); padding-top: 0; }
.route.portal::after { display: none; }
.route.portal img { position: static; opacity: 1; }
.portal-frame { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 160px 160px 0 0; border-bottom: 2px solid var(--gold); position: relative; }
.portal-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface) 0%, transparent 45%); }
.portal-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 600ms var(--ease-out); }
.route.portal .route-body { padding: var(--space-4) var(--space-6) var(--space-6); text-align: center; justify-items: center; }
.route.portal p { margin-inline: auto; }
.lvl { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-pixel); font-size: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.pips { display: inline-flex; gap: 3px; }
.pips i { width: 8px; height: 8px; border: 1px solid var(--gold); display: inline-block; }
.pips i.on { background: var(--gold); }
.route.portal[aria-expanded="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 60px -30px color-mix(in oklab, var(--gold) 40%, transparent); }
@media (hover: hover) { .route.portal:hover .portal-frame img { transform: scale(1.05); } .route.portal:hover { transform: translateY(-4px); } }
.route-panel { max-width: 920px; margin-inline: auto; }
.route-panel .label { text-align: center; }

/* ---------- THE ARCADE: cabinets ---------- */
.arcade .scene-art { opacity: 0.5; object-position: center 60%; }
.cabinets { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 700px) { .cabinets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cabinets { grid-template-columns: repeat(3, 1fr); } }
.cab { --p: var(--gold); position: relative; display: grid; grid-template-rows: auto 1fr auto; border: 1px solid var(--line-strong); border-radius: 18px 18px 26px 26px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); overflow: clip; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); outline-offset: 4px; }
@media (hover: hover) { .cab:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--p) 60%, var(--line-strong)); } }
.cab:focus-visible { border-color: var(--gold); }
.cab-marquee { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.8rem 1rem; background: linear-gradient(180deg, color-mix(in oklab, var(--p) 18%, var(--surface-2)), var(--surface-2)); border-bottom: 1px solid var(--line); }
.cab-marquee .wordmark { font-size: var(--step-1); }
.cab-marquee .status { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 0.4rem; }
.cab-marquee .status i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); display: inline-block; }
.cab-marquee .status.soon i { background: var(--magenta); }
.cab-screen { position: relative; aspect-ratio: 16 / 11; background: #07050f; overflow: hidden; border-bottom: 1px solid var(--line); box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7); }
.cab-screen .scanlines { opacity: 0.8; }
.demo-shot { position: absolute; inset: 8% 8% auto; width: 84%; height: auto; border-radius: 8px; border: 1px solid var(--line-strong); opacity: 0; transform: translateY(12px) scale(0.98); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.demo-shot.full { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; opacity: 0.9; transform: none; }
.demo-shot.dim { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border: 0; border-radius: 0; opacity: 0.35; transform: none; filter: saturate(0.7); }
.cab.is-on .demo-shot:not(.full):not(.dim) { opacity: 1; transform: none; transition-delay: 1.3s; }
.demo-tag { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); background: rgba(0, 0, 0, 0.55); padding: 0.3rem 0.6rem; border-radius: 6px; opacity: 0; transition: opacity 300ms var(--ease-out); white-space: nowrap; }
.cab.is-on .demo-tag { opacity: 1; transition-delay: 1.5s; }
.cab-deck { padding: var(--space-4) var(--space-6) var(--space-6); display: grid; gap: var(--space-4); align-content: start; text-align: center; justify-items: center; }
.cab-deck .one { font-size: 0.98rem; line-height: 1.45; color: var(--text); max-width: 32ch; }
.cab-btn { padding: 0.7em 1.2em; font-size: 0.9rem; }

/* StepMate: stairs light up */
.demo-stairs { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 0 12% 14%; }
.demo-stairs i { flex: 1; height: calc(18% + var(--i) * 14%); background: color-mix(in oklab, var(--p) 18%, #111); border: 1px solid color-mix(in oklab, var(--p) 40%, transparent); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: background-color 300ms var(--ease-out); transition-delay: calc(var(--i) * 220ms); }
.cab.is-on .demo-stairs i { background: var(--p); box-shadow: 0 0 18px color-mix(in oklab, var(--p) 70%, transparent); }
.cab.is-on .demo-stairs { opacity: 0.35; transition: opacity 400ms var(--ease-out) 1.3s; }

/* OverlayMate: buttons pop over the video */
.demo-overlays { position: absolute; inset: 0; display: grid; align-content: end; justify-items: start; gap: 0.5rem; padding: 0 1rem 2.4rem; }
.ov { font-size: 0.78rem; font-weight: 600; padding: 0.45rem 0.8rem; border-radius: 999px; background: rgba(10, 8, 20, 0.85); border: 1px solid var(--line-strong); color: var(--text); opacity: 0; transform: translateY(10px) scale(0.96); transition: opacity 320ms var(--ease-out), transform 320ms var(--ease-out); transition-delay: calc(var(--i) * 450ms + 200ms); backdrop-filter: blur(6px); }
.ov.gold { background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.cab.is-on .ov { opacity: 1; transform: none; }
.demo-bar { position: absolute; left: 1rem; right: 1rem; bottom: 1.2rem; height: 4px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; overflow: hidden; }
.demo-bar i { display: block; height: 100%; width: 100%; background: var(--p); transform: scaleX(0.02); transform-origin: left; transition: transform 1.8s linear; }
.cab.is-on .demo-bar i { transform: scaleX(0.72); }

/* BillboardMate: a real billboard that flips */
.cab-screen.night { background: radial-gradient(ellipse at 50% 110%, #2a1f4a, #07050f 70%); perspective: 900px; }
.billboard { position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: 78%; }
.bb-panel { position: relative; aspect-ratio: 3 / 1; transform-style: preserve-3d; transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1); box-shadow: 0 0 40px color-mix(in oklab, var(--p) 35%, transparent), 0 20px 40px -20px #000; border-radius: 6px; }
.bb-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 6px; backface-visibility: hidden; border: 2px solid #2b2346; }
.bb-face.b { transform: rotateX(180deg); }
.cab.is-on .bb-panel { transform: rotateX(180deg); }
.bb-legs { display: block; margin: 0 auto; width: 10%; height: 38px; background: linear-gradient(90deg, #15102a, #2b2346, #15102a); }
.bb-road { display: block; height: 3px; margin-top: 6px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.7; filter: blur(0.5px); }
.bb-tag { bottom: 6%; }

/* AIGENT Suit: install meter */
.demo-install { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 0.6rem; padding: 1.2rem; text-align: center; }
.inst-line { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.inst-bar { width: 70%; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); overflow: hidden; border: 1px solid var(--line-strong); }
.inst-bar i { display: block; height: 100%; width: 100%; background: var(--p); transform: scaleX(0.02); transform-origin: left; transition: transform 1.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.cab.is-on .inst-bar i { transform: scaleX(1); }
.inst-stats { font-size: 0.85rem; color: var(--text); }
.inst-stats b { color: var(--p); font-variant-numeric: tabular-nums; }
.inst-done { font-family: var(--font-pixel); font-size: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity 300ms var(--ease-out) 1.7s; }
.cab.is-on .inst-done { opacity: 1; }

/* MissionMate: agents blink */
.demo-agents { position: absolute; inset: 0; display: grid; align-content: center; gap: 0.5rem; padding: 1.2rem 1.6rem; }
.ag { display: grid; grid-template-columns: 12px 1fr auto; gap: 0.7rem; align-items: center; font-size: 0.85rem; color: var(--text); background: rgba(10, 8, 20, 0.7); border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.8rem; opacity: 0.6; transform: translateX(-6px); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); transition-delay: calc(var(--i) * 180ms); }
.ag i { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); }
.ag em { font-style: normal; font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.cab.is-on .ag { opacity: 1; transform: none; }
.cab.is-on .ag i { background: var(--live); box-shadow: 0 0 10px var(--live); animation: agblink 1.6s infinite; animation-delay: calc(var(--i) * 300ms); }
.cab.is-on .ag:nth-child(4) i { background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: none; }
@keyframes agblink { 50% { opacity: 0.35; } }

/* BrainMate: orbs pass a baton */
.demo-orbit { position: absolute; inset: 0; }
.orb { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; display: grid; place-items: center; font-size: 0.68rem; font-weight: 600; color: var(--text); background: rgba(10, 8, 20, 0.8); border: 1px solid color-mix(in oklab, var(--p) 50%, transparent); transform: rotate(var(--a)) translateX(34%) rotate(calc(-1 * var(--a))); box-shadow: 0 0 20px color-mix(in oklab, var(--p) 25%, transparent); }
@media (min-width: 700px) { .orb { transform: rotate(var(--a)) translateX(110px) rotate(calc(-1 * var(--a))); } }
.baton { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px var(--gold); opacity: 0; transform: rotate(0deg) translateX(110px); }
.cab.is-on .baton { opacity: 1; animation: orbit 3s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg) translateX(110px); } }
@media (max-width: 699px) { .baton { transform: rotate(0deg) translateX(34vw); } @keyframes orbit { to { transform: rotate(360deg) translateX(34vw); } } }

.powerups { margin-top: var(--space-16); display: grid; gap: var(--space-4); justify-items: center; }

/* ---------- FREE PLAY: tokens ---------- */
.freeplay { background: var(--bg-2); border-block: 1px solid var(--line); }
.tokens { display: grid; gap: var(--space-4); grid-template-columns: 1fr; max-width: 1240px; margin-inline: auto; }
@media (min-width: 640px) { .tokens { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tokens { grid-template-columns: repeat(6, 1fr); } .token { grid-column: span 2; } .token:nth-child(4) { grid-column: 2 / span 2; } .token:nth-child(5) { grid-column: 4 / span 2; } }
.token { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: clip; color: inherit; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
@media (hover: hover) { .token:hover { transform: translateY(-4px); border-color: var(--gold); } .token:hover .token-shot img { transform: scale(1.04); } }
.token-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); }
.token-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 500ms var(--ease-out); }
.token-body { display: grid; gap: 0.35rem; padding: var(--space-4) var(--space-6) var(--space-6); text-align: center; justify-items: center; }
.token-body h3 { font-size: var(--step-1); }
.token-body p { color: var(--muted); font-size: 0.9rem; max-width: 30ch; }
.token-body .open { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-top: 0.3rem; }

/* ---------- BROADCAST TOWER ---------- */
.tower .scene-art { opacity: 0.5; object-position: center 30%; }
.signal { position: absolute; left: 50%; top: 18%; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--gold) 45%, transparent); opacity: 0; animation: signal 4.5s ease-out infinite; }
.signal.r2 { animation-delay: 1.5s; } .signal.r3 { animation-delay: 3s; }
@keyframes signal { 0% { transform: scale(0.2); opacity: 0.7; } 100% { transform: scale(4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .signal { animation: none; opacity: 0.25; transform: scale(2); } }
.onair { display: inline-grid; grid-auto-flow: column; gap: 0.6rem; padding: 0.7rem 1.4rem; border: 2px solid var(--magenta); border-radius: 10px; font-family: var(--font-pixel); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; color: #ff6fb8; text-shadow: 0 0 12px var(--magenta), 0 0 30px var(--magenta); box-shadow: 0 0 24px color-mix(in oklab, var(--magenta) 40%, transparent), inset 0 0 18px color-mix(in oklab, var(--magenta) 20%, transparent); margin: 0.4rem auto 0.6rem; animation: flicker 6s infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: 0.6; } 94% { opacity: 1; } 96% { opacity: 0.75; } 97% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .onair { animation: none; } }
.studio { display: grid; gap: var(--space-8); grid-template-columns: 1fr; align-items: center; max-width: 1100px; margin-inline: auto; }
@media (min-width: 900px) { .studio { grid-template-columns: 1.1fr 0.9fr; } }
.studio-monitor { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-float); background: #07050d; }
.studio-monitor video { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.rec { position: absolute; top: 0.9rem; left: 0.9rem; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-pixel); font-size: 0.5rem; letter-spacing: 0.1em; color: #fff; background: rgba(0, 0, 0, 0.55); padding: 0.4rem 0.6rem; border-radius: 6px; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: blink 1.2s steps(2, start) infinite; }
@media (prefers-reduced-motion: reduce) { .rec i { animation: none; } }
.countdown { display: grid; gap: var(--space-4); justify-items: center; text-align: center; padding: var(--space-6); border: 1px solid var(--line-strong); border-radius: var(--radius-l); background: color-mix(in oklab, var(--surface) 80%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.cd-digits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; width: 100%; max-width: 420px; }
.cd-digits span { display: grid; gap: 0.2rem; padding: 0.8rem 0.4rem; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.cd-digits b { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.2rem); letter-spacing: -0.03em; line-height: 1; color: var(--gold); font-variant-numeric: tabular-nums; }
.cd-digits small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.cd-when { color: var(--muted); font-size: 0.9rem; }
.shelf-wrap { margin-top: var(--space-16); }

/* tapes */
.shelf { grid-template-columns: 1fr; position: relative; padding-bottom: 18px; }
.shelf::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 0; height: 14px; border-radius: 4px; background: linear-gradient(180deg, #2a2246, #140e28); box-shadow: 0 10px 30px -10px #000; }
@media (min-width: 640px) { .shelf { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .shelf { grid-template-columns: repeat(4, 1fr); } }
.replay.tape { background: linear-gradient(180deg, #1b1533, #110c22); border-radius: 10px; border: 1px solid var(--line-strong); transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out); }
.tape-body { display: grid; gap: 0.6rem; padding: 0.7rem; }
.replay.tape .thumb { aspect-ratio: 16 / 9; border-radius: 6px; border: 1px solid var(--line); }
.replay.tape .thumb::after { display: none; }
.tape-label { display: grid; gap: 0.3rem; background: #efe9dd; color: #1a1206; border-radius: 4px; padding: 0.7rem 0.8rem; min-height: 120px; }
.tape-label .ep { position: static; background: transparent; color: #6b5e3a; padding: 0; font-family: var(--font-mono); font-size: 0.6rem; }
.tape-label h3 { color: #1a1206; font-size: 0.98rem; line-height: 1.2; }
.tape-label p { color: #4a4030; font-size: 0.8rem; }
.tape-reels { display: flex; justify-content: center; gap: 2rem; padding: 0.2rem 0 0.4rem; }
.tape-reels i { width: 26px; height: 26px; border-radius: 50%; border: 5px solid #3a2f5c; background: #0b0814; }
.cab.is-on .tape-reels i, .replay.tape:hover .tape-reels i { animation: spin 2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .tape-reels i { animation: none !important; } }
.replay.tape .go { display: block; text-align: center; padding: 0 0.8rem 0.9rem; color: var(--gold); font-weight: 600; font-size: 0.9rem; }
@media (hover: hover) { .replay.tape:hover { transform: translateY(-10px); border-color: var(--gold); } }

/* ---------- TROPHY ROOM ---------- */
.trophy .scene-art { opacity: 0.45; }
.pedestal-stage { position: relative; display: grid; justify-items: center; padding-top: var(--space-8); }
.spotlight { position: absolute; left: 50%; top: -10%; width: min(70vw, 760px); height: 110%; transform: translateX(-50%); background: conic-gradient(from 180deg at 50% 0%, transparent 42%, color-mix(in oklab, var(--gold) 14%, transparent) 50%, transparent 58%); pointer-events: none; }
.pedestal { margin: 0; position: relative; width: min(100%, 420px); text-align: center; }
.pedestal img { width: 100%; height: auto; border-radius: 16px 16px 0 0; border: 1px solid var(--line-strong); border-bottom: 0; box-shadow: var(--shadow-float); display: block; }
.pedestal figcaption { display: grid; gap: 0.2rem; padding: 1rem; background: var(--surface-2); border: 1px solid var(--line-strong); border-top: 0; }
.pedestal figcaption b { font-family: var(--font-display); font-weight: 700; }
.pedestal figcaption span:last-child { color: var(--muted); font-size: 0.85rem; }
.plinth { display: block; height: 28px; margin: 0 -8%; background: linear-gradient(180deg, #2a2246, #110c22); border-radius: 0 0 10px 10px; box-shadow: 0 20px 40px -10px #000; }
.badges { list-style: none; margin: var(--space-12) auto 0; padding: 0; display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
@media (min-width: 900px) { .badges { grid-template-columns: repeat(4, 1fr); } }
.badge { display: grid; justify-items: center; text-align: center; gap: 0.3rem; padding: var(--space-6) var(--space-4); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.badge-ring { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; box-shadow: 0 0 20px color-mix(in oklab, var(--gold) 30%, transparent), inset 0 0 12px color-mix(in oklab, var(--gold) 15%, transparent); margin-bottom: 0.4rem; }
.badge b { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); letter-spacing: -0.03em; line-height: 1; }
.badge span { color: var(--muted); font-size: 0.85rem; }
.badge em { font-style: normal; font-family: var(--font-pixel); font-size: 0.45rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-top: 0.4rem; }
.story { max-width: 640px; margin: var(--space-12) auto 0; display: grid; gap: var(--space-4); color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.story b { color: var(--text); font-weight: 600; }

/* ---------- SAVE YOUR GAME ---------- */
.save .scene-art { opacity: 0.35; }
.save::before { display: none; }
.save-wrap { grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 900px) { .save-wrap { grid-template-columns: 1.2fr 0.8fr; justify-items: stretch; } }
.coinslot { width: 100%; max-width: 680px; margin-inline: auto; padding: var(--space-8) var(--space-6); border: 2px solid var(--gold); border-radius: 26px; background: color-mix(in oklab, var(--surface) 85%, transparent); box-shadow: 0 0 40px color-mix(in oklab, var(--gold) 20%, transparent), inset 0 0 0 6px var(--bg); display: grid; gap: var(--space-4); justify-items: center; }
.coinslot h2 { font-size: var(--step-4); }
.coinslot .lede { max-width: 34em; }
.save-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; color: var(--muted); text-align: center; }
.save-perks li::before { content: "+ "; color: var(--gold); font-family: var(--font-mono); }
.close-face { justify-self: center; }

/* ---------- reduced motion: calm, static world ---------- */
@media (prefers-reduced-motion: reduce) {
  .cab.is-on .baton, .cab.is-on .ag i { animation: none; }
  .bb-panel, .demo-shot, .ov, .inst-bar i, .demo-bar i, .demo-stairs i, .ag { transition: none; }
  .rail-track { animation: none; }
}

/* ---------- judges fixes (3 Oct): tighter bands, bigger small text, tags, playable demo ---------- */
:root[data-theme="oasis"] .section { padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); }
:root[data-theme="oasis"] .section.pivotal { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
:root[data-theme="oasis"] .optin-note { font-size: 0.95rem; color: var(--muted); max-width: 46ch; margin-inline: auto; justify-content: center; line-height: 1.5; }
:root[data-theme="oasis"] .route p { font-size: 1rem; }
:root[data-theme="oasis"] .steps li span { font-size: 0.98rem; }
.token-body p { font-size: 1rem; }
.badge span { font-size: 0.95rem; }
.muted-note { color: var(--muted); font-size: 0.98rem; }
.cd-when { font-size: 0.98rem; }
.story { color: var(--text); opacity: 0.92; }
.no-js .cd-digits { display: none; }
.cab-price { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: -0.4rem; }
.free-tag { display: inline-block; justify-self: center; font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink); background: var(--gold); padding: 0.2em 0.6em; border-radius: 4px; margin-bottom: 0.3rem; }
.demo-reel { display: grid; gap: var(--space-8); align-items: center; max-width: 1100px; margin: var(--space-16) auto 0; padding: var(--space-6); border: 1px solid var(--line-strong); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-float); }
@media (min-width: 900px) { .demo-reel { grid-template-columns: 0.8fr 1.2fr; padding: var(--space-8); } }
.demo-reel-copy { display: grid; gap: var(--space-4); }
.demo-reel-copy h3 { font-size: var(--step-3); letter-spacing: -0.03em; line-height: 1.05; }
.demo-reel-copy p:not(.label) { color: var(--muted); font-size: 1.02rem; line-height: 1.6; max-width: 40ch; }
.demo-reel-player { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); background: #07050d; }
.demo-reel-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
/* level select climbs like a staircase: Level 1 lowest, Level 3 highest (breaks the flat 3-card row on purpose) */
@media (min-width: 760px) {
  .portals { align-items: start; }
  .portals .portal:nth-child(1) { margin-top: 64px; }
  .portals .portal:nth-child(2) { margin-top: 32px; }
}

/* ---------- round 1 judge fixes (3 Oct) ---------- */
/* readable minimums: every mono label at least 12px, in the bright secondary colour */
:root[data-theme="oasis"] .label { font-size: 0.75rem; color: var(--muted); }
.cab-marquee .status, .inst-line, .monitor-label { font-size: 0.75rem; }
.cab-price { font-size: 0.8125rem; color: var(--muted); }
.pedestal figcaption span:last-child { font-size: 0.95rem; }
/* no lonely last words */
h1, h2, h3, .lede { text-wrap: balance; }
@media (min-width: 600px) { .nobr { white-space: nowrap; } }
/* text over glowing art stays legible */
.hero.start .lede, .hero.start .optin-note, .hero.start .hero-eyebrow, .section-head .lede { text-shadow: 0 1px 2px rgba(11, 8, 20, 0.9), 0 0 24px rgba(11, 8, 20, 0.85); }
.strip figure { position: relative; }
.strip figure::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(11, 8, 20, 0.92), transparent); pointer-events: none; border-radius: inherit; }
.strip figcaption { z-index: 1; }
/* next live session line under the hero form */
.next-live { margin-top: var(--space-4); }
.next-live a { display: inline-block; max-width: 100%; text-align: center; line-height: 1.5; padding: 0.55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; background: color-mix(in oklab, var(--bg) 80%, transparent); color: var(--text); font-size: 0.9rem; font-weight: 500; transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.next-live a:hover { border-color: var(--gold); }
.next-live a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.next-live a:active { transform: scale(0.98); }
.next-live [data-next-live-in] { color: var(--gold); font-weight: 600; }
.next-live .dot-live { display: inline-block; vertical-align: middle; margin-right: 0.5rem; }
/* nav: pause toggle + phone menu */
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out); }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { fill: currentColor; }
.motion-btn .ico-play { display: none; }
.motion-btn[aria-pressed="true"] .ico-pause { display: none; }
.motion-btn[aria-pressed="true"] .ico-play { display: inline; }
.menu-btn { display: none; }
@media (max-width: 899px) {
  .menu-btn { display: inline-grid; }
  .nav .btn { padding: 0.6em 0.9em; font-size: 0.85rem; }
  .nav.menu-open .nav-links { display: grid; position: absolute; top: 66px; left: 0; right: 0; gap: 0; padding: var(--space-2) var(--gutter) var(--space-4); background: color-mix(in oklab, var(--bg) 96%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .nav.menu-open .nav-links a { display: block; padding: 0.9rem 0; font-size: 1.05rem; color: var(--text); border-bottom: 1px solid var(--line); }
}
@media (max-width: 400px) { .nav .brand small { display: none; } }
/* paused: everything stops where it is */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
/* tap targets on phone */
@media (max-width: 899px) { .tape .go, .route .go { min-height: 44px; display: inline-flex; align-items: center; } }

/* ---------- 5 Oct judge fixes: readable small text, 7:1 secondary colours, tags, spacing rhythm, countdown fallback ---------- */
/* colours measured (WCAG): muted #cfc7e6 = 12.2:1 on bg, 10.4:1 on the darkest card; dim #b0a7cf = 8.8:1 on bg, 7.5:1 on the darkest card */
:root[data-theme="oasis"] { --muted: #cfc7e6; --dim: #b0a7cf; }
/* 13px minimum for anything a visitor reads. Pixel-font labels that stay smaller are all aria-hidden decoration (HUD, press start, REC, install meter) */
:root[data-theme="oasis"] .label, .preview-ribbon, .yellow-chip button, .monitor-label, .cab-marquee .status, .chip span, .chip-static, .cd-digits small, .classic small, .footer h4, .steps li::before, .strip figcaption small, .tape-label .ep, .brand small { font-size: 0.8125rem; }
.yellow-chip-label { font-size: 0.8125rem; }
@media (max-width: 899px) { .yellow-chip button { font-size: 0.8125rem; } }
@media (max-width: 480px) { .chip-static { font-size: 0.8125rem; } .chip-static b { font-size: 0.875rem; } }
.lvl { font-size: 0.8125rem; }
.free-tag, .paid-tag { font-size: 0.8125rem; letter-spacing: 0.1em; }
.cd-digits small, .classic small, .footer h4, .footer .fine, .preview-ribbon, .yellow-chip-label, .brand small, .monitor-label:not(.right) { color: var(--muted); }
.footer .fine, .tape-label p { font-size: 0.875rem; }
.sticky-cta span { font-size: 0.9rem; }
.tape-label .ep, .tape-label p { color: #4a4030; } /* 8.4:1 on the cream label */
/* cabinet tag: PAID, mirrors the FREE tag on the free-play cards. No prices here on purpose, the product page carries the price */
.cab-price { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: -0.25rem; font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.paid-tag { display: inline-block; font-family: var(--font-mono); font-weight: 500; text-transform: uppercase; color: var(--text); border: 1px solid var(--line-strong); background: var(--surface-2); padding: 0.2em 0.6em; border-radius: 4px; }
/* hero: the free tools named in one line, straight under the button */
.free-line { margin-top: var(--space-3); font-size: 0.95rem; font-weight: 600; color: var(--text); max-width: 46ch; line-height: 1.5; text-shadow: 0 1px 2px rgba(11, 8, 20, 0.9), 0 0 24px rgba(11, 8, 20, 0.85); }
:root[data-theme="oasis"] .hero.start .optin-note { margin-top: var(--space-2); }
.optin.is-done .free-line { display: none; }
/* countdown: first value is painted by an inline script before first paint; this line shows only with JavaScript off */
.cd-fallback { color: var(--muted); font-size: 0.98rem; margin: 0; }
.no-js .cd-when { display: none; }
/* spacing rhythm, multiples of 8: sections 48/72, pivotal sections 56/88 (phone/desktop), hero 40+48 / 48+64 */
:root[data-theme="oasis"] .section { padding-block: 48px; }
:root[data-theme="oasis"] .section.pivotal { padding-block: 56px; }
:root[data-theme="oasis"] .hero.start { padding-block: 40px 48px; }
@media (min-width: 900px) {
  :root[data-theme="oasis"] .section { padding-block: 72px; }
  :root[data-theme="oasis"] .section.pivotal { padding-block: 88px; }
  :root[data-theme="oasis"] .hero.start { padding-block: 48px 64px; }
}
.powerups, .shelf-wrap, .demo-reel { margin-top: 48px; }
.pedestal-stage { padding-top: 16px; }
/* phone: the preview ribbon sits under the nav, so it gets one tight line and the hero starts below it */
@media (max-width: 899px) { .preview-ribbon { letter-spacing: 0.03em; white-space: nowrap; max-width: 100vw; overflow: hidden; text-overflow: ellipsis; } :root[data-theme="oasis"] .hero.start { padding-top: 56px; } }
/* footer column headings are h3 (no skipped heading level), styled exactly as the old h4 */
.footer .footer-h { margin: 0 0 0.8rem; font-family: var(--font-mono); font-weight: 500; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Round 5 (6 Oct): nav contract, warp zone teasers, demo mode, high scores (off), side quests ---------- */
/* phone menu only items (Partners, Work with me) */
.only-menu { display: none; }
@media (max-width: 899px) { .nav.menu-open .only-menu { display: list-item; } }

/* WARP ZONE: five compact pipes under the level select */
.warp { margin-top: 48px; display: grid; gap: var(--space-4); justify-items: center; }
.warp h3 { font-size: var(--step-2); letter-spacing: -0.02em; }
.pipes { width: 100%; margin-top: var(--space-4); display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .pipes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pipes { grid-template-columns: repeat(5, 1fr); gap: var(--space-3); } }
.pipe { --p: var(--gold); position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 8px; justify-items: center; text-align: center; padding: 0 16px 24px; border: 1px solid var(--line-strong); border-radius: 18px; background: linear-gradient(180deg, var(--surface-2), var(--surface)); overflow: clip; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
@media (hover: hover) { .pipe:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--p) 60%, var(--line-strong)); } }
.pipe-rim { display: block; width: calc(100% + 32px); height: 14px; margin-bottom: 8px; background: linear-gradient(180deg, color-mix(in oklab, var(--p) 55%, var(--surface-2)), color-mix(in oklab, var(--p) 25%, var(--surface))); border-bottom: 1px solid color-mix(in oklab, var(--p) 50%, var(--line-strong)); box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--p) 60%, transparent); }
.pipe-num { font-family: var(--font-pixel); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--p); line-height: 1.5; }
.pipe h4 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: -0.02em; line-height: 1.1; }
.pipe p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; max-width: 28ch; }
.pipe .btn { padding: 0.65em 1.1em; font-size: 0.9rem; margin-top: 8px; min-height: 44px; }
@media (min-width: 1040px) { .pipe p { font-size: 0.9rem; } .pipe .btn { font-size: 0.85rem; padding: 0.6em 0.9em; } }

/* DEMO MODE: one attract-mode cabinet with the free replay clip */
.demomode { background: var(--bg-2); border-block: 1px solid var(--line); }
.attract { margin: 0 auto; max-width: 960px; display: grid; gap: var(--space-6); justify-items: center; }
.attract-cab { width: 100%; border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(180deg, #1d1636, #120c24); box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.06); overflow: clip; position: relative; }
.attract-cab::before { content: ""; position: absolute; inset: -40px -60px auto; height: 140px; background: radial-gradient(ellipse at 50% 100%, var(--violet-soft), transparent 70%); filter: blur(24px); z-index: -1; }
.attract-marquee { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in oklab, var(--gold) 16%, var(--surface-2)), var(--surface-2)); }
.attract-pixel { font-family: var(--font-pixel); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); animation: blink 1.4s steps(2, start) infinite; }
@media (prefers-reduced-motion: reduce) { .attract-pixel { animation: none; } }
.attract-meta { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: right; }
.attract-screen { background: #07050d; }
.attract-screen video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.attract-foot { display: flex; align-items: center; gap: 0.6rem; padding: 0.7rem 1rem 0.8rem; }
.attract figcaption { color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 56ch; }
.attract figcaption .link-arrow { display: inline-flex; margin-top: 4px; }

/* HIGH SCORES: arcade score table. Stays display:none while the section carries `hidden` */
.highscores[hidden] { display: none; }
.scoreboard { list-style: none; margin: 0 auto; padding: 16px; max-width: 880px; display: grid; gap: 8px; border: 2px solid var(--gold); border-radius: 20px; background: color-mix(in oklab, var(--surface) 90%, transparent); box-shadow: inset 0 0 0 6px var(--bg), 0 0 40px color-mix(in oklab, var(--gold) 18%, transparent); }
.score { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.score-rank { font-family: var(--font-pixel); font-size: 0.8125rem; color: var(--gold); text-transform: uppercase; text-align: center; }
.score-body { display: grid; gap: 4px; }
.score-body q { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.25; color: var(--text); }
.score-who { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--muted); }
.score-who b { color: var(--text); font-weight: 500; }

/* SIDE QUESTS: social cards with real photos */
.quests { display: grid; gap: var(--space-4); grid-template-columns: 1fr; max-width: 1100px; margin-inline: auto; }
@media (min-width: 640px) { .quests { grid-template-columns: repeat(3, 1fr); } }
.quest { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: clip; color: inherit; transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
.quest[hidden] { display: none; }
@media (hover: hover) { .quest:hover { transform: translateY(-4px); border-color: var(--gold); } .quest:hover .quest-art img { transform: scale(1.04); } }
.quest-art { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg); position: relative; }
.quest-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform 500ms var(--ease-out); }
.quest-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(to top, var(--surface), transparent); pointer-events: none; }
.quest-body { display: grid; gap: 4px; padding: var(--space-4) var(--space-6) var(--space-6); text-align: center; justify-items: center; }
.quest-tag { font-family: var(--font-pixel); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); line-height: 1.5; }
.quest-body b { font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); letter-spacing: -0.02em; }
.quest-line { color: var(--muted); font-size: 0.95rem; line-height: 1.5; max-width: 28ch; }
.quest .go { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-top: 8px; min-height: 44px; display: inline-flex; align-items: center; }
/* round 5 fixes after screenshot round 1 */
.quest-body { grid-template-rows: auto auto 1fr auto; }
.quest .go { align-self: end; }
@media (max-width: 639px) {
  /* phone: side quest cards go sideways (photo left, words right) so three of them do not eat a screen each */
  .quest { grid-template-rows: none; grid-template-columns: 128px 1fr; }
  .quest-art { aspect-ratio: auto; height: 100%; min-height: 160px; border-bottom: 0; border-right: 1px solid var(--line); }
  .quest-art::after { display: none; }
  .quest-body { padding: 16px; text-align: left; justify-items: start; gap: 2px; }
  .quest-line { font-size: 0.9rem; }
  .quest .go { margin-top: 4px; min-height: 40px; }
  /* phone: tighter pipes */
  .pipe { padding: 0 16px 16px; gap: 4px; }
  .pipe-rim { height: 10px; margin-bottom: 4px; }
  .pipe p { font-size: 0.9rem; }
  .pipe .btn { margin-top: 4px; }
  .warp { margin-top: 40px; }
}
@media (max-width: 480px) { .attract-foot .monitor-label.right { display: none; } }

/* ---------- Hero split (6 Oct, Luke): words left, live video right, both above the fold on desktop ---------- */
.hero-split { display: grid; grid-template-columns: 1fr; justify-items: center; gap: var(--space-6); width: 100%; }
.hero-copy-col { display: grid; justify-items: center; gap: var(--space-6); width: 100%; }
@media (min-width: 1000px) {
  .hero.start .wrap { gap: var(--space-4); }
  .hero-split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); align-items: center; justify-items: stretch; gap: clamp(2rem, 4vw, 4.5rem); }
  .hero-copy-col { justify-items: start; gap: 1.25rem; }
  .hero-split .centred { text-align: left; margin-inline: 0; }
  .hero-split .optin-centred { margin-inline: 0; width: 100%; }
  .hero-split .optin-centred .optin-row { justify-content: flex-start; }
  .hero-split .press-start { margin-inline: 0; }
  .hero-split .next-live a { text-align: left; }
  .hero.start .hero-split h1 { font-size: clamp(2.75rem, 0.9rem + 3.1vw, 4.1rem); max-width: none; line-height: 1.02; }
  .hero-split h1 .nobr { white-space: nowrap; }
  .hero.start .hero-split .lede { font-size: 1.15rem; max-width: 34em; }
  .hero.start .hero-split .monitor { margin: 0; justify-self: end; width: min(100%, 440px, calc((100svh - 300px) * 0.75)); }
  .hero-split .hero-eyebrow { justify-content: flex-start; }
  :root[data-theme="oasis"] .hero-split .optin-note { margin-inline: 0; justify-content: flex-start; }
  .hero-split .press-start { display: none; }
  .hero-split .free-line { margin-top: var(--space-2); }
  .hero-split .next-live { margin-top: var(--space-3); }
  .hero.start .hero-split .optin { margin-top: 0; }
}

/* Option B background (6 Oct, Luke): the zoomed-in skyline and sun the centred hero had, behind the split layout */
@media (min-width: 1000px) {
  .hero-bg-zoom .scene-art, .hero-bg-zoom .scene-video { height: 205%; top: -38%; bottom: auto; object-position: center bottom; }
  .hero-bg-zoom .scene-art { opacity: 0.55; }
  .hero.start.hero-bg-zoom .scene-video.is-live { opacity: 0.55; }
}

/* Nav fit with 6 links (18 Oct): keep menu words on one line on small desktops */
@media (min-width: 900px) and (max-width: 1099px) { .nav-links { gap: 1rem; } .nav-links a { font-size: 0.875rem; } .nav .brand small { display: none; } }
