/* Contact page. Builds on the tokens and .btn/.panel/.top styles in styles.css. */
.contact { max-width: 640px; width: 100%; margin: 0 auto; padding-top: 12px; }
.contact-title {
  margin: 0 0 8px;
  font-size: clamp(26px, 4.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 650;
}
.contact-sub { margin: 0 0 20px; color: var(--muted); }

.contact-form { display: grid; gap: 14px; padding: 16px; }
.field-pair { display: grid; gap: 14px; }
@media (min-width: 560px) { .field-pair { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 13px; font-weight: 500; color: var(--muted); }
.field > span i { font-style: normal; color: var(--faint); font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  min-width: 0;
  font: inherit;
  font-size: 16px; /* keeps iOS from zooming in on focus */
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 150ms ease, background-color 150ms ease;
}
.field input { height: 44px; padding: 0 12px; }
.field textarea { padding: 10px 12px; resize: vertical; min-height: 140px; line-height: 1.5; }
.field input:focus,
.field textarea:focus { border-color: rgba(241, 194, 123, 0.55); background: var(--surface-3); }
.field .bad { border-color: rgba(255, 106, 92, 0.6); }

/* Honeypot: off screen for people, still in the DOM for bots. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-actions { display: flex; }
.contact-status { margin: 0; min-height: 1.5em; font-size: 14px; color: var(--muted); }
.contact-status.ok { color: var(--good); }
.contact-status.err { color: var(--ban); }

.foot a { color: var(--muted); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { color: var(--text); } }
