.contact-custom { padding-top: 1.5rem; min-width: 0; }
.contact-custom h3 { font: 400 1.15rem/1.4 var(--font-sans-stack); margin: 0 0 .65rem; }
.contact-custom > p, #custom-help { font-size: .9375rem; line-height: 1.6; max-width: 65ch; margin: 0 0 1rem; color: #625c54; }
.contact-custom fieldset { border: 0; margin: 1rem 0 0; padding: 0; min-width: 0; }
.contact-custom legend { font-size: .875rem; padding: 0 0 1rem; color: #625c54; }
.contact-custom textarea { width: 100%; box-sizing: border-box; }
#custom-remove { min-height: 44px; margin-top: .5rem; }
#custom-status:empty { display: none; }

/* Match the form's editorial typography and unboxed, neutral surfaces. */
#contact .contact-interests { padding: .25rem 0 0; border: 0; background: transparent; }
#contact .contact-interests__title,
#contact .contact-custom h3 {
  margin: 0 0 .25rem; color: #24221f;
  font: 400 .875rem/1.5 var(--font-sans-stack); letter-spacing: 0;
}
#contact .contact-interest .field--choices:has([data-interest-selector="collection"]) > .contact-choice-label {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
}
#contact .contact-choice-tabs { gap: .25rem 1.75rem; }
#contact .contact-choice-tab span {
  padding: .6rem 0; background: transparent; color: #625c54;
  font-size: .9375rem; border-bottom: 1px solid transparent;
}
#contact [data-interest-selector="collection"] .contact-choice-tab span {
  font-size: .9375rem; letter-spacing: 0;
}
#contact .contact-choice-tab input:checked + span,
#contact .contact-choice-tab:hover span { color: #24221f; background: transparent; border-color: #24221f; }
#contact .contact-choice-tab input:focus-visible + span { outline: 2px solid #625c54; outline-offset: 4px; }
#contact .contact-custom {
  display: grid; grid-template-columns: max-content minmax(0, 1fr);
  align-items: center; column-gap: 1rem;
  padding: .75rem 0 0; background: transparent; border: 0;
}
#contact .contact-custom h3 { grid-column: 1; grid-row: 1; margin: 0; }
#contact .contact-custom > p:not([id]) { grid-column: 1 / -1; grid-row: 2; max-width: 48ch; margin: 0; font-size: .8125rem; line-height: 1.55; }
#contact .contact-custom > fieldset, #contact .contact-custom > noscript { grid-column: 1 / -1; }
#contact .contact-custom legend, #contact #custom-status {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#contact #custom-help { font-size: .8125rem; line-height: 1.55; }
#contact #custom-add {
  grid-column: 2; grid-row: 1; justify-self: start; display: inline-flex; align-items: center; justify-content: flex-start; gap: .75rem;
  min-height: 44px; padding: .5rem 0; color: #625c54; font-size: .8125rem;
  text-decoration: none;
}
#contact #custom-add[hidden] { display: none; }
#contact #custom-add:hover { text-decoration: underline; text-underline-offset: .25em; }
#contact .contact-custom button:focus-visible { outline: 2px solid #625c54; outline-offset: 4px; }
@media (max-width: 540px) {
  #contact .contact-choice-tabs { column-gap: 1.25rem; }
}

/* A quiet writing surface, followed by an editable request summary. */
#contact .contact-custom [hidden] { display: none; }
#contact #custom-fields {
  grid-column: 1 / -1; margin: .65rem 0 0; padding: 16px;
  border: 1px solid #c7bfb3; background: #f3efe7;
}
#contact .custom-composer__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
#contact .custom-composer__header label { font-size: 1rem; color: #24221f; }
#contact #custom-remove, #contact #custom-summary-remove {
  display: grid; place-items: center; width: 44px; height: 44px; min-height: 44px;
  margin: 0; padding: 0; border: 0; background: transparent; color: #716a61;
  font: 400 1.4rem/1 var(--font-sans-stack); text-decoration: none; cursor: pointer;
}
#contact #custom-remove { margin: -8px -8px -4px 0; }
#contact #custom-help { margin: 0 0 12px; max-width: 46ch; color: #716a61; }
#contact #custom-fields .field { margin: 0; gap: 0; }
#contact #custom-description {
  min-height: 88px; padding: 0; border: 0; border-radius: 0; background: transparent;
  font: 400 1rem/1.5 var(--font-sans-stack); color: #24221f; resize: vertical;
}
#contact .custom-composer__actions { display: flex; justify-content: flex-end; margin-top: 10px; }
#contact #custom-save {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 44px; padding: 10px 14px; border: 0; background: #24221f; color: #f1ede5;
  font: 400 .8125rem/1.35 var(--font-sans-stack); cursor: pointer;
}
#contact #custom-save:hover { background: #454039; }
#contact .custom-summary { grid-column: 1 / -1; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .65rem; align-items: start; margin-top: .65rem; }
#contact #custom-summary-remove { width: 32px; }
#contact #custom-edit { min-width: 0; display: grid; gap: 4px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: #24221f; font: inherit; text-align: left; cursor: pointer; }
#contact .custom-summary__title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: .9375rem; }
#contact #custom-summary-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: #716a61; font-size: .8125rem; line-height: 1.5; }
#contact #custom-edit:hover .custom-summary__title { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 540px) {
  #contact #custom-fields { padding: 12px; }
  #contact #custom-save { width: 100%; }
}

/* One optional entry per need, without repeated headings or open empty fields. */
#contact .contact-custom { grid-template-columns: minmax(0, 1fr); gap: 0; }
#contact #custom-title, #contact #custom-status, #contact .contact-note__label {
  position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
#contact #custom-add { grid-column: 1; grid-row: auto; font-size: .875rem; color: #24221f; }
#contact #custom-fields, #contact .custom-summary { margin-top: 0; }
#contact .contact-note { min-width: 0; margin: 0; padding: 0; border: 0; }
#contact .contact-note summary {
  display: inline-flex; align-items: center; gap: .75rem; min-height: 44px;
  color: #625c54; font-size: .8125rem; cursor: pointer; list-style: none;
}
#contact .contact-note summary::-webkit-details-marker { display: none; }
#contact .contact-note summary:hover { color: #24221f; }
#contact .contact-note summary:focus-visible { outline: 2px solid #625c54; outline-offset: 3px; }
#contact .contact-note__icon { font-size: 1.1rem; }
#contact .contact-note__open, #contact .contact-note[open] .contact-note__closed { display: none; }
#contact .contact-note[open] .contact-note__open { display: inline; }
#contact .contact-note[open] .contact-note__icon { transform: rotate(45deg); }
#contact .contact-note .field { margin-top: .25rem; }
