/**
 * Phixo · Editor Contact page layout.
 *
 * Board 06: a two-column split — left "say hello" + info list, right a
 * form panel. Form field controls (.field, .form-grid, .btn--primary)
 * are already styled in phixo.css; this file only lays out the page.
 *
 * Tokens only — never hardcoded hex.
 *
 * @package PhixoChild
 */

/* ---- Split: intro | form ------------------------------------------- */
.phixo-contact__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

/* ---- Left · intro -------------------------------------------------- */
.phixo-contact__headline {
  font-family: var(--serif);
  font-weight: 400;
  line-height: var(--lh-heading);
  color: var(--ink);
  margin: 14px 0 18px;
}

.phixo-contact__intro .lede {
  margin-bottom: clamp(28px, 4vw, 40px);
}

/* Info list — Email / Based in / Availability */
.phixo-contact__info {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 32px);
}

.phixo-contact__info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.phixo-contact__info-label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin: 0;
}

.phixo-contact__info-value {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink-soft);
}

.phixo-contact__info-value .text-link {
  font-size: inherit;
}

/* ---- Right · form panel -------------------------------------------- */
.phixo-contact__form-panel {
  background: var(--stone-soft, rgba(214, 207, 197, 0.35));
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(24px, 3.5vw, 40px);
}

.phixo-contact__form-eyebrow {
  display: block;
  color: var(--mute);
  margin-bottom: clamp(18px, 2.5vw, 26px);
}

/* Reuse .form-grid / .field from phixo.css; only spacing tweaks here. */
.phixo-contact__form .btn--primary {
  justify-self: start;
  margin-top: 4px;
}

.phixo-contact__submit {
  /* Rose fill + charcoal text is provided by .btn--primary (locked CTA
     accessibility rule). Nothing to override — declared for clarity. */
  width: 100%;
  justify-content: center;
}

.phixo-contact__form-note {
  margin: 18px 0 0;
  font-family: var(--sans);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-body);
  color: var(--mute);
}

/* ---- Fluent Forms embed — keep it inside the panel rhythm ---------- */
.phixo-contact__form-panel .fluentform {
  margin: 0;
}

/* ---- Responsive ---------------------------------------------------- */
@media (max-width: 860px) {
  .phixo-contact__split {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
  }
}
