:root { color-scheme: dark; --ink: #f4f0fa; --muted: #9991a6; --accent: #b7a0f4; font-family: "JetBrains Mono", Consolas, monospace; font-weight: 500; font-synthesis: none; }
* { box-sizing: border-box; }
html { min-height: 100%; background: #050408; }
body { margin: 0; background: #050408; color: var(--ink); font-size: 1rem; line-height: 1.6; isolation: isolate; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 1rem; left: 1rem; z-index: 5; padding: 0.75rem 1rem; background: var(--ink); color: #050408; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.space-background { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #050408; }
.space-layer { position: absolute; left: -40px; top: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; will-change: transform; }
.nebula-layer { opacity: 0.55; transform: translate3d(var(--nebula-x, 0px), var(--nebula-y, 0px), 0); }
.stars-layer { opacity: 0.86; transform: translate3d(var(--stars-x, 0px), var(--stars-y, 0px), 0); }
.space-lens { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.space-background[data-lensing="ready"] .space-lens { opacity: 1; }
.space-background[data-lensing="ready"]:not([data-lensing-mode="local"]) .space-layer { visibility: hidden; }
.space-background .space-lens[data-ready="true"] { opacity: 1; }
.space-background[data-sky="ready"] .space-layer { visibility: hidden; }
.space-background[data-sky="ready"]::after { display: none; }
.space-background::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, #05040800 20%, #05040860 100%); }
.universe { --hole-size: min(48vw, 72svh, 44rem); --closed-node-width: 15.5rem; --closed-node-height: 72px; position: relative; width: 100%; min-height: max(100vh, 24rem); min-height: max(100svh, 24rem); }
.black-hole { position: absolute; left: 50%; top: 50%; width: var(--hole-size); aspect-ratio: 1; transform: translate(-50%, -50%) translate3d(var(--gravity-x, 0px), var(--gravity-y, 0px), 0); }
.black-hole canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.black-hole .space-lens { inset: -22.5%; width: 145%; height: 145%; z-index: 0; opacity: 0; }
.black-hole .space-lens[data-ready="true"] { opacity: 1; }
.black-hole #void-field { z-index: 1; }

/* Panels expand around their centre; edge collisions receive a minimal inset. */
.orbit-node { --expanded-width: 15.5rem; position: absolute; top: 0; left: 0; z-index: 1; width: var(--closed-node-width); transform: translate3d(var(--node-x, 50vw), var(--node-y, 50vh), 0) translate(-50%, -50%); }
.node-studio { --expanded-width: 17.5rem; }
.node-arca { --expanded-width: 16rem; }
.orbit-node[data-open="true"] { z-index: 2; width: var(--open-width, var(--expanded-width)); }
.node-surface { border: 1px solid transparent; border-radius: 10px; background: transparent; transform: translate(var(--hover-x, 0px), var(--hover-y, 0px)); transition: border-color 350ms, background 350ms, box-shadow 350ms; }
.orbit-node[data-open="true"] .node-surface { border-color: #b7a0f42b; background: linear-gradient(150deg, #110b1bf2, #09070ef5); box-shadow: 0 16px 60px #0005; }
.node-trigger { display: flex; width: 100%; min-height: 70px; align-items: center; justify-content: center; border: 0; border-radius: 9px; padding: 12px 16px; background: transparent; cursor: pointer; touch-action: manipulation; }
.node-trigger:hover { filter: brightness(1.16); }
.brand-lockup { display: flex; align-items: center; width: 100%; max-width: 204px; }
.brand-mark { flex: 0 0 36.8%; width: 36.8%; height: auto; }
.brand-wordmark { flex: 0 0 63.2%; min-width: 0; width: 63.2%; height: auto; }
.game-logo { width: 100%; height: auto; }
.memoreum-logo { width: 85%; }
.placeholder-copy { color: var(--muted); }
.node-panel { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 450ms cubic-bezier(0.22, 1, 0.36, 1), opacity 250ms, visibility 450ms; }
.orbit-node[data-open="true"] .node-panel { grid-template-rows: 1fr; opacity: 1; visibility: visible; }
.panel-inner { min-height: 0; max-height: var(--panel-limit, none); overflow: hidden; }
.node-panel[aria-hidden="false"][data-settled="true"] .panel-inner { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.panel-contents { padding: 10px 20px 16px; font-size: 0.875rem; text-align: center; }
.company-name { margin-bottom: 4px; color: #ddd3e8; }
address { color: var(--muted); font-style: normal; line-height: 1.7; }
.contact-email { margin: 10px auto 0; }
.node-arca[data-open="true"] .node-trigger { min-height: 60px; padding: 10px 16px 2px; }
.node-arca .panel-contents { padding: 0 18px 14px; }
.availability { color: var(--accent); font-weight: 700; }
.game-links { display: flex; justify-content: center; gap: 16px; margin-top: 8px; }
.destination-link { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; color: #bfb1d1; }
.icon-disc { display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1px solid #c1a5ff30; border-radius: 50%; color: #ded5ec; }
.icon-disc img { filter: invert(1); opacity: 0.88; }
.destination-link:hover .icon-disc { border-color: var(--accent); background: #9b68ef12; }
.page-privacy { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 4; font-size: 0.875rem; }
.page-privacy a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border: 1px solid #c1a5ff30; border-radius: 6px; background: #050408a6; color: #ded5ec; font-weight: 700; }
.page-privacy a:hover { border-color: var(--accent); background: #9b68ef12; }
.orbit-node[data-open="true"][data-compact="true"] .panel-contents { padding-inline: 8px; }
.orbit-node[data-open="true"][data-compact="true"] .node-trigger { padding-inline: 8px; }

@media (max-width: 900px) {
  .universe { --hole-size: min(calc(100vw - 2rem), 24rem); min-height: max(100svh, calc(var(--hole-size) + 26rem)); }
}
@media (max-width: 600px) {
  .universe { --hole-size: min(calc(100vw - 5rem), 20rem); --closed-node-width: 9rem; --closed-node-height: 58px; min-height: max(100svh, calc(var(--hole-size) + 26rem)); }
  .orbit-node:not([data-open="true"]) .node-trigger { min-height: 56px; padding: 8px 10px; }
  .node-studio:not([data-open="true"]) .brand-lockup { max-width: 104px; }
}
@media (max-width: 360px) {
  .universe { --closed-node-width: 8rem; }
  .node-studio:not([data-open="true"]) .brand-lockup { max-width: 96px; }
}
@media (min-width: 601px) and (max-width: 900px) and (max-height: 500px) {
  .universe { --hole-size: min(48vw, 72svh, 44rem); min-height: max(100svh, 24rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .space-layer { will-change: auto; }
}
