/* fx.css · cinematic/ken-burns, the hero photograph drifts like a camera move · owner: Lizzy East · all rights reserved */

/* The photograph sits in a decorative layer; the hero clips the move. With motion
   off, no core, or paused, it simply holds the frame. */
[data-fx~="cinematic/ken-burns"] { overflow: clip; }
[data-fx~="cinematic/ken-burns"] [data-fx-ambient] img { transform-origin: 60% 40%; }
html.fx-armed [data-fx~="cinematic/ken-burns"] [data-fx-ambient] img {
  animation: fx-ken-burns var(--fx-kb-dur, 26s) ease-in-out infinite alternate;
}
@keyframes fx-ken-burns {
  from { scale: 1; translate: 0 0; }
  to { scale: var(--fx-kb-zoom, 1.14); translate: -2% -1.5%; }
}
