/* Contact form (custom-contact.hbs, assets/js/contact.js). Fields follow the Sailing Guide's pickers. */
/* Sits inside the page's white body card, so no card of its own: a divider sets it off from the page text. */
.contact-card { margin: 0 0 36px; padding: 0 0 32px; border-bottom: 1px solid var(--line); }
.contact-card[hidden] { display: none; }
.contact-card h2 { margin: 0 0 18px; }
.contact-card.is-sent h2 { display: none; }
.contact-card .button { border: 0; cursor: pointer; }
.contact-card .button:disabled { opacity: .7; cursor: default; }
.contact-sent .button { margin-top: 10px; }
.contact-field { margin-bottom: 18px; }
.contact-field label {
    display: block; margin-bottom: 6px;
    font-size: 11px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase;
    font-weight: 800; color: var(--link);
}
.contact-field input, .contact-field textarea {
    width: 100%; box-sizing: border-box;
    font: 700 16px/1.4 var(--font-body); color: var(--ink); /* 16px: iPhone does not zoom in */
    background: var(--white); border: 1px solid var(--line); border-radius: 18px;
    padding: 12px 18px;
}
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-field input:hover, .contact-field textarea:hover { border-color: var(--line-strong); }
.contact-hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.contact-count { text-align: right; }
.contact-check { min-height: 65px; margin-bottom: 14px; }
.contact-check:empty { min-height: 0; margin: 0; }
.contact-error { margin: 0 0 14px; color: var(--coral); font-weight: 800; }
.contact-error[hidden], .contact-sent[hidden], .contact-form[hidden] { display: none; }
.contact-sent__title { font-family: var(--font-display); font-size: 24px; color: var(--blue); margin: 0 0 6px; }
.contact-sent__title:focus { outline: none; }
@media (max-width: 600px) {
    .contact-form .button, .contact-sent .button { width: 100%; }
}
