/* Image dimensions are shared by role, without stretching the originals. */
:root{--banner-height:clamp(440px,35vw,520px);--mobile-photo-height:clamp(280px,70vw,400px)}
@media(min-width:1024px){
 section.products-banner.video-banner,.contact-pantone,section.about-banner,body.consultoria-page section.hero,section.products-banner.shop-banner{height:var(--banner-height);min-height:var(--banner-height);max-height:none;aspect-ratio:auto}
 .products-banner.shop-banner>img{height:100%;width:100%;aspect-ratio:auto;object-fit:contain}
 body.consultoria-page .hero-copy{padding:32px 6%}
 .about-banner .about-copy{padding:24px 6%}
}
/* Editorial product photographs use one frame across the public pages. */
.family-row>img,.family-row.reverse>img,.family-row>.product-video{aspect-ratio:1.12;width:100%;height:auto;object-fit:cover}
/* Catalogue and product-detail images keep a square frame and show the item whole. */
.shop-card .shop-photo,.shop-product-photo{aspect-ratio:1;display:grid;place-items:center}
.shop-card .shop-photo img,.shop-product-photo img{aspect-ratio:1;height:auto;object-fit:contain}
@media(max-width:1023px){
 /* A consistent photo area; long copy flows below, rather than enlarging images. */
 section.products-banner.video-banner{height:var(--mobile-photo-height);min-height:0;aspect-ratio:auto;background:#171717}
 .products-banner.video-banner>video{object-fit:contain}
 section.about-banner{display:block;height:auto;min-height:0;overflow:hidden;background:var(--bg)}
 .about-banner>img{position:relative;inset:auto;width:100%;height:var(--mobile-photo-height);object-fit:cover;object-position:center}
 .about-banner::after{display:none}
 .about-banner .about-copy{max-width:900px;padding:32px 6%;color:var(--text);text-shadow:none;margin:auto}
 .about-banner .about-copy p{font-size:16px;line-height:1.65}
 .about-banner .about-copy p+p{margin-top:20px}
 .contact-pantone{height:auto;overflow:hidden;background:var(--bg)}
 .contact-pantone>img{width:100%;height:var(--mobile-photo-height);object-fit:cover;object-position:54% center}
 .contact-pantone::after{display:none}
 .contact-overlay{position:relative;inset:auto;padding:32px 6%;text-align:center;align-items:center}
 .contact-heading .contact-overlay h1,.contact-heading .contact-overlay p{color:var(--text);text-shadow:none}
 .contact-heading .contact-overlay h1{font-size:clamp(28px,4vw,36px)}
 body.consultoria-page section.hero{display:grid;grid-template-columns:1fr;grid-template-rows:var(--mobile-photo-height) auto;min-height:0;height:auto;max-height:none;background:var(--bg)}
 body.consultoria-page section.hero>img{position:relative;inset:auto;grid-row:1;width:100%;height:var(--mobile-photo-height);object-fit:cover}
 body.consultoria-page section.hero::after{display:none}
 body.consultoria-page .hero-copy{grid-row:2;padding:32px 6%;width:100%;max-width:800px;color:var(--text)}
 body.consultoria-page .hero-copy h1{font-size:clamp(30px,4.5vw,42px)}
 body.consultoria-page .hero-copy p:not(.eyebrow){font-size:16px}
 section.products-banner.shop-banner{height:auto;min-height:0;aspect-ratio:auto;display:grid;background:#17191c}
 .products-banner.shop-banner>img{grid-row:2;width:min(100%,calc(var(--mobile-photo-height) * 1.18));height:var(--mobile-photo-height);aspect-ratio:1.18;object-fit:cover;object-position:52% center;justify-self:center;margin:0}
 .products-banner.shop-banner>.shop-mobile-intro,.products-banner.shop-banner>.shop-mobile-outro{display:block;border-radius:0;background:none;padding:24px 6%;margin:0;font:400 17px/1.5 "DM Sans",Arial,sans-serif;color:#e5dfd5;text-align:center}
 .products-banner.shop-banner>.shop-mobile-intro{grid-row:1}
 .products-banner.shop-banner>.shop-mobile-outro{grid-row:3}
 body.consultoria-page section.representation{grid-template-columns:1fr}
 body.consultoria-page .technical-photo>img{min-height:0;width:100%;height:auto;aspect-ratio:1.12;object-fit:cover}
}
