/* A more expressive presentation, using composited transforms. */
.motion-enabled .photo-frame {
  animation: photo-drift 6s ease-in-out 0.4s infinite;
  box-shadow:
    0 15px 25px #44245c12,
    0 35px 65px #50236520;
}
.motion-enabled .orbit-one {
  animation: orbit-sway 9s ease-in-out infinite;
}
.motion-enabled .orbit-two {
  animation: orbit-counter 12s ease-in-out infinite;
}
.motion-enabled .hero-actions > .button::after {
  animation: invitation-sheen 5.5s ease-in-out 1s infinite;
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  display: none;
  position: absolute;
  width: 15px;
  height: 15px;
  color: #a47eb9;
  opacity: 0.4;
}
.hero-particle::before,
.hero-particle::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 50%;
}
.hero-particle::before {
  width: 1px;
  height: 100%;
  left: 50%;
}
.hero-particle::after {
  width: 100%;
  height: 1px;
  top: 50%;
}
.motion-enabled .hero-particle {
  display: block;
  animation: petal-drift 7s ease-in-out infinite;
}
.hero-particle:nth-child(1) {
  left: 54%;
  top: 17%;
  animation-delay: -1s;
}
.hero-particle:nth-child(2) {
  left: 91%;
  top: 39%;
  width: 22px;
  height: 22px;
  animation-delay: -3s;
}
.hero-particle:nth-child(3) {
  left: 58%;
  top: 71%;
  width: 10px;
  height: 10px;
  animation-delay: -5s;
}
.hero-particle:nth-child(4) {
  left: 94%;
  top: 80%;
  animation-delay: -2s;
}
.hero-particle:nth-child(5) {
  left: 46%;
  top: 47%;
  width: 9px;
  height: 9px;
  animation-delay: -4s;
}
.hero-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 24px;
}
.motion-replay {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #ddcce8;
  border-radius: 25px;
  background: #f4edf9;
  color: #765286;
  font-size: 9px;
  line-height: 1.4;
  min-height: 36px;
  cursor: pointer;
  transition:
    background 0.25s,
    box-shadow 0.25s;
}
.motion-replay[hidden] {
  display: none;
}
.motion-replay:hover {
  background: #e9dbf3;
  box-shadow: 0 5px 15px #70429214;
}
.motion-replay svg {
  width: 14px;
  height: 14px;
}
.motion-enabled .section-copy.will-reveal {
  --reveal-x: -18px;
}
.motion-enabled .module-list.will-reveal,
.motion-enabled .faq-list.will-reveal {
  --reveal-x: 18px;
}
@keyframes photo-drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}
@keyframes orbit-sway {
  0%,
  100% {
    transform: rotate(7deg);
  }
  50% {
    transform: rotate(-3deg);
  }
}
@keyframes orbit-counter {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(6deg);
  }
}
@keyframes petal-drift {
  0%,
  100% {
    transform: translateY(8px) rotate(0deg) scale(0.8);
    opacity: 0.18;
  }
  50% {
    transform: translateY(-18px) rotate(55deg) scale(1.15);
    opacity: 0.65;
  }
}
@keyframes invitation-sheen {
  0%,
  68% {
    transform: translateX(-80%);
  }
  90%,
  100% {
    transform: translateX(80%);
  }
}
@media (max-width: 599px) {
  .hero-bottom {
    align-items: flex-end;
    gap: 12px;
  }
  .hero-bottom-links {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }
  .hero-bottom > p {
    width: 110px;
    flex-shrink: 0;
  }
  .hero-bottom .scroll-hint {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .motion-replay {
    min-height: 44px;
    font-size: 9px;
  }
  .hero-particle:nth-child(1) {
    left: 91%;
    top: 9%;
  }
  .hero-particle:nth-child(3) {
    left: 6%;
    top: 61%;
  }
  .hero-particle:nth-child(5) {
    display: none;
  }
  .motion-enabled .section-copy.will-reveal,
  .motion-enabled .module-list.will-reveal,
  .motion-enabled .faq-list.will-reveal {
    --reveal-x: 0px;
  }
  @keyframes photo-drift {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -8px;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-frame {
    translate: 0 0 !important;
  }
  .hero-particle,
  .motion-replay {
    display: none !important;
  }
}
