/* Keep media inline and prevent double-tap zoom without disabling pinch zoom. */
#frame,.gallery-item,.video-load,video{touch-action:manipulation}
@media(max-width:850px),(hover:none) and (pointer:coarse){
.gallery-item{cursor:default}
.gallery-item>img,.gallery-item:hover>img{transform:none;transition:none}
body[data-section="home"] #frame{width:min(84vw,1100px);height:62svh;display:flex;align-items:center;justify-content:center}
body[data-section="home"] #image{width:85%;height:85%;max-width:100%;max-height:100%;object-fit:contain}
.video-shell{position:relative;aspect-ratio:16/9}
.vertical-films .video-shell{aspect-ratio:9/16}
.video-shell>.video-load,.video-shell>iframe{position:absolute;inset:0;width:100%;height:100%;max-width:100%;border:0}
.film video{object-fit:contain}
}
@media(max-width:560px){body[data-section="home"] #frame{width:calc(100vw - 48px)}}
