:root {
  --void: #030308;
  --star: #f4f5f8;
  --dim: #9aa0ae;
  --stroke: rgba(255, 255, 255, 0.16);
  --accent: #dce8ff;
  --glow: #9bb8e6;
  --contact-link: #bbc3d1;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --body: "Space Grotesk", system-ui, sans-serif;
  --disp: "Michroma", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--void);
  color: var(--star);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

html {
  scrollbar-width: none;
  scroll-behavior: auto;
  scroll-snap-type: y mandatory;
}

html::-webkit-scrollbar {
  display: none;
}

.thanks-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.8) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 64%, rgba(255, 255, 255, 0.65) 0 1px, transparent 1.5px),
    radial-gradient(circle at 84% 17%, color-mix(in srgb, var(--glow) 55%, transparent) 0 1px, transparent 2px),
    #030308;
  background-size: 230px 230px, 310px 310px, 420px 420px, auto;
}

.thanks-mark {
  position: fixed;
  top: 28px;
  left: 32px;
}

.thanks-mark img {
  width: 78px;
}

.thanks-card {
  width: min(620px, calc(100% - 40px));
  text-align: center;
}

.thanks-card h1 {
  margin: 12px 0;
  font-size: clamp(28px, 5vw, 58px);
}

.thanks-card .lede {
  margin-right: auto;
  margin-left: auto;
}

.thanks-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  color: var(--star);
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

body.space-shell {
  overflow-x: hidden;
}

body.at-lab,
body.at-work {
  overflow: hidden;
}

body.intro-running {
  overflow: hidden;
}

body.intro-running .dock,
body.intro-running .space-menu,
body.intro-running .home-telemetry {
  opacity: 0;
  pointer-events: none;
}

#webgl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  cursor: default;
  pointer-events: none;
  touch-action: pan-y;
}

body[data-view="work"] #webgl {
  pointer-events: auto;
}

.gl-shield {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  body[data-view="work"] .gl-shield {
    pointer-events: none;
  }
}

#webgl.is-hot {
  cursor: pointer;
}

#webgl.is-drag {
  cursor: grabbing;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, transparent 24%, rgba(3, 3, 8, 0.2) 62%, rgba(3, 3, 8, 0.58) 100%);
}

.scene-veil {
  position: fixed;
  inset: 0;
  z-index: 12;
  pointer-events: none;
  opacity: 0;
  background: rgba(3, 4, 10, 0.22);
  backdrop-filter: blur(7px) saturate(0.82);
  -webkit-backdrop-filter: blur(7px) saturate(0.82);
  transition: opacity 0.45s ease;
}

body[data-view="home"][data-menu-hover="dj"] .scene-veil {
  opacity: 1;
}

.dock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: calc(22px + env(safe-area-inset-top)) 32px 0;
  opacity: 1;
  transition: opacity 0.6s ease;
}

.mark {
  display: flex;
  align-items: center;
  color: var(--star);
  text-decoration: none;
}

.mark img.wordmark {
  height: 16px;
  width: auto;
  max-width: 148px;
  display: block;
}

nav {
  display: flex;
  gap: 18px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

nav a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  padding: 8px 4px;
  text-shadow: 0 0 18px rgba(3, 3, 8, 0.9);
}

nav a.is-on {
  color: var(--star);
}

.nav-lab {
  opacity: 0.22;
  font-size: 8px;
}

.nav-lab.is-on {
  opacity: 0.8;
}

