.contact-page {
  background: #fff;
  color: var(--zemma-ink);
}

.contact-page h1,
.contact-page h2,
.contact-page h3 {
  color: var(--zemma-ink);
}

.contact-page em {
  color: var(--zemma-brand);
  font-style: normal;
}

.contact-page :is(a, button, summary):focus-visible {
  outline: 2px solid var(--zemma-brand);
  outline-offset: 4px;
}

.contact-page .btn {
  border-radius: 8px;
}

.contact-page .btn-primary {
  border-color: var(--zemma-brand);
  background: var(--zemma-brand);
  color: #fff;
}

.contact-page .btn-primary:hover {
  border-color: var(--zemma-brand-hover);
  background: var(--zemma-brand-hover);
}

.page-hero.subpage-hero.contact-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 117px 0 57px;
  border-bottom: 1px solid #ece5ee;
  background: #f6f2f8;
}

.subpage-hero.contact-hero::before,
.contact-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.subpage-hero.contact-hero::before {
  opacity: 1;
  mask-image: none;
  background: #ede7f2;
  clip-path: polygon(0 23%, 27% 100%, 0 100%);
}

.contact-hero::after {
  background: linear-gradient(120deg, #e9d9ec, #f6d9e7);
  clip-path: polygon(83% 0, 100% 0, 100% 100%, 59% 100%);
}

.subpage-hero.contact-hero .breadcrumbs {
  margin-bottom: 20px;
  color: var(--zemma-muted);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: center;
  gap: 30px;
}

.page-hero.subpage-hero.contact-hero h1 {
  max-width: 12ch;
  margin: 12px 0 0;
  color: var(--zemma-ink);
  font-size: clamp(3rem, 6.7vw, 6.1rem);
  line-height: .99;
  letter-spacing: -.075em;
}

.page-hero.contact-hero h1 em {
  display: block;
  color: var(--zemma-brand);
}

.page-hero.subpage-hero.contact-hero .page-lead {
  max-width: 43ch;
  margin: 21px 0 0;
  color: #61586d;
  font-size: clamp(1rem, 1.45vw, 1.17rem);
}

.contact-hero .section-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #79576c;
}

