body > main { max-width: none; box-shadow: none; }
main > section:not(.home-hero):not(.inner-hero):not(.contact-band) {
  max-width: 1440px; margin-inline: auto;
}
.home-hero, .inner-page .inner-hero, .contact-band {
  --hero-copy-width: clamp(350px, 40vw, 520px);
  --hero-gutter: max(40px, calc((100% - 1360px) / 2));
}
.home-hero, .inner-page .inner-hero {
  --hero-height: clamp(520px, 36.12vw, 760px);
  position: relative;
  display: block;
  max-width: none;
  min-height: var(--hero-height);
  background: #fff;
  isolation: isolate;
}
.home-hero .hero-window {
  position: absolute; inset: 0; overflow: hidden;
  background: #fff url('home.webp') center / cover no-repeat;
}
.home-hero .hero-media, .inner-page .inner-hero .page-hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; object-fit: cover; object-position: center;
}
.home-hero .hero-wash, .inner-page .inner-hero .hero-wash {
  position: absolute; inset: 0; height: 100%; z-index: 1;
  background: linear-gradient(90deg,
    #fff 0, #fff calc(var(--hero-gutter) + var(--hero-copy-width)),
    rgba(255,255,255,.94) calc(var(--hero-gutter) + var(--hero-copy-width) + 30px),
    rgba(255,255,255,.56) calc(var(--hero-gutter) + var(--hero-copy-width) + 85px),
    rgba(255,255,255,.12) calc(var(--hero-gutter) + var(--hero-copy-width) + 145px),
    transparent calc(var(--hero-gutter) + var(--hero-copy-width) + 210px));
  pointer-events: none;
}
.home-hero .hero-inner, .inner-page .inner-hero-shell {
  position: relative; z-index: 2;
  width: min(calc(100% - 80px), 1360px); margin-inline: auto;
  min-height: var(--hero-height); display: flex; align-items: center;
}
.home-hero .hero-copy, .inner-page .page-hero-content {
  width: var(--hero-copy-width); max-width: 100%;
  padding: 48px 0; text-align: left;
}
.home-hero h1, .inner-page .page-hero-content h1,
.home-hero .hero-text, .inner-page .page-hero-content p:not(.eyebrow) {
  width: 100%; max-width: 100%; margin-inline: 0;
}
.home-hero .hero-cta-row { flex-wrap: wrap; }
.inner-page .page-hero-content .button { margin-inline: 0; }
.contact-band {
  background-image: linear-gradient(270deg,
    #fff 0, #fff calc(var(--hero-gutter) + var(--hero-copy-width)),
    rgba(255,255,255,.94) calc(var(--hero-gutter) + var(--hero-copy-width) + 30px),
    rgba(255,255,255,.56) calc(var(--hero-gutter) + var(--hero-copy-width) + 85px),
    rgba(255,255,255,.12) calc(var(--hero-gutter) + var(--hero-copy-width) + 145px),
    transparent calc(var(--hero-gutter) + var(--hero-copy-width) + 210px)), url('cta.webp');
  background-position: center; background-size: cover;
  background-color: #fff; min-height: 360px; padding-top: 0;
}
.contact-band .contact-shell { width: min(calc(100% - 80px),1360px); }
.contact-band .contact-copy {
  width: var(--hero-copy-width); max-width: 100%; margin-left: auto;
  padding: 54px 0; text-align: left;
}
.contact-band .contact-copy h2, .contact-band .contact-copy > p { max-width: 100%; }
.contact-band::after { display: none; }
@media (min-width: 2001px) {
  .home-hero, .inner-page .inner-hero { --hero-height: 760px; }
}
@media (min-width: 600px) and (max-width: 1080px) {
  .home-hero, .inner-page .inner-hero, .contact-band { --hero-gutter: 24px; }
  .home-hero .hero-inner, .inner-page .inner-hero-shell, .contact-band .contact-shell { width: calc(100% - 48px); }
}
@media (max-width: 599px) {
  .home-hero, .inner-page .inner-hero { display: flex; flex-direction: column; min-height: 0; }
  .home-hero .hero-inner, .inner-page .inner-hero-shell {
    order: 0; display: block; min-height: 0; width: calc(100% - 32px);
  }
  .home-hero .hero-copy, .inner-page .page-hero-content {
    width: 100%; max-width: 520px; margin-inline: auto;
    padding: 42px 0 28px; text-align: center;
  }
  .home-hero .hero-window, .inner-page .inner-hero .page-hero-photo {
    position: relative; inset: auto; order: 1;
    width: 100%; height: clamp(280px,65vw,360px); flex: 0 0 auto;
  }
  .home-hero .hero-media { position: absolute; height: 100%; object-position: 62% center; }
  .inner-page .inner-hero .page-hero-photo { object-position: 68% center; }
  .home-hero .hero-wash, .inner-page .inner-hero .hero-wash {
    inset: auto 0 0; height: clamp(280px,65vw,360px);
    background: linear-gradient(180deg,#fff 0%,rgba(255,255,255,.97) 4%,rgba(255,255,255,.6) 16%,rgba(255,255,255,.14) 32%,transparent 48%);
  }
  .home-hero .hero-cta-row, .home-hero .service-area { justify-content: center; }
  .home-hero .hero-text, .inner-page .page-hero-content p:not(.eyebrow) { margin-inline: auto; }
  .contact-band {
    min-height: 0; padding-top: 280px;
    background-image: linear-gradient(180deg,transparent 0,rgba(255,255,255,.2) 180px,rgba(255,255,255,.9) 270px,#fff 340px),url('cta.webp');
    background-position: center,17% top;
    background-size: 100% 100%, auto 390px; background-repeat: no-repeat;
  }
  .contact-band .contact-shell { width: calc(100% - 32px); min-height: 0; }
  .contact-band .contact-copy { width: 100%; margin: 0; padding: 58px 0; text-align: center; }
  .contact-band .contact-actions { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero video.hero-media { visibility: hidden; }
}
