/* ==========================================================================
   Arkenova — Exhibition-grade Console Gaming
   Palette: obsidian black · storm gray · electric blue · soft white · lime accent
   Type: Anton (cinematic display) · Hanken Grotesque (body)
   ========================================================================== */

:root {
  --obsidian: #0a0b0e;
  --obsidian-2: #101218;
  --storm: #1a1e27;
  --storm-2: #232834;
  --storm-3: #2e3542;
  --gray: #8a94a6;
  --gray-dim: #5a6273;
  --white: #f3f5f8;
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.4);
  --lime: #bef264;
  --lime-deep: #a3e635;
  --line: rgba(138, 148, 166, 0.14);
  --glass: rgba(26, 30, 39, 0.55);
  --glass-2: rgba(10, 11, 14, 0.82);
  --shadow: 0 40px 90px -45px rgba(0, 0, 0, 0.9);
  --soft: 0 24px 60px -30px rgba(0, 0, 0, 0.7);
  --r-s: 10px;
  --r: 20px;
  --r-l: 34px;
  --maxw: 1340px;
  --disp: "Anton", "Arial Narrow", sans-serif;
  --body: "Hanken Grotesque", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  overflow-x: hidden; max-width: 100%;
}
body {
  margin: 0; font-family: var(--body);
  background: var(--obsidian); color: var(--white);
  line-height: 1.65; overflow-x: hidden; max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1100px 700px at 84% -10%, rgba(59,130,246,0.12), transparent 60%),
    radial-gradient(680px 520px at 4% 8%, rgba(190,242,100,0.06), transparent 62%),
    linear-gradient(180deg, var(--obsidian), #070809);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--disp); font-weight: 400; line-height: 0.98; letter-spacing: 0.005em; margin: 0 0 0.4em; text-transform: uppercase; }
h4 { font-family: var(--body); font-weight: 700; margin: 0 0 0.4em; }

.wide { width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.full { width: 100%; }
.slab { padding: clamp(4.5rem, 10vw, 9rem) 0; position: relative; }

.tab { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--body); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--lime); }
.tab::before { content: ""; width: 22px; height: 2px; background: var(--blue); }
.blue { color: var(--blue); }
.limec { color: var(--lime); }
.muted { color: var(--gray); }
.stroke-text { color: transparent; -webkit-text-stroke: 1.4px var(--gray-dim); }

/* Buttons */
.b { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--body); font-weight: 700; font-size: 0.9rem; padding: 0.9rem 1.7rem; border-radius: 100px; cursor: pointer; border: 1px solid transparent; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s; }
.b svg { width: 17px; height: 17px; }
.b-lime { background: var(--lime); color: #12210a; box-shadow: 0 0 34px rgba(190,242,100,0.28); }
.b-lime:hover { transform: translateY(-3px); box-shadow: 0 0 48px rgba(190,242,100,0.45); }
.b-line { border-color: var(--line); color: var(--white); background: rgba(255,255,255,0.02); }
.b-line:hover { border-color: var(--blue); transform: translateY(-3px); }
.jump { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.88rem; color: var(--blue); }
.jump svg { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.jump:hover svg { transform: translateX(5px); }

/* ===================== NAV ===================== */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s; border-bottom: 1px solid transparent; }
.topbar.fixed { background: var(--glass-2); backdrop-filter: blur(20px) saturate(140%); border-bottom-color: var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 0; }
.mark { display: flex; align-items: center; gap: 0.6rem; font-family: var(--disp); font-size: 1.3rem; letter-spacing: 0.02em; text-transform: uppercase; }
.mark img { width: 30px; height: 30px; }
.mark b { color: var(--lime); font-weight: 400; }
.links { display: flex; align-items: center; gap: 0.1rem; }
.links a { position: relative; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray); padding: 0.5rem 0.85rem; transition: color 0.25s; }
.links a::before { content: ""; position: absolute; left: 0.85rem; top: 50%; width: 0; height: 6px; background: rgba(59,130,246,0.25); z-index: -1; transform: translateY(-50%); transition: width 0.3s var(--ease); }
.links a:hover, .links a.on { color: var(--white); }
.links a:hover::before, .links a.on::before { width: calc(100% - 1.7rem); }
.barcta { display: flex; align-items: center; gap: 0.7rem; }
.hamb { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.hamb span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px auto; transition: 0.3s; }
.hamb.x span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamb.x span:nth-child(2) { opacity: 0; }
.hamb.x span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.tray { position: fixed; inset: 0 0 0 auto; width: min(85%, 360px); background: var(--glass-2); backdrop-filter: blur(24px); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform 0.5s var(--ease); z-index: 99; padding: 6.5rem 2.2rem 2rem; display: flex; flex-direction: column; gap: 0.1rem; }
.tray.open { transform: none; }
.tray a { font-family: var(--disp); font-size: 1.5rem; text-transform: uppercase; padding: 0.7rem 0; border-bottom: 1px solid var(--line); color: var(--gray); }
.tray a:hover { color: var(--lime); }
.veil { position: fixed; inset: 0; background: rgba(4,5,7,0.64); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.4s; z-index: 98; }
.veil.show { opacity: 1; pointer-events: auto; }

