.contact {
        background: var(--paper);
}

.contact h2 {
        font-size: clamp(3rem, 5.5vw, 6rem);
}

.contact-heading {
        max-width: 900px;
        margin: 0 auto 58px;
        text-align: center;
}

.contact-heading .eyebrow {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
}

.contact-heading .eyebrow::before,
.contact-heading .eyebrow::after {
        width: 56px;
        height: 1px;
        background: var(--terracotta);
        content: "";
}

.contact-details {
        display: grid;
        grid-template-columns: 1.5fr .7fr .8fr;
        gap: 32px;
        margin-bottom: 52px;
}

.contact-detail {
        display: flex;
        align-items: flex-start;
        gap: 17px;
}

.contact-icon {
        color: var(--terracotta);
        font-size: 1.45rem;
        line-height: 1.2;
}

.contact-detail strong {
        display: block;
        margin-bottom: 7px;
        color: var(--terracotta);
        font-size: .72rem;
        letter-spacing: .15em;
        text-transform: uppercase;
}

.contact-detail p {
        margin: 0;
}

.contact-detail a {
        font-weight: 600;
}

.contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
}

.contact-map {
        position: relative;
        min-height: 570px;
        overflow: hidden;
        background-color: #e8deca;
        background-image: linear-gradient(30deg, transparent 49%, rgba(24, 63, 53, .12) 50%, transparent 51%), linear-gradient(120deg, transparent 49%, rgba(24, 63, 53, .1) 50%, transparent 51%);
        background-size: 170px 150px;
}

.contact-map .pin {
        top: 38%;
}

.contact-map .map-label {
        top: 56%;
}

.map-link {
        position: absolute;
        bottom: 22px;
        left: 22px;
        padding: 12px 17px;
        background: var(--ink);
        color: white;
        font-size: .78rem;
        font-weight: 600;
}

.contact-form-wrap {
        display: flex;
        flex-direction: column;
}

.contact-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
}

.form-field {
        position: relative;
}

.form-field-full,
.contact-submit {
        grid-column: 1 / -1;
}

.form-field label {
        position: absolute;
        top: 12px;
        left: 19px;
        color: #53625d;
        font-size: .7rem;
        font-weight: 600;
        letter-spacing: .1em;
        text-transform: uppercase;
}

.form-field label span {
        color: var(--terracotta);
}

.form-field input,
.form-field textarea {
        width: 100%;
        padding: 32px 18px 12px;
        border: 1px solid #c9cec9;
        border-radius: 0;
        outline: none;
        background: #fff;
        color: var(--ink);
        font: inherit;
        transition: border-color .2s, box-shadow .2s;
}

.form-field input {
        height: 82px;
}

.form-field textarea {
        min-height: 252px;
        resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
        border-color: var(--terracotta);
        box-shadow: 0 0 0 3px rgba(200, 85, 54, .12);
}

.form-trap {
        position: absolute;
        left: -10000px;
        width: 1px;
        height: 1px;
        overflow: hidden;
}

.contact-submit {
        min-height: 72px;
        border: 0;
        background: var(--terracotta);
        color: white;
        font-weight: 700;
        letter-spacing: .08em;
        text-transform: uppercase;
        cursor: pointer;
        transition: background .2s;
}

.contact-submit:hover {
        background: #ab4229;
}

.contact-submit:focus-visible {
        outline: 3px solid var(--mustard);
        outline-offset: 3px;
}

.form-status {
        margin-bottom: 16px;
        padding: 14px 18px;
        border-left: 4px solid var(--ink);
        background: #e5eee9;
}

.form-status.error {
        border-color: var(--terracotta);
        background: #f8e7e2;
}

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

        .contact-detail:first-child {
                grid-column: 1 / -1;
        }

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

        .contact-map {
                min-height: 440px;
        }
}

@media (max-width: 520px) {
        .contact h2 {
                font-size: 2.75rem;
        }

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

        .contact-detail:first-child,
        .form-field-full,
        .contact-submit {
                grid-column: auto;
        }

        .contact-map {
                min-height: 390px;
        }

        .contact-map .map-label {
                width: 75%;
                white-space: normal;
        }
}
