.contact-message {
    padding: clamp(54px, 7vw, 92px) 24px clamp(72px, 9vw, 120px);
    color: #f7f4ed;
}

.contact-message__layout {
    display: grid;
    width: min(100%, 1180px);
    min-width: 0;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 68px);
    margin-inline: auto;
    padding: clamp(28px, 5vw, 64px);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background: #10100e;
}

.contact-message__intro {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 540px;
    flex-direction: column;
    align-items: flex-start;
}

.contact-message__eyebrow {
    margin: 0 0 16px;
    color: #d4bd83;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .17em;
    line-height: 1.5;
    text-transform: uppercase;
}

.contact-message__title {
    margin: 0;
    color: #f7f4ed;
    font-size: clamp(2.6rem, 5vw, 4.35rem);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.06;
    text-wrap: balance;
}

.contact-message__subtitle {
    max-width: 440px;
    margin: 20px 0 0;
    color: rgba(247, 244, 237, .76);
    font-size: 1rem;
    line-height: 1.7;
}

.contact-message__mascot {
    display: flex;
    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: center;
    margin-top: 14px;
    overflow: hidden;
}

.contact-message__mascot img {
    display: block;
    width: min(80%, 330px);
    max-height: 330px;
    object-fit: contain;
    object-position: center bottom;
}

.contact-message__socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.contact-message__socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(212, 189, 131, .28);
    border-radius: 50%;
    background: #151410;
    transition: border-color .18s ease, transform .18s ease;
}

.contact-message__socials a:hover,
.contact-message__socials a:focus-visible {
    transform: translateY(-2px);
    border-color: #d4bd83;
}

.contact-message__socials img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.contact-message__form {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 19px;
}

.contact-message__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.contact-message__field label {
    color: rgba(247, 244, 237, .9);
    font-size: .88rem;
    font-weight: 600;
}

.contact-message__field input,
.contact-message__field textarea {
    width: 100%;
    min-width: 0;
    padding: 14px 15px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 5px;
    outline: none;
    background: #0c0b09;
    color: #f7f4ed;
    font: inherit;
    font-size: .95rem;
    line-height: 1.5;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.contact-message__field input {
    min-height: 50px;
}

.contact-message__field textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-message__field input:focus,
.contact-message__field textarea:focus {
    border-color: rgba(212, 189, 131, .85);
    box-shadow: 0 0 0 2px rgba(212, 189, 131, .12);
}

.contact-message__field input[aria-invalid="true"],
.contact-message__field textarea[aria-invalid="true"] {
    border-color: #e59484;
}

.contact-message__consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: rgba(247, 244, 237, .76);
    font-size: .88rem;
    line-height: 1.55;
    cursor: pointer;
}

.contact-message__consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 1px;
    accent-color: #d4bd83;
}

.contact-message__consent input[aria-invalid="true"] {
    outline: 2px solid #e59484;
    outline-offset: 2px;
}

.contact-message__consent a {
    color: #d4bd83;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-message__submit {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    padding: 13px 23px;
    border: 1px solid #d4bd83;
    border-radius: 5px;
    background: #d4bd83;
    color: #15130e;
    font: inherit;
    font-size: .96rem;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.contact-message__submit:hover,
.contact-message__submit:focus-visible {
    transform: translateY(-1px);
    border-color: #e5d7b1;
    background: #e5d7b1;
}

.contact-message__submit:focus-visible,
.contact-message__socials a:focus-visible,
.contact-message__consent a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.contact-message__submit:disabled {
    transform: none;
    cursor: wait;
    opacity: .7;
}

.contact-message__status {
    min-height: 1.5em;
    margin: -5px 0 0;
    color: #b5b0a5;
    font-size: .9rem;
    line-height: 1.55;
}

.contact-message__status[data-state="success"] {
    color: #b8dfbb;
}

.contact-message__status[data-state="error"] {
    color: #f0a899;
}

.contact-message__honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

@media (max-width: 760px) {
    .contact-message {
        padding: 36px 16px 64px;
    }

    .contact-message__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 24px 20px;
    }

    .contact-message__intro {
        min-height: 0;
    }

    .contact-message__title {
        font-size: clamp(2.45rem, 10vw, 3.3rem);
    }

    .contact-message__subtitle {
        margin-top: 15px;
    }

    .contact-message__mascot {
        height: 180px;
        flex: 0 0 auto;
        margin-top: 4px;
    }

    .contact-message__mascot img {
        width: auto;
        max-width: min(72%, 225px);
        height: 180px;
    }

    .contact-message__socials {
        margin-top: 12px;
    }

    .contact-message__form {
        gap: 16px;
    }

    .contact-message__submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-message__socials a,
    .contact-message__field input,
    .contact-message__field textarea,
    .contact-message__submit {
        transition: none;
    }
}