/* ===================== 1. CINEMATIC OPENING ===================== */
.opening { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 8rem 0 4rem; }
.opening-bg { position: absolute; inset: 0; z-index: 0; }
.opening-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; transform: scale(1.12); }
.opening::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,11,14,0.5), rgba(10,11,14,0.75) 60%, var(--obsidian)); }
.opening-in { position: relative; z-index: 2; width: 100%; }
.opening h1 { font-size: clamp(3.4rem, 14vw, 13rem); line-height: 0.86; letter-spacing: 0; }
.opening h1 span { display: block; }
.opening h1 .l2 { color: transparent; -webkit-text-stroke: 1.6px var(--blue); margin-left: 0.06em; }
.opening h1 .l3 { color: var(--lime); }
.opening-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-top: 2.6rem; }
.opening-foot p { max-width: 46ch; color: var(--gray); font-size: 1.14rem; margin: 0; }
.opening-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.marq { position: absolute; bottom: 1.4rem; left: 0; right: 0; z-index: 2; font-family: var(--disp); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.3em; color: var(--gray-dim); white-space: nowrap; overflow: hidden; }
.marq span { display: inline-block; animation: marquee 24s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===================== 2. CONSOLE WORLDS (stacked expanding bands) ===================== */
.worlds { display: flex; flex-direction: column; }
.world { position: relative; overflow: hidden; height: 20vh; min-height: 130px; display: flex; align-items: center; cursor: pointer; border-top: 1px solid var(--line); transition: height 0.6s var(--ease); }
.worlds .world:last-child { border-bottom: 1px solid var(--line); }
.world img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0; transition: opacity 0.6s var(--ease), transform 1s var(--ease); transform: scale(1.1); }
.world::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--obsidian) 20%, rgba(10,11,14,0.3) 70%); }
.world .wrow { position: relative; z-index: 2; display: flex; align-items: center; gap: 2rem; width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.world .wno { font-family: var(--disp); font-size: clamp(2rem, 5vw, 4rem); color: transparent; -webkit-text-stroke: 1px var(--gray-dim); flex: 0 0 auto; transition: 0.5s; }
.world h3 { font-size: clamp(1.6rem, 4vw, 3.2rem); margin: 0; flex: 1; min-width: 0; }
.world .wmeta { max-width: 0; overflow: hidden; opacity: 0; color: var(--gray); font-size: 0.95rem; transition: max-width 0.6s var(--ease), opacity 0.4s; white-space: nowrap; }
.world .wtier { position: absolute; z-index: 2; top: 1.1rem; right: max(1.3rem, calc((100% - var(--maxw)) / 2 + 1.3rem)); font-family: var(--body); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lime); pointer-events: none; }
.world:hover { height: 46vh; }
.world:hover img { opacity: 0.5; transform: scale(1); }
.world:hover .wno { -webkit-text-stroke: 1px var(--lime); color: rgba(190,242,100,0.08); }
.world:hover .wmeta { max-width: 460px; opacity: 1; }

