/* =========================================
   LUME
   Photography / Creative Studio
========================================= */


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

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0b0b0b;
    color: #e8e5df;
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
}


/* =========================================
   VARIABLES
========================================= */

:root {
    --bg: #0b0b0b;
    --surface: #111111;
    --text: #e8e5df;
    --muted: #777777;
    --line: rgba(232, 229, 223, 0.14);
    --accent: #c5a978;
}


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

.site-header {
    position: absolute;
    top: 0;
    left: 50%;

    transform: translateX(-50%);

    width: min(1440px, calc(100% - 80px));

    height: 100px;

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

    z-index: 20;

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

    transition:
        background 0.4s ease,
        border-color 0.4s ease;
}

.site-header.scrolled {
    position: fixed;

    background: rgba(11, 11, 11, 0.88);

    backdrop-filter: blur(14px);
}


/* =========================================
   LOGO
========================================= */

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

    font-size: 24px;

    letter-spacing: 2px;
}


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

.main-nav {
    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    z-index: 10;

    display: flex;

    flex-direction: column;

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

    gap: 26px;

    margin: 0;
    padding: 0;

    background: var(--bg);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: none;

    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.main-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: none;
}

.main-nav a {
    position: relative;

    font-size: 9px;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    color: var(--muted);

    transition: color 0.3s ease;
}

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

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--accent);

    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--text);
}

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


/* =========================================
   MENU BUTTON
========================================= */

.menu-button {
    display: none;

    border: 0;

    background: transparent;

    color: var(--text);

    cursor: pointer;

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;
}


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

.hero {
    position: relative;

    width: min(1440px, calc(100% - 80px));

    min-height: 100vh;

    margin: 0 auto;

    display: flex;
    align-items: center;

    padding-top: 100px;

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

.hero-content {
    position: relative;

    z-index: 2;

    width: 62%;
}

.eyebrow {
    display: block;

    margin-bottom: 30px;

    font-size: 9px;

    font-weight: 500;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: var(--muted);
}

.hero h1 {
    max-width: 850px;

    font-family: "Playfair Display", serif;

    font-size: clamp(70px, 9.5vw, 145px);

    font-weight: 400;

    line-height: 0.88;

    letter-spacing: -5px;
}

.hero h1 em {
    display: block;

    margin-left: 11vw;

    color: var(--accent);

    font-style: italic;
}

.hero p {
    max-width: 310px;

    margin-top: 55px;

    font-size: 12px;

    line-height: 1.9;

    color: var(--muted);
}

.hero-link {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    margin-top: 40px;

    padding-bottom: 8px;

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

    font-size: 9px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--text);

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}

.hero-link:hover {
    gap: 28px;

    color: var(--accent);
}

.hero-link span {
    font-size: 14px;
}


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

.hero-image {
    position: absolute;

    right: 4%;

    top: 18%;

    width: 32%;

    height: 64%;

    overflow: hidden;

    background: var(--surface);
}

.hero-image img,
.project-image img {
    opacity: 0;

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

.hero-image img.loaded,
.project-image img.loaded {
    opacity: 1;
}

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


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

.hero-index {
    position: absolute;

    right: 0;

    bottom: 30px;

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--muted);
}


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

.projects {
    width: min(1440px, calc(100% - 80px));

    margin: 0 auto;

    padding: 170px 0 190px;
}

.section-intro {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    margin-bottom: 100px;
}

.section-intro > span {
    font-size: 9px;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: var(--muted);
}

.section-intro p {
    max-width: 310px;

    margin: 0;

    font-size: 11px;

    line-height: 1.9;

    color: var(--muted);
}


/* =========================================
   PROJECT GRID
========================================= */

.project-grid {
    display: grid;

    grid-template-columns: 1.45fr 0.8fr;

    column-gap: 80px;

    row-gap: 150px;

    align-items: start;
}


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

.project {
    display: block;
}

.project-large {
    grid-row: span 2;
}

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

.project-image {
    overflow: hidden;

    background: var(--surface);
}

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

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

.project-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;
}

.project:hover .project-image img {
    transform: scale(1.045);

    filter: brightness(0.82);
}


/* =========================================
   PROJECT INFO
========================================= */

.project-info {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    padding-top: 22px;
}

.project-info > div > span {
    display: block;

    margin-bottom: 8px;

    font-size: 8px;

    letter-spacing: 2px;

    text-transform: uppercase;

    color: var(--muted);
}

.project-info h2 {
    font-family: "Playfair Display", serif;

    font-size: 34px;

    font-weight: 400;

    line-height: 1;

    letter-spacing: -1px;
}

