/* The scene is transparent: the public grain and neon sit behind the orbit. */
.studio-site .hero-wrap {
  width: min(94.4%, 1650px);
  display: grid;
  grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr);
  gap: clamp(.5rem, 1vw, 1.5rem);
  min-height: clamp(365px, 31.2vw, 540px);
}
.studio-site .hero-copy { width: 100%; }
.genre-orbit {
  position: relative;
  isolation: isolate;
  align-self: center;
  width: 100%;
  height: clamp(350px, 29vw, 500px);
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 1rem;
}
.orbit-rings, .orbit-wave { position: absolute; pointer-events: none; }
.orbit-rings {
  inset: 0; width: 100%; height: 100%;
  mask-image: linear-gradient(to bottom, #000b, #000 66%);
}
.orbit-wave {
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(4px, .42vw, 7px);
  height: 44px;
}
.orbit-wave i {
  width: 2px; height: 100%;
  background: #c4f2ff;
  border-radius: 1px;
  box-shadow: 0 0 4px #79dbff, 0 0 13px #449bfb;
  transform: scaleY(var(--level, .12));
}
.orbit-wave i:nth-child(2), .orbit-wave i:nth-child(6) { --level: .24; }
.orbit-wave i:nth-child(3), .orbit-wave i:nth-child(5) { --level: .48; }
.orbit-wave i:nth-child(4) { --level: .78; }

.orbit-node { color: #eff8ff; text-decoration: none; }
.genre-orbit[data-ready] .orbit-node {
  position: absolute;
  left: 0; top: 0;
  border-radius: 12px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.genre-orbit[data-ready] .orbit-node:focus-visible { outline: 1px solid #d3b9ff; outline-offset: 1px; }
.orbit-point, .orbit-cue { display: none; }
.genre-orbit[data-ready] :is(.orbit-point, .orbit-name, .orbit-cue) { position: absolute; }
.orbit-name {
  white-space: nowrap;
  font-size: clamp(.9rem, 1.56vw, 1.65rem);
  line-height: 1.12; letter-spacing: -.035em; font-weight: 470;
  text-shadow: 0 1px 3px #080b10, 0 0 8px #0b192b;
}
.genre-orbit[data-ready] .orbit-point {
  --aura: #65cfff;
  display: grid; place-items: center;
  width: var(--diameter); height: var(--diameter);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.3px solid #bef0ff;
  color: var(--aura);
  background: radial-gradient(circle, #b0efff66, #4390bb44 49%, #26354666 72%);
  box-shadow: 0 0 4px currentColor, inset 0 0 7px currentColor, 0 0 17px #38adf6aa;
}
.orbit-point::after {
  content: ""; width: 38%; height: 38%; border-radius: 50%;
  background: #f1ffff; box-shadow: 0 0 6px 2px currentColor;
}
.genre-orbit[data-ready] :is(.orbit-point, .orbit-name, .orbit-cue) { z-index: 2; }
.genre-orbit .orbit-node[data-active] :is(.orbit-point, .orbit-name, .orbit-cue) { z-index: 3; }
.orbit-core { position: absolute; inset: 36% 35%; pointer-events: none; }
.genre-orbit .orbit-node[data-active] .orbit-point {
  --aura: #cb7aff;
  transform: translate(-50%, -50%) scale(1.19);
  background: radial-gradient(circle, #f6d4ff99, #a45bf977 55%, #7549b933);
  border-color: #f2dfff;
  box-shadow: 0 0 5px #dbabff, inset 0 0 9px #ce89ff, 0 0 21px 3px #ac4affaa;
}
.orbit-node[data-active] .orbit-name { color: #fff5ff; text-shadow: 0 0 11px #b55bf5aa, 0 1px 4px #120919; }
.orbit-node[data-active] .orbit-cue {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  height: var(--cue-height); width: var(--cue-width); white-space: nowrap;
  border-radius: 2rem; border: 1px solid #d0a0f9;
  background: #201a2dd9; color: #fff2ff;
  font: 520 clamp(.64rem, .78vw, .84rem)/1 var(--dx-font);
  font-variant-numeric: tabular-nums;
}
.orbit-cue i {
  width: 0; height: 0;
  border-block: .38em solid transparent; border-left: .59em solid currentColor;
}
.orbit-node[aria-pressed="true"] .orbit-cue i {
  width: .62em; height: .76em;
  border: 0; border-inline: .21em solid currentColor;
}
.orbit-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 810px) {
  .studio-site .hero-wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: min(calc(100% - var(--gutter) * 2), 1440px); }
  .studio-site .hero-copy { padding: 2rem 0 0; }
  .genre-orbit { height: clamp(225px, 61vw, 355px); margin: .55rem 0; }
  .orbit-name { font-size: clamp(.84rem, 3.55vw, 1.2rem); }
  .orbit-wave { height: 32px; }
}
@media (forced-colors: active) {
  .orbit-node { color: LinkText; }
  .orbit-point::after, .orbit-wave i { background: CanvasText; }
}

/* Vision Inspector, LYR Investor: use the original four stepped animations. */
@media (prefers-reduced-motion: no-preference) {
  .orbit-glitch::after {
    position: absolute;
    inset: 0;
    z-index: 4;
    content: '';
    background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(66, 232, 255, 0.045) 4px, transparent 5px);
    mix-blend-mode: screen;
    opacity: 0.28;
    pointer-events: none;
  }

  .orbit-glitch {
    overflow: hidden;
    animation: visionInspectorGlitchIn 720ms steps(1, end) both;
  }

  .orbit-glitch::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    max-width: 100%;
    content: attr(data-glitch-copy);
    color: #f5fbff;
    font: 700 clamp(1.15rem, 1.5vw, 1.55rem)/1.05 var(--dx-font);
    text-shadow: -3px 0 rgba(66, 232, 255, 0.62), 3px 0 rgba(255, 92, 207, 0.56), 0 0 10px rgba(143, 124, 255, 0.48);
    opacity: 0;
    pointer-events: none;
    animation: visionGlitchLabel 720ms steps(2, end) both;
  }

  .orbit-glitch::after {
    background:
      linear-gradient(90deg, rgba(66, 232, 255, 0.12), transparent 26%, rgba(255, 92, 207, 0.11) 72%, transparent),
      repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.08) 4px, rgba(52, 211, 153, 0.055) 5px, transparent 7px);
    animation: visionGlitchScan 720ms steps(3, end) both;
  }

  .orbit-glitch-bands {
    position: absolute;
    inset: 0;
    z-index: 9;
    overflow: hidden;
    opacity: 0.68;
    pointer-events: none;
  }

  .orbit-glitch-bands i {
    --band-color: #42e8ff;
    --band-top: 10%;
    --band-left: -4%;
    --band-width: 58%;
    --band-height: 3px;
    --band-delay: 0ms;
    position: absolute;
    top: var(--band-top);
    left: var(--band-left);
    width: var(--band-width);
    height: var(--band-height);
    background: var(--band-color);
    box-shadow: 0 0 5px var(--band-color), 18px 0 0 color-mix(in srgb, var(--band-color) 30%, transparent);
    opacity: 0;
    mix-blend-mode: screen;
    animation: visionCyberBand 720ms steps(2, end) var(--band-delay) both;
  }

  .orbit-glitch-bands i:nth-child(2) { --band-color: #ff5ccf; --band-top: 16%; --band-left: 34%; --band-width: 72%; --band-height: 5px; --band-delay: 18ms; }
  .orbit-glitch-bands i:nth-child(3) { --band-color: #8f7cff; --band-top: 24%; --band-left: 4%; --band-width: 38%; --band-height: 2px; --band-delay: 42ms; }
  .orbit-glitch-bands i:nth-child(4) { --band-color: #34d399; --band-top: 31%; --band-left: 55%; --band-width: 52%; --band-height: 3px; --band-delay: 8ms; }
  .orbit-glitch-bands i:nth-child(5) { --band-color: #42e8ff; --band-top: 43%; --band-left: -8%; --band-width: 82%; --band-height: 11px; --band-delay: 66ms; }
  .orbit-glitch-bands i:nth-child(6) { --band-color: #ff5ccf; --band-top: 51%; --band-left: 44%; --band-width: 61%; --band-height: 2px; --band-delay: 24ms; }
  .orbit-glitch-bands i:nth-child(7) { --band-color: #ffd60a; --band-top: 59%; --band-left: 10%; --band-width: 46%; --band-height: 4px; --band-delay: 90ms; }
  .orbit-glitch-bands i:nth-child(8) { --band-color: #8f7cff; --band-top: 67%; --band-left: 62%; --band-width: 44%; --band-height: 9px; --band-delay: 36ms; }
  .orbit-glitch-bands i:nth-child(9) { --band-color: #42e8ff; --band-top: 75%; --band-left: -3%; --band-width: 55%; --band-height: 2px; --band-delay: 118ms; }
  .orbit-glitch-bands i:nth-child(10) { --band-color: #ff9933; --band-top: 83%; --band-left: 37%; --band-width: 71%; --band-height: 6px; --band-delay: 54ms; }
  .orbit-glitch-bands i:nth-child(11) { --band-color: #34d399; --band-top: 90%; --band-left: 5%; --band-width: 34%; --band-height: 3px; --band-delay: 76ms; }
  .orbit-glitch-bands i:nth-child(12) { --band-color: #8f7cff; --band-top: 95%; --band-left: 58%; --band-width: 48%; --band-height: 2px; --band-delay: 12ms; }

  @keyframes visionInspectorGlitchIn {
    0% { opacity: 0.12; transform: translateX(16px) skewX(-1.7deg); filter: saturate(1.8) contrast(1.3) hue-rotate(18deg) drop-shadow(-5px 0 rgba(66, 232, 255, 0.42)) drop-shadow(5px 0 rgba(255, 92, 207, 0.38)); clip-path: inset(0 0 78% 0); }
    7% { opacity: 0.88; transform: translateX(-10px) skewX(1deg); clip-path: inset(8% 0 48% 0); }
    13% { opacity: 1; transform: translateX(8px); filter: saturate(1.65) contrast(1.22) hue-rotate(-18deg) drop-shadow(-4px 0 rgba(66, 232, 255, 0.38)) drop-shadow(4px 0 rgba(255, 92, 207, 0.34)); clip-path: inset(62% 0 7% 0); }
    20% { transform: translateX(-6px) skewX(-0.8deg); clip-path: inset(21% 0 36% 0); }
    29% { transform: translateX(5px); filter: saturate(1.45) contrast(1.16) drop-shadow(-3px 0 rgba(66, 232, 255, 0.3)) drop-shadow(3px 0 rgba(255, 92, 207, 0.28)); clip-path: inset(0); }
    38% { transform: translateX(-3px); clip-path: inset(47% 0 23% 0); }
    46% { transform: translateX(2px); clip-path: inset(0); }
    58% { transform: translateX(-1px); filter: saturate(1.15) contrast(1.05); }
    72%, 100% { opacity: 1; transform: translateX(0); filter: none; clip-path: inset(0); }
  }

  @keyframes visionGlitchLabel {
    0%, 5%, 18%, 36%, 52%, 100% { opacity: 0; transform: translateX(0); }
    7%, 15% { opacity: 0.68; transform: translateX(-10px) skewX(-2deg); clip-path: inset(0 0 58% 0); }
    21%, 31% { opacity: 0.52; transform: translateX(8px); clip-path: inset(48% 0 0 0); }
    39%, 47% { opacity: 0.34; transform: translateX(-4px); clip-path: inset(28% 0 37% 0); }
  }

  @keyframes visionGlitchScan {
    0% { opacity: 0.62; transform: translateY(-34%); background-position: 0 0, 0 0; }
    12% { opacity: 0.48; transform: translateY(-8%); background-position: 16px 0, 0 3px; }
    25% { opacity: 0.38; transform: translateY(18%); background-position: -11px 0, 0 9px; }
    39% { opacity: 0.28; transform: translateY(44%); background-position: 8px 0, 0 14px; }
    54% { opacity: 0.16; transform: translateY(73%); }
    68%, 100% { opacity: 0.1; transform: translateY(0); }
  }

  @keyframes visionCyberBand {
    0%, 5%, 20%, 39%, 57%, 100% { opacity: 0; transform: translateX(-28%) scaleX(0.22); }
    7%, 13% { opacity: 0.62; transform: translateX(13px) scaleX(1); }
    23%, 31% { opacity: 0.46; transform: translateX(-9px) scaleX(0.68); }
    42%, 49% { opacity: 0.28; transform: translateX(24px) scaleX(0.86); }
  }

  .orbit-name.orbit-glitch::before { font: inherit; }
  .orbit-core.orbit-glitch::before { inset: 28% 0 auto; text-align: center; }
}
