:root {
  color-scheme: dark;
  --bg: #0630c8;
  --bg-soft: #0a4fff;
  --surface: rgba(5, 31, 154, 0.78);
  --surface-strong: #0f38d8;
  --text: #f4f1ea;
  --muted: #d9e5ff;
  --line: rgba(244, 241, 234, 0.16);
  --ink: #03105e;
  --blue: #4662ff;
  --cobalt: #244cff;
  --red: #e54545;
  --vermilion: #ff3b30;
  --mint: #9ff3cf;
  --acid: #d8ff4f;
  --gold: #e8bf72;
  --chrome: #f7f2de;
  --bubblegum: #ff5fc8;
  --bubblegum-soft: rgba(255, 95, 200, 0.22);
  --flow-aura: rgba(255, 95, 200, 0.24);
  --flow-secondary: rgba(159, 243, 207, 0.18);
  --flow-focus: rgba(232, 191, 114, 0.2);
  --flow-x: 50%;
  --flow-y: 45%;
  --ease-holistic: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-orbit: cubic-bezier(0.65, 0, 0.35, 1);
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  --font-impact: "Archivo Black", "Syne", system-ui, sans-serif;
  --font-lettering-name: "Naroa Chicle Vivo";
  --font-lettering: "Schoolbell", "Patrick Hand", "Comic Sans MS", cursive;
  --font-child: var(--font-lettering);
  --font-serif: "Bodoni Moda", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

@property --radar-sweep {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 640ms;
  animation-timing-function: var(--ease-holistic);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 16% 12%, rgba(216, 255, 79, 0.26), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 95, 200, 0.26), transparent 28%),
    linear-gradient(118deg, rgba(8, 78, 255, 0.88), rgba(6, 48, 200, 0.84) 42%, rgba(9, 215, 161, 0.22)),
    linear-gradient(180deg, var(--ink), var(--bg) 46%, #0a48ff);
  color: var(--text);
  font-family: var(--font-body);
  letter-spacing: 0;
  transition: background-color 900ms var(--ease-holistic), color 900ms var(--ease-holistic);
}

body[data-realm="inicio"],
body[data-realm="magia"] {
  --flow-aura: rgba(255, 95, 200, 0.3);
  --flow-secondary: rgba(232, 191, 114, 0.22);
  --flow-focus: rgba(159, 243, 207, 0.18);
}

body[data-realm="obra"] {
  --flow-aura: rgba(232, 191, 114, 0.24);
  --flow-secondary: rgba(255, 95, 200, 0.2);
  --flow-focus: rgba(159, 243, 207, 0.16);
}

body[data-realm="galeria"] {
  --flow-aura: rgba(244, 241, 234, 0.2);
  --flow-secondary: rgba(255, 95, 200, 0.24);
  --flow-focus: rgba(70, 98, 255, 0.22);
}

body[data-realm="narocast"] {
  --flow-aura: rgba(255, 95, 200, 0.34);
  --flow-secondary: rgba(159, 243, 207, 0.2);
  --flow-focus: rgba(232, 191, 114, 0.18);
}

body[data-realm="juegos"] {
  --flow-aura: rgba(70, 98, 255, 0.38);
  --flow-secondary: rgba(255, 95, 200, 0.26);
  --flow-focus: rgba(159, 243, 207, 0.22);
}

body[data-realm="radar"] {
  --flow-aura: rgba(159, 243, 207, 0.22);
  --flow-secondary: rgba(70, 98, 255, 0.2);
  --flow-focus: rgba(232, 191, 114, 0.2);
}

body[data-realm="naroa"],
body[data-realm="contacto"] {
  --flow-aura: rgba(244, 241, 234, 0.15);
  --flow-secondary: rgba(255, 95, 200, 0.18);
  --flow-focus: rgba(232, 191, 114, 0.18);
}

body.kinetic-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(12px) saturate(0.8);
  transition:
    opacity 920ms var(--ease-holistic),
    transform 920ms var(--ease-holistic),
    filter 920ms var(--ease-holistic);
}

body.kinetic-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0) saturate(1);
}

body.kinetic-ready .game-panel.reveal {
  opacity: 1;
  transform: none;
  filter: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    repeating-linear-gradient(135deg, rgba(216, 255, 79, 0.1) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(45deg, rgba(255, 95, 200, 0.075) 0 1px, transparent 1px 28px),
    radial-gradient(circle at var(--flow-x) var(--flow-y), rgba(159, 243, 207, 0.24), transparent 36%),
    linear-gradient(90deg, rgba(70, 98, 255, 0.28), rgba(8, 222, 168, 0.1) 48%, rgba(216, 255, 79, 0.12)),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

#kinetic-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.quality-backdrop {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

.quality-backdrop img {
  position: absolute;
  inset: -3vh -3vw;
  width: 106vw;
  height: 106vh;
  object-fit: cover;
  opacity: 0;
  filter: saturate(1.45) contrast(1.18) brightness(0.92);
  transform: translate3d(calc(var(--arcade-x, 0) * -18px), calc(var(--arcade-y, 0) * -12px), 0) scale(1.08);
  transition: opacity 1600ms var(--ease-holistic), transform 260ms linear;
}

.quality-backdrop img.is-visible {
  opacity: 1;
}

body.is-game-mutation .quality-backdrop {
  opacity: 0.38;
  mix-blend-mode: screen;
}

.click-marks {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 34;
  overflow: hidden;
}

.click-mark {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: calc(var(--y) * 100%);
  width: var(--size, 18px);
  height: var(--size, 18px);
  border: 1px solid color-mix(in srgb, var(--mark-color, var(--acid)), white 16%);
  border-radius: 50%;
  opacity: var(--life, 0.78);
  transform: translate(-50%, -50%) scale(var(--scale, 1));
  box-shadow:
    0 0 18px var(--mark-color, var(--acid)),
    inset 0 0 14px rgba(244, 241, 234, 0.28);
  mix-blend-mode: screen;
}

.click-mark::before,
.click-mark::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: calc(var(--size, 18px) * 1.8);
  height: 1px;
  background: var(--mark-color, var(--acid));
  transform: translate(-50%, -50%) rotate(var(--angle, 0deg));
  opacity: 0.64;
}

.click-mark::after {
  transform: translate(-50%, -50%) rotate(calc(var(--angle, 0deg) + 90deg));
}

.flow-aura {
  pointer-events: none;
  position: fixed;
  inset: -16vh -12vw;
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 0 18%, var(--flow-aura) 18% 20%, transparent 20% 100%),
    linear-gradient(73deg, transparent 0 58%, var(--flow-secondary) 58% 61%, transparent 61% 100%),
    conic-gradient(from 140deg at 50% 52%, transparent 0 38%, var(--flow-focus) 42%, transparent 48% 100%);
  opacity: 0.72;
  filter: blur(18px) saturate(1.45) contrast(1.08);
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0) scale(1.02);
  transition:
    opacity 900ms var(--ease-holistic),
    background 1100ms var(--ease-holistic),
    transform 1100ms var(--ease-holistic);
}

body.is-flowing .flow-aura {
  opacity: 0.95;
  transform: translate3d(0, -1.2vh, 0) scale(1.06);
}

.pop-backdrop {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  opacity: 0.74;
  mix-blend-mode: screen;
  transform: translate3d(0, var(--pop-y, 0px), 0);
}

.pop-backdrop::before,
.pop-backdrop::after {
  content: "";
  position: absolute;
  inset: -18vh -10vw;
}

.pop-backdrop::before {
  background:
    radial-gradient(circle, rgba(255, 95, 200, 0.28) 0 2px, transparent 2px 13px),
    radial-gradient(circle, rgba(159, 243, 207, 0.18) 0 1px, transparent 1px 19px);
  background-position: 0 0, 10px 12px;
  background-size: 46px 46px, 58px 58px;
  transform: rotate(-7deg) scale(1.08);
  opacity: 0.34;
}

.pop-backdrop::after {
  background:
    linear-gradient(105deg, transparent 0 17%, rgba(255, 95, 200, 0.18) 17% 21%, transparent 21% 100%),
    linear-gradient(76deg, transparent 0 56%, rgba(70, 98, 255, 0.16) 56% 61%, transparent 61% 100%),
    linear-gradient(162deg, transparent 0 70%, rgba(232, 191, 114, 0.16) 70% 73%, transparent 73% 100%);
  transform: translate3d(var(--pop-x, 0px), 0, 0);
}

