.contact-page {
    background: #fff
}

.contact-page h1 {
    text-transform: none
}

.contact-page .nav-links>a.active {
    color: var(--red)
}

.contact-page .nav-links>a.active:after {
    transform: scaleX(1)
}

.contact-details {
    padding-bottom: 88px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #fff
}

.contact-visual {
    position: relative;
    height: 440px;
    overflow: hidden;
    background: #ddd
}

.contact-visual:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .8) 25%, rgba(255, 255, 255, .08) 58%, rgba(24, 21, 22, .08) 100%);
    pointer-events: none
}

.contact-visual>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(1);
    transform: scale(1)
}

.contact-heading {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 65px
}

.contact-heading h1 {
    max-width: 620px;
    margin-bottom: 20px;
    font-size: clamp(3.8rem, 6.2vw, 6.3rem);
    font-weight: 430;
    line-height: .94;
    letter-spacing: -.064em
}

.contact-heading p {
    max-width: 400px;
    color: #514c4e;
    font-size: 1.02rem
}

.contact-cards-wrap {
    position: relative;
    z-index: 3;
    margin-top: -92px
}

.contact-card-grid {
    display: grid;
    grid-template-columns: 1.25fr .85fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    box-shadow: 0 24px 60px rgba(33, 31, 32, .13)
}

.contact-card {
    position: relative;
    min-height: 248px;
    padding: 28px 30px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    background: #fff;
    transition: background-color .3s, color .3s, transform .3s
}

.contact-card:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .35s ease
}

.contact-card:hover {
    z-index: 2;
    background: var(--soft);
    transform: translateY(-5px)
}

.contact-card:hover:after {
    transform: scaleX(1);
    transform-origin: left
}

.contact-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--red);
    transition: background .25s, color .25s, border-color .25s
}

.contact-card:hover .contact-icon {
    border-color: var(--red);
    background: var(--red);
    color: #fff
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.contact-card small {
    margin-bottom: 10px;
    color: var(--red);
    font-size: .72rem;
    font-weight: 720;
    letter-spacing: .14em;
    text-transform: uppercase
}

.contact-card strong {
    max-width: 430px;
    font-size: 1rem;
    font-weight: 520;
    line-height: 1.5
}

.contact-card em {
    margin-top: auto;
    padding-top: 20px;
    color: var(--copy);
    font-size: .8rem;
    font-style: normal;
    font-weight: 630
}

.contact-card em b {
    display: inline-block;
    margin-left: 5px;
    color: var(--red);
    transition: transform .2s
}

.contact-card:hover em b {
    transform: translateX(3px)
}

.map-section {
    padding: 100px 0 0;
    background: var(--soft)
}

.map-heading {
    padding-bottom: 42px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px
}

.map-heading h2 {
    margin: 0
}

.map-frame {
    height: 520px;
    overflow: hidden;
    background: #ddd;
    filter: grayscale(1);
    transition: filter .45s
}

.map-frame:hover,
.map-frame:focus-within {
    filter: grayscale(.25)
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    display: block
}

.contact-form-section {
    border: 0;
    background: var(--red);
    color: #fff
}

.contact-form-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 100px;
    align-items: start
}

.contact-form-copy .eyebrow {
    color: #fff
}

.contact-form-copy h2 {
    max-width: 480px
}

.contact-form-copy>p {
    max-width: 520px;
    color: rgba(255, 255, 255, .82);
    font-size: 1.08rem
}

.form-note {
    margin-top: 48px;
    border-top: 1px solid rgba(255, 255, 255, .28)
}

.form-note span {
    display: inline-block;
    width: 36px;
    padding-top: 17px;
    color: rgba(255, 255, 255, .56);
    font-size: .7rem
}

.form-note p {
    display: inline-block;
    width: calc(100% - 42px);
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    font-size: .87rem
}

.guidance-form {
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--ink);
    box-shadow: 0 28px 60px rgba(73, 8, 20, .22)
}

.guidance-form label {
    display: block
}



.guidance-form label>span {
    display: block;
    margin-bottom: 10px;
    color: #bcb6b8;
    font-size: .73rem;
    font-weight: 650;
    letter-spacing: .04em
}

.guidance-form input,
.guidance-form select {
    width: 100%;
    height: 55px;
    padding: 0 0 11px;
    border: 0;
    border-bottom: 1px solid #5b5658;
    border-radius: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 1rem;
    transition: border-color .2s
}

.guidance-form input:focus,
.guidance-form select:focus {
    border-color: #fff
}

.guidance-form input::placeholder {
    color: #7f797b
}

.guidance-form select {
    appearance: auto
}

.guidance-form option {
    background: var(--ink);
    color: #fff
}

.contact-submit {
    grid-column: 1/-1;
    min-height: 54px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 22px
}

.form-status {
    color: #fff;
    font-size: .83rem;
    line-height: 1.45
}

.form-status.success:before {
    content: "✓";
    margin-right: 8px;
    color: #7bdd9b
}

.contact-form .button {
    min-width: 155px
}

[data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .7, .2, 1)
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none
}

@media(max-width:1000px) {
    .contact-visual {
        height: 430px
    }

    .contact-visual:after {
        background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .62) 40%, rgba(255, 255, 255, .04) 75%)
    }

    .contact-heading {
        padding-bottom: 100px
    }

    .contact-card-grid {
        grid-template-columns: 1fr 1fr
    }

    .contact-card:first-child {
        grid-column: 1/-1;
        min-height: 205px
    }

    .contact-form-layout {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .contact-form {
        max-width: 780px
    }

    .map-frame {
        height: 470px
    }
}

@media(max-width:680px) {
    .contact-details {
        padding-bottom: 72px
    }

    .contact-visual {
        height: 400px
    }

    .contact-visual>img {
        object-position: 64% center
    }

    .contact-visual:after {
        background: linear-gradient(180deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .16) 58%, rgba(20, 18, 19, .28))
    }

    .contact-heading {
        justify-content: flex-start;
        padding-top: 48px;
        padding-bottom: 0
    }

    .contact-heading h1 {
        max-width: 330px;
        font-size: clamp(3rem, 14vw, 4rem)
    }


    .contact-heading p {
        max-width: 310px;
        color: var(--ink);
        font-size: .96rem;
        display: none
    }

    .contact-cards-wrap {
        margin-top: -54px
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
        box-shadow: 0 18px 42px rgba(33, 31, 32, .12)
    }

    .contact-card:first-child {
        grid-column: auto
    }

    .contact-card {
        min-height: 220px;
        padding: 25px 27px
    }

    .contact-card:hover {
        transform: none
    }

    .contact-icon {
        margin-bottom: 26px
    }

    .map-section {
        padding-top: 76px
    }

    .map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px
    }

    .map-frame {
        height: 420px
    }

    .contact-form-layout {
        gap: 38px
    }

    .contact-form {
        padding: 28px 22px;
        grid-template-columns: 1fr;
        gap: 25px
    }

    .contact-form label:nth-child(4),
    .contact-submit {
        grid-column: auto
    }

    .contact-submit {
        align-items: flex-start;
        flex-direction: column
    }

    .form-note {
        margin-top: 34px
    }
}

@media(prefers-reduced-motion:reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none
    }

    .contact-card,
    .contact-card:after {
        transition: none
    }
}