:root {
  --intro-ink: #14211f;
  --intro-muted: #5e6c72;
  --intro-green: #63c484;
}

.pro360-intro {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(99, 196, 132, .24), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(99, 196, 132, .16), transparent 32%),
    linear-gradient(145deg, #fbfffd 0%, #edf7f1 46%, #f8faf9 100%);
  color: var(--intro-ink);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .72s ease, visibility .72s ease;
}

.pro360-intro::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(90deg, rgba(20, 33, 31, .07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(20, 33, 31, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 44%, #000 0 44%, transparent 78%);
}

.pro360-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pro360-intro__leaf-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pro360-intro__leaf {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(34px, 5vw, 76px);
  height: auto;
  opacity: 0;
  filter: drop-shadow(0 16px 22px rgba(15, 143, 84, .2));
  transform: translate3d(var(--x-start), var(--y-start), 0) rotate(var(--r-start)) scale(var(--s));
  animation: pro360LeafDrift var(--duration) cubic-bezier(.22, .78, .26, .99) var(--delay) both;
  will-change: transform, opacity;
}

.pro360-intro__leaf:nth-child(1) { --x-start: -58vw; --y-start: 36vh; --x-end: 34vw; --y-end: -34vh; --r-start: -32deg; --r-end: 38deg; --s: .78; --delay: .04s; --duration: 2.28s; }
.pro360-intro__leaf:nth-child(2) { --x-start: 52vw; --y-start: -42vh; --x-end: -28vw; --y-end: 28vh; --r-start: 28deg; --r-end: -42deg; --s: .66; --delay: .12s; --duration: 2.44s; }
.pro360-intro__leaf:nth-child(3) { --x-start: -46vw; --y-start: -18vh; --x-end: 22vw; --y-end: 30vh; --r-start: 8deg; --r-end: 88deg; --s: .46; --delay: .22s; --duration: 2.18s; }
.pro360-intro__leaf:nth-child(4) { --x-start: 46vw; --y-start: 34vh; --x-end: -36vw; --y-end: -18vh; --r-start: 64deg; --r-end: -14deg; --s: .58; --delay: .28s; --duration: 2.36s; }
.pro360-intro__leaf:nth-child(5) { --x-start: -16vw; --y-start: 54vh; --x-end: 10vw; --y-end: -42vh; --r-start: -12deg; --r-end: 70deg; --s: .86; --delay: .36s; --duration: 2.08s; }
.pro360-intro__leaf:nth-child(6) { --x-start: 22vw; --y-start: -56vh; --x-end: -12vw; --y-end: 42vh; --r-start: 38deg; --r-end: -58deg; --s: .5; --delay: .48s; --duration: 2.32s; }
.pro360-intro__leaf:nth-child(7) { --x-start: -62vw; --y-start: 4vh; --x-end: 44vw; --y-end: -4vh; --r-start: -48deg; --r-end: 26deg; --s: .36; --delay: .58s; --duration: 2.02s; }
.pro360-intro__leaf:nth-child(8) { --x-start: 58vw; --y-start: 8vh; --x-end: -46vw; --y-end: -10vh; --r-start: 22deg; --r-end: -72deg; --s: .42; --delay: .66s; --duration: 2.16s; }

.pro360-intro__brand {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px 42px;
  text-align: center;
  opacity: 0;
  transform: translateY(16px) scale(.96);
  animation: pro360BrandReveal .86s cubic-bezier(.2, .8, .2, 1) 1.24s both;
}

.pro360-intro__title {
  margin: 0;
  color: var(--intro-ink);
  font: 950 clamp(42px, 8vw, 86px)/.95 "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: 0;
  text-shadow: 0 18px 42px rgba(20, 33, 31, .10);
}

.pro360-intro__subtitle {
  margin: 0;
  color: var(--intro-muted);
  font: 850 clamp(15px, 2vw, 21px)/1.45 "Segoe UI", Tahoma, Arial, sans-serif;
}

@keyframes pro360LeafDrift {
  0% {
    opacity: 0;
    transform: translate3d(var(--x-start), var(--y-start), 0) rotate(var(--r-start)) scale(var(--s));
  }
  16% { opacity: .88; }
  72% { opacity: .82; }
  100% {
    opacity: 0;
    transform: translate3d(var(--x-end), var(--y-end), 0) rotate(var(--r-end)) scale(calc(var(--s) * 1.06));
  }
}

@keyframes pro360BrandReveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pro360-intro__leaf {
    display: none;
  }

  .pro360-intro__brand {
    animation: pro360BrandReveal .28s ease both;
  }

  .pro360-intro,
  .pro360-intro.is-done {
    transition-duration: .2s;
  }
}
