.home-hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-color: var(--dark-blue-900, #141F29);
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.home-hero.video-bg {
  overflow: hidden; /* Prevents video from spilling out */
  background-color: transparent;
  background-image: none !important;
}
.home-hero.video-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(20, 31, 41, 0.94) 0%, rgba(20, 31, 41, 0.6) 100%);
  z-index: 1; /* Sits above the video */
}
.home-hero.video-bg .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover; /* This is the magic property */
  z-index: -1; /* Pushes the video behind the content */
  background-color: var(--dark-blue-900, #141F29);
}
.home-hero .container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 64px;
  z-index: 2;
}
@media (width <= 500px) {
  .home-hero .container {
    gap: 80px;
  }
}
.home-hero .container .wrapper-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 615px;
  gap: 32px;
  align-self: stretch;
}
.home-hero .container .wrapper-main .wrapper-button {
  width: 100%;
}
.home-hero .container .wrapper-main .title > * {
  color: #fff;
  margin: 0;
  width: 774px;
}
@media (width <= 768px) {
  .home-hero .container .wrapper-main .title > * {
    width: 500px;
  }
}
@media (width <= 525px) {
  .home-hero .container .wrapper-main .title > * {
    width: 340px;
  }
}
.home-hero .container .wrapper-main .title span {
  font-family: "Instrument Serif", sans-serif;
  font-style: italic;
  font-weight: 400;
  line-height: 84px;
  letter-spacing: 1.44px;
  position: absolute;
  margin-left: 20px;
}
@media (width <= 768px) {
  .home-hero .container .wrapper-main .title span {
    line-height: 58px;
  }
}
.home-hero .container .wrapper-button {
  width: 100%;
}