/* The 4 x 3 source atlas must scale uniformly: never force its height. */
.snap-visual-page .snap-module-image{
  height:auto;
  aspect-ratio:16 / 10;
  background-size:100% 100%,400% auto;
  background-position:center,var(--scene);
  background-repeat:no-repeat;
  background-image:linear-gradient(180deg,#13212b08 35%,#13212b24),url('/wp-content/themes/acs/assets/acsnap/module-scenes.png');
  padding:20px;
  position:relative;
}
.snap-visual-page .snap-module-image img{background:#fffef9e8;box-shadow:0 3px 12px #14222b12}
.snap-visual-page .snap-module-image>span{box-shadow:0 3px 12px #14222b12}
.snap-visual-page .snap-module{transition:border-color .25s ease,box-shadow .3s ease,translate .3s ease}
.snap-visual-page .snap-story-media{overflow:hidden}
.snap-visual-page .snap-story-media>img{transition:transform .75s cubic-bezier(.2,.7,.2,1)}
.snap-visual-page .snap-story-media figcaption{position:relative;z-index:1}
.snap-visual-page .button{transition:translate .25s ease,box-shadow .25s ease,background-color .25s ease}
.snap-visual-page .button>span{transition:transform .25s ease}
.snap-visual-page .snap-flow li:before{content:'';position:absolute;left:0;top:-1px;width:0;height:2px;background:#f5821f;transition:width .7s cubic-bezier(.2,.7,.2,1)}
.snap-visual-page .snap-flow li[data-snap-motion=shown]:before{width:100%}
@media(hover:hover) and (pointer:fine){
  .snap-visual-page .snap-module:hover{translate:0 -5px;border-color:#e99a51;box-shadow:0 14px 30px #16212a13}
  .snap-visual-page .snap-story-media:hover>img{transform:scale(1.025)}
  .snap-visual-page .button:hover{translate:0 -2px;box-shadow:0 7px 18px #1a252a20}
  .snap-visual-page .button:hover>span{transform:translate(3px,-3px)}
}
@media(prefers-reduced-motion:reduce){
  .snap-visual-page .snap-module,.snap-visual-page .snap-story-media>img,.snap-visual-page .button,.snap-visual-page .button>span,.snap-visual-page .snap-flow li:before{transition:none!important;animation:none!important;transform:none!important;translate:none!important}
}
