/* Hero brand reveal: three logo pieces assemble at the center of the full page. */
.hero-visual:before,
.hero-visual:after { content: none !important; }

.hero-logo-orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: clamp(320px, 39vw, 570px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.hero-logo-orbit::before,
.hero-logo-orbit::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgba(255, 255, 255, .035), 0 0 70px rgba(185, 207, 255, .2);
}
.hero-logo-orbit::before {
  background: radial-gradient(circle at 50% 0%, #d9ff3f 0 3px, transparent 4px);
  animation: hero-logo-orbit-spin 32s linear infinite;
}
.hero-logo-orbit::after {
  inset: 9%;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .34);
  box-shadow: none;
  animation: hero-logo-orbit-spin 42s linear infinite reverse;
}

.hero-logo-lockup {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(230px, 27vw, 400px);
  height: auto;
  aspect-ratio: 676 / 756;
  max-height: 82%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 26px rgba(255, 255, 255, .24));
  transform: translate(-50%, -50%);
  animation: hero-logo-presence 8s ease-in-out 1.55s infinite both;
}
.hero-logo-part {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center;
}
.hero-logo-lockup.is-building .hero-logo-part {
  animation: hero-logo-piece-join .95s cubic-bezier(.2, .78, .18, 1) both;
}
.hero-logo-part--horn { --from-x: 0px; --from-y: -72px; --from-rotate: -12deg; animation-delay: 0s; }
.hero-logo-part--ribbon { --from-x: -76px; --from-y: 0px; --from-rotate: 9deg; animation-delay: .13s; }
.hero-logo-part--base { --from-x: 12px; --from-y: 78px; --from-rotate: 11deg; animation-delay: .26s; }

.hero-visual .hero-shoe { z-index: 3; }
.hero-visual .visual-top,
.hero-visual .hero-caption,
.hero-visual .hero-slide-controls,
.hero-visual .hero-index { z-index: 4; }

@keyframes hero-logo-piece-join {
  0% {
    opacity: 0;
    filter: blur(7px);
    transform: translate(var(--from-x), var(--from-y)) rotate(var(--from-rotate)) scale(.76);
  }
  72% { opacity: 1; filter: blur(0); transform: translate(0, 0) rotate(2deg) scale(1.045); }
  100% { opacity: 1; filter: none; transform: translate(0, 0) rotate(0) scale(1); }
}
@keyframes hero-logo-presence {
  0%, 100% { opacity: .72; filter: drop-shadow(0 0 22px rgba(255, 255, 255, .2)); }
  50% { opacity: .88; filter: drop-shadow(0 0 36px rgba(255, 255, 255, .42)); }
}
@keyframes hero-logo-orbit-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
  .hero-logo-lockup { top: 66%; width: min(58vw, 250px); max-height: 35%; }
  .hero-logo-orbit { top: 66%; width: min(78vw, 340px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-orbit::before,
  .hero-logo-orbit::after,
  .hero-logo-lockup { animation: none !important; transition: none !important; }
  .hero-logo-lockup.is-building .hero-logo-part {
    animation-name: hero-logo-piece-join-reduced;
    animation-duration: .72s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
    animation-play-state: running;
    animation: hero-logo-piece-join-reduced .72s ease-out both !important;
  }
  .hero-logo-part--horn { --from-x: 0px; --from-y: -18px; --from-rotate: 0deg; }
  .hero-logo-part--ribbon { --from-x: -18px; --from-y: 0px; --from-rotate: 0deg; }
  .hero-logo-part--base { --from-x: 0px; --from-y: 18px; --from-rotate: 0deg; }
  .hero-logo-lockup.is-building .hero-logo-part--horn { animation-delay: 0s !important; }
  .hero-logo-lockup.is-building .hero-logo-part--ribbon { animation-delay: .12s !important; }
  .hero-logo-lockup.is-building .hero-logo-part--base { animation-delay: .24s !important; }
}

@keyframes hero-logo-piece-join-reduced {
  0% { opacity: 0; transform: translate(var(--from-x), var(--from-y)); }
  100% { opacity: 1; transform: translate(0, 0); }
}
