/* =========================================================
   ATELIER
   Fashion / Editorial
========================================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #e9e6df;
    color: #171716;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
}


/* =========================================================
   CURSOR
========================================================= */

.cursor {
    position: fixed;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #171716;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: difference;
}


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

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 0 45px;

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

    z-index: 100;

    color: #171716;
}

.logo {
    font-family: "DM Mono", monospace;
    font-size: 12px;
    letter-spacing: 4px;
}

.nav {
    display: flex;
    gap: 40px;
    margin-right: 80px;
}

.nav a,
.menu-toggle {
    color: inherit;
    background: none;
    border: 0;

    font-family: "DM Mono", monospace;
    font-size: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;
}

.nav a {
    position: relative;
}

.nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}


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

.hero {
    min-height: 100vh;

    padding: 120px 5vw 60px;

    display: grid;

    grid-template-columns: 1fr 0.85fr;
    grid-template-rows: auto 1fr;

    column-gap: 6vw;

    position: relative;
}


/* HERO TOP */

.hero-top {
    grid-column: 1 / -1;

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

    margin-bottom: 60px;

    font-family: "DM Mono", monospace;
    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 0.15em;

    color: #77736c;
}


/* HERO TITLE */

.hero-title {
    grid-column: 1;
    grid-row: 2;

    align-self: center;

    z-index: 2;
}

.hero-title h1 {
    margin: 0;

    display: flex;
    flex-direction: column;

    font-family: "Playfair Display", serif;

    font-size: clamp(4rem, 7vw, 8rem);

    font-weight: 400;
    line-height: 0.86;

    letter-spacing: -0.05em;

    text-transform: uppercase;
}

.hero-title h1 span {
    display: block;
}

.hero-title h1 span:nth-child(2) {
    margin-left: 5vw;
}

.hero-title h1 span:nth-child(3) {
    margin-left: 2vw;
}

.hero-title h1 span:nth-child(4) {
    margin-left: 7vw;
}

.hero-title h1 span:last-child {
    margin-top: 15px;

    font-size: 0.42em;

    font-style: italic;
    text-transform: none;

    letter-spacing: -0.02em;
}


/* HERO IMAGE */

.hero-image {
    grid-column: 2;
    grid-row: 2;

    position: relative;

    width: 78%;
    height: 68vh;

    margin-left: auto;

    overflow: hidden;

    align-self: center;

    background: #d8d4cc;
}

.hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.035);
}

.hero-image-label {
    position: absolute;

    right: 20px;
    bottom: 20px;

    display: flex;
    gap: 20px;

    font-family: "DM Mono", monospace;
    font-size: 7px;

    letter-spacing: 2px;

    color: #fff;

    mix-blend-mode: difference;
}


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

.intro {
    width: min(1400px, calc(100% - 90px));

    margin: 0 auto;

    padding: 240px 0;

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 80px;

    border-top: 1px solid #c9c5bd;
}

.section-index {
    font-family: "DM Mono", monospace;

    font-size: 7px;
    letter-spacing: 2px;

    color: #77736c;
}

.intro-content {
    max-width: 1000px;
}

.intro-title {
    max-width: 900px;

    font-family: "Playfair Display", serif;

    font-size: clamp(65px, 9vw, 135px);

    font-weight: 400;

    line-height: 0.88;

    letter-spacing: -6px;
}

.intro-title em {
    font-style: italic;
    color: #77736c;
}

.intro-text {
    max-width: 650px;

    margin: 120px 0 0 auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;
}

.intro-text p {
    font-size: 10px;

    line-height: 2;

    color: #66625c;
}


/* =========================================================
   EDITORIAL
========================================================= */

.editorial {
    width: min(1400px, calc(100% - 90px));

    margin: 0 auto;

    padding: 180px 0 220px;
}

.section-header {
    display: flex;

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

    margin-bottom: 120px;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #77736c;
}


/* EDITORIAL ITEM */

.editorial-item {
    position: relative;
}

.editorial-image {
    position: relative;

    overflow: hidden;

    background: #d5d1c9;
}

.editorial-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(0.2, 0.7, 0.2, 1),
        filter 0.8s ease;
}

.editorial-item:hover .editorial-image img {
    transform: scale(1.035);
}

