/* ==========================================================================
   Contact page
   Reuses the right-notch section: dark text panel on the left, and the
   form sits in the light area where the photo normally goes.
   ========================================================================== */

:root {
    --contact-red: #9b0000;       /* match your other red buttons */
    --contact-red-hover: #7a0000;
    --contact-line: #151515;
}

.contact__section {
    height: auto;
    min-height: 400px;
}

/* 50 / 50 split like the design */
.contact__section .notch__media{
    flex: 1 1 60%;
}
.contact__section .notch__panel {
    flex: 1 1 40%;
}

.contact__section .notch__panel {
    justify-content: center;
}

/* ---- Light form area ---- */

.contact__media {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: #EAEAEA;
    color: #151515;
    font-family: "Barlow Condensed", sans-serif;

    /* extra left padding so the notch tip doesn't touch the form */
    padding: 32px 64px 40px clamp(80px, 9vw, 130px);
}

.contact__info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.contact__info-item {
    padding-top: 40px;
    font-size: 16px;
    font-weight: 500;
    color: white;
    text-decoration: none;
}

.contact__info-item:hover {
    text-decoration: underline;
}

/* ---- Form ---- */

.contact__form {
    display: flex;
    flex-direction: column;
    margin-top: 28px;
}

.contact__label {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.contact__label:first-child {
    margin-top: 0;
}

.contact__input {
    box-sizing: border-box;
    width: 100%;
    margin-top: 6px;
    padding: 8px 10px;
    border: 1px solid var(--contact-line);
    border-radius: 0;
    background: #ffffff;
    color: #151515;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 14px;
}

.contact__input:focus-visible {
    outline: 2px solid var(--contact-red);
    outline-offset: 1px;
}

.contact__input[aria-invalid="true"] {
    border-color: var(--contact-red);
}

.contact__textarea {
    min-height: 140px;
    resize: none;
}

.contact__field-error {
    margin-top: 4px;
    color: var(--contact-red);
    font-size: 14px;
    font-weight: 500;
}

.contact__field-error:empty {
    display: none;
}

/* Hidden spam-trap field */
.contact__trap {
    position: absolute;
    left: -9999px;
}

/* ---- Send button ---- */

.contact__submit {
    align-self: center;
    margin-top: 28px;
    padding: 8px 32px;
    border: 0;
    background: var(--contact-red);
    color: #ffffff;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.contact__submit:hover {
    background: var(--contact-red-hover);
}

.contact__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* ---- Success / error messages (empty until Formspree fills them) ---- */

.contact__status {
    margin-top: 20px;
    padding: 12px 16px;
    font-size: 18px;
    font-weight: 500;
}

.contact__status:empty {
    display: none;
}

.contact__status--success {
    background: #151515;
    color: #ffffff;
}

.contact__status--error {
    background: #ffffff;
    border: 1px solid var(--contact-red);
    color: var(--contact-red);
}



@media (max-width: 768px) {
    .contact__section {
        flex-direction: column-reverse;
        min-height: 0;
    }

    .contact__media {
        padding: 32px 24px;
    }

    .contact__info {
        flex-direction: column;
    }
} 

