.gallery-contact {
  --contact-border: #ded3c8;
  --contact-cream: #f8f3ec;
  padding: clamp(36px, 5vw, 76px) 0;
  background: var(--contact-cream);
}
.gallery-contact-inner { width: min(86%, 1120px); margin-inline: auto; }
.gallery-contact-intro { max-width: 66ch; margin-bottom: clamp(24px, 4vw, 40px); }
.gallery-contact h1 { font-size: clamp(45px, 6vw, 78px); line-height: 1; margin: 10px 0 12px; }
.gallery-contact h1 em { color: var(--wine); font-weight: inherit; }
.gallery-contact p { color: var(--muted); line-height: 1.65; }
.gallery-contact-intro > p { margin: 0; font-size: 16px; }
.gallery-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
}
.gallery-contact-card {
  min-width: 0;
  padding: clamp(19px, 3vw, 36px);
  background: #fffdf9;
  border: 1px solid var(--contact-border);
}
.gallery-contact h2 { font-size: clamp(29px, 3vw, 40px); line-height: 1.05; margin: 0 0 12px; }
.gallery-contact-card > p { font-size: 14px; margin: 0 0 16px; }
.gallery-contact-channels { list-style: none; padding: 0; margin: 16px 0 19px; }
.gallery-contact-channels a {
  display: block;
  padding: 12px 0;
  border-top: 1px solid var(--contact-border);
  color: var(--wine);
  overflow-wrap: anywhere;
}
.gallery-contact-channels a:hover { text-decoration: underline; }
.gallery-contact-channels strong { display: block; margin-bottom: 3px; font-size: 14px; }
.gallery-contact-channels span { color: var(--muted); font-size: 13px; }
.gallery-contact-card .form-grid { gap: 16px; }
.gallery-contact-card .form-grid > div { min-width: 0; }
.gallery-contact-card input, .gallery-contact-card select, .gallery-contact-card textarea {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  font-size: 16px;
}
.gallery-contact-card textarea { min-height: 115px; resize: vertical; }
.gallery-contact-card .button { width: 100%; min-height: 44px; }
.gallery-contact-card .form-note { margin: 9px 0 0; font-size: 12px; }
.gallery-contact-card [role="status"]:empty { display: none; }
.gallery-contact-card [data-contact-status="error"] { color: #8c1730; }
.gallery-contact-card a:focus-visible, .gallery-contact-card :is(input, select, textarea, button):focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .gallery-contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .gallery-contact-card .form-grid { grid-template-columns: minmax(0, 1fr); }
}

.gallery-contact[aria-labelledby="gallery-contact-title"] { padding: clamp(36px, 5vw, 76px) 0 !important; }
.gallery-contact .gallery-contact-card { padding: clamp(19px, 3vw, 36px) !important; }
.gallery-contact .form-note a { text-decoration: underline; text-underline-offset: .15em; }
