/* Subtle life around the photography; never animate paragraphs or move the layout. */
.adw-avada .adw-ambient-photo::before {
  transform-origin: 50% 65%;
  animation: adw-ambient-frame 13s ease-in-out infinite;
}
.adw-ambient-field {
  position: absolute;
  inset: 12px 0 16px 12px;
  z-index: 2;
  display: block;
  overflow: hidden;
  border-radius: 42% 28px 28px 28px;
  pointer-events: none;
  contain: paint;
}
.adw-ambient-seed {
  position: absolute;
  left: var(--seed-x);
  top: var(--seed-y);
  width: 4px;
  height: 7px;
  border-radius: 70% 20% 70% 20%;
  background: #f6dfad;
  opacity: .7;
  box-shadow: 0 0 4px #59422230;
  animation: adw-ambient-drift var(--seed-duration) var(--seed-delay) ease-in-out infinite;
}
.adw-ambient-seed:nth-child(3n) { width: 3px; height: 4px; }
html[data-adw-scheme=night] .adw-ambient-seed {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #eddfaa;
  box-shadow: 0 0 7px 2px #f4db9270;
  animation-name: adw-ambient-firefly;
}
.adw-ambient-enter {
  animation: adw-ambient-enter 850ms var(--adw-ambient-delay, 0ms) cubic-bezier(.22,.61,.36,1) both;
}
@keyframes adw-ambient-frame {
  0%,100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2.5deg) translateY(-4px); }
}
@keyframes adw-ambient-drift {
  0%,100% { opacity: 0; transform: translate(0,18px) rotate(-25deg); }
  18% { opacity: .72; }
  58% { opacity: .86; transform: translate(var(--seed-drift),-17px) rotate(38deg); }
  86% { opacity: 0; transform: translate(8px,-44px) rotate(85deg); }
}
@keyframes adw-ambient-firefly {
  0%,100% { opacity: .06; transform: translate(0,8px) scale(.7); }
  22% { opacity: .9; }
  46% { opacity: .25; transform: translate(var(--seed-drift),-19px) scale(1); }
  68% { opacity: .95; }
  85% { opacity: .08; transform: translate(5px,-36px) scale(.7); }
}
@keyframes adw-ambient-enter {
  from { opacity: .78; translate: 0 18px; }
  to { opacity: 1; translate: 0 0; }
}
/* Pausing retains the artwork's settled position; decorative specks disappear. */
.adw-ambient-scene:not(.adw-ambient-in-view),
.adw-ambient-scene:not(.adw-ambient-in-view) *,
.adw-ambient-scene:not(.adw-ambient-in-view)::before,
.adw-ambient-scene:not(.adw-ambient-in-view)::after {
  animation-play-state: paused !important;
}
html[data-adw-ambient-paused] .adw-avada :is([class*="adw-"],.fusion-logo img),
html[data-adw-ambient-paused] .adw-avada [class*="adw-"]::before,
html[data-adw-ambient-paused] .adw-avada [class*="adw-"]::after {
  animation-play-state: paused !important;
}
html[data-adw-motion=off] .adw-ambient-field { display: none; }
html[data-adw-motion=off] .adw-avada .adw-ambient-photo::before { animation: none !important; }
@media (max-width: 767px) {
  .adw-ambient-seed:nth-child(n+6) { display: none; }
  .adw-ambient-enter { animation-duration: 700ms; }
}
@media (prefers-reduced-motion: reduce) {
  .adw-ambient-field { display: none; }
  .adw-avada .adw-ambient-photo::before { animation: none !important; }
  .adw-ambient-enter { animation: none !important; }
}