.project-number {
    padding-top: 3px;

    font-size: 8px;

    letter-spacing: 2px;

    color: var(--muted);
}


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

.about {
    width: min(1200px, calc(100% - 80px));

    margin: 0 auto;

    padding: 190px 0;

    display: grid;

    grid-template-columns: 160px 1fr;

    gap: 100px;

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

.about-number {
    padding-top: 8px;

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--muted);
}

.about-content .eyebrow {
    margin-bottom: 35px;
}

.about h2 {
    max-width: 800px;

    margin-bottom: 50px;

    font-family: "Playfair Display", serif;

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

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -4px;
}

.about h2 em {
    color: var(--accent);

    font-style: italic;
}

.about-content p {
    max-width: 540px;

    margin-bottom: 20px;

    font-size: 12px;

    line-height: 2;

    color: var(--muted);
}


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

.contact {
    width: min(1440px, calc(100% - 80px));

    margin: 0 auto;

    padding: 180px 0;

    text-align: center;

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

.contact .eyebrow {
    margin-bottom: 45px;
}

.contact h2 {
    max-width: 1000px;

    margin: 0 auto 65px;

    font-family: "Playfair Display", serif;

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

    font-weight: 400;

    line-height: 0.88;

    letter-spacing: -5px;
}

.contact h2 em {
    color: var(--accent);

    font-style: italic;
}

.contact-link {
    display: inline-block;

    padding-bottom: 10px;

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

    font-size: 10px;

    letter-spacing: 2px;

    color: var(--text);

    transition:
        color 0.3s ease,
        border-color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent);
}


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

.site-footer {
    width: min(1440px, calc(100% - 80px));

    min-height: 90px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

.site-footer span {
    font-size: 8px;

    letter-spacing: 2px;

    color: var(--muted);
}


/* =========================================
   RESPONSIVE — TABLET
========================================= */

@media (max-width: 900px) {

    .hero-content {
        width: 70%;
    }

    .hero-image {
        right: 0;

        width: 35%;
    }

    .project-grid {
        column-gap: 40px;
    }

    .about {
        gap: 50px;
    }

}


/* =========================================
   RESPONSIVE — MOBILE
========================================= */

@media (max-width: 700px) {

    /* HEADER */

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

        height: 80px;
    }

    .main-nav {
        position: fixed;

        inset: 0;

        z-index: 10;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        gap: 26px;

        background: var(--bg);

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transition:
            opacity 0.4s ease,
            visibility 0.4s ease;
    }

    .main-nav.active {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;
    }

    .main-nav a {
        font-family: "Montserrat", sans-serif;

        font-size: 11px;

        font-weight: 400;

        letter-spacing: 3px;

        text-transform: uppercase;

        color: var(--text);
    }

    .main-nav a::after {
        display: none;
    }

    .menu-button {
        display: block;

        position: relative;

        z-index: 20;
    }


    /* HERO */

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

        min-height: 850px;

        display: block;

        padding-top: 180px;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: clamp(60px, 17vw, 100px);

        letter-spacing: -4px;
    }

    .hero h1 em {
        margin-left: 12vw;
    }

    .hero p {
        margin-top: 40px;
    }

    .hero-image {
        position: absolute;

        top: auto;

        right: 0;

        bottom: 70px;

        width: 65%;

        height: 40%;
    }

    .hero-index {
        bottom: 25px;
    }


    /* PROJECTS */

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

        padding: 110px 0 120px;
    }

    .section-intro {
        display: block;

        margin-bottom: 60px;
    }

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

    .project-grid {
        display: block;
    }

    .project {
        margin-bottom: 80px;
    }

    .project-small {
        margin-top: 0;
    }

    .project-large .project-image,
    .project-small .project-image {
        aspect-ratio: 4 / 5;
    }

    .project-info h2 {
        font-size: 30px;
    }


    /* ABOUT */

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

        display: block;

        padding: 120px 0;
    }

    .about-number {
        margin-bottom: 50px;
    }

    .about h2 {
        font-size: clamp(55px, 15vw, 90px);

        letter-spacing: -3px;

        margin-bottom: 40px;
    }


    /* CONTACT */

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

        padding: 120px 0;
    }

    .contact h2 {
        font-size: clamp(55px, 15vw, 90px);

        letter-spacing: -3px;

        margin-bottom: 50px;
    }


    /* FOOTER */

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

        min-height: 80px;
    }

}


/* =========================================
   EXTRA SMALL
========================================= */

@media (max-width: 420px) {

    .hero {
        min-height: 780px;

        padding-top: 150px;
    }

    .hero-image {
        width: 72%;

        height: 38%;
    }

    .project-info h2 {
        font-size: 27px;
    }

}