/* pages/contact.css — implementation of Contact.dc.html.

   Rewritten wholesale. Two-column split: details on the left, form panel on
   the right, over the dark gradient. The heading is an <h1> now — the page
   previously led with an <h2> and had no h1 at all.

   Form controls come from the shared .field primitive in components.css, so
   this page and the auth forms look identical. */

.contact-page {
    background: linear-gradient(180deg, #060D1F 0%, #0A1733 100%);
    min-height: 100vh;
    padding-top: 0;   /* body already offsets the fixed nav */
}

.contact-section {
    padding: 98px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 90px;
    align-items: start;
}

/* ---------------- left column ---------------- */
.contact-intro .kicker { display: block; margin-bottom: 22px; }
.contact-intro h1 {
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 22px;
    color: var(--text-hi);
}
.contact-intro > p {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text-mid);
    max-width: 42ch;
    margin: 0 0 48px;
}

/* Addresses are intentionally not published — the form routes each enquiry
   to the right mailbox server-side, so nothing here can be harvested. */
.contact-points {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-points li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-mid);
}
.contact-points li > span { color: var(--gold); flex-shrink: 0; }

.contact-faq-hint {
    font-size: 14px;
    color: var(--text-faint);
    margin: 0;
}
.contact-faq-hint a {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
    padding-bottom: 1px;
}
.contact-faq-hint a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ---------------- right column: the form panel ---------------- */
.contact-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    padding: 48px;
    box-sizing: border-box;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
#formFields {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.contact-form select { appearance: none; }
.contact-form .submit-button { margin-top: 6px; width: 100%; }

/* validation feedback, only after a submit attempt */
.contact-form.was-validated :invalid { border-color: var(--danger); }

/* ---------------- sent confirmation ---------------- */
.contact-sent {
    text-align: center;
    padding: 60px 0;
}
.contact-sent-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 34px;
    color: var(--gold);
    margin-bottom: 14px;
}
.contact-sent p { font-size: 15px; color: var(--text-mid); margin: 0; }

/* ---------------- responsive ---------------- */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-section { padding: 72px 0 80px; }
    .contact-panel { padding: 32px 24px; }
}
@media (max-width: 520px) {
    .field-row { grid-template-columns: 1fr; }
}
