/* Desktop artwork from the archived Canaveral Bight landing page. */

.canaveral-hero-waves {
  display: none;
}

@supports (clip-path: shape(from 0 0, curve to 100% 100% with 0 50% from origin / 100% 50% from origin, close)) {
  #section-vGVu6-WEm .bg-section-vGVu6-WEm {
    background-image: none;
    container-type: size;
    overflow: hidden;
    clip-path: shape(
      from 0 0,
      line to 100% 0,
      line to 100% 100%,
      curve to 83% 92.5% with 94% 95.1% from origin / 89% 92.5% from origin,
      curve to 44% 100% with 73% 92.5% from origin / 58% 100% from origin,
      curve to 10% 95.5% with 29% 100% from origin / 20% 95.5% from origin,
      curve to 0 100% with 6% 95.5% from origin / 2.5% 97.5% from origin,
      close
    );
  }

  .canaveral-hero-waves {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: max(100%, 185.1852cqh);
    aspect-ratio: 50 / 27;
    transform: translate(-50%, -50%);
    background: #3680af;
  }

  .canaveral-hero-waves::before,
  .canaveral-hero-waves::after {
    content: "";
    position: absolute;
    inset: 0;
  }

  .canaveral-hero-waves::before {
    background: #3b8dc0;
    clip-path: shape(
      from 0 52.7%,
      curve to 18% 41.9% with 5.5% 45.4% from origin / 11.9% 40.9% from origin,
      curve to 48% 36.8% with 26% 43.2% from origin / 36% 41.7% from origin,
      curve to 71% 20.1% with 57% 33.1% from origin / 63% 28.4% from origin,
      curve to 93% 6.9% with 79% 11.9% from origin / 85.5% 6.8% from origin,
      curve to 100% 8.4% with 95.4% 7% from origin / 97.6% 7.4% from origin,
      line to 100% 100%,
      line to 0 100%,
      close
    );
  }

  .canaveral-hero-waves::after {
    background: #3379a6;
    clip-path: shape(
      from 0 94%,
      curve to 19% 81.5% with 5.5% 86.1% from origin / 12.5% 80.3% from origin,
      curve to 48% 76.7% with 26% 82.8% from origin / 37% 81.2% from origin,
      curve to 71% 60.8% with 57% 73% from origin / 63.2% 68.4% from origin,
      curve to 93% 46.4% with 79.1% 52.7% from origin / 86.8% 46.3% from origin,
      curve to 100% 47.5% with 95.7% 46.5% from origin / 97.8% 46.8% from origin,
      line to 100% 100%,
      line to 0 100%,
      close
    );
  }
}

#image-DzugRmoJQd picture {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  isolation: isolate;
}

#image-DzugRmoJQd picture::before {
  content: "";
  position: absolute;
  inset: 0 3.35% 0 0;
  border-radius: 50% 50% 0 0 / 40% 40% 0 0;
  background: #3480b1;
  z-index: -1;
}

#image-DzugRmoJQd picture img {
  display: block;
  clip-path: inset(2.65% 0 4% 4.28% round 50% 50% 0 0 / 41.9% 41.9% 0 0);
}

.boat-photo picture {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  isolation: isolate;
}

.boat-photo picture::before {
  content: "";
  position: absolute;
  inset: 0 3.35% 0 0;
  border-radius: 50% 50% 0 0 / 39.5% 39.5% 0 0;
  background: #ffa336;
  z-index: -1;
}

.boat-photo img {
  display: block;
  clip-path: inset(2.9% .2% 4.1% 4.65% round 50% 50% 0 0 / 41.5% 41.5% 0 0);
}

.footer-water {
  position: absolute;
  inset: clamp(10.5rem, 27vw, 23.5rem) 0 0;
  background: #347aa4;
  z-index: -1;
}

.footer-water::before {
  content: "";
  position: absolute;
  inset: auto 0 calc(100% - 3px);
  height: calc(clamp(3.8rem, 7.6vw, 7rem) + 3px);
  background: url("/assets/footer-wave.png") center top / 100% 455% no-repeat;
  filter: brightness(.955);
}

@supports (clip-path: shape(from 0 0, curve to 100% 100% with 0 50% from origin / 100% 50% from origin, close)) {
  .footer-water::before {
    background: #347aa4;
    filter: none;
    clip-path: shape(
      from 0 48%,
      curve to 12.5% 81% with 4.5% 71% from origin / 8.8% 81% from origin,
      curve to 25% 47% with 17% 81% from origin / 21% 64% from origin,
      curve to 50% 9% with 35% 7% from origin / 44% 9% from origin,
      curve to 75% 70% with 60% 9% from origin / 66% 37% from origin,
      curve to 87.5% calc(100% - 5px) with 79% 87% from origin / 84% calc(100% - 5px) from origin,
      curve to 100% 66% with 92% calc(100% - 5px) from origin / 96% 88% from origin,
      line to 100% 100%,
      line to 0 100%,
      close
    );
  }
}
