.studio-splash {
  --splash-left: 47.5%;
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: none;
  overflow: hidden;
  background: transparent;
  color: #0b0b0c;
  isolation: isolate;
}

html.has-studio-splash .studio-splash {
  display: block;
}

html.has-studio-splash,
html.has-studio-splash body {
  overflow: hidden;
}

html.has-studio-splash {
  scrollbar-gutter: stable;
}

html.has-studio-splash .site-cursor {
  display: none !important;
}

html.has-studio-splash .preloader {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

html.has-studio-splash .site-shell {
  filter: blur(11px) brightness(0.9) saturate(1.18);
  transform: scale(1.018);
  transform-origin: center;
  transition:
    filter 1.05s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}

html.has-studio-splash.is-splash-entering .site-shell {
  filter: blur(0) brightness(1) saturate(1);
  transform: scale(1);
}

.studio-splash__half {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 0;
  will-change: transform, opacity;
}

.studio-splash__half--identity {
  left: 0;
  width: calc(var(--splash-left) + 1px);
  background:
    radial-gradient(circle at 52% 47%, rgba(255, 255, 255, 0.025), transparent 32%),
    #030303;
  transition: transform 1.08s cubic-bezier(0.76, 0, 0.24, 1);
}

.studio-splash__half--preview {
  right: 0;
  width: calc(100% - var(--splash-left));
  background:
    radial-gradient(circle at 48% 36%, rgba(26, 83, 255, 0.18), transparent 43%),
    linear-gradient(90deg, rgba(3, 9, 24, 0.16), rgba(5, 31, 86, 0.08)),
    rgba(0, 0, 0, 0.06);
  -webkit-backdrop-filter: blur(7px) brightness(1.04) saturate(1.18);
  backdrop-filter: blur(7px) brightness(1.04) saturate(1.18);
  transition:
    opacity 0.9s ease,
    transform 1.08s cubic-bezier(0.76, 0, 0.24, 1),
    -webkit-backdrop-filter 0.9s ease,
    backdrop-filter 0.9s ease;
}

.studio-splash__split-line {
  position: absolute;
  left: var(--splash-left);
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: 50% 50%;
  transition:
    opacity 0.42s ease,
    transform 0.88s cubic-bezier(0.76, 0, 0.24, 1);
}

.studio-splash__identity {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  display: grid;
  width: var(--splash-left);
  height: 100%;
  place-items: center;
  padding: clamp(2rem, 5vw, 6.5rem);
  pointer-events: none;
}

.studio-splash__card {
  position: relative;
  width: min(25.3rem, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.7rem;
  background: #f4f4f2;
  box-shadow:
    0 2.5rem 6.5rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.48s ease,
    transform 0.92s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-splash__art {
  position: relative;
  height: clamp(10rem, 15vw, 13.2rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(247, 252, 255, 0.96), rgba(148, 201, 255, 0.66) 16%, transparent 34%),
    radial-gradient(circle at 20% 96%, rgba(30, 90, 185, 0.62), transparent 34%),
    linear-gradient(126deg, #071120 0%, #0a2b59 30%, #d5eaff 57%, #f3f8ff 65%, #08244b 84%, #02070f 100%);
}

.studio-splash__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.12) 40%, transparent 58%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 45%, rgba(0, 0, 0, 0.12));
  mix-blend-mode: screen;
}

.studio-splash__art-beam {
  position: absolute;
  display: block;
  width: 155%;
  height: 42%;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.5;
  transform: rotate(-34deg);
}

.studio-splash__art-beam--one {
  left: -32%;
  top: 10%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.78), rgba(111,174,255,0.2), transparent);
}

.studio-splash__art-beam--two {
  right: -52%;
  bottom: 3%;
  background: linear-gradient(90deg, transparent, rgba(106,173,255,0.22), rgba(255,255,255,0.62), transparent);
}

.studio-splash__art-noise {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.8) 0 0.5px, transparent 0.7px),
    radial-gradient(circle at 68% 62%, rgba(255,255,255,0.55) 0 0.4px, transparent 0.65px);
  background-size: 9px 9px, 13px 13px;
}

.studio-splash__card-body {
  position: relative;
  min-height: 16.2rem;
  padding: 3.9rem 1.85rem 1.55rem;
  background: #f4f4f2;
}

.studio-splash__badge {
  position: absolute;
  left: 1.8rem;
  top: -3.3rem;
  display: grid;
  width: 6.35rem;
  aspect-ratio: 1;
  place-items: center;
  border: 5px solid #f4f4f2;
  border-radius: 50%;
  background: #07090d;
  box-shadow: 0 0.85rem 1.7rem rgba(0, 0, 0, 0.18);
}