/* ===================== 3. GAME UNIVERSE (floating blocks + SVG lines) ===================== */
.universe { position: relative; min-height: 720px; }
.universe .lines { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.universe .lines path { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 6 8; animation: dash 20s linear infinite; }
.universe .lines circle { fill: var(--blue); }
@keyframes dash { to { stroke-dashoffset: -200; } }
.floatblk { position: absolute; z-index: 1; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--soft); transition: transform 0.5s var(--ease); }
.floatblk img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.floatblk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,11,14,0.9)); }
.floatblk .cap { position: absolute; z-index: 2; left: 0; bottom: 0; padding: 1rem; }
.floatblk .cap small { color: var(--lime); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.floatblk .cap h4 { font-size: 1.05rem; margin: 0.2rem 0 0; }
.floatblk:hover { transform: translateY(-8px); }
.floatblk:hover img { transform: scale(1.08); }
.floatblk.f1 { width: 30%; aspect-ratio: 4/5; top: 2%; left: 3%; animation: floaty 8s var(--ease) infinite; }
.floatblk.f2 { width: 26%; aspect-ratio: 1; top: 22%; left: 40%; animation: floaty 10s var(--ease) infinite reverse; }
.floatblk.f3 { width: 28%; aspect-ratio: 4/3; top: 6%; right: 3%; animation: floaty 9s var(--ease) infinite; }
.floatblk.f4 { width: 24%; aspect-ratio: 3/4; bottom: 4%; left: 12%; animation: floaty 11s var(--ease) infinite reverse; }
.floatblk.f5 { width: 27%; aspect-ratio: 16/10; bottom: 6%; left: 42%; animation: floaty 9.5s var(--ease) infinite; }
.floatblk.f6 { width: 22%; aspect-ratio: 1; bottom: 10%; right: 6%; animation: floaty 8.5s var(--ease) infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.universe-head { position: absolute; z-index: 2; top: 40%; left: 50%; transform: translate(-50%,-50%); text-align: center; width: min(90%, 420px); }
.universe-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); }

/* ===================== 4. PLAYER JOURNEY (curved roadmap) ===================== */
.journey { position: relative; }
.roadmap { position: relative; margin-top: 3rem; }
.roadmap svg.path { width: 100%; height: 260px; display: block; }
.roadmap svg.path .road { fill: none; stroke: url(#roadGrad); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1600; stroke-dashoffset: 1600; }
.roadmap svg.path .road.drawn { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s var(--ease); }
.stops { display: flex; justify-content: space-between; gap: 1rem; margin-top: -1rem; flex-wrap: wrap; }
.stop { flex: 1 1 160px; text-align: center; }
.stop .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); margin: 0 auto 1rem; box-shadow: 0 0 0 6px rgba(59,130,246,0.15); }
.stop:nth-child(even) .dot { background: var(--lime); box-shadow: 0 0 0 6px rgba(190,242,100,0.15); }
.stop .n { font-family: var(--disp); font-size: 0.9rem; color: var(--gray-dim); }
.stop h4 { font-size: 1.05rem; margin: 0.3rem 0; }
.stop p { color: var(--gray); font-size: 0.86rem; margin: 0; }

/* ===================== 5. CONSOLE EXPLORER (central + hotspots) ===================== */
.explorer { position: relative; }
.explorer-stage { position: relative; max-width: 760px; margin: 3rem auto 0; aspect-ratio: 1; overflow: hidden; }
.explorer-stage .core { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.explorer-stage .core img { width: 100%; height: 100%; object-fit: cover; }
.explorer-stage .ringdec { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line); animation: spinslow 44s linear infinite; }
@keyframes spinslow { to { transform: rotate(360deg); } }
.hotspot { position: absolute; z-index: 3; }
.hotspot .pin { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(190,242,100,0.5); animation: pulse 2s infinite; cursor: pointer; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(190,242,100,0.5); } 70% { box-shadow: 0 0 0 16px rgba(190,242,100,0); } 100% { box-shadow: 0 0 0 0 rgba(190,242,100,0); } }
.hotspot .info { position: absolute; width: 190px; padding: 0.9rem 1.1rem; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--line); backdrop-filter: blur(14px); box-shadow: var(--soft); opacity: 0; transform: translateY(8px); transition: 0.35s var(--ease); pointer-events: none; }
.hotspot:hover .info { opacity: 1; transform: translateY(0); }
.hotspot .info h4 { font-size: 0.92rem; margin: 0 0 0.2rem; color: var(--lime); }
.hotspot .info p { font-size: 0.8rem; color: var(--gray); margin: 0; }
.hotspot.h1 { top: 6%; left: 30%; } .hotspot.h1 .info { top: 24px; left: 24px; }
.hotspot.h2 { top: 28%; right: 4%; } .hotspot.h2 .info { top: 24px; right: 24px; }
.hotspot.h3 { bottom: 20%; right: 10%; } .hotspot.h3 .info { bottom: 24px; right: 24px; }
.hotspot.h4 { bottom: 8%; left: 22%; } .hotspot.h4 .info { bottom: 24px; left: 24px; }
.hotspot.h5 { top: 40%; left: 0; } .hotspot.h5 .info { top: 24px; left: 24px; }

