/* The contact form uses the portfolio's existing dark palette and editorial grid. */
.contact-section { padding-top: 52px; }
.contact-aside p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 16px 0 28px; }
.contact-form { min-width: 0; max-width: 740px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-field { display: grid; gap: 12px; margin-bottom: 30px; }
.contact-field label { font-size: 11px; letter-spacing: .06em; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: 0; background: #ffffff03; color: var(--ink); padding: 16px; font: inherit; font-size: 16px; line-height: 1.6; }
.contact-field textarea { resize: vertical; min-height: 180px; }
.contact-field textarea::placeholder { color: #84919c; }
.contact-field :is(input, textarea):focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-color: transparent; }
.contact-actions { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.contact-actions button { display: inline-flex; justify-content: space-between; align-items: center; gap: 38px; min-height: 48px; border: 1px solid #b8c7d353; background: #b8c7d30c; color: var(--ink); padding: 13px 20px; font: inherit; font-size: 13px; cursor: pointer; }
.contact-actions button:hover { background: #b8c7d31c; border-color: var(--accent); }
.contact-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.contact-form fieldset:disabled { opacity: .65; }
.contact-form fieldset:disabled button { cursor: wait; }
.contact-privacy { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.8; }
.contact-privacy a { text-underline-offset: 3px; }
#contact-status { min-height: 28px; margin: 22px 0 0; color: var(--accent); font-size: 13px; line-height: 1.8; }
#contact-status[data-state="error"] { color: #efb5aa; }
.contact-honeypot { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.native-confirmation { display: none; padding: 20px; margin-bottom: 30px; border: 1px solid var(--line); color: var(--accent); line-height: 1.6; }
.native-confirmation:target { display: block; }
@media (max-width: 700px) {
  .contact-section { padding-top: 30px; gap: 22px; }
  .contact-fields { grid-template-columns: 1fr; gap: 0; }
  .contact-actions { flex-direction: column; gap: 22px; }
  .contact-actions button { width: 100%; }
  .contact-aside p { margin-bottom: 16px; }
}
