@font-face {
    font-family: "EncodeSansSemi";
    src: url("/fonts/Encode_Sans_Semi_Condensed/EncodeSansSemiCondensed-ExtraLight.ttf") format("truetype");
    font-weight: 100;
}

@font-face {
    font-family: "EncodeSansSemiBold";
    src: url("/fonts/Encode_Sans_Semi_Condensed/EncodeSansSemiCondensed-Medium.ttf") format("truetype");
    font-weight: 500;
}

@font-face {
    font-family: "CormorantGaramond";
    src: url("/fonts/Cormorant_Garamond/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
    font-weight: 500;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0b0b;
    color: #f3f3f3;
    font-family: "EncodeSansSemi", sans-serif;
    line-height: 1.6;
}

/* LAYOUT **/
section {
    margin: 0 40px;
}

/* HERO **/
.hero {
    min-height: 100vh;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.75)
        );
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
}

.hero-content {
    margin: auto;
    max-width: 850px;
    padding: 2rem;
    text-align: center;
}

.hero h1,
.about-content h2,
.contact-section h2 {
    font-family: "CormorantGaramond", serif;
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero h3 {
    font-family: "CormorantGaramond", serif;
    font-size: clamp(1rem, 5vw, 4rem);
    font-weight: 500;
    color: #ccc;
}

.description {
    max-width: 650px;
    margin: auto;
    opacity: .85;
    font-size: 1.1rem;
}

/* NAVIGATION **/
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
}

.logo,
.nav a {
    font-size: .9rem;
    letter-spacing: .25rem;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: white;
    text-decoration: none;
    opacity: .8;
    transition: opacity .3s;
}

.nav a:hover {
    opacity: 1;
}

/* BUTTONS **/
.button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255,255,255,.3);
    color: white;
    text-decoration: none;
    transition:
        background .3s,
        color .3s;
}

.button:hover {
    background: white;
    color: black;
}

/* ABOUT **/
.about-content p {
    font-family: "EncodeSansSemi", sans-serif;
}

.about-content a,
.about-content a:visited {
    color: #ccc;
}

/* CONTACT **/
.contact-section {
    text-align: center;
}

/* FOOTER **/
.site-footer {
    padding: 40px;
    text-align: center;
    opacity: .6;
}

/* INLINE ARTIST IMAGES **/
.inline-circle-image,
.inline-circle-image-large {
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin-right: 16px;
}

.inline-circle-image {
    width: 60px;
    height: 60px;
}

.inline-circle-image-large {
    width: 80px;
    height: 80px;
}

.inline-circle-image img,
.inline-circle-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ART GRID **/
.art-grid {
    display: grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px, 1fr)
        );
    gap: 24px;
    padding: 40px;
}

.art-thumb {
    position: relative;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    transition:
        transform .28s ease,
        box-shadow .28s ease;
}

.art-thumb:hover {
    transform: scale(1.025);
    box-shadow:
        0 10px 30px rgba(0,0,0,.45);
}

.art-thumb img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    image-rendering: auto;
}

/* MODAL **/
.art-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(0,0,0,.88);
    backdrop-filter: blur(8px);
}

.art-modal.open {
    display: flex;
}

.art-modal-inner {
    width: 100%;
    max-width: 1600px;
    max-height: 90vh;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        380px;
    overflow: hidden;
    background: #111;
    box-shadow:
        0 20px 60px rgba(0,0,0,.6);
}

/* IMAGE PANEL */
.art-modal-image {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: black;
}

.art-modal-image img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

/* INFO PANEL */
.art-modal-info {
    display: flex;
    flex-direction: column;
    background: #151515;
    border-left:
        1px solid rgba(255,255,255,.05);
}

.art-modal-content {
    flex: 1;
    padding: 48px 40px;
    overflow-y: auto;
}

.art-modal-content h2 {
    font-family: "CormorantGaramond", serif;
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

#modal-video {
    display: none;
    max-width: 100%;
    max-height: 70vh;
}

/* META */
.meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 2rem;
}

.meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.meta-label {
    font-size: .78rem;
    letter-spacing: .14rem;
    text-transform: uppercase;
    opacity: .45;
}

#modal-description {
    line-height: 1.8;
    opacity: .88;
}

/* CONTROLS */
.art-modal-controls {
    display: flex;
    border-top:
        1px solid rgba(255,255,255,.05);
}

.modal-button {
    flex: 1;
    padding: 20px;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-family: "EncodeSansSemi", sans-serif;
    opacity: .8;
    transition:
        background .25s ease,
        opacity .25s ease;
}

.modal-button:hover {
    background: rgba(255,255,255,.06);
    opacity: 1;
}

/* RESPONSIVE **/
@media (max-width: 1000px) {

    .art-modal-inner {
        grid-template-columns: 1fr;
        max-height: none;
        overflow-y: auto;
    }

    .art-modal-image {
        max-height: 60vh;
    }

    .art-modal-content {
        padding: 32px 24px;
    }

}

@media (max-width: 700px) {

    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
    }

    .art-grid {
        padding: 20px;
        gap: 18px;
    }

    .art-thumb img {
        height: 220px;
    }

    .art-modal {
        padding: 0;
    }

    .art-modal-inner {
        height: 100vh;
    }

}