#contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 18% 45%,#508b8b66,transparent 48%),radial-gradient(ellipse at 90% 5%,#8874b66b,transparent 55%),linear-gradient(145deg,#302e4c,#24233e);
  color: white;
  padding: clamp(48px,7vw,100px) 7.1% 0;
}

#contact .mh-contact-layout {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(24px,5vw,80px);
}

#contact .mh-contact-portrait {
  position: relative;
  isolation: isolate;
  width: min(100%,490px);
  aspect-ratio: 1.25;
  margin: auto;
}

#contact .mh-contact-halo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

#contact .mh-contact-photo {
  position: absolute;
  left: 0;
  bottom: 10%;
  width: 100%;
  height: auto;
  clip-path: url(#contact-wave);
  filter: drop-shadow(0 12px 18px #16152f33);
}

#contact .mh-contact-location {
  position: absolute;
  bottom: 8%;
  left: 8%;
  background: #ffffff24;
  backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 10px 15px;
  font-size: 10px;
  letter-spacing: .1em;
  font-weight: 600;
  white-space: nowrap;
}

#contact .mh-contact-kicker {
  font-size: 10px;
  letter-spacing: .16em;
  font-weight: 600;
  color: #a4e8d5;
  margin: 0 0 12px;
}

#contact h2 {
  font: 400 clamp(30px,4vw,56px)/1.12 Alice,Georgia,serif;
  margin: 0 0 18px;
  color: white;
}

#contact h2 em {
  color: #a4e8d5;
}

#contact .mh-contact-copy {
  font-size: 15px;
  line-height: 1.65;
  color: #e0ddec;
  margin: 0 0 24px;
}

#contact .mh-contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#contact .mh-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border: 0;
  border-radius: 100px;
  background: #ffffff20;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: background .3s ease,color .3s ease;
}

#contact .mh-contact-action.mh-primary {
  background: #a4e8d5;
  color: #302e4c;
  font-weight: 600;
}

#contact .mh-contact-action:hover {
  background: #a4e8d5;
  color: #302e4c;
}

#contact .mh-contact-action.mh-primary:hover {
  background: #d2f5e9;
}

#contact .mh-contact-action svg {
  width: 18px;
  height: 18px;
}

#contact .mh-contact-footer {
  max-width: 1200px;
  margin: clamp(32px,5vw,70px) auto 0;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #ffffff20;
  color: #d0cce0;
  font-size: 12px;
}

#contact .mh-contact-footer a {
  text-decoration: none;
}

#contact .mh-contact-footer a:hover {
  color: #a4e8d5;
}

@media(max-width:760px) {
  #contact .mh-contact-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #contact .mh-contact-portrait {
    width: min(100%,340px);
  }

  #contact .mh-contact-content {
    text-align: center;
  }

  #contact .mh-contact-actions {
    justify-content: center;
  }

  #contact .mh-contact-footer {
    font-size: 11px;
  }
}

@media(prefers-reduced-motion:reduce) {
  #contact * {
    transition: none !important;
  }
}

#contact .mh-contact-halo { inset: 5% -7% auto; width: 114%; height: 90%; object-fit: contain; transform: translate(var(--px,0px),var(--py,0px)) rotate(-16deg); transition: transform 220ms ease-out; }
#contact .mh-halo-back { z-index: 0; opacity: .8; }
#contact .mh-contact-photo { z-index: 1; }
#contact .mh-halo-front { z-index: 2; clip-path: inset(65% 0 0 0); opacity: .85; }
#contact .mh-contact-location { z-index: 3; }

#contact .mh-contact-halo { inset: 29% 7% auto; width: 86%; height: 68%; transform: translate(var(--px,0px),var(--py,0px)) rotate(-9deg); transition: transform 120ms ease-out; }
#contact .mh-halo-front { clip-path: inset(57% 0 0 0); }
@media(prefers-reduced-motion:reduce){#contact .mh-contact-halo { transform: rotate(-9deg); }}

/* Feather the foreground fold rather than cutting a hard diagonal seam. */
#contact .mh-halo-front {
  clip-path: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 43%, rgba(0,0,0,.25) 51%, #000 65%);
  mask-image: linear-gradient(to bottom, transparent 43%, rgba(0,0,0,.25) 51%, #000 65%);
}
#contact .mh-contact-photo {
  clip-path: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 73%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 73%, transparent 98%);
}
