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

:root {
    --cream: #f2eee7;
    --paper: #e9e3d9;
    --black: #171614;
    --muted: #77716a;
    --line: #cfc8bd;
    --accent: #8b4936;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--cream);
    color: var(--black);
    font-family: "DM Sans", sans-serif;
    overflow-x: hidden;
}

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

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ================= NAVBAR ================= */

.navbar {
    height: 80px;

    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    background: rgba(242, 238, 231, .88);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--line);
}

.logo {
    font-family: "Playfair Display", serif;

    font-size: 21px;

    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    font-size: 11px;
    color: #5e5953;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-contact {
    padding: 11px 18px;

    border: 1px solid var(--black);

    font-size: 10px;

    transition: .3s;
}

.nav-contact:hover {
    background: var(--black);
    color: white;
}

.menu-btn {
    display: none;

    background: none;
    border: 0;

    font-size: 23px;
}


/* ================= MOBILE MENU ================= */

.mobile-menu {
    display: none;
}


/* ================= HERO ================= */

.hero {
    min-height: 100vh;

    padding: 150px 7% 80px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.eyebrow,
.small-title {
    color: var(--accent);

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 3px;
}

.hero h1 {
    margin: 25px 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(60px, 8vw, 110px);

    font-weight: 400;

    line-height: .9;

    letter-spacing: -5px;
}

.hero h1 i,
h2 i {
    color: var(--accent);
    font-weight: 400;
}

.hero-text {
    max-width: 430px;

    margin-bottom: 30px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}

.hero-btn {
    display: inline-flex;

    align-items: center;

    gap: 25px;

    padding: 15px 20px;

    background: var(--black);

    color: white;

    font-size: 10px;
}

.hero-btn span {
    color: #d9b7a8;
}

.hero-image {
    height: 650px;

    position: relative;
}

.image-label {
    position: absolute;

    bottom: 18px;
    left: 18px;
    right: 18px;

    display: flex;
    justify-content: space-between;

    color: white;

    font-size: 8px;

    letter-spacing: 2px;
}


/* ================= INTRO ================= */

.intro {
    padding: 120px 15%;

    display: grid;

    grid-template-columns: 25% 1fr;

    gap: 60px;

    background: var(--paper);
}

.intro h2,
.section-heading h2,
.studio h2,
.artist h2,
.visit h2 {
    max-width: 750px;

    font-family: "Playfair Display", serif;

    font-weight: 400;

    font-size: clamp(45px, 6vw, 75px);

    line-height: 1;

    letter-spacing: -2px;
}

.intro > div > p {
    max-width: 500px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}


/* ================= COMMON ================= */

.section {
    padding: 130px 7%;
}

.section-heading {
    margin-bottom: 60px;

    display: flex;

    justify-content: space-between;

    align-items: end;
}

.section-heading > p {
    max-width: 260px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}


/* ================= GALLERY ================= */

.gallery-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px 25px;
}

.art-item.large {
    grid-row: span 2;
}

.art-item.wide {
    grid-column: span 2;
}

.art-item {
    overflow: hidden;
}

.art-item > img {
    height: 480px;

    transition: transform .7s ease;
}

.art-item.large > img {
    height: 750px;
}

.art-item.wide > img {
    height: 500px;
}

.art-item:hover img {
    transform: scale(1.04);
}

.art-info {
    padding: 15px 0;

    display: flex;

    justify-content: space-between;

    border-bottom: 1px solid var(--line);
}

.art-info h3 {
    font-family: "Playfair Display", serif;

    font-size: 19px;

    font-weight: 400;
}

.art-info p {
    margin-top: 5px;

    color: var(--muted);

    font-size: 8px;
}

.art-info span {
    color: var(--muted);

    font-size: 9px;
}


/* ================= STUDIO ================= */

.studio {
    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 100px;

    align-items: center;

    background: var(--paper);
}

.studio-image {
    height: 650px;
}

.studio-content > p:not(.small-title) {
    max-width: 450px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}

.text-link {
    display: inline-block;

    margin-top: 30px;

    padding-bottom: 5px;

    border-bottom: 1px solid var(--black);

    font-size: 10px;
}


/* ================= ARTIST ================= */

.artist {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

    align-items: center;
}

.artist-content {
    order: 2;
}

.artist-image {
    order: 1;

    height: 600px;
}

.artist-content > p:not(.small-title) {
    max-width: 450px;

    margin-top: 25px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}

.artist-signature {
    margin-top: 45px;

    font-family: "Playfair Display", serif;

    font-style: italic;

    font-size: 20px;
}


/* ================= EXHIBITION ================= */