.contact-hero .section-kicker::before {
  width: 13px;
  height: 3px;
  background: var(--zemma-brand);
  content: "";
  transform: rotate(-45deg);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.contact-actions .btn-secondary {
  border-color: #b6a9be;
  background: transparent;
  color: var(--zemma-ink);
}

.contact-actions .btn-secondary:hover {
  background: #fff;
}

.contact-hero-art {
  display: block;
  width: min(100%, 500px);
  height: auto;
  justify-self: end;
  filter: drop-shadow(0 18px 16px #54344826);
}

.contact-inquiry {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: clamp(48px, 7vw, 96px) 0;
  background: linear-gradient(132deg, #f8f4fa 10%, #f2ebf5 63%, #fbebf2);
}

.contact-inquiry-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.contact-inquiry-art::before,
.contact-inquiry-art::after {
  position: absolute;
  inset: 0;
  content: "";
}

.contact-inquiry-art::before {
  background: linear-gradient(122deg, #e4d9ed 10%, #f0d8e6 90%);
  clip-path: polygon(0 53%, 16% 23%, 54% 100%, 0 100%);
}

.contact-inquiry-art::after {
  background:
    linear-gradient(#c8b4d036 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, #c8b4d036 1px, transparent 1px) 0 0 / 32px 32px;
  mask-image: linear-gradient(115deg, transparent 12%, #000 58%, transparent 92%);
}

.contact-inquiry-art span {
  position: absolute;
  display: block;
}

.contact-inquiry-track {
  left: -40px;
  bottom: 15%;
  width: min(51vw, 680px);
  height: 145px;
  border-top: 1px solid #ad8fb7;
  border-right: 1px solid #ad8fb7;
  border-radius: 0 20px 0 0;
  box-shadow: 0 -9px 0 -8px #b499be;
  transform: skewX(-39deg);
}

.contact-inquiry-diamond {
  bottom: 17%;
  left: 25%;
  width: 36px;
  aspect-ratio: 1;
  border: 1px solid #ac83ae;
  background: #f7edf6b8;
  box-shadow: 7px 7px 0 #dfcbe4;
  transform: rotate(45deg);
}

.contact-inquiry-cross {
  bottom: 29%;
  left: 9%;
  width: 22px;
  height: 22px;
  background:
    linear-gradient(#8f709f, #8f709f) center / 100% 1px no-repeat,
    linear-gradient(#8f709f, #8f709f) center / 1px 100% no-repeat;
}

.contact-inquiry-slash {
  top: 9%;
  right: 3%;
  width: 45px;
  height: 8px;
  background: var(--zemma-brand);
  transform: rotate(-42deg);
}

.contact-inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(30px, 7vw, 96px);
}

.contact-information {
  padding-top: 18px;
}

.contact-page h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.058em;
}

.contact-information h2 {
  max-width: 12ch;
}

.contact-information p,
.contact-questions-heading p {
  max-width: 44ch;
  margin: 15px 0 0;
  color: var(--zemma-muted);
}

.contact-email {
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding: 11px 15px 11px 11px;
  border: 1px solid #eee2eb;
  border-radius: 12px;
  background: #fcf7fa;
}

.contact-email:hover {
  border-color: #d48bae;
}

.contact-email-icon {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: #f8e3ee;
  color: var(--zemma-brand);
  font-size: 1.3rem;
  font-weight: 750;
}

.contact-email small,
.contact-email strong {
  display: block;
}

.contact-email small {
  color: var(--zemma-muted);
  font-size: .75rem;
}

.contact-email-arrow {
  padding-left: 8px;
  color: var(--zemma-brand);
}

.contact-page .contact-form {
  gap: 17px;
  padding: clamp(20px, 3.3vw, 40px);
  border: 1px solid #e8dfeb;
  border-radius: 20px;
  background: #fffafd;
  box-shadow: 0 22px 54px #4d2b511a;
}

.contact-page .contact-form h2 {
  margin-bottom: 4px;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -.045em;
}

.contact-page .field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-page .contact-form label {
  min-width: 0;
  gap: 6px;
  color: var(--zemma-ink);
  font-size: .875rem;
}

.contact-page .contact-form label small {
  color: var(--zemma-muted);
  font-size: .75rem;
  font-weight: 500;
}

.contact-page .contact-form :is(input, select, textarea) {
  min-width: 0;
  border: 1px solid #bdb1c5;
  border-radius: 8px;
  background-color: #fff;
  color: var(--zemma-ink);
  font-size: 1rem;
  font-weight: 500;
}

.contact-page .contact-form select {
  width: 100%;
  height: 46px;
  padding: 0 34px 0 13px;
  appearance: auto;
  background-image: none;
}

.contact-page .contact-form select option {
  background: #fff;
  color: var(--zemma-ink);
}

.contact-page .contact-form :is(input, textarea)::placeholder {
  color: #706779;
}

.contact-page .contact-form :is(input, select, textarea):focus {
  border-color: var(--zemma-brand);
  outline: 2px solid var(--zemma-brand);
  outline-offset: 1px;
  background-color: #fff;
}

.contact-page .btn-submit {
  width: fit-content;
  min-width: 190px;
}

.contact-page .form-status {
  margin: 0;
  font-size: .875rem;
}

.contact-page .form-status.success {
  color: #1e583b;
}

.contact-page .form-status.error {
  color: #862929;
}

.contact-questions {
  padding: clamp(58px, 8vw, 108px) 0;
  background:
    radial-gradient(ellipse at 0 0, #51324e 0%, transparent 46%),
    #241c2e;
  color: #fff;
}

.contact-questions-grid {
  display: grid;
  grid-template-columns: minmax(0, .69fr) minmax(0, 1.31fr);
  align-items: start;
  gap: clamp(35px, 8vw, 112px);
}

.contact-questions-heading {
  position: sticky;
  top: 118px;
}

.contact-questions-heading h2 {
  color: #fff;
  font-size: clamp(3rem, 5.7vw, 5.2rem);
  line-height: .98;
}

.contact-questions-heading h2 em {
  display: block;
  color: #ff9bc7;
}

.contact-questions-heading p {
  color: #e1d5e5;
}

.contact-topic-nav {
  margin-top: 25px;
}

.contact-topic-nav ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-topic-nav a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 45px;
  height: 100%;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid #ffffff30;
  border-radius: 7px;
  background: #ffffff08;
  color: #fbf0f7;
  font-size: .9rem;
  font-weight: 650;
}

.contact-topic-nav a:hover {
  border-color: #ff9bc7;
  background: #ffffff13;
}

.contact-topic-nav a span:first-child {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.contact-topic-nav a [aria-hidden="true"] {
  color: #ff9bc7;
}

.contact-questions .faq-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  scroll-margin-top: 14px;
}

.contact-questions .faq-group + .faq-group {
  margin-top: clamp(34px, 5vw, 62px);
}

.contact-questions .faq-group h3 {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #aa7f9c;
  color: #ffb9d8;
  font-size: clamp(1.18rem, 2.2vw, 1.48rem);
  letter-spacing: -.025em;
}

.contact-questions .faq-group h3::before {
  width: 12px;
  height: 3px;
  background: #ff8fc2;
  content: "";
  transform: rotate(-45deg);
}

.contact-questions .faq-group:target h3 {
  border-bottom-color: #ff9bc7;
  color: #fff;
}

.contact-questions .faq-list {
  margin: 0;
  border-top: 0;
}

.contact-questions .faq-list details {
  border: 0;
  border-bottom: 1px solid #ffffff29;
}

.contact-questions .faq-list summary {
  min-height: 63px;
  gap: 14px;
  padding: 11px 8px 11px 0;
  color: #fff;
  font-size: clamp(.98rem, 1.55vw, 1.12rem);
  font-weight: 600;
  line-height: 1.42;
}

.contact-questions .faq-list summary:hover,
.contact-questions .faq-list details[open] summary {
  color: #ffb9d8;
}

.contact-questions .faq-list summary i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid #d499b9;
  border-radius: 5px;
  background: transparent;
  color: #ffb9d8;
}

.contact-questions .faq-list summary i::before,
.contact-questions .faq-list summary i::after {
  background: currentColor;
}

.contact-questions .faq-list details > p {
  max-width: 68ch;
  padding: 0 28px 17px 0;
  color: #e1d5e5;
  font-size: .96rem;
}

.contact-questions-heading .contact-questions-more {
  margin-top: 20px;
  font-size: .9rem;
}

.contact-questions-more a {
  color: #ffb9d8;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-questions :is(a, summary):focus-visible {
  outline-color: #ff9bc7;
}

@media (max-width: 760px) {
  .page-hero.subpage-hero.contact-hero {
    padding: 100px 0 44px;
  }

  .contact-hero-grid,
  .contact-inquiry-grid,
  .contact-questions-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-grid {
    gap: 12px;
  }

  .contact-hero-art {
    width: min(92%, 340px);
    justify-self: center;
  }

  .contact-inquiry-diamond,
  .contact-inquiry-cross {
    display: none;
  }

  .contact-inquiry-slash {
    top: 16px;
    right: 14px;
    width: 27px;
    height: 5px;
  }

  .contact-questions-heading {
    position: static;
  }

  .contact-questions-heading h2 em {
    display: inline;
  }

  .contact-topic-nav ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hero::after {
    clip-path: polygon(85% 0, 100% 0, 100% 88%, 68% 0);
  }

  .contact-information {
    padding-top: 0;
  }

  .contact-information h2 {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .contact-topic-nav ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 490px) {
  .contact-page .field-row {
    grid-template-columns: 1fr;
  }

  .contact-page .btn-submit {
    width: 100%;
  }
}
