.intro-section {
  --intro-wave-height: clamp(28px, 5vw, 72px);

  isolation: isolate;
  background: var(--color-brand-blue);
  position: relative;
  width: 100vw;
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  mask-image: linear-gradient(#000000 0 0), url('../../images/hero-wave-mask.svg');
  mask-size: 100% calc(100% - var(--intro-wave-height) + 1px), 100% var(--intro-wave-height);
  mask-position: top, bottom;
  mask-repeat: no-repeat;
}

@keyframes reboat-intro-in {
  from {
    opacity: 0;
    transform: translateY(-1.5rem);
  }
}

.intro-animate-in {
  animation: reboat-intro-in 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.intro-animate-in--1 {
  animation-delay: 200ms;
}

.intro-animate-in--2 {
  animation-delay: 400ms;
}

.intro-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--padding-page);
  color: var(--color-white);
  margin-bottom: max(60px, calc(var(--intro-wave-height) + 24px));
}

.intro-sub-heading {
  color: var(--color-white);
}

.intro-heading-wrapper {
  margin-top: 2px;
  margin-bottom: 12px;
}

.intro-body {
  opacity: 1;
  width: 70vw;
}

.intro-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: url('#reboat-blue-duotone') brightness(0.75) contrast(1.12);
}

@media (prefers-reduced-motion: reduce) {
  .intro-animate-in {
    animation: none;
  }
}

@media only screen and (width <= 480px) {
  .intro-body {
    width: 100%;
  }
}
