.hero,.subpage-hero{--hero-gutter:max(24px,calc((100vw - 1120px)/2));--hero-copy-width:400px;position:relative;isolation:isolate;background:#fff;overflow:hidden}
.subpage-hero{--hero-copy-width:510px}
.hero{display:flex;align-items:center;min-height:660px;height:auto}
.hero-inner{position:relative;z-index:2;padding:64px 0;width:min(1120px,calc(100% - 48px))}
.hero-copy{width:var(--hero-copy-width);max-width:var(--hero-copy-width)}
.hero h1{width:100%;max-width:100%;font-size:clamp(38px,3.55vw,54px);line-height:1.04;letter-spacing:-.025em}
.hero p,.hero p:nth-of-type(2){display:block;max-width:100%;font-size:15px;line-height:1.6}
.hero-media,.subpage-hero-image{position:absolute!important;top:0!important;bottom:0!important;right:0!important;left:calc(var(--hero-gutter) + var(--hero-copy-width))!important;width:auto!important;height:100%!important;z-index:0!important;border-radius:0!important;box-shadow:none!important;overflow:hidden;-webkit-mask-image:url('hero-window.svg');mask-image:url('hero-window.svg');-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.hero-media video,.hero-media img,.subpage-hero-image img{display:block;width:100%!important;height:100%!important;object-fit:cover;border-radius:0;object-position:60% center}
.hero-media{mask-image:none;-webkit-mask-image:none}
.hero-media:before{content:'';position:absolute;inset:0;z-index:1;background:url('hero-window-overlay.svg') center/100% 100% no-repeat;pointer-events:none}
.hero:after,.subpage-hero:after{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#fff 0%,rgba(255,255,255,.9) 2%,transparent 17%);pointer-events:none}
.subpage-hero-grid{display:flex;align-items:center;min-height:580px;padding:64px 0;position:static}
.subpage-hero-grid>div:first-child{z-index:2;width:var(--hero-copy-width);max-width:var(--hero-copy-width)}
.subpage-hero h1,.subpage-hero p{width:100%;max-width:100%}
@media(min-width:600px) and (max-width:1180px){
 .hero,.subpage-hero{--hero-gutter:28px;--hero-copy-width:clamp(280px,42vw,440px)}
 .hero-inner{width:calc(100% - 56px);padding:52px 0}
 .hero{min-height:660px;display:flex;align-items:center}
 .hero h1{font-size:clamp(36px,4.8vw,51px)}
 .hero h1 br,.hero h1 br:first-of-type,.hero h1 br:nth-of-type(2){display:block}
 .hero-copy,.hero-copy h1{width:var(--hero-copy-width);max-width:var(--hero-copy-width)}
 .hero-media{inset:auto;height:100%!important}
 .hero p{font-size:15px;line-height:1.6}
 .hero .cta-link,.subpage-hero .cta-link{width:auto;min-width:0;max-width:100%;padding:12px 18px}
 .subpage-hero-grid{width:calc(100% - 56px);padding:52px 0;min-height:580px}
 .subpage-hero h1{font-size:clamp(36px,4.8vw,54px);line-height:1.08}
 .subpage-hero-grid>div:first-child{width:var(--hero-copy-width);max-width:var(--hero-copy-width)}
}
@media(min-width:2001px){
 .hero,.subpage-hero{height:760px;min-height:760px}
 .hero-inner,.subpage-hero-grid{min-height:760px;display:flex;align-items:center;padding:64px 0}
}
@media(max-width:599px){
 .hero,.subpage-hero{height:auto;min-height:0;display:flex;flex-direction:column;align-items:stretch}
 .hero-inner,.subpage-hero-grid{order:0;display:block;position:relative;min-height:0;width:calc(100% - 36px);padding:44px 0 28px;margin:0 auto}
 .hero-copy,.subpage-hero-grid>div:first-child{width:100%;max-width:480px;margin:0 auto}
 .hero-copy h1,.subpage-hero h1{width:100%;max-width:100%;font-size:clamp(38px,8.6vw,48px);line-height:1.08}
 .hero-copy p,.subpage-hero p{font-size:15px;line-height:1.65}
 .hero .cta-link,.subpage-hero .cta-link{margin-top:22px;width:100%;max-width:100%;min-width:0}
 .hero-media{position:relative!important;inset:auto!important;order:1;width:100%!important;height:clamp(240px,65vw,380px)!important;mask-image:none;-webkit-mask-image:none;flex-shrink:0}
 .hero-media:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.75) 6%,transparent 28%,transparent 88%,#fff 100%)}
 .hero-media:before{display:none}
 .hero:after{display:none}
 .subpage-hero-grid{display:flex;flex-direction:column;width:100%;padding:44px 0 0}
 .subpage-hero-grid>div:first-child{padding:0 18px 26px;width:100%;max-width:516px}
 .subpage-hero-image{position:relative!important;inset:auto!important;width:100%!important;height:clamp(240px,65vw,380px)!important;margin:0;mask-image:none;-webkit-mask-image:none;flex-shrink:0}
 .subpage-hero-image:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.75) 6%,transparent 28%,transparent 88%,#fff 100%)}
 .subpage-hero:after{display:none}
}
