:root {
    color-scheme: light;
    font-family: "Archivo", sans-serif;
    color: #171717;
    background: #fff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 40px 3.65vw;
    display: grid;
    grid-template-columns: minmax(170px, 19.8vw) minmax(0, 1fr);
    gap: 1.3vw;
    font-size: 0.75rem; 
    font-weight: 400;
    line-height: 1.45;
}

h1 {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.2;
}

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

.sidebar a:hover,
.sidebar a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sidebar {
    align-self: start;
    position: sticky;
    top: 40px;
    width: 100%;
    max-width: 215px;
}

.sidebar-top {
    display: block;
}

.site-name {
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 16px;
    padding-top: 0px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.menu-icon {
    display: grid;
    gap: 3px;
    width: 14px;
}

.menu-icon span {
    height: 1px;
    background: currentColor;
}

.nav-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 15px;
}

.nav-heading {
    margin: 0 0 2px;
}

.nav-item {
    display: block;
    padding: 2px 0 2px 10px;
}

.nav-item.is-active {
    font-weight: 500;
}

.nav-section-links {
    margin-top: 2px;
}

.nav-section-links > .nav-item {
    padding-left: 0;
}

.social-links {
    display: flex;
    gap: 4px;
    margin-top: 10px;
}

.page-content {
    min-width: 0;
    padding-top: 1px;
}

.project-page {
    width: 100%;
    max-width: 960px;
}

.project-header {
    margin-bottom: 16px;
}

.page-title {
    margin: 0 0 15px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.2;
}



.page-text {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.project-info {
    margin: 2px 0 0;
}

.project-content .work {
    margin: 0;
}

.work {
    width: 100%;
    max-width: 960px;
    margin: 0;
}

.work-media {
    display: block;
    width: 100%;
    max-height: 72vh;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #f3f3f3;
}

figcaption {
    margin-top: 9px;
    text-align: right;
}

.work-still {
    width: auto;
    max-width: 100%;
    max-height: 72vh;
    aspect-ratio: auto;
    margin-inline: auto;
    background: transparent;
}

.work-photo {
    width: auto;
    max-width: 100%;
    max-height: 72vh;
    aspect-ratio: auto;
    margin: 24px auto 0;
    background: transparent;
}

.project-content p:has(> .work-photo) {
    margin-bottom: 0;
}

.project-content p:has(> .image-caption){
    margin-top: 0;
}

.image-caption {
    margin: 2px 0 20px;
    color: #555;
    font-size: 11px;
    font-style: normal;
    line-height: 1.45;
    text-align: right;
}

.artist-page {
    padding-top: 1px;
}

.bio-copy {
    max-width: 680px;
}

.bio-copy p {
    margin: 0 0 14px;
}

iframe.work-media {
    border: 0;
}

@media (max-width: 700px) {
    body {
        min-height: 100vh;
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .sidebar {
        position: static;
        max-width: none;
    }

    .site-name {
        margin-bottom: 15px;
    }

    .sidebar-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .sidebar-top .site-name {
        margin-bottom: 12px;
    }

    .mobile-menu-toggle:not([hidden]) {
        display: inline-flex;
    }

    .nav-section {
        margin-bottom: 12px;
    }

    .social-links {
        margin-top: 0;
    }

    .page-content {
        width: 100%;
    }

    .work-media {
        max-height: 65vh;
    }
}