@font-face {
    font-display: swap;
    font-family: "ContactMontserrat";
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/montserrat-v26-latin-regular.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "ContactMontserrat";
    font-style: normal;
    font-weight: 500;
    src: url("../fonts/montserrat-v26-latin-500.woff2") format("woff2");
}

@font-face {
    font-display: swap;
    font-family: "ContactJost";
    font-style: normal;
    font-weight: 200;
    src: url("../fonts/jost-v15-latin-200.woff2") format("woff2");
}

.contact-page {
    --contact-gold: #b8984b;
    --contact-ink: #030303;
    --contact-surface: #080808;
    --contact-line: rgba(255, 255, 255, .075);
    min-height: 100vh;
    color: #f5f5f4;
    background: var(--contact-ink);
    font-family: "ContactMontserrat", Montserrat, sans-serif;
}

.contact-page a {
    color: inherit;
}

.contact-main {
    background:
        radial-gradient(circle at 14% 20%, rgba(184, 152, 75, .075), transparent 30%),
        linear-gradient(180deg, #030303, #050505 48%, #030303);
}

.contact-page .contact-hero.hero-image {
    height: min(62svh, 560px);
    min-height: 380px;
    isolation: isolate;
    overflow: hidden;
    background-image: url("/images/cranes.jpg");
    background-position: center;
}

.contact-page .contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, .24) 30%, rgba(0, 0, 0, .08) 66%, rgba(0, 0, 0, .5)),
        linear-gradient(180deg, rgba(0, 0, 0, .72), rgba(0, 0, 0, .08) 36%, rgba(0, 0, 0, .16) 58%, rgba(0, 0, 0, .92));
    pointer-events: none;
}

.contact-page .contact-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    height: 32%;
    background: linear-gradient(180deg, transparent, #030303);
    pointer-events: none;
}

.contact-page .contact-hero-text {
    z-index: 2;
    width: min(920px, calc(100% - 44px));
    text-align: center;
}

.contact-page .contact-hero-text > h5 {
    position: relative;
    display: inline-block;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font: 400 clamp(.78rem, 1.2vw, 1.18rem)/1 "ContactJost", Jost, sans-serif;
    letter-spacing: .36em;
    text-transform: uppercase;
}

.contact-page .contact-hero-text > h5::before,
.contact-page .contact-hero-text > h5::after {
    content: "";
    position: absolute;
    top: 50%;
    height: 1px;
    background: rgba(255, 255, 255, .76);
}

.contact-page .contact-hero-text > h5::before {
    right: calc(100% + 24px);
    width: 34px;
}

.contact-page .contact-hero-text > h5::after {
    left: calc(100% + 24px);
    width: 52px;
}

.contact-page .contact-hero-text > h1 {
    margin: 18px 0 0;
    color: #fff;
    font: 400 clamp(2.35rem, 5vw, 64px)/1 "ContactMontserrat", Montserrat, sans-serif;
    letter-spacing: -.038em;
    text-shadow: 0 2px 28px rgba(0, 0, 0, .5);
}

.contact-section {
    padding: clamp(54px, 7vw, 108px) 0 clamp(64px, 8vw, 118px);
}

.contact-shell {
    width: min(1420px, calc(100% - 40px));
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.05fr);
    gap: clamp(36px, 7vw, 104px);
    align-items: start;
}

.contact-intro {
    max-width: 680px;
}

.contact-page .editorial-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #78716c;
    font-size: 9px;
    line-height: 1;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.contact-page .editorial-eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: rgba(184, 152, 75, .85);
}

.contact-page .editorial-heading h2 {
    margin: 8px 0 0;
    color: #f5f5f4;
    font: 400 28px/1 "ContactMontserrat", Montserrat, sans-serif;
    letter-spacing: -.025em;
}

.contact-lede {
    margin: 26px 0 0;
    color: #a8a29e;
    font-size: 14px;
    line-height: 1.95;
}

.contact-notes {
    display: grid;
    gap: 12px;
    margin-top: 34px;
}

.contact-note {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid var(--contact-line);
}

.contact-note:last-child {
    border-bottom: 1px solid var(--contact-line);
}