.exhibition {
    min-height: 650px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    background: var(--black);

    color: white;
}

.exhibition-left {
    padding: 100px 10%;

    display: flex;

    flex-direction: column;

    justify-content: center;
}

.exhibition-left h2 {
    margin: 25px 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 7vw, 90px);

    line-height: .9;

    font-weight: 400;
}

.exhibition-left h2 i {
    color: #d6a38f;
}

.exhibition-left > p:not(.small-title) {
    max-width: 400px;

    color: #aaa;

    font-size: 11px;

    line-height: 1.8;
}

.light-btn {
    width: fit-content;

    margin-top: 30px;

    padding: 14px 20px;

    border: 1px solid #777;

    font-size: 9px;
}

.exhibition-image {
    min-height: 650px;
}


/* ================= VISIT ================= */

.visit {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.visit-details {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;
}

.visit-details > div:last-child {
    grid-column: span 2;
}

.visit-details span {
    color: var(--accent);

    font-size: 8px;

    letter-spacing: 2px;
}

.visit-details p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.8;
}


/* ================= CONTACT ================= */

.contact {
    padding: 150px 7%;

    text-align: center;

    background: var(--paper);

    border-top: 1px solid var(--line);
}

.contact h2 {
    margin: 25px auto;

    font-family: "Playfair Display", serif;

    font-size: clamp(55px, 8vw, 105px);

    font-weight: 400;

    line-height: .9;
}

.contact h2 i {
    display: block;
}

.contact > p:not(.small-title) {
    max-width: 450px;

    margin: 25px auto;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;
}

.contact-buttons {
    display: flex;

    justify-content: center;

    gap: 10px;

    margin-top: 35px;
}

.contact-buttons a {
    padding: 14px 23px;

    border: 1px solid var(--black);

    font-size: 9px;
}

.contact-buttons a:first-child {
    background: var(--black);

    color: white;
}


/* ================= FOOTER ================= */

footer {
    padding: 60px 7% 25px;

    background: #11100f;

    color: white;
}

.footer-top {
    display: flex;

    justify-content: space-between;

    align-items: center;
}

.footer-links {
    display: flex;

    gap: 25px;
}

.footer-links a {
    color: #aaa;

    font-size: 9px;
}

.footer-bottom {
    margin-top: 70px;

    padding-top: 20px;

    display: flex;

    justify-content: space-between;

    border-top: 1px solid #333;

    color: #777;

    font-size: 8px;
}

.footer-bottom a {
    color: #d6a38f;
}


/* ================= MOBILE ================= */

@media (max-width: 750px) {

    .navbar {
        height: 70px;

        padding: 0 5%;
    }

    .nav-links,
    .nav-contact {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .mobile-menu {
        position: fixed;

        top: 70px;
        left: 0;
        right: 0;

        z-index: 90;

        padding: 25px;

        background: var(--cream);

        border-bottom: 1px solid var(--line);
    }

    .mobile-menu.active {
        display: flex;

        flex-direction: column;

        gap: 20px;
    }

    .mobile-menu a {
        font-size: 13px;
    }


    .hero {
        padding: 120px 6% 70px;

        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero h1 {
        font-size: 65px;

        letter-spacing: -3px;
    }

    .hero-image {
        height: 450px;
    }


    .intro {
        padding: 90px 7%;

        grid-template-columns: 1fr;

        gap: 25px;
    }


    .section {
        padding: 90px 6%;
    }

    .section-heading {
        display: block;
    }

    .section-heading > p {
        margin-top: 25px;
    }


    .gallery-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .art-item.large {
        grid-row: auto;
    }

    .art-item.wide {
        grid-column: auto;
    }

    .art-item.large > img,
    .art-item > img,
    .art-item.wide > img {
        height: 450px;
    }


    .studio,
    .artist,
    .visit,
    .exhibition {
        grid-template-columns: 1fr;
    }

    .studio {
        gap: 50px;
    }

    .studio-image {
        height: 450px;
    }


    .artist {
        gap: 50px;
    }

    .artist-content {
        order: 1;
    }

    .artist-image {
        order: 2;

        height: 450px;
    }


    .exhibition-left {
        padding: 90px 7%;
    }

    .exhibition-image {
        min-height: 450px;
    }


    .visit {
        gap: 50px;
    }

    .visit-details {
        grid-template-columns: 1fr;
    }

    .visit-details > div:last-child {
        grid-column: auto;
    }


    .contact {
        padding: 100px 6%;
    }

    .contact-buttons {
        flex-direction: column;

        align-items: center;
    }


    .footer-top {
        flex-direction: column;

        align-items: flex-start;

        gap: 30px;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}