.pop-word {
  position: absolute;
  z-index: 1;
  color: rgba(255, 95, 200, 0.2);
  font-family: var(--font-child);
  font-size: clamp(4.2rem, 14vw, 14rem);
  line-height: 0.8;
  text-transform: none;
  text-shadow: 0 0 34px rgba(255, 95, 200, 0.14);
  transform: rotate(var(--pop-rotate, -8deg));
  white-space: nowrap;
}

.pop-word-1 {
  --pop-rotate: -11deg;
  left: -5vw;
  top: 12vh;
}

.pop-word-2 {
  --pop-rotate: 8deg;
  right: -8vw;
  top: 34vh;
  color: rgba(159, 243, 207, 0.17);
}

.pop-word-3 {
  --pop-rotate: -5deg;
  left: 8vw;
  bottom: 5vh;
  color: rgba(232, 191, 114, 0.17);
}

.pop-word-4 {
  --pop-rotate: 12deg;
  right: 8vw;
  bottom: -4vh;
  color: rgba(70, 98, 255, 0.2);
}

.pop-slice {
  position: absolute;
  z-index: 1;
  width: 36vw;
  height: 10vh;
  border: 1px solid rgba(244, 241, 234, 0.08);
  background:
    repeating-linear-gradient(90deg, rgba(7, 7, 7, 0.44) 0 10px, transparent 10px 18px),
    linear-gradient(90deg, rgba(255, 95, 200, 0.24), rgba(232, 191, 114, 0.14));
  transform: rotate(var(--slice-rotate, -12deg));
}

.pop-slice-1 {
  --slice-rotate: -16deg;
  left: 5vw;
  top: 55vh;
}

.pop-slice-2 {
  --slice-rotate: 11deg;
  right: -5vw;
  top: 14vh;
  background:
    repeating-linear-gradient(90deg, rgba(7, 7, 7, 0.44) 0 10px, transparent 10px 18px),
    linear-gradient(90deg, rgba(70, 98, 255, 0.26), rgba(159, 243, 207, 0.14));
}

.pop-slice-3 {
  --slice-rotate: 6deg;
  left: 35vw;
  bottom: 18vh;
  width: 22vw;
  height: 8vh;
  background:
    repeating-linear-gradient(90deg, rgba(7, 7, 7, 0.42) 0 8px, transparent 8px 15px),
    linear-gradient(90deg, rgba(232, 191, 114, 0.26), rgba(255, 95, 200, 0.18));
}

.site-grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  opacity: 0.05;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

.stage-agent {
  position: fixed;
  right: max(18px, calc((100vw - 1120px) / 2));
  bottom: 18px;
  z-index: 28;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: min(330px, calc(100vw - 32px));
  border: 1px solid rgba(255, 95, 200, 0.38);
  border-radius: 999px;
  padding: 8px 12px 8px 8px;
  background:
    radial-gradient(circle at var(--agent-eye-x, 50%) var(--agent-eye-y, 45%), rgba(255, 95, 200, 0.18), transparent 48%),
    rgba(7, 7, 7, 0.72);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.44);
  transform: translate3d(calc(var(--agent-drift-x, 0) * 1px), calc(var(--agent-drift-y, 0) * 1px), 0);
  isolation: isolate;
  transition:
    border-color 520ms var(--ease-holistic),
    background 520ms var(--ease-holistic),
    transform 260ms linear;
}

.stage-agent::before,
.stage-agent::after {
  content: "";
  pointer-events: none;
  position: absolute;
  border-radius: inherit;
}

.stage-agent::before {
  inset: -3px;
  z-index: -2;
  background: conic-gradient(var(--mint) var(--agent-progress, 0%), rgba(255, 95, 200, 0.12) 0);
  opacity: 0.72;
}

.stage-agent::after {
  inset: 1px;
  z-index: -1;
  background: rgba(7, 7, 7, 0.86);
}

.stage-agent:hover,
.stage-agent:focus-visible {
  outline: none;
  border-color: rgba(159, 243, 207, 0.7);
}

.stage-agent-face {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(159, 243, 207, 0.36);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 36%, rgba(244, 241, 234, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(255, 95, 200, 0.28), rgba(70, 98, 255, 0.22));
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.48), 0 0 28px rgba(255, 95, 200, 0.18);
}

.stage-agent-face::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 12px;
  width: 16px;
  height: 6px;
  border-bottom: 2px solid rgba(244, 241, 234, 0.82);
  border-radius: 50%;
  transform: translateX(-50%);
}

.stage-agent-face i {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(159, 243, 207, 0.46);
  transform: translate3d(calc(var(--agent-look-x, 0) * 4px), calc(var(--agent-look-y, 0) * 4px), 0);
}

.stage-agent-line {
  min-width: 0;
  color: var(--bubblegum);
  font-family: var(--font-lettering);
  font-size: 1.3rem;
  line-height: 0.9;
  text-align: left;
  text-shadow: 0 0 14px var(--bubblegum-soft);
}

body[data-realm="juegos"] .stage-agent {
  border-color: rgba(70, 98, 255, 0.58);
}

body[data-realm="narocast"] .stage-agent-face i {
  background: var(--bubblegum);
}

.stage-agent[data-mood="galeria"] {
  border-color: rgba(255, 95, 200, 0.72);
}

.stage-agent[data-mood="juegos"] .stage-agent-face {
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.48), 0 0 36px rgba(70, 98, 255, 0.34);
}

.stage-agent[data-mood="contacto"] .stage-agent-line {
  color: var(--gold);
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 25;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 7, 7, 0.74);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.topbar[data-elevated="true"] {
  background: rgba(7, 7, 7, 0.9);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.38);
}

.route-rail {
  position: fixed;
  left: max(14px, calc((100vw - 1260px) / 2));
  top: 50%;
  z-index: 26;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.route-rail::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 95, 200, 0.55), rgba(159, 243, 207, 0.45), transparent);
}

.route-rail a {
  position: relative;
  display: grid;
  grid-template-columns: 34px max-content;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-decoration: none;
  transform: translateX(calc(var(--route-shift, 0) * 1px));
  transition: color 420ms var(--ease-holistic), transform 420ms var(--ease-holistic);
}

.route-rail a::before {
  content: attr(data-route);
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.7);
  color: var(--gold);
  box-shadow: 0 0 0 0 rgba(255, 95, 200, 0);
  transition: border-color 420ms var(--ease-holistic), box-shadow 420ms var(--ease-holistic), background 420ms var(--ease-holistic);
}

.route-rail span {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 420ms var(--ease-holistic), opacity 420ms var(--ease-holistic);
}

.route-rail a:hover,
.route-rail a:focus-visible,
.route-rail a.is-active {
  outline: none;
  color: var(--text);
  transform: translateX(8px);
}

.route-rail a:hover span,
.route-rail a:focus-visible span,
.route-rail a.is-active span {
  max-width: 120px;
  opacity: 1;
}

.route-rail a:hover::before,
.route-rail a:focus-visible::before,
.route-rail a.is-active::before {
  border-color: rgba(255, 95, 200, 0.72);
  background: rgba(255, 95, 200, 0.16);
  box-shadow: 0 0 28px rgba(255, 95, 200, 0.24);
}

body.is-route-horizontal .route-rail {
  left: 50%;
  top: auto;
  bottom: 18px;
  display: flex;
  width: min(720px, calc(100vw - 36px));
  justify-content: center;
  transform: translateX(-50%);
}

body.is-route-horizontal .route-rail::before {
  left: 20px;
  right: 20px;
  top: 17px;
  bottom: auto;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 95, 200, 0.55), rgba(159, 243, 207, 0.45), transparent);
}

body.is-route-horizontal .route-rail a {
  grid-template-columns: 34px;
  justify-items: center;
  transform: translateY(0);
}

body.is-route-horizontal .route-rail a:hover,
body.is-route-horizontal .route-rail a:focus-visible,
body.is-route-horizontal .route-rail a.is-active {
  transform: translateY(-6px);
}

body.is-route-horizontal .route-rail span {
  position: absolute;
  left: 50%;
  bottom: 42px;
  max-width: 120px;
  border: 1px solid rgba(244, 241, 234, 0.12);
  border-radius: 999px;
  padding: 5px 8px;
  background: rgba(4, 4, 6, 0.82);
  opacity: 0;
  transform: translateX(-50%);
}

body.is-route-horizontal .route-rail a:hover span,
body.is-route-horizontal .route-rail a:focus-visible span,
body.is-route-horizontal .route-rail a.is-active span {
  opacity: 1;
}

