/* ========================================================
   CONTACT
   ======================================================== */

.contact-section {
    position: relative;

    padding: 150px 5% 42px;

    background: var(--olive);

    color: white;

    overflow: hidden;
}

.contact-section::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    right: -340px;
    top: 90px;

    border: 1px solid rgba(215,195,166,.12);

    border-radius: 50%;

    pointer-events: none;
}

.contact-inner {
    position: relative;

    z-index: 2;

    max-width: 1450px;

    margin: auto;
}


/* ========================================================
   HEADING
   ======================================================== */

.contact-heading {
    max-width: 900px;

    margin-bottom: 85px;
}

.contact-section .section-eyebrow {
    color: #d7c3a6;
}

.contact-section .section-eyebrow span {
    background: #d7c3a6;
}

.contact-title {
    margin-bottom: 28px;

    font-family: var(--serif);

    font-size: clamp(48px,5vw,78px);

    font-weight: 500;

    line-height: 1.04;

    letter-spacing: -2.4px;
}

.contact-title em {
    display: block;

    color: #d7c3a6;

    font-weight: 500;
}

.contact-intro {
    max-width: 650px;

    color: rgba(255,255,255,.68);

    font-size: 15px;

    line-height: 1.9;
}


/* ========================================================
   GRID
   ======================================================== */

.contact-grid {
    display: grid;

    grid-template-columns: .72fr 1.28fr;

    gap: clamp(70px,8vw,130px);

    align-items: start;
}


/* ========================================================
   CONTACT DETAILS
   ======================================================== */

.contact-details {
    border-top: 1px solid rgba(255,255,255,.16);
}

.contact-detail-card {
    padding: 28px 0;

    border-bottom: 1px solid rgba(255,255,255,.16);
}

.contact-detail-label {
    display: block;

    margin-bottom: 10px;

    color: #d7c3a6;

    font-size: 8px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 2px;
}

.contact-detail-value {
    display: block;

    color: white;

    font-family: var(--serif);

    font-size: clamp(24px,2.2vw,34px);

    line-height: 1.25;
}

.contact-email {
    word-break: break-word;
}


/* ========================================================
   CONTACT ACTION LINKS
   ======================================================== */

.contact-detail-link {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    width: fit-content;

    margin-top: 12px;

    color: rgba(255,255,255,.62);

    font-size: 9px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1.4px;

    transition:
        color .3s ease;
}


/* Animated underline */

.contact-detail-link::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -6px;

    width: 100%;
    height: 1px;

    background:
        var(--champagne-light);

    transform:
        scaleX(0);

    transform-origin:
        right;

    transition:
        transform .38s
        cubic-bezier(.77,0,.18,1);
}


/* Arrow */

.contact-detail-link span {
    font-size: 16px;

    transition:
        transform .3s ease,
        color .3s ease;
}


/* Hover */

.contact-detail-link:hover {
    color:
        var(--champagne-light);
}

.contact-detail-link:hover::after {
    transform:
        scaleX(1);

    transform-origin:
        left;
}

.contact-detail-link:hover span {
    transform:
        translateX(5px);

    color:
        var(--champagne-light);
}


/* ========================================================
   SERVICE AREA
   ======================================================== */

.contact-detail-area .contact-detail-value {
    max-width: 430px;

    font-size: 25px;
}


/* ========================================================
   FORM WRAPPER
   ======================================================== */

.contact-form-wrap {
    background:
        rgba(255,255,255,.06);

    border:
        1px solid
        rgba(255,255,255,.12);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);
}


/* ========================================================
   FORM
   ======================================================== */

.contact-form {
    padding: 42px;
}

.contact-form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 24px;
}

.contact-field {
    margin-bottom: 24px;
}

.contact-field label {
    display: block;

    margin-bottom: 9px;

    color:
        rgba(255,255,255,.58);

    font-size: 8px;

    font-weight: 600;

    text-transform:
        uppercase;

    letter-spacing:
        1.8px;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    border: 0;

    border-bottom:
        1px solid
        rgba(255,255,255,.22);

    border-radius: 0;

    padding:
        12px 0 13px;

    background:
        transparent;

    color:
        white;

    font-family:
        var(--sans);

    font-size:
        14px;

    outline:
        none;

    transition:
        border-color .3s ease,
        background .3s ease;
}

