/* Home video and panorama: independent of the 800px navigation breakpoint. */
.hero {
 --hero-height: clamp(568px, calc(34.285714vw + 74.285714px), 760px);
 --hero-copy-width: min(48%, 520px);
 --hero-window-width: calc(492 * var(--u));
 --hero-window-right: 0px;
 position: relative;
 display: block;
 height: auto;
 min-height: var(--hero-height);
 padding: 0;
 background: #fff;
 isolation: isolate;
}
.hero .hero-inner {
 position: relative;
 display: flex;
 align-items: center;
 min-height: var(--hero-height);
 padding-block: 54px 70px;
 z-index: 2;
}
.hero .hero-copy {
 position: relative;
 width: var(--hero-copy-width);
 max-width: 520px;
 min-width: 0;
}
.hero h1 {
 max-width: 100%;
 font-size: clamp(32px, 4.05vw, 58px);
 line-height: 1.05;
 margin-top: 10px;
 letter-spacing: -.4px;
 transform: none;
}
.hero .hero-description {
 max-width: 100%;
 font-size: clamp(16px, 1.25vw, 18px);
 line-height: 1.5;
 margin-top: 22px;
}
.hero .estimate {line-height: 1.5}
.hero-visual {display: contents}
.hero .hero-photo {
 position: absolute;
 inset: 0 var(--hero-window-right) auto auto;
 width: var(--hero-window-width);
 aspect-ratio: 492 / 356;
 height: auto;
 margin: 0;
 max-width: none;
 z-index: 0;
}
.hero .hero-photo::before {
 content: "";
 display: block;
 position: absolute;
 inset: 0;
 background: url("assets/brand/hero-video-rim.svg") center / 100% 100% no-repeat;
 clip-path: none;
 pointer-events: none;
}
.hero-media-window {
 position: absolute;
 inset: 0;
 overflow: hidden;
 border-radius: 5% 0 30% 40%;
}
@supports (mask-image: url("assets/brand/hero-video-mask.svg")) or (-webkit-mask-image: url("assets/brand/hero-video-mask.svg")) {
 .hero-media-window {
  border-radius: 0;
  mask: url("assets/brand/hero-video-mask.svg") center / 100% 100% no-repeat;
  -webkit-mask: url("assets/brand/hero-video-mask.svg") center / 100% 100% no-repeat;
 }
}
.hero .hero-photo picture {
 position: absolute;
 inset: 0;
 display: block;
 width: 100%;
 height: 100%;
 margin: 0;
 aspect-ratio: auto;
 mask: none;
 -webkit-mask: none;
}
.hero .hero-photo img, .hero-video {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 max-width: none;
 object-fit: cover;
 object-position: center;
 aspect-ratio: auto;
}
.hero-video {opacity: 0; transition: opacity .25s}
.hero[data-video-frame] .hero-video {opacity: 1}
.hero .hero-notes {display: contents}
.hero .hero-notes .note {position: absolute}
.hero .note-local {
 left: max(calc(100% - var(--hero-window-right) - var(--hero-window-width) + 13 * var(--u)), calc(50% + 16px - 15.18 * var(--u)));
 top: calc(304 * var(--u));
 bottom: auto;
 width: 144px;
 height: 100px;
 z-index: 3;
}
.hero .note-services {
 right: calc(var(--hero-window-right) + 6 * var(--u));
 top: calc(285 * var(--u));
 bottom: auto;
 width: 112px;
 height: 118px;
 z-index: 3;
}
.home-page .about {
 display: block;
 height: auto;
 min-height: calc(329 * var(--u));
 background: #fff;
}
.home-page .about-picture {position: absolute; inset: 0; width: 100%}
.home-page .about-photo {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 max-height: none;
 aspect-ratio: auto;
 object-fit: cover;
 object-position: center;
}
.home-page .about-inner {
 position: relative;
 display: flex;
 justify-content: flex-end;
 height: auto;
 min-height: inherit;
}
.home-page .about-copy {
 width: min(44%, 520px);
 min-width: 0;
 padding-block: 36px 40px;
}
.home-page .about-copy::before {
 display: block;
 left: -24px;
 right: -100vw;
 background: #fff;
}
.home-page .about-copy::after {
 display: block;
 right: calc(100% + 24px);
 width: clamp(90px, 8vw, 140px);
 background: url("assets/brand/panel-curve-soft.svg") center / 100% 100% no-repeat;
 filter: none;
}
.home-page .about h2 {font-size: clamp(26px, 2.65vw, 38px); line-height: 1.15; transform: none}
.home-page .about-description {font-size: clamp(16px, 1.18vw, 17px); line-height: 1.5}
.home-page .about .call-button {width: min(100%, 310px); min-width: 0; padding-inline: 16px}
.home-page .trust-list {flex-wrap: wrap; justify-content: flex-start; white-space: normal; gap: 12px 18px}
@media (min-width: 1200px) {
 .hero {--hero-window-right: calc(50% - 600px)}
}
@media (min-width: 600px) and (max-width: 800px) {
 .hero {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  min-height: 0;
  padding: 32px 24px;
 }
 .hero .hero-inner {display: contents}
 .hero .hero-copy {width: 100%; grid-column: 1}
 .hero .call-button {
  width: min(100%, 238px);
  min-width: 0;
  height: auto;
  min-height: 46px;
  padding-block: 12px;
  white-space: normal;
 }
 .hero .hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  grid-column: 2;
 }
 .hero .hero-photo {position: relative; inset: auto; transform: none; width: 100%; margin: 0}
 .hero .hero-notes {
  display: flex;
  position: static;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
 }
 .hero .hero-notes .note {position: static; inset: auto; flex-shrink: 0}
 .home-page .about-copy {padding-block: 30px 36px}
}
@media (max-width: 599px) {
 .hero {display: flex; flex-direction: column; min-height: 0; padding-bottom: 20px}
 .hero .hero-inner {display: block; order: 0; min-height: 0; padding-block: 26px 0}
 .hero .hero-copy {width: 100%; max-width: 520px}
 .hero h1 {font-size: clamp(35px, 7.2vw, 42px); line-height: 1.05}
 .hero .hero-description {font-size: 16px; line-height: 1.5; margin-top: 20px}
 .hero .hero-photo {
  position: relative;
  inset: auto;
  transform: none;
  order: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 492 / 356;
  margin-top: 26px;
 }
 .hero .hero-notes {
  display: flex;
  position: relative;
  order: 2;
  z-index: 3;
  width: 100%;
  max-width: none;
  justify-content: space-between;
  align-items: flex-start;
  margin: -10px 0 0;
  padding-inline: 24px;
 }
 .hero .hero-notes .note {position: static; margin: 0}
 .hero .hero-notes .note-local {width: 94px; height: 66px}
 .hero .hero-notes .note-services {width: 76px; height: 82px}
 .home-page .about {display: flex; flex-direction: column; min-height: 0}
 .home-page .about-picture {position: relative; inset: auto}
 .home-page .about-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 72%, #fff 100%);
 }
 .home-page .about-photo {position: relative; inset: auto; height: auto; aspect-ratio: 1080 / 800}
 .home-page .about-inner {display: block; min-height: 0}
 .home-page .about-copy {width: 100%; max-width: 520px; padding-block: 26px 34px}
 .home-page .about-copy::before, .home-page .about-copy::after {display: none}
 .home-page .about h2 {font-size: 29px; line-height: 1.17}
}
@media (prefers-reduced-motion: reduce) {
 .hero-video {transition: none}
}
