@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=Manrope:wght@300;400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #f3f0f8;
  --muted: #938da3;
  --soft: #c8c2d2;
  --void: #05030b;
  --void-blue: #090b1c;
  --violet: #8f78ff;
  --cyan: #91e6f0;
  --line: rgba(232, 225, 255, 0.14);
  --edge: clamp(1.35rem, 4vw, 4.5rem);
  --header-height: 6rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --mx: 50vw;
  --my: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: rgba(143, 120, 255, 0.45) #05030b;
  scrollbar-width: thin;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--void);
  color: var(--ink);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: text;
  user-select: text;
}

body.is-loading {
  overflow: hidden;
}

::selection {
  background: rgba(148, 126, 255, 0.34);
  color: #fff;
  text-shadow: none;
}

::-moz-selection {
  background: rgba(148, 126, 255, 0.34);
  color: #fff;
  text-shadow: none;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #05030b;
}

::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: linear-gradient(#4b3c78, #8f78ff);
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

a {
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: #090510;
  background: #f4f0ff;
  border-radius: 99px;
  transform: translateY(-180%);
  transition: transform 0.3s var(--ease-out);
}

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

.boot-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 1.4rem;
  align-content: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(67, 47, 118, 0.25), transparent 35%),
    #05030b;
  transition: opacity 1s var(--ease-smooth), visibility 1s;
  animation: bootExit 0.8s var(--ease-smooth) 1.15s forwards;
}

.boot-screen.is-complete {
  opacity: 0;
  visibility: hidden;
}

.boot-screen p {
  margin: 0;
  color: #aaa3b8;
  font-family: "DM Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.boot-mark {
  position: relative;
  width: 4.8rem;
  height: 4.8rem;
}

.boot-core,
.boot-orbit {
  position: absolute;
  inset: 50%;
  display: block;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.boot-core {
  width: 0.55rem;
  height: 0.55rem;
  background: #d9d2ff;
  box-shadow: 0 0 1.5rem #9f8cff;
  animation: bootPulse 1.6s ease-in-out infinite;
}

.boot-orbit {
  width: 4rem;
  height: 1.6rem;
  border: 1px solid rgba(187, 175, 255, 0.5);
  transform: translate(-50%, -50%) rotate(-28deg);
  animation: bootOrbit 2s linear infinite;
}

.boot-orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.2rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: #a38dff;
  box-shadow: 0 0 0.8rem #8f78ff;
}

#starfield {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    radial-gradient(circle at 75% 18%, rgba(42, 34, 83, 0.15), transparent 36%),
    radial-gradient(circle at 15% 74%, rgba(18, 46, 76, 0.13), transparent 35%),
    #05030b;
}

main {
  position: relative;
  z-index: 1;
}

.space-noise {
  position: fixed;
  z-index: 90;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.cursor {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.35s ease, width 0.35s var(--ease-out), height 0.35s var(--ease-out), background 0.35s;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: #e9e4ff;
  box-shadow: 0 0 12px #a491ff;
}

.cursor-field {
  width: 36px;
  height: 36px;
  margin: -15px 0 0 -15px;
  border: 1px solid rgba(199, 190, 255, 0.36);
}

body.has-pointer .cursor {
  opacity: 1;
}

body.is-hovering .cursor-field {
  width: 66px;
  height: 66px;
  margin: -30px 0 0 -30px;
  background: rgba(141, 120, 255, 0.07);
  border-color: rgba(213, 206, 255, 0.58);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--edge);
  font-size: 0.95rem;
  transition: transform 0.5s var(--ease-out), background 0.5s, border-color 0.5s;
}

.site-header.is-condensed {
  background: linear-gradient(180deg, rgba(5, 3, 11, 0.88), rgba(5, 3, 11, 0.18));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
}

.brand,
.site-header nav,
.signal-link {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  height: 3.2rem;
}

.brand-logo {
  display: block;
  width: auto;
  height: 2.9rem;
  object-fit: contain;
}

.site-header nav {
  gap: clamp(1.6rem, 3vw, 3.8rem);
}

.nav-link,
.signal-link {
  position: relative;
  color: #aaa4b6;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: #d8d1ff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}

.nav-link:hover,
.nav-link:focus-visible,
.signal-link:hover,
.signal-link:focus-visible {
  color: #f4f0ff;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.signal-link {
  justify-self: end;
  gap: 0.65rem;
}

.signal-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #98e2d2;
  box-shadow: 0 0 0 0 rgba(152, 226, 210, 0.5);
  animation: signal 2.8s ease-out infinite;
}

.journey {
  position: relative;
  isolation: isolate;
}

.journey-astronaut {
  position: sticky;
  z-index: 2;
  top: 0;
  height: 100svh;
  margin-bottom: -100svh;
  overflow: hidden;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: auto;
  display: flex;
  min-height: 100svh;
  padding: calc(var(--header-height) + 4vh) var(--edge) 7vh;
  overflow: hidden;
  align-items: center;
  isolation: auto;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 3, 11, 0.98) 0%, rgba(5, 3, 11, 0.45) 52%, rgba(5, 3, 11, 0.16) 100%),
    radial-gradient(circle at 79% 44%, rgba(82, 62, 146, 0.16), transparent 34%);
}

.hero-aurora {
  position: absolute;
  z-index: 0;
  top: 5%;
  right: -16%;
  width: 70vw;
  height: 80vh;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(75, 56, 137, 0.14), rgba(13, 23, 54, 0.06) 45%, transparent 70%);
  filter: blur(35px);
  transform: rotate(-12deg);
  animation: breathe 9s ease-in-out infinite alternate;
}

.astronaut-field {
  --astronaut-pointer-x: 0px;
  --astronaut-pointer-y: 0px;
  --astronaut-depth-y: 0px;
  --astronaut-scale: 1;
  --astronaut-blur: 0px;
  --astronaut-opacity: 0.64;
  position: absolute;
  z-index: 0;
  top: -2vh;
  right: -2vw;
  width: min(59vw, 860px);
  height: 108vh;
  opacity: var(--astronaut-opacity);
  filter: blur(var(--astronaut-blur));
  transform: translate3d(
      var(--astronaut-pointer-x),
      calc(var(--astronaut-pointer-y) + var(--astronaut-depth-y)),
      0
    )
    scale(var(--astronaut-scale));
  transform-origin: 72% 50%;
  pointer-events: none;
  will-change: transform, filter, opacity;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 28%, #000 88%, transparent 100%);
}

.astronaut-field::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 3, 11, 0.12), transparent 28%, transparent 72%, #05030b 100%);
}

.astronaut-field img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
  filter: saturate(0.74) contrast(0.9) brightness(0.75);
  animation: astronautFloat 13s ease-in-out infinite alternate;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: calc(100vw - 2 * var(--edge));
  max-width: none;
  margin-top: -2vh;
}

.eyebrow,
.section-index {
  font-family: "DM Mono", "SFMono-Regular", Consolas, monospace;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  width: min(100%, 30rem);
  margin: 0 0 clamp(2.2rem, 5vh, 4.5rem);
  color: #918a9f;
  font-size: clamp(0.58rem, 0.66vw, 0.7rem);
  letter-spacing: 0.14em;
  align-items: center;
  gap: 1rem;
}

.eyebrow-line {
  height: 1px;
  background: rgba(196, 187, 216, 0.3);
  flex: 1;
}

.hero h1 {
  margin: 0;
  font-weight: 300;
  letter-spacing: -0.072em;
  line-height: 0.82;
}

.hero-kicker,
.hero-name {
  display: block;
}

