/* Global tokens, reset, layout primitives, header/footer and shared utilities */

:root {
    --background: #f3f1ec;
    --surface: #ffffff;
    --text: #181818;
    --muted: #6c6a65;
    --line: #c9c6bf;
    --dark: #242424;
    --warning: #ead46d;
    --page-width: 1220px;
    --shadow-color: hsl(0deg 0% 0% / 0.38);
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
        text-decoration: underline;
    }

.page-width {
    width: min( var(--page-width), calc(100% - 48px) );
    margin-inline: auto;
}

.site-page {
    position: relative;
    z-index: 2;
    background: var(--background);
    box-shadow: 4px 8px 8px var(--shadow-color);
}

.site-header {
    background: var(--background);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    width: min( var(--page-width), calc(100% - 48px) );
    height: 72px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-size: 1.35rem;
    font-weight: 600;
}

.site-brand {
    color: var(--muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.development-banner {
    padding: 9px 24px;
    background: var(--warning);
    text-align: center;
    font-size: 0.875rem;
}

.container {
    width: min( var(--page-width), calc(100% - 48px) );
    margin-inline: auto;
}

.section {
    margin-top: 100px;
}

.eyebrow {
    margin: 0 0 48px;
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

.button {
    display: inline-block;
    margin-top: 12px;
    padding: 13px 20px;
    border: 1px solid currentColor;
}

.section-title {
    margin: 0 0 32px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.site-footer {
    margin-top: 120px;
    padding: 32px 0;
    border-top: 1px solid var(--line);
}

    .site-footer .container {
        text-align: center;
    }

.site-footer__inner {
    display: flex;
    justify-content: space-evenly;
    color: var(--muted);
    font-size: 0.875rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 720px) {
    .page-width,
        .site-header__inner {
            width: calc(100% - 28px);
        }

    .site-header__inner {
            height: 60px;
        }

    .section {
            margin-top: 64px;
        }

    .site-footer__inner {
            flex-direction: column;
            gap: 8px;
        }

}

.image-placeholder {
    min-height: 250px;
    display: grid;
    place-items: center;
    background: #ddd9d2;
    color: var(--muted);
}

.image-placeholder--large {
    min-height: 650px;
    font-size: 1.2rem;
}

.image-caption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 0.85rem;
}

.content-section {
    margin-bottom: 64px;
}

.content-section p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

.metadata-list {
    margin: 0;
}

    .metadata-list > div {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
    }

.metadata-list dt {
        color: var(--muted);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

.metadata-list dd {
        margin: 5px 0 0;
    }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-list a {
        padding: 9px 14px;
        border: 1px solid var(--line);
        border-radius: 999px;
    }

@media (max-width: 800px) {
    .image-placeholder--large {
            min-height: 400px;
        }

}

.image-placeholder--portrait {
    min-height: 520px;
}

@media (max-width: 800px) {
    .image-placeholder--portrait {
            min-height: 400px;
        }

}

.button-light {
    display: inline-block;
    margin-top: 12px;
    padding: 14px 20px;
    border: 1px solid var(--paper);
    background: var(--paper);
    color: var(--dark);
    text-decoration: none;
}

.button-light:hover {
        background: transparent;
        color: var(--paper);
        text-decoration: none;
    }

.museum-experiences {
    position: sticky;
    bottom: 0;
    z-index: 1;
    min-height: min(390px, 80vw);
    margin-top: 0;
    padding: 80px 0;
    background: var(--background);
}

.museum-experiences__header {
    margin: 0 0 22px;
    padding: 0 34px 18px;
    border-bottom: 1px solid var(--line);
}

.museum-experiences__header h2 {
        margin: 0;
        font-size: clamp(48px, 6vw, 86px);
        line-height: .95;
        letter-spacing: -.045em;
    }

.museum-experiences__scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 20px;
    scroll-snap-type: x proximity;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
}

    .museum-experiences__scroll::-webkit-scrollbar {
        display: none;
    }

    .museum-experiences__scroll.is-dragging {
        cursor: grabbing;
        scroll-snap-type: none;
    }

        .museum-experiences__scroll.is-dragging img {
            -webkit-user-drag: none;
            user-select: none;
        }

.museum-experience {
    position: relative;
    z-index: 1;
    flex: 0 0 min(390px, 80vw);
    scroll-snap-align: start;
    color: inherit;
    text-decoration: none;
    flex-shrink: 0;
    scroll-snap-align: start;
}

    .museum-experience:hover {
        text-decoration: none;
    }

.museum-experience__image {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #ddd;
}

    .museum-experience__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.15s ease-in-out;
    }

.museum-experience:hover img {
    transform: scale(1.02);
}

.museum-experience__content {
    padding-top: 12px;
}

.museum-experience__content h3 {
        margin: 0 0 4px;
        font-size: 23px;
        line-height: 1.1;
    }

.museum-experience__content p {
        max-width: 370px;
        margin: 0;
        color: var(--muted);
        font-size: 17px;
        line-height: 1.4;
    }

@media (max-width: 700px) {
    .museum-experiences {
            margin-top: 90px;
        }

    .museum-experiences__header,
        .museum-experiences__scroll {
            padding-left: 20px;
            padding-right: 20px;
        }

    .museum-experience {
            flex-basis: 82vw;
        }

}

/* Shared semantic color aliases used by component styles */
:root {
    --ink: var(--text);
    --paper: var(--background);
    --red: #b74331;
    --blue: #476a8f;
    --gold: #aa8534;
    --green: #55735a;
}
