:root {
    --ink: #191919;
    --paper: #fbfaf7;
    --mist: #f1efe9;
    --red: #c81410;
    --warm: #b98860;
    --line: #ddd9d0;
    --blue: #1596d1;
    --display: Georgia,"Times New Roman",serif;
    --body: Arial,"Helvetica Neue",sans-serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    line-height: 1.5
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: -4rem;
    background: var(--ink);
    color: #fff;
    padding: .7rem 1rem;
    z-index: 99
}

.skip-link:focus {
    top: 1rem
}

a {
    color: inherit;
    text-decoration: none
}

button,input,textarea {
    font: inherit
}

button {
    cursor: pointer
}

.site-header {
    height: 90px;
    display: flex;
    align-items: center;
    gap: clamp(1rem,3vw,4.25rem);
    padding: 0 clamp(1.25rem,5vw,6rem);
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.97);
    position: sticky;
    top: 0;
    z-index: 20
}

.brand img {
    width: 145px;
    height: auto;
    display: block
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem,2.2vw,2.75rem);
    flex: 1;
    text-transform: uppercase;
    font-size: .69rem;
    letter-spacing: .08em
}

.site-nav a {
    padding: .55rem 0;
    border-bottom: 2px solid transparent
}

.site-nav .is-active,.site-nav a:hover {
    border-color: var(--red)
}

.main-site {
    font-size: .73rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    text-transform: uppercase
}

.hero {
    position: relative;
    background: #ded9d0;
    overflow: hidden
}

.hero-slides {
    height: min(56vw,935px);
    min-height: 440px
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .6s ease
}

.hero-slide.is-active {
    opacity: 1
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-rail {
    position: absolute;
    left: clamp(1rem,6vw,7rem);
    bottom: 0;
    color: rgba(26,25,23,.71);
    font-size: clamp(3rem,8vw,10rem);
    font-weight: 700;
    letter-spacing: .02em;
    line-height: .74;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-shadow: 0 8px 16px rgba(0,0,0,.16)
}

.hero-controls {
    position: absolute;
    right: clamp(1rem,4vw,5rem);
    bottom: 1.5rem;
    display: flex;
    gap: .45rem
}

.hero-controls button {
    border: 1px solid rgba(255,255,255,.75);
    background: rgba(26,26,25,.55);
    color: #fff;
    padding: .55rem .8rem
}

.hero-controls .pause-button {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .06em
}

.event-section {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    background: #eeece7
}

.event-art {
    min-height: 560px;
    overflow: hidden
}

.event-art img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.event-card {
    padding: clamp(3rem,7vw,8rem) clamp(1.5rem,7vw,8rem);
    align-self: center
}

.event-card h1,.video-copy h2,.contact-section h2,.section-title h2 {
    font: clamp(2.4rem,5vw,5.9rem)/.92 var(--display);
    letter-spacing: -.065em;
    margin: 0 0 2rem
}

.event-card em,.video-copy em,.contact-section em,.section-title em {
    font-weight: 400
}

.event-card dl {
    display: flex;
    gap: 3rem;
    margin: 0 0 2rem
}

.event-card dt {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #6e6e6e
}

.event-card dd {
    font-size: 1.35rem;
    margin: .25rem 0 0;
    font-weight: 700
}

.countdown {
    display: flex;
    gap: .8rem;
    margin: 2rem 0
}

.countdown div {
    background: #fff;
    border-radius: 12px;
    padding: .75rem;
    min-width: 68px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.05)
}

.countdown b {
    font-size: 1.8rem;
    line-height: 1;
    display: block
}

.countdown span {
    font-size: .63rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #777
}

.catalogue-banner {
    position: relative;
    overflow: hidden
}

.catalogue-banner img {
    width: 100%;
    display: block;
    min-height: 310px;
    object-fit: cover
}

.catalogue-banner a {
    display: block;
}

.catalogue-banner a span {
    margin-left: 2rem;
    font-size: 1.25rem
}

.exhibition-list {
    padding: clamp(4rem,8vw,9rem) clamp(1rem,7vw,9rem);
    background: #fff
}

.section-title {
    text-align: center;
    margin-bottom: 3rem
}

.section-title h2 {
    font-size: clamp(2.8rem,5vw,5rem);
    margin: 0
}

.exhibition-tabs {
    display: flex;
    height: 440px;
    gap: 5px;
    max-width: 1400px;
    margin: auto
}

.exhibition-tab {
    padding: 0;
    border: 0;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
    background: #222;
    color: #fff;
    text-align: left;
    transition: flex .45s cubic-bezier(.2,.8,.2,1)
}

.exhibition-tab.is-active {
    flex: 5
}