body.is-game-mutation .route-rail a.is-active::before,
body.is-game-mutation .nav a.is-active {
  border-color: rgba(216, 255, 79, 0.72);
  background: rgba(36, 76, 255, 0.28);
  color: var(--acid);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(159, 243, 207, 0.42);
  border-radius: 8px;
  background: rgba(159, 243, 207, 0.08);
  color: var(--mint);
  font-family: var(--font-display);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px;
}

.nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 420ms var(--ease-holistic), color 420ms var(--ease-holistic), transform 420ms var(--ease-holistic);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-active {
  outline: none;
  background: rgba(70, 98, 255, 0.16);
  color: var(--text);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  min-height: 92svh;
  align-items: end;
  overflow: hidden;
  padding: 118px max(20px, calc((100vw - 1120px) / 2)) 28px;
}

.hero-media,
.hero-media video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(0.62);
  transform: translate3d(0, var(--hero-y, 0px), 0) scale(var(--hero-scale, 1.02));
  transition: transform 180ms linear;
}

.hero-cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(108deg, transparent 0 16%, rgba(255, 95, 200, 0.2) 16% 18%, transparent 18% 100%),
    linear-gradient(76deg, transparent 0 62%, rgba(159, 243, 207, 0.16) 62% 64%, transparent 64% 100%),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
}

.hero-bilbao {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  filter: saturate(1.28) contrast(1.12) brightness(0.7);
  transform: translate3d(calc(var(--arcade-x, 0) * -14px), calc(var(--arcade-y, 0) * -10px), 0) scale(1.08);
  transition: transform 260ms linear;
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  width: clamp(130px, 16vw, 260px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 8px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.48), 0 0 34px rgba(255, 95, 200, 0.16);
  filter: saturate(1.08) contrast(1.06);
  transform: translate3d(calc(var(--arcade-x, 0) * 12px), calc(var(--arcade-y, 0) * 10px), 0) rotate(var(--orbit-rotate, 0deg));
  transition: transform 260ms linear;
}

.hero-orbit-1 {
  --orbit-rotate: -7deg;
  right: 11vw;
  top: 18vh;
}

.hero-orbit-2 {
  --orbit-rotate: 6deg;
  right: 28vw;
  bottom: 13vh;
  width: clamp(110px, 13vw, 220px);
}

.hero-orbit-3 {
  --orbit-rotate: 9deg;
  right: 5vw;
  bottom: 16vh;
  width: clamp(100px, 12vw, 200px);
}

.hero-orbit-4 {
  --orbit-rotate: -4deg;
  left: 50vw;
  top: 14vh;
  width: clamp(96px, 11vw, 180px);
}

.hero-mycelium {
  position: absolute;
  inset: auto max(20px, calc((100vw - 1120px) / 2)) 34px auto;
  z-index: 3;
  width: min(390px, 42vw);
  height: 220px;
  pointer-events: none;
}

.hero-mycelium::before,
.hero-mycelium::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(159, 243, 207, 0.18);
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: drop-shadow(0 0 18px rgba(159, 243, 207, 0.15));
}

.hero-mycelium::after {
  inset: 58px 12px 32px 52px;
  border-color: rgba(255, 95, 200, 0.2);
  transform: rotate(13deg);
}

.mycelium-node {
  pointer-events: auto;
  position: absolute;
  display: grid;
  place-items: center;
  width: 82px;
  aspect-ratio: 1;
  border: 1px solid rgba(244, 241, 234, 0.24);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 95, 200, 0.22), rgba(36, 76, 255, 0.18)),
    rgba(4, 4, 6, 0.72);
  color: var(--chrome);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 60px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(255, 95, 200, 0.18);
  transform: translate3d(calc(var(--arcade-x, 0) * 10px), calc(var(--arcade-y, 0) * 8px), 0);
  transition: transform 420ms var(--ease-holistic), border-color 420ms var(--ease-holistic), background 420ms var(--ease-holistic);
}

.mycelium-node::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: 0.18;
  animation: nodeBreath 2400ms var(--ease-orbit) infinite alternate;
}

.mycelium-node:hover,
.mycelium-node:focus-visible {
  outline: none;
  border-color: rgba(216, 255, 79, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 95, 200, 0.36), rgba(216, 255, 79, 0.18)),
    rgba(4, 4, 6, 0.84);
  transform: translate3d(calc(var(--arcade-x, 0) * 10px), calc(var(--arcade-y, 0) * 8px - 5px), 0) scale(1.06);
}

.node-bilbao {
  left: 18px;
  top: 76px;
}

.node-harilka {
  right: 110px;
  top: 18px;
}

.node-sopela {
  right: 22px;
  bottom: 24px;
}

@keyframes nodeBreath {
  0% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1.18);
  }
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.94), rgba(7, 7, 7, 0.62) 46%, rgba(7, 7, 7, 0.28)),
    linear-gradient(0deg, rgba(7, 7, 7, 0.94), transparent 48%);
}

.hero-content {
  width: min(760px, 100%);
  padding-bottom: 34px;
  transform: translate3d(0, var(--hero-copy-y, 0px), 0);
  transition: transform 180ms linear;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.96;
}

h1 {
  max-width: 10ch;
  font-size: 5.8rem;
}

h2 {
  max-width: 12ch;
  font-size: 3.5rem;
}

.split-title {
  display: flex;
  flex-wrap: wrap;
  max-width: 11ch;
  align-items: baseline;
  column-gap: 0.04em;
  row-gap: 0.02em;
  font-family: var(--font-child);
  line-height: 0.9;
}

.split-title-word {
  display: inline-flex;
  align-items: baseline;
  gap: 0.015em;
  margin-right: 0.1em;
}

.split-letter {
  display: inline-block;
  transform-origin: 50% 100%;
}

.split-letter.is-big {
  color: var(--text);
  font-family: var(--font-child);
  font-size: 1em;
  font-weight: 400;
  line-height: 0.86;
  text-transform: none;
  text-shadow: 0 12px 42px rgba(0, 0, 0, 0.5);
  transform: rotate(-2deg);
}

.split-letter.is-small {
  color: var(--bubblegum);
  font-family: var(--font-child);
  font-size: 0.5em;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 0 14px var(--bubblegum-soft);
  transform: translateY(-0.44em) rotate(7deg);
}

.split-letter:nth-child(4n).is-small {
  color: var(--bubblegum);
  font-family: var(--font-child);
  font-size: 0.44em;
  transform: translateY(0.02em) rotate(-9deg);
}

.split-letter:nth-child(5n).is-big {
  color: var(--bubblegum);
  font-family: var(--font-child);
  font-weight: 400;
  text-shadow: 0 0 26px var(--bubblegum-soft);
  transform: rotate(4deg);
}

.split-letter:nth-child(3n).is-big {
  transform: translateY(0.05em) rotate(5deg);
}

.split-letter:nth-child(6n).is-small {
  transform: translateY(-0.2em) rotate(-5deg);
}

h1.split-title {
  max-width: 8.8ch;
  font-size: 7.6rem;
}

h2.split-title {
  max-width: 9.6ch;
  font-size: 4.8rem;
}

.minimal-mode .section-heading p:not(.eyebrow),
.minimal-mode .work-card-body p,
.minimal-mode .radar-grid p,
.minimal-mode #game-live-description {
  display: none;
}

.minimal-mode .game-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.minimal-mode .game-status {
  min-height: 2.7em;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 1.18rem;
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  background: var(--blue);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  outline: none;
  background: #5a72ff;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  outline: none;
  border-color: rgba(159, 243, 207, 0.5);
  background: rgba(159, 243, 207, 0.08);
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(760px, 100%);
}

.hero-strip a {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
  background: rgba(15, 15, 18, 0.74);
  text-decoration: none;
}

.hero-strip a:hover,
.hero-strip a:focus-visible {
  outline: none;
  border-color: rgba(232, 191, 114, 0.55);
}

.hero-strip img {
  width: 68px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
}

.hero-strip span {
  min-width: 0;
  font-weight: 700;
}

.section {
  padding: 86px max(20px, calc((100vw - 1120px) / 2));
  scroll-margin-top: 96px;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center start;
  gap: 34px;
  min-height: 38svh;
  background:
    radial-gradient(circle at 12% 50%, rgba(216, 255, 79, 0.22), transparent 34%),
    linear-gradient(120deg, rgba(4, 83, 255, 0.88), rgba(9, 215, 161, 0.2)),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}

