/* The peeking Greys ("the Kids", public/js/greys-peek.js). One grey per picture, behind the picture's own edge: a clip
   box (.gp) exactly over the visible image, so a grey can never reach a price, a button or anything outside the image,
   and it is inserted before the picture's badges, tags and hotspots, which stay on top. Absolutely positioned (no layout
   shift), transform-only motion, aria-hidden, pointer-events none. One shared sprite, fetched on the first peek. */
.gp { position: absolute; overflow: hidden; pointer-events: none; contain: layout paint; }
.gp__g { position: absolute; display: block; background: url("../img/brand/greys-peek.webp") no-repeat;
  transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
/* l: from the RIGHT edge; r: from the LEFT edge (their faces lead); o: up over the BOTTOM edge. Hidden = just past
   the edge; shown = about two thirds of the grey in view, tilted (--tilt) toward the cursor. */
.gp__g--l { right: 0; top: var(--at, 40%); height: min(36%, 200px); transform-origin: 100% 55%; transform: translateX(102%); }
.gp__g--r { left: 0; top: var(--at, 40%); height: min(36%, 200px); transform-origin: 0 55%; transform: translateX(-102%); }
.gp__g--o { bottom: 0; left: var(--at, 30%); width: min(46%, 240px); transform-origin: 50% 100%; transform: translateY(102%); }
.gp.is-on .gp__g--l { transform: translateX(var(--hide, 36%)) rotate(var(--tilt, 0deg)); }
.gp.is-on .gp__g--r { transform: translateX(calc(-1 * var(--hide, 36%))) rotate(var(--tilt, 0deg)); }
.gp.is-on .gp__g--o { transform: translateY(var(--hide, 13%)) rotate(var(--tilt, 0deg)); }
.gp.is-on .gp__g { transition-duration: .45s; }
@media (prefers-reduced-motion: reduce) { .gp__g { transition: none; } }
/* sprite:begin (written by scripts/build-greys-peek.js) */
.gp__g--l { aspect-ratio: 163 / 400; background-size: 490.184% 100%; background-position: 0% 0; }
.gp__g--r { aspect-ratio: 152 / 400; background-size: 525.6579% 100%; background-position: 25.5023% 0; }
.gp__g--o { aspect-ratio: 480 / 177; background-size: 166.4583% 225.9887%; background-position: 100% 0; }
/* sprite:end */
