/* ==========================================================================
   NHB — APPLY
   ========================================================================== */


.apply-page {
    background: #f5f3ef;
}


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


.apply-intro {
    padding:
        92px 32px 88px;

    border-bottom:
        1px solid #d9d5ce;
}


.apply-intro-inner {
    width: min(900px,
            100%);

    margin: 0 auto;

    text-align: center;
}


.apply-eyebrow {
    margin:
        0 0 20px;

    color: #b6963c;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;

    text-transform: uppercase;
}


.apply-intro h1 {
    margin: 0;

    color: #111111;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(62px,
            8vw,
            105px);

    font-weight: 400;

    line-height: 0.88;

    letter-spacing: -0.055em;
}


.apply-intro h1 span {
    font-style: italic;
}


.apply-lead {
    max-width: 590px;

    margin:
        34px auto 0;

    color: #68645e;

    font-size: 15px;

    line-height: 1.75;
}


/* ==========================================================================
   APPLICATION LAYOUT
   ========================================================================== */


.application-section {
    padding:
        90px 32px 130px;
}


.application-layout {
    display: grid;

    grid-template-columns:
        minmax(220px,
            0.65fr) minmax(0,
            1.55fr);

    gap: 90px;

    width: min(1180px,
            100%);

    margin: 0 auto;
}


.application-aside {
    align-self: start;

    position: sticky;

    top: 70px;
}


.application-number {
    display: block;

    margin-bottom: 20px;

    color: #b6963c;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.2em;
}


.application-aside h2 {
    max-width: 300px;

    margin:
        0 0 28px;

    color: #111111;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(42px,
            4.5vw,
            64px);

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -0.04em;
}


.application-aside p {
    max-width: 300px;

    margin: 0;

    color: #716d67;

    font-size: 13px;

    line-height: 1.75;
}


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


.application-form {
    border-top:
        1px solid #aaa59d;
}


.application-form fieldset {
    margin: 0;

    padding:
        42px 0 48px;

    border: 0;

    border-bottom:
        1px solid #d9d5ce;
}


.application-form legend {
    width: 100%;

    margin:
        0 0 30px;

    padding: 0;

    color: #171717;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 29px;

    font-weight: 400;
}


.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2,
            minmax(0,
                1fr));

    gap:
        26px 30px;
}


.form-field {
    display: flex;

    flex-direction: column;

    min-width: 0;
}


.form-field-full {
    margin-top: 28px;
}


.form-field label {
    margin-bottom: 9px;

    color: #59554f;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


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

    box-sizing: border-box;

    border:
        1px solid #cbc7bf;

    border-radius: 0;

    outline: none;

    background: transparent;

    color: #171717;

    font: inherit;

    transition:
        border-color 150ms ease,
        background 150ms ease;
}


.form-field input,
.form-field select {
    min-height: 52px;

    padding:
        0 14px;
}


.form-field textarea {
    min-height: 160px;

    padding: 15px;

    resize: vertical;

    line-height: 1.65;
}


.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: #9f8233;

    background:
        rgba(255,
            255,
            255,
            0.34);
}


.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #9a9690;
}


.form-hint {
    margin-top: 8px;

    color: #918c85;

    font-size: 11px;
}


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


.application-submit-wrap {
    padding-top: 42px;
}


.application-submit {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 54px;

    padding:
        0 36px;

    border: 0;

    background: #b99a3d;

    color: #ffffff;

    cursor: pointer;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    transition:
        background 160ms ease,
        transform 160ms ease,
        opacity 160ms ease;
}


.application-submit:hover {
    background: #c8a94a;

    transform:
        translateY(-1px);
}


.application-submit:disabled {
    cursor: wait;

    opacity: 0.65;

    transform: none;
}


.application-privacy {
    margin:
        18px 0 0;

    color: #8a857e;

    font-size: 11px;
}


.application-message {
    margin:
        0 0 24px;

    padding:
        15px 17px;

    font-size: 13px;

    line-height: 1.6;
}


.application-message-success {
    border:
        1px solid #9d9a82;

    background: #efeee6;

    color: #39382e;
}


.application-message-error {
    border:
        1px solid #b89999;

    background: #f4eaea;

    color: #7c3e3e;
}


/* ==========================================================================
   HONEYPOT
   ========================================================================== */


.application-honeypot {
    position: absolute;

    left: -10000px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */


@media (max-width: 800px) {

    .apply-intro {
        padding:
            65px 22px 64px;
    }


    .apply-intro h1 {
        font-size: 62px;
    }


    .application-section {
        padding:
            60px 22px 90px;
    }


    .application-layout {
        display: block;
    }


    .application-aside {
        position: static;

        margin-bottom: 48px;
    }


    .application-aside h2 {
        font-size: 46px;
    }


    .application-aside p {
        max-width: 520px;
    }


    .form-grid {
        grid-template-columns: 1fr;
    }


    .application-form fieldset {
        padding:
            36px 0 42px;
    }


    .application-submit {
        width: 100%;
    }

}