/* Media frames follow source proportions; retain the approved AutoScale system. */
.directions{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem}
.direction>img,.direction:nth-child(2)>img{width:100%;height:auto;aspect-ratio:3/2;max-height:32rem;object-fit:contain;background:var(--color-background-secondary)}
.process-image{width:100%;height:auto;aspect-ratio:3/2;max-height:none;object-fit:contain;margin-top:0}
.company-image img,.specialty img,.service-hero figure img,.route-row>img,.manufacturing-process img,.company-path-grid img,.about-location img{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:3/2;object-fit:contain}
.about-panorama{display:flex;justify-content:center}
.about-panorama img{width:auto;max-width:100%;height:auto;max-height:48rem;aspect-ratio:16/9;object-fit:contain}
.category-cover>img,.catalog-categories .category-cover>img{width:100%;height:auto;aspect-ratio:3/2;max-height:32rem;object-fit:contain;background:var(--color-background-secondary)}
.hero .hero-image{width:100%;height:100%;left:0;inset:0;object-fit:cover;object-position:center}
/* The homepage H1 has authored line breaks: keep their layout fixed. */
.hero .hero-copy{max-width:76rem}
.hero .hero-copy h1{max-width:76rem;font-size:5.5rem;line-height:1.08;text-wrap:normal}
.hero .hero-copy h1 .hero-title-line{display:block;white-space:normal}
.production-hero .service-hero-copy h1{font-size:4.2rem;line-height:1.14;max-width:none}
.service-hero{grid-template-columns:1.12fr 1fr;align-items:center}.service-hero-copy{padding-right:3rem}
.service-hero figure{margin:0;padding:3rem var(--gutter) 3rem 0}
main h1,main h2{text-wrap:balance}
.company-copy h2{font-size:3.6rem}
@media(max-width:960px),(max-aspect-ratio:1/1){
 .directions{grid-template-columns:1fr}.direction>img,.direction:nth-child(2)>img,.catalog-categories .category-cover>img{max-height:none}
 .hero .hero-copy h1{font-size:clamp(27px,8vw,36px);max-width:100%;line-height:1.13}
 .hero .hero-copy h1 .hero-title-line{display:block}
 .hero-copy h1 br{display:none}
 .service-hero{grid-template-columns:1fr}.service-hero figure{padding:0 var(--gutter) 3rem}
 .production-hero .service-hero-copy h1{font-size:3.3rem}.service-hero-copy h1 br{display:none}
 .company-copy h2{font-size:3rem}.company-copy h2 br{display:none}
 .about-panorama img{width:100%;max-height:none;aspect-ratio:16/9}
}
.about-story>h2{align-self:start;font-size:3.3rem;line-height:1.18}
.boat-production-hero h1{font-size:4.8rem;max-width:94rem}
@media(max-width:960px),(max-aspect-ratio:1/1){.boat-production-hero h1{font-size:3.3rem}.about-story>h2{font-size:2.6rem}}
/* Two complete 3:2 frames instead of panoramic strips. */
/* The two main business paths align with the heading and the page shell. */
.directions-section .directions{width:100%;max-width:none;margin-inline:0}
.direction>img,.direction:nth-child(2)>img{max-height:none}
.catalog-categories{grid-template-columns:repeat(2,minmax(0,1fr));max-width:124rem;margin-inline:auto}
.catalog-categories .category-cover>img{max-height:none}
@media(max-width:960px),(max-aspect-ratio:1/1){.directions{max-width:none}.catalog-categories{max-width:none}}
@media(max-width:640px){.catalog-categories{grid-template-columns:1fr}}

