/* Original Offline: the homepage is the size reference for the four page openings. */
#main .aligned-hero{height:var(--start-hero-height,660px);min-height:0;grid-template-rows:minmax(0,1fr)}
#main .aligned-hero-copy{padding-top:64px;padding-bottom:48px}
@media(min-width:851px){
 #main .aligned-hero-copy{grid-column:1/-1;width:min(var(--max),calc(100% - 96px));margin-inline:auto;padding-inline:0}
 #main .aligned-hero h1{max-width:min(780px,60%)}
 #main .aligned-hero .company-lead,#main .aligned-hero .reference-lead,#main .aligned-hero .expertise-lead{max-width:min(470px,60%)}
}
@media(max-width:1100px){
 #main .aligned-hero{height:var(--start-hero-height,600px)}
 #main .aligned-hero-copy{width:calc(100% - 56px)}
}
@media(max-width:850px){
 #main .aligned-hero{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 #main .aligned-hero-copy{width:auto;margin:0;padding:28px 28px 24px}
 #main .aligned-hero .breadcrumbs{margin-bottom:16px}
 #main .aligned-hero .eyebrow{margin-bottom:18px}
 #main .aligned-hero h1{font-size:clamp(2rem,5.8vw,3rem);max-width:18em;margin-bottom:20px}
 #main .aligned-hero .company-lead,#main .aligned-hero .reference-lead,#main .aligned-hero .expertise-lead{font-size:1rem;line-height:1.6;max-width:45em}
 #main .aligned-hero-media{position:relative;inset:auto;height:100%;min-height:0}
 #main .aligned-hero-media img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
 #main .aligned-hero-media:after{background:linear-gradient(180deg,#142126 0%,rgba(20,33,38,.45) 12%,rgba(20,33,38,0) 35%)}
 #main.services-page .aligned-hero-media img{object-position:58% 100%}
}
@media(max-width:540px){
 #main .aligned-hero{height:var(--start-hero-height,640px)}
 #main .aligned-hero-copy{padding-inline:20px}
}

/* Two complete title lines, as on the homepage; the local helper fits their type to the available width. */
#main .aligned-hero h1{hyphens:none;overflow-wrap:normal;word-break:normal}
#main .aligned-hero .hero-title-line{display:inline-block;white-space:nowrap;hyphens:none}
