/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f4f1e9;
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

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

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

figure,
p,
h1,
h2,
h3 {
    margin-top: 0;
}

.eyebrow,
.project-number,
.more-text span {
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .17em;
    font-weight: 700;
    text-transform: uppercase;
}


/* =========================================================
   NAV
========================================================= */

.nav {
    width: 100%;
    height: 72px;
    padding: 0 5vw;

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

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(244, 241, 233, .94);
    backdrop-filter: blur(15px);

    border-bottom: 1px solid #d8d3ca;
}

.brand {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -.05em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 13px;
}


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

.hero {
    min-height: calc(100vh - 72px);

    padding: 65px 6vw 80px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
}

.hero h1 {
    margin: 70px 0;

    font-size: clamp(82px, 13vw, 190px);
    line-height: .77;
    letter-spacing: -.075em;
    font-weight: 800;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: end;
}

.hero-bottom h2 {
    margin: 0;

    font-size: clamp(42px, 5vw, 72px);
    line-height: .9;
    letter-spacing: -.055em;
}

.hero-description {
    max-width: 600px;
}

.hero-description p {
    margin: 0 0 28px;

    max-width: 540px;

    font-size: 19px;
    line-height: 1.5;
    color: #59544c;
}

.button {
    display: inline-block;

    padding: 14px 21px;

    background: #111;
    color: white;

    border-radius: 100px;

    font-size: 14px;
}


/* =========================================================
   SELECTED WORK INTRO
========================================================= */

.intro {
    padding: 110px 6vw 65px;

    border-top: 1px solid #d8d3ca;
}

.intro h2 {
    margin: 24px 0 0;

    font-size: clamp(50px, 7vw, 100px);
    line-height: .89;
    letter-spacing: -.06em;
}


/* =========================================================
   PROJECT BASE
========================================================= */

.project {
    width: calc(100% - 8vw);
    max-width: 1700px;

    margin: 0 auto 28px;

    padding: 45px;

    background: #ffffff;
}

.project-number {
    margin-bottom: 25px;
}

.project-heading {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    align-items: end;

    margin-bottom: 42px;
}

.project-heading h3 {
    margin: 0;

    font-size: clamp(58px, 7vw, 105px);
    line-height: .82;
    letter-spacing: -.065em;
}

.project-heading p {
    margin: 0;

    max-width: 600px;

    font-size: 17px;
    line-height: 1.55;

    color: #68635c;
}


/* =========================================================
   STANDARD PROJECT IMAGE
========================================================= */

.project-image {
    width: 100%;

    background: #e7e4de;

    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: auto;

    object-fit: contain;
}

.project-image-contain {
    padding: clamp(20px, 4vw, 70px);
}

.project-image-contain img {
    max-height: none;
}


/* CITY */

.project-image-city {
    background: #dfdfdf;
}


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

.project-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;

    align-items: start;

    padding-top: 30px;
}

.project-footer p {
    margin: 0;

    max-width: 550px;

    color: #68635c;

    font-size: 14px;
    line-height: 1.55;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    padding: 8px 13px;

    border: 1px solid #111;
    border-radius: 100px;

    font-size: 11px;
}


/* =========================================================
   ART HOUSE
========================================================= */

.project-art {
    background: #fff;
}

.art-main {
    width: 100%;

    padding: clamp(20px, 4vw, 65px);

    background: #e6e3dc;
}

.art-main img {
    width: 100%;
    height: auto;

    object-fit: contain;
}


/* Product + Cart */

.art-flow {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-top: 20px;
}

.art-flow figure {
    margin: 0;

    background: #eeeeec;

    padding: clamp(18px, 3vw, 45px);
}

.art-flow figure img {
    width: 100%;
    height: auto;

    object-fit: contain;

    background: white;
}

.art-flow figcaption {
    padding-top: 18px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}


/* =========================================================
   NIMES
========================================================= */

.nimes-main {
    width: 100%;

    padding: clamp(20px, 4vw, 60px);

    background: #e9eaeb;
}

.nimes-main img {
    display: block;

    width: min(100%, 1100px);
    height: auto;

    margin: 0 auto;

    object-fit: contain;
}


/* Catalog + product page */

.nimes-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 20px;

    margin-top: 20px;
}

.nimes-secondary figure {
    margin: 0;

    padding: clamp(18px, 3vw, 45px);

    background: #f0f0ef;
}

.nimes-secondary img {
    width: 100%;
    height: auto;

    object-fit: contain;
}

.nimes-secondary figcaption {
    padding-top: 18px;

    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
}


/* =========================================================
   MORE WORK
========================================================= */

.more-work {
    margin-top: 120px;

    padding: 110px 4vw;

    background: #111111;
    color: #ffffff;
}

.more-heading {
    margin-bottom: 65px;
}

.more-heading h2 {
    margin: 22px 0 0;

    font-size: clamp(60px, 8vw, 120px);
    line-height: .84;
    letter-spacing: -.065em;
}


/* LUMI / QUIZ */

.more-project {
    margin-bottom: 22px;

    background: #1b1b1b;
}

.more-image {
    width: 100%;

    padding: clamp(18px, 3vw, 45px);

    background: #222222;
}

.more-image img {
    width: 100%;
    height: auto;

    object-fit: contain;
}

.more-text {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 50px;

    padding: 32px;
}

.more-text h3 {
    margin: 10px 0 0;

    font-size: clamp(38px, 5vw, 70px);
    line-height: .9;
    letter-spacing: -.05em;
}

.more-text p {
    margin: 0;

    max-width: 550px;

    font-size: 15px;
    line-height: 1.55;

    color: #aaa;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    padding: 120px 6vw;

    display: grid;
    grid-template-columns: .9fr 1.1fr;

    gap: 9vw;
}

