/* OrbitStudioHero.css */

:root {
  --orbit-bg: #07070a;
  --orbit-panel: #0d0c12;
  --orbit-text: #f7f5ff;
  --orbit-muted: #aaa5b8;
  --orbit-violet: #9b6cff;
  --orbit-violet-bright: #ba9aff;
  --orbit-line: rgba(191, 164, 255, 0.19);
  --orbit-border: rgba(255, 255, 255, 0.1);

  --content-space: 28px;
  --panel-radius: 12px;
}

* {
  box-sizing: border-box;
}

.orbitStudio {
  min-height: 100svh;
  padding: var(--content-space);
  background:
    radial-gradient(
      circle at 67% 38%,
      rgba(113, 64, 255, 0.16),
      transparent 34rem
    ),
    var(--orbit-bg);
  color: var(--orbit-text);
  font-family:
    Inter,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

.orbitStudio__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: calc(100svh - 56px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--orbit-border);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.025),
      transparent 45%
    ),
    var(--orbit-panel);
}

.orbitStudio__header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: var(--content-space);
}

.orbitStudio__brand,
.orbitStudio__contact {
  color: var(--orbit-text);
  text-decoration: none;
}

.orbitStudio__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.orbitStudio__brandMark {
  width: 10px;
  height: 10px;
  border: 2px solid var(--orbit-violet-bright);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(155, 108, 255, 0.65);
}

.orbitStudio__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
  color: #d9d4e6;
  font-size: 0.82rem;
}

.orbitStudio__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: var(--content-space);
}

.orbitStudio__eyebrow {
  margin: 0 0 18px;
  color: var(--orbit-violet-bright);
  font-size: clamp(0.68rem, 0.8vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.orbitStudio__title {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.4rem, 10.4vw, 10rem);
  font-weight: 500;
  line-height: 0.81;
  letter-spacing: -0.075em;
}

.orbitStudio__title em {
  color: var(--orbit-violet-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.orbitStudio__footer {
  display: grid;
  grid-template-columns: minmax(200px, 370px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(34px, 7vh, 86px);
}

.orbitStudio__footer p {
  margin: 0;
  color: var(--orbit-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.orbitStudio__cta {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  padding: 6px 6px 6px 18px;
  border: 1px solid rgba(187, 154, 255, 0.35);
  border-radius: 999px;
  background: rgba(128, 80, 255, 0.08);
  color: var(--orbit-text);
  font-size: 0.86rem;
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.orbitStudio__ctaIcon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--orbit-violet);
  color: #08070b;
  font-size: 1rem;
}

.orbitStudio__cta:hover {
  border-color: var(--orbit-violet);
  background: rgba(128, 80, 255, 0.15);
  transform: translateY(-2px);
}

/* Orbit graphic */

.orbitStudio__visual {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -5vw;
  width: min(68vw, 920px);
  aspect-ratio: 1;
  transform: translateY(-53%);
  pointer-events: none;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--orbit-line);
  border-radius: 50%;
}

.orbit::after {
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  border-top-color: rgba(181, 147, 255, 0.5);
  border-radius: inherit;
  content: "";
}

.orbit--outer {
  width: 100%;
  height: 100%;
  margin: -50%;
  animation: orbitRotate 28s linear infinite;
}

.orbit--middle {
  width: 70%;
  height: 70%;
  margin: -35%;
  animation: orbitRotateReverse 21s linear infinite;
}

.orbit--inner {
  width: 40%;
  height: 40%;
  margin: -20%;
  animation: orbitRotate 15s linear infinite;
}

.orbit__node {
  position: absolute;
  top: 50%;
  right: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orbit-violet-bright);
  box-shadow:
    0 0 10px rgba(181, 147, 255, 0.9),
    0 0 30px rgba(126, 74, 255, 0.6);
}

.orbitStudio__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 15%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(183, 151, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbitStudio__core span {
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d8c8ff;
  box-shadow:
    0 0 20px #9768ff,
    0 0 80px rgba(127, 74, 255, 0.9);
}

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

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

/* Keyboard accessibility */

.orbitStudio a:focus-visible {
  outline: 3px solid var(--orbit-violet-bright);
  outline-offset: 5px;
}

/* Mobile */

@media (max-width: 700px) {
  .orbitStudio {
    padding: 12px;
  }

  .orbitStudio__panel {
    min-height: calc(100svh - 24px);
  }

  .orbitStudio__header,
  .orbitStudio__content {
    padding: var(--content-space);
  }

  .orbitStudio__contact {
    font-size: 0.76rem;
  }

  .orbitStudio__visual {
    top: 36%;
    right: -45vw;
    width: 120vw;
    opacity: 0.8;
  }

  .orbitStudio__title {
    max-width: none;
    font-size: clamp(3.8rem, 17vw, 6rem);
    line-height: 0.87;
  }

  .orbitStudio__footer {
    grid-template-columns: 1fr;
    align-items: start;
    margin-top: 34px;
  }

  .orbitStudio__footer p {
    max-width: 32rem;
  }

  .orbitStudio__cta {
    justify-self: start;
  }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  .orbit {
    animation: none;
  }

  .orbitStudio__cta {
    transition: none;
  }
}