*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f5f5f1;
    color:#000;
    font-family:'Inter',sans-serif;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 35px;
}

.logo{
    font-weight:500;
}

nav{
    display:flex;
    gap:30px;
}

nav a{
    color:#000;
    text-decoration:none;
}

/* ---------- Homepage ---------- */

.intro{
    width:260px;
    margin-left:18%;
    margin-top:80px;
}

.intro h1{
    margin-top:15px;
    font-size:11px;
    line-height:1.8;
    font-weight:400;
}

.gallery{
    width:80%;
    margin:60px auto 120px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:40px;
}

.artwork{
    display:block;
    text-decoration:none;
    color:inherit;
}

.artwork img{
    width:100%;
    aspect-ratio:4/5;
    object-fit:cover;
    display:block;
    transition:opacity .3s ease;
}

.artwork:hover img{
    opacity:.75;
}

/* ---------- Individual Artwork Page ---------- */

.art-page{
    width:80%;
    margin:60px auto 120px;

    display:flex;
    gap:80px;
    align-items:flex-start;
}

.art-image{
    flex:2;
}

.art-image img{
    width:100%;
    display:block;
}

.art-details{
    flex:1;
    max-width:260px;
    position:sticky;
    top:60px;
}

.art-details h1{
    font-size:12px;
    font-weight:500;
    margin-bottom:35px;
}

.art-details p{
    margin-bottom:22px;
    line-height:1.8;
}

.art-details strong{
    font-weight:500;
}

/* ---------- About ---------- */

.about{
    width:80%;
    margin:120px auto;
}

.about h1{
    margin-top:20px;
    font-size:13px;
    font-weight:400;
    line-height:2;
}

.about-content{
    display:flex;
    gap:60px;
    align-items:flex-start;
    margin-top:40px;
}

.about-text{
    flex:1;
    max-width:420px;
}

.bio{
    line-height:2;
}

.about-image{
    flex:1;
}

.about-image img{
    width:100%;
    display:block;
    object-fit:cover;
}

/* ---------- Footer ---------- */

footer{
    position:fixed;
    bottom:25px;
    left:35px;
}

/* ---------- Responsive ---------- */

@media(max-width:900px){

    .gallery{
        grid-template-columns:repeat(2,1fr);
    }

    .art-page{
        flex-direction:column;
        gap:40px;
    }

    .art-details{
        position:static;
        max-width:100%;
    }

    .about-content{
        flex-direction:column;
    }

}

@media(max-width:600px){

    header{
        padding:20px;
    }

    .intro{
        width:auto;
        margin:50px 20px;
    }

    .gallery{
        width:90%;
        grid-template-columns:1fr;
        gap:25px;
    }

    .art-page{
        width:90%;
        margin:40px auto 80px;
    }

    .about{
        width:90%;
        margin:60px auto;
    }

}