/* The original Framer logo remains the default, including without JavaScript. */
html:not([data-b3d-logo="animated"]) #welcome [data-framer-name="Logo"] {
  opacity: 1 !important;
  transform: none !important;
}

#b3d-hero-animation {
  position: absolute;
  z-index: 1;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}

#b3d-hero-animation b3d-logo-anim {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

html[data-b3d-logo="animated"] #b3d-hero-animation {
  visibility: visible;
  opacity: 1;
}

html[data-b3d-logo="animated"] #welcome img {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html[data-b3d-logo="animated"] #welcome img { visibility: visible; }
  html[data-b3d-logo="animated"] #b3d-hero-animation { visibility: hidden; }
}
