/* Preserve subjects across the different original photo shapes. */
/* Full-width documentary frames replace narrow, side-cropped service images. */
.services .service-card,.services .service-card:nth-child(3),.services .service-card:nth-child(4){display:flex;flex-direction:column;grid-template-columns:none;align-items:stretch;}
.services .service-image{display:flex;align-items:center;justify-content:center;width:100%;height:auto;min-height:0;aspect-ratio:3/2;overflow:hidden;background:#121615;flex:none;}
.services .service-image img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;object-position:center;aspect-ratio:auto;transform:none;}
.services .service-card .service-body{padding:1.4rem 0 0;}
/* Same portrait well size for the team, with the complete source image visible. */
.about-page .founder-photo,.about-page .sales-photo{height:auto;min-height:0;max-height:none;width:100%;max-width:432px;aspect-ratio:4/5;margin:1.25rem auto 0;overflow:hidden;background:#090b0b;}
.about-page .founder-photo img,.about-page .sales-photo img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center center;aspect-ratio:auto;}
/* Alex's landscape source is cropped only at the sides; the full source height remains. */
.about-page .founder-photo-wide img{object-fit:cover;object-position:70% center;}
/* People, equipment and embedded product artwork stay entirely within their frames. */
.systems .systems-photo,.experience-image img,.about-story-image img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;}
.systems .product-card>img,.systems .product-card.product-wide>img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3/2;object-fit:contain;object-position:center;background:#101413;}
.systems .product-card>img.product-object{object-fit:contain;background:var(--paper);padding:1.5rem;}
/* Service landing pages also preserve the whole source photograph. */
.seo-service-grid>img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;object-position:center;}
.seo-service-grid>img.photo-portrait{width:min(100%,420px);height:auto;max-height:none;justify-self:center;}
@media(max-width:820px){
 .systems .product-card,.systems .product-card.product-wide{display:flex;flex-direction:column;grid-template-columns:none;gap:0;}
 .systems .product-card>div{padding:1.3rem 0 0;}
 .services .service-image{height:auto;min-height:0;aspect-ratio:3/2;}
 .about-page .founder-photo,.about-page .sales-photo{height:auto;min-height:0;max-width:432px;aspect-ratio:4/5;}
}
@media(max-width:520px){
 .services .service-card .service-body{padding:1.2rem 0 0;}
 .services .service-image,.systems .product-card>img,.systems .product-card.product-wide>img{height:auto;min-height:0;aspect-ratio:3/2;}
}
