/* Keep a common, fixed canvas for each pair. The original photos were shot
   from different positions, so align the main architectural line by cropping
   within that canvas rather than moving the image or the slider's clip edge.
   These percentages scale with the existing 4:3 stage on every screen size. */
.hv-ba-stage .hv-ba-before {
  object-position: 50% 39.5%;
}
.hv-ba-stage .hv-ba-after {
  object-position: 50% 50%;
}

/* The landscape pairs already use the whole frame; do not change their crop. */
.hv-ba-stage[data-ba-pair="02"] img,
.hv-ba-stage[data-ba-pair="04"] img,
.hv-ba-stage[data-ba-pair="05"] img {
  object-position: 50% 50%;
}

/* Loft: register the exposed cross-beam, allowing for the lower after viewpoint. */
.hv-ba-stage[data-ba-pair="03"] .hv-ba-before {
  object-position: 50% 88%;
}
.hv-ba-stage[data-ba-pair="03"] .hv-ba-after {
  object-position: 50% 36%;
}

/* Ceiling: align the upper-window and door-header heights. */
.hv-ba-stage[data-ba-pair="06"] .hv-ba-before {
  object-position: 50% 30%;
}
.hv-ba-stage[data-ba-pair="06"] .hv-ba-after {
  object-position: 50% 53%;
}
