/* The original artwork stays available until a real video frame is playing. */
.ff-garden-scene[data-ff-video-src] {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: url('night-garden-video-poster.webp') center / cover no-repeat;
}
.ff-garden-scene[data-ff-video-src] > .ff-garden-world,
.ff-garden-scene[data-ff-video-src] > .ff-garden-caption { visibility: hidden; }
.ff-garden-scene[data-ff-video-src] > .ff-garden-world * { animation-play-state: paused !important; }
.ff-garden-scene > .ff-garden-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--ff-garden-video-position, 50% 50%);
  z-index: 2;
  visibility: visible;
  pointer-events: none;
}
.ff-garden-scene[data-ff-video-ready="true"] > .ff-garden-video { visibility: visible; }
.ff-garden-scene[data-ff-video-ready="true"] > .ff-garden-world { visibility: hidden; }
.ff-garden-scene[data-ff-video-ready="true"] > .ff-garden-world * { animation-play-state: paused !important; }
.ff-garden-scene[data-ff-video-ready="true"] > .ff-garden-caption { visibility: hidden; }
.persian-dancer-art[data-ff-video-src] {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 76% 66% at 64% 46%, #000 52%, rgba(0,0,0,.8) 70%, transparent 100%);
  mask-image: radial-gradient(ellipse 76% 66% at 64% 46%, #000 52%, rgba(0,0,0,.8) 70%, transparent 100%);
}
.persian-dancer-art[data-ff-video-src] img { animation: none; }
.persian-dancer-art > .ff-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  visibility: visible;
}
[data-ff-video-src] > .ff-motion-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
  pointer-events: none;
  animation: none !important;
}
[data-ff-video-src] > .ff-motion-fallback[hidden] { display: none; }
