/* A quiet edge of pearl light. Its travel stays in the outer margin so the
   headline and film retain the clearest contrast throughout the whole loop. */
.photophy-theme .ambient-scene.has-fluid-orb {
  inset: -28px;
  background: #faf8f5;
}
.ambient-scene.has-fluid-orb .ambient-ribbon {
  display: none;
}
.ambient-fluid-orb {
  position: absolute;
  width: clamp(720px, 80vw, 1360px);
  height: auto;
  aspect-ratio: 1;
  right: -22vw;
  top: -26vh;
  overflow: visible;
  opacity: 0.36;
  pointer-events: none;
  will-change: transform;
  animation: ambient-pearl-wander 76s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.ambient-scene.has-fluid-orb::before {
  content: '';
  position: absolute;
  width: clamp(380px, 40vw, 650px);
  aspect-ratio: 1;
  left: -25%;
  top: 61%;
  border-radius: 49% 51% 56% 44% / 45% 53% 47% 55%;
  background: radial-gradient(ellipse closest-side, #ecdfec4a, #f1e5e533 42%, transparent 74%);
  opacity: .36;
  transform: rotate(22deg) scaleY(.81);
  animation: ambient-second-light 62s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes ambient-second-light {
  to { transform: translate3d(3vw, -4vh, 0) rotate(14deg) scaleY(.88); }
}
.ambient-scene.is-paused::before { animation-play-state: paused !important; }
.ambient-scene.is-static::before { animation: none !important; }
.ambient-scene.has-fluid-orb .ambient-light--peach {
  opacity: 0.38;
  animation-duration: 67s;
}
.ambient-scene.has-fluid-orb .ambient-light--lavender {
  opacity: 0.34;
  animation-duration: 73s;
}
.ambient-scene.has-fluid-orb .ambient-light--rose {
  opacity: 0.25;
  animation-duration: 71s;
}
@keyframes ambient-pearl-wander {
  0%, 100% { transform: translate3d(0, 0, 0); }
  30% { transform: translate3d(-1.6vw, 2vh, 0); }
  62% { transform: translate3d(-3.5vw, 4.5vh, 0); }
  82% { transform: translate3d(-1vw, 3vh, 0); }
}
@media (min-width: 760px) and (max-width: 1440px) {
  .ambient-fluid-orb { right: -25vw; opacity: .29; }
}
@media (max-width: 759px) {
  .ambient-fluid-orb {
    width: 830px;
    right: -590px;
    top: -220px;
    opacity: 0.34;
    animation-name: ambient-pearl-wander-mobile;
    animation-duration: 48s;
  }
  .ambient-scene.has-fluid-orb::before { width: 460px; left: -340px; top: 62%; opacity: .24; }
  @keyframes ambient-pearl-wander-mobile {
    0%, 100% { transform: translate3d(0, 0, 0); }
    35% { transform: translate3d(-24px, 45px, 0); }
    70% { transform: translate3d(-10px, 80px, 0); }
  }
}
.ambient-scene.is-static .ambient-fluid-orb,
.ambient-scene.is-paused .ambient-fluid-orb {
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .ambient-fluid-orb {
    animation: none !important;
    transform: none !important;
    will-change: auto;
  }
  .ambient-scene.has-fluid-orb::before { animation: none !important; }
}
@media (forced-colors: active) {
  .ambient-fluid-orb { display: none; }
}
