/* Home media window. Other pages keep their existing layout. */
.page-home{max-width:none}
.page-home>.site-header,.page-home>.site-footer,.page-home main>section{max-width:1920px;margin-inline:auto}
.page-home .hero.hero--video{--hero-offset:0px;--hero-gutter:clamp(24px,4.2357vw,81.325px);--hero-text-left:calc(var(--hero-offset) + var(--hero-gutter));--hero-mask-top:calc(var(--hero-offset) + min(39.7790055vw,763.756906px));--hero-mask-bottom:calc(var(--hero-offset) + min(57.9189687vw,1112.044199px));--hero-text-width:min(560px,calc(min(39.7790055vw,763.756906px) - var(--hero-gutter) - 24px));display:grid;grid-template-columns:minmax(0,1fr);align-content:stretch;row-gap:0;min-height:clamp(460px,42.3573vw,760px);background:var(--paper) var(--light-texture) center/400px 400px;isolation:isolate;overflow:hidden}
.page-home .hero--video::before{display:none}
.page-home .hero--video .hero-media{position:absolute;inset:0 0 0 calc(var(--hero-offset) + min(35vw,672px));z-index:0;min-width:0;overflow:hidden}
.page-home .hero--video .hero-media picture{display:block;position:absolute;inset:0;width:100%;height:100%;order:initial}
.page-home .hero--video .hero-media picture::after{display:none}
.page-home .hero--video .hero-image,.page-home .hero--video .hero-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:70% center;max-width:none}
.page-home .hero--video .hero-video{opacity:0;transition:none}
.page-home .hero--video.has-video-frame .hero-video{opacity:1}
.hero-surface{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:1;pointer-events:none;background:var(--paper) var(--light-texture) center/400px 400px;clip-path:polygon(0 0,var(--hero-mask-top) 0,var(--hero-mask-bottom) 100%,0 100%)}
.page-home .hero--video .hero-content{position:static;z-index:2;grid-column:1;align-self:center;width:var(--hero-text-width);max-width:560px;min-width:0;margin-left:var(--hero-text-left);padding:32px 0;display:flex;flex-direction:column;gap:24px}
.page-home .hero--video .hero-copy{position:static;z-index:auto;width:100%;min-width:0;padding:0;order:initial}
.page-home .hero--video h1{width:100%;max-width:100%;font-size:clamp(52px,7.2744vw,104px);line-height:.925;letter-spacing:-.65px;margin-top:13px;overflow-wrap:normal}
.page-home .hero--video .hero-subtitle{margin-top:16px;letter-spacing:.06em}
.page-home .hero--video .hero-contacts{position:static;z-index:auto;padding:0;gap:20px 24px;order:initial;flex-direction:row;align-items:center;flex-wrap:wrap;width:100%;min-width:0}
.page-home .hero--video .quote-button{width:219px;max-width:100%;min-width:0;flex-shrink:0}
.page-home .hero--video .hero-phone a{font-size:30px}
.page-home .hero--video .hero-aside{right:calc(var(--hero-offset) + clamp(24px,3.1308vw,60px));bottom:48px;width:180px;z-index:2}
@media(min-width:600px) and (max-width:1023px){
 .page-home .hero.hero--video{--hero-mask-top:55vw;--hero-mask-bottom:73vw;--hero-text-width:min(560px,calc(55vw - var(--hero-gutter) - 24px));min-height:560px}
 .page-home .hero--video .hero-aside{position:static;width:100%;text-align:left;color:var(--ink);text-shadow:none;letter-spacing:.04em;font-size:15px;line-height:1.55}
 .page-home .hero--video .hero-aside br,.page-home .hero--video .hero-aside .rule{display:none}
}
@media(max-width:599px){
 .page-home .hero.hero--video{display:flex;flex-direction:column;min-height:0;row-gap:0}
 .page-home .hero--video .hero-content{order:1;width:calc(100% - 48px);max-width:560px;margin:0 auto;padding:32px 0;gap:24px}
 .page-home .hero--video h1{font-size:clamp(56px,13vw,72px);line-height:.98}
 .page-home .hero--video .hero-media{position:relative;inset:auto;order:2;width:100%;height:clamp(240px,62vw,360px);flex:none}
 .hero-surface{display:none}
 .page-home .hero--video .hero-aside{position:static;width:100%;color:var(--ink);text-align:left;text-shadow:none;font-size:15px;letter-spacing:.04em;line-height:1.55}
 .page-home .hero--video .hero-aside br,.page-home .hero--video .hero-aside .rule{display:none}
}
