.contact-page {
  color: var(--very-violet);
  font-family: Arial, Helvetica, sans-serif;
}

.contact-hero-sticky {
  position: sticky;
  z-index: 0;
  top: 0;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.contact-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  box-sizing: border-box;
  place-items: center;
  overflow: hidden;
  padding: clamp(76px, 10vw, 120px) 24px clamp(100px, 13vw, 150px);
  text-align: center;
  background: var(--plum-purple);
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.contact-hero h1 {
  margin: 0;
  color: white;
  font-size: clamp(4.5rem, 12vw, 9.5rem);
  font-weight: 400;
  line-height: 0.88;
}

.contact-hero-copy > p {
  max-width: 560px;
  margin: 26px auto 0;
  color: white;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.5;
}

.contact-section,
.contact-brand {
  z-index: 1;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.contact-section {
  padding: clamp(78px, 10vw, 126px) 20px clamp(84px, 11vw, 132px);
  background: var(--petal-pink);
}

.contact-section::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(44px, 6vw, 74px);
  background: url("../src/pink_wave.svg") center / 100% 100% no-repeat;
  transform: scaleX(-1);
  pointer-events: none;
}

.contact-intro {
  width: min(960px, 100%);
  margin: 0 auto clamp(34px, 5vw, 54px);
  text-align: center;
}

.contact-intro h2 {
  margin: 0;
  color: var(--very-violet);
  font-size: var(--type-section-heading);
  line-height: 1.08;
}

.contact-intro p {
  margin: 16px auto 0;
  color: var(--plum-purple);
  font-size: var(--type-body);
  line-height: 1.5;
}

.contact-page .calendar-booking {
  width: min(520px, 100%);
  margin: 0 auto;
}

.contact-page .contact-form h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-page .calendar-button {
  max-width: 360px;
  padding: 16px 22px;
  color: var(--very-violet);
}

.contact-page .calendar-cta::before {
  display: none;
}

.contact-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(72px, 10vw, 120px) 20px;
  background: white;
}

.contact-page .contact-form {
  width: min(490px, 100%);
}

.contact-page .contact-form h2 {
  margin-bottom: 18px;
}

.contact-page .contact-form iframe {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
}

.contact-brand img {
  display: block;
  width: min(560px, 82vw);
  height: auto;
  margin-top: clamp(36px, 6vw, 72px);
}

@media (max-width: 720px) {
  .contact-page nav {
    display: none;
  }

  .contact-hero {
    min-height: 420px;
  }

  .contact-page .calendar-booking,
  .contact-page .contact-form {
    width: min(100%, 520px);
  }
}

@media (max-width: 420px) {
  .contact-hero h1 {
    font-size: 4.25rem;
  }

  .contact-section,
  .contact-brand {
    padding-right: 13px;
    padding-left: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .calendar-button {
    transition: none;
  }
}