.hero-kicker {
  margin-bottom: 0.28em;
  color: #a8a1b2;
  font-size: clamp(1.2rem, 2.3vw, 2.15rem);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.hero-name {
  display: inline-block;
  width: max-content;
  max-width: none;
  font-size: clamp(4rem, 9.2vw, 9.5rem);
  white-space: nowrap;
  background: linear-gradient(105deg, #fbf9ff 10%, #b9b1ca 72%, #746b83 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 35px rgba(180, 161, 255, 0.08));
}

.title-dot {
  color: #a894ff;
  -webkit-text-fill-color: #a894ff;
  text-shadow: 0 0 2.5rem rgba(143, 120, 255, 0.68);
}

.hero-intro {
  width: min(37rem, 70%);
  margin: clamp(2rem, 5vh, 4rem) 0 0 clamp(0px, 5vw, 5.5rem);
  color: #b9b3c2;
  font-size: clamp(1.15rem, 1.65vw, 1.5rem);
  font-weight: 300;
  line-height: 1.62;
  letter-spacing: -0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: calc(var(--reveal-delay, 0) * 130ms);
}

.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

.enter-orbit {
  position: absolute;
  z-index: 3;
  right: var(--edge);
  bottom: 6.8vh;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.enter-orbit small {
  display: block;
  margin-bottom: 0.2rem;
  color: #7f798c;
  font-family: "DM Mono", monospace;
  font-size: 0.54rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.enter-orbit-icon {
  position: relative;
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(232, 226, 255, 0.2);
  border-radius: 50%;
  place-items: center;
  transition: border-color 0.35s, transform 0.6s var(--ease-out), background 0.35s;
}

.enter-orbit-icon::after {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  border-right: 1px solid #ddd7eb;
  border-bottom: 1px solid #ddd7eb;
  transform: rotate(45deg) translate(-3px, -3px);
}

.enter-orbit-icon span {
  position: absolute;
  inset: -0.35rem;
  border: 1px solid rgba(154, 136, 255, 0.18);
  border-radius: 50%;
  animation: orbitIcon 7s linear infinite;
}

.enter-orbit-icon span::before {
  content: "";
  position: absolute;
  top: 0.38rem;
  right: 0.2rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #aa98ff;
  box-shadow: 0 0 0.8rem #9d88ff;
}

.enter-orbit:hover .enter-orbit-icon,
.enter-orbit:focus-visible .enter-orbit-icon {
  border-color: rgba(222, 214, 255, 0.65);
  background: rgba(143, 120, 255, 0.08);
  transform: translateY(4px);
}

.hero-coordinates {
  position: absolute;
  z-index: 3;
  bottom: 2.2rem;
  left: var(--edge);
  display: flex;
  color: #585363;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  gap: 1.8rem;
  text-transform: uppercase;
}

.hero-coordinates b {
  color: #817b8a;
  font-weight: 300;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 50%;
  display: flex;
  color: #5f5969;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
}

.scroll-line {
  position: relative;
  width: 4.5rem;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.scroll-line i {
  position: absolute;
  width: 40%;
  height: 100%;
  background: #a797ef;
  animation: scrollLine 2.2s var(--ease-smooth) infinite;
}

.universe-scroll {
  position: relative;
  z-index: auto;
  height: max(145svh, 68rem);
  background: none;
}

.universe-scroll::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at calc(var(--mx) * 0.9) calc(var(--my) * 0.9), rgba(76, 59, 129, 0.06), transparent 15rem),
    radial-gradient(ellipse at 60% 50%, rgba(24, 19, 60, 0.18), transparent 58%),
    linear-gradient(110deg, rgba(10, 6, 19, 0.2), rgba(7, 8, 23, 0.2)),
    linear-gradient(180deg, rgba(5, 3, 11, 0.52) 0%, rgba(7, 5, 16, 0.62) 14%, rgba(5, 4, 15, 0.7) 84%, rgba(7, 4, 13, 0.74) 100%);
  pointer-events: none;
}

.universe-stage {
  --system-center-x: 66%;
  --system-center-y: 54%;
  --system-reveal: 0;
  --system-scale: 0.78;
  position: sticky;
  z-index: 3;
  top: 0;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.universe-stage::before {
  content: none;
}

.universe-copy {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--edge);
  width: min(27rem, 31vw);
  transform: translateY(-50%);
  pointer-events: auto;
}

.section-index {
  margin: 0 0 2rem;
  color: #777181;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.universe-copy h2,
.about h2,
.contact h2 {
  margin: 0;
  font-size: clamp(3.2rem, 6.5vw, 7.5rem);
  font-weight: 300;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.universe-copy h2 {
  font-size: clamp(3.2rem, 5.4vw, 6.2rem);
}

.universe-copy > p:not(.section-index) {
  width: 23rem;
  max-width: 100%;
  margin: 2rem 0 0;
  color: #847e8e;
  font-size: 1.08rem;
  line-height: 1.7;
}

.system-dossier {
  display: grid;
  width: min(100%, 23rem);
  min-height: 8.6rem;
  margin-top: clamp(2.3rem, 5vh, 4.5rem);
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(220, 211, 255, 0.11);
  background: linear-gradient(135deg, rgba(18, 13, 31, 0.78), rgba(7, 5, 14, 0.48));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(14px);
  align-content: center;
  transition: border-color 0.45s, background 0.45s, box-shadow 0.45s;
}

.system-dossier.is-active {
  border-color: rgba(177, 157, 255, 0.28);
  background: linear-gradient(135deg, rgba(26, 18, 45, 0.88), rgba(7, 5, 14, 0.56));
  box-shadow: 0 1.5rem 5rem rgba(82, 54, 145, 0.12);
}

.system-dossier small {
  margin-bottom: 0.55rem;
  color: #756d82;
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.system-dossier strong {
  color: #e8e3ee;
  font-size: 1.04rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.system-dossier span {
  max-width: 20rem;
  margin-top: 0.45rem;
  color: #888190;
  font-size: 0.9rem;
  line-height: 1.62;
}

.motion-toggle {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.58rem 0.78rem;
  border: 1px solid rgba(220, 211, 255, 0.12);
  border-radius: 99px;
  color: #8e8798;
  background: rgba(8, 6, 15, 0.5);
  font-family: "DM Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  pointer-events: auto;
  transition: color 0.35s, border-color 0.35s, background 0.35s;
}

.motion-toggle span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #9ce0d2;
  box-shadow: 0 0 0.75rem rgba(156, 224, 210, 0.45);
}

.motion-toggle b {
  font-weight: 400;
}

.motion-toggle:hover,
.motion-toggle:focus-visible {
  border-color: rgba(220, 211, 255, 0.3);
  color: #e7e1ef;
  background: rgba(18, 13, 30, 0.72);
}

.motion-toggle:focus-visible,
.system-star:focus-visible {
  outline: 2px solid rgba(225, 215, 255, 0.86);
  outline-offset: 0.35rem;
}

.motion-toggle[aria-pressed="true"] span {
  background: #978ca8;
  box-shadow: none;
}

.demo-link {
  text-decoration: none;
}

.demo-link[hidden] {
  display: none;
}

.demo-link span {
  background: #d2b7ff;
  box-shadow: 0 0 0.75rem rgba(191, 157, 255, 0.55);
}

.system-motion-toggle {
  position: absolute;
  z-index: 6;
  top: calc(var(--system-center-y) + clamp(11rem, 18vw, 18rem));
  left: var(--system-center-x);
  margin: 0;
  opacity: var(--system-reveal);
  justify-content: center;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color 0.35s, border-color 0.35s, background 0.35s, opacity 0.25s linear;
}

.system-motion-toggle b {
  width: 14ch;
  text-align: left;
}

.astronaut-drift {
  position: absolute;
  z-index: -2;
  top: 5vh;
  right: -6vw;
  width: min(42vw, 650px);
  height: 92vh;
  opacity: 0.085;
  transform: translate3d(0, var(--astronaut-y, 0), 0) rotate(7deg);
  filter: blur(0.6px);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse, #000 25%, transparent 72%);
}

.astronaut-drift img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.system-orbits {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: var(--system-reveal);
  pointer-events: none;
  transition: opacity 0.25s linear;
}

.system-orbit,
.system-star {
  position: absolute;
  top: var(--system-center-y);
  left: var(--system-center-x);
  display: block;
  border-radius: 50%;
}

.system-orbit {
  --orbit-tilt: -7deg;
  border: 1px solid rgba(176, 158, 229, 0.09);
  box-shadow: inset 0 0 3rem rgba(83, 56, 139, 0.015);
  transform: translate(-50%, -50%) rotate(var(--orbit-tilt)) scale(var(--system-scale));
  transition: transform 0.2s linear;
}

.system-orbit[data-tilt="10"] { --orbit-tilt: 10deg; }
.system-orbit[data-tilt="-12"] { --orbit-tilt: -12deg; }
.system-orbit[data-tilt="7"] { --orbit-tilt: 7deg; }
.system-orbit[data-tilt="-5"] { --orbit-tilt: -5deg; }
.system-orbit[data-tilt="12"] { --orbit-tilt: 12deg; }

.system-orbit-one {
  width: clamp(10rem, 15vw, 15rem);
  height: clamp(5.5rem, 8vw, 8rem);
}

.system-orbit-two {
  width: clamp(18rem, 25vw, 25rem);
  height: clamp(10rem, 14vw, 14rem);
}

.system-orbit-three {
  width: clamp(27rem, 37vw, 37rem);
  height: clamp(15rem, 22vw, 22rem);
}

.system-orbit-four {
  width: clamp(38rem, 51vw, 51rem);
  height: clamp(22rem, 31vw, 31rem);
}

.system-orbit-five {
  width: clamp(38rem, 56vw, 56rem);
  height: min(clamp(22rem, 38vw, 34rem), 72vh);
}

.system-orbit-six {
  width: clamp(43rem, 64vw, 64rem);
  height: min(clamp(27rem, 45vw, 40rem), 82vh);
}

.system-star {
  z-index: 2;
  display: grid;
  width: clamp(4.4rem, 6.2vw, 6.4rem);
  height: clamp(4.4rem, 6.2vw, 6.4rem);
  padding: 0;
  border: 0;
  overflow: visible;
  background:
    radial-gradient(circle at 33% 27%, rgba(255, 255, 239, 0.98) 0 3%, rgba(255, 239, 160, 0.58) 5%, transparent 12%),
    radial-gradient(circle at 50% 47%, #fff7b1 0 7%, #ffd65c 24%, #ff9b24 49%, #d94b0d 73%, #6d1907 94%, #2d0803 100%);
  box-shadow:
    0 0 0.55rem rgba(255, 244, 181, 0.95),
    0 0 2.2rem rgba(255, 174, 56, 0.7),
    0 0 6rem rgba(244, 96, 19, 0.34),
    0 0 12rem rgba(197, 55, 14, 0.16);
  transform: translate(-50%, -50%) translate3d(var(--sun-shift-x, 0px), var(--sun-shift-y, 0px), 0)
    scale(var(--system-scale));
  transform-origin: center;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: filter 0.45s var(--ease-out), transform 0.2s linear, box-shadow 0.45s var(--ease-out);
  will-change: transform;
}

.system-star:hover,
.system-star:focus-visible,
.system-star.is-flaring {
  filter: brightness(1.12) saturate(1.08);
  box-shadow:
    0 0 0.8rem rgba(255, 255, 220, 1),
    0 0 3rem rgba(255, 189, 74, 0.88),
    0 0 8rem rgba(244, 91, 17, 0.5),
    0 0 15rem rgba(184, 45, 9, 0.25);
}

.system-star::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -120%;
  border-radius: 50%;
  opacity: 0.76;
  background:
    radial-gradient(circle, rgba(255, 232, 139, 0.34) 0 15%, rgba(255, 145, 35, 0.16) 31%, rgba(221, 65, 13, 0.055) 50%, transparent 72%);
  filter: blur(12px);
  transform: scale(0.96);
  animation: systemStarPulse 5.8s ease-in-out infinite;
  pointer-events: none;
}

.system-star::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 2%;
  border-radius: 50%;
  opacity: 0.7;
  background:
    radial-gradient(ellipse at 28% 43%, rgba(255, 250, 189, 0.64) 0 2%, transparent 8%),
    radial-gradient(ellipse at 68% 27%, rgba(255, 222, 107, 0.72) 0 2%, transparent 9%),
    radial-gradient(ellipse at 66% 72%, rgba(140, 34, 5, 0.44) 0 3%, rgba(255, 109, 20, 0.18) 5%, transparent 11%),
    radial-gradient(ellipse at 36% 70%, rgba(121, 27, 4, 0.36) 0 2%, transparent 8%),
    repeating-radial-gradient(ellipse at 42% 45%, rgba(255, 248, 186, 0.2) 0 1px, rgba(226, 72, 7, 0.12) 2px 3px, transparent 4px 7px),
    conic-gradient(from 18deg, rgba(255, 241, 159, 0.16), rgba(172, 39, 5, 0.16), rgba(255, 199, 70, 0.2), rgba(132, 28, 3, 0.13), rgba(255, 241, 159, 0.16));
  mix-blend-mode: overlay;
  filter: contrast(1.18) saturate(1.2);
  animation: solarSurfaceTurn 38s linear infinite;
  pointer-events: none;
}

.system-star i {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.72;
  background:
    radial-gradient(ellipse at 72% 38%, rgba(74, 12, 2, 0.62) 0 1.5%, rgba(255, 113, 19, 0.24) 3%, transparent 7%),
    radial-gradient(ellipse at 31% 58%, rgba(86, 15, 2, 0.48) 0 1%, rgba(255, 134, 27, 0.19) 3%, transparent 6%),
    radial-gradient(ellipse at 54% 21%, rgba(255, 255, 210, 0.8) 0 1%, transparent 5%),
    radial-gradient(circle at 47% 50%, transparent 50%, rgba(89, 15, 2, 0.4) 84%, rgba(31, 4, 1, 0.72) 100%);
  box-shadow: inset -0.35rem -0.25rem 0.8rem rgba(66, 11, 2, 0.42), inset 0.25rem 0.18rem 0.65rem rgba(255, 250, 193, 0.26);
  animation: solarSpotsDrift 15s ease-in-out infinite alternate;
  pointer-events: none;
}

.sun-label {
  z-index: 5;
  position: absolute;
  top: calc(100% + 1.05rem);
  left: 50%;
  width: max-content;
  padding: 0.3rem 0.62rem;
  border: 1px solid rgba(255, 213, 143, 0.16);
  border-radius: 99px;
  opacity: 0;
  color: #d8c5b6;
  background: rgba(6, 4, 12, 0.72);
  font-family: "DM Mono", monospace;
  font-size: 0.48rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translate(-50%, -0.25rem);
  transition: opacity 0.35s, transform 0.35s var(--ease-out);
  pointer-events: none;
}

.system-star:hover .sun-label,
.system-star:focus-visible .sun-label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.world-node {
  --planet-size: 8rem;
  --orbit-x: 0px;
  --orbit-y: 0px;
  --planet-shift-x: 0px;
  --planet-shift-y: 0px;
  position: absolute;
  z-index: 5;
  top: var(--system-center-y);
  left: var(--system-center-x);
  display: grid;
  width: var(--planet-size);
  height: var(--planet-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  outline: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
  opacity: var(--system-reveal);
  transform: translate3d(-50%, -50%, 0)
    translate3d(var(--orbit-x), var(--orbit-y), 0)
    translate3d(var(--planet-shift-x), var(--planet-shift-y), 0)
    scale(var(--system-scale));
  will-change: transform;
}

.world-node:focus-visible .planet {
  outline: 1px solid rgba(255, 255, 255, 0.8);
  outline-offset: 0.75rem;
}

.world-node::after {
  content: "";
  position: absolute;
  z-index: -3;
  inset: -50%;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle, var(--planet-haze), transparent 62%);
  filter: blur(20px);
  transition: opacity 0.7s;
}

.world-node:hover::after,
.world-node:focus-visible::after {
  opacity: 0.9;
}

.world-vulcan {
  --planet-size: clamp(7rem, 9vw, 9rem);
  --planet-haze: rgba(160, 107, 255, 0.32);
  --system-x: 51%;
  --system-y: 40%;
}

.world-risa {
  --planet-size: clamp(5rem, 6.5vw, 6.5rem);
  --planet-haze: rgba(105, 224, 239, 0.3);
  --system-x: 80%;
  --system-y: 43%;
}

.world-qonos {
  --planet-size: clamp(5.7rem, 7.5vw, 7.5rem);
  --planet-haze: rgba(255, 176, 102, 0.28);
  --system-x: 63%;
  --system-y: 44.5%;
}

.world-betazed {
  --planet-size: clamp(4.6rem, 6vw, 6rem);
  --planet-haze: rgba(234, 104, 156, 0.27);
  --system-x: 59%;
  --system-y: 70%;
}

.world-bajor {
  --planet-size: clamp(7.4rem, 9.5vw, 9.5rem);
  --planet-haze: rgba(61, 198, 181, 0.25);
  --system-x: 87%;
  --system-y: 69%;
}

.world-andoria {
  --planet-size: clamp(5.2rem, 7vw, 7rem);
  --planet-haze: rgba(119, 203, 255, 0.28);
  --system-x: 76%;
  --system-y: 22%;
}

.planet {
  position: relative;
  display: block;
  width: 72%;
  height: 72%;
  border-radius: 50%;
  transform: perspective(600px) rotateX(var(--planet-rx, 0deg)) rotateY(var(--planet-ry, 0deg)) translateZ(0);
  transition: filter 0.65s var(--ease-out), transform 0.65s var(--ease-out), box-shadow 0.65s;
  animation: planetFloat 7s ease-in-out infinite alternate;
  will-change: transform;
}

.planet-surface {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  border-radius: 50%;
  transform: translateZ(0);
}

.planet-surface::before,
.planet-surface::after,
.planet-aura,
.planet-specks {
  content: "";
  position: absolute;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.planet-aura {
  z-index: -1;
  inset: -15%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.55;
  filter: blur(5px);
}

.planet-specks {
  z-index: 4;
  inset: 0;
  opacity: 0.25;
  mix-blend-mode: screen;
}

.world-node:hover .planet,
.world-node:focus-visible .planet {
  filter: saturate(1.2) brightness(1.12);
  transform: perspective(600px) rotateX(var(--planet-rx, 0deg)) rotateY(var(--planet-ry, 0deg)) scale(1.07);
}

.world-node:hover .planet-aura,
.world-node:focus-visible .planet-aura {
  opacity: 1;
}

.planet-vulcan {
  box-shadow:
    inset -22px -18px 35px rgba(11, 4, 28, 0.92),
    inset 12px 9px 24px rgba(232, 202, 255, 0.18),
    0 0 34px rgba(146, 88, 255, 0.34),
    0 0 90px rgba(92, 48, 164, 0.18);
}

.planet-vulcan .planet-surface {
  background:
    radial-gradient(circle at 34% 28%, #d9b7ff 0 2%, transparent 3%),
    radial-gradient(circle at 47% 44%, transparent 0 18%, rgba(221, 178, 255, 0.2) 19% 20%, transparent 22%),
    radial-gradient(circle at 32% 31%, #a767e8, #6140a0 29%, #271545 62%, #0b0714 100%);
}

.planet-vulcan .planet-surface::before {
  inset: -18% -32%;
  border: 2px solid rgba(240, 218, 255, 0.2);
  box-shadow:
    0 -11px 0 rgba(94, 58, 145, 0.34),
    0 15px 0 rgba(210, 163, 255, 0.08),
    0 27px 0 rgba(74, 42, 112, 0.22);
  transform: rotate(34deg);
}

.planet-vulcan .planet-surface::after {
  top: 17%;
  left: 20%;
  width: 10%;
  height: 10%;
  background: #f1ddff;
  box-shadow:
    33px 22px 0 -3px #bd8bed,
    52px 55px 0 -2px #8450bd,
    12px 68px 0 -3px #d6b1f7;
  filter: blur(0.3px);
}

.planet-vulcan .planet-specks {
  background-image: radial-gradient(circle, #f2dbff 0 1px, transparent 1.5px);
  background-size: 17px 21px;
}

.planet-risa {
  box-shadow:
    inset -20px -18px 30px rgba(3, 23, 34, 0.9),
    inset 8px 7px 26px rgba(203, 255, 254, 0.36),
    0 0 32px rgba(101, 225, 235, 0.34),
    0 0 75px rgba(40, 139, 167, 0.2);
}

.planet-risa .planet-surface {
  background:
    radial-gradient(circle at 38% 23%, rgba(233, 255, 255, 0.82) 0 2%, transparent 4%),
    linear-gradient(145deg, rgba(221, 255, 252, 0.38), transparent 25%),
    radial-gradient(circle at 45% 37%, #7de1dc, #3a8ea2 40%, #183c58 68%, #07101e 100%);
}

.planet-risa .planet-surface::before {
  top: 49%;
  left: -15%;
  width: 140%;
  height: 62%;
  border-radius: 44% 57% 36% 50%;
  background:
    repeating-radial-gradient(ellipse at 30% 0%, rgba(208, 255, 250, 0.18) 0 2px, transparent 3px 11px),
    linear-gradient(180deg, rgba(24, 108, 129, 0.25), #0a253c 70%);
  transform: rotate(-8deg);
}

.planet-risa .planet-surface::after {
  top: 18%;
  left: 16%;
  width: 50%;
  height: 16%;
  background: rgba(214, 255, 255, 0.12);
  filter: blur(8px);
  transform: rotate(-18deg);
}

.planet-risa .planet-aura {
  box-shadow: 0 0 16px rgba(159, 246, 246, 0.45);
}

.planet-qonos {
  box-shadow:
    inset -25px -18px 37px rgba(51, 15, 8, 0.92),
    inset 11px 8px 28px rgba(255, 240, 183, 0.26),
    0 0 33px rgba(255, 161, 83, 0.38),
    0 0 95px rgba(180, 79, 39, 0.2);
}

.planet-qonos .planet-surface {
  background:
    radial-gradient(circle at 32% 24%, #fff0b2 0 1.5%, transparent 3%),
    conic-gradient(from 18deg at 46% 46%, #f6bd72, #c96b49, #7e3450, #dfa25f, #f6bd72);
}

.planet-qonos .planet-surface::before {
  inset: 13%;
  border: 1px solid rgba(255, 237, 178, 0.34);
  box-shadow:
    0 0 0 10px rgba(98, 30, 45, 0.13),
    0 0 0 11px rgba(255, 217, 155, 0.11),
    0 0 0 25px rgba(107, 39, 49, 0.12),
    0 0 0 26px rgba(255, 218, 151, 0.09);
}

.planet-qonos .planet-surface::after {
  right: 4%;
  bottom: 9%;
  width: 50%;
  height: 28%;
  border: 1px solid rgba(255, 221, 167, 0.22);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  transform: rotate(-23deg);
}

.planet-betazed {
  border-radius: 45% 55% 51% 49% / 57% 44% 56% 43%;
  box-shadow:
    inset -18px -15px 30px rgba(41, 7, 40, 0.9),
    inset 9px 8px 21px rgba(255, 227, 198, 0.25),
    0 0 28px rgba(238, 94, 155, 0.36),
    0 0 70px rgba(138, 46, 116, 0.22);
}

.planet-betazed .planet-surface {
  border-radius: inherit;
  background:
    linear-gradient(133deg, transparent 0 42%, rgba(255, 232, 165, 0.5) 43% 46%, transparent 47%),
    linear-gradient(38deg, transparent 0 56%, rgba(116, 45, 135, 0.42) 57% 62%, transparent 63%),
    radial-gradient(circle at 34% 30%, #ffbd91, #e26094 46%, #743870 72%, #251431 100%);
}

.planet-betazed .planet-surface::before {
  top: 14%;
  right: 17%;
  width: 18%;
  height: 18%;
  border: 1px solid rgba(255, 239, 196, 0.55);
  border-radius: 20%;
  box-shadow:
    -31px 37px 0 -4px rgba(255, 208, 115, 0.36),
    13px 49px 0 -6px rgba(112, 231, 203, 0.42);
  transform: rotate(28deg);
}

.planet-betazed .planet-surface::after {
  inset: 0;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0.16), transparent 24% 75%, rgba(42, 8, 48, 0.35));
}

.planet-bajor {
  box-shadow:
    inset -28px -22px 42px rgba(2, 21, 28, 0.94),
    inset 12px 9px 30px rgba(182, 255, 230, 0.23),
    0 0 36px rgba(49, 199, 180, 0.34),
    0 0 105px rgba(30, 111, 118, 0.2);
}

.planet-bajor .planet-surface {
  background:
    radial-gradient(circle at 32% 26%, rgba(215, 255, 235, 0.75) 0 1.5%, transparent 3%),
    radial-gradient(circle at 40% 38%, #5dd6b6, #227f83 38%, #155061 63%, #071b2b 100%);
}

.planet-bajor .planet-surface::before {
  top: 33%;
  left: -21%;
  width: 143%;
  height: 58%;
  border: 2px solid rgba(161, 255, 225, 0.25);
  border-right-color: transparent;
  border-left-color: transparent;
  box-shadow:
    0 8px 0 -6px rgba(172, 255, 232, 0.3),
    0 18px 0 -14px rgba(174, 251, 229, 0.28),
    0 -11px 0 -8px rgba(181, 255, 233, 0.2),
    0 32px 0 -25px rgba(174, 252, 230, 0.24);
  transform: rotate(-18deg);
}

.planet-bajor .planet-surface::after {
  top: 15%;
  right: 15%;
  width: 27%;
  height: 27%;
  border: 1px solid rgba(191, 255, 235, 0.26);
  box-shadow: 0 0 0 8px rgba(139, 242, 218, 0.06), 0 0 0 16px rgba(139, 242, 218, 0.03);
}

.planet-andoria {
  box-shadow:
    inset -24px -20px 36px rgba(3, 18, 43, 0.94),
    inset 11px 8px 27px rgba(220, 249, 255, 0.3),
    0 0 34px rgba(99, 190, 255, 0.4),
    0 0 92px rgba(53, 105, 184, 0.22);
}

.planet-andoria .planet-surface {
  background:
    radial-gradient(circle at 31% 25%, rgba(241, 254, 255, 0.9) 0 2%, transparent 3.5%),
    linear-gradient(145deg, rgba(226, 250, 255, 0.35), transparent 30%),
    radial-gradient(circle at 43% 38%, #a9e7ff, #529bd2 40%, #244f8a 67%, #09152f 100%);
}

.planet-andoria .planet-surface::before {
  inset: 17% -20%;
  border: 2px solid rgba(221, 249, 255, 0.22);
  box-shadow:
    0 13px 0 -8px rgba(214, 247, 255, 0.2),
    0 28px 0 -20px rgba(151, 215, 255, 0.24),
    0 -12px 0 -8px rgba(230, 252, 255, 0.16);
  transform: rotate(-24deg);
}

.planet-andoria .planet-surface::after {
  top: 18%;
  left: 19%;
  width: 24%;
  height: 18%;
  background: rgba(239, 253, 255, 0.18);
  filter: blur(5px);
  transform: rotate(18deg);
}

.planet-andoria .planet-specks {
  background-image: radial-gradient(circle, rgba(224, 249, 255, 0.8) 0 0.8px, transparent 1.3px);
  background-size: 19px 23px;
}

.planet-moons {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
  pointer-events: none;
}

.moon {
  --moon-radius: 3.4rem;
  --moon-start: 0deg;
  --moon-speed: 7s;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 0.62rem;
  height: 0.62rem;
  margin: -0.31rem 0 0 -0.31rem;
  border-radius: 50%;
  background: #ded6f7;
  box-shadow: 0 0 0.8rem rgba(200, 184, 255, 0.6);
  transform: rotate(var(--moon-start)) translateX(var(--moon-radius));
  transform-origin: center;
  animation: moonOrbit var(--moon-speed) linear infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
}

.world-node:hover .planet-moons,
.world-node:focus-visible .planet-moons {
  opacity: 1;
  transform: scale(1);
}

.world-node:hover .moon,
.world-node:focus-visible .moon {
  animation-play-state: running;
}

.moons-vulcan .moon-one {
  --moon-radius: clamp(2.8rem, 4.7vw, 4.4rem);
  --moon-start: 22deg;
  --moon-speed: 7.8s;
  width: 0.72rem;
  height: 0.72rem;
  margin: -0.36rem 0 0 -0.36rem;
  border-radius: 38% 62% 54% 46%;
  background: linear-gradient(135deg, #f0dfff, #9f68e7 54%, #3d205f);
  box-shadow: 0 0 1rem rgba(187, 126, 255, 0.72);
}

.moons-vulcan .moon-two {
  --moon-radius: clamp(2.35rem, 3.8vw, 3.65rem);
  --moon-start: 196deg;
  --moon-speed: 5.4s;
  width: 0.34rem;
  height: 0.76rem;
  margin: -0.38rem 0 0 -0.17rem;
  border-radius: 45% 55% 35% 65%;
  background: linear-gradient(#f7ecff, #8d5bc8 72%);
  box-shadow: 0 0 0.8rem rgba(210, 165, 255, 0.6);
}

.moons-risa .moon-one {
  --moon-radius: clamp(2.4rem, 3.9vw, 3.8rem);
  --moon-start: 310deg;
  --moon-speed: 8.6s;
  width: 0.86rem;
  height: 0.86rem;
  margin: -0.43rem 0 0 -0.43rem;
  border: 1px solid rgba(205, 255, 252, 0.58);
  background: radial-gradient(circle at 35% 30%, #e9ffff 0 8%, #75d3d2 24%, #1d6179 66%, rgba(6, 26, 40, 0.9));
  box-shadow: 0 0 1.1rem rgba(103, 226, 229, 0.62);
}

.moons-qonos .moon-one {
  --moon-radius: clamp(2.65rem, 4.2vw, 4rem);
  --moon-start: 112deg;
  --moon-speed: 6.8s;
  width: 0.52rem;
  height: 0.52rem;
  margin: -0.26rem 0 0 -0.26rem;
  background: radial-gradient(circle at 34% 28%, #fffbe7, #ffd27a 35%, #cb633d 72%);
  box-shadow: 0 0 0.65rem #ffc16e, 0 0 1.7rem rgba(238, 127, 68, 0.5);
}

.moons-betazed .moon-one {
  --moon-radius: clamp(2.05rem, 3.5vw, 3.3rem);
  --moon-start: 38deg;
  --moon-speed: 5.9s;
  width: 0.68rem;
  height: 0.68rem;
  margin: -0.34rem 0 0 -0.34rem;
  border-radius: 18%;
  background: linear-gradient(135deg, #ffe0a1, #ec779e 58%, #753771);
  box-shadow: 0 0 0.85rem rgba(242, 113, 159, 0.65);
}

.moons-betazed .moon-two {
  --moon-radius: clamp(2.55rem, 4.2vw, 3.9rem);
  --moon-start: 214deg;
  --moon-speed: 9.2s;
  width: 0.42rem;
  height: 0.42rem;
  margin: -0.21rem 0 0 -0.21rem;
  border-radius: 28%;
  background: #8ce1cb;
  box-shadow: 0 0 0.8rem rgba(112, 224, 198, 0.72);
}

.moons-bajor .moon-one {
  --moon-radius: clamp(2.9rem, 4.8vw, 4.55rem);
  --moon-start: 74deg;
  --moon-speed: 10.5s;
  width: 0.9rem;
  height: 0.9rem;
  margin: -0.45rem 0 0 -0.45rem;
  border: 1px solid rgba(182, 255, 233, 0.55);
  background: radial-gradient(circle at 32% 28%, rgba(238, 255, 250, 0.85) 0 7%, rgba(77, 203, 184, 0.32) 24%, rgba(13, 73, 82, 0.42) 68%);
  box-shadow: inset -0.18rem -0.18rem 0.32rem rgba(5, 39, 51, 0.55), 0 0 1rem rgba(74, 217, 195, 0.5);
}

.moons-bajor .moon-two {
  --moon-radius: clamp(2.35rem, 3.7vw, 3.6rem);
  --moon-start: 248deg;
  --moon-speed: 7.1s;
  width: 0.46rem;
  height: 0.46rem;
  margin: -0.23rem 0 0 -0.23rem;
  border: 1px solid rgba(190, 255, 236, 0.64);
  background: rgba(73, 190, 179, 0.2);
  box-shadow: 0 0 0.75rem rgba(79, 216, 196, 0.55);
}

.moons-andoria .moon-one {
  --moon-radius: clamp(2.7rem, 4.2vw, 4rem);
  --moon-start: 235deg;
  --moon-speed: 8.6s;
  background: linear-gradient(135deg, #effdff, #75bce8 72%);
}

.world-label {
  position: absolute;
  z-index: 12;
  top: 50%;
  left: calc(100% + 1rem);
  display: flex;
  width: max-content;
  min-width: 0;
  max-width: 11rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(230, 223, 255, 0.14);
  opacity: 0;
  background: linear-gradient(135deg, rgba(15, 11, 25, 0.94), rgba(7, 5, 13, 0.84));
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  transform: translate(1rem, -50%);
  text-align: left;
  pointer-events: none;
  border-radius: 99px;
  align-items: center;
  transition: opacity 0.45s var(--ease-out), transform 0.55s var(--ease-out);
}

.world-label small {
  display: none;
}

.world-label strong {
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.world-label p {
  margin: 0.65rem 0 0;
  color: #8f8998;
  font-size: 0.65rem;
  line-height: 1.58;
}

.world-label > span {
  display: none;
}

.world-label b {
  color: #d8d0ef;
  font-weight: 300;
}

.world-node:hover .world-label,
.world-node:focus-visible .world-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.world-node.label-left .world-label {
  right: calc(100% + 1rem);
  left: auto;
  transform: translate(-1rem, -50%);
}

.world-node.label-left:hover .world-label,
.world-node.label-left:focus-visible .world-label {
  transform: translate(0, -50%);
}

.world-node.label-top .world-label {
  top: auto;
  bottom: calc(100% + 0.8rem);
  left: 50%;
  transform: translate(-50%, -1rem);
}

.world-node.label-top:hover .world-label,
.world-node.label-top:focus-visible .world-label {
  transform: translate(-50%, 0);
}

.world-node.label-bottom .world-label {
  top: calc(100% + 0.8rem);
  left: 50%;
  transform: translate(-50%, 1rem);
}

.world-node.label-bottom:hover .world-label,
.world-node.label-bottom:focus-visible .world-label {
  transform: translate(-50%, 0);
}

.gravity-particles {
  position: absolute;
  z-index: 10;
  inset: -34%;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out);
}

.gravity-particles span {
  --particle-angle: 0deg;
  --particle-radius: 44%;
  --particle-delay: 0s;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(232, 225, 255, 0.82);
  box-shadow: 0 0 0.7rem var(--planet-haze);
  transform: rotate(var(--particle-angle)) translateX(var(--particle-radius));
  animation: particleGather 4.5s var(--ease-smooth) var(--particle-delay) infinite alternate;
}

.gravity-particles span:nth-child(3n) {
  width: 2px;
  height: 2px;
  opacity: 0.5;
}

.world-node:hover .gravity-particles,
.world-node:focus-visible .gravity-particles {
  opacity: 1;
}

.universe-progress {
  position: absolute;
  z-index: 20;
  right: var(--edge);
  bottom: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.progress-count {
  color: #625c6b;
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
}

.progress-count b {
  color: #b8afc7;
  font-weight: 300;
}

.progress-track {
  position: relative;
  display: block;
  width: clamp(7rem, 13vw, 13rem);
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #8066d6, #c1b6ff);
  transform: scaleX(var(--universe-progress, 0));
  transform-origin: left;
}

.project-chapters {
  position: relative;
  z-index: 4;
  background: #07040d;
}

.project-chapter {
  --chapter-accent: #a78dff;
  --chapter-rgb: 143, 120, 255;
  position: relative;
  display: flex;
  min-height: 112svh;
  padding: clamp(7rem, 12vh, 11rem) var(--edge) clamp(5rem, 9vh, 8rem);
  overflow: hidden;
  align-items: center;
  isolation: isolate;
  border-top: 1px solid rgba(255, 255, 255, 0.045);
}

.project-chapter::before {
  content: "";
  position: absolute;
  z-index: -4;
  inset: 0;
  background:
    radial-gradient(circle at 72% 47%, rgba(var(--chapter-rgb), 0.11), transparent 32%),
    linear-gradient(115deg, #08050f 0%, #090712 48%, #06040b 100%);
}

.chapter-mnemosyne {
  --chapter-accent: #b58cff;
  --chapter-rgb: 148, 91, 227;
}

.chapter-serein {
  --chapter-accent: #7cddd9;
  --chapter-rgb: 63, 181, 196;
}

.chapter-noor {
  --chapter-accent: #efac6f;
  --chapter-rgb: 223, 128, 76;
}

.chapter-kite {
  --chapter-accent: #f07ca7;
  --chapter-rgb: 214, 80, 142;
}

.chapter-mawj {
  --chapter-accent: #57cbb1;
  --chapter-rgb: 50, 172, 166;
}

.chapter-glow {
  position: absolute;
  z-index: -2;
  top: 22%;
  right: 7%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(var(--chapter-rgb), 0.14), transparent 68%);
  filter: blur(35px);
  transform: scale(var(--chapter-glow-scale, 0.7));
  transition: transform 1.8s var(--ease-out);
}

.project-chapter.is-visible .chapter-glow {
  --chapter-glow-scale: 1;
}

.chapter-shell {
  display: grid;
  width: min(100%, 94rem);
  margin: 0 auto;
  align-items: center;
  grid-template-columns: minmax(20rem, 0.82fr) minmax(32rem, 1.35fr);
  gap: clamp(4rem, 8vw, 10rem);
}

.chapter-copy {
  position: relative;
  z-index: 2;
}

.chapter-number {
  display: flex;
  margin: 0 0 2.2rem;
  color: #7d7687;
  font-size: 0.56rem;
  letter-spacing: 0.13em;
  align-items: center;
  gap: 0.8rem;
}

.chapter-number span {
  width: 2.6rem;
  height: 1px;
  background: rgba(var(--chapter-rgb), 0.55);
}

.chapter-copy h2 {
  margin: 0;
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.chapter-lede {
  max-width: 32rem;
  margin: 2.2rem 0 0;
  color: #d0cad6;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.58;
  letter-spacing: -0.025em;
}

.chapter-description {
  max-width: 31rem;
  margin: 1.35rem 0 0;
  color: #837d8b;
  font-size: 0.83rem;
  line-height: 1.78;
}

.project-meta {
  display: grid;
  margin: 2.6rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.project-meta div {
  min-width: 0;
}

.project-meta dt {
  margin-bottom: 0.65rem;
  color: #5f5968;
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  color: #aaa3b2;
  font-size: 0.67rem;
  line-height: 1.6;
}

.project-cta {
  display: inline-flex;
  min-width: 13.5rem;
  margin-top: 2.5rem;
  padding: 0 0 0.75rem;
  border: 0;
  border-bottom: 1px solid rgba(var(--chapter-rgb), 0.55);
  background: none;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, padding 0.4s var(--ease-out);
}

.project-cta span {
  font-size: 0.74rem;
  font-weight: 500;
}

.project-cta i {
  color: var(--chapter-accent);
  font-size: 1rem;
  font-style: normal;
  transition: transform 0.4s var(--ease-out);
}

.project-cta:hover,
.project-cta:focus-visible {
  padding-left: 0.4rem;
  border-color: var(--chapter-accent);
  outline: 0;
}

.project-cta:hover i,
.project-cta:focus-visible i {
  transform: translate(3px, -3px);
}

.project-visual {
  position: relative;
  opacity: 0;
  transform: translate3d(0, 4rem, 0) rotateY(-4deg);
  transition: opacity 1.2s var(--ease-out), transform 1.5s var(--ease-out);
  perspective: 1000px;
}

.project-chapter.is-visible .project-visual {
  opacity: 1;
  transform: translate3d(0, var(--visual-y, 0px), 0) rotateY(0);
}

.visual-frame {
  position: relative;
  aspect-ratio: 1.25;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0a0811;
  box-shadow:
    0 2.2rem 6rem rgba(0, 0, 0, 0.42),
    0 0 5rem rgba(var(--chapter-rgb), 0.08);
}

.visual-frame::before {
  content: "";
  position: absolute;
  z-index: 20;
  inset: 0;
  opacity: 0.25;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.06), transparent 20% 80%, rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.ui-topline,
.ui-caption {
  position: absolute;
  z-index: 30;
  right: 1.3rem;
  left: 1.3rem;
  display: flex;
  color: rgba(235, 230, 244, 0.52);
  font-size: clamp(0.42rem, 0.6vw, 0.58rem);
  letter-spacing: 0.09em;
  justify-content: space-between;
}

.ui-topline {
  top: 1rem;
}

.ui-caption {
  bottom: 1rem;
}

.visual-tag {
  position: absolute;
  z-index: 30;
  display: block;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #9d96a7;
  background: rgba(7, 5, 13, 0.82);
  backdrop-filter: blur(12px);
  font-size: 0.48rem;
  letter-spacing: 0.12em;
}

.visual-tag.tag-one {
  right: -1.6rem;
  bottom: 14%;
}

.visual-tag.tag-two {
  top: 16%;
  left: -1.5rem;
  color: var(--chapter-accent);
}

.memory-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 58% 48%, rgba(139, 74, 213, 0.27), transparent 12%),
    radial-gradient(circle at 58% 48%, rgba(65, 31, 105, 0.28), transparent 36%),
    radial-gradient(circle at 20% 80%, rgba(95, 52, 139, 0.16), transparent 26%),
    #08060e;
}

.memory-map::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
}

.memory-core {
  position: absolute;
  z-index: 5;
  top: 48%;
  left: 58%;
  display: grid;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(211, 180, 255, 0.3);
  border-radius: 50%;
  color: #ece1ff;
  background: radial-gradient(circle, rgba(158, 91, 234, 0.29), rgba(46, 22, 75, 0.13) 55%, transparent 70%);
  box-shadow: 0 0 3rem rgba(151, 85, 226, 0.22);
  transform: translate(-50%, -50%);
  place-content: center;
  text-align: center;
  animation: corePulse 4s ease-in-out infinite;
}

.memory-core::before,
.memory-core::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(195, 162, 243, 0.12);
  border-radius: 50%;
}

.memory-core::before {
  inset: -18%;
}

.memory-core::after {
  inset: -42%;
}

.memory-core b {
  font-size: 1.8rem;
  font-weight: 300;
}

.memory-core small {
  color: #9d8cad;
  font-family: "DM Mono", monospace;
  font-size: 0.42rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.memory-node {
  position: absolute;
  z-index: 4;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(218, 191, 255, 0.38);
  border-radius: 50%;
}

.memory-node::after {
  content: "";
  position: absolute;
  inset: 37%;
  border-radius: 50%;
  background: #d9b5ff;
  box-shadow: 0 0 1rem #a15feb;
}

.node-a { top: 24%; left: 27%; }
.node-b { top: 67%; left: 31%; transform: scale(0.7); }
.node-c { top: 23%; right: 17%; transform: scale(0.55); }
.node-d { right: 20%; bottom: 20%; transform: scale(0.8); }

.memory-line {
  position: absolute;
  z-index: 2;
  height: 1px;
  opacity: 0.35;
  background: linear-gradient(90deg, transparent, #c694ff, transparent);
  transform-origin: left;
}

.line-a { top: 28%; left: 28%; width: 37%; transform: rotate(24deg); }
.line-b { top: 67%; left: 32%; width: 32%; transform: rotate(-34deg); }
.line-c { top: 48%; left: 59%; width: 32%; transform: rotate(-29deg); }

.serein-sky {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 66% 28%, rgba(190, 255, 244, 0.09), transparent 20%),
    linear-gradient(170deg, #0c222d, #0a1827 45%, #07111e 100%);
}

.serein-sky::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: repeating-linear-gradient(100deg, transparent 0 16px, rgba(175, 243, 239, 0.17) 17px, transparent 18px 33px);
  filter: blur(1px);
  transform: translateX(-10%);
  animation: rainDrift 8s linear infinite;
}

.serein-moon {
  position: absolute;
  top: 18%;
  right: 19%;
  width: clamp(4rem, 7vw, 7rem);
  height: clamp(4rem, 7vw, 7rem);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #dafdf4, #8acfc9 42%, #325b69 75%, transparent 77%);
  box-shadow: 0 0 4rem rgba(128, 228, 219, 0.23);
}

.serein-wave {
  position: absolute;
  right: -5%;
  left: -5%;
  height: 23%;
  border-top: 1px solid rgba(151, 238, 231, 0.22);
  border-radius: 50%;
}

.wave-one { bottom: 18%; transform: rotate(3deg); }
.wave-two { bottom: 8%; transform: rotate(-2deg) scaleX(1.2); opacity: 0.65; }
.wave-three { bottom: -3%; transform: rotate(5deg) scaleX(1.3); opacity: 0.35; }

.serein-reading {
  position: absolute;
  bottom: 19%;
  left: 8%;
  display: flex;
  flex-direction: column;
}

.serein-reading b {
  font-size: clamp(1.2rem, 2vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.04em;
}

.serein-reading span {
  margin-top: 0.3rem;
  color: #83a7aa;
  font-family: "DM Mono", monospace;
  font-size: 0.47rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.noor-atlas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(144, 65, 49, 0.15), transparent 35%),
    radial-gradient(circle at 65% 32%, rgba(230, 147, 75, 0.18), transparent 23%),
    #140b0d;
}

.noor-atlas::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  opacity: 0.36;
  background: repeating-linear-gradient(165deg, transparent 0 10px, rgba(255, 184, 112, 0.14) 11px 12px);
  clip-path: polygon(0 54%, 10% 35%, 23% 68%, 37% 27%, 51% 55%, 67% 18%, 81% 45%, 100% 2%, 100% 100%, 0 100%);
}

.atlas-sun {
  position: absolute;
  top: 17%;
  right: 20%;
  width: clamp(4.5rem, 8vw, 8rem);
  height: clamp(4.5rem, 8vw, 8rem);
  border-radius: 50%;
  background: radial-gradient(circle, #ffd59a, #db8d5f 45%, rgba(146, 60, 48, 0.3) 70%, transparent 72%);
  box-shadow: 0 0 4rem rgba(231, 138, 78, 0.25);
}

.atlas-arch {
  position: absolute;
  bottom: -9%;
  border: 1px solid rgba(247, 180, 110, 0.22);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.arch-one {
  right: 8%;
  width: 48%;
  height: 65%;
}

.arch-two {
  right: 17%;
  width: 30%;
  height: 48%;
  opacity: 0.52;
}

.atlas-path {
  position: absolute;
  right: 35%;
  bottom: 0;
  width: 1px;
  height: 67%;
  background: linear-gradient(transparent, rgba(255, 190, 122, 0.8), transparent);
  transform: rotate(31deg);
  transform-origin: bottom;
}

.atlas-story {
  position: absolute;
  top: 28%;
  left: 8%;
  display: flex;
  width: 45%;
  flex-direction: column;
}

.atlas-story small,
.atlas-story span {
  color: #a27868;
  font-family: "DM Mono", monospace;
  font-size: 0.46rem;
  letter-spacing: 0.1em;
}

.atlas-story b {
  margin: 0.8rem 0 1.1rem;
  color: #e8c9b0;
  font-size: clamp(1rem, 1.7vw, 1.7rem);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.kite-canvas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #160d1b;
}

.kite-canvas::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle, #fff 0 1px, transparent 1.2px);
  background-size: 22px 22px;
}

.kite-canvas > b {
  position: absolute;
  z-index: 8;
  top: 50%;
  left: 50%;
  color: #fff5e9;
  font-size: clamp(3rem, 9vw, 9rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 1;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
}

.kite-shape {
  position: absolute;
  display: block;
  filter: saturate(0.92);
  animation: shapeMorph 9s var(--ease-smooth) infinite alternate;
}

.shape-a {
  top: 8%;
  left: 13%;
  width: 48%;
  height: 63%;
  border-radius: 70% 30% 49% 51% / 42% 58% 42% 58%;
  background: #ef6e9d;
  transform: rotate(21deg);
}

.shape-b {
  right: 8%;
  bottom: 8%;
  width: 48%;
  height: 51%;
  border-radius: 34% 66% 26% 74% / 62% 32% 68% 38%;
  background: #f6a96d;
  animation-delay: -3s;
}

.shape-c {
  top: 10%;
  right: 14%;
  width: 24%;
  height: 35%;
  border-radius: 50%;
  background: #6cd0ba;
  animation-delay: -5s;
}

.kite-cross {
  position: absolute;
  z-index: 9;
  color: #fff0dc;
  font-family: "DM Mono", monospace;
  font-size: 1.2rem;
  font-weight: 300;
}

.cross-a { top: 18%; left: 8%; }
.cross-b { right: 8%; bottom: 17%; }

.mawj-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 48%, rgba(46, 177, 164, 0.17), transparent 25%),
    linear-gradient(150deg, #071d28, #08141f 58%, #061018);
}

.mawj-field::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(103, 234, 218, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 234, 218, 0.18) 1px, transparent 1px);
  background-size: 34px 34px;
  transform: perspective(300px) rotateX(58deg) scale(1.5);
}

.current {
  position: absolute;
  left: -10%;
  width: 120%;
  height: 30%;
  border-top: 1px solid rgba(91, 226, 208, 0.28);
  border-radius: 50%;
  filter: drop-shadow(0 0 5px rgba(61, 202, 190, 0.18));
}

.current-a { top: 25%; transform: rotate(7deg); }
.current-b { top: 47%; transform: rotate(-5deg) scaleX(1.1); }
.current-c { top: 66%; transform: rotate(9deg) scaleX(1.2); opacity: 0.6; }

.sonar-ring {
  position: absolute;
  top: 46%;
  left: 64%;
  border: 1px solid rgba(111, 245, 221, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: sonar 3.6s ease-out infinite;
}

.ring-a { width: 8rem; height: 8rem; }
.ring-b { width: 13rem; height: 13rem; animation-delay: -1.8s; }

.sonar-dot {
  position: absolute;
  top: 46%;
  left: 64%;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #a2f9e7;
  box-shadow: 0 0 1.3rem #5ce6cf;
  transform: translate(-50%, -50%);
}

.mawj-reading {
  position: absolute;
  bottom: 16%;
  left: 8%;
  display: flex;
  flex-direction: column;
}

.mawj-reading b {
  color: #b8ede3;
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.065em;
}

.mawj-reading small {
  color: #618f91;
  font-family: "DM Mono", monospace;
  font-size: 0.46rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-world {
  position: absolute;
  right: var(--edge);
  bottom: 2.1rem;
  display: flex;
  color: #6d6676;
  font-family: "DM Mono", monospace;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  align-items: center;
  gap: 0.7rem;
  text-transform: uppercase;
  transition: color 0.3s;
}

.next-world span {
  display: grid;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  place-items: center;
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}

.next-world:hover,
.next-world:focus-visible {
  color: #d7d0df;
}

.next-world:hover span,
.next-world:focus-visible span {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(3px);
}

.about {
  position: relative;
  z-index: 5;
  min-height: 100svh;
  padding: clamp(8rem, 16vh, 13rem) var(--edge) 7rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(81, 59, 136, 0.16), transparent 28%),
    linear-gradient(150deg, rgba(8, 5, 15, 0.74), rgba(6, 4, 11, 0.64));
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(4rem, 10vw, 12rem);
}

.about h2 {
  font-size: clamp(3.7rem, 7.5vw, 8.8rem);
}

.about-copy {
  max-width: 31rem;
  padding-top: 0.8rem;
}

.about-copy p {
  margin: 0 0 1.5rem;
  color: #a6a0ae;
  font-size: clamp(1.08rem, 1.45vw, 1.3rem);
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  margin-top: 1.2rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(165, 146, 255, 0.38);
  font-size: 0.96rem;
  gap: 2.5rem;
}

.text-link span {
  color: #a998ff;
}

.capabilities {
  display: flex;
  margin-top: clamp(6rem, 14vh, 11rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

.capabilities span {
  padding: 1.2rem clamp(1rem, 2vw, 2.2rem);
  color: #77717f;
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex: 1;
  text-align: center;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.capabilities span:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.about-orbit {
  position: absolute;
  top: -25vw;
  right: -15vw;
  width: 65vw;
  height: 65vw;
  border: 1px solid rgba(161, 143, 225, 0.06);
  border-radius: 50%;
  transform: rotate(-22deg);
  pointer-events: none;
}

.about-orbit span {
  position: absolute;
  top: 64%;
  left: 5%;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #a38cff;
  box-shadow: 0 0 1.5rem #8068e5;
}

.contact {
  position: relative;
  z-index: 5;
  display: flex;
  min-height: 100svh;
  padding: clamp(8rem, 16vh, 13rem) var(--edge) 2.3rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 63% 48%, rgba(70, 53, 119, 0.15), transparent 28%),
    rgba(5, 3, 11, 0.68);
  flex-direction: column;
  justify-content: center;
}

.contact h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(4.5rem, 10.5vw, 12rem);
  line-height: 0.8;
}

.contact > p:not(.section-index) {
  position: relative;
  z-index: 2;
  margin: 3rem 0 0;
  color: #8d8696;
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
}

.contact-link {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 42rem);
  margin-top: 3rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  align-items: center;
  justify-content: space-between;
  transition: padding 0.5s var(--ease-out), border-color 0.3s;
}

.contact-link span {
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
}

.contact-link i {
  color: #a590ff;
  font-size: 1.2rem;
  font-style: normal;
}

.contact-link:hover,
.contact-link:focus-visible {
  padding-right: 0.6rem;
  padding-left: 0.6rem;
  border-color: rgba(166, 145, 255, 0.55);
}

.contact-eclipse {
  position: absolute;
  z-index: 0;
  top: 13%;
  right: -2vw;
  width: min(45vw, 42rem);
  height: min(45vw, 42rem);
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 38% 35%, rgba(63, 54, 92, 0.3), rgba(7, 5, 13, 0.95) 58%),
    #090611;
  box-shadow:
    -1rem 0 4rem rgba(144, 116, 232, 0.1),
    0 0 0 1px rgba(203, 187, 255, 0.06);
  animation: eclipseFloat 10s ease-in-out infinite alternate;
}

.contact-eclipse::before {
  content: "";
  position: absolute;
  inset: -16%;
  border: 1px solid rgba(160, 141, 222, 0.08);
  border-radius: 50%;
  transform: scaleY(0.42) rotate(-20deg);
}

.contact-eclipse span {
  position: absolute;
  top: 22%;
  left: 6%;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #beaaff;
  box-shadow: 0 0 1rem #9d83ff;
}

.contact footer {
  position: absolute;
  right: var(--edge);
  bottom: 2rem;
  left: var(--edge);
  display: grid;
  color: #554f5e;
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  grid-template-columns: 1fr auto;
}

.contact footer a {
  color: #928a9e;
  text-transform: none;
}

.contact footer a:last-child {
  justify-self: end;
}

.contact footer b {
  font-weight: 300;
}

.warp-overlay {
  --warp-x: 50vw;
  --warp-y: 50vh;
  --warp-color: 143, 120, 255;
  position: fixed;
  z-index: 500;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(5, 3, 11, 0);
  transition: visibility 0s 1s;
}

.warp-overlay.is-warping {
  visibility: visible;
  opacity: 1;
  transition: none;
}

.warp-planet {
  position: absolute;
  top: var(--warp-y);
  left: var(--warp-x);
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.85), rgba(var(--warp-color), 0.8) 20%, rgba(var(--warp-color), 0.4) 52%, #08050e 80%);
  box-shadow: 0 0 4rem rgba(var(--warp-color), 0.62);
  transform: translate(-50%, -50%) scale(0.15);
}

.warp-ring {
  position: absolute;
  top: var(--warp-y);
  left: var(--warp-x);
  width: 10rem;
  height: 3.5rem;
  border: 1px solid rgba(230, 224, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scale(0.2);
}

.warp-overlay.is-warping .warp-planet {
  animation: warpPlanet 1s var(--ease-smooth) both;
}

.warp-overlay.is-warping .warp-ring {
  animation: warpRing 0.85s var(--ease-smooth) both;
}

.preview-dialog {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 70% 45%, rgba(var(--dialog-rgb, 143, 120, 255), 0.13), transparent 34%),
    #06040b;
  overflow: hidden;
}

.preview-dialog::backdrop {
  background: rgba(3, 2, 7, 0.92);
  backdrop-filter: blur(14px);
}

.preview-dialog[open] {
  animation: dialogIn 0.75s var(--ease-out) both;
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: clamp(1.5rem, 3vw, 3rem);
  right: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  padding: 0.65rem 0.8rem 0.65rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 99px;
  color: #aaa4b3;
  background: rgba(10, 8, 16, 0.68);
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  align-items: center;
  gap: 0.8rem;
  text-transform: uppercase;
  cursor: pointer;
}

.dialog-close span {
  color: #e8e1ef;
  font-family: sans-serif;
  font-size: 1rem;
}

.dialog-meta {
  position: absolute;
  top: clamp(1.8rem, 3.4vw, 3.4rem);
  left: clamp(1.5rem, 4vw, 4rem);
  display: flex;
  color: #686270;
  font-size: 0.52rem;
  letter-spacing: 0.12em;
  gap: 2rem;
}

.dialog-meta span:first-child {
  color: rgb(var(--dialog-rgb, 143, 120, 255));
}

.dialog-layout {
  display: grid;
  height: 100%;
  padding-top: 4rem;
  align-items: center;
  grid-template-columns: minmax(20rem, 0.72fr) minmax(30rem, 1.28fr);
  gap: clamp(2rem, 6vw, 7rem);
}

.dialog-copy h2 {
  margin: 0;
  font-size: clamp(3.4rem, 5.2vw, 6.5rem);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 0.9;
}

.dialog-copy > p:not(.section-index) {
  max-width: 24rem;
  margin: 2rem 0 0;
  color: #97909f;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.dialog-copy small {
  display: block;
  margin-top: 3rem;
  color: #5d5765;
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.portal-stage {
  position: relative;
  aspect-ratio: 1.4;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--dialog-rgb, 143, 120, 255), 0.12), transparent 45%),
    #080610;
  box-shadow: 0 2rem 8rem rgba(0, 0, 0, 0.55);
}

#portal-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.portal-horizon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(var(--dialog-rgb, 143, 120, 255), 0.42);
  border-radius: 50%;
  box-shadow:
    0 0 3rem rgba(var(--dialog-rgb, 143, 120, 255), 0.18),
    inset 0 0 3rem rgba(var(--dialog-rgb, 143, 120, 255), 0.1);
  transform: translate(-50%, -50%);
  animation: portalBreathe 5s ease-in-out infinite;
}

.portal-horizon::before,
.portal-horizon::after {
  content: "";
  position: absolute;
  inset: -18%;
  border: 1px solid rgba(var(--dialog-rgb, 143, 120, 255), 0.12);
  border-radius: 50%;
}

.portal-horizon::after {
  inset: -42%;
  opacity: 0.45;
}

.portal-name {
  position: absolute;
  bottom: 1.3rem;
  left: 1.5rem;
  color: rgba(255, 255, 255, 0.38);
  font-family: "DM Mono", monospace;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
}

.orientation-hint {
  display: none;
}

@keyframes bootPulse {
  50% { transform: translate(-50%, -50%) scale(1.45); opacity: 0.65; }
}

@keyframes bootExit {
  to { opacity: 0; visibility: hidden; }
}

@keyframes bootOrbit {
  to { transform: translate(-50%, -50%) rotate(332deg); }
}

@keyframes signal {
  0% { box-shadow: 0 0 0 0 rgba(152, 226, 210, 0.45); }
  60%, 100% { box-shadow: 0 0 0 8px rgba(152, 226, 210, 0); }
}

@keyframes breathe {
  to { transform: rotate(-8deg) scale(1.08); opacity: 0.72; }
}

@keyframes astronautFloat {
  from { transform: translate3d(0, -0.8%, 0) rotate(-0.7deg); }
  to { transform: translate3d(-1.3%, 1.5%, 0) rotate(1.1deg); }
}

@keyframes orbitIcon {
  to { transform: rotate(360deg); }
}

@keyframes scrollLine {
  0% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(280%); }
}

@keyframes planetFloat {
  from { translate: 0 -2%; }
  to { translate: 0 3%; }
}

@keyframes moonOrbit {
  0% {
    opacity: 0.72;
    transform: rotate(var(--moon-start)) translateX(var(--moon-radius));
  }
  48% {
    opacity: 0.34;
  }
  52% {
    opacity: 0.34;
  }
  100% {
    opacity: 0.92;
    transform: rotate(calc(var(--moon-start) + 360deg)) translateX(var(--moon-radius));
  }
}

@keyframes systemOrbitDrift {
  to { rotate: 360deg; }
}

@keyframes systemStarPulse {
  50% {
    opacity: 0.94;
    filter: blur(14px);
    transform: scale(1.08);
  }
}

@keyframes solarSurfaceTurn {
  to { transform: rotate(360deg); }
}

@keyframes solarSpotsDrift {
  from { transform: rotate(-2deg) scale(0.985); opacity: 0.62; }
  to { transform: rotate(3deg) scale(1.02); opacity: 0.82; }
}

@keyframes particleGather {
  from { transform: rotate(var(--particle-angle)) translateX(calc(var(--particle-radius) + 12%)) scale(0.45); opacity: 0.15; }
  to { transform: rotate(calc(var(--particle-angle) + 24deg)) translateX(calc(var(--particle-radius) - 8%)) scale(1); opacity: 0.9; }
}

@keyframes corePulse {
  50% { transform: translate(-50%, -50%) scale(1.06); box-shadow: 0 0 4.5rem rgba(151, 85, 226, 0.3); }
}

@keyframes rainDrift {
  to { transform: translateX(5%); }
}

@keyframes shapeMorph {
  to { border-radius: 31% 69% 67% 33% / 64% 34% 66% 36%; transform: rotate(-7deg) scale(1.08); }
}

@keyframes sonar {
  from { opacity: 0.6; transform: translate(-50%, -50%) scale(0.5); }
  to { opacity: 0; transform: translate(-50%, -50%) scale(1.45); }
}

@keyframes eclipseFloat {
  to { transform: translate3d(-2%, 2.5%, 0); }
}

@keyframes warpPlanet {
  0% { transform: translate(-50%, -50%) scale(0.1); opacity: 0; }
  22% { opacity: 1; }
  70% { transform: translate(-50%, -50%) scale(22); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(28); opacity: 0; }
}

@keyframes warpRing {
  0% { transform: translate(-50%, -50%) rotate(-18deg) scale(0.15); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translate(-50%, -50%) rotate(-3deg) scale(18); opacity: 0; }
}

@keyframes dialogIn {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes portalBreathe {
  50% { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 5rem rgba(var(--dialog-rgb), 0.24), inset 0 0 4rem rgba(var(--dialog-rgb), 0.16); }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-header nav {
    display: none;
  }

  .astronaut-field {
    right: -15vw;
    width: 73vw;
  }

  .hero-copy {
    width: calc(100vw - 2 * var(--edge));
  }

  .hero-name {
    font-size: clamp(4rem, 9.2vw, 8rem);
  }

  .chapter-shell {
    gap: clamp(2.5rem, 5vw, 5rem);
    grid-template-columns: minmax(17rem, 0.8fr) minmax(26rem, 1.2fr);
  }

  .project-meta {
    grid-template-columns: 1fr 1fr;
  }

  .project-meta div:last-child {
    display: none;
  }
}

@media (max-width: 800px) {
  :root {
    --header-height: 5.1rem;
  }

  .cursor {
    display: none;
  }

  .site-header {
    font-size: 0.88rem;
  }

  .signal-link {
    font-size: 0;
  }

  .signal-link::after {
    content: "Signal";
    font-size: 0.84rem;
  }

  .hero {
    padding-bottom: 8rem;
    align-items: center;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(5, 3, 11, 0.96), rgba(5, 3, 11, 0.48) 70%, rgba(5, 3, 11, 0.32));
  }

  .astronaut-field {
    top: 4vh;
    right: -36vw;
    width: 105vw;
    height: 96vh;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-name {
    font-size: clamp(3.45rem, 14vw, 7.4rem);
  }

  .hero-intro {
    width: min(30rem, 82%);
    margin-left: 0;
  }

  .enter-orbit {
    right: auto;
    bottom: 6rem;
    left: var(--edge);
  }

  .hero-coordinates {
    display: none;
  }

  .scroll-cue {
    right: var(--edge);
    bottom: 2.3rem;
    left: auto;
    transform: none;
  }

  .scroll-cue > span:first-child {
    display: none;
  }

  .universe-scroll {
    height: max(145svh, 64rem);
  }

  .universe-stage {
    --system-center-x: 50%;
    --system-center-y: 72%;
  }

  .universe-copy {
    top: 7.2rem;
    width: calc(100% - 2 * var(--edge));
    transform: none;
  }

  .universe-copy h2 {
    font-size: clamp(3.2rem, 12vw, 5rem);
  }

  .universe-copy > p:not(.section-index) {
    width: 20rem;
    margin-top: 1.3rem;
    font-size: 0.96rem;
  }

  .system-dossier {
    width: min(100%, 20rem);
    min-height: 0;
    margin-top: 1.25rem;
    padding: 0.9rem 1rem;
  }

  .system-dossier span {
    display: none;
  }

  .astronaut-drift {
    top: 32%;
    right: -34%;
    width: 90vw;
    opacity: 0.065;
  }

  .system-orbit-one {
    width: 7rem;
    height: 4rem;
  }

  .system-orbit-two {
    width: 13rem;
    height: 7rem;
  }

  .system-orbit-three {
    width: 20rem;
    height: 11rem;
  }

  .system-orbit-four {
    width: min(70vw, 25rem);
    height: 17rem;
  }

  .system-orbit-five {
    width: min(78vw, 28rem);
    height: min(20rem, 46vh);
  }

  .system-orbit-six {
    width: min(88vw, 32rem);
    height: min(23rem, 53vh);
  }

  .system-motion-toggle {
    top: calc(var(--system-center-y) + 10rem);
  }

  .system-star {
    width: 3.5rem;
    height: 3.5rem;
  }

  .world-vulcan {
    --planet-size: 5rem;
    --system-x: 21%;
    --system-y: 51%;
  }

  .world-risa {
    --planet-size: 4.1rem;
    --system-x: 72%;
    --system-y: 50%;
  }

  .world-qonos {
    --planet-size: 4.7rem;
    --system-x: 64%;
    --system-y: 57%;
  }

  .world-betazed {
    --planet-size: 3.8rem;
    --system-x: 30%;
    --system-y: 70%;
  }

  .world-bajor {
    --planet-size: 4.6rem;
    --system-x: 76%;
    --system-y: 75%;
  }

  .world-andoria {
    --planet-size: 4.1rem;
    --system-x: 44%;
    --system-y: 84%;
  }

  .world-label {
    top: calc(100% + 0.7rem);
    left: 50%;
    width: auto;
    min-width: 0;
    padding: 0;
    border: 0;
    opacity: 1;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: translate(-50%, 0);
    align-items: center;
    text-align: center;
  }

  .world-label small,
  .world-label p,
  .world-label > span {
    display: none;
  }

  .world-label strong {
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    background: rgba(5, 3, 11, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
    backdrop-filter: blur(8px);
  }

  .world-node:hover .world-label,
  .world-node:focus-visible .world-label {
    transform: translate(-50%, 0);
  }

  .world-node.label-left .world-label,
  .world-node.label-bottom .world-label,
  .world-node.label-left:hover .world-label,
  .world-node.label-left:focus-visible .world-label,
  .world-node.label-bottom:hover .world-label,
  .world-node.label-bottom:focus-visible .world-label,
  .world-risa .world-label,
  .world-vulcan .world-label,
  .world-bajor .world-label,
  .world-risa:hover .world-label,
  .world-risa:focus-visible .world-label,
  .world-vulcan:hover .world-label,
  .world-vulcan:focus-visible .world-label,
  .world-bajor:hover .world-label,
  .world-bajor:focus-visible .world-label {
    top: calc(100% + 0.7rem);
    bottom: auto;
    right: auto;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .world-node.label-top .world-label,
  .world-node.label-top:hover .world-label,
  .world-node.label-top:focus-visible .world-label {
    top: auto;
    bottom: calc(100% + 0.55rem);
    right: auto;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .project-chapter {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .chapter-shell {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }

  .chapter-copy {
    max-width: 38rem;
  }

  .chapter-copy h2 {
    font-size: clamp(4rem, 14vw, 7rem);
  }

  .project-meta {
    grid-template-columns: repeat(3, 1fr);
  }

  .project-meta div:last-child {
    display: block;
  }

  .project-visual {
    width: calc(100% - 1rem);
    margin-left: 1rem;
  }

  .visual-tag.tag-one {
    right: -0.8rem;
  }

  .visual-tag.tag-two {
    left: -0.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-copy {
    max-width: 39rem;
  }

  .capabilities span {
    flex-basis: 33%;
  }

  .contact-eclipse {
    top: 24%;
    right: -26vw;
    width: 72vw;
    height: 72vw;
    opacity: 0.7;
  }

  .dialog-layout {
    padding-top: 5rem;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 2rem;
  }

  .dialog-copy .section-index,
  .dialog-copy small {
    display: none;
  }

  .dialog-copy h2 {
    font-size: clamp(3.2rem, 12vw, 5.5rem);
  }

  .dialog-copy > p:not(.section-index) {
    margin-top: 0.8rem;
    font-size: 0.78rem;
  }

  .portal-stage {
    width: 100%;
    max-height: 54vh;
    align-self: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 1.2rem;
  }

  .brand {
    height: 2.7rem;
  }

  .brand-logo {
    height: 2.4rem;
  }

  .eyebrow {
    gap: 0.65rem;
  }

  .eyebrow span:last-child {
    display: none;
  }

  .hero-kicker {
    font-size: 1.16rem;
  }

  .hero-name {
    font-size: clamp(3rem, 14vw, 5.5rem);
  }

  .hero-intro {
    width: 88%;
    font-size: 1.08rem;
  }

  .universe-copy {
    top: 18%;
  }

  .universe-copy > p:last-child {
    width: 17rem;
  }

  .chapter-number {
    font-size: 0.49rem;
  }

  .chapter-copy h2 {
    font-size: clamp(3.7rem, 17vw, 5.6rem);
  }

  .chapter-lede {
    font-size: 1.02rem;
  }

  .project-meta {
    grid-template-columns: 1fr 1fr;
  }

  .project-meta div:last-child {
    display: none;
  }

  .visual-frame {
    aspect-ratio: 0.95;
  }

  .visual-tag.tag-two {
    top: 10%;
  }

  .memory-core {
    width: 6.2rem;
    height: 6.2rem;
  }

  .atlas-story {
    width: 54%;
  }

  .capabilities span {
    flex-basis: 50%;
  }

  .contact {
    padding-bottom: 7rem;
  }

  .contact h2 {
    font-size: clamp(4rem, 19vw, 7rem);
  }

  .contact footer {
    bottom: 1.6rem;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .contact footer span:nth-child(2) {
    display: none;
  }

  .dialog-meta span:last-child {
    display: none;
  }

  .portal-stage {
    aspect-ratio: 0.92;
  }
}

@media (max-height: 540px) and (orientation: landscape) and (max-width: 900px) {
  .orientation-hint {
    position: fixed;
    z-index: 99999;
    right: 1rem;
    bottom: 1rem;
    display: block;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    color: #87808f;
    background: rgba(5, 3, 11, 0.75);
    font-family: "DM Mono", monospace;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 1051px) {
  .universe-stage {
    --system-center-x: 65%;
    --system-center-y: 53%;
  }

  .system-orbit-one {
    width: clamp(11rem, 17vw, 17rem);
    height: clamp(6rem, 9vw, 9rem);
  }

  .system-orbit-two {
    width: clamp(19rem, 27vw, 27rem);
    height: clamp(11rem, 15vw, 15rem);
  }

  .system-orbit-three {
    width: clamp(29rem, 39vw, 39rem);
    height: clamp(16rem, 23vw, 23rem);
  }

  .system-orbit-four {
    width: clamp(36rem, 50vw, 50rem);
    height: min(clamp(21rem, 32vw, 32rem), 68vh);
  }

  .system-orbit-five {
    width: clamp(38rem, 58vw, 58rem);
    height: min(clamp(24rem, 40vw, 36rem), 74vh);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor,
  .boot-screen {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .astronaut-field {
    filter: none !important;
    transform: none !important;
  }

  .journey-astronaut {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin-bottom: 0;
  }
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}
