The same picture in four box shapes. The image size and the point to keep in view are stored as data attributes, like a CMS would store them. Each box measures itself, and --focus-shift() works out the object-position that puts that point in the middle without showing past the edge of the image. The other two modes are there to compare: a centre crop loses the lighthouse in the tall box, and object-position: 82% 27% keeps it but pushes it against the edge. The red dot marks the focal point.