.why-bermuda-wrap {
  position: relative;
  z-index: 8;
  background: #fff;
}

.why-bermuda {
  position: relative;
}

.why-bermuda-stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0a1624;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: clip-path;
}

@media screen and (max-width: 767px) {
  .why-bermuda {
    height: 600vh;
  }

  .why-bermuda-stage {
    position: sticky;
    top: 0;
    transform: none;
  }
}

.why-bermuda-hero,
.why-bermuda-ocean,
.why-bermuda-intro,
.why-bermuda-slider,
.why-bermuda-close {
  position: absolute;
  inset: 0;
}

.why-bermuda-hero {
  z-index: 1;
}

.why-bermuda-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform-origin: 50% 45%;
}

.why-bermuda-hero::after,
.why-bermuda-ocean::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.why-bermuda-hero::after {
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 48%,
      rgba(0, 10, 24, 0.06) 0%,
      rgba(0, 8, 20, 0.16) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 12, 28, 0.1) 0%,
      rgba(0, 8, 20, 0.04) 40%,
      rgba(0, 6, 16, 0.14) 100%
    );
}

.why-bermuda-ocean::after {
  background:
    radial-gradient(
      ellipse 70% 55% at 50% 48%,
      rgba(0, 10, 24, 0.18) 0%,
      rgba(0, 8, 20, 0.42) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 12, 28, 0.28) 0%,
      rgba(0, 8, 20, 0.12) 40%,
      rgba(0, 6, 16, 0.4) 100%
    );
}

.why-bermuda-ocean {
  z-index: 2;
}

.why-bermuda-strips {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0;
  padding: 0;
  box-sizing: border-box;
}

.why-bermuda-strip {
  position: relative;
  flex: 1 1 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  will-change: clip-path;
}

.why-bermuda-strip img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.why-bermuda-intro {
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 4rem;
  text-align: center;
  pointer-events: none;
}

.why-bermuda-title {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", "Marcellus", serif;
  font-size: clamp(4.4rem, 6.4vw, 8.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 0.4rem 2.8rem rgba(0, 8, 20, 0.45);
}

.why-bermuda-desc {
  max-width: 64rem;
  margin: 2.4rem auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 1.35vw, 1.7rem);
  font-weight: 400;
  line-height: 1.55;
  text-shadow: 0 0.2rem 1.6rem rgba(0, 8, 20, 0.4);
}

.why-bermuda-slider {
  z-index: 4;
  display: flex;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
}

.why-bermuda-track {
  display: flex;
  align-items: stretch;
  gap: clamp(2.4rem, 3.2vw, 4.8rem);
  padding: 0;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.why-bermuda-card {
  position: relative;
  flex: 0 0 auto;
  width: min(58rem, 46vw);
  height: min(64rem, 72vh);
  overflow: hidden;
  border-radius: 2.8rem;
  background: #0c1a2a;
  box-shadow:
    0 2.4rem 6rem rgba(0, 8, 20, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.why-bermuda-card-media {
  position: absolute;
  inset: 0;
}

.why-bermuda-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-bermuda-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 8, 20, 0.02) 40%,
    rgba(0, 8, 20, 0.55) 72%,
    rgba(0, 6, 16, 0.88) 100%
  );
}

.why-bermuda-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 3rem 2.8rem 3.2rem;
}

.why-bermuda-card-title {
  margin: 0 0 1.2rem;
  color: #fff;
  font-family: "Playfair Display", "Marcellus", serif;
  font-size: clamp(2.6rem, 2.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.why-bermuda-card-desc {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 1.2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
}

.why-bermuda-close {
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 4rem;
  background: #f4f1ea;
  text-align: center;
}

.why-bermuda-close-text {
  max-width: 78rem;
  margin: 0;
  color: #1c1c1c;
  font-family: "Playfair Display", "Marcellus", serif;
  font-size: clamp(2.4rem, 3.2vw, 4rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.why-bermuda-close-line {
  display: block;
}

.why-bermuda-close-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  margin-top: 3.2rem;
  padding: 0 2.4rem;
  border: 1px solid #1c1c1c;
  border-radius: 999px;
  background: #fff;
  color: #1c1c1c;
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.why-bermuda-close-cta:hover {
  background: #1c1c1c;
  color: #fff;
}

@media screen and (max-width: 991px) {
  .why-bermuda-track {
    gap: 2.4rem;
  }

  .why-bermuda-card {
    width: min(44rem, 64vw);
    height: min(56rem, 68vh);
  }
}

@media screen and (max-width: 767px) {
  .why-bermuda-strips {
    display: flex;
  }

  .why-bermuda-strip {
    position: relative;
    inset: auto;
    flex: 1 1 0;
    width: 0;
    height: 100%;
    will-change: clip-path;
  }

  .why-bermuda-strip:not(:first-child) {
    display: block;
  }

  .why-bermuda-strip img {
    object-fit: cover;
  }

  .why-bermuda-intro {
    padding: 7rem 2.4rem;
  }

  .why-bermuda-desc {
    margin-top: 1.8rem;
  }

  .why-bermuda-track {
    gap: 1.8rem;
  }

  .why-bermuda-card {
    width: min(36rem, 88vw);
    height: min(50rem, 64vh);
    border-radius: 2rem;
  }

  .why-bermuda-card-copy {
    padding: 2rem 1.8rem 2.2rem;
  }

  .why-bermuda-card-desc {
    font-size: 1.25rem;
  }

  .why-bermuda-close {
    padding: 6rem 2.4rem;
  }

  .why-bermuda-close-text {
    font-size: clamp(2.2rem, 6.4vw, 3.2rem);
  }
}
