/* ============================================================
   Contact — a simple, centered form. No pitch column, no card:
   just a heading and the form, open on the page, Flashi-style
   with tile inputs and the shared focus ring. UI only.
   ============================================================ */
.contact {
  background-color: var(--gray-1);
  padding: 5rem 1.5rem 7rem;
}
.contact-inner {
  max-width: 38rem;
  margin: 0 auto;
}
.contact-title {
  margin: 0 0 2.25rem;
  text-align: center;
  font-family: "Suisse Intl", Georgia, sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--gray-12);
}

/* ---- the form: open on the page, no card ---- */
.cform {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cform-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.cform-field {
  display: flex;
  flex-direction: column;
  gap: 0.4375rem;
  min-width: 0;
}
.cform-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-12);
}
.cform-req { color: var(--gray-10); font-weight: 400; }

/* ---- inputs ---- */
.cform-input {
  width: 100%;
  padding: 0.6875rem 0.9375rem;
  background-color: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.cform-input::placeholder { color: var(--gray-10); }
.cform-input:focus {
  border-color: var(--border-strong);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}
.cform-input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--gray-2) inset;
  -webkit-text-fill-color: var(--white);
}

/* ---- select (closed state deliberately blank) ---- */
.cform-select_wrap { position: relative; display: block; }
.cform-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  color-scheme: dark;             /* dark UA dropdown list */
  cursor: pointer;
}
.cform-select_chev {
  position: absolute;
  top: 50%;
  right: 0.9375rem;
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(-50%);
  color: var(--gray-10);
  pointer-events: none;
}
.cform-select_chev svg { width: 100%; height: 100%; display: block; }

/* ---- textarea ---- */
.cform-area {
  min-height: 9rem;
  resize: vertical;
}

/* ---- submit: full-width pill ---- */
.cform-btn {
  align-self: stretch;
  margin-top: 0.25rem;
  padding: 0.8125rem 1.625rem;
  border: 0;
  border-radius: 999px;
  background-color: var(--accent);
  color: var(--accent-fg);
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.1s var(--ease);
}
.cform-btn:hover { background-color: #e6e6e6; }
.cform-btn:active { transform: translateY(1px); }

/* ---- Turnstile widget ---- */
.cform .cf-turnstile { margin-top: 0.25rem; }

/* ---- Success state: replaces the form in place (no thank-you page) ---- */
.cform-success {
  padding: 1.25rem 1.5rem;
  background-color: var(--gray-2);
  border: 1px solid var(--border);
  border-radius: 0.875rem;
  color: var(--gray-12);
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
  .contact { padding: 3.5rem 1.25rem 5rem; }
  .cform-pair { grid-template-columns: 1fr; }
}
