.vm-wrap {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.vm-pin {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.vm-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f3f1ec;
}

.vm-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 144rem;
  margin: 0 auto;
  padding: clamp(3rem, 5vh, 5rem) clamp(2rem, 4vw, 4rem);
}

.vm-photos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vm-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(1.4rem, 1.8vw, 2.4rem);
  box-shadow: 0 1.6rem 4.8rem rgba(0, 0, 0, 0.18);
  will-change: transform, opacity;
  transform: translate3d(0, 0, 0);
}

.vm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vm-photo--dining {
  left: 7.2%;
  top: 8.5%;
  width: clamp(14rem, 16vw, 22rem);
  aspect-ratio: 16 / 9;
}

.vm-photo--sunset {
  left: 24.5%;
  top: 6.5%;
  width: clamp(12rem, 14vw, 20rem);
  aspect-ratio: 16 / 9;
}

.vm-photo--aerial {
  right: 6.2%;
  top: 9%;
  width: clamp(13rem, 15vw, 22rem);
  aspect-ratio: 1.12 / 1;
}

.vm-photo--night-trail {
  left: 8.5%;
  bottom: 16%;
  width: clamp(14rem, 16vw, 22rem);
  aspect-ratio: 16 / 9;
}

.vm-photo--lounge {
  left: 36.5%;
  bottom: 11.5%;
  width: clamp(16rem, 18vw, 28rem);
  aspect-ratio: 16 / 9;
}

.vm-photo--stern {
  right: 5.2%;
  bottom: 8.5%;
  width: clamp(11rem, 12.8vw, 18.4rem);
  aspect-ratio: 3 / 4.45;
}

.vm-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.vm-copy-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(100%, 52rem);
  padding: 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
  will-change: transform, opacity;
}

.vm-title {
  margin: 0 0 2.4rem;
  font-family: var(--fonts--heading, "Marcellus", serif);
  font-size: clamp(3.6rem, 4.8vw, 6.4rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.vm-text {
  margin: 0 auto;
  max-width: 42rem;
  font-family: var(--fonts--subheading, "Montserrat", sans-serif);
  font-size: clamp(1.5rem, 1.28vw, 1.8rem);
  line-height: 1.55;
  font-weight: 400;
}

.vm-copy-panel--mission .vm-title,
.vm-copy-panel--mission .vm-text {
  color: #111111;
}

.vm-copy-panel--mission .vm-text {
  color: rgba(17, 17, 17, 0.82);
}

.vm-copy-panel--vision .vm-title,
.vm-copy-panel--vision .vm-text {
  color: #ffffff;
}

.vm-copy-panel--vision .vm-text {
  color: rgba(255, 255, 255, 0.88);
}

@media only screen and (max-width: 991px) {
  .vm-pin {
    height: auto;
    min-height: 100dvh;
  }

  .vm-stage {
    min-height: 100dvh;
    padding-top: clamp(4rem, 8vh, 6rem);
    padding-bottom: clamp(4rem, 8vh, 6rem);
  }

  .vm-photos {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    margin-bottom: 2.4rem;
    min-height: auto;
  }

  .vm-photo {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    aspect-ratio: 4 / 3;
    box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.12);
  }

  .vm-photo--dining,
  .vm-photo--stern {
    aspect-ratio: 3 / 4;
  }

  .vm-copy {
    position: relative;
    inset: auto;
    min-height: clamp(18rem, 32vh, 24rem);
  }

  .vm-copy-panel {
    top: 50%;
    left: 50%;
  }
}

@media only screen and (max-width: 767px) {
  .vm-wrap.is-scroll-stage {
    height: var(--vm-scroll-height, 185vh);
  }

  .vm-photos {
    display: none !important;
  }

  .vm-pin {
    position: sticky;
    top: 0;
    height: 100dvh;
    min-height: 100dvh;
  }

  .vm-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: clamp(3rem, 8vh, 5rem);
    padding-bottom: clamp(3rem, 8vh, 5rem);
  }

  .vm-copy {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: auto;
  }

  .vm-title {
    font-size: clamp(3rem, 9vw, 4.2rem);
  }

  .vm-text {
    font-size: 1.6rem;
  }
}
