.pf-splash { display: none; }
.intro-active .pf-splash {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center;
  overflow: hidden; background: #e5b4fb;
  animation: splash-background 7.2s ease-in-out both;
}
.intro-active .site-header,.intro-active main,.intro-active footer { opacity: 0; visibility: hidden; }
.intro-done main,.intro-done .site-header { animation: home-dissolve 1.1s ease-out both; }
.splash-emblem { width: clamp(150px,32vw,270px); aspect-ratio: .72; animation: splash-logo-light 7.2s ease-in-out both; }
.splash-logo {
  position: relative; width: 100%; height: 100%;
  background: #70408e16;
  mask: url("images/proface-pf.png") center / contain no-repeat;
  -webkit-mask: url("images/proface-pf.png") center / contain no-repeat;
}
.splash-ink { position: absolute; inset: 0; background: linear-gradient(145deg,#fff2dc,#edc5ff 48%,#d393f5); transform-origin: bottom; animation: splash-fill 7.2s cubic-bezier(.25,.1,.3,1) both; }
.splash-particles { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.splash-particles i {
  position: absolute; width: var(--orb-size,70px); height: var(--orb-size,70px);
  border-radius: 50%;
  background: radial-gradient(circle,#fff1ff 0%,#f5d2ffdd 12%,#d19af5aa 35%,#bd78eb33 57%,transparent 73%);
  filter: blur(var(--orb-blur,8px));
  animation: free-color-absorb var(--orb-duration,3.7s) var(--orb-delay,0s) cubic-bezier(.45,0,.55,1) both;
}
.splash-skip { position: absolute; bottom: max(32px,env(safe-area-inset-bottom)); border: 0; background: transparent; color: #fff3ff; font: inherit; font-size: .85rem; padding: 12px 20px; text-shadow: 0 1px 4px #452356; }
@keyframes splash-background {
  0%,8% { background: #e5b4fb; opacity: 1; }
  35%,88% { background: #34203f; opacity: 1; }
  100% { background: #34203f; opacity: 0; visibility: hidden; }
}
@keyframes splash-fill { 0%,18% { transform: scaleY(0); } 60%,100% { transform: scaleY(1); } }
@keyframes free-color-absorb {
  0% { transform: translate(var(--sx,0),var(--sy,0)) scale(.65); opacity: 0; }
  12% { opacity: var(--orb-opacity,.8); }
  28% { transform: translate(var(--wx,0),var(--wy,0)) scale(1); }
  52% { transform: translate(var(--vx,0),var(--vy,0)) scale(.85); opacity: var(--orb-opacity,.8); }
  88% { opacity: .9; }
  100% { transform: translate(0,0) scale(.025); opacity: 0; }
}
@keyframes splash-logo-light {
  0%,16% { opacity: .08; filter: drop-shadow(0 0 0 transparent); }
  60% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 10px #f7d6ff) drop-shadow(0 0 26px #d69bff); }
  74% { opacity: 1; transform: scale(1.015); filter: drop-shadow(0 0 20px #fff0ff) drop-shadow(0 0 48px #d69bff); }
  88% { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 14px #f7d6ff) drop-shadow(0 0 36px #d69bff); }
  100% { opacity: 0; transform: scale(1.06); filter: blur(8px) drop-shadow(0 0 35px #edc5ff); }
}
@keyframes home-dissolve { from { opacity: 0; filter: blur(5px); } to { opacity: 1; filter: blur(0); } }
@media(prefers-reduced-motion:reduce) { .pf-splash { display: none !important; } .intro-active .site-header,.intro-active main,.intro-active footer { opacity: 1; visibility: visible; } .intro-done main,.intro-done .site-header { animation: none; } }