.intro-copy h2 {
  font-size: 3rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.metrics div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.metrics dt {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.metrics dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.warm-scroll {
  position: relative;
  height: 320vh;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 42%, rgba(216, 255, 79, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(9, 215, 161, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(6, 57, 222, 0.92), rgba(11, 88, 255, 0.72) 58%, rgba(216, 255, 79, 0.1));
}

.warm-scroll-sticky {
  position: sticky;
  top: 0;
  display: grid;
  min-height: 100svh;
  align-content: center;
  gap: 28px;
  overflow: hidden;
  padding: 104px max(20px, calc((100vw - 1120px) / 2)) 48px;
}

.warm-scroll-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.5fr);
  align-items: end;
  gap: 24px;
}

.warm-scroll-copy h2 {
  max-width: 13ch;
}

.warm-scroll-copy::after {
  content: "The Munsters / Parallax";
  justify-self: end;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.warm-sound {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 95, 200, 0.36);
  border-radius: 8px;
  padding: 8px 10px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 95, 200, 0.12) 0 6px, transparent 6px 13px),
    rgba(7, 7, 7, 0.54);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.warm-sound button {
  min-height: 34px;
  border: 1px solid rgba(255, 95, 200, 0.58);
  border-radius: 8px;
  padding: 7px 10px;
  background: var(--bubblegum);
  color: #070707;
  font-family: var(--font-child);
  font-size: 1.05rem;
  cursor: pointer;
}

.warm-sound button[aria-pressed="true"] {
  background: var(--mint);
  border-color: rgba(159, 243, 207, 0.68);
}

.warm-scroll-viewport {
  min-width: 0;
  overflow: hidden;
  max-width: 100%;
}

.warm-scroll-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.warm-card {
  --warm-shift: 0px;
  position: relative;
  width: 360px;
  height: 500px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 8px;
  background: rgba(2, 18, 96, 0.76);
  color: var(--text);
  text-decoration: none;
  transform: translateY(var(--warm-y, 0px));
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.warm-card-large {
  width: 460px;
}

.warm-card-cinema {
  width: 560px;
}

.warm-card-hero {
  width: clamp(480px, 54vw, 760px);
}

.warm-card:hover,
.warm-card:focus-within {
  border-color: rgba(216, 255, 79, 0.64);
  box-shadow:
    0 26px 90px rgba(0, 33, 168, 0.34),
    0 0 48px rgba(255, 95, 200, 0.22);
}

.warm-card:focus-visible {
  outline: 2px solid var(--acid);
  outline-offset: 4px;
}

.warm-card img,
.warm-card video {
  width: 118%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  filter: saturate(1.24) contrast(1.09) brightness(1.02);
  transform: translate3d(var(--warm-shift), 0, 0) scale(1.08);
  will-change: transform;
}

.warm-card video {
  display: block;
  background: #050505;
}

.warm-card-video::before {
  content: "PLAY";
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 95, 200, 0.5);
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(7, 7, 7, 0.58);
  color: var(--bubblegum);
  font-family: var(--font-mono);
  font-size: 0.68rem;
}

.warm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 42%, rgba(2, 13, 74, 0.86)),
    linear-gradient(115deg, rgba(216, 255, 79, 0.18), transparent 28%, rgba(255, 95, 200, 0.16));
}

.warm-card span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.filter-bar,
.game-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button,
.game-tab {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px 12px;
  background:
    linear-gradient(145deg, rgba(255, 95, 200, 0.08), transparent),
    rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active,
.game-tab:hover,
.game-tab:focus-visible,
.game-tab.is-active {
  outline: none;
  border-color: rgba(216, 255, 79, 0.54);
  background:
    linear-gradient(145deg, rgba(255, 95, 200, 0.22), rgba(36, 76, 255, 0.16)),
    rgba(70, 98, 255, 0.16);
  color: var(--text);
}

.game-tab {
  position: relative;
  min-height: 64px;
  overflow: hidden;
  font-family: var(--font-mono);
  text-align: left;
}

.game-tab strong {
  color: var(--acid);
}

.game-tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--bubblegum), var(--cobalt), var(--acid));
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 420ms var(--ease-holistic);
}

.game-tab.is-active::after {
  transform: scaleX(1);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 520ms ease;
  will-change: transform;
}

.work-card::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: var(--shine, 0);
  background:
    linear-gradient(115deg, transparent 20%, rgba(159, 243, 207, 0.16), transparent 42%),
    linear-gradient(180deg, transparent, rgba(70, 98, 255, 0.08));
  transform: translateX(var(--sx, -80%));
  transition: opacity 180ms ease, transform 260ms ease;
}

.work-card:hover,
.work-card:focus-within {
  --lift: -8px;
  --shine: 1;
  --sx: 16%;
  border-color: rgba(159, 243, 207, 0.42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
}

.work-card[hidden] {
  display: none;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 520ms ease, filter 520ms ease;
  filter: grayscale(0.18) contrast(1.04) brightness(0.86);
}

.work-card:hover img,
.work-card:focus-within img {
  transform: scale(1.04);
  filter: grayscale(0) contrast(1.08) brightness(0.98);
}

.work-card-body {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 18px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.work-card-body p {
  margin: 7px 0 0;
  color: var(--muted);
}

.work-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(244, 241, 234, 0.22);
  border-radius: 8px;
  background: rgba(7, 7, 7, 0.64);
  color: var(--text);
  cursor: pointer;
}

.work-open:hover,
.work-open:focus-visible {
  outline: none;
  border-color: rgba(159, 243, 207, 0.6);
  background: rgba(159, 243, 207, 0.14);
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  border: 1px solid rgba(159, 243, 207, 0.36);
  border-radius: 8px;
  padding: 6px 8px;
  background: rgba(159, 243, 207, 0.08);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.section-gallery {
  position: relative;
  overflow: hidden;
  min-height: 105svh;
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 95, 200, 0.18), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(70, 98, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(244, 241, 234, 0.045), rgba(7, 7, 7, 0.78));
}

.section-gallery::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(244, 241, 234, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(244, 241, 234, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 45%, black, transparent 74%);
  opacity: 0.42;
}

.gallery-immersion {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 22px;
  align-items: stretch;
}

.gallery-orbit {
  display: flex;
  min-width: 0;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-padding-inline: 20vw;
  scroll-snap-type: x mandatory;
  padding: 32px max(20vw, 32px) 42px 0;
  perspective: 1200px;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.gallery-frame {
  position: relative;
  display: block;
  width: clamp(230px, 31vw, 380px);
  height: clamp(340px, 48vw, 540px);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 8px;
  padding: 0;
  background: #08080b;
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  scroll-snap-align: center;
  transform: translateY(24px) rotateY(-7deg) rotateZ(-1deg) scale(0.94);
  transform-origin: 50% 70%;
  transition:
    transform 760ms var(--ease-holistic),
    border-color 760ms var(--ease-holistic),
    box-shadow 760ms var(--ease-holistic),
    filter 760ms var(--ease-holistic);
}

.gallery-frame:nth-child(3n) {
  transform: translateY(-14px) rotateY(6deg) rotateZ(1deg) scale(0.94);
}

.gallery-frame:nth-child(4n) {
  transform: translateY(42px) rotateY(-3deg) rotateZ(2deg) scale(0.92);
}

.gallery-frame.is-active,
.gallery-frame:hover,
.gallery-frame:focus-visible {
  z-index: 2;
  outline: none;
  border-color: rgba(255, 95, 200, 0.72);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.56),
    0 0 48px rgba(255, 95, 200, 0.18);
  filter: saturate(1.12);
  transform: translateY(0) rotateY(0) rotateZ(0) scale(1);
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.96) brightness(0.9);
  transition: transform 900ms var(--ease-holistic), filter 900ms var(--ease-holistic);
}

.gallery-frame.is-active img,
.gallery-frame:hover img,
.gallery-frame:focus-visible img {
  transform: scale(1.055);
  filter: contrast(1.08) saturate(1.08) brightness(1);
}

.gallery-frame::before {
  content: attr(data-audit-label);
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  border: 1px solid rgba(159, 243, 207, 0.54);
  border-radius: 999px;
  padding: 6px 8px;
  background: rgba(7, 7, 7, 0.62);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.gallery-frame::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.86)),
    linear-gradient(120deg, rgba(255, 95, 200, 0.18), transparent 36%, rgba(70, 98, 255, 0.16));
}

