/* SP Electricals - lift intro (line-art Lottie)
   Back to front: your page, the dark overlay, the Lottie stage, the warm
   glow, the curtain. */

.sp-intro {
  --sp-wall: #090a0c;            /* overlay colour: match your page background */
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  overflow: hidden;
  background: var(--sp-wall);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.sp-intro[hidden] { display: none; }

/* Not used by this version; kept so the index.html markup stays the same */
.sp-intro__wall { display: none; }

.sp-intro__curtain {
  position: absolute;
  inset: 0;
  background: var(--sp-wall);
}

/* Holds the Lottie. The script sizes it and sets its transform-origin to
   the centre of the lift doorway, so the push goes through the doors. */
.sp-intro__stage { position: absolute; }
.sp-intro__stage svg { display: block; }

/* The warm light that fills the screen once the camera is through the doors */
.sp-intro__glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(ellipse 75% 80% at 50% 50%,
    #fff6e8 0%, #fbebd2 38%, #e3cfae 70%, #8f8270 100%);
}

.sp-intro__skip {
  position: absolute;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  padding: 8px 14px;
  font: 500 12px/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: pointer;
}
.sp-intro__skip:hover,
.sp-intro__skip:focus-visible { color: #fff; border-color: rgba(255, 255, 255, 0.5); outline: none; }

/* Applied while the intro runs, removed afterwards. The background keeps
   the screen dark if your page's own CSS hasn't loaded yet. */
html.sp-intro-lock { overflow: hidden; }
html.sp-intro-lock,
html.sp-intro-lock body { background-color: #090a0c; }
/* Your page while it is completely covered: laid out as normal, not painted */
.sp-intro-hide { visibility: hidden; }
.sp-intro-target {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  transform-origin: 50% 50%;
}
