/* Foxhole Social — Contact Us page (uses foxhole-home.css for header, footer, tokens and buttons) */

.contact-hero {
  padding: 64px 0 24px;
}
.contact-hero .eyebrow { color: var(--accent); }
.contact-hero h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.01em;
  max-width: 640px;
}
.contact-hero p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
}

.contact-form {
  max-width: 640px;
  margin: 8px 0 72px;
  display: grid;
  gap: 18px;
}
.contact-field { display: grid; gap: 6px; }
.contact-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.contact-field textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 84, 232, 0.18);
}

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

.contact-submit {
  justify-self: start;
}
.contact-submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}

/* Hidden states must win over the display rules above. */
.contact-form[hidden],
.contact-success[hidden] { display: none; }

.contact-success {
  max-width: 640px;
  margin: 8px 0 72px;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(13, 122, 61, 0.35);
  background: rgba(13, 122, 61, 0.06);
  display: grid;
  gap: 12px;
  justify-items: start;
}
.contact-success:focus { outline: none; }
.contact-success__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 4px 0 0;
}
.contact-success__text {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.contact-status {
  font-size: 15px;
  min-height: 1.4em;
}
.contact-status.is-success { color: #0d7a3d; }
.contact-status.is-error { color: #b42318; }

@media (max-width: 720px) {
  .contact-hero { padding: 40px 0 16px; }
  .contact-form { margin-bottom: 48px; }
}