.gallery-frame > span:not(.gallery-evidence),
.gallery-frame strong {
  position: absolute;
  z-index: 2;
}

.gallery-frame > span:not(.gallery-evidence) {
  left: 16px;
  top: 14px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.gallery-frame strong {
  left: 16px;
  right: 16px;
  bottom: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 0.95;
  text-align: left;
}

.gallery-frame.is-evidence {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 95, 200, 0.22), transparent 32%),
    linear-gradient(135deg, rgba(244, 241, 234, 0.08), rgba(70, 98, 255, 0.12)),
    #07070a;
}

.gallery-evidence {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: calc(100% - 40px);
  place-items: center;
  color: var(--text);
  text-align: center;
}

.gallery-evidence em,
.gallery-evidence b {
  display: inline-flex;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(7, 7, 7, 0.5);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-style: normal;
  text-transform: uppercase;
}

.gallery-evidence b {
  color: var(--bubblegum);
}

.gallery-audit {
  align-self: center;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 8px;
  padding: 20px;
  background:
    linear-gradient(180deg, rgba(255, 95, 200, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(7, 7, 7, 0.58);
  backdrop-filter: blur(16px);
}

.gallery-audit h3 {
  margin: 0;
  color: var(--bubblegum);
  font-family: var(--font-lettering);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.84;
}

.gallery-audit p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.gallery-audit dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
}

.gallery-audit dl div {
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.gallery-audit dt {
  color: var(--text);
  font-family: var(--font-impact);
  font-size: 1.2rem;
}

.gallery-audit dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
}

.gallery-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(244, 241, 234, 0.12);
}

.gallery-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bubblegum), var(--mint), var(--gold));
  transform: scaleX(0.08);
  transform-origin: 0 50%;
  transition: transform 720ms var(--ease-holistic);
}

.section-gallery {
  min-height: 100svh;
  padding: 0;
}

.section-gallery .section-heading {
  position: absolute;
  left: max(20px, calc((100vw - 1120px) / 2));
  top: 104px;
  z-index: 12;
  display: block;
  max-width: 42vw;
  pointer-events: none;
}

.section-gallery .section-heading h2 {
  font-size: clamp(3.4rem, 8vw, 7.8rem);
}

.gallery-immersion {
  display: block;
  width: 100vw;
  min-height: 100svh;
  margin-inline: calc(50% - 50vw);
}

.gallery-orbit {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(var(--gallery-rows, 16), minmax(0, 1fr));
  gap: 2px;
  width: 100vw;
  height: 100svh;
  overflow: hidden;
  padding: 92px 0 0;
  perspective: none;
  scroll-padding-inline: 0;
  scroll-snap-type: none;
  mask-image: none;
}

.gallery-frame,
.gallery-frame:nth-child(3n),
.gallery-frame:nth-child(4n) {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  transform: none;
  scroll-snap-align: none;
}

.gallery-frame.is-active,
.gallery-frame:hover,
.gallery-frame:focus-visible {
  z-index: 24;
  border-radius: 8px;
}

.gallery-frame.is-active {
  transform: scale(1.06);
}

.gallery-frame:hover,
.gallery-frame:focus-visible {
  transform: scale(8);
}

.gallery-frame img {
  filter: contrast(1.08) saturate(1.02) brightness(0.86);
}

.gallery-frame::before {
  top: 5px;
  right: 5px;
  padding: 4px 6px;
  font-size: 0.48rem;
}

.gallery-frame > span:not(.gallery-evidence) {
  left: 7px;
  top: 6px;
  font-size: 0.58rem;
}

.gallery-frame strong {
  left: 8px;
  right: 8px;
  bottom: 8px;
  font-size: clamp(0.62rem, 0.96vw, 1rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.78);
}

.gallery-frame.is-evidence {
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 95, 200, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(244, 241, 234, 0.075), rgba(70, 98, 255, 0.11)),
    #07070a;
}

.gallery-evidence {
  width: calc(100% - 12px);
  gap: 5px;
}

.gallery-evidence em,
.gallery-evidence b {
  padding: 4px 6px;
  font-size: 0.48rem;
}

.gallery-audit {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 32;
  width: min(360px, calc(100vw - 48px));
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.46);
}

.gallery-current-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.gallery-current-meta span,
.gallery-current-meta a {
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 999px;
  padding: 7px 9px;
  background: rgba(6, 48, 200, 0.58);
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-decoration: none;
  text-transform: uppercase;
}

.gallery-current-meta a {
  color: var(--acid);
}

.section-narocast {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 255, 79, 0.22), transparent 28%),
    linear-gradient(128deg, rgba(255, 95, 200, 0.24), transparent 24%),
    linear-gradient(76deg, transparent 52%, rgba(9, 215, 161, 0.22) 52% 58%, transparent 58%),
    linear-gradient(180deg, #0737d8, #06228e 62%, #0b55ff);
}

.section-narocast::before {
  content: "NAROCAST";
  pointer-events: none;
  position: absolute;
  left: -0.08em;
  top: 10%;
  color: rgba(255, 95, 200, 0.08);
  font-family: var(--font-impact);
  font-size: clamp(6rem, 21vw, 19rem);
  line-height: 0.8;
}

.narocast-console {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 260px);
  gap: 12px;
  align-items: stretch;
  min-height: 72svh;
}

.narocast-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 4px;
  background: #030305;
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.55),
    inset 0 0 0 10px rgba(255, 255, 255, 0.025),
    inset 0 0 90px rgba(36, 76, 255, 0.12);
}

.narocast-screen video {
  width: 100%;
  height: 100%;
  min-height: 72svh;
  object-fit: cover;
  filter: saturate(1.34) contrast(1.12) brightness(0.9);
  transform: scale(1.018);
}

.narocast-screen::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 5px),
    radial-gradient(circle at 50% 40%, transparent 38%, rgba(0, 0, 0, 0.3));
  mix-blend-mode: screen;
}

.narocast-wave {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: end;
  gap: 8px;
  height: 58px;
}

.narocast-wave span {
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--bubblegum), rgba(159, 243, 207, 0.54));
  transform-origin: 50% 100%;
  animation: narocastPulse 1100ms var(--ease-orbit) infinite alternate;
}

.narocast-wave span:nth-child(2n) {
  animation-duration: 820ms;
}

.narocast-wave span:nth-child(3n) {
  animation-duration: 1320ms;
}

.narocast-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: end;
  gap: 8px;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 4px;
  padding: 12px;
  background:
    linear-gradient(180deg, rgba(4, 4, 6, 0.2), rgba(4, 4, 6, 0.86)),
    rgba(7, 7, 7, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
}

.narocast-panel button {
  min-height: 58px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-family: var(--font-mono);
  cursor: pointer;
  transition:
    transform 420ms var(--ease-holistic),
    border-color 420ms var(--ease-holistic),
    background 420ms var(--ease-holistic),
    box-shadow 420ms var(--ease-holistic);
}

.narocast-panel button:hover,
.narocast-panel button:focus-visible,
.narocast-panel button.is-active,
.narocast-panel button[aria-pressed="true"] {
  outline: none;
  border-color: rgba(255, 95, 200, 0.62);
  background:
    linear-gradient(145deg, rgba(255, 95, 200, 0.26), rgba(36, 76, 255, 0.14)),
    rgba(255, 95, 200, 0.1);
  box-shadow: 0 0 28px rgba(255, 95, 200, 0.14);
  transform: translateY(-2px);
}

.narocast-panel button[data-narocast-sound] {
  grid-column: 1 / -1;
  min-height: 64px;
  border-color: rgba(216, 255, 79, 0.36);
  color: var(--acid);
}

.narocast-status {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-align: center;
  text-transform: uppercase;
}

@keyframes narocastPulse {
  0% {
    height: 18%;
  }
  100% {
    height: 100%;
  }
}

@keyframes roomScan {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-38px) scaleX(0.72);
  }
  34% {
    opacity: 0.62;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(58px) scaleX(1);
  }
}

.section-games,
.section-bio {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent);
  border-block: 1px solid var(--line);
}

.section-games {
  position: relative;
  overflow: hidden;
  min-height: 1250px;
  perspective: 1500px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 95, 200, 0.22), transparent 18%),
    radial-gradient(circle at 50% 58%, rgba(70, 98, 255, 0.32), transparent 36%),
    linear-gradient(180deg, rgba(3, 13, 68, 0.94), rgba(5, 5, 10, 0.96) 62%, rgba(7, 7, 7, 0.98)),
    #05050b;
}

