.mountain-parallax {
  position: relative;
  height: 100vh;
  height: 100svh;
  background: var(--color-black);
  overflow: hidden;
}

.mountain-parallax-stage {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: var(--color-black);
  color: var(--color-white);
  isolation: isolate;
}

.mountain-parallax-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0.04) 18%,
      rgba(10, 9, 9, 0) 38%
    ),
    linear-gradient(180deg, #1f1f1f 0%, var(--color-black) 100%);
}

.mountain-parallax-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.mountain-parallax-content {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  will-change: transform;
}

.mountain-parallax-badge {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(1rem, 1.5vw, 1.75rem);
}

.mountain-parallax-badge-image {
  display: block;
  width: clamp(3.6rem, 4.6vw, 5.6rem);
  height: auto;
}

.mountain-parallax-headline {
  margin: 0 auto;
  color: var(--color-white);
  font-family: var(--font-headline);
  font-size: clamp(4.4rem, 8.8vw, 12rem);
  font-weight: 700;
  line-height: 0.88;
  text-align: center;
  text-transform: uppercase;
}

.mountain-parallax-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 100vw;
  height: auto;
  pointer-events: none;
  transform: translate3d(0, 100vh, 0);
  will-change: transform;
}

.mountain-parallax-image {
  display: block;
  width: 100vw;
  height: auto;
  max-width: none;
  filter: grayscale(1);
  mix-blend-mode: screen;
  will-change: transform;
}

@media (max-width: 1199.98px) {
  .mountain-parallax-headline {
    font-size: clamp(4rem, 10vw, 9rem);
  }
}

@media (max-width: 767.98px) {
  .mountain-parallax,
  .mountain-parallax-stage {
    height: 82vh;
    height: 82svh;
  }

  .mountain-parallax-headline {
    font-size: clamp(3.2rem, 15vw, 5.8rem);
  }

  .mountain-parallax-badge-image {
    width: clamp(3rem, 13vw, 4.5rem);
  }

  .mountain-parallax-image-layer {
    width: 145vw;
    left: -22.5vw;
  }

  .mountain-parallax-image {
    width: 145vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mountain-parallax-image-layer,
  .mountain-parallax-content {
    transform: none !important;
  }
}
