/* ==================================================
   SMOOTH ANCHOR SCROLLING
================================================== */

html {
    scroll-behavior: smooth;
}


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

.contact-intro {
    background: #fff29a;
    color: #080808;
}

.contact-intro-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(420px, 0.88fr);
    min-height: 100vh;
}

.contact-intro-copy {
    padding:
        clamp(70px, 7vw, 125px)
        clamp(40px, 6vw, 110px);
}

.contact-title {
    max-width: 930px;
    margin: 0 0 32px;
    color: #ff4057;
    font-size: clamp(4.2rem, 6.7vw, 8.2rem);
    font-weight: 700;
    line-height: 0.86;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.contact-lead {
    max-width: 780px;
    margin: 0 0 42px;
    font-size: clamp(1rem, 1.15vw, 1.25rem);
    line-height: 1.48;
}

.contact-content-block {
    max-width: 790px;
    margin-top: 34px;
}

.contact-content-block h2 {
    margin: 0 0 20px;
    font-size: clamp(1.8rem, 2.3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
}

.contact-content-block p {
    margin: 0 0 15px;
    font-size: clamp(0.98rem, 1.05vw, 1.18rem);
    line-height: 1.5;
}

.contact-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 440px);
    min-height: 88px;
    margin-top: clamp(65px, 8vw, 145px);
    border: 2px solid #000000;
    color: #000000;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.contact-cta-button:hover,
.contact-cta-button:focus-visible {
    background: #000000;
    color: #ffffff;
}


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

.contact-intro-media {
    min-height: 100%;
}

.contact-intro-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
}


/* ==================================================
   CONTACT FORM SECTION
================================================== */

.contact-form-section {
    scroll-margin-top: 90px;
    background: #f4f4f4;
    color: #080808;
    padding:
        clamp(75px, 8vw, 130px)
        30px
        clamp(100px, 10vw, 175px);
}

.contact-form-inner {
    width: min(100%, 990px);
    margin: 0 auto;
}

.contact-form-title {
    margin: 0 0 clamp(65px, 7vw, 115px);
    font-size: clamp(3.2rem, 5vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.045em;
    text-align: center;
    text-transform: uppercase;
}


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

.contact-form {
    width: 100%;
}

.contact-fieldset {
    min-width: 0;
    margin: 0 0 25px;
    padding: 0;
    border: 0;
}

.contact-fieldset legend {
    margin: 0 0 12px;
    padding: 0;
    font-size: 1rem;
    font-weight: 500;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

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

.contact-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.97rem;
    font-weight: 500;
}

.contact-field label span {
    margin-left: 5px;
    color: #676767;
    font-size: 0.85rem;
    font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #8b8b8b;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #080808;
    font-family: inherit;
    font-size: 1rem;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.contact-field input {
    min-height: 38px;
    padding: 4px 0 10px;
}

.contact-field select {
    min-height: 42px;
    padding: 5px 34px 10px 0;
    cursor: pointer;
}

.contact-field textarea {
    min-height: 130px;
    padding: 8px 0 10px;
    line-height: 1.5;
    resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: #000000;
    box-shadow: 0 1px 0 #000000;
}

.contact-select-field {
    position: relative;
}

.contact-select-field select {
    appearance: none;
    -webkit-appearance: none;
}

.contact-select-field::after {
    content: "";
    position: absolute;
    right: 5px;
    bottom: 17px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #000000;
    border-bottom: 2px solid #000000;
    pointer-events: none;
    transform: rotate(45deg);
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


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

.contact-submit-button {
    display: block;
    width: 100%;
    min-height: 56px;
    margin-top: 15px;
    border: 2px solid #000000;
    border-radius: 0;
    background: #000000;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.contact-submit-button:hover,
.contact-submit-button:focus-visible {
    background: transparent;
    color: #000000;
}


/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1050px) {

	  main {
        padding-top: var(--header-height);
    }
	
    .contact-intro-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 0.82fr);
    }

    .contact-intro-copy {
        padding-right: 50px;
        padding-left: 50px;
    }

}

@media (max-width: 800px) {

    .contact-intro-layout {
        display: flex;
        flex-direction: column;
    }

    .contact-intro-copy {
        padding:
            65px
            30px
            75px;
    }

    .contact-intro-media img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 760px;
        object-fit: cover;
    }

    .contact-cta-button {
        margin-top: 60px;
    }

}

@media (max-width: 600px) {

    .contact-intro-copy {
        padding:
            50px
            20px
            60px;
    }

    .contact-title {
        font-size: clamp(3.5rem, 17vw, 5.4rem);
    }

    .contact-form-section {
        padding-right: 20px;
        padding-left: 20px;
    }

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

}

.contact-form-result {
    margin: 18px 0 0;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.contact-form-result-success {
    color: #166534;
}

.contact-form-result-error {
    color: #a71919;
}