.editorial-number {
    position: absolute;

    top: 18px;
    right: 18px;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 2px;

    color: #fff;

    mix-blend-mode: difference;
}


/* LOOK 01 */

.editorial-item-large {
    width: 40%;

    margin-left: 8%;
    margin-bottom: 190px;
}

.editorial-item-large .editorial-image {
    aspect-ratio: 4 / 5;
}


/* LOOK 02 */

.editorial-item-small {
    width: 27%;

    margin-left: 65%;
    margin-bottom: 190px;
}

.editorial-item-small .editorial-image {
    aspect-ratio: 4 / 5;
}


/* LOOK 03 */

.editorial-item-medium {
    width: 38%;

    margin-left: 17%;
    margin-bottom: 190px;
}

.editorial-item-medium .editorial-image {
    aspect-ratio: 4 / 5;
}


/* LOOK 04 */

.editorial-item-last {
    width: 25%;

    margin-left: 68%;
}

.editorial-item-last .editorial-image {
    aspect-ratio: 4 / 5;
}


/* EDITORIAL INFO */

.editorial-info {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    margin-top: 18px;
}

.editorial-info h3 {
    margin-bottom: 6px;

    font-family: "Playfair Display", serif;

    font-size: 22px;

    font-weight: 400;

    line-height: 1;
}

.editorial-info span {
    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    color: #77736c;
}


/* =========================================================
   CONCEPT
========================================================= */

.concept {
    padding: 220px 45px;

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 80px;

    background: #171716;

    color: #e9e6df;
}

.concept-content {
    max-width: 1100px;

    display: grid;

    grid-template-columns: 45% 1fr;

    gap: 100px;

    align-items: center;
}