/* ===================== 6. IMMERSIVE SPACES (full-width overlap) ===================== */
.space { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; }
.space img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.space::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.space.dark-l::after { background: linear-gradient(90deg, rgba(10,11,14,0.92) 30%, transparent); }
.space.dark-r::after { background: linear-gradient(270deg, rgba(10,11,14,0.92) 30%, transparent); }
.space .stext { position: relative; z-index: 2; width: min(100% - 2.6rem, var(--maxw)); margin-inline: auto; }
.space.dark-r .stext { text-align: right; }
.space .stext .num { font-family: var(--disp); font-size: clamp(3rem, 10vw, 8rem); color: transparent; -webkit-text-stroke: 1.4px var(--blue); line-height: 0.8; }
.space .stext h2 { font-size: clamp(2rem, 5vw, 4rem); margin: 0.2rem 0 0.6rem; }
.space .stext p { color: var(--gray); max-width: 46ch; margin: 0 0 0 0; }
.space.dark-r .stext p { margin-left: auto; }

/* ===================== 7. PERFORMANCE VISUALIZATION (gauges + meters) ===================== */
.perf { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.semis { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.4rem; }
.semi { text-align: center; }
.semi .arc { position: relative; width: 100%; max-width: 190px; margin: 0 auto; aspect-ratio: 2 / 1.15; overflow: hidden; }
.semi svg { width: 100%; }
.semi .bg { fill: none; stroke: var(--storm-3); stroke-width: 12; stroke-linecap: round; }
.semi .fg { fill: none; stroke: url(#semiGrad); stroke-width: 12; stroke-linecap: round; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 1.6s var(--ease); }
.semi .rd { font-family: var(--disp); font-size: 1.9rem; margin-top: -0.4rem; }
.semi .rd small { color: var(--blue); }
.semi .cap { color: var(--gray); font-size: 0.82rem; }
.perf-copy h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.meters { margin-top: 1.6rem; display: grid; gap: 1.2rem; }
.meter .top { display: flex; justify-content: space-between; font-weight: 700; font-size: 0.86rem; margin-bottom: 0.45rem; }
.meter .top .v { color: var(--lime); }
.meter .track { height: 7px; border-radius: 100px; background: var(--storm-3); overflow: hidden; }
.meter .fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--blue), var(--lime)); width: 0; transition: width 1.4s var(--ease); }

/* ===================== 8. FAQ ===================== */
.qa-wrap { display: grid; grid-template-columns: 0.8fr 1.5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa button { width: 100%; text-align: left; background: none; border: 0; color: var(--white); font-family: var(--disp); text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.01em; padding: 1.4rem 0; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.qa .pl { color: var(--lime); font-size: 1.4rem; transition: transform 0.4s var(--ease); font-family: var(--body); }
.qa.open .pl { transform: rotate(45deg); }
.qa .body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.qa .body p { padding: 0 0 1.4rem; margin: 0; color: var(--gray); max-width: 62ch; }

/* ===================== FOOTER ===================== */
.foot { border-top: 1px solid var(--line); padding: clamp(4rem, 9vw, 7rem) 0 2.4rem; }
.foot-mega { font-family: var(--disp); text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 9rem); line-height: 0.9; letter-spacing: 0; margin-bottom: 3rem; }
.foot-mega a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 1rem; max-width: 100%; }
.foot-mega .stroke-text { -webkit-text-stroke: 1.4px var(--gray-dim); }
.foot-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.foot-cols p { color: var(--gray); max-width: 34ch; font-size: 0.9rem; margin: 1rem 0; }
.foot-cols h5 { font-family: var(--body); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-dim); margin: 0 0 1rem; }
.foot-cols a { display: block; color: var(--gray); font-size: 0.9rem; padding: 0.3rem 0; transition: 0.25s; }
.foot-cols a:hover { color: var(--lime); transform: translateX(4px); }
.foot-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; margin-top: 3rem; border-top: 1px solid var(--line); color: var(--gray-dim); font-size: 0.82rem; }
.dots { display: flex; gap: 0.6rem; }
.dots a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; transition: 0.3s; }
.dots a:hover { border-color: var(--lime); background: rgba(190,242,100,0.08); }
.dots svg { width: 17px; height: 17px; }

