.contact-hero {
  aspect-ratio: auto;
  min-height: clamp(390px, 35vw, 545px);
  max-height: none;
}

.contact-hero .navigation-actions [aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }

.contact-hero .hero-photo {
  inset-inline-start: auto;
  width: 76%;
  object-position: center 18%;
  mask-image: linear-gradient(to right, transparent, #000 45%);
}

.contact-hero .hero-background::after {
  background: linear-gradient(180deg, #180f16ba, transparent 38%, #180f1660),
    linear-gradient(90deg, transparent 18%, #180f1699 50%, #180f1626 90%);
}

.contact-hero .hero-content {
  justify-items: start;
  gap: clamp(13px, 1.5vw, 24px);
  max-width: 1560px;
  padding: 34px var(--inset) clamp(36px, 5vw, 72px);
  text-align: left;
}

.contact-hero .hero-content .pill-expand { transform: none; }
.contact-hero h1 { font-size: clamp(2.85rem, 5.65vw, 6rem); }
.contact-hero .contact-lead { max-width: 43ch; font-weight: 400; line-height: 1.55; }

.content > .contact-section { max-width: 690px; }
.contact-intro { text-align: center; }
.contact-section h2 { max-width: 13ch; margin-inline: auto; font-size: clamp(2.9rem, 5.7vw, 5.5rem); }
.contact-section h2 em { color: var(--brand-ink); }
.contact-copy { max-width: 45ch; margin: 18px auto 0; color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.1rem); line-height: 1.55; text-wrap: balance; }

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px clamp(14px, 2vw, 26px);
  margin-top: 18px;
}
.contact-socials .action-link { font-size: .85rem; }
.contact-socials .icon { width: 17px; height: 17px; }
.contact-form {
  display: grid;
  gap: clamp(23px, 2.35vw, 35px);
  min-width: 0;
  margin-top: clamp(38px, 4.7vw, 68px);
}

.contact-field, .contact-group legend { display: block; font-size: .9rem; font-weight: 700; }
.contact-field > span, .contact-group legend > span { color: var(--brand-ink); }
.contact-form .field-optional { color: var(--muted); font-size: .8rem; font-weight: 400; }
.contact-field :is(input, textarea) {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 5px;
  padding: 11px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 400 1rem / 1.45 var(--font-body);
}
.contact-field :is(input, textarea)::placeholder { color: var(--muted); }
.contact-field :is(input, textarea):focus { border-color: var(--brand-ink); outline: none; }
.contact-field textarea { resize: vertical; }

.contact-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-group legend { padding: 0; }
.contact-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.contact-choice { position: relative; cursor: pointer; }
.contact-choice > span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: .84rem;
  line-height: 1.25;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.contact-choice:hover > span { border-color: var(--brand-hover); }
.contact-choice input:checked + span { border-color: var(--brand-ink); background: var(--brand); }
.contact-choice input:focus-visible + span { outline: 2px solid var(--brand-ink); outline-offset: 2px; }

.contact-form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.contact-form-note { flex: 1 1 235px; }
.contact-form-note a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: .2em; }
.contact-form-actions .pill { min-height: 46px; margin-inline-start: auto; }
.contact-form button:disabled { pointer-events: none; background: var(--line); color: var(--muted); }

@media (max-width: 650px) {
  .contact-hero { min-height: clamp(375px, 55svh, 460px); }
  .contact-hero .hero-photo { width: 100%; object-position: 76% center; mask-image: none; }
  .contact-hero .hero-background::after { background: linear-gradient(90deg, #180f16d9, #180f1680), linear-gradient(#180f1660, transparent); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-choice > span { transition: none; }
}
