/* The live theme reserves 95vh for the slider's black outer section. */
.elementor-26 .elementor-element-572df24:has(.home-hero) { height: 95vh; }
.home-hero {
  container-type: inline-size;
  --hero-height: 880px;
  --title-size: min(68px, 5.04vw);
  --title-leading: 1.1765;
  --title-space: 45px;
  --copy-space: 70px;
  --row-offset: 17.5px;
  position: relative;
  width: 100%;
  height: var(--hero-height);
  overflow: hidden;
  background: #353535;
  color: white;
  text-align: center;
  isolation: isolate;
  touch-action: pan-y pinch-zoom;
}
.hero-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-slide.is-active { visibility: visible; }
.hero-slide.is-active { z-index: 1; }
.home-hero .hero-photo {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
}
.hero-slide::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 12%); }
.hero-copy {
  position: relative;
  z-index: 1;
  width: calc(100% - 60px);
  transform: translateY(var(--row-offset));
}
.hero-heading {
  max-width: min(800px, 59.26vw);
  margin: 0 auto var(--title-space);
  font: 700 var(--title-size) / var(--title-leading) "Work Sans", sans-serif;
  letter-spacing: -1px;
}
.hero-slide:nth-child(2) .hero-heading { max-width: min(703px, 52.08vw); }
.hero-slide:nth-child(3) .hero-heading { max-width: min(581px, 43.04vw); }
.hero-copy p {
  max-width: 482px;
  margin: 0 auto var(--copy-space);
  font: 400 18px / 30px "Plus Jakarta Sans", sans-serif;
  color: white;
}
.hero-slide:nth-child(2) p { max-width: 390px; }
.home-hero .hero-cta {
  display: inline-block;
  max-width: 100%;
  padding: 19px 40px;
  color: black;
  background: white;
  border-radius: 30px;
  font: 800 12px / 12px "Work Sans", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-cta i { margin-left: 7px; font-size: 15px; }
.home-hero .hero-cta:hover, .home-hero .hero-cta:focus-visible { color: black; background: #daa14c; }
.home-hero .hero-cta:focus-visible { outline: 2px solid white; outline-offset: 3px; }
/* Keep the three navigation dots centered; put playback just to their right. */
.home-hero .hero-playback {
  position: absolute;
  z-index: 2;
  left: calc(50% + 51px);
  bottom: 36px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 2px solid white;
  border-radius: 50%;
  background: #444;
  color: white;
}
.home-hero .hero-playback[hidden] { display: none; }
.hero-playback::before {
  content: "";
  width: 8px;
  height: 10px;
  box-sizing: border-box;
  border-inline: 3px solid currentColor;
}
.hero-playback[data-playing="false"]::before {
  width: 0;
  height: 0;
  margin-left: 2px;
  border: solid transparent;
  border-width: 6px 0 6px 9px;
  border-left-color: currentColor;
}
.home-hero button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.hero-dots {
  position: absolute;
  z-index: 2;
  inset: auto 0 40px;
  display: flex;
  justify-content: center;
  gap: 13px;
  pointer-events: none;
}
.hero-dots button {
  pointer-events: auto;
  box-sizing: content-box;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 3px solid #e5e5e5;
  border-radius: 50%;
  background: linear-gradient(#999, #e1e1e1);
}
.hero-dots button[aria-current="true"], .hero-dots button:hover { background: #666; }
@keyframes hero-reveal { from { translate: 0 65%; clip-path: inset(0 0 100%); } }
@keyframes hero-rise { from { transform: translateY(100%); opacity: 0; } }
@keyframes hero-exit { to { transform: translateY(calc(var(--row-offset) - 60px)); } }
@keyframes hero-zoom { to { transform: scale(1.1); } }
@media (max-width: 1024px) {
  .home-hero { --hero-height: 750px; --title-size: min(60px, 5.86vw); --title-space: 15px; --copy-space: 53px; --row-offset: 30px; }
  .hero-heading { max-width: min(686px, 67vw); }
  .hero-slide:nth-child(n+2) .hero-heading { max-width: min(634px, 62vw); }
  .hero-copy p { max-width: 421px; }
  .home-hero .hero-cta { padding-inline: 30px; line-height: 14px; letter-spacing: 2px; }
}
@media (max-width: 778px) {
  .home-hero { --hero-height: 700px; --title-size: min(60px, 7.71vw); --title-leading: 1.133; --copy-space: 40px; --row-offset: 15px; }
  .home-hero .hero-heading { max-width: 100%; }
  .hero-copy p { max-width: 406px; }
}
@media (max-width: 480px) {
  .home-hero { --hero-height: 600px; --title-size: round(nearest, min(46px, 9.583cqw), 1px); --title-leading: round(nearest, min(50px, 10.417cqw), 1px); --title-space: round(nearest, 3.125cqw, 1px); --copy-space: 45px; }
  .hero-copy { width: calc(100% - 30px); }
  .home-hero .hero-heading { max-width: 100%; letter-spacing: 0; }
  .home-hero .hero-cta { padding-inline: 25px; line-height: 16px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-slide.is-leaving { visibility: visible; }
  .hero-slide.is-entering { animation: hero-rise 1.2s cubic-bezier(.23,1,.32,1) both; }
  .hero-slide.is-leaving .hero-copy { animation: hero-exit 1.2s ease both; }
  .hero-slide.is-active .hero-photo { animation: hero-zoom 10s linear both; }
  .home-hero.is-paused .hero-photo { animation-play-state: paused; }
  .hero-slide.is-entering :is(.hero-heading, .hero-copy p, .hero-cta) {
    animation: hero-reveal 1.5s cubic-bezier(.22,1,.36,1) both;
  }
}
