/* Contact — zelfde opbouw als Voor wie / Over / FAQ / Pers */

.contact-page {
  background: var(--cream);
}

.contact-main {
  min-width: 0;
  overflow: visible;
}

.contact-content {
  position: relative;
  isolation: isolate;
  max-width: none;
  margin: 0;
  padding: 36px max(4vw, 28px) 110px calc(var(--sidebar-width) + 36px);
  --contact-cream-w: 65vw;
  --contact-cream-edge: var(--contact-cream-w);
  --contact-photo-w: clamp(680px, 56vw, 1100px);
  --contact-photo-top: -52px;
}

@media (min-width: 1200px) {
  .contact-content {
    --contact-photo-w: max(
      calc(100vw - var(--contact-cream-w) - max(4vw, 28px) + min(10vw, 260px)),
      760px
    );
  }
}

@media (min-width: 1600px) {
  .contact-content {
    --contact-photo-w: max(
      calc(100vw - var(--contact-cream-w) - max(4vw, 28px) + min(14vw, 380px)),
      920px
    );
  }
}

@media (min-width: 2000px) {
  .contact-content {
    --contact-photo-w: max(
      calc(100vw - var(--contact-cream-w) - max(4vw, 28px) + min(18vw, 520px)),
      1080px
    );
  }
}

.contact-media {
  position: absolute;
  top: var(--contact-photo-top);
  right: 0;
  z-index: 0;
  width: var(--contact-photo-w);
  aspect-ratio: 2009 / 1346;
  margin: 0;
  line-height: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.contact-media--masked {
  -webkit-mask-image: url("/assets/images/afbeelding.png");
  mask-image: url("/assets/images/afbeelding.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

.contact-kicker {
  position: relative;
  z-index: 2;
  max-width: 18ch;
  margin: 112px 0 14px;
  color: var(--coral);
  font-family: var(--heading-font);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
}

.contact-subheading {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  max-width: 14em;
  color: var(--charcoal);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.contact-textband {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: var(--contact-cream-w);
  max-width: none;
  margin: 0 0 0 calc(-1 * (var(--sidebar-width) + 36px));
  padding: 20px 40px 48px calc(var(--sidebar-width) + 36px);
  background: var(--cream);
}

.contact-intro,
.contact-copy {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  max-width: 42rem;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.5;
}

.contact-intro:last-of-type {
  margin-bottom: 0;
}

.contact-section {
  position: relative;
  z-index: 2;
  margin-top: 36px;
  max-width: 42rem;
}

.contact-section h2 {
  margin: 0 0 14px;
  color: var(--coral);
  font-family: var(--heading-font);
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.contact-detail {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
}

.contact-detail a {
  color: var(--coral);
  text-decoration: none;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  text-decoration: underline;
}

.contact-placeholder {
  margin: 0 0 8px;
  color: #7a7f7e;
  font-size: 15px;
  line-height: 1.45;
}

.contact-cta {
  position: absolute;
  left: var(--contact-cream-edge);
  top: calc(
    var(--contact-photo-top)
    + (var(--contact-photo-w) * 1346 / 2009)
    + 12px
  );
  right: auto;
  bottom: auto;
  z-index: 3;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  box-sizing: border-box;
  width: 170px;
  min-height: 220px;
  padding: 18px 16px 14px;
  color: var(--sand) !important;
  background: var(--coral);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none !important;
  text-transform: uppercase;
}

.contact-cta__label {
  max-width: 10.5em;
}

.contact-cta__arrow {
  align-self: flex-end;
  font-size: 22px;
  line-height: 1;
}

.contact-cta:hover,
.contact-cta:focus-visible {
  color: var(--sand) !important;
  filter: brightness(1.05);
  text-decoration: none !important;
}

@media (max-width: 1100px) {
  .contact-content {
    --contact-photo-w: min(52vw, 660px);
    --contact-photo-top: -40px;
  }
}

@media (max-width: 900px) {
  .contact-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 96px 24px 72px;
  }

  .contact-media {
    position: relative;
    top: auto;
    right: auto;
    order: 1;
    z-index: 0;
    width: min(100%, 620px);
    margin-right: -24px;
    margin-left: auto;
  }

  .contact-kicker {
    order: 2;
    max-width: none;
    margin-top: 0;
  }

  .contact-subheading {
    order: 3;
  }

  .contact-textband {
    order: 4;
    width: 100%;
    margin-left: 0;
    padding: 18px 18px 28px;
  }

  .contact-cta {
    position: relative;
    left: auto;
    top: auto;
    order: 5;
    align-self: flex-end;
  }
}

@media (max-width: 620px) {
  .contact-content {
    padding: 96px 16px 64px;
  }

  .contact-media {
    margin-right: -16px;
  }

  .contact-textband {
    padding: 14px 14px 22px;
  }

  .contact-cta {
    width: 100%;
  }
}