.studio-splash__badge img {
  width: 47%;
  height: 47%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.studio-splash__eyebrow {
  display: block;
  margin-bottom: 0.62rem;
  color: rgba(12, 13, 16, 0.42);
  font-family: "Inter", sans-serif;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.studio-splash__card h1 {
  margin: 0;
  color: #090a0c;
  font-size: clamp(1.55rem, 2.15vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.studio-splash__card p {
  max-width: 20.5rem;
  margin: 1.22rem 0 2.2rem;
  color: rgba(10, 14, 24, 0.72);
  font-size: clamp(0.8rem, 0.95vw, 0.96rem);
  font-weight: 400;
  line-height: 1.48;
}

.studio-splash__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #2354ef;
  font-size: 0.7rem;
  font-weight: 500;
}

.studio-splash__card-footer span:last-child {
  color: rgba(11, 13, 17, 0.38);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.studio-splash__enter {
  position: absolute;
  right: 1.45rem;
  top: 1.42rem;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  height: 2.4rem;
  padding: 0 1rem 0 1.12rem;
  border: 1px solid rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  background: #070709;
  color: #fff;
  box-shadow: 0 0.55rem 1.15rem rgba(0, 0, 0, 0.16);
  cursor: pointer !important;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  transition:
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.22s ease,
    box-shadow 0.22s ease;
}

body.has-site-cursor .studio-splash__enter {
  cursor: pointer !important;
}

.studio-splash__enter:hover,
.studio-splash__enter:focus-visible {
  background: #11141a;
  box-shadow: 0 0.72rem 1.5rem rgba(0, 0, 0, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.studio-splash__enter-arrow {
  font-size: 0.94rem;
  font-weight: 400;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-splash__enter:hover .studio-splash__enter-arrow,
.studio-splash__enter:focus-visible .studio-splash__enter-arrow {
  transform: translateX(0.2rem);
}

.studio-splash__loading {
  position: absolute;
  left: calc(var(--splash-left) + ((100% - var(--splash-left)) / 2));
  top: 50%;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  color: rgba(255,255,255,0.58);
  transform: translate(-50%, -50%);
  transition:
    opacity 0.42s ease,
    transform 0.68s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-splash__loader {
  position: relative;
  width: clamp(5rem, 6vw, 6.75rem);
  aspect-ratio: 1;
  animation: studioSplashRotate 2.4s linear infinite;
}

.studio-splash__loader span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(1.1rem, 1.5vw, 1.65rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f5f5f3;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.68),
    0 0 1.35rem rgba(255,255,255,0.08);
  transform: translate(-50%, -50%) rotate(calc(var(--i) * 60deg)) translateY(-2.2rem);
}

.studio-splash__loader span:nth-child(1) { --i: 0; }
.studio-splash__loader span:nth-child(2) { --i: 1; }
.studio-splash__loader span:nth-child(3) { --i: 2; }
.studio-splash__loader span:nth-child(4) { --i: 3; }
.studio-splash__loader span:nth-child(5) { --i: 4; }
.studio-splash__loader span:nth-child(6) { --i: 5; }

.studio-splash__loading-label {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.5rem;
  letter-spacing: 0.16em;
}

.studio-splash.is-entering .studio-splash__card {
  opacity: 0;
  transform: translate3d(-2rem, 0, 0) scale(0.965);
}

.studio-splash.is-entering .studio-splash__loading {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.58) rotate(32deg);
}

.studio-splash.is-entering .studio-splash__half--identity {
  transform: translate3d(-101%, 0, 0);
}

.studio-splash.is-entering .studio-splash__half--preview {
  opacity: 0;
  transform: translate3d(101%, 0, 0);
  -webkit-backdrop-filter: blur(0) brightness(1) saturate(1);
  backdrop-filter: blur(0) brightness(1) saturate(1);
}

.studio-splash.is-entering .studio-splash__split-line {
  opacity: 0;
  transform: scaleY(0.12);
}

.studio-splash.is-hidden {
  display: none;
}

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

@media (max-width: 900px) {
  .studio-splash {
    --splash-left: 52%;
  }

  .studio-splash__identity {
    padding: 2.25rem;
  }

  .studio-splash__card-body {
    padding-inline: 1.35rem;
  }

  .studio-splash__badge {
    left: 1.25rem;
  }

  .studio-splash__enter {
    right: 1.05rem;
  }
}

@media (max-width: 760px) {
  .studio-splash {
    --splash-left: 100%;
    background: #030303;
  }

  html.has-studio-splash .site-shell,
  html.has-studio-splash.is-splash-entering .site-shell {
    filter: none;
    transform: none;
    transition: none;
  }

  .studio-splash__half--identity {
    width: 100%;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.38)),
      #030303;
  }

  .studio-splash__half--preview,
  .studio-splash__split-line {
    display: none;
  }

  .studio-splash__identity {
    width: 100%;
    padding: 1.15rem;
  }

  .studio-splash__card {
    width: min(23rem, 94vw);
    border-radius: 1.35rem;
  }

  .studio-splash__art {
    height: 10rem;
  }

  .studio-splash__card-body {
    min-height: 15.5rem;
    padding: 3.45rem 1.35rem 1.25rem;
  }

  .studio-splash__badge {
    left: 1.2rem;
    top: -2.75rem;
    width: 5.35rem;
    border-width: 4px;
  }

  .studio-splash__enter {
    right: 1rem;
    top: 1rem;
    height: 2.2rem;
    padding-inline: 0.9rem;
    font-size: 0.62rem;
  }

  .studio-splash__card h1 {
    font-size: 1.65rem;
  }

  .studio-splash__card p {
    margin: 1rem 0 1.8rem;
    font-size: 0.79rem;
  }

  .studio-splash__loading {
    left: 50%;
    top: auto;
    bottom: 1.65rem;
    gap: 0.65rem;
    transform: translateX(-50%);
  }

  .studio-splash__loader {
    width: 3.2rem;
    animation: none;
  }

  .studio-splash__loader span {
    width: 0.72rem;
    transform: translate(-50%, -50%) rotate(calc(var(--i) * 60deg)) translateY(-1.35rem);
    box-shadow: none;
  }

  .studio-splash__loading-label {
    font-size: 0.42rem;
  }

  .studio-splash.is-entering .studio-splash__loading {
    transform: translateX(-50%) scale(0.72);
  }

  .studio-splash.is-entering .studio-splash__half--identity {
    transform: translate3d(0, -101%, 0);
  }
}

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

  .studio-splash__card,
  .studio-splash__half,
  .studio-splash__loading,
  .studio-splash__split-line,
  html.has-studio-splash .site-shell {
    transition-duration: 0.16s !important;
  }
}


/* Shared logo transition: intro symbol -> header wordmark */
html.has-studio-splash .brand-mark {
  opacity: 0 !important;
  transform: none !important;
  animation: none !important;
}

html.is-shared-logo-landed .brand-mark {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.shared-logo-flight {
  position: fixed;
  inset: 0;
  z-index: 30010;
  overflow: visible;
  pointer-events: none;
  contain: layout style;
}

.shared-logo-flight__image {
  display: block;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  will-change: transform, opacity;
}

.shared-logo-flight__image--source {
  filter: brightness(0) invert(1);
}

.shared-logo-flight__image--target {
  filter: invert(1);
}

html.is-shared-logo-active .studio-splash.is-entering .studio-splash__card {
  opacity: 0;
  transform: none;
  transition:
    opacity 0.52s ease,
    transform 0s linear;
}

html.is-shared-logo-active .studio-splash.is-entering .studio-splash__half--identity,
html.is-shared-logo-active .studio-splash.is-entering .studio-splash__half--preview {
  opacity: 0;
  transform: none;
  transition:
    opacity 0.9s ease,
    transform 0s linear,
    -webkit-backdrop-filter 0.9s ease,
    backdrop-filter 0.9s ease;
}

html.is-shared-logo-active .studio-splash.is-entering .studio-splash__loading {
  opacity: 0;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.42s ease,
    transform 0s linear;
}

html.is-shared-logo-active .studio-splash.is-entering .studio-splash__split-line {
  opacity: 0;
  transform: none;
  transition:
    opacity 0.42s ease,
    transform 0s linear;
}

@media (max-width: 760px) {
  html.is-shared-logo-active .studio-splash.is-entering .studio-splash__loading {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .shared-logo-flight {
    display: none !important;
  }

  html.is-shared-logo-reduced .studio-splash.is-entering .studio-splash__card,
  html.is-shared-logo-reduced .studio-splash.is-entering .studio-splash__half--identity,
  html.is-shared-logo-reduced .studio-splash.is-entering .studio-splash__half--preview,
  html.is-shared-logo-reduced .studio-splash.is-entering .studio-splash__loading,
  html.is-shared-logo-reduced .studio-splash.is-entering .studio-splash__split-line {
    opacity: 0;
    transform: none !important;
    transition:
      opacity 0.16s ease !important,
      transform 0s linear !important;
  }
}
