/* Source photo: 1774 × 887, cover/center. The patch uses the exact same scale
   and center as the photo, even when the tile crops its sides or its top. */
#digital .ph { position:relative; overflow:hidden; container-type:size; }
#digital:hover, #digital:hover .ph { transform:none; }
#digital .ph::after {
  content:""; pointer-events:none; position:absolute;
  --photo-width:max(100cqw,200cqh);
  left:calc(50% - var(--photo-width) * .32638106);
  top:calc(50% - var(--photo-width) * .16657272);
  width:calc(var(--photo-width) * .11386697);
  height:calc(var(--photo-width) * .11612176);
  background:url("images/cup-steam.webp") center / 100% 100% no-repeat,
             url("images/cup-clear.webp") center / 100% 100% no-repeat;
}
@media (prefers-reduced-motion:reduce) {
  #digital .ph::after { content:none; }
}
