@charset "UTF-8";
@import url("https://use.typekit.net/ive7spj.css");

html {
    font-size: 100%;
    scrollbar-gutter: stable;
}

body {
    font-family: "instrument-sans-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-weight: 500;
    font-size: var(--body-font-size);
    -webkit-transition: opacity .35s ease-in-out;
    -o-transition: opacity .35s ease-in-out;
    transition: opacity .35s ease-in-out;
}

body.loading {
    opacity: 0;
}

h1 {
    font-family: "instrument-serif", serif;
    font-weight: 400;
    font-size: var(--header-font-size);
    font-style: normal;
    line-height: 100%;
    color: var(--txt-color);
    word-break: break-all;
}

img,
video {
    width: 100%;
}

a:visited,
a:active,
a:focus,
button:visited,
button:active,
button:focus {
    color: var(--txt-color) !important;
}

strong {
    font-variation-settings: "wdth" 100, "wght" 700;
    font-weight: 700;
}

figcaption {
    font-size: 14px;
    line-height: 100%;
    margin-top: 10px;
}

note-tag {
    display: inline;
    font-size: 14px;
}

.header {
    width: 100%;
    position: fixed;
    top: var(--padding-y);
    left: 0;
    padding-right: var(--padding-x);
    padding-left: var(--padding-x);
    pointer-events: none;
    z-index: 999;
}

.nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.nav-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-column-gap: var(--padding-x);
    -moz-column-gap: var(--padding-x);
    column-gap: var(--padding-x);
    row-gap: 0;
}

.nav-button {
    font-family: "instrument-serif", serif;
    font-weight: 400;
    font-size: var(--header-font-size);
    font-style: normal;
    line-height: 100%;
    color: var(--txt-color);
    pointer-events: all;
}

.nav-button.--active,
.related-button.--active {
    font-style: italic;
}

a.nav-button.--active:hover,
.nav-button.--inactive,
a.related-button.--active:hover,
.related-button.--inactive {
    color: var(--txt-color-variant);
}

.nav-button:hover,
.related-button:hover {
    color: var(--txt-color);
    font-style: italic;
}

.main {
    position: relative;
    min-height: var(--doc-height);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--gallery-gap);
    padding-top: calc(var(--header-height) + var(--gallery-gap) * 2);
    padding-right: var(--padding-x);
    padding-bottom: var(--gallery-gap);
    padding-left: var(--padding-x);
}

.main section {
    -webkit-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

.main section.--disabled {
    opacity: .15;
}

.gallery-container,
.gallery-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(9, 1fr);
    row-gap: var(--gallery-gap);
    justify-items: center;
}

.gallery-item {
    -webkit-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

.gallery-item.--filtered,
.gallery-item.--selected {
    opacity: 1;
}

.gallery-item.--selected:has(a) img,
.gallery-item.--selected:has(a) video,
.gallery-item.--filtered.--selected:has(a) img,
.gallery-item.--filtered.--selected:has(a) video {
    outline: solid 3px var(--acc-color);
}

.gallery-item.--filtered.--selected img,
.gallery-item.--filtered.--selected video,
.gallery-item.--unfiltered img,
.gallery-item.--unfiltered video {
    outline: none;
}

.gallery-item.--unselected {
    opacity: .15;
}

.gallery-item.--unfiltered {
    opacity: .15;
    pointer-events: none;
}

.gallery-item.--playing img,
.gallery-item.--playing video {
    outline: solid 3px var(--txt-color-variant);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    -o-object-fit: cover;
    object-fit: cover;
    opacity: 0;
    -webkit-transition: opacity .35s ease-in-out;
    -o-transition: opacity .35s ease-in-out;
    transition: opacity .35s ease-in-out;
}

.overlay-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    font-family: "instrument-serif", serif;
    font-weight: 400;
    font-size: var(--header-font-size);
    word-break: break-all;
    text-align: center;
    margin: 0;
    padding: 0 var(--padding-x);
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

.overlay-container.--opacity {
    opacity: 1;
}

.overlay-container span {
    font-family: "instrument-sans-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
}

.info-container {
    width: 100%;
    height: var(--doc-height);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.info-container.--open {
    opacity: 1;
}

.info-container.--open .text-item {
    padding-bottom: 1rem;
    pointer-events: all;
    cursor: auto;
}

.info-wrapper {
    height: 100%;
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr var(--gallery-gap) 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gallery-gap);
    padding-top: calc(var(--header-height) + var(--gallery-gap));
    padding-right: var(--padding-x);
    padding-bottom: var(--padding-y);
    padding-left: var(--padding-x);
    overflow: scroll;
    scrollbar-width: none;
}

.info-wrapper::-webkit-scrollbar {
    display: none;
}

.text-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--gallery-gap);
}

.text-item,
.audio-item,
.video-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
}

.text-item a {
    text-decoration: underline;
    -webkit-text-decoration-color: var(--acc-color);
    text-decoration-color: var(--acc-color);
    text-decoration-thickness: 3px;
    text-underline-offset: 3px;
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
}

.text-item a:hover {
    -webkit-text-decoration-color: var(--txt-color);
    text-decoration-color: var(--txt-color);
    text-decoration-thickness: 2px;
}

.footer-wrapper a {
    -webkit-transition: all .15s ease;
    -o-transition: all .15s ease;
    transition: all .15s ease;
}