.section-games::before,
.section-games::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
}

.section-games::before {
  background:
    radial-gradient(circle at 50% 45%, transparent 0 12%, rgba(21, 68, 255, 0.28) 13%, transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), transparent 20%, rgba(21, 68, 255, 0.24) 50%, transparent 80%, rgba(0, 0, 0, 0.88)),
    repeating-linear-gradient(0deg, transparent 0 54px, rgba(159, 243, 207, 0.08) 54px 55px),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(70, 98, 255, 0.09) 72px 73px);
  opacity: 0.82;
  transform: translate3d(calc(var(--arcade-x, 0) * -10px), calc(var(--arcade-y, 0) * -6px), 0);
}

.section-games::after {
  top: 38%;
  background:
    linear-gradient(180deg, transparent, rgba(5, 13, 60, 0.74) 12%, rgba(13, 42, 164, 0.58) 100%),
    repeating-linear-gradient(92deg, rgba(244, 241, 234, 0.12) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(244, 241, 234, 0.08) 0 1px, transparent 1px 44px);
  clip-path: polygon(33% 0, 67% 0, 96% 100%, 4% 100%);
  transform: perspective(700px) rotateX(56deg);
  transform-origin: 50% 0;
  opacity: 0.86;
}

.arcade-room {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform: translate3d(calc(var(--arcade-x, 0) * 12px), calc(var(--arcade-y, 0) * 8px), 0);
  transition: transform 260ms linear;
}

.room-horizon {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(159, 243, 207, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 95, 200, 0.2), transparent 36%),
    conic-gradient(from 90deg, rgba(70, 98, 255, 0), rgba(70, 98, 255, 0.34), rgba(255, 95, 200, 0.42), rgba(159, 243, 207, 0.2), rgba(70, 98, 255, 0));
  filter: blur(0.4px);
  opacity: 0.78;
  transform: translate(-50%, -50%) rotateX(64deg);
}

.room-rift {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 9vw;
  min-width: 86px;
  height: 42vh;
  border: 1px solid rgba(255, 95, 200, 0.42);
  border-radius: 50% 50% 6px 6px;
  background:
    linear-gradient(180deg, rgba(255, 95, 200, 0.36), rgba(70, 98, 255, 0.08) 64%, transparent),
    radial-gradient(circle at 50% 18%, rgba(244, 241, 234, 0.35), transparent 22%);
  box-shadow:
    0 0 46px rgba(255, 95, 200, 0.26),
    0 0 90px rgba(70, 98, 255, 0.2);
  transform: translateX(-50%);
}

.room-scan {
  position: absolute;
  left: 50%;
  width: 78vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(159, 243, 207, 0.55), transparent);
  opacity: 0.45;
  transform: translateX(-50%);
  animation: roomScan 4200ms var(--ease-orbit) infinite;
}

.room-scan-1 {
  top: 24%;
}

.room-scan-2 {
  top: 64%;
  animation-delay: -2100ms;
}

.room-cab,
.room-door {
  position: absolute;
  bottom: 23%;
  border: 1px solid rgba(159, 243, 207, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 10%),
    linear-gradient(180deg, #101420, #02030a);
  box-shadow:
    inset 0 0 28px rgba(0, 0, 0, 0.8),
    0 0 34px rgba(70, 98, 255, 0.18);
  filter: saturate(1.08);
}

.room-cab::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 9%;
  height: 20%;
  border: 1px solid rgba(255, 95, 200, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 95, 200, 0.54), rgba(70, 98, 255, 0.22)),
    #050505;
  box-shadow: 0 0 22px rgba(255, 95, 200, 0.24);
}

.room-cab::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 16%;
  height: 22%;
  background:
    radial-gradient(circle at 32% 48%, var(--bubblegum) 0 5px, transparent 6px),
    radial-gradient(circle at 62% 52%, var(--mint) 0 4px, transparent 5px),
    linear-gradient(180deg, rgba(70, 98, 255, 0.4), rgba(7, 7, 7, 0.72));
}

.room-cab-left {
  transform: skewY(-9deg) rotateY(26deg);
}

.room-cab-right {
  transform: skewY(9deg) rotateY(-26deg);
}

.room-cab-1 {
  left: -7%;
  width: 18%;
  height: 46%;
}

.room-cab-2 {
  left: 9%;
  width: 13%;
  height: 39%;
  bottom: 30%;
}

.room-cab-3 {
  left: 22%;
  width: 10%;
  height: 31%;
  bottom: 37%;
}

.room-cab-4 {
  right: -7%;
  width: 18%;
  height: 48%;
}

.room-cab-5 {
  right: 9%;
  width: 13%;
  height: 39%;
  bottom: 30%;
}

.room-cab-6 {
  right: 22%;
  width: 10%;
  height: 31%;
  bottom: 37%;
}

.room-door {
  left: 44%;
  bottom: 46%;
  width: 12%;
  height: 23%;
  background:
    linear-gradient(180deg, rgba(255, 95, 200, 0.34), rgba(70, 98, 255, 0.18)),
    #090912;
  box-shadow: 0 0 60px rgba(255, 95, 200, 0.18);
}

.section-games .section-heading,
.section-games .game-layout {
  position: relative;
  z-index: 1;
}

.section-games .section-heading {
  max-width: 1120px;
  margin-inline: auto;
  padding-top: 18px;
  transform: translate3d(calc(var(--arcade-x, 0) * -5px), 0, 0);
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(150px, 180px) minmax(0, 1fr);
  gap: 18px;
}

.game-tabs {
  align-content: start;
  margin-bottom: 0;
}

.game-tab {
  width: 100%;
  text-align: left;
}

.game-panel {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.game-panel:focus-within,
.game-panel:hover {
  border-color: rgba(159, 243, 207, 0.32);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.play-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: 0;
  min-height: 520px;
}

.play-stage {
  display: grid;
  align-items: stretch;
  min-width: 0;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(70, 98, 255, 0.18), transparent 36%),
    #08080a;
}

#naroa-game-canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 560;
  align-self: center;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 8px;
  background: #070707;
  outline: none;
  touch-action: none;
}

#naroa-game-canvas:focus-visible {
  border-color: rgba(159, 243, 207, 0.74);
  box-shadow: 0 0 0 3px rgba(159, 243, 207, 0.12);
}

.play-side {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.play-side h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
}

.play-side p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.game-status {
  min-height: 3.4em;
  border: 1px solid rgba(159, 243, 207, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(159, 243, 207, 0.07);
  color: var(--text) !important;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.game-control-row,
.direction-pad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.game-control-row .button {
  width: 100%;
  min-width: 0;
  padding-inline: 10px;
}

.direction-pad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.direction-pad button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  cursor: pointer;
}

.direction-pad button:hover,
.direction-pad button:focus-visible {
  outline: none;
  border-color: rgba(159, 243, 207, 0.48);
  color: var(--text);
}

.game-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.game-meta span {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.arcade-service .game-meta {
  grid-template-columns: 1fr;
}

.game-meta strong {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.arcade-cabinet {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 720px;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.2);
  border-radius: 8px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(159, 243, 207, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 95, 200, 0.28), transparent 24%),
    linear-gradient(225deg, rgba(70, 98, 255, 0.24), transparent 28%),
    linear-gradient(180deg, #161016, #08070a 45%, #151518);
  box-shadow:
    inset 0 0 0 5px rgba(0, 0, 0, 0.58),
    inset 0 0 70px rgba(255, 95, 200, 0.12),
    0 34px 110px rgba(0, 0, 0, 0.46),
    0 0 90px rgba(70, 98, 255, 0.2);
  transform:
    rotateX(calc(var(--arcade-y, 0) * -1.1deg))
    rotateY(calc(var(--arcade-x, 0) * 1.5deg))
    translateZ(0);
  transform-style: preserve-3d;
  transition: transform 260ms linear, box-shadow 760ms var(--ease-holistic);
}

.arcade-cabinet::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(159, 243, 207, 0.14);
  border-radius: 6px;
}

.arcade-cabinet::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -12% -10%;
  background:
    linear-gradient(105deg, transparent 0 38%, rgba(255, 95, 200, 0.12) 43%, transparent 49%),
    linear-gradient(72deg, transparent 0 54%, rgba(159, 243, 207, 0.1) 58%, transparent 64%);
  mix-blend-mode: screen;
  opacity: 0.82;
}

