@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');


/* =========================================
   RESET
========================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f2;
    color: #111;
    line-height: 1.5;
}

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

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


/* =========================================
   HEADER
========================================= */

header {
    position: static;
    width: 100%;
    height: 80px;

    padding: 30px 5vw 0;

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

    background: transparent;
}

.workmark img {
    width: 20rem;
    height: auto;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 14px;
    text-transform: lowercase;

    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.5;
}


/* =========================================
   GENERAL
========================================= */

section {
    padding: 140px 8vw;
}

.sectionTitle {
    margin-bottom: 70px;
}

.sectionTitle h2 {
    font-size: clamp(36px, 5vw, 70px);
    font-weight: 400;
    letter-spacing: -0.04em;
}


/* =========================================
   HOME
========================================= */

.home {
    min-height: calc(100vh - 80px);

    display: flex;
    align-items: center;

    padding: 80px 8vw;
}

.homeContent {
    max-width: 1100px;
}

.home h1 {
    font-size: clamp(70px, 12vw, 180px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: -0.06em;
}

.animatedText {
    margin-top: 35px;
}

.animatedText p {
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 300;
    letter-spacing: -0.03em;
}

.viewWork {
    display: inline-block;

    margin-top: 70px;

    font-size: 15px;

    border-bottom: 1px solid #111;
    padding-bottom: 5px;

    transition: opacity 0.2s ease;
}

.viewWork:hover {
    opacity: 0.5;
}


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

.about {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 40px;

    border-top: 1px solid #111;
}

.aboutContent {
    max-width: 850px;
}

.aboutContent > p {
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.035em;

    margin-bottom: 35px;
}

.aboutContent h3 {
    margin-top: 90px;
    margin-bottom: 15px;

    font-size: 14px;
    font-weight: 400;
    text-transform: lowercase;
}

.skillsList {
    font-size: 18px;
}


/* =========================================
   PROJECTS
========================================= */

.projects {
    border-top: 1px solid #111;
}

.project {
    margin-bottom: 110px;
}

.projectIntro {
    max-width: 850px;
    margin-bottom: 50px;
}

.projectIntro h3 {
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;

    margin-bottom: 15px;
}

.projectIntro p:first-of-type {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    margin-bottom: 25px;
}

.projectIntro p:last-of-type {
    max-width: 650px;

    font-size: 19px;
    line-height: 1.4;
}


/* =========================================
   PROJECT STATS
========================================= */

.projectDetails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    margin-bottom: 50px;

    border-top: 1px solid #111;
    border-bottom: 1px solid #111;

    padding: 30px 0;
}

.projectStat strong {
    display: block;

    font-size: clamp(30px, 4vw, 55px);
    font-weight: 400;
    letter-spacing: -0.04em;
}

.projectStat span {
    display: block;

    margin-top: 5px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* =========================================
   GENERAL GALLERIES
========================================= */

.workGallery {
    width: 100%;
}

.workGallery img {
    max-width: 100%;
}


/* =========================================
   KINDRED
========================================= */

.kindredGallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;

}

.kindredLink {
    min-height: 300px;
    padding: 30px;

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

    background: #deded9;

    transition: transform 0.2s ease, background 0.2s ease;
}

.kindredLink span:first-child {
    font-size: 30px;
    letter-spacing: -0.03em;
}

.kindredLink span:last-child {
    font-size: 14px;
}

.kindredLink:hover {
    transform: translateY(-5px);
}


/* =========================================
   CNDR
========================================= */


.cndrGallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.cndrMain {
    grid-column: 1 / -1;
}

.cndrMain,
.cndrItem {
    background: #deded9;
    padding: 60px;
}

.cndrGallery img {
    width: 75%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.cndrMain img {
    width: 65%;
}


/* =========================================
   LUNA CLARA
========================================= */

.lunaGallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.lunaGallery img {
    width: 100%;
}


/* =========================================
   VIDEO
========================================= */

.coreGallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.coreLogo {
    background: #deded9;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.coreLogo img {
    width: 45%;
    height: auto;
    display: block;
}

.videoGallery {
    display: flex;
    align-items: center;
}

.videoGallery video {
    width: 100%;
    display: block;
}


/* =========================================
   DIVIDERS
========================================= */

hr {
    border: 0;
    border-top: 1px solid #111;

    margin: 0 0 110px;
}


/* =========================================
   OTHER WORK
========================================= */

.otherWork {
    margin-top: 40px;
}

.otherWork .projectIntro {
    margin-bottom: 50px;
}
.otherWorkGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.otherProject {
    border-top: 1px solid #111;

    padding-top: 20px;
}

.otherProject img {
    width: 100%;
    height: 300px;
    object-fit: contain;
    background: #deded9;
    padding: 30px;
    box-sizing: border-box;
    margin-bottom: 25px;
}

.otherProject h4 {
    font-size: 25px;
    font-weight: 400;
    letter-spacing: -0.03em;

    margin-bottom: 5px;
}

.otherProject p {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;

    margin-bottom: 15px;
}

.otherProject a {
    font-size: 14px;

    border-bottom: 1px solid #111;
    padding-bottom: 3px;

    transition: opacity 0.2s ease;
}

.otherProject a:hover {
    opacity: 0.5;
}


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

.contact {
    min-height: 70vh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-top: 1px solid #111;
}

.contactContent p {
    font-size: clamp(30px, 4vw, 60px);
    line-height: 1.05;
    letter-spacing: -0.04em;

    margin-bottom: 40px;
}

.contactContent a {
    font-size: 18px;

    border-bottom: 1px solid #111;
    padding-bottom: 5px;

    transition: opacity 0.2s ease;
}

.contactContent a:hover {
    opacity: 0.5;
}


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

footer {
    padding: 40px 8vw;

    border-top: 1px solid #111;

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

    font-size: 13px;
}

.footerSocials {
    display: flex;
    gap: 25px;
}

.footerSocials a {
    transition: opacity 0.2s ease;
}

.footerSocials a:hover {
    opacity: 0.5;
}


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

@media (max-width: 800px) {

    header {
        height: 65px;
        padding: 25px 6vw 0;
    }

    .workmark img {
        width: 45px;
    }

    nav {
        gap: 15px;
    }

    nav a {
        font-size: 12px;
    }


    section {
        padding: 100px 6vw;
    }


    .home {
        min-height: calc(100vh - 65px);
        padding: 80px 6vw 60px;
    }

    .home h1 {
        font-size: 19vw;
    }


    .about {
        display: block;
    }

    .about .sectionTitle {
        margin-bottom: 40px;
    }


    .projectDetails {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    .kindredGallery,
    .cndrGallery,
    .lunaGallery {
        grid-template-columns: 1fr;
    }


    .kindredLink {
        min-height: 300px;
    }


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


    .otherProject img {
        height: auto;
        min-height: 250px;
    }


    hr {
        margin-bottom: 80px;
    }


    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

}