@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@900&display=swap");

.hero-mountain-scroll {
  width: 100vw;
  max-width: none;
  height: 135vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
  overflow: visible;
  background: #ddd;
  position: relative;
}

.hero-mountain-scroll .scrollDist {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-mountain-main {
  position: sticky;
  top: 0;
  left: 50%;
  width: 100%;
  max-width: none;
  height: 100vh;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: 0 0 auto;
  height: calc(100% + 220px);
  background: linear-gradient(180deg, var(--hero-sky-top) 0%, var(--hero-sky-mid) 30%, #fff 50%);
}

.hero-mountain-main svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  font-family: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  font-size: clamp(56px, 8.25vw, 99px);
  font-weight: 900;
  text-align: center;
}

.hero-mountain-main .hero-word {
  letter-spacing: 0;
}

.hero-mountain-main .hero-word-mobile {
  display: none;
}

.hero-mountain-main .hero-word-subline {
  font-size: 0.56em;
}

.hero-mountain-main .hero-word-stack {
  font-size: 0.76em;
}

.hero-mountain-main .hero-word-brand {
  fill: var(--brand-blue);
}

.hero-mountain-main .cloud2-drift {
  animation: cloud2Drift 42s linear infinite alternate;
  transform-box: fill-box;
  will-change: transform;
}

@keyframes cloud2Drift {
  from {
    transform: translate3d(44px, 0, 0);
  }

  to {
    transform: translate3d(-72px, 0, 0);
  }
}

.hero-mountain-main #arrowBtn {
  pointer-events: all;
  fill: transparent;
}

.hero-mountain-main g[mask] {
  pointer-events: none;
}

.index-hero-package-stack {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  z-index: 3;
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  pointer-events: none;
}

.index-hero-packages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  opacity: 0;
  transform: translateY(28px);
  pointer-events: none;
}

.index-hero-packages.is-ready {
  pointer-events: auto;
}

.index-hero-package {
  min-height: 100%;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: var(--brand-blue);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 38px rgba(22, 42, 67, 0.18);
}

.index-hero-package-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.index-hero-package h3 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.15;
}

.index-hero-package-duration {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0.76;
}

.index-hero-package ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 13px;
  line-height: 1.32;
}

.index-hero-package li {
  position: relative;
  padding-left: 18px;
}

.index-hero-package li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.index-hero-spice {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 10px;
}

.index-hero-spice img {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.index-hero-next {
  display: block;
  width: 68px;
  height: 68px;
  margin: 18px auto 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 16px 34px rgba(22, 42, 67, 0.22);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.index-hero-next.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.index-hero-next span {
  display: block;
  width: 36px;
  height: 36px;
  margin: auto;
  background: #fff;
  transform: rotate(90deg);
  mask: url("../img/arrow_forward_ios_24dp_1F1F1F_FILL1_wght500_GRAD200_opsz24.svg") center / contain no-repeat;
  -webkit-mask: url("../img/arrow_forward_ios_24dp_1F1F1F_FILL1_wght500_GRAD200_opsz24.svg") center / contain no-repeat;
}

@media (min-width: 721px) {
  .hero-mountain-main .hero-copy-shift {
    transform: translateY(100px);
  }
}

@media (max-width: 720px) {
  .hero-mountain-scroll {
    height: 160vh;
  }

  .hero-mountain-main .cloud2-drift {
    animation: none;
  }

  .hero-mountain-main svg {
    width: 100%;
    max-width: none;
    margin-left: 0;
    font-size: clamp(42px, 12.5vw, 68px);
  }

  .hero-mountain-main .hero-word-desktop,
  .hero-mountain-main g.hero-copy-shift,
  .hero-mountain-main text.hero-copy-shift {
    display: none;
  }

  .hero-mountain-main .hero-word-mobile {
    display: block;
    font-size: 0.9em;
  }

  .hero-mountain-main .arrow,
  .hero-mountain-main #arrowBtn {
    transform: translateY(-28px);
  }

  .index-hero-package-stack {
    top: 18%;
    width: calc(100% - 24px);
  }

  .index-hero-packages {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .index-hero-package {
    padding: 9px 10px;
  }

  .index-hero-package h3 {
    font-size: 16px;
  }

  .index-hero-package ul {
    gap: 4px;
    font-size: 11px;
    line-height: 1.22;
  }

  .index-hero-package-duration {
    margin-bottom: 6px;
    font-size: 12px;
  }

  .index-hero-spice {
    margin-top: 6px;
  }

  .index-hero-next {
    width: 54px;
    height: 54px;
    margin-top: 8px;
  }

  .index-hero-next span {
    width: 29px;
    height: 29px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mountain-main .cloud2-drift {
    animation: none;
  }

  .hero-mountain-scroll {
    height: 100vh;
  }

  .hero-mountain-main {
    position: relative;
  }
}