.about h2 {
    margin: 25px 0 0;

    font-size: clamp(50px, 6vw, 85px);
    line-height: .9;
    letter-spacing: -.055em;
}

.bio {
    max-width: 720px;
}

.bio p {
    font-size: 17px;
    line-height: 1.65;

    color: #57524a;
}

.bio .lead {
    font-size: 27px;
    line-height: 1.4;

    color: #111;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 30px;
}

.skills span {
    padding: 9px 14px;

    border: 1px solid #aaa49b;
    border-radius: 100px;

    font-size: 12px;
}


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

footer {
    padding: 100px 6vw 40px;

    background: #e45f38;
    color: #111;
}

footer h2 {
    margin: 45px 0 90px;

    font-size: clamp(70px, 11vw, 160px);
    line-height: .8;
    letter-spacing: -.075em;
}

.contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;

    border-top: 1px solid rgba(0, 0, 0, .35);
}

.contact-links a {
    padding: 25px 0;

    border-bottom: 1px solid rgba(0, 0, 0, .35);

    font-size: clamp(20px, 2.2vw, 32px);
    font-weight: 700;

    overflow-wrap: anywhere;
}

.contact-links a + a {
    padding-left: 25px;

    border-left: 1px solid rgba(0, 0, 0, .35);
}

.contact-links small {
    display: block;

    margin-bottom: 8px;

    font-size: 9px;
    letter-spacing: .16em;
}

.copyright {
    margin: 80px 0 0;

    font-size: 11px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .project {
        width: calc(100% - 40px);
        padding: 30px;
    }

    .project-heading {
        gap: 30px;
    }

    .art-flow,
    .nimes-secondary {
        gap: 12px;
    }

}


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

@media (max-width: 700px) {

    /* NAV */

    .nav {
        height: 62px;

        padding: 0 18px;
    }

    .brand {
        font-size: 22px;
    }

    .nav-links {
        gap: 13px;
    }

    .nav-links a {
        font-size: 10px;
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding: 48px 20px 70px;
    }

    .hero-top {
        align-items: flex-start;
    }

    .status {
        font-size: 9px;
    }

    .hero h1 {
        margin: 80px 0;

        font-size: clamp(66px, 22vw, 100px);
        line-height: .78;
    }

    .hero-bottom {
        display: block;
    }

    .hero-bottom h2 {
        font-size: 46px;
    }

    .hero-description {
        margin-top: 35px;
    }

    .hero-description p {
        font-size: 16px;
    }


    /* INTRO */

    .intro {
        padding: 75px 20px 38px;
    }

    .intro h2 {
        font-size: 46px;
        line-height: .92;
    }


    /* PROJECT */

    .project {
        width: calc(100% - 20px);

        margin-bottom: 12px;

        padding: 18px;
    }

    .project-number {
        margin-bottom: 18px;

        font-size: 9px;
    }

    .project-heading {
        display: block;

        margin-bottom: 25px;
    }

    .project-heading h3 {
        font-size: 49px;
        line-height: .88;
    }

    .project-heading p {
        margin-top: 22px;

        font-size: 14px;
    }


    /* IMPORTANT:
       no fixed heights on portfolio images */

    .project-image,
    .art-main,
    .nimes-main {
        height: auto;
    }

    .project-image-contain,
    .art-main,
    .nimes-main {
        padding: 10px;
    }

    .project-image img,
    .art-main img,
    .nimes-main img {
        width: 100%;
        height: auto;

        object-fit: contain;
    }


    /* PROJECT FOOTER */

    .project-footer {
        display: block;

        padding-top: 22px;
    }

    .project-footer p {
        margin-top: 20px;

        font-size: 13px;
    }

    .tags span {
        padding: 7px 10px;

        font-size: 9px;
    }


    /* ART HOUSE */

    .art-flow {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 10px;
    }

    .art-flow figure {
        padding: 10px;
    }

    .art-flow figure img {
        width: 100%;
        height: auto;
    }


    /* NIMES */

    .nimes-secondary {
        grid-template-columns: 1fr;

        gap: 10px;

        margin-top: 10px;
    }

    .nimes-secondary figure {
        padding: 10px;
    }

    .nimes-secondary img {
        width: 100%;
        height: auto;
    }


    /* MORE */

    .more-work {
        margin-top: 75px;

        padding: 75px 10px;
    }

    .more-heading {
        padding: 0 10px;

        margin-bottom: 35px;
    }

    .more-heading h2 {
        font-size: 52px;
    }

    .more-project {
        margin-bottom: 12px;
    }

    .more-image {
        padding: 10px;
    }

    .more-text {
        display: block;

        padding: 22px;
    }

    .more-text h3 {
        font-size: 38px;
    }

    .more-text p {
        margin-top: 22px;

        font-size: 14px;
    }


    /* ABOUT */

    .about {
        padding: 80px 20px;

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .about h2 {
        font-size: 48px;
    }

    .bio .lead {
        font-size: 22px;
    }

    .bio p {
        font-size: 15px;
    }


    /* FOOTER */

    footer {
        padding: 75px 20px 35px;
    }

    footer h2 {
        margin-bottom: 65px;

        font-size: 17vw;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }

    .contact-links a {
        font-size: 20px;
    }

    .contact-links a + a {
        padding-left: 0;

        border-left: 0;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {

    .nav-links {
        gap: 9px;
    }

    .nav-links a {
        font-size: 9px;
    }

    .hero h1 {
        font-size: 21vw;
    }

    .hero-bottom h2 {
        font-size: 40px;
    }

    .intro h2 {
        font-size: 40px;
    }

    .project-heading h3 {
        font-size: 43px;
    }

    .more-heading h2 {
        font-size: 45px;
    }

}