/* =========================================================
   SINGLE PROJECT
========================================================= */

body.single-project {
    background: #17110f;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: auto;
}

.single-project-page {
    width: 100%;
    background: #17110f;
    padding-bottom: 110px;
}


/* HEADER */

.project-header {
    width: min(1500px, calc(100% - 80px));
    min-height: 90px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.project-logo {
    width: 155px;
    height: auto;
}

.back-to-projects {
    color: rgba(255,255,255,0.55);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;

    transition: color 0.2s ease;
}

.back-to-projects:hover {
    color: #f26d57;
}


/* HERO */

.project-hero {
    width: min(1500px, calc(100% - 80px));

    margin: 0 auto;

    padding: 95px 0 120px;
}

.project-hero-copy {
    max-width: 900px;

    margin-bottom: 70px;
}

.project-kicker {
    margin: 0 0 20px;

    color: #f26d57;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.project-hero h1 {
    margin: 0;

    max-width: 1000px;

    font-size: clamp(64px, 9vw, 150px);
    font-weight: 800;

    line-height: 0.88;

    letter-spacing: -5px;
}

.project-subtitle {
    margin: 30px 0 0;

    max-width: 780px;

    color: rgba(255,255,255,0.72);

    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.3;
}

.project-intro {
    max-width: 620px;

    margin: 35px 0 0;

    color: rgba(255,255,255,0.55);

    font-size: 14px;
    line-height: 1.8;
}

.project-meta {
    margin-top: 42px;

    display: flex;
    gap: 70px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.meta-label {
    color: rgba(255,255,255,0.30);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.meta-value {
    color: rgba(255,255,255,0.82);

    font-size: 13px;
}

.project-hero-image {
    width: 100%;

    overflow: hidden;

    border-radius: 14px;
}

.project-hero-image img {
    width: 100%;
    height: auto;

    display: block;
}


/* PROJECT SECTIONS */

.project-sections {
    width: 100%;
}

.project-section {
    padding: 130px 0;
}

.project-section-copy {
    width: min(1100px, calc(100% - 80px));

    margin: 0 auto 70px;

    display: grid;
    grid-template-columns: 100px 1fr;

    gap: 45px;
}

.section-number {
    color: #f26d57;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-copy-inner {
    max-width: 760px;
}

.section-kicker {
    margin: 0 0 13px;

    color: rgba(255,255,255,0.40);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.section-copy-inner h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 72px);
    font-weight: 800;

    line-height: 0.98;

    letter-spacing: -2.5px;
}

.section-text {
    margin-top: 30px;

    max-width: 650px;

    color: rgba(255,255,255,0.60);

    font-size: 15px;
    line-height: 1.8;
}

.section-text p {
    margin: 0 0 1.4em;
}


/* IMAGES */

.section-image-large {
    width: min(1500px, calc(100% - 80px));

    margin: 0 auto;
}

.section-image img {
    width: 100%;
    height: auto;

    display: block;

    border-radius: 12px;
}

.section-image-grid {
    width: min(1500px, calc(100% - 80px));

    margin: 24px auto 0;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 24px;
}


/* ALTERNATING BACKGROUNDS */

.project-section:nth-child(even) {
    background: #1d1311;
}


/* CLOSING */

.project-closing {
    padding: 140px 0 110px;
}

.project-closing-image {
    width: min(1500px, calc(100% - 80px));

    margin: 0 auto;

    overflow: hidden;

    border-radius: 14px;
}

.project-closing-image img {
    width: 100%;
    height: auto;

    display: block;
}

.project-closing-copy {
    width: min(1100px, calc(100% - 80px));

    margin: 80px auto 0;
}

.closing-label {
    margin: 0 0 18px;

    color: #f26d57;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-closing-copy h2 {
    margin: 0;

    max-width: 900px;

    font-size: clamp(46px, 7vw, 100px);
    font-weight: 800;

    line-height: 0.92;

    letter-spacing: -4px;
}


/* BOTTOM */

/* =========================================================
   STICKY PROJECT NAVIGATION
========================================================= */

.project-sticky-nav {
    position: fixed;

    left: 50%;
    bottom: 18px;

    z-index: 999;

    transform: translateX(-50%);

    width:
        min(
            1100px,
            calc(100% - 48px)
        );

    min-height: 68px;

    padding:
        10px
        14px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    border:
        1px solid
        rgba(255,255,255,0.09);

    border-radius: 14px;

    background:
        rgba(23,17,15,0.86);

    box-shadow:
        0 18px 60px
        rgba(0,0,0,0.35);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}


/* BACK LINK */

.sticky-back-link {
    display: flex;

    align-items: center;

    gap: 13px;

    text-decoration: none;
}


.sticky-arrow {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,0.10);

    border-radius: 50%;

    color:
        rgba(255,255,255,0.75);

    font-size: 16px;

    transition:
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}


.sticky-back-copy {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.sticky-back-copy small {
    color:
        rgba(255,255,255,0.34);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.sticky-back-copy strong {
    color:
        rgba(255,255,255,0.90);

    font-size: 13px;

    font-weight: 600;

    transition:
        color 180ms ease;
}


/* HOVER */

.sticky-back-link:hover .sticky-arrow {
    background:
        #f26d57;

    border-color:
        #f26d57;

    color:
        #17110f;

    transform:
        translateX(-2px);
}


.sticky-back-link:hover .sticky-back-copy strong {
    color:
        #f26d57;
}


/* CURRENT PROJECT */

.sticky-project-name {
    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 3px;
}


.sticky-project-name span {
    color:
        rgba(255,255,255,0.28);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}


.sticky-project-name strong {
    color:
        rgba(255,255,255,0.68);

    font-size: 12px;

    font-weight: 500;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .project-header,
    .project-hero,
    .section-image-large,
    .section-image-grid,
    .project-closing-image,
    .project-bottom {
        width: calc(100% - 48px);
    }

    .project-section-copy,
    .project-closing-copy {
        width: calc(100% - 48px);
    }

    .project-section-copy {
        grid-template-columns: 70px 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .project-header {
        width: calc(100% - 36px);

        min-height: 72px;
    }

    .project-logo {
        width: 140px;
    }

    .back-to-projects {
        font-size: 8px;
    }


    .project-hero {
        width: calc(100% - 36px);

        padding: 60px 0 80px;
    }

    .project-hero-copy {
        margin-bottom: 45px;
    }

    .project-hero h1 {
        font-size: 58px;

        letter-spacing: -3px;
    }

    .project-subtitle {
        font-size: 20px;
    }

    .project-intro {
        font-size: 14px;
    }

    .project-meta {
        gap: 35px;

        flex-wrap: wrap;
    }


    .project-section {
        padding: 85px 0;
    }

    .project-section-copy {
        width: calc(100% - 36px);

        display: block;

        margin-bottom: 40px;
    }

    .section-number {
        display: block;

        margin-bottom: 20px;
    }

    .section-copy-inner h2 {
        font-size: 42px;

        letter-spacing: -1.5px;
    }

    .section-text {
        font-size: 14px;
    }


    .section-image-large,
    .section-image-grid {
        width: calc(100% - 36px);
    }

    .section-image-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 18px;
    }


    .project-closing {
        padding: 90px 0 80px;
    }

    .project-closing-image {
        width: calc(100% - 36px);
    }

    .project-closing-copy {
        width: calc(100% - 36px);

        margin-top: 50px;
    }

    .project-closing-copy h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }


    .project-bottom {
        width: calc(100% - 36px);

        padding: 40px 0 55px;
    }

    .project-sticky-nav {
    bottom: 12px;

    width:
        calc(100% - 24px);

    min-height: 60px;

    padding:
        9px
        10px;

    border-radius: 12px;
}


.sticky-arrow {
    width: 36px;
    height: 36px;
}


.sticky-back-copy strong {
    font-size: 12px;
}


.sticky-project-name {
    display: none;
}

}