.rosemont-video-hero {
  min-height: 790px;
  height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: #111;
  color: #fff;
}

.rosemont-hero-poster,
.rosemont-hero-video,
.rosemont-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rosemont-hero-poster {
  z-index: 0;
  background: url('/assets/video/rosemont/rosemont-hero-background-desktop-poster.jpg') center / cover no-repeat;
}

.rosemont-hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0;
}

.rosemont-hero-video.is-ready {
  opacity: 1;
}

.rosemont-hero-shade {
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .14), transparent 62%);
}

.rosemont-hero-content {
  position: relative;
  z-index: 2;
  width: min(58%, 880px);
  padding: 150px clamp(1.2rem, 7vw, 8rem) 60px;
}

.rosemont-hero-content h1 {
  max-width: 820px;
}

.rosemont-hero-content .rm-lead {
  max-width: 720px;
}

.rosemont-hero-actions .rm-button {
  max-width: 340px;
  text-align: center;
}

.rosemont-hero-microcopy {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
}

.rosemont-contact-anchor {
  display: block;
  height: 0;
  scroll-margin-top: 1rem;
}

.rm-footer a {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
}

.rosemont-avatar-player {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #000;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

.rosemont-avatar-player video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.rosemont-avatar-player video:focus-visible {
  outline: 3px solid var(--cdc-primary);
  outline-offset: 4px;
}

.rosemont-avatar-transcript p {
  margin-bottom: .75rem;
}

.rosemont-avatar-transcript p:last-child {
  margin-bottom: 0;
}

@media (max-width: 700px) {
  .rosemont-video-hero {
    min-height: 720px;
  }

  .rosemont-hero-poster {
    background-image: url('/assets/video/rosemont/rosemont-hero-background-mobile-poster.jpg');
    background-position: center;
  }

  .rosemont-hero-content {
    align-self: flex-start;
    width: 100%;
    padding: 105px 1rem 40px;
  }

  .rosemont-hero-content h1 {
    max-width: 520px;
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .rosemont-hero-subtitle,
  .rosemont-hero-phone,
  .rosemont-hero-microcopy {
    display: none;
  }

  .rosemont-hero-actions {
    margin-top: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rosemont-hero-video {
    display: none;
  }
}
