.contact-section {
    position: relative;
    isolation: isolate;
    width: 100cqw;
    margin-inline: calc((100% - 100cqw) / 2);
    padding: var(--section-space) var(--page-gutter-width);
    background: var(--tertiary);
    color: #000;
    font-family: var(--font-body);
    font-size: var(--text-body);
    line-height: var(--leading-body);
}

.contact-section::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../images/background-texture-grid.jpg') center / cover no-repeat;
    mix-blend-mode: soft-light;
    opacity: .5;
    pointer-events: none;
}

.contact-section > * {
    position: relative;
    z-index: 1;
}

.contact-section::after,
.contact-email::before,
.contact-email::after {
    content: none;
}

.contact-section__intro {
    text-align: center;
    margin-bottom: clamp(40px, 8.33vw, 144px);
}

.contact-section__intro p {
    max-width: min(800px, 100%);
    margin-inline: auto;
    font-size: var(--text-body);
}

.contact-section__intro p:last-child {
    margin-bottom: 0;
}

.contact-section__intro .eyebrow {
    max-width: none;
}

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

.contact-section .contact-email {
    display: grid;
    grid-template-columns: 47% minmax(0, 1fr);
    margin: 0;
    min-height: clamp(72px, 5.2083vw, 90px);
    font-family: var(--font-heading);
    letter-spacing: .02em;
    line-height: 1.1818;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    font-size: var(--text-body);
}

.contact-email__title,
.contact-email__address {
    display: flex;
    align-items: center;
    padding: 20px clamp(16px, 2vw, 32px);
    min-width: 0;
}

.contact-email__title {
    background: color-mix(in srgb, var(--tertiary) 40%, #fff);
    font-size: var(--text-small);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.0833;
    overflow-wrap: anywhere;
}

.contact-email__address a {
    font-family: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-email__address a:hover {
    text-decoration: underline;
}

.contact-email__address a svg {
    display: none;
}

@media (max-width: 1250px) {
    .contact-section__emails {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .contact-section {
        padding-block: 48px;
    }

    .contact-section__intro {
        margin-bottom: 32px;
    }

    .contact-email__title,
    .contact-email__address {
        padding: 16px;
    }
}

@media (max-width: 540px) {
    .contact-section .contact-email {
        grid-template-columns: minmax(0, 1fr);
    }
}