.arcade-chrome {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.arcade-chrome span {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(232, 191, 114, 0.46);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 191, 114, 0.6), rgba(7, 7, 7, 0.2));
  box-shadow: 0 0 22px rgba(232, 191, 114, 0.2);
}

.arcade-chrome span:nth-child(1) {
  left: 18px;
  top: 18px;
}

.arcade-chrome span:nth-child(2) {
  right: 18px;
  top: 18px;
}

.arcade-chrome span:nth-child(3) {
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

.arcade-marquee {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr) minmax(0, 0.4fr);
  align-items: center;
  gap: 12px;
  min-height: 78px;
  border: 1px solid rgba(232, 191, 114, 0.46);
  border-radius: 8px 8px 4px 4px;
  padding: 12px 18px;
  background:
    repeating-linear-gradient(90deg, rgba(244, 241, 234, 0.05) 0 1px, transparent 1px 10px),
    linear-gradient(90deg, rgba(229, 69, 69, 0.42), rgba(255, 95, 200, 0.2) 28%, rgba(70, 98, 255, 0.34) 68%, rgba(159, 243, 207, 0.22)),
    #110b13;
  color: var(--text);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.arcade-marquee strong {
  color: var(--bubblegum);
  font-family: var(--font-impact);
  font-size: clamp(1.45rem, 3.1vw, 2.5rem);
  text-align: center;
  text-shadow: 0 0 22px var(--bubblegum-soft);
}

.arcade-marquee span:last-child {
  justify-self: end;
  color: var(--mint);
}

.arcade-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.3fr);
  gap: 12px;
  padding: 14px 0;
}

.arcade-screen {
  padding: 0;
  background: transparent;
}

.crt-bezel {
  display: grid;
  height: 100%;
  min-height: 420px;
  align-items: center;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(145deg, #050505, #17171c 46%, #030303),
    #050505;
  box-shadow:
    inset 0 0 0 12px rgba(0, 0, 0, 0.54),
    inset 0 0 48px rgba(70, 98, 255, 0.15),
    0 0 38px rgba(70, 98, 255, 0.13);
}

.crt-glass {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(159, 243, 207, 0.24);
  border-radius: 8px;
  background: #020203;
  box-shadow:
    inset 0 0 34px rgba(159, 243, 207, 0.12),
    0 0 38px rgba(255, 95, 200, 0.08);
}

.crt-glass::before,
.crt-glass::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
}

.crt-glass::before {
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 4px);
  opacity: 0.32;
}

.crt-glass::after {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 50% 45%, transparent 45%, rgba(0, 0, 0, 0.26));
  mix-blend-mode: screen;
}

.crt-glass #naroa-game-canvas {
  border: 0;
  border-radius: 0;
  filter: saturate(1.12) contrast(1.04);
}

.arcade-service {
  align-content: start;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 95, 200, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.run-hud {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
}

.run-hud span {
  min-width: 0;
  border: 1px solid rgba(216, 255, 79, 0.22);
  border-radius: 4px;
  padding: 8px 6px;
  background: rgba(4, 4, 6, 0.42);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-align: center;
  text-transform: uppercase;
}

.run-hud strong {
  display: block;
  color: var(--acid);
  font-size: 0.9rem;
}

.arcade-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 88px 180px minmax(220px, 1fr) 116px;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 4px 4px 8px 8px;
  padding: 16px;
  background:
    linear-gradient(90deg, rgba(255, 95, 200, 0.24), rgba(232, 191, 114, 0.12), rgba(70, 98, 255, 0.24)),
    #0d0d12;
}

.arcade-stick {
  position: relative;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, #23232a, #050505 70%);
}

.arcade-stick::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 26px;
  width: 10px;
  height: 30px;
  border-radius: 999px;
  background: #2c2c34;
  transform: translateX(-50%);
}

.arcade-stick span {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bubblegum);
  box-shadow: 0 0 20px var(--bubblegum-soft);
  transform: translateX(-50%);
}

.coin-slot {
  display: grid;
  gap: 8px;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-align: center;
}

.coin-slot i {
  display: block;
  width: 72px;
  height: 18px;
  justify-self: center;
  border: 1px solid rgba(232, 191, 114, 0.48);
  border-radius: 4px;
  background: linear-gradient(180deg, #0a0a0d, #010101);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.9);
}

.section-radar {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(216, 255, 79, 0.22), transparent 32%),
    linear-gradient(126deg, rgba(255, 95, 200, 0.18), transparent 30%),
    linear-gradient(72deg, transparent 54%, rgba(9, 215, 161, 0.28) 54% 60%, transparent 60%),
    linear-gradient(180deg, #0737d8, #061d90);
}

.section-radar::before,
.section-radar::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -18vh -10vw;
  z-index: 0;
  mix-blend-mode: screen;
}

.section-radar::before {
  background:
    conic-gradient(from calc(var(--radar-sweep, 0deg)) at var(--flow-x) var(--flow-y), transparent 0 63%, rgba(216, 255, 79, 0.18) 68%, transparent 74% 100%),
    radial-gradient(circle at var(--flow-x) var(--flow-y), rgba(255, 95, 200, 0.2), transparent 32%),
    repeating-radial-gradient(circle at 58% 46%, rgba(159, 243, 207, 0.12) 0 1px, transparent 1px 64px);
  opacity: 0.74;
  animation: radarSweep 6800ms linear infinite;
}

.section-radar::after {
  background:
    linear-gradient(calc(115deg + var(--radar-index, 0) * 12deg), transparent 0 24%, rgba(36, 76, 255, 0.18) 24% 28%, transparent 28% 100%),
    linear-gradient(calc(64deg - var(--radar-index, 0) * 9deg), transparent 0 58%, rgba(255, 95, 200, 0.16) 58% 62%, transparent 62% 100%);
  opacity: 0.62;
  transform: translate3d(calc(var(--arcade-x, 0) * 18px), calc(var(--arcade-y, 0) * 12px), 0);
  transition: background 720ms var(--ease-holistic), transform 220ms linear;
}

@keyframes radarSweep {
  to {
    --radar-sweep: 360deg;
  }
}

.radar-system {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 18px;
  align-items: stretch;
}

.radar-orbit {
  pointer-events: none;
  position: absolute;
  inset: -12vh 18vw auto auto;
  width: min(44vw, 520px);
  aspect-ratio: 1;
  opacity: 0.6;
  transform: rotate(calc(var(--radar-index, 0) * 34deg));
  transition: transform 720ms var(--ease-holistic);
}

.radar-orbit span {
  position: absolute;
  inset: calc(var(--i, 0) * 14%);
  border: 1px solid rgba(159, 243, 207, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 34px rgba(255, 95, 200, 0.08);
}

.radar-orbit span:nth-child(1) {
  --i: 0;
}

.radar-orbit span:nth-child(2) {
  --i: 1;
}

.radar-orbit span:nth-child(3) {
  --i: 2;
}

.radar-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.radar-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0;
  background: #07070a;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition:
    transform 520ms var(--ease-holistic),
    border-color 520ms var(--ease-holistic),
    box-shadow 520ms var(--ease-holistic),
    filter 520ms var(--ease-holistic);
}

.radar-card:hover,
.radar-card:focus-visible,
.radar-card.is-active {
  outline: none;
  transform: translateY(-8px);
  border-color: rgba(216, 255, 79, 0.5);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.42), 0 0 42px rgba(255, 95, 200, 0.11);
  filter: saturate(1.12);
}

.radar-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.05) brightness(0.84);
  transition: transform 720ms var(--ease-holistic), filter 720ms var(--ease-holistic);
}

.radar-card:hover img,
.radar-card:focus-visible img,
.radar-card.is-active img {
  transform: scale(1.06);
  filter: contrast(1.12) saturate(1.18) brightness(0.96);
}

.radar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.88)),
    linear-gradient(124deg, rgba(255, 95, 200, 0.16), transparent 34%, rgba(36, 76, 255, 0.16));
}

.radar-card span,
.radar-card h3,
.radar-card p {
  position: absolute;
  z-index: 1;
}

.radar-card span {
  top: 14px;
  left: 16px;
  color: var(--acid);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.radar-card h3,
.radar-card p {
  padding-inline: 18px;
}

.radar-card h3 {
  left: 0;
  right: 0;
  bottom: 40px;
  margin: 0;
  font-family: var(--font-impact);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 0.95;
}

.radar-card p {
  left: 0;
  right: 0;
  bottom: 16px;
  margin: 0;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.radar-readout {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 100%;
  border: 1px solid rgba(244, 241, 234, 0.14);
  border-radius: 6px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 95, 200, 0.13), rgba(6, 34, 142, 0.82)),
    rgba(5, 24, 118, 0.72);
  box-shadow: 0 24px 90px rgba(0, 36, 180, 0.34);
}

