/* Page-only styles for /efoldi/lite/ from the preview. */
/* Model page gallery, 21 Oct 2026 (Roger). The film takes the big slot
   and the stills go in a row underneath - on a phone there is no hover,
   so this page is where the movement has to happen, and it starts on
   load. The .main box keeps its 1/1 ratio so nothing shifts when the
   video is still loading; padding goes to 0 because a white border
   round a moving picture looks like a mistake where the same border
   round a cut-out product shot looks deliberate. */
.gallery{grid-template-columns:1fr}
.gallery .main.hasvid{padding:0;overflow:hidden}
.gallery .main.hasvid video{width:100%;height:100%;object-fit:cover;display:block}
.gallery .side{grid-template-columns:repeat(3,1fr)}
/* (23 Nov 2026) The reduced-motion rule that hid the film here is gone: it expected a background photo on .main
   that the gallery no longer sets, so with Windows animations turned off the film box was blank white (Roger, Compass
   page). card-motion.js already never autoplays for reduced motion, and the resting film shows its poster photo. */
/* Pickable gallery, 24 Oct 2026 (Roger: four things to look at, three slots).
   .gpick is added by js/gallery-pick.js once it has built the buttons, so none
   of this applies to a page where the script did not run. */
.gallery.gpick .side{grid-template-columns:repeat(4,1fr)}
.gthumb{-webkit-appearance:none;appearance:none;padding:0;margin:0;background:none;
  cursor:pointer;display:block;position:relative;overflow:hidden;
  border:3px solid transparent;border-radius:18px;aspect-ratio:4/3;min-height:54px}
.gthumb img{width:100%;height:100%;object-fit:cover;display:block;background:#fff}
.gthumb[aria-current="true"]{border-color:var(--navy)}
.gthumb:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.gthumb .pl{position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;color:#fff;pointer-events:none}
.gthumb .pl svg{background:rgba(20,36,107,.82);border-radius:50%;padding:9px;
  box-sizing:content-box}
.gallery .main .gstill{width:100%;height:100%;display:block}
.gallery .main .gstill[data-fit="contain"]{object-fit:contain;padding:24px;
  box-sizing:border-box}
.gallery .main .gstill[data-fit="cover"]{object-fit:cover}
.gallery .main video[hidden],.gallery .main .gstill[hidden]{display:none}
