/* Equal visual treatment for HMR founder headshots.
   Source photos keep their natural proportions internally, while both founders
   share the same responsive portrait frame and visual weight. */
.founder-story .founder-photo {
  aspect-ratio: 14 / 11;
}

.founder-story .founder-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* The reversed Kevin story must preserve the same narrow photo column that
   Miranda uses. Without this, order-based auto-placement puts Kevin's image
   into the wider text column and makes his portrait visibly larger. */
@media (min-width: 1121px) {
  .founder-story-reverse {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  }
}

@media (max-width: 1120px) {
  .founder-story .founder-photo {
    aspect-ratio: 14 / 11;
  }
}

@media (max-width: 640px) {
  .founder-story .founder-photo {
    aspect-ratio: 4 / 3;
  }
}
