.contact-page .site-nav a[aria-current="page"],
.contact-page .site-footer a[aria-current="page"] { color: var(--amber); }

.contact-hero {
  display: grid;
  align-items: end;
  isolation: isolate;
  position: relative;
  min-height: clamp(340px, 37vw, 465px);
  padding-block: 114px clamp(42px, 6vw, 80px);
  background: #171716;
}
.contact-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 0 35%;
  background: linear-gradient(90deg, #171716, transparent 75%),
              url("../images/contact/desk.jpg") 70% center / cover no-repeat;
}
.contact-hero h1 { font-size: clamp(2.2rem, 5.1vw, 5rem); }
.contact-hero p { margin-top: 18px; font: 500 clamp(1.1rem, 2vw, 1.6rem)/1.5 var(--serif); }
.contact-body { background: var(--paper); color: var(--ink); color-scheme: light; }
.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(205px, 1fr) minmax(0, 2.55fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding-block: clamp(35px, 6vw, 85px);
}
.contact-form-guide { min-width: 0; }
.contact-form-guide h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
.contact-form-guide p, .contact-form-guide ul { margin-block: 20px; }
.contact-form-guide ul { padding-inline-start: 1.2em; }
.contact-form-guide li + li { margin-top: 8px; }
.contact-form-guide img { width: min(100%, 235px); aspect-ratio: 3 / 4; object-fit: cover; }
.contact-body a { color: #744515; text-underline-offset: 3px; }

.contact-form-panel { min-width: 0; padding-inline-start: clamp(24px, 4vw, 64px); border-inline-start: 1px solid #cdbba9; }
.contact-form-panel > header { margin-bottom: 26px; }
.contact-form-panel > header h2 { font-size: clamp(1.75rem, 3.6vw, 3.1rem); }
.contact-form-panel > header p { margin-top: 12px; }
.support-form { display: grid; gap: 23px; }
.support-form__row--split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.support-form__field { display: grid; gap: 6px; }
.support-form label, .support-form legend { font-size: .93rem; font-weight: 600; }
.contact-required, .support-form__field label span, .support-form legend span, .support-form__consent b {
  color: #89480f;
  font-size: .78rem;
  margin-inline-start: .2em;
}

.support-form__field input, .support-form select, .support-form textarea, .support-form__verification input {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  font: inherit;
  background: #fbf7f1;
  color: var(--ink);
  border: 1px solid #958b80;
  border-radius: 5px;
}
.support-form select {
  appearance: none;
  height: 46px;
  padding-inline-end: 34px;
  background-image: linear-gradient(45deg, transparent 50%, #5a5046 50%),
                    linear-gradient(135deg, #5a5046 50%, transparent 50%);
  background-size: 5px 5px;
  background-position: right 17px center, right 12px center;
  background-repeat: no-repeat;
}
.support-form textarea { resize: vertical; }
.support-form :is(input, select, textarea):focus-visible { outline: 2px solid #8b4f17; outline-offset: 2px; }
.support-form__help, .support-form__submit p, .support-form__abuse-note { color: #5a5046; font-size: .83rem; }
.support-form__verification { min-width: 0; margin: 0; padding: 12px 16px 16px; border: 1px solid #c4b3a1; }
.support-form__verification-grid { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.support-form__verification input { width: 7em; }
.support-form__consent { display: flex; gap: 10px; align-items: start; }
.support-form__consent input { flex: none; width: 18px; height: 18px; margin: 4px 0 0; accent-color: #985514; }
.support-form__submit .button { width: 100%; margin: 0 0 8px; border: 0; border-radius: 4px; font-family: inherit; cursor: pointer; }
.support-form :disabled { color: #62594e; background: #e1d7cc; cursor: not-allowed; }
.support-form__submit .button:focus-visible { outline-color: var(--ink); }
.contact-form-status, .support-form__noscript { margin-bottom: 18px; padding: 12px 16px; background: #e7e2cf; border-inline-start: 3px solid #805018; }
.contact-form-status[data-status="error"], .support-form__noscript { background: #f3dcd6; border-color: #983e2e; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 750px) {
  .contact-hero { min-height: 265px; padding-block: 52px 36px; }
  .contact-hero::before { inset-inline-start: 15%; opacity: .65; }
  .contact-form-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-form-panel { padding: 25px 0 0; border-inline-start: 0; border-top: 1px solid #cdbba9; }
  .contact-form-guide img { display: none; }
}

@media (max-width: 520px) {
  .support-form__row--split { grid-template-columns: minmax(0, 1fr); }
}
