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

.hero img,
.hero video,
.hero .video-feature {
  position: relative;
  display: block;
  width: 100%;
  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__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('../img/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;
  }
}

@media print, screen and (width >= 48.0625em) {
  .home-hero {
    height: 75vh;
  }
}

@media print, screen and (width <= 48.0613em) {
  .home-hero .autoplay-video-container {
    display: none;
  }
}

.home-page .hero .swoop--centered-concave {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.home-page .home-hero {
  position: relative;
  z-index: 1;
}

.home-page .home-hero {
  background-color: var(--brand--dark-blue);
}

.home-page .home-hero .hero__content {
  max-width: var(--global-width);
  padding-right: var(--spacing--small);
  padding-left: var(--spacing--small);
}

/* Hero media fixed on medium+ */
@media print, screen and (width >= 48.0625rem) {
  .home-page .home-hero .hero__media > .autoplay-video-container,
  .home-page .home-hero .hero__media > img {
    position: fixed;
    top: calc(var(--scroll-tracker, 0) * 0.5%);
  }
}

.home-page .home-hero .hero__content .attribution--quote {
  font-weight: 700;
}

.home-page .home-hero .hero__content .attribution--quote,
.home-page .home-hero .hero__content .attribution--value {
  text-transform: uppercase;
}

.home-page .home-hero .hero__content .attribution--value {
  margin-top: var(--spacing--xsmall);
}

.home-page .home-hero .hero__content .attribution--value::before {
  content: '— ';
}

.home-page .home-hero .hero__content h1 {
  text-shadow: 0 1px 10px rgb(0 0 0 / 40%);
  font-family: var(--serif);
  margin-bottom: var(--spacing--medium);
}

.home-page .home-hero .hero__content h1,
.home-page .home-hero .hero__content .attribution--quote,
.home-page .home-hero .hero__content .attribution--value {
  color: var(--white);
}

.home-page .home-hero .hero__overlay {
  pointer-events: none;
  display: block;
}

.home-page .home-hero ~ section {
  position: relative;
  z-index: 2;
}

@media print, screen and (width <= 48.0613em) {
  .home-hero .autoplay-video-container {
    display: none;
  }
}

@media print, screen and (width <= 48.0613em) {
  .home-page .home-hero .hero__content h1 {
    font-size: var(--spacing--medium);
    line-height: 2.375rem;
    letter-spacing: -0.33px;
  }
}

@media print, screen and (width <= 48.0613em) {
  .home-page .home-hero .hero__content {
    padding: var(--spacing--medium) var(--spacing--small);
  }
}

@media print, screen and (width <= 48.0613em) {
  .home-page .home-hero .hero__overlay {
    display: none;
  }
}

@media print, screen and (width >= 48.0625em) {
  .home-page .home-hero .hero__content h1,
  .home-page .home-hero .hero__content .attribution--quote,
  .home-page .home-hero .hero__content .attribution--value {
    max-width: 70%;
  }
}

@media print, screen and (width >= 48.0625em) {
  .home-page .home-hero .hero__content h1 {
    margin-bottom: var(--spacing--default);
  }
}

@media print, screen and (width >= 48.0625em) {
  .home-page .home-hero .hero__content {
    margin-bottom: 5rem;
  }
}

@media print, screen and (width >= 48.0625em) {
  .home-page .home-hero img,
  .home-page .home-hero video,
  .home-page .home-hero .video-feature {
    height: 100vh;
    width: 100%;
  }
}

.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;
}

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

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

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

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

/* Hide swoop svg in hero */
.home-page .hero .swoop--centered-concave {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

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

.hero__button .btn {
  color: var(--white);
  border-color: var(--brand--bright-blue);
  background-color: transparent;
  font-size: 0.875rem;
  margin-top: 1.25rem;
}

.hero__button .btn:hover,
.hero__button .btn:focus {
  border-color: var(--secondary--fuchsia);
  background-color: var(--secondary--fuchsia);
}