.exhibition-tab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82
}

.exhibition-tab span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    color: #fff;
    background: linear-gradient(transparent,rgba(0,0,0,.75));
    display: grid;
    gap: .1rem
}

.exhibition-tab b {
    font-size: 1.1rem
}

.exhibition-tab small {
    font-size: .67rem;
    text-transform: uppercase;
    letter-spacing: .08em
}

.video-section {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    background: var(--ink);
    color: #fff
}

.video-art {
    min-height: 560px;
    position: relative
}

.video-art img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 78px;
    height: 78px;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 1.3rem
}

.video-copy {
    padding: clamp(3rem,7vw,8rem)
}

.video-copy h2 {
    font-size: clamp(2.4rem,4.2vw,4.8rem)
}

.video-copy p:not(.eyebrow) {
    color: #c8c7c4;
    max-width: 29rem
}

.video-copy a {
    display: inline-block;
    margin-top: 1.4rem;
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .1em;
    border-bottom: 1px solid #fff;
    padding-bottom: .4rem
}

.video-copy a span {
    margin-left: 1rem
}

.highlights img {
    display: block;
    width: 100%
}

.contact-section {
    padding: clamp(4rem,8vw,8rem) clamp(1rem,9vw,12rem);
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(2rem,8vw,10rem);
    background: #f4f1ea
}

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

.contact-section>div>p:not(.eyebrow) {
    max-width: 28rem
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

label {
    display: grid;
    gap: .38rem;
    text-transform: uppercase;
    font-size: .65rem;
    letter-spacing: .1em;
    font-weight: 700
}

input,textarea {
    border: 0;
    border-bottom: 1px solid #aba7a0;
    background: transparent;
    padding: .65rem 0;
    resize: vertical;
    outline-color: var(--red)
}

textarea {
    min-height: 5.5rem
}

form label:nth-child(4) {
    grid-column: span 2
}

.form-message {
    grid-column: span 2;
    margin: 0;
    color: #35652d;
    font-size: .85rem
}

.floating-contact {
    position: fixed;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 18;
    display: grid;
    gap: .35rem;
    padding: .45rem;
    background: rgba(255,255,255,.9);
    box-shadow: 0 5px 20px rgba(0,0,0,.14)
}

.floating-contact a,.floating-contact button {
    border: 0;
    background: none;
    padding: 0;
    width: 34px;
    height: 34px
}

.floating-contact img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.site-footer {
    background: #111;
    color: #fff;
    padding: 4rem clamp(1.25rem,7vw,8rem);
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 3rem;
    align-items: end
}

.site-footer>div:first-child img {
    width: 130px;
    filter: invert(1);
    margin-bottom: 1rem
}

.site-footer p {
    font-size: .7rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c2c2c2
}

.site-footer h3 {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em
}

.footer-video {
    width: 100%;
    height: 170px;
    object-fit: cover
}

.menu-toggle:focus-visible,a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px
}

@media(max-width:800px) {
    .site-header {
        height: 70px;
        flex-wrap: wrap;
        gap: .75rem
    }

    .brand img {
        width: 115px
    }

    .menu-toggle {
        display: block;
        margin-left: auto
    }

    .site-nav {
        display: none;
        order: 5;
        width: 100%;
        padding: 1rem;
        background: #fff;
        flex-direction: column;
        align-items: flex-start
    }

    .site-nav.is-open {
        display: flex
    }

    .main-site {
        display: none
    }

    .hero-slides {
        height: 78vh;
        min-height: 480px
    }

    .hero-rail {
        font-size: 4.5rem;
        left: 1rem
    }

    .event-section,.video-section,.contact-section {
        grid-template-columns: 1fr
    }

    .event-art,.video-art {
        min-height: 360px
    }

    .event-card {
        padding: 3.5rem 1.5rem
    }

    .event-card dl {
        gap: 1.5rem
    }

    .countdown div {
        min-width: 58px
    }

    .exhibition-tabs {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .exhibition-tab,.exhibition-tab.is-active {
        height: 210px;
        flex: auto
    }

    .exhibition-tab.is-active {
        grid-column: span 2
    }

    .contact-section {
        padding: 4rem 1.25rem
    }

    form {
        grid-template-columns: 1fr
    }

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

    .site-footer {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem
    }

    .footer-video {
        height: 190px
    }

    .floating-contact {
        right: .65rem
    }

    .catalogue-banner a {
        left: 1rem;
        bottom: 1rem
    }

    .hero-controls {
        right: 1rem
    }

    .video-copy {
        padding: 3.5rem 1.5rem
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .hero-slide,.exhibition-tab {
        transition: none
    }
}
