.studio-intro {
  position: fixed;
  z-index: 20000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #02070a;
  opacity: 1;
  transition: opacity 420ms ease;
}
.studio-intro[hidden] {
  display: none;
}
.studio-intro.is-complete {
  opacity: 0;
  pointer-events: none;
}
.studio-intro video,
.studio-intro::before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.studio-intro::before {
  content: '';
  background: url('/media/vfx-studios-clean-plate.png') center / cover no-repeat;
}
.studio-intro video {
  z-index: 1;
}
.studio-intro.is-fallback video {
  display: none;
}
.studio-intro-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, transparent 0 18%, rgba(2, 7, 10, 0.28) 58%, rgba(2, 7, 10, 0.82) 100%),
    linear-gradient(180deg, rgba(2, 7, 10, 0.18), rgba(2, 7, 10, 0.62));
}
.studio-intro-copy {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  color: #edfdfb;
  text-transform: uppercase;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.72);
}
.studio-intro-copy span {
  color: #81eff0;
  font-size: clamp(12px, 1.4vw, 18px);
  font-weight: 800;
  letter-spacing: 0.6em;
  transform: translateX(0.3em);
}
.studio-intro-copy strong {
  font:
    700 clamp(44px, 9vw, 112px) / 0.94 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  letter-spacing: -0.055em;
}
.studio-intro-copy small {
  margin-top: 18px;
  color: #c6dad9;
  font-size: clamp(10px, 1.1vw, 14px);
  letter-spacing: 0.28em;
}
.studio-intro-skip {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 22px;
  min-height: 38px;
  padding: 0 16px;
  border-color: rgba(129, 239, 240, 0.48);
  background: rgba(2, 10, 14, 0.72);
  color: #e6faf8;
  backdrop-filter: blur(10px);
}

.tour-launch {
  min-width: 56px;
  border-color: color-mix(in srgb, var(--cyan, #7fe9ec) 45%, transparent) !important;
  color: var(--cyan, #9cf7f5) !important;
}

.tour-invite {
  position: fixed;
  z-index: 12000;
  top: 86px;
  right: 18px;
  width: min(360px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid rgba(115, 234, 238, 0.42);
  border-radius: 10px;
  background: rgba(5, 16, 22, 0.97);
  box-shadow:
    0 18px 54px rgba(0, 0, 0, 0.5),
    inset 0 1px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.tour-invite strong {
  display: block;
  color: #eaf9f7;
  font-size: 14px;
}
.tour-invite p {
  margin: 7px 0 14px;
  color: #91aaad;
  font-size: 12px;
  line-height: 1.5;
}
.tour-invite-actions {
  display: flex;
  gap: 8px;
}
.tour-invite button {
  flex: 1;
  pointer-events: auto;
}

.tour-layer {
  position: fixed;
  z-index: 15000;
  inset: 0;
  pointer-events: none;
}
.tour-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 5, 8, 0.69);
  backdrop-filter: blur(1px);
}
.tour-spotlight {
  position: fixed;
  border: 2px solid #92f5f3;
  border-radius: 9px;
  box-shadow:
    0 0 0 9999px rgba(0, 5, 8, 0.7),
    0 0 0 4px rgba(92, 221, 225, 0.14),
    0 0 38px rgba(92, 221, 225, 0.24);
  transition:
    top 160ms ease,
    left 160ms ease,
    width 160ms ease,
    height 160ms ease;
}
.tour-dialog {
  position: fixed;
  width: min(390px, calc(100vw - 24px));
  padding: 0;
  pointer-events: auto;
  border: 1px solid rgba(228, 191, 121, 0.48);
  border-radius: 12px;
  background: linear-gradient(145deg, #0b2029, #061118 70%);
  color: #ecf8f7;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.64);
  overflow: hidden;
}
.tour-dialog::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, #80ecee, #e4bf79);
}
.tour-dialog-inner {
  padding: 19px;
}
.tour-kicker {
  margin: 0 0 7px;
  color: #7ce9eb;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tour-dialog h2 {
  margin: 0 0 8px;
  font:
    600 20px/1.2 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
}
.tour-dialog-copy {
  min-height: 48px;
  margin: 0;
  color: #9bb2b4;
  font-size: 13px;
  line-height: 1.55;
}
.tour-progress {
  height: 3px;
  margin: 16px 0 14px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.tour-progress span {
  display: block;
  width: 10%;
  height: 100%;
  background: #73e3e7;
  transition: width 180ms ease;
}
.tour-actions {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 7px;
}
.tour-actions button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 5px;
}
.tour-actions .tour-skip {
  justify-self: start;
  padding-left: 0;
  border-color: transparent;
  background: transparent;
  color: #81989b;
}
.tour-actions .tour-next {
  background: linear-gradient(#2a7189, #15536a);
  border-color: #5bbbd3;
  color: white;
}
.tour-actions button:disabled {
  opacity: 0.4;
}

@media (max-width: 640px) {
  .tour-dialog {
    position: fixed !important;
    inset: auto 8px 8px !important;
    width: auto;
  }
  .tour-dialog-copy {
    min-height: 0;
  }
  .tour-spotlight {
    border-radius: 6px;
  }
  .tour-invite {
    top: auto;
    right: 8px;
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tour-spotlight,
  .tour-progress span {
    transition: none;
  }
}