.contact-note span {
    color: var(--contact-gold);
    font-size: 9px;
    letter-spacing: .24em;
}

.contact-note p {
    margin: 0;
    color: #d6d3d1;
    font-size: 13px;
    line-height: 1.7;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin-top: 30px;
}

.contact-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--contact-gold);
    font-size: 8px;
    letter-spacing: .22em;
    text-decoration: none;
    text-transform: uppercase;
}

.contact-social-links a::after {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    transition: width .25s ease;
}

.contact-social-links a:hover::after,
.contact-social-links a:focus::after {
    width: 52px;
}

.contact-form-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 4vw, 52px);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018)),
        #070707;
    border: 1px solid var(--contact-line);
}

.contact-form-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(184, 152, 75, .08);
    pointer-events: none;
}

.contact-field + .contact-field {
    margin-top: 22px;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.contact-field label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 10px;
    color: #a8a29e;
    font-size: 8px;
    letter-spacing: .24em;
    text-transform: uppercase;
}

.contact-field label span {
    color: var(--contact-gold);
}

.contact-page .contact-input {
    display: block;
    width: 100%;
    min-height: 54px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 0;
    color: #f5f5f4;
    background: rgba(0, 0, 0, .34);
    box-shadow: none;
    font-size: 14px;
    line-height: 1.6;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.contact-page textarea.contact-input {
    min-height: 174px;
    resize: vertical;
}

.contact-page .contact-input:focus {
    outline: 0;
    border-color: rgba(184, 152, 75, .72);
    color: #fff;
    background: rgba(0, 0, 0, .5);
    box-shadow: 0 0 0 3px rgba(184, 152, 75, .08);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px 24px;
    margin-top: 28px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid rgba(184, 152, 75, .8);
    border-radius: 0;
    padding: 0 26px;
    color: var(--contact-gold);
    background: transparent;
    font-size: 8px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.contact-submit:hover,
.contact-submit:focus {
    border-color: var(--contact-gold);
    color: #050505;
    background: var(--contact-gold);
}

.contact-actions p {
    margin: 0;
    color: #78716c;
    font-size: 11px;
    line-height: 1.6;
}

.messages {
    margin-bottom: 20px;
}

.contact-alert {
    position: relative;
    border-radius: 0;
    margin: 0;
    padding: 14px 46px 14px 16px;
    border-width: 1px;
    border-style: solid;
    color: #f5f5f4;
    background: rgba(255, 255, 255, .045);
    font-size: 12px;
    line-height: 1.6;
}

.contact-alert--success {
    border-color: rgba(74, 222, 128, .28);
}

.contact-alert--error {
    border-color: rgba(248, 113, 113, .32);
}

.contact-alert-close {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 22px;
    height: 22px;
    border: 0;
    padding: 0;
    color: #a8a29e;
    background: transparent;
    cursor: pointer;
    transform: translateY(-50%);
}

.contact-alert-close::before,
.contact-alert-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 1px;
    background: currentColor;
}

.contact-alert-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.contact-alert-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-alert-close:hover,
.contact-alert-close:focus {
    color: var(--contact-gold);
}

.contact-pending {
    padding: 14px 16px;
    border: 1px solid var(--contact-line);
    color: #a8a29e;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-intro {
        max-width: 860px;
    }
}

@media (max-width: 767px) {
    .contact-page .contact-hero.hero-image {
        height: 54svh;
        min-height: 340px;
        background-image: url("/images/sunrise-small.jpg");
    }

    .contact-page .contact-hero-text > h5 {
        font-size: .72rem;
        letter-spacing: .28em;
    }

    .contact-page .contact-hero-text > h5::before {
        right: calc(100% + 16px);
        width: 26px;
    }

    .contact-page .contact-hero-text > h5::after {
        left: calc(100% + 16px);
        width: 34px;
    }

    .contact-page .contact-hero-text > h1 {
        font-size: clamp(2.15rem, 10vw, 3.35rem);
    }

    .contact-page .editorial-heading h2 {
        font-size: 23px;
    }

    .contact-shell {
        width: calc(100% - 32px);
    }

    .contact-form-panel {
        padding: 24px 18px;
    }
}
