.hero {
  position: relative;
  overflow: hidden;
  background: var(--extra-heavy-blue);
}

.hero.hero--general {
  position: relative;
  overflow: visible;
}

@media print, screen and (width <= 48.0613em) {
  .hero.hero--general {
    border-bottom: 5px solid var(--gray--bg);
  }
}

@media print, screen and (width >= 64.0625em) {
  .hero.hero--general {
    height: 75vh;
    position: relative;
  }

  .hero.hero--general::after {
    position: absolute;
    bottom: 0;
    display: block;
    background-color: var(--white);
    content: '';
    width: 100%;
    height: 125px;
    clip-path: ellipse(60% 100% at 50% 0%);
    transform: rotate(180deg);
  }
}

.hero.hero--general h1 {
  margin: 0;
}

.hero.hero--general.hero--no-img {
  background: none;
  height: auto;
  margin-top: 5.625rem;
  max-height: none;
}

.hero.hero--general.hero--no-img > .grid-container {
  width: 100%;
}

.hero.hero--general.hero--no-img .hero__content {
  background: none;
  box-shadow: none;
  max-width: none;
  padding: 0;
}

.hero.hero--general.hero--no-img .hero__content h1,
.hero.hero--general.hero--no-img .hero__content p {
  color: var(--text-color);
  max-width: none;
}

.hero.hero--general.hero--no-img::after {
  display: none;
}

.hero.hero--general.hero--img .grid-container {
  background: var(--white);
  height: 100%;
  padding-top: var(--spacing--small);
  padding-bottom: var(--spacing--small);
  width: 100%;
}

@media print, screen and (width >= 48.0625em) {
  .hero.hero--general.hero--img .grid-container {
    position: absolute;
    background: none;
  }

  .hero.hero--general.hero--img .grid-container .grid-x {
    align-items: flex-end;
    height: 100%;
  }
}

@media print, screen and (width >= 48.0625em) {
  .hero.hero--general.hero--img .hero__content {
    padding: 4.375rem 6.25rem;
    position: relative;
    left: -6.25rem;
  }
}

.hero.hero--general.hero--img .hero__content h1,
.hero.hero--general.hero--img .hero__content p {
  color: var(--text-color);
}

@media print, screen and (width >= 48.0625em) {
  .hero.hero--general .hero__content {
    background: var(--white);
    box-shadow: 0 0 1.25rem rgb(0 0 0 / 18%);
  }

  .hero.hero--general .hero__content .grid-x {
    width: 100%;
  }
}

.hero img,
.hero video,
.hero .video-feature {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: cover;
  object-position: center;
}

@media print, screen and (width >= 48.0625em) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: var(--pattern--blue);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: end;
    height: 66.67vw;
    max-height: auto;
  }
}

.hero__media {
  display: block;
  height: 100%;
  width: 100%;
}

.hero__media img {
  height: 100%;
}

.hero__overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(
    rgb(0 73 118 / 0%),
    rgb(0 73 118 / 62%),
    rgb(0 73 118 / 91%)
  );
}

.hero__content {
  z-index: 3;
}

.hero__content h1,
.hero__content p {
  color: var(--white);
  margin-right: 0;
  margin-left: 0;
  max-width: 41.25rem;
}

.hero__content h1 {
  font-family: var(--serif);
}

.hero__content p {
  font-family: var(--sans-serif);
}

.hero__content .btn {
  margin: auto;
}

.hero__content .intro-text * {
  font-family: var(--sans-serif);
  font-size: 1.125rem;
  font-weight: 200;
  line-height: 1.7;
}

@media print, screen and (width >= 48.0625em) {
  .hero__content .intro-text * {
    font-size: 1.25rem;
    line-height: 1.6;
  }
}

@media print, screen and (width >= 64.0625em) {
  .hero__content .intro-text * {
    font-size: 1.4375rem;
  }
}

.autoplay-video-container {
  position: relative;
}

.hero--video .video-feature,
.hero--video video {
  position: relative;
  z-index: 2;
}

@media print, screen and (width >= 48.0625em) {
  .hero--video img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}

.hero--no-img {
  background-color: var(--pattern--blue);
  background-image: url('assets/cube-pattern.png');
  background-attachment: fixed;
  background-size: 100px;
  max-height: 31.25rem;
}

.hero--no-img .hero__overlay {
  top: 0;
  bottom: 0;
  background: linear-gradient(#004976, rgb(0 73 118 / 0%));
}

.hero--no-img .hero__content {
  padding: 2.5rem 1.25rem;
  max-width: 75rem;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 100%;
}

@media print, screen and (width >= 48.0625em) {
  .hero--no-img .hero__content {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
}

@media print, screen and (width >= 48.0625em) {
  .hero--no-img .hero__content {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
  }
}

@media print, screen and (width >= 48.0625em) {
  .hero.hero--parallax {
    min-height: 85vh;
    overflow: hidden;
  }

  .hero.hero--parallax img,
  .hero.hero--parallax video {
    transform: translateY(calc(var(--scroll-tracker) * 35%));
    height: 135%;
    will-change: transform;
  }

  .hero.hero--parallax .hero__media,
  .hero.hero--parallax .video-feature,
  .hero.hero--parallax .autoplay-video-container {
    height: 100%;
  }

  .hero.hero--parallax img,
  .hero.hero--parallax video,
  .hero.hero--parallax .hero__media,
  .hero.hero--parallax .video-feature,
  .hero.hero--parallax .autoplay-video-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
  }
}

.hero--iframe .video-feature {
  position: relative;
  z-index: 3;
  overflow: hidden;
  height: 0;
  padding-top: 30px;
  padding-bottom: 56.25%;
}

@media print, screen and (width >= 48.0625em) {
  .hero--iframe img {
    position: absolute;
  }
}

@media print, screen and (width >= 48.0625em) {
  .hero--iframe iframe {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1165px;
    height: 100%;
    min-height: 700px;
  }
}

.hero--iframe .video-feature {
  display: none;
}

@media print, screen and (width >= 48.0625em) {
  .hero--iframe .video-feature {
    display: block;
    margin-top: -3.125rem;
  }
}

.hero--parallax-iframe .video-feature {
  display: none;
}

@media print, screen and (width >= 48.0625em) {
  .hero--parallax-iframe .video-feature {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100vh;
  }
}