body[data-view="home"] .dock nav {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.launch-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  pointer-events: auto;
  background: none;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.launch-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.launch-split {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.launch-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 58%;
  will-change: transform, opacity;
}

.launch-panel-left {
  left: 0;
  background: linear-gradient(90deg, #030308 0 92%, rgba(3, 3, 8, 0));
}

.launch-panel-right {
  right: 0;
  background: linear-gradient(270deg, #030308 0 92%, rgba(3, 3, 8, 0));
}

.launch-intro.is-launching .launch-panel-left {
  animation: launch-split-left 0.46s cubic-bezier(0.22, 0.78, 0.28, 1) 0.2s forwards;
}

.launch-intro.is-launching .launch-panel-right {
  animation: launch-split-right 0.46s cubic-bezier(0.22, 0.78, 0.28, 1) 0.2s forwards;
}

.launch-rocket {
  position: absolute;
  left: 50%;
  bottom: -16vh;
  z-index: 2;
  width: clamp(44px, 5.6vw, 68px);
  opacity: 0;
  transform: translateX(-50%) rotate(-45deg);
}

.launch-intro.is-launching .launch-rocket {
  animation: rocket-launch 0.72s cubic-bezier(0.36, 0.02, 0.58, 1) forwards;
}

@keyframes rocket-launch {
  0% { bottom: -14vh; opacity: 0; transform: translateX(-50%) rotate(-45deg); }
  10% { opacity: 1; }
  68% { opacity: 1; }
  100% { bottom: 112vh; opacity: 0; transform: translateX(-50%) rotate(-45deg); }
}

@keyframes launch-split-left {
  0% { transform: translate3d(0, 0, 0); opacity: 1; }
  100% { transform: translate3d(-36%, 0, 0); opacity: 0; }
}

@keyframes launch-split-right {
  0% { transform: translate3d(0, 0, 0); opacity: 1; }
  100% { transform: translate3d(36%, 0, 0); opacity: 0; }
}

.space-menu {
  position: fixed;
  left: 50%;
  bottom: calc(8vh + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: min(1100px, 96vw);
  transform: translateX(-50%);
  pointer-events: auto;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.directory-kicker {
  margin: 0 0 14px;
  color: rgba(220, 228, 240, 0.5);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px #030308;
  transition: opacity 0.28s ease, transform 0.32s ease;
}

body[data-menu-hover] .directory-kicker {
  opacity: 0;
  transform: translateY(8px);
}

body.is-ready[data-menu-hover="dj"] .space-menu button:not([data-world="dj"]) {
  opacity: 0.22 !important;
  filter: blur(2px);
}

body[data-view="home"][data-menu-hover="dj"] .space-menu button[data-world="dj"]::before,
body[data-view="home"][data-menu-hover="dj"] .space-menu button[data-world="dj"]::after {
  opacity: 0 !important;
  transform: translateX(-50%) scale(0);
  box-shadow: none;
}

.nightlife-hover-film {
  position: fixed;
  left: 50%;
  top: calc(76px + env(safe-area-inset-top));
  z-index: 40;
  width: min(720px, 72vw);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.45s ease, visibility 0.4s;
}

.nightlife-hover-film[hidden] {
  display: none !important;
}

body[data-view="home"][data-menu-hover="dj"] .nightlife-hover-film:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nightlife-hover-film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: #07080d;
}

.trusted-kicker {
  margin: 0;
  color: rgba(232, 238, 248, 0.78);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px #030308;
}

.trusted-rail {
  position: fixed;
  left: 50%;
  bottom: calc(128px + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(560px, 92vw);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.trusted-rail[hidden] {
  display: none !important;
}

body[data-view="home"][data-menu-hover="dj"] .nightlife-hover-film {
  display: none !important;
}

body[data-view="home"][data-menu-hover="dj"] .trusted-rail:not([hidden]) {
  left: 50%;
  top: 46%;
  bottom: auto;
  width: auto;
  max-width: min(920px, 90vw);
  gap: 22px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

body[data-view="home"][data-menu-hover="dj"] .trusted-kicker {
  font-size: 15px;
  letter-spacing: 0.2em;
  text-align: center;
  color: rgba(236, 240, 248, 0.92);
}

body[data-view="home"][data-menu-hover="dj"] .trusted-faces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--dj-gap, 24px);
  width: min(
    100%,
    calc(var(--dj-cols, 3) * (var(--dj-cell, 152px) + var(--dj-gap, 24px)) - var(--dj-gap, 24px) + 16px)
  );
  max-width: min(920px, 90vw);
  max-height: min(58vh, calc(100svh - 240px));
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 0 6px;
}

body[data-view="work"][data-sector="dj"] .trusted-rail:not([hidden]) {
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom));
  width: auto;
  max-width: min(920px, 94vw);
  gap: 14px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.trusted-faces {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 12px 14px;
  max-width: min(720px, 94vw);
  overflow-x: auto;
  padding: 4px 2px 6px;
  scrollbar-width: none;
}

.trusted-faces::-webkit-scrollbar {
  display: none;
}

.trusted-face {
  position: relative;
  display: grid;
  width: auto;
  min-width: 72px;
  max-width: 108px;
  gap: 7px;
  justify-items: center;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  background: none;
  color: var(--star);
  cursor: pointer;
  touch-action: manipulation;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.trusted-face:focus,
.trusted-face:focus-visible,
.trusted-face:active {
  outline: none;
  box-shadow: none;
  background: none;
}

body[data-view="home"] .trusted-face.is-reel {
  display: none;
}

body[data-view="home"][data-menu-hover="dj"] .trusted-face:not(.is-reel) {
  min-width: var(--dj-cell, 152px);
  max-width: var(--dj-cell, 152px);
  gap: 10px;
  opacity: 0;
}

body.faces-aimed[data-view="home"][data-menu-hover="dj"] .trusted-face:not(.is-reel) {
  animation: face-from-nightlife 0.52s cubic-bezier(0.16, 0.84, 0.28, 1) var(--face-delay, 0s) both;
}

body[data-view="work"][data-sector="dj"] .trusted-faces {
  justify-content: flex-start;
  gap: 18px 28px;
  width: max-content;
  max-width: min(920px, 94vw);
  overflow-x: auto;
}

body[data-view="work"][data-sector="dj"] .trusted-face {
  min-width: 128px;
  max-width: 168px;
  gap: 10px;
  opacity: 1;
  transform: none;
}

@keyframes face-from-nightlife {
  0% {
    opacity: 0;
    transform: translate(var(--from-x, 0px), var(--from-y, 48px)) scale(0.4);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

body[data-view="home"][data-menu-hover="dj"] .trusted-photo {
  width: var(--dj-size, 136px);
  height: var(--dj-size, 136px);
}

body[data-view="home"][data-menu-hover="dj"] .trusted-name {
  max-width: var(--dj-cell, 152px);
  font-size: var(--dj-name, 13px);
  letter-spacing: 0.1em;
  line-height: 1.35;
  color: rgba(236, 240, 248, 0.9);
}

body[data-view="work"][data-sector="dj"] .trusted-photo {
  width: 128px;
  height: 128px;
}

body[data-view="work"][data-sector="dj"] .trusted-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
}

body[data-view="work"][data-sector="dj"] .trusted-name {
  max-width: 168px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

body[data-view="work"][data-sector="dj"] .trusted-photo.is-reel-photo::after {
  border-top-width: 10px;
  border-bottom-width: 10px;
  border-left-width: 16px;
}

.trusted-photo {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: #0b0d14;
  box-shadow: none;
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trusted-photo.is-reel-photo::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--star);
}

.crop-image {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: var(--photo-x, 50%) var(--photo-y, 50%);
  background-size: calc(var(--photo-zoom, 1) * 140%);
}

.trusted-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--photo-x, 50%) var(--photo-y, 50%);
  transform: scale(var(--photo-zoom, 1));
}

.trusted-photo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.trusted-embed {
  position: fixed;
  left: 50%;
  top: 50%;
  bottom: auto;
  z-index: 41;
  width: min(328px, 78vw);
  height: min(520px, 46vh);
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #000;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 8px));
  transition: opacity 0.32s ease, transform 0.36s ease, visibility 0.32s;
}

.trusted-embed[hidden] {
  display: none !important;
}

body:not([data-view="work"][data-sector="dj"][data-client]:not([data-client=""])) .trusted-embed {
  display: none !important;
}

.trusted-embed.is-on {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

body[data-view="work"][data-sector="dj"][data-client]:not([data-client=""]) .trusted-embed.is-on {
  top: 50%;
  bottom: auto;
  left: 50%;
  width: min(340px, 78vw);
  height: min(540px, calc(100svh - 360px));
  transform: translate(-50%, -50%);
}

.trusted-embed iframe {
  display: block;
  width: 100%;
  height: 1100px;
  margin: 0;
  border: 0;
  background: #000;
  overflow: hidden;
  pointer-events: auto;
}

.trusted-embed.is-fallback {
  max-height: none;
  width: auto;
}

.trusted-embed-fallback {
  display: block;
  padding: 12px 16px;
  color: var(--star);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 2px 14px #030308;
}

.trusted-face.is-on .trusted-photo {
  opacity: 1;
}

.trusted-face:not(.is-on) .trusted-photo {
  opacity: 0.72;
}

.trusted-name {
  max-width: 108px;
  overflow: visible;
  color: rgba(220, 228, 240, 0.78);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
  text-align: center;
  white-space: normal;
  text-shadow: 0 2px 14px #030308;
}

.space-menu button.is-lead .menu-label {
  letter-spacing: 0.18em;
}

.directory-nodes {
  display: flex;
  gap: clamp(22px, 4vw, 56px);
}

.space-menu button {
  position: relative;
  display: flex;
  min-width: clamp(148px, 18vw, 230px);
  min-height: 124px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 0;
  padding: 26px 16px 16px;
  background: none;
  color: var(--star);
  font-family: var(--mono);
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  text-shadow: 0 2px 18px #030308;
}

.space-menu button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 90%, transparent), transparent);
  transform: translateX(-50%) scaleX(0.08);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
  opacity: 0.28;
}

.space-menu button::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--glow) 85%, transparent);
  transform: translateX(-50%) scale(0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.menu-node,
.menu-meta {
  position: absolute;
  color: rgba(199, 210, 228, 0.5);
  font-size: 7px;
  letter-spacing: 0.16em;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.menu-node {
  top: 8px;
  left: 12px;
  opacity: 0;
  transform: translateX(-6px);
}

.menu-label {
  transition:
    letter-spacing 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.45s ease,
    text-shadow 0.35s ease;
}

.menu-meta {
  position: static;
  margin-top: 10px;
  max-width: 22ch;
  color: rgba(199, 210, 228, 0.7);
  font-size: 11px;
  letter-spacing: 0.12em;
  opacity: 1;
  transform: none;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
}

.space-menu button:focus-visible::before {
  opacity: 0.9;
  transform: translateX(-50%) scaleX(1);
}

.space-menu button:focus-visible::after {
  transform: translateX(-50%) scale(1);
  box-shadow:
    0 0 7px var(--accent),
    0 0 24px color-mix(in srgb, var(--glow) 80%, transparent);
}

.space-menu button:focus-visible .menu-node,
.space-menu button:focus-visible .menu-meta {
  opacity: 1;
  transform: translate(0);
}

.space-menu button:focus-visible .menu-label {
  letter-spacing: 0.34em;
  transform: translateY(-3px);
  text-shadow:
    0 0 8px rgba(235, 242, 255, 0.7),
    0 0 28px rgba(190, 215, 255, 0.32);
}

.space-menu button:focus-visible {
  outline: none;
}

body.is-ready .space-menu button {
  animation:
    menu-arrive 0.55s ease 0s forwards,
    zero-float-a 4.8s ease-in-out 0.55s infinite alternate;
}

body.is-ready .space-menu button:nth-child(2) {
  animation:
    menu-arrive 0.55s ease 0.14s forwards,
    zero-float-b 5.6s ease-in-out 0.69s infinite alternate;
}

body.is-ready .space-menu button:nth-child(3) {
  animation:
    menu-arrive 0.55s ease 0.28s forwards,
    zero-float-c 5.1s ease-in-out 0.83s infinite alternate;
}

body.is-ready .space-menu button:nth-child(4) {
  animation:
    menu-arrive 0.55s ease 0.4s forwards,
    zero-float-a 5.4s ease-in-out 0.9s infinite alternate;
}

body:not([data-view="home"]) .space-menu {
  opacity: 0;
  transform: translate(-50%, -12px);
  pointer-events: none;
}

.home-telemetry {
  position: fixed;
  inset: 0;
  z-index: 8;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

body:not([data-view="home"]) .home-telemetry {
  opacity: 0;
}

.home-telemetry p {
  position: absolute;
  margin: 0;
  color: rgba(211, 220, 236, 0.62);
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.8;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-shadow: 0 2px 16px #030308;
}

.telemetry-a {
  top: 15vh;
  left: 7vw;
}

.telemetry-a span {
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 7px 1px 0;
  border-radius: 50%;
  background: #dfffe8;
  box-shadow: 0 0 9px #dfffe8;
  animation: lab-pulse 1.8s ease-in-out infinite;
}

.telemetry-b {
  top: 21vh;
  right: 6vw;
  text-align: right;
}

.telemetry-c {
  top: 55%;
  left: 7vw;
}

.telemetry-axis {
  position: absolute;
  opacity: 0.22;
  background: linear-gradient(90deg, transparent, #dbe5f8, transparent);
}

.telemetry-axis-x {
  top: 39%;
  right: 9vw;
  width: min(28vw, 380px);
  height: 1px;
}

.telemetry-axis-y {
  top: 22%;
  right: 25vw;
  width: 1px;
  height: 31vh;
  background: linear-gradient(180deg, transparent, #dbe5f8, transparent);
}

.telemetry-reticle {
  display: none;
  position: absolute;
  top: var(--pointer-y, 40%);
  left: var(--pointer-x, 78vw);
  width: 9px;
  height: 9px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
  border-radius: 50%;
  opacity: 0.22;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 12px rgba(225, 234, 250, 0.035),
    0 0 18px rgba(225, 234, 250, 0.18);
  transition:
    opacity 0.2s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.telemetry-reticle::before {
  content: "";
  position: absolute;
  left: 3px;
  bottom: 8px;
  width: 1px;
  height: 130px;
  background: linear-gradient(0deg, rgba(220, 233, 255, 0.65), transparent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.28s ease;
}

body[data-menu-hover] .telemetry-reticle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.4);
  box-shadow:
    0 0 0 18px color-mix(in srgb, var(--accent) 4.5%, transparent),
    0 0 26px color-mix(in srgb, var(--glow) 40%, transparent);
}

body[data-menu-hover] .telemetry-reticle::before {
  transform: scaleY(1);
}

.hover-readout {
  position: absolute;
  left: 50%;
  top: calc(118px + env(safe-area-inset-top));
  bottom: auto;
  display: grid;
  min-width: 220px;
  gap: 5px;
  justify-items: center;
  padding-left: 0;
  border-left: 0;
  font-family: var(--mono);
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  filter: blur(5px);
  transform: translate(-50%, 8px);
  transition:
    opacity 0.3s ease,
    filter 0.4s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hover-readout span,
.hover-readout small {
  color: rgba(199, 210, 228, 0.55);
  font-size: 7px;
  letter-spacing: 0.18em;
}

.hover-readout strong {
  color: #f3f6fb;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.23em;
}

body[data-menu-hover] .hover-readout {
  opacity: 1;
  filter: blur(0);
  transform: translate(-50%, 0);
}

body[data-view="home"][data-menu-hover="dj"] .hover-readout,
body[data-view="home"][data-menu-hover="dj"] .telemetry-reticle {
  opacity: 0 !important;
  filter: blur(6px);
}

body[data-menu-hover] .telemetry-axis-x {
  opacity: 0.5;
  animation: telemetry-scan 1.1s ease-in-out infinite alternate;
}

@keyframes telemetry-scan {
  from { transform: scaleX(0.45); }
  to { transform: scaleX(1.15); }
}

@keyframes menu-arrive {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes zero-float-a {
  from { transform: translate3d(-3px, -7px, 0) rotate(-0.8deg); }
  to { transform: translate3d(4px, 8px, 0) rotate(0.8deg); }
}

@keyframes zero-float-b {
  from { transform: translate3d(4px, 8px, 0) rotate(0.7deg); }
  to { transform: translate3d(-5px, -9px, 0) rotate(-0.7deg); }
}

@keyframes zero-float-c {
  from { transform: translate3d(2px, -8px, 0) rotate(-0.6deg); }
  to { transform: translate3d(-4px, 7px, 0) rotate(0.6deg); }
}

.scroll-track {
  position: relative;
  z-index: -1;
  pointer-events: none;
}

.scroll-track section {
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.hint,
.caption {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  margin: 0;
  text-align: center;
  font-family: var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 0 2px 18px #030308;
}

.film-nav {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.film-nav[hidden] {
  display: none;
}

.film-nav button,
.film-nav span {
  border: 0;
  background: none;
  color: var(--star);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px #030308;
}

.film-nav button {
  position: fixed;
  top: 50%;
  display: grid;
  width: 48px;
  height: 72px;
  place-items: center;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  pointer-events: auto;
  font-family: var(--body);
  font-size: 32px;
  line-height: 1;
  opacity: 0.22;
  transform: translate(-50%, -50%);
  text-shadow: 0 0 18px color-mix(in srgb, var(--glow) 22%, transparent);
  transition: color 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease;
}

.film-nav button::before {
  content: "";
  position: absolute;
  inset: -24px;
}

#filmPrev {
  left: calc(50% - 170px);
  background: none;
}

#filmNext {
  right: auto;
  left: calc(50% + 170px);
  background: none;
}

.film-nav > span {
  display: none;
}

.work-info {
  position: fixed;
  left: 50%;
  top: calc(92px + env(safe-area-inset-top));
  z-index: 40;
  max-width: min(380px, 42vw);
  text-align: center;
  transform: translateX(-50%);
  text-shadow: 0 2px 20px #030308;
}

.work-info[hidden],
.work-controls[hidden] {
  display: none;
}

.work-info > span {
  color: #8f99ab;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.work-info h2 {
  margin: 8px 0 7px;
  max-width: none;
  font-size: clamp(18px, 2.5vw, 30px);
  line-height: 1.15;
}

.work-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #c8ced9;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  justify-content: center;
}

.work-info p i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c8ced9;
}

.work-info p i:has(+ span:empty),
.work-info p span:empty + i {
  display: none;
}

body[data-view="work"][data-sector="dj"] .work-controls {
  bottom: calc(248px + env(safe-area-inset-bottom));
}

.work-controls {
  position: fixed;
  left: 50%;
  bottom: calc(66px + env(safe-area-inset-bottom));
  z-index: 40;
  display: grid;
  width: min(680px, calc(100% - 80px));
  grid-template-columns: auto auto minmax(100px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  color: #dce2ec;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-controls button {
  min-height: 48px;
  border: 0;
  padding: 0;
  background: none;
  color: #f2f4f8;
  font: inherit;
  padding: 0 6px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.work-controls input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 0;
  outline: none;
  background: transparent;
  accent-color: #eef3fb;
  cursor: ew-resize;
}

.work-controls input::-webkit-slider-runnable-track {
  height: 1px;
  background: rgba(225, 234, 248, 0.35);
}

.work-controls input::-webkit-slider-thumb {
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-radius: 50%;
  background: #f4f7fb;
  box-shadow: 0 0 12px rgba(225, 236, 255, 0.7);
  -webkit-appearance: none;
}

.hint {
  bottom: calc(22px + env(safe-area-inset-bottom));
  font-size: 10px;
  color: var(--dim);
}

body[data-view="home"] #spaceHint {
  display: none;
}

body:has(#filmNav:not([hidden])) .hint {
  display: none;
}

body:has(#filmNav:not([hidden])) .caption {
  bottom: calc(88px + env(safe-area-inset-bottom));
}

.caption {
  bottom: calc(52px + env(safe-area-inset-bottom));
  font-size: 12px;
  color: var(--star);
  max-width: min(80vw, 42ch);
}

.back-space {
  position: fixed;
  top: calc(58px + env(safe-area-inset-top));
  left: 32px;
  z-index: 40;
  border: 0;
  background: none;
  color: var(--star);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  text-shadow: 0 2px 18px #030308;
}

.contact-float {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%);
  z-index: 40;
  pointer-events: auto;
  width: min(720px, calc(100% - 48px));
  text-align: center;
  text-shadow:
    0 1px 2px rgba(3, 3, 8, 0.95),
    0 8px 36px rgba(3, 3, 8, 0.9);
}

.contact-float h1,
.contact-float .lede {
  margin-left: auto;
  margin-right: auto;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 30px 0 18px;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label > span {
  color: #8f99ab;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(220, 230, 246, 0.3);
  border-radius: 0;
  padding: 10px 0;
  outline: none;
  background: transparent;
  color: #f1f4f9;
  font: 400 14px var(--body);
  resize: vertical;
  transition: border-color 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(238, 244, 255, 0.9);
}

.contact-message {
  grid-column: 1 / -1;
}

.contact-form button {
  justify-self: start;
}

.contact-submit {
  min-height: 44px;
  min-width: 0;
  border: 0;
  border-radius: 0;
  padding: 0 2px 8px;
  background: none;
  box-shadow: none;
  font-size: 12px;
  letter-spacing: 0.2em;
  box-shadow: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  transition: border-color 0.25s ease, letter-spacing 0.25s ease, color 0.25s ease;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.55;
}

.contact-status {
  min-height: 16px;
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-links a {
  color: var(--contact-link);
  text-decoration: none;
}

.letter-wave span {
  display: inline-block;
  color: var(--letter-color, var(--contact-link));
  transform: translateY(var(--letter-lift, 0)) scale(var(--letter-scale, 1));
  transform-origin: 50% 75%;
  transition: color 0.12s ease, transform 0.12s ease;
  will-change: color, transform;
}

.about-float {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 40;
  display: grid;
  width: min(920px, calc(100% - 48px));
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  text-align: left;
  transform: translate(-50%, -44%);
  text-shadow:
    0 1px 2px rgba(3, 3, 8, 0.98),
    0 12px 46px rgba(3, 3, 8, 0.95);
}

.about-portrait {
  width: min(280px, 30vw);
  margin: 0;
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}

.about-portrait figcaption {
  margin-top: 10px;
  color: #8994a8;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-float:not(:has(.about-portrait:not([hidden]))) {
  width: min(650px, calc(100% - 48px));
  grid-template-columns: 1fr;
  text-align: center;
}

.lab-float {
  position: fixed;
  left: clamp(32px, 8vw, 120px);
  top: 50%;
  z-index: 20;
  width: min(560px, 44vw);
  text-align: left;
  transform: translateY(-46%);
  text-shadow:
    0 1px 2px rgba(3, 3, 8, 0.98),
    0 12px 46px rgba(3, 3, 8, 0.95);
}

.lab-float::before {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #f4f5f8, transparent);
  box-shadow: 0 0 12px rgba(220, 232, 255, 0.45);
}

.lab-status {
  margin: 0 0 28px;
  color: #cbd4e5;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lab-status span {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: #dfffe8;
  box-shadow: 0 0 10px #dfffe8;
  animation: lab-pulse 1.8s ease-in-out infinite;
}

.lab-status b,
.lab-modules b {
  font: inherit;
  letter-spacing: inherit;
}

.lab-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.lab-modules div {
  padding-top: 12px;
  border-top: 1px solid rgba(214, 225, 245, 0.28);
  color: #e5e9f1;
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  animation: lab-module-float 5s ease-in-out infinite alternate;
}

.lab-modules div:nth-child(2) {
  animation-delay: -1.8s;
}

.lab-modules div:nth-child(3) {
  animation-delay: -3.4s;
}

.lab-modules span {
  display: block;
  margin-bottom: 7px;
  color: #7f8ba0;
}

.lab-projects {
  display: grid;
  max-height: 22vh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
  margin-top: 28px;
  overflow-y: auto;
  scrollbar-width: none;
}

.lab-projects::-webkit-scrollbar {
  display: none;
}

.lab-projects a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  padding: 11px 2px;
  border-top: 1px solid rgba(214, 225, 245, 0.2);
  color: #f0f3f8;
  font-family: var(--mono);
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.lab-projects a > span {
  grid-row: 1 / 3;
  color: #7f8ba0;
  font-size: 7px;
  letter-spacing: 0.16em;
}

.lab-projects strong {
  overflow: hidden;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lab-projects small {
  color: #8f9aae;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.lab-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 11px 2px;
  border-top: 1px solid rgba(214, 225, 245, 0.2);
  color: #778297;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes lab-pulse {
  50% { opacity: 0.35; transform: scale(0.7); }
}

@keyframes lab-module-float {
  from { transform: translateY(-2px); }
  to { transform: translateY(6px); }
}

.about-float:not([hidden]),
.contact-float:not([hidden]),
.lab-float:not([hidden]) {
  animation: section-arrive 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes section-arrive {
  from {
    opacity: 0;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

.about-float h1,
.about-float .lede {
  margin-left: auto;
  margin-right: auto;
}

.about-float[hidden],
.contact-float[hidden],
.lab-float[hidden],
.back-space[hidden] {
  display: none;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9ced8;
}

h1,
h2 {
  margin: 0 0 14px;
  font-family: var(--disp);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(22px, 4.4vw, 42px);
  line-height: 1.2;
  max-width: 14ch;
}

.lede {
  margin: 0 0 22px;
  max-width: 42ch;
  color: #e6e8ee;
  font-size: 16px;
  line-height: 1.55;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 2px;
  border: none;
  background: none;
  color: var(--star);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.cta-row .orb + .orb::before {
  content: "·";
  margin-right: 12px;
  color: var(--dim);
  letter-spacing: 0;
}

.ground {
  margin: 22px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c9ced8;
}

#admin {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  overflow: auto;
  background: rgba(3, 3, 8, 0.92);
  backdrop-filter: blur(18px);
}

#admin.open {
  display: block;
}

.adm-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: calc(88px + env(safe-area-inset-top)) 20px 80px;
}

.adm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.adm-head .wordmark {
  height: 14px;
  width: auto;
}

.adm-note a {
  color: var(--star);
}

.nightlife-scene-admin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 8px 0 28px;
}

.world-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 18px 0 20px;
}

.world-admin {
  padding-top: 12px;
  border-top: 1px solid rgba(214, 225, 245, 0.16);
}

.world-admin strong {
  display: block;
  margin-bottom: 10px;
  color: var(--star);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trusted-film-picks {
  display: grid;
  gap: 8px;
}

.crop-field {
  margin: 8px 0 18px;
}

.crop-stage {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 10px 0 8px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  border-radius: 50%;
  background: #0b0d14;
  box-shadow: 0 0 28px color-mix(in srgb, var(--glow) 18%, transparent);
  cursor: grab;
  touch-action: none;
}

.crop-stage:active {
  cursor: grabbing;
}

#trustedZoom {
  width: min(220px, 100%);
}

.field {
  margin-bottom: 14px;
}

.field label,
.check {
  display: block;
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 18px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(10, 12, 20, 0.7);
  color: var(--star);
  font-family: var(--body);
}

.field textarea {
  min-height: 88px;
}

.color-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.color-fields input[type="color"] {
  height: 52px;
  padding: 5px;
  cursor: pointer;
}

.adm-note,
.adm-msg {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dim);
  margin: 0 0 18px;
}

.adm-msg.err {
  color: #ff8a8a;
}

.adm-msg.ok {
  color: #d8ffe4;
}

.adm-list {
  margin: 22px 0 40px;
  border-top: 1px solid var(--stroke);
}

.adm-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--stroke);
}

.adm-row .info {
  flex: 1;
  min-width: 0;
}

.adm-row .t {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.adm-row .m {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
}

.icon-btn {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--star);
  background: transparent;
}

@media (max-width: 860px) {
  html {
    scroll-snap-type: y proximity;
    overscroll-behavior-y: none;
  }

  body.space-shell {
    touch-action: pan-y;
  }

  body.is-ready .space-menu button,
  body.is-ready .space-menu button:nth-child(2),
  body.is-ready .space-menu button:nth-child(3),
  body.is-ready .space-menu button:nth-child(4) {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .scroll-track section {
    height: 100dvh;
    min-height: 100dvh;
    scroll-snap-stop: normal;
  }

  .back-space {
    left: 20px;
    min-width: 48px;
    min-height: 44px;
  }

  .dock {
    left: 0;
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-float {
    left: 50%;
    width: calc(100% - 40px);
    max-height: 82dvh;
    padding-bottom: 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    transform: translate(-50%, -46%);
  }

  .contact-form {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-top: 22px;
  }

  .contact-message {
    grid-column: 1;
  }

  .contact-submit {
    width: auto;
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .about-float {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .about-portrait {
    width: min(150px, 42vw);
    margin: 0 auto;
  }

  .lab-float {
    left: 50%;
    width: min(620px, calc(100% - 40px));
    text-align: center;
    transform: translate(-50%, -46%);
  }

  .lab-float::before {
    margin-left: auto;
    margin-right: auto;
  }

  .lab-modules {
    gap: 10px;
  }

  .lab-projects {
    grid-template-columns: 1fr;
  }

  .dock nav {
    gap: 0;
  }

  .dock nav a {
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    letter-spacing: 0.13em;
    touch-action: manipulation;
  }

  .space-menu {
    width: calc(100% - 36px);
    gap: 12px;
  }

  .trusted-faces {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  body[data-view="home"][data-menu-hover="dj"] .trusted-rail:not([hidden]) {
    top: 44%;
    width: auto;
    max-width: calc(100vw - 28px);
    transform: translate(-50%, -50%);
  }

  body[data-view="home"][data-menu-hover="dj"] .trusted-kicker {
    font-size: 13px;
  }

  body[data-view="home"][data-menu-hover="dj"] .trusted-faces {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100vw - 28px);
    max-height: min(50vh, calc(100svh - 220px));
    overflow-x: hidden;
    overflow-y: auto;
  }

  .trusted-face {
    flex: 0 0 auto;
  }

  .world-admin-grid {
    grid-template-columns: 1fr;
  }

  .directory-nodes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 6px 10px;
  }

  .space-menu button {
    min-width: 0;
    min-height: 92px;
    flex: 1;
    padding: 20px 8px 12px;
    font-size: 13px;
    letter-spacing: 0.12em;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .menu-node {
    left: 3px;
  }

  .menu-meta {
    display: block;
    max-width: 16ch;
    font-size: 9px;
  }

  .trusted-rail {
    bottom: calc(108px + env(safe-area-inset-bottom));
  }

  .trusted-embed {
    width: min(300px, 88vw);
    height: min(420px, 42vh);
    transform: translate(-50%, calc(-50% + 8px));
  }

  body[data-view="work"][data-sector="dj"] .trusted-face {
    min-width: 96px;
    max-width: 120px;
  }

  body[data-view="work"][data-sector="dj"] .trusted-photo {
    width: 96px;
    height: 96px;
  }

  body[data-view="work"][data-sector="dj"][data-client]:not([data-client=""]) .trusted-embed.is-on {
    top: 46%;
    bottom: auto;
    width: min(320px, 84vw);
    height: min(420px, calc(100svh - 320px));
    transform: translate(-50%, -50%);
  }

  .nightlife-hover-film {
    top: calc(64px + env(safe-area-inset-top));
    width: min(640px, 88vw);
  }

  .nightlife-scene-admin {
    grid-template-columns: 1fr;
  }

  .trusted-face,
  .trusted-photo {
    animation: none;
  }

  .telemetry-b,
  .telemetry-c,
  .telemetry-axis-y {
    display: none;
  }

  .telemetry-a {
    top: 15vh;
    left: 20px;
  }

  .telemetry-axis-x {
    top: 35%;
    right: 8vw;
    width: 36vw;
  }

  .work-info {
    top: calc(88px + env(safe-area-inset-top));
    bottom: auto;
    left: 50%;
    width: calc(100% - 40px);
    max-width: none;
    text-align: center;
    transform: translateX(-50%);
  }

  .work-info p {
    justify-content: center;
  }

  .film-nav {
    inset: 0;
    transform: none;
  }

  .film-nav button {
    width: 48px;
    height: 64px;
    font-size: 28px;
    opacity: 0.78;
    touch-action: manipulation;
  }

  .work-controls {
    width: calc(100% - 30px);
    grid-template-columns: auto auto minmax(70px, 1fr) auto;
    gap: 10px;
    bottom: calc(40px + env(safe-area-inset-bottom));
    font-size: 10px;
    touch-action: manipulation;
  }

  body[data-view="work"][data-sector="dj"] .work-controls {
    bottom: calc(220px + env(safe-area-inset-bottom));
  }

  .work-controls #filmTime {
    display: none;
  }
}

@media (pointer: coarse) {
  .trusted-face,
  .trusted-photo {
    animation: none;
  }

  .trusted-photo-video {
    opacity: 1;
  }

  #webgl {
    pointer-events: none !important;
  }

  a, button, input, textarea, label, select {
    touch-action: manipulation;
  }
}

@media (hover: hover) and (pointer: fine) {
  nav a:hover {
    color: var(--star);
  }

  .nav-lab:hover {
    opacity: 0.8;
  }

  .space-menu button:hover::before {
    opacity: 0.9;
    transform: translateX(-50%) scaleX(1);
  }

  .space-menu button:hover::after {
    transform: translateX(-50%) scale(1);
    box-shadow:
      0 0 7px var(--accent),
      0 0 24px color-mix(in srgb, var(--glow) 80%, transparent);
  }

  .space-menu button:hover .menu-node,
  .space-menu button:hover .menu-meta {
    opacity: 1;
    transform: translate(0);
  }

  .space-menu button:hover .menu-label {
    letter-spacing: 0.2em;
    transform: translateY(-3px);
    text-shadow:
      0 0 8px rgba(235, 242, 255, 0.7),
      0 0 28px rgba(190, 215, 255, 0.32);
  }

  .film-nav button:hover {
    color: var(--accent);
    background: none;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
    text-shadow: 0 0 24px color-mix(in srgb, var(--glow) 62%, transparent);
  }

  .lab-projects a:hover {
    border-color: rgba(232, 240, 255, 0.78);
    transform: translateX(4px);
  }

  .orb:hover {
    letter-spacing: 0.28em;
  }

  .trusted-face:hover .trusted-photo {
    opacity: 1;
  }

  .contact-submit:hover {
    background: none;
    box-shadow: none;
    border-color: var(--accent);
    letter-spacing: 0.24em;
  }

  .trusted-face:hover .trusted-photo-video,
  .trusted-face.is-on .trusted-photo-video {
    opacity: 1;
  }

  .trusted-embed-fallback:hover {
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch-intro {
    display: none;
  }

  body.intro-running {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .space-menu button {
    opacity: 1;
    transform: none;
    animation: none !important;
  }

  .trusted-rail,
  .trusted-face,
  .trusted-photo,
  .scene-veil {
    animation: none !important;
    transition: none !important;
  }

  body[data-view="home"][data-menu-hover="dj"] .trusted-face:not(.is-reel),
  body[data-view="work"][data-sector="dj"] .trusted-face {
    opacity: 1;
    transform: none;
  }
}