/* Content density: keep AutoScale and the full-width grid; size contents locally. */
@media (min-width:961px) and (min-aspect-ratio:1/1) {
 :root{--section:4.6rem;--type-section:3.8rem;--type-title:2.4rem;--type-display:5.1rem}
 .hero,.hero-layout{min-height:50rem}
 .hero .hero-copy h1{font-size:4.8rem;line-height:1.1}
 .hero-layout{padding-top:4rem}
 .hero-benefits{margin-top:2.8rem;padding-block:1.8rem}
 .section-heading{margin-bottom:2rem}
 .section-heading h2,.production-intro h2{font-size:var(--type-section)}
 .direction>img,.direction:nth-child(2)>img{height:34rem;max-height:34rem;aspect-ratio:auto;object-fit:contain}
 .direction-copy,.direction:nth-child(2) .direction-copy{padding:1.8rem 2.4rem}
 .direction h2{font-size:var(--type-title)}
 .repair-strip{flex-direction:row;align-items:center;gap:2.5rem}
 .boat-help,.corp-cta,.catalog-invite{flex-direction:row;align-items:center;justify-content:space-between;gap:3rem}
 .boat-help>div,.corp-cta>div,.catalog-invite>div{min-width:0}
 .boat-help .actions,.corp-cta .actions,.catalog-invite .actions{flex-shrink:0}
 .home-media .media-stage img{height:34rem;max-height:34rem;aspect-ratio:auto}
 .model-picker{max-height:53rem}
 .model-picker strong{font-size:2rem}
 .specialty,.company{padding-block:var(--section);gap:4rem}
 .specialty img,.company-image img,.route-row>img,.manufacturing-process img,.company-path-grid img,.about-location img{height:auto;max-height:34rem;object-fit:contain}
 .process-image{height:34rem;max-height:34rem;aspect-ratio:auto;object-fit:contain}
 .process-slider .hero-showcase{padding:1.8rem;min-height:0}
 .company-copy h2{font-size:3.4rem}
 .production-hero .service-hero-copy h1{font-size:3.8rem}
 .service-hero-copy{padding-block:2.5rem}
 .service-hero figure{padding-block:2.5rem}
 .service-hero figure img{height:auto;max-height:34rem;object-fit:contain}
 .hub-hero{min-height:48rem}
 .hub-hero-content{padding-block:3rem 4rem}
 .boat-production-hero h1{font-size:4.4rem}
 .about-panorama img{max-height:36rem}
 .corp-heading,.shop-hero{padding-block:3rem 4rem}
 .corp-breadcrumbs,.shop-breadcrumbs,.breadcrumbs{margin-bottom:2rem}
 .catalog-categories .category-cover>img{height:30rem;max-height:30rem;aspect-ratio:auto;object-fit:contain}
 .item-summary h1{font-size:4.2rem}
 .item-hero{gap:4rem;padding-bottom:5rem}
 .item-gallery .media-stage img{max-height:36rem}
 .item-key-specs{margin-block:2rem;gap:1.5rem}
 .item-buy{padding:2rem}
 .partner{padding-block:4.5rem}
 .footer{padding-top:4.5rem}
}
/* Narrow layouts retain readable body type and 44px+ controls. */
@media (max-width:960px),(max-aspect-ratio:1/1) {
 :root{--section:4rem}
 .specialty,.company{padding-block:4rem}
 .section-heading{margin-bottom:2rem}
 .hero .hero-copy h1{font-size:clamp(27px,7.5vw,34px)}
 .direction-copy,.direction:nth-child(2) .direction-copy{padding:2rem}
 .home-media .media-stage img{height:auto;max-height:30rem}
 .service-hero figure img,.specialty img,.company-image img,.route-row>img,.manufacturing-process img{height:auto;max-height:34rem;object-fit:contain}
 .about-panorama img{max-height:32rem}
 .item-hero{padding-bottom:4rem}
 .partner{padding-block:4rem}
}
/* The company and catalog have later, page-specific refinements. */
@media (min-width:961px) and (min-aspect-ratio:1/1) {
 body main .about-intro-redesign{padding-block:4rem;gap:4rem}
 body main .about-intro-redesign .about-heading h1{font-size:4.6rem}
 body main .about-intro-redesign .about-panorama img{min-height:0;height:34rem;max-height:34rem;object-fit:contain}
 body.shop-page main .shop-hero h1{font-size:4.6rem}
 body.production-page main .catalog-invite{padding:2.8rem 3rem;margin-block:3rem}
}
