.contact-intro {
    margin: 0.5em 0 2em;
    color: #444;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.4em;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}

.contact-field label {
    font-size: 0.9em;
    font-weight: 600;
}

.contact-optional {
    font-weight: 400;
    color: #666;
}

.contact-field input,
.contact-field textarea,
.contact-field select {
    box-sizing: border-box;
    width: 100%;
    padding: 0.6em 0.75em;
    border: 1px solid rgba(35, 35, 35, 0.3);
    border-radius: 6px;
    background: #fff;
    color: inherit;
    font: inherit;
    font-size: 1rem;
}

.contact-field textarea {
    min-height: 10em;
    resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus,
.contact-field select:focus {
    outline: 2px solid rgb(92, 148, 0);
    outline-offset: 1px;
}

.contact-field [aria-invalid="true"] {
    border-color: #b3261e;
}

.contact-error {
    margin: 0;
    color: #b3261e;
    font-size: 0.9em;
}

.contact-banner {
    margin: 0 0 1.5em;
    padding: 0.9em 1.1em;
    border-radius: 6px;
    background: #fdecea;
    color: #7a1c15;
}

.contact-banner a {
    color: inherit;
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.contact-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-submit {
    align-self: flex-start;
    padding: 0.7em 1.8em;
    border: none;
    border-radius: 999px;
    background: #1a1a1a;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.contact-submit:hover {
    background: #333;
}

.contact-alt {
    margin-top: 2em;
    color: #444;
}
