/* Fit the plan before a visitor deliberately zooms in. */
#lot-plan-canvas{min-width:0}

@media(max-width:1000px){
  /* Natural image height wins over the editorial crop frames on smaller screens. */
  #main img{
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:auto;
    object-fit:contain;
    object-position:center;
    transform:none;
  }

  .homesite-image-wrap{
    width:100%;
    height:auto;
    min-height:0;
    align-self:start;
  }
  .homesite-image-wrap img{position:static;inset:auto}
  .homesite-image-wrap .image-note{
    position:static;
    display:block;
    margin-top:16px;
    color:var(--muted);
    text-shadow:none;
    line-height:1.65;
  }
  .life-image{height:auto;min-height:0;overflow:visible}
  .heritage{min-height:0;align-items:start}

  /* Each comparison retains its registered landscape frame and wipe mask. */
  #main .comparison-stage img{width:100%;height:100%;object-fit:contain}
  .comparison-stage{min-height:0;max-height:none}

  #lot-map-viewport{
    height:auto;
    min-height:0;
    max-height:none;
    aspect-ratio:1660 / 740;
  }

  /* Give the closing photograph its own space above the invitation. */
  .visit{display:block;min-height:0;padding:0;background:var(--ink)}
  .visit>img{position:static;inset:auto;z-index:auto;width:100%}
  .visit-shade{display:none}
  .visit-content{padding:48px var(--gutter) 64px;margin-inline:auto}
}
