html,
body,
main,
.hero,
.intro,
.collections,
.pieces,
.visit,
.contact,
footer {
    width: 100%;
    max-width: none;
}

html,
body {
    overflow-x: hidden;
}

body,
.intro,
.collections,
.visit {
    background: #d8c8a8;
}

.intro {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    align-items: center;
    gap: clamp(48px, 7vw, 120px);
    padding-top: 85px;
    padding-bottom: 85px;
}

.intro-content {
    max-width: 700px;
}

.intro-copy {
    max-width: 640px;
    margin: 34px 0 0;
}

.intro-image {
    min-height: 620px;
    margin: 0;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

.visit {
    min-height: 0;
    padding: 85px 7vw;
    gap: 7vw;
}

.collections,
.pieces,
.contact {
    padding-top: 85px;
    padding-bottom: 85px;
}

.section-head {
    margin-bottom: 42px;
}

.gifts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    align-items: center;
    gap: clamp(48px, 7vw, 120px);
    width: 100%;
    padding: 85px 7vw;
    background: #eee5d4;
}

.gifts-image {
    margin: 0;
    overflow: hidden;
}

.gifts-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.gifts-content {
    max-width: 650px;
}

.gifts h2 {
    font: 500 clamp(38px, 5vw, 72px)/1.02 'Playfair Display', serif;
    letter-spacing: -.035em;
    margin: 0 0 28px;
}

.gifts-content > p:not(.eyebrow) {
    max-width: 590px;
    margin: 0;
    font-size: 18px;
}

.gifts-options {
    display: grid;
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.gifts-options span {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    color: #65645f;
}

.event-popup {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(13, 12, 10, .74);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.event-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.event-popup-card {
    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    width: min(760px, 100%);
    overflow: hidden;
    background: #f5ed78;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
    transform: translateY(16px);
    transition: transform .25s ease;
}

.event-popup.is-open .event-popup-card {
    transform: translateY(0);
}

.event-popup-logo {
    display: grid;
    place-items: center;
    min-height: 100%;
    padding: 34px 24px;
    background: #fff384;
}

.event-popup-logo img {
    width: 180px;
    max-width: 100%;
}

.event-popup-content {
    padding: 46px 48px 42px;
    background: #f4f1e9;
}

.event-popup-content h2 {
    max-width: 440px;
    margin: 0;
    font: 500 clamp(34px, 5vw, 54px)/1 'Playfair Display', serif;
    letter-spacing: -.035em;
}

.event-popup-edition {
    margin: 20px 0 0;
    color: #77736a;
    font-size: 15px;
}

.event-popup-date {
    margin: 25px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.45;
}

.event-popup-final {
    margin: 17px 0 0;
    font: italic 500 24px 'Playfair Display', serif;
}

.event-popup-close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 17px;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: 300 31px/1 sans-serif;
    cursor: pointer;
}

.event-popup-ok {
    margin-top: 25px;
}

body.popup-open {
    overflow: hidden;
}

.visit-art {
    min-height: 620px;
}

.visit-info {
    padding: 0;
}

@media (max-width: 850px) {
    .intro {
        grid-template-columns: 1fr;
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .intro-content {
        max-width: none;
    }

    .intro-image,
    .intro-image img {
        min-height: 480px;
    }

    .visit {
        padding: 62px 20px;
        gap: 55px;
    }

    .collections,
    .pieces,
    .contact {
        padding-top: 62px;
        padding-bottom: 62px;
    }

    .gifts {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 62px 20px;
    }

    .visit-art {
        min-height: 520px;
    }
}

@media (max-width: 520px) {
    .event-popup {
        padding: 14px;
    }

    .event-popup-card {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 28px);
        overflow-y: auto;
    }

    .event-popup-logo {
        min-height: 125px;
        padding: 18px;
    }

    .event-popup-logo img {
        width: 125px;
    }

    .event-popup-content {
        padding: 31px 27px 29px;
    }

    .event-popup-content h2 {
        font-size: 36px;
    }

    .intro-image,
    .intro-image img {
        min-height: 390px;
    }

    .visit {
        padding: 54px 20px;
    }

    .intro,
    .collections,
    .pieces,
    .contact {
        padding-top: 54px;
        padding-bottom: 54px;
    }

    .gifts {
        padding: 54px 20px;
    }

    .visit-art {
        min-height: 460px;
    }
}