.contact-field textarea {
    min-height: 130px;

    resize: vertical;
}

.contact-field select {
    appearance:
        none;

    -webkit-appearance:
        none;

    cursor:
        pointer;
}

.contact-field select option {
    color:
        var(--ink);

    background:
        white;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color:
        rgba(255,255,255,.35);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color:
        #d7c3a6;
}


/* ========================================================
   FORM FOOTER
   ======================================================== */

.contact-form-footer {
    margin-top: 12px;

    display: flex;

    align-items: center;

    justify-content:
        space-between;

    gap: 30px;
}

.contact-form-footer p {
    max-width: 430px;

    color:
        rgba(255,255,255,.42);

    font-size:
        10px;

    line-height:
        1.7;
}


/* ========================================================
   SUBMIT BUTTON
   ======================================================== */

.contact-submit {
    min-width: 190px;

    min-height: 54px;

    padding:
        0 24px;

    border:
        1px solid
        #d7c3a6;

    background:
        #d7c3a6;

    color:
        var(--ink);

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    cursor:
        pointer;

    font-size:
        10px;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        1.2px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;
}

.contact-submit span:last-child {
    font-size:
        18px;

    transition:
        transform .3s ease;
}

.contact-submit:hover {
    background:
        transparent;

    color:
        white;

    transform:
        translateY(-2px);
}

.contact-submit:hover span:last-child {
    transform:
        translateX(5px);
}


/* ========================================================
   BOTTOM LINE
   ======================================================== */

.contact-bottom-line {
    position:
        relative;

    z-index:
        2;

    max-width:
        1450px;

    margin:
        105px auto 0;

    padding-top:
        24px;

    border-top:
        1px solid
        rgba(255,255,255,.14);

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        30px;

    color:
        rgba(255,255,255,.38);

    font-size:
        8px;

    font-weight:
        600;

    text-transform:
        uppercase;

    letter-spacing:
        1.5px;
}


/* ========================================================
   RESPONSIVE — TABLET
   ======================================================== */

@media (max-width: 1000px) {

    .contact-grid {
        grid-template-columns:
            1fr;

        gap:
            65px;
    }

    .contact-details {
        max-width:
            700px;
    }

}


/* ========================================================
   RESPONSIVE — SMALL TABLET
   ======================================================== */

@media (max-width: 700px) {

    .contact-form-row {
        grid-template-columns:
            1fr;

        gap:
            0;
    }

    .contact-form-footer {
        align-items:
            flex-start;

        flex-direction:
            column;
    }

    .contact-submit {
        width:
            100%;
    }

}


/* ========================================================
   RESPONSIVE — MOBILE
   ======================================================== */

@media (max-width: 620px) {

    .contact-section {
        padding:
            62px 6%
            32px;
    }

    .contact-heading {
        margin-bottom:
            60px;
    }

    .contact-title {
        font-size:
            clamp(
                42px,
                12vw,
                56px
            );

        letter-spacing:
            -1.5px;
    }

    .contact-form {
        padding:
            28px 22px;
    }

    .contact-detail-value {
        font-size:
            25px;
    }

    .contact-bottom-line {
        margin-top:
            75px;

        align-items:
            flex-start;

        flex-direction:
            column;

        gap:
            8px;
    }

}


/* ========================================================
   REDUCED MOTION
   ======================================================== */

@media (prefers-reduced-motion: reduce) {

    .contact-detail-link,
    .contact-detail-link::after,
    .contact-detail-link span,
    .contact-field input,
    .contact-field select,
    .contact-field textarea,
    .contact-submit,
    .contact-submit span {
        transition:
            none !important;
    }
/* ========================================================
   HONEYPOT — SPAM PROTECTION
   ======================================================== */

.contact-honeypot {
    position: absolute !important;

    left: -9999px !important;
    top: -9999px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}
}

/* ========================================================
   CONTACT FORM STATUS
   ======================================================== */

.contact-form-status {
    min-height: 24px;
    margin-top: 18px;

    font-size: 13px;
    line-height: 1.6;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.contact-form-status:empty {
    min-height: 0;
    margin-top: 0;
}


.contact-form-status.is-success {
    color: #d8c6a8;
    font-weight: 500;
}


.contact-form-status.is-error {
    color: #9a4b43;
}


.contact-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}