.footer-wrapper a:hover {
    text-decoration: underline;
    -webkit-text-decoration-color: var(--txt-color);
    text-decoration-color: var(--txt-color);
    text-decoration-thickness: 2px;
}

.flex-container,
.grid-container {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: var(--gallery-gap);
}

.content-wrapper,
.cover-wrapper,
.collection-wrapper {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr var(--gallery-gap) 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gallery-gap);
}

.cover-item img,
.cover-item video,
.collection-item img,
.collection-item video {
    width: 100%;
    display: block;
}

.title-container {
    position: sticky;
    bottom: var(--padding-y);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: end;
}

.title-container.--absolute {
    position: absolute;
    bottom: 4rem;
    right: var(--padding-x);
}

.title-container h1 {
    text-align: end;
}

.title-container span {
    font-family: "instrument-sans-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    padding-top: 8px;
}

.lightbox-container {
    width: 100%;
    height: var(--doc-height);
    position: fixed;
    top: 0;
    left: 0;
    background: var(--bg-color-variant);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: var(--gallery-gap);
    padding: var(--padding-y) var(--padding-x);
    z-index: 9999;
}

.lightbox-wrapper {
    width: 90%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}

.lightbox-caption {
    font-size: 14px;
    line-height: 100%;
    margin-top: 1rem;
}

.lightbox-ui {
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.lightbox-counter {
    min-width: var(--gallery-gap);
    text-align: end;
    pointer-events: none;
}

.lightbox-close {
    font-family: "instrument-sans-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-weight: 500;
    font-size: var(--body-font-size);
    margin-left: 1rem;
    cursor: -webkit-zoom-out;
    cursor: zoom-out;
}

.lightbox-caption::-moz-selection,
.lightbox-counter::-moz-selection,
.lightbox-close::-moz-selection {
    background: transparent;
}

.lightbox-caption::-moz-selection,
.lightbox-counter::-moz-selection,
.lightbox-close::-moz-selection {
    background: transparent;
}

.lightbox-caption::selection,
.lightbox-counter::selection,
.lightbox-close::selection {
    background: transparent;
}

.footer {
    width: 100%;
    position: sticky;
    top: var(--doc-height);
    padding-top: var(--gallery-gap);
    padding-right: var(--padding-x);
    padding-bottom: var(--padding-y);
    padding-left: var(--padding-x);
}

.footer:has(.related-container) {
    padding-top: 0;
}

.footer.--disabled {
    opacity: .15;
}

.footer-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
}

.related-container {
    font-family: "instrument-serif", serif;
    font-weight: 400;
    font-size: var(--header-font-size);
    font-style: normal;
    line-height: 100%;
    color: var(--txt-color);
    word-break: break-all;
    padding-bottom: var(--gallery-gap);
}

.related-container span {
    font-style: italic;
    color: var(--txt-color-variant);
}

audio {
    width: 100%;
}

audio::-webkit-media-controls-enclosure {
    padding: 0;
}

input[type="range" i]::-webkit-media-slider-container,
audio::-webkit-media-controls-panel {
    background: var(--bg-color);
    border-radius: 0px;
    padding: 0;
}

audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display,
video::-webkit-media-controls-current-time-display,
video::-webkit-media-controls-time-remaining-display {
    font-family: "instrument-sans-variable", sans-serif;
    font-variation-settings: "wdth" 100, "wght" 500;
    font-weight: 500;
    font-size: 14px;
}

@media (max-width: 900px) {

    .gallery-container,
    .gallery-wrapper,
    .lightbox-container {
        -ms-grid-columns: 1fr 1fr 1fr 1fr 1fr;
        grid-template-columns: repeat(5, 1fr);
    }

    .content-wrapper,
    .cover-wrapper,
    .collection-wrapper,
    .info-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .lightbox-wrapper {
        width: 80%;
    }
}

@media (max-width: 600px) {
    figcaption {
        font-size: 12px;
    }

    .header {
        background-color: var(--bg-color-variant);
    }

    .menu-wrapper {
        width: 75%;
    }

    .buttons-wrapper {
        position: fixed;
        top: 20px;
        right: var(--padding-y);
    }

    .buttons-wrapper .nav-button {
        font-size: 24px;
        font-family: "instrument-sans-variable", sans-serif;
    }

    .main {
        padding-bottom: 0;
    }

    .gallery-container,
    .gallery-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-column-gap: var(--gallery-gap);
        -moz-column-gap: var(--gallery-gap);
        column-gap: var(--gallery-gap);
    }

    .gallery-item.--unfiltered {
        display: none;
    }

    .gallery-item.--selected {
        outline: none;
    }

    .gallery-item.--unselected {
        opacity: 1;
    }

    .overlay-container {
        position: static;
        width: auto;
        height: auto;
        margin-top: 10px;
        pointer-events: all;
        opacity: 1;
    }

    .overlay-container span {
        display: none;
    }

    .title-container {
        background-color: var(--bg-color-variant);
    }

    .title-container.--absolute {
        position: sticky;
        bottom: var(--padding-y);
    }

    .title-container h1 {
        text-align: end;
    }

    .title-container span {
        padding-bottom: 8px;
    }

    .lightbox-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: end;
        -ms-flex-align: end;
        align-items: flex-end;
    }

    .lightbox-wrapper {
        width: 100%;
    }

    .lightbox-caption {
        width: 65%;
        position: absolute;
        bottom: var(--padding-y);
    }

    .related-container {
        padding-top: 8px;
    }

    .footer-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
}