/* Sky motion for the shared Denver scene (Douglas, Dec 3): clouds drift slowly with one wind, nearer clouds a little
   faster than far ones, and wrap around off-screen; birds fly across with real wing beats at two distances.
   All of it stays in the sky layer, behind the mountains, the logo, the plane and banner, the characters, the menu
   sign and the buttons. Compositor-only motion (translate and transform). With motion turned down the sky is still. */
.sunset-scene::before,.sunset-scene::after{content:'';position:absolute;z-index:0;left:0;width:100%;pointer-events:none;background-repeat:no-repeat;}
@media (prefers-reduced-motion: reduce){
  .sunset-scene::before{--bw:clamp(30px, calc(3.6 * min(1vw, 19.2px)), 62px);top:17%;height:var(--bw);background-image:url(/assets/scene/birds-still.svg);background-size:var(--bw) auto;background-position:34% 0;}
  .sunset-scene::after{content:none;}
}
@media (prefers-reduced-motion: no-preference){
  .sunset-scene{container-type:inline-size;}
  html .sunset-scene > .sunset-cloud{left:0!important;right:auto!important;animation:scene-cloud-cross var(--cloud-t,200s) linear var(--cloud-d,0s) infinite!important;}
  .sunset-scene > .sunset-cloud--far{--cloud-t:260s;--cloud-d:-125s;}
  .sunset-scene > .sunset-cloud--wide{--cloud-t:200s;--cloud-d:-126s;}
  .sunset-scene > .sunset-cloud--near{--cloud-t:150s;--cloud-d:-132s;}
  @keyframes scene-cloud-cross{from{translate:-100% 0;}to{translate:100cqw 0;}}
  /* A far flock of three, small and pale, heading right to left over the foothills. */
  .sunset-scene::before{--bw:clamp(34px, calc(3.4 * min(1vw, 19.2px)), 62px);top:15%;height:calc(var(--bw) * .43);background-image:url(/assets/scene/birds-far.svg);background-size:var(--bw) auto;background-position:0 0;
    animation:scene-fly-rtl 70s linear -30s infinite,scene-soar 9s ease-in-out -2s infinite alternate;}
  /* One nearer bird, a little bigger and higher, crossing the other way. */
  .sunset-scene::after{--bw:clamp(18px, calc(1.9 * min(1vw, 19.2px)), 34px);top:6%;height:calc(var(--bw) * .62);background-image:url(/assets/scene/bird-near.svg);background-size:var(--bw) auto;background-position:100% 0;
    animation:scene-fly-ltr 46s linear -8s infinite,scene-soar 6.5s ease-in-out infinite alternate-reverse;}
  @keyframes scene-fly-rtl{0%{translate:100% 0;}72%,100%{translate:calc(-1 * var(--bw)) 0;}}
  @keyframes scene-fly-ltr{0%{translate:-100% 0;}62%,100%{translate:var(--bw) 0;}}
  @keyframes scene-soar{from{transform:translateY(0);}to{transform:translateY(-55%);}}
}