.radar-readout h3 {
  margin: 0;
  color: var(--bubblegum);
  font-family: var(--font-lettering);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.9;
}

.radar-readout p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.section-bio {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 44px;
}

.bio-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.bio-portrait {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.bio-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bio-portrait figcaption {
  padding: 14px 16px;
  color: var(--muted);
}

.section-contact {
  position: relative;
  display: grid;
  min-height: 110svh;
  place-items: center;
  overflow: hidden;
  padding-block: 128px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 26%, rgba(216, 255, 79, 0.2), transparent 30%),
    linear-gradient(112deg, rgba(255, 95, 200, 0.18), transparent 28%),
    linear-gradient(72deg, transparent 54%, rgba(9, 215, 161, 0.24) 54% 60%, transparent 60%),
    linear-gradient(180deg, #0737d8, #061d90);
}

.contact-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: saturate(1.32) contrast(1.14) brightness(0.74);
  transform: translate3d(calc(var(--arcade-x, 0) * -12px), calc(var(--arcade-y, 0) * -8px), 0) scale(1.08);
  transition: transform 260ms linear;
}

.contact-stage::before,
.contact-stage::after,
.contact-stroke {
  content: "";
  position: absolute;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.contact-stage::before {
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 95, 200, 0.12) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(45deg, rgba(216, 255, 79, 0.1) 0 1px, transparent 1px 52px);
}

.contact-stage::after {
  left: -8vw;
  right: -8vw;
  top: 52%;
  height: 14vh;
  background: rgba(232, 191, 114, 0.18);
  transform: rotate(-11deg);
}

.contact-stroke {
  width: 56vw;
  height: 9vh;
  background: rgba(255, 95, 200, 0.22);
  transform-origin: 50% 50%;
}

.contact-stroke-1 {
  left: 5vw;
  top: 10vh;
  transform: rotate(-13deg);
}

.contact-stroke-2 {
  right: -8vw;
  top: 22vh;
  background: rgba(36, 76, 255, 0.18);
  transform: rotate(77deg);
}

.contact-stroke-3 {
  left: -10vw;
  bottom: 12vh;
  background: rgba(216, 255, 79, 0.12);
  transform: rotate(-5deg);
}

.contact-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.contact-content h2 {
  max-width: none;
}

.contact-content p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-actions {
  justify-content: center;
}

.contact-intents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.contact-intents button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(4, 4, 6, 0.46);
  color: var(--muted);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.contact-intents button:hover,
.contact-intents button:focus-visible,
.contact-intents button.is-active {
  outline: none;
  border-color: rgba(216, 255, 79, 0.48);
  background: rgba(255, 95, 200, 0.16);
  color: var(--text);
}

.copy-feedback {
  min-height: 1.5em;
  margin-top: 16px;
  color: var(--mint);
  font-family: var(--font-mono);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.footer a {
  text-decoration: none;
}

.type-signature {
  color: var(--bubblegum);
  font-family: var(--font-lettering);
  font-size: 1.45rem;
  line-height: 0.9;
  text-shadow: 0 0 18px var(--bubblegum-soft);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at var(--flow-x) var(--flow-y), rgba(216, 255, 79, 0.14), transparent 32%),
    rgba(2, 10, 58, 0.9);
  backdrop-filter: blur(22px) saturate(1.35);
}

.lightbox.is-open {
  display: flex;
}

.lightbox-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.28fr);
  width: min(1500px, 100%);
  height: min(900px, calc(100svh - 48px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(9, 215, 161, 0.12), transparent 28%),
    rgba(3, 18, 92, 0.88);
  box-shadow: 0 44px 160px rgba(0, 14, 96, 0.58);
}

.lightbox-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #02105c;
  transform: translate3d(var(--zoom-x, 0px), var(--zoom-y, 0px), 0) scale(var(--zoom-scale, 1));
  transform-origin: center;
  transition: transform 260ms var(--ease-holistic);
}

.lightbox-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  padding: 24px;
}

.lightbox-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.lightbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lightbox-actions button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
}

.lightbox-actions a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border: 1px solid rgba(216, 255, 79, 0.38);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--acid);
  font-family: var(--font-mono);
  text-decoration: none;
}

@media (max-width: 920px) {
  h1 {
    font-size: 4.3rem;
  }

  h2,
  .intro-copy h2 {
    font-size: 2.6rem;
  }

  .section-intro,
  .section-heading,
  .warm-scroll-copy,
  .gallery-immersion,
  .narocast-console,
  .game-layout,
  .play-shell,
  .section-bio {
    grid-template-columns: 1fr;
  }

  .metrics,
  .work-grid,
  .radar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-audit {
    order: -1;
  }

  .gallery-orbit {
    padding-right: 18vw;
    padding-left: 0;
  }

  .game-panel,
  .play-shell {
    min-height: 360px;
  }

  .play-side {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .arcade-cabinet {
    min-height: 0;
  }

  .arcade-body {
    grid-template-columns: 1fr;
  }

  .arcade-controls {
    grid-template-columns: 84px minmax(170px, 0.8fr) minmax(0, 1fr);
  }

  .coin-slot {
    grid-column: 1 / -1;
    justify-self: end;
  }

  h1.split-title {
    font-size: 5.2rem;
  }

  h2.split-title {
    font-size: 3.6rem;
  }
}

@media (max-width: 700px) {
  .topbar {
    top: 8px;
    width: calc(100% - 16px);
    align-items: flex-start;
  }

  .brand-text {
    display: none;
  }

  .nav {
    gap: 2px;
  }

  .nav a {
    padding: 9px 8px;
    font-size: 0.72rem;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
  }

  .hero-content {
    padding-bottom: 24px;
  }

  .hero-mycelium {
    position: relative;
    inset: auto;
    width: min(100%, 330px);
    height: 150px;
    margin-top: 18px;
  }

  .mycelium-node {
    width: 68px;
    font-size: 0.58rem;
  }

  h1 {
    font-size: 3.3rem;
  }

  h2,
  .intro-copy h2 {
    font-size: 2.25rem;
  }

  h1.split-title {
    max-width: 7.8ch;
    font-size: 3.9rem;
  }

  h2.split-title {
    max-width: 8.4ch;
    font-size: 3rem;
  }

  .split-letter.is-small {
    font-size: 0.32em;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-strip,
  .metrics,
  .work-grid,
  .radar-grid,
  .game-tabs,
  .game-meta,
  .lightbox-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 64px;
  }

  .warm-scroll {
    height: auto;
  }

  .warm-scroll-sticky {
    position: relative;
    min-height: auto;
    padding-top: 72px;
  }

  .warm-scroll-copy::after {
    justify-self: start;
  }

  .warm-scroll-viewport {
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .warm-card,
  .warm-card-large {
    width: min(310px, 82vw);
    height: 430px;
    scroll-snap-align: start;
  }

  .gallery-orbit {
    mask-image: none;
    padding: 16px 12px 30px 0;
    scroll-padding-inline: 12px;
  }

  .gallery-frame {
    width: min(290px, 78vw);
    height: 410px;
  }

  .gallery-audit dl {
    grid-template-columns: 1fr;
  }

  .narocast-screen video {
    height: 420px;
    min-height: 420px;
  }

  .narocast-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card,
  .work-card img {
    min-height: 360px;
  }

  .play-stage,
  .play-side {
    padding: 12px;
  }

  .play-side h3 {
    font-size: 1.35rem;
  }

  .game-control-row {
    grid-template-columns: 1fr;
  }

  .arcade-cabinet {
    padding: 10px;
  }

  .arcade-marquee {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 4px;
    text-align: center;
  }

  .arcade-marquee strong {
    font-size: 1.35rem;
  }

  .arcade-marquee span:last-child {
    justify-self: center;
  }

  .crt-bezel {
    min-height: 220px;
    padding: 10px;
  }

  .arcade-controls {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .arcade-stick,
  .coin-slot {
    justify-self: center;
  }

  .footer {
    flex-direction: column;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-image {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  #kinetic-layer {
    display: none;
  }

  .room-scan,
  .narocast-wave span {
    animation: none !important;
  }

  body.kinetic-ready .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