.eyebrow {
    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.concept-copy h2 {
    margin: 50px 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(65px, 8vw, 115px);

    font-weight: 400;

    line-height: 0.88;

    letter-spacing: -5px;
}

.concept-copy h2 em {
    font-style: italic;

    color: #a39d92;
}

.concept-copy p {
    max-width: 350px;

    margin-bottom: 25px;

    font-size: 10px;

    line-height: 2;

    color: #9b978f;
}

.concept-detail {
    display: flex;

    flex-direction: column;

    gap: 0;

    border-top: 1px solid #3b3a37;
}

.concept-detail span {
    padding: 20px 0;

    border-bottom: 1px solid #3b3a37;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #a39d92;
}


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

.contact {
    padding: 230px 45px;

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 80px;

    border-top: 1px solid #c9c5bd;
}

.contact-content {
    max-width: 1100px;
}

.contact h2 {
    max-width: 1000px;

    margin: 55px 0;

    font-family: "Playfair Display", serif;

    font-size: clamp(80px, 11vw, 165px);

    font-weight: 400;

    line-height: 0.82;

    letter-spacing: -7px;
}

.contact h2 em {
    font-style: italic;

    color: #77736c;
}

.contact-content > p {
    max-width: 430px;

    margin-bottom: 45px;

    font-size: 10px;

    line-height: 2;

    color: #66625c;
}

.contact-link {
    display: inline-flex;

    align-items: center;

    gap: 30px;

    padding-bottom: 10px;

    border-bottom: 1px solid #171716;

    font-family: "DM Mono", monospace;

    font-size: 8px;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.contact-link span {
    font-size: 13px;
}


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

.footer {
    min-height: 90px;

    padding: 0 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top: 1px solid #c9c5bd;

    font-family: "DM Mono", monospace;

    font-size: 7px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: #77736c;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


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

@media (max-width: 900px) {

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

        column-gap: 4vw;
    }

    .hero-title h1 {
        font-size: clamp(3.5rem, 8vw, 6rem);
    }

    .intro {
        width: calc(100% - 60px);

        padding: 170px 0;

        gap: 50px;
    }

    .intro-title {
        font-size: clamp(55px, 9vw, 100px);

        letter-spacing: -4px;
    }

    .editorial {
        width: calc(100% - 60px);

        padding: 140px 0 170px;
    }

    .section-header {
        margin-bottom: 80px;
    }

    .editorial-item-large {
        width: 50%;

        margin-left: 5%;

        margin-bottom: 130px;
    }

    .editorial-item-small {
        width: 32%;

        margin-left: 60%;

        margin-bottom: 130px;
    }

    .editorial-item-medium {
        width: 42%;

        margin-left: 12%;

        margin-bottom: 130px;
    }

    .editorial-item-last {
        width: 30%;

        margin-left: 62%;
    }

    .concept {
        padding: 170px 30px;

        gap: 50px;
    }

    .concept-content {
        gap: 60px;
    }

    .contact {
        padding: 180px 30px;

        gap: 50px;
    }

    .contact h2 {
        font-size: clamp(65px, 10vw, 120px);

        letter-spacing: -5px;
    }

}


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

@media (max-width: 700px) {

    body {
        overflow-x: hidden;
    }


    /* HEADER */

    .header {
        width: 100vw;

        height: 70px;

        padding-left: 20px;
        padding-right: 20px;

        display: flex;

        justify-content: space-between;
    }

    .logo {
        position: absolute;

        left: 20px;
        top: 50%;

        transform: translateY(-50%);
    }

    .menu-toggle {
        position: absolute;

        right: 25px;
        left: auto;

        top: 50%;

        transform: translateY(-50%);

        display: block;

        color: #171716;

        background: transparent;

        border: 0;

        z-index: 10001;
    }

    .nav {
        position: fixed;

        left: 0;
        right: auto;

        top: 70px;

        width: 100vw;

        margin: 0;

        padding: 30px 20px;

        display: flex;

        flex-direction: column;

        gap: 25px;

        background: #e9e6df;

        z-index: 10000;

        opacity: 0;

        visibility: hidden;

        transform: translateY(-10px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;
    }

    .nav.menu-open {
        opacity: 1;

        visibility: visible;

        transform: translateY(0);
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding: 105px 20px 80px;

        display: flex;

        flex-direction: column;
    }

    .hero-top {
        order: 1;

        margin-bottom: 45px;

        font-size: 8px;
    }

    .hero-image {
        order: 2;

        width: 78%;

        height: 65vh;

        margin-left: auto;

        margin-bottom: 55px;
    }

    .hero-title {
        order: 3;

        width: 100%;
    }

    .hero-title h1 {
        font-size: clamp(3.2rem, 15vw, 5.5rem);

        line-height: 0.88;

        letter-spacing: -0.04em;
    }

    .hero-title h1 span:nth-child(2) {
        margin-left: 9vw;
    }

    .hero-title h1 span:nth-child(3) {
        margin-left: 3vw;
    }

    .hero-title h1 span:nth-child(4) {
        margin-left: 12vw;
    }


    /* INTRO */

    .intro {
        width: calc(100% - 40px);

        padding: 120px 0;

        display: block;
    }

    .section-index {
        margin-bottom: 45px;
    }

    .intro-title {
        font-size: clamp(48px, 14vw, 75px);

        letter-spacing: -3px;
    }

    .intro-text {
        margin-top: 70px;

        display: flex;

        flex-direction: column;

        gap: 25px;
    }


    /* EDITORIAL */

    .editorial {
        width: calc(100% - 40px);

        padding: 110px 0 130px;
    }

    .section-header {
        margin-bottom: 65px;
    }

    .editorial-item-large,
    .editorial-item-small,
    .editorial-item-medium,
    .editorial-item-last {
        width: 82%;

        margin-left: 0;

        margin-bottom: 90px;
    }

    .editorial-item-small,
    .editorial-item-last {
        margin-left: 18%;
    }

    .editorial-info h3 {
        font-size: 20px;
    }


    /* CONCEPT */

    .concept {
        padding: 130px 20px;

        display: block;
    }

    .concept .section-index {
        margin-bottom: 60px;
    }

    .concept-content {
        display: block;
    }

    .concept-copy h2 {
        margin: 40px 0;

        font-size: clamp(55px, 14vw, 80px);

        letter-spacing: -3px;
    }

    .concept-copy p {
        max-width: 100%;
    }

    .concept-detail {
        margin-top: 80px;
    }


    /* CONTACT */

    .contact {
        padding: 140px 20px;

        display: block;
    }

    .contact-content {
        max-width: 100%;
    }

    .contact h2 {
        margin: 45px 0;

        font-size: clamp(60px, 15vw, 90px);

        letter-spacing: -4px;
    }


    /* FOOTER */

    .footer {
        min-height: auto;

        padding: 25px 20px;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;

        font-size: 6px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

}

