@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Playfair+Display:wght@500;600&display=swap');


:root {
    --background: #f5f1ea;
    --cream: #e7dfd2;
    --white: #fbfaf7;
    --text: #27241f;
    --muted: #777067;
    --border: #d5cec2;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    color: var(--text);
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
}


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


/* NAVIGATION */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;

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

    padding: 22px 6vw;

    background: rgba(245, 241, 234, 0.95);

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


.logo {
    font-family: "Playfair Display", serif;
    font-size: 1.5rem;
}


.logo span {
    font-style: italic;
}


nav {
    display: flex;
    gap: 30px;

    font-size: 0.9rem;
}


nav a {
    transition: opacity 0.2s ease;
}


nav a:hover {
    opacity: 0.5;
}


.menu-toggle {
    display: none;

    background: none;
    border: none;

    font-family: inherit;
    cursor: pointer;
}


/* TYPOGRAPHY */

h1,
h2,
h3 {
    font-family: "Playfair Display", serif;
    font-weight: 500;
    line-height: 1.08;
}


h1 {
    font-size: clamp(3.5rem, 7vw, 7rem);
}


h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
}


h3 {
    font-size: 1.5rem;
}


.eyebrow {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 0.7rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


.section-label {
    color: var(--muted);

    font-size: 0.7rem;

    letter-spacing: 0.18em;

    text-transform: uppercase;
}


/* BUTTON */

.button {
    display: inline-block;

    width: fit-content;

    margin-top: 28px;

    padding: 14px 24px;

    background: var(--text);

    color: white;

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

    cursor: pointer;

    font-family: inherit;

    transition: all 0.3s ease;
}


.button:hover {
    background: transparent;
    color: var(--text);
}


/* HERO */

.hero {
    display: grid;

    grid-template-columns: 1fr 1fr;

    min-height: 85vh;
}


.hero-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 8vw;
}


.hero-content h1 {
    max-width: 700px;

    margin-bottom: 28px;
}


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

    color: var(--muted);

    font-size: 1.05rem;
}


.hero-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
    object-fit: cover;
    display: block;
}

.project-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


/* STUDIO */

.studio {
    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 80px;

    padding: 12vw;

    max-width: 1300px;
}


.studio-content {
    max-width: 800px;
}


.studio-content h2 {
    margin-bottom: 40px;
}


.studio-content p {
    max-width: 650px;

    margin-bottom: 20px;

    color: var(--muted);
}


/* PROJECTS */

.projects {
    padding: 9vw 6vw;

    background: var(--white);
}


.section-header {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 60px;
}


.section-header > p {
    max-width: 250px;

    color: var(--muted);
}


.project-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


.project-image {
    min-height: 500px;

    background-size: cover;

    background-position: center;
}


/* Temporary concept images */

.project-one {
    background:
        linear-gradient(
            145deg,
            #d6c9b8,
            #a38d76 50%,
            #62554a
        );
}


.project-two {
    background:
        linear-gradient(
            35deg,
            #98978b,
            #d9d1c3 50%,
            #686055
        );
}


.project-three {
    background:
        linear-gradient(
            135deg,
            #c3b5a2,
            #776b60 50%,
            #393631
        );
}


.project-offset {
    margin-top: 80px;
}


.project-info {
    padding-top: 18px;
}


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

    color: var(--muted);

    font-size: 0.8rem;
}


/* SERVICES */

.services {
    padding: 12vw;

    background: var(--cream);
}


.service-list {
    margin-top: 60px;
}


.service {
    display: grid;

    grid-template-columns: 80px 1fr;

    gap: 40px;

    padding: 32px 0;

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


.service span {
    color: var(--muted);

    font-size: 0.8rem;
}


.service h3 {
    margin-bottom: 10px;
}


.service p {
    max-width: 550px;

    color: var(--muted);
}


/* CONTACT */

.contact {
    padding: 13vw 6vw;

    text-align: center;
}


.contact h2 {
    margin-bottom: 25px;
}


.contact > p:not(.eyebrow):not(.success-message) {
    color: var(--muted);
}


.success-message {
    display: none;

    margin-top: 20px;

    color: #586451;
}


.success-message.show {
    display: block;
}


/* FOOTER */

footer {
    display: flex;

    justify-content: space-between;

    padding: 25px 6vw;

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

    color: var(--muted);

    font-size: 0.75rem;
}


/* MOBILE */

@media (max-width: 760px) {

    .navbar {
        padding: 20px 6vw;
    }


    .menu-toggle {
        display: block;
    }


    nav {
        display: none;

        position: absolute;

        top: 70px;

        left: 0;

        right: 0;

        flex-direction: column;

        gap: 20px;

        padding: 25px 6vw;

        background: var(--background);

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


    nav.open {
        display: flex;
    }


    .hero {
        grid-template-columns: 1fr;
    }


    .hero-content {
        padding: 18vw 7vw 12vw;
    }


    .hero-image {
        min-height: 60vh;
    }


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

        gap: 35px;

        padding: 18vw 8vw;
    }


    .projects {
        padding: 18vw 7vw;
    }


    .section-header {
        display: block;
    }


    .section-header > p {
        margin-top: 20px;
    }


    .project-grid {
        grid-template-columns: 1fr;
    }


    .project-offset {
        margin-top: 45px;
    }


    .project-image {
        min-height: 65vh;
    }


    .services {
        padding: 18vw 8vw;
    }


    .service {
        grid-template-columns: 40px 1fr;

        gap: 15px;
    }


    footer {
        flex-direction: column;

        gap: 8px;
    }

}