/* =========================================================
   Sunday Chronicle — Contact Page
   Styles ONLY for contact.html. Reuses design tokens from
   variables.css and shared components (.btn, .eyebrow,
   .rule-double, .section-title, .page-header, .info-panel-
   style card) already defined elsewhere — this file adds
   only what's genuinely new: the two-column contact layout,
   the form fields, and the success/error states.
   ========================================================= */

.contact-layout {
  display: grid;
  gap: 32px;
  margin-bottom: 56px;
}

/* ===== Info column ===== */
.contact-info {
  background: var(--gray);
  border-radius: var(--radius);
  padding: 28px;
  align-self: start;
}

.contact-info h2 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.contact-info > p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--navy);
  margin-top: 2px;
}

.contact-detail h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact-detail a:hover {
  color: var(--navy);
}

/* ===== Form column ===== */
.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.contact-form-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 20px;
}

.contact-field {
  margin-bottom: 18px;
}

.contact-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  resize: vertical;
}

.contact-field textarea {
  min-height: 140px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 58, 110, 0.12);
}

.contact-field-row {
  display: grid;
  gap: 18px;
}

/* Honeypot — visually and structurally hidden from real users
   and screen readers, but present in the DOM for bots that
   blindly fill every field. */
.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-submit {
  width: 100%;
}

.contact-form-error,
.contact-form-success {
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: none;
}

.contact-form-error:not(:empty) {
  display: block;
  background: rgba(211, 47, 47, 0.08);
  color: var(--red-dark);
  border: 1px solid rgba(211, 47, 47, 0.25);
}

.contact-form-success {
  background: rgba(28, 122, 52, 0.08);
  color: #1c7a34;
  border: 1px solid rgba(28, 122, 52, 0.25);
  text-align: center;
  padding: 32px 20px;
}

.contact-form-success h3 {
  color: #1c7a34;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-form-success p {
  color: var(--ink-soft);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 320px 1fr;
  }
}