/* ===================== INNER PAGES ===================== */
.phead { padding: clamp(9rem, 16vh, 13rem) 0 clamp(3rem, 6vw, 5rem); }
.phead .bc { font-size: 0.8rem; color: var(--gray-dim); margin-bottom: 1.4rem; letter-spacing: 0.06em; text-transform: uppercase; }
.phead .bc a:hover { color: var(--lime); }
.phead h1 { font-size: clamp(3rem, 9vw, 7rem); }
.phead h1 .l2 { color: transparent; -webkit-text-stroke: 1.4px var(--blue); }
.phead .lead { color: var(--gray); max-width: 58ch; font-size: 1.12rem; margin-top: 1.3rem; }

/* library — offset editorial index */
.lib { display: grid; gap: 0; }
.libitem { display: grid; grid-template-columns: 70px 110px 1fr auto; gap: 1.6rem; align-items: center; padding: 1.2rem 0.8rem; border-top: 1px solid var(--line); transition: background 0.35s var(--ease), padding 0.4s var(--ease); }
.libitem:last-child { border-bottom: 1px solid var(--line); }
.libitem:hover { background: rgba(59,130,246,0.05); padding-left: 1.6rem; }
.libitem .lno { font-family: var(--disp); color: var(--gray-dim); font-size: 1.2rem; }
.libitem:hover .lno { color: var(--lime); }
.libitem .lthumb { width: 110px; height: 68px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.libitem .lthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.libitem:hover .lthumb img { transform: scale(1.1); }
.libitem h3 { font-family: var(--body); font-weight: 700; font-size: 1.15rem; margin: 0; text-transform: none; }
.libitem .lmeta { color: var(--gray); font-size: 0.86rem; }
.libitem .lgen { font-family: var(--disp); font-size: 0.95rem; color: var(--blue); text-align: right; }

/* reviews — big score rows */
.scorehead { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.scoremedia { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow); }
.scoremedia img { width: 100%; height: 100%; object-fit: cover; }
.rev-row { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: baseline; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.rev-row:last-child { border-bottom: 1px solid var(--line); }
.rev-row h3 { font-family: var(--body); font-weight: 700; font-size: 1.25rem; margin: 0 0 0.2rem; text-transform: none; }
.rev-row p { color: var(--gray); font-size: 0.9rem; margin: 0; }
.rev-row .rs { font-family: var(--disp); font-size: 2.2rem; color: var(--white); }
.rev-row .rs .u { color: var(--lime); font-size: 0.5em; }

/* generic split for inner (about/consoles) */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pair.rev .pair-media { order: 2; }
.pair-media { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow); }
.pair-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pair-media:hover img { transform: scale(1.05); }
.checks { display: grid; gap: 1rem; margin-top: 1.6rem; }
.checks li { display: flex; gap: 0.8rem; color: var(--gray); }
.checks svg { flex: 0 0 20px; width: 20px; height: 20px; stroke: var(--lime); margin-top: 3px; }

/* console explorer strip on consoles page */
.cstat { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.cstat .cell { padding: 2rem 1.4rem; border-right: 1px solid var(--line); }
.cstat .cell:last-child { border-right: 0; }
.cstat .n { font-family: var(--disp); font-size: clamp(2rem,5vw,3.2rem); }
.cstat .n .u { color: var(--lime); font-size: 0.5em; }
.cstat .t { color: var(--gray); font-size: 0.86rem; }

/* prose */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin-top: 2.6rem; }
.prose h3 { font-family: var(--body); font-weight: 700; text-transform: none; font-size: 1.15rem; margin-top: 1.8rem; }
.prose p, .prose li { color: var(--gray); }
.prose ul { list-style: none; padding-left: 0; display: grid; gap: 0.6rem; margin: 1rem 0; }
.prose ul li { padding-left: 1.4rem; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 8px; height: 8px; background: var(--lime); }
.prose a { color: var(--blue); }
.prose .stamp { color: var(--gray-dim); font-size: 0.9rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select { width: 100%; padding: 0.9rem 1.1rem; border-radius: var(--r-s); border: 1px solid var(--line); background: rgba(0,0,0,0.3); color: var(--white); font-family: inherit; font-size: 0.96rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 140px; resize: vertical; }
.cinfo li { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.cinfo .k { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-dim); }
.cinfo .v { font-family: var(--disp); font-size: 1.3rem; text-transform: uppercase; margin-top: 0.3rem; }

/* Reveal */
[data-rev] { opacity: 0; transform: translateY(40px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-rev].in { opacity: 1; transform: none; }
[data-rev][data-d="1"] { transition-delay: 0.1s; }
[data-rev][data-d="2"] { transition-delay: 0.2s; }
[data-rev][data-d="3"] { transition-delay: 0.3s; }

/* back-to-top + progress */
#totop { position: fixed; right: 1.6rem; bottom: 1.6rem; width: 52px; height: 52px; border-radius: 14px; border: 1px solid var(--line); background: var(--glass-2); backdrop-filter: blur(10px); color: var(--lime); cursor: pointer; display: grid; place-items: center; opacity: 0; pointer-events: none; transform: translateY(20px); transition: 0.4s var(--ease); z-index: 90; }
#totop.show { opacity: 1; pointer-events: auto; transform: none; }
#totop svg { width: 20px; height: 20px; }
#track { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--blue), var(--lime)); z-index: 200; }

/* cookie */
#cookiebar { position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 150; max-width: 560px; margin-inline: auto; padding: 1.4rem 1.6rem; border-radius: var(--r); background: var(--glass-2); border: 1px solid var(--line); backdrop-filter: blur(16px); box-shadow: var(--shadow); display: none; }
#cookiebar.show { display: block; }
#cookiebar p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--gray); }
#cookiebar .row { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .perf, .qa-wrap, .scorehead { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .cstat { grid-template-columns: 1fr 1fr; }
  .cstat .cell:nth-child(2) { border-right: 0; }
  .universe { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .universe .lines, .universe-head { display: none; }
  .floatblk { position: static !important; width: auto !important; animation: none !important; aspect-ratio: 4/3 !important; }
}
@media (max-width: 860px) {
  .wide { width: min(100% - 2rem, var(--maxw)); }
  .links, .barcta .b { display: none; }
  .hamb { display: block; }
  .pair, .pair.rev, .contact-grid { grid-template-columns: 1fr; }
  .pair.rev .pair-media { order: 0; }
  .world { height: auto; min-height: 112px; padding: 1.4rem 0; }
  .world:hover, .world:focus-within { height: auto; min-height: 168px; }
  .world .wrow { gap: 1rem; }
  .world .wmeta { white-space: normal; max-width: 0; }
  .world:hover .wmeta, .world:focus-within .wmeta { max-width: 100%; }
  .world .wtier { top: 0.85rem; right: 1rem; font-size: 0.64rem; }
  .semis { grid-template-columns: 1fr 1fr; }
  .libitem { grid-template-columns: 40px 1fr auto; }
  .libitem .lthumb, .libitem .lmeta { display: none; }
  .roadmap svg.path { display: none; }
  .hotspot .info { width: min(160px, 42vw); padding: 0.7rem 0.85rem; }
  .space.dark-r .stext { text-align: left; }
  .space.dark-r .stext p { margin-left: 0; }
  .space.dark-r::after, .space.dark-l::after { background: linear-gradient(180deg, rgba(10,11,14,0.25), rgba(10,11,14,0.92) 70%); }
  .rev-row { grid-template-columns: 1fr; gap: 0.6rem; }
  .opening h1 { font-size: clamp(2.6rem, 12vw, 4.5rem); }
  .opening h1 .l2 { margin-left: 0; }
  .foot-mega { font-size: clamp(2.2rem, 12vw, 4rem); word-break: break-word; }
}
@media (max-width: 560px) {
  .universe { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr; }
  .cstat { grid-template-columns: 1fr; }
  .cstat .cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .semis { grid-template-columns: 1fr; }
  .stops { flex-direction: column; }
  .opening-foot { flex-direction: column; align-items: flex-start; }
  .qa button { font-size: 1rem; gap: 1rem; }
  #totop { right: 1rem; bottom: 1rem; width: 46px; height: 46px; }
  #cookiebar { left: 0.8rem; right: 0.8rem; bottom: 0.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-rev] { opacity: 1; transform: none; }
}
