/* A clean brand reveal. Only the logo catches light; there are no background ornaments. */
#ploomu-site-intro {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f9f8f8;
  pointer-events: none;
  user-select: none;
  isolation: isolate;
  animation: ploomu-intro-cover 1060ms cubic-bezier(.4,0,.2,1) both;
}
#ploomu-site-intro .ploomu-intro-brand {
  position: relative;
  width: clamp(174px, 17vw, 218px);
  line-height: 0;
}
#ploomu-site-intro .ploomu-intro-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: ploomu-intro-mark 440ms cubic-bezier(.16,1,.3,1) 40ms both;
}
#ploomu-site-intro .ploomu-intro-light {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  -webkit-mask: url('/brand/ploomu-logo.png') center / 100% 100% no-repeat;
  mask: url('/brand/ploomu-logo.png') center / 100% 100% no-repeat;
  animation: ploomu-intro-light-reveal 440ms cubic-bezier(.16,1,.3,1) 40ms both;
}
#ploomu-site-intro .ploomu-intro-light::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -65%;
  width: 65%;
  background: linear-gradient(105deg, transparent 14%, #6392f144 35%, #6898f7 48%, #e8f2ff 55%, #78a3ffbb 63%, transparent 85%);
  animation: ploomu-intro-light-pass 720ms linear 80ms both;
}
@keyframes ploomu-intro-cover {
  0%, 69% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes ploomu-intro-mark {
  from { opacity: 0; transform: translateY(6px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes ploomu-intro-light-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ploomu-intro-light-pass {
  0% { opacity: 0; transform: translateX(0); }
  18%, 78% { opacity: 1; }
  100% { opacity: 0; transform: translateX(270%); }
}
/* Keep the header steady on internal navigation; only the new page content fades in. */
html[data-site-page-arrival="true"] main {
  animation: ploomu-page-arrival 180ms ease-out both;
}
@keyframes ploomu-page-arrival {
  from { opacity: .35; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #ploomu-site-intro { animation: ploomu-intro-reduced 110ms linear both; }
  #ploomu-site-intro .ploomu-intro-logo { animation: none; transform: none; }
  #ploomu-site-intro .ploomu-intro-light { display: none; animation: none; }
  #ploomu-site-intro .ploomu-intro-light::after { animation: none; }
  html[data-site-page-arrival="true"] main { animation: none; }
}
@keyframes ploomu-intro-reduced {
  from { opacity: 1; }
  to { opacity: 0; }
}
