/* ==========================================================================
	Hero
============================================================================= */
@keyframes scroll-down {
  0% {
    translate: 0 calc((var(--scroll-offset) + 50) * -1%);
  }
  100% {
    translate: 0 calc(var(--scroll-offset) * -1%);
  }
}
.hero {
  --image-aspect-ratio: (2 / 3);
  position: relative;
  color: #fff;
  background-color: var(--background-color);
}

.hero--dark {
  --background-color: #001835;
  --image-opacity: 0.3;
  --fade-opacity: 1;
}

.hero--light {
  --background-color: #0e4168;
  --image-opacity: 0.2;
  --fade-opacity: 0.5;
}

.hero__background {
  block-size: 100vh;
  inline-size: 100vw;
  position: absolute;
  background-color: var(--background-color);
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .hero__background {
    block-size: 100%;
  }
}
.hero__background::after {
  block-size: 85px;
  block-size: 5.3125rem;
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  display: block;
  background: linear-gradient(180deg, #001023 0%, rgba(0, 16, 35, 0) 100%);
  content: "";
  opacity: var(--fade-opacity);
}
@media (min-width:46.25rem) {
  .hero__background::after {
    block-size: 188px;
    block-size: 11.75rem;
  }
}
.hero.is-before-scroll .hero__background {
  inset-block-start: 0;
}
.hero.is-after-scroll .hero__background {
  inset-block-end: 0;
}
.hero.is-scrolling .hero__background {
  position: fixed;
  inset-block-start: 0;
}

.hero__background-inner {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__images {
  --bleed: 26px;
  --bleed: 1.625rem;
  --gap: 10px;
  --gap: 0.625rem;
  --image-width: calc(
  	((100vw + var(--bleed)) - (var(--gap) * (var(--column-count) - 1))) / var(--column-count)
  );
  --image-height: calc(var(--image-width) * var(--image-aspect-ratio));
  inline-size: calc(100% + var(--bleed));
  position: relative;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(var(--column-count), 1fr);
  margin-inline: calc(var(--bleed) * -1 / 2);
  opacity: var(--image-opacity);
  overflow: hidden;
}
@media (min-width:46.25rem) {
  .hero__images {
    --bleed: 60px;
    --bleed: 3.75rem;
    --gap: 20px;
    --gap: 1.25rem;
  }
}

.hero__images--twos {
  --column-count: 2;
}
@media (min-width:46.25rem) {
  .hero__images--twos {
    display: none;
  }
}

.hero__images--threes {
  --column-count: 3;
}
@media (max-width:46.1875rem) {
  .hero__images--threes {
    display: none;
  }
}

.hero__image-group {
  display: grid;
  grid-template-columns: 100%;
  animation: scroll-down var(--animation-duration, 10s) linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero__image-group {
    animation-play-state: paused;
  }
}
.hero__image-group:nth-child(1n) {
  --scroll-offset: 15;
}
.hero__image-group:nth-child(2n) {
  --scroll-offset: 0;
}
.hero__image-group:nth-child(3n) {
  --scroll-offset: 5;
}
:where(.hero.fw-swap-active) .hero__image-group {
  animation-play-state: paused;
}

.hero__image-item {
  padding-block: calc(var(--gap) / 2);
}

.hero__image-group-image {
  block-size: auto;
  inline-size: 100%;
  border-radius: 3px;
  border-radius: 0.1875rem;
}

.hero__statements {
  text-align: center;
  isolation: isolate;
}

.hero__statement {
  --statement-padding: 10px;
  --statement-padding: 0.625rem;
  inline-size: 100vw;
}

.hero__statement--primary {
  block-size: 100vh;
  inline-size: 100vw;
  position: relative;
  display: grid;
  align-items: center;
  grid-template-rows: 1fr auto 1fr;
  text-align: center;
}

.hero__statement--secondary {
  --peek-amount: 5vw;
  block-size: 50vh;
}

.hero__statement-label {
  font-size: clamp(39px, 6.5531914894px + 6.4893617021vw, 100px);
  font-size: clamp(2.4375rem, 0.40957rem + 6.4893617021vw, 6.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1px;
  letter-spacing: -0.0625rem;
  text-shadow: 0px 2px 20px rgba(0, 24, 53, 0.5);
  text-shadow: 0 0.125rem 1.25rem rgba(0, 24, 53, 0.5);
}
@container (min-width: 740px) {
  .hero__statement-label {
    letter-spacing: -2px;
    letter-spacing: -0.125rem;
    text-shadow: 0px 4px 48px rgba(0, 24, 53, 0.5);
    text-shadow: 0 0.25rem 3rem rgba(0, 24, 53, 0.5);
  }
}
.hero__statement-label :where(em) {
  font-family: "PT Serif", "Palatino", Georgia, serif;
  font-weight: 400;
}
.hero__statement--primary .hero__statement-label {
  translate: 0 0 0;
  grid-row: 2;
  opacity: 1;
  transition: delay 0.1s;
  transition: opacity 1s, translate 1s;
}
@media (prefers-reduced-motion: reduce) {
  .hero__statement--primary .hero__statement-label {
    transition-duration: 0s;
  }
}
.hero__statement--secondary .hero__statement-label {
  translate: 0 calc(-50% + var(--statement-padding) + var(--peek-amount)) 0;
}

@starting-style {
  .hero__statement--primary .hero__statement-label {
    translate: 0 40px 0;
    translate: 0 2.5rem 0;
    opacity: 0;
  }
}
.hero__statement-rule {
  block-size: 100%;
  display: flex;
  align-items: start;
  grid-row: 3;
  justify-content: center;
  padding-block: 50px calc(50px + 5vw);
  padding-block: 3.125rem calc(3.125rem + 5vw);
}

.hero__statement-rule-decoration {
  block-size: 100%;
  inline-size: 1px;
  inline-size: 0.0625rem;
  background-color: #e8b720;
  opacity: 1;
  transition: delay 0.15s;
  transition: block-size 0.6s, opacity 0.6s;
}
@media (prefers-reduced-motion: reduce) {
  .hero__statement-rule-decoration {
    transition-duration: 0s;
  }
}

@starting-style {
  .hero__statement-rule-decoration {
    block-size: 0;
    opacity: 0;
  }
}
.hero__animation-button {
  --inline-size: 62px;
  --inline-size: 3.875rem;
  position: absolute;
  inset-block-end: 0;
  inset-inline-end: 0;
  z-index: 5;
}
.hero.is-before-scroll .hero__animation-button, .hero.is-after-scroll .hero__animation-button {
  position: absolute;
}
.hero.is-scrolling .hero__animation-button {
  position: fixed;
}
/*# sourceMappingURL=hero.css.map */
