/* ------------------------------
   BASIC RESET
------------------------------ */

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


html {
    scroll-behavior: smooth;
}


body {
    background: #0a0a0a;
    color: #f2f2f2;

    font-family: Arial, Helvetica, sans-serif;
}



/* ------------------------------
   LAYOUT
------------------------------ */

.site {
    display: flex;
    min-height: 100vh;
}



/* ------------------------------
   SIDEBAR
------------------------------ */

.sidebar {

    width: 220px;
    height: 100vh;

    position: fixed;
    left: 0;
    top: 0;

    padding: 28px 24px;

    display: flex;
    flex-direction: column;

    border-right: 1px solid #333;

}



/* LOGO */
.logo {
    display: block;
    width: 130px;
    text-decoration: none;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}


/* NAVIGATION */

.navigation {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 70px;
}

.navigation a:nth-child(3) {
    margin-top: 0;
}


.navigation a {

    color: #f2f2f2;

    text-decoration: none;

    font-size: 14px;

    text-transform: uppercase;

    transition:
        opacity 0.2s ease,
        background-position 0.3s ease;

}



/* HOVER */

.navigation a:hover {

    opacity: 0.45;

}



/* ACTIVE PAGE */

.navigation a.active {

    background: linear-gradient(
        90deg,
        #b8ff38 0%,
        #d9ef52 35%,
        #f39bc9 70%,
        #d94da5 100%
    );

    background-size: 200% auto;

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;

    font-weight: 600;

}



/* SIDEBAR FOOTER */

.sidebar-footer {

    margin-top: auto;

    font-size: 11px;

    line-height: 1.5;

    color: #888;

}




/* ------------------------------
   MAIN CONTENT
------------------------------ */

.content {
    margin-left: 220px;
    width: calc(100% - 220px);
    max-width: none;
    padding: 20px 50px 50px;
    box-sizing: border-box;
}

/* ------------------------------
   SECTION TITLES
------------------------------ */

.section-title {

    color: #f2f2f2;

    font-size: 16px;

    text-transform: uppercase;

}


.design-title {

    margin-bottom: 35px;

}


.illustration-title {

    margin-bottom: 35px;

}



/* ------------------------------
   PROJECT GRID
------------------------------ */

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 25px;
}



/* FEATURED PROJECT */

.project-featured {

    grid-column: 1 / -1;

}


.project-featured .project-image {
    aspect-ratio: 16 / 6.5;
    max-height: 600px;
}

.project-featured {
    margin-bottom: 50px;
}


/* PROJECT */

.project {

    color: inherit;

    text-decoration: none;

}



/* PROJECT IMAGE */

.project-image {

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #202020;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #333;

    transition:
        transform 0.35s ease,
        background 0.35s ease;

}


.project-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    display: block;

}



/* PROJECT HOVER */

.project:hover .project-image {

    transform: scale(0.985);

    background: #292929;

}



/* PROJECT INFO */

.project-info {

    padding-top: 12px;

}


.project-info h2 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.project-info p {
    color: #888;
    font-size: 14px;
}



/* ------------------------------
   ILLUSTRATION PAGE
------------------------------ */

.illustration-feature {
    width: 100%;
    margin-top: -60px;
    margin-bottom: 35px;
    overflow: hidden;
}


.illustration-feature video {

    width: 100%;

    height: auto;

    display: block;

}



/* ILLUSTRATION GRID */

.illustration-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}


.illustration-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


.illustration-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}



/* ------------------------------
   MOBILE
------------------------------ */

@media (max-width: 700px) {


    .site {

        display: block;

    }



    /* SIDEBAR */

    .sidebar {

        position: sticky;

        width: 100%;

        height: auto;

        padding: 18px;

        flex-direction: row;

        align-items: center;

        border-right: none;

        border-bottom: 1px solid #333;

        z-index: 100;

        background: #0a0a0a;

    }


/* More space above project navigation on mobile */
.project-navigation {
    padding-top: 60px !important;
}


    /* NAVIGATION */






.navigation {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 0;
    margin: 0 0 0 auto;
    align-items: center;
    justify-content: end;
}

.navigation a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 44px;
    padding: 0 4px;
    font-size: 10px;
    white-space: nowrap;
}
s


.navigation a:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.navigation a:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.navigation a:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.navigation a:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}




    /* FOOTER */

    .sidebar-footer {

        display: none;

    }



    /* CONTENT */

.content {
    margin-left: 0;
    width: 100%;
    padding: 24px 30px;
    box-sizing: border-box;
}


    /* PROJECT GRID */

    .work-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .project-featured {

        grid-column: auto;

    }


    .project-featured .project-image,
    .project-image {

        aspect-ratio: 4 / 3;

    }



    /* ILLUSTRATION GRID */

    .illustration-grid {

        grid-template-columns: 1fr;

        gap: 20px;

    }



    /* SECTION TITLES */

    .design-title,
    .illustration-title {

        margin-bottom: 25px;

    }



}



/* =========================================================
   GRAPHIC DESIGN GRID
   ========================================================= */

.work-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 2.5vw, 40px);
}

/* Save The Salmon stays full width */
.project-featured {
    grid-column: 1 / -1;
    width: 100%;
}

/* Let the featured image scale with the available space */
.project-featured .project-image {
    width: 100%;
    max-width: none;
}

/* =========================================================
   ILLUSTRATION GRID
   ========================================================= */

.illustration-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(20px, 2.5vw, 40px);
}

/* Keep illustration artwork centred */
.illustration-item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* =========================================================
   LARGE SCREENS
   ========================================================= */

@media (min-width: 1600px) {

    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .illustration-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}


/* =========================================================
   MEDIUM SCREENS
   ========================================================= */

@media (max-width: 1100px) {

    .work-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .illustration-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   SMALL SCREENS
   ========================================================= */

@media (max-width: 750px) {

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

    .project-featured {
        grid-column: auto;
    }

    .illustration-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 500px) {

    .content {
  padding-right: 20px;
padding-left: 20px;
    }

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

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

    .logo img {
    transform: translateX(-5px);
}

}


/* --------------------------------
   ABOUT PAGE
-------------------------------- */

.about-page {
    padding-top: 50px;
}

/* ABOUT INTRO */

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 70px;
    min-height: 420px;
}

.about-text {
    max-width: 620px;
}

.about-text h1 {
    font-size: clamp(70px, 7vw, 120px);
    line-height: 0.9;
    letter-spacing: -4px;
    margin: 25px 0 55px;
}

.about-text p {
    max-width: 560px;
    margin-bottom: 22px;
    line-height: 1.5;
}


.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}


/* ABOUT SECTIONS */

.about-section {
    margin-top: 75px;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.about-section-heading {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 35px;
}


/* EDUCATION */

.education-list {
    width: 100%;
}

.education-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
    padding: 25px 0;
    border-bottom: 1px solid #444;
}

.education-item:first-child {
    border-top: 1px solid #444;
}

.education-year {
    font-size: 14px;
}

.education-info h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 8px;
}

.education-info p {
    margin: 0;
    opacity: 0.65;
}


/* CAPABILITIES */

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #444;
}

.capabilities-grid div {
    padding: 22px 0;
    border-bottom: 1px solid #444;
    font-size: 20px;

    opacity: 0.82;
}




/* --------------------------------
   ABOUT — MOBILE
-------------------------------- */

@media (max-width: 800px) {

    .about-intro {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .about-text h1 {
        font-size: clamp(55px, 14vw, 90px);
        letter-spacing: -3px;
        margin-bottom: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        max-width: 500px;
    }

    .about-section {
        margin-top: 70px;
    }

    .education-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

.capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}

    .capabilities-grid div {
        font-size: 18px;
    
    }

/* Tighten project spacing on mobile only */
.work-grid {
    row-gap: 40px;
}

.work-grid > .project-featured {
    margin-bottom: 0;
}

}

/* --------------------------------
   CONTACT PAGE
-------------------------------- */

.contact-page {
    padding-top: 50px;
}

.contact-intro {
    max-width: 800px;
    padding-bottom: 100px;
}

.contact-intro h1 {
    font-size: clamp(70px, 7vw, 120px);
    line-height: 0.9;
    letter-spacing: -4px;
    margin: 25px 0 40px;
}

.contact-intro p {
    max-width: 500px;
    line-height: 1.5;
}


.contact-details {
    border-top: 1px solid #444;
}

.contact-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #444;
}

.contact-label {
    font-size: 14px;
    font-weight: 600;
}

.contact-item a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 22px;
}


/* CONTACT — MOBILE */

@media (max-width: 800px) {

    .contact-intro {
        padding-bottom: 60px;
    }

    .contact-intro h1 {
        font-size: clamp(60px, 15vw, 100px);
        letter-spacing: -3px;
    }

    .contact-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

/* CONTACT PAGE — GRADIENT FADE */

.contact-page {
    position: relative;
    min-height: calc(100vh - 20px);
    overflow: hidden;
}

.contact-page::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(184, 255, 56, 0.08) 35%,
        rgba(243, 155, 201, 0.18) 75%,
        rgba(217, 77, 165, 0.3) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.contact-page > * {
    position: relative;
    z-index: 1;
}

/* =========================================================
   PROJECT PAGE — #SAVETHESALMON
   ========================================================= */

.project-page {
    padding-top: 0;
}


/* HERO */

.project-page-hero {
    width: 100%;
    margin-bottom: 45px;
}

.project-page-hero img {
    display: block;
    width: 100%;
    height: auto;
}


/* INTRO */

.project-page-intro {
    padding-bottom: 50px;
    border-bottom: 1px solid #333;
}

.project-page-intro .section-title {
    margin-bottom: 22px;
}

.project-page-intro h1 {
    margin: 0 0 28px 0;
    font-size: clamp(70px, 8vw, 125px);
    line-height: 0.86;
    letter-spacing: -5px;
    max-width: 1100px;
}

.project-page-lead {
    max-width: 650px;
    margin: 0;
    font-size: 19px;
    line-height: 1.45;
}


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

.project-page-section {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 70px;

    padding: 65px 0;

    border-bottom: 1px solid #333;
}


/* SECTION LABEL */

.project-page-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-top: 5px;
}


/* COPY */

.project-page-copy {
    max-width: 720px;
}

.project-page-copy p {
    margin: 0 0 28px 0;

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

.project-page-copy p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MAKE THE SECTIONS FEEL MORE EDITORIAL
   ========================================================= */

.project-page-section:first-of-type {
    padding-top: 75px;
}

.project-page-section:nth-of-type(3) .project-page-copy,
.project-page-section:nth-of-type(4) .project-page-copy {
    max-width: 620px;
}


/* MY ROLE */

.project-page-section:last-of-type {
    padding-bottom: 75px;
}

.project-page-section:last-of-type .project-page-copy p {
    font-size: 16px;
    line-height: 1.5;
}


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

.project-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;

    margin-top: 80px;
}

.project-image-grid img {
    display: block;
    width: 100%;
    height: auto;
}


/* Make the first image span the full width */

.project-image-grid img:first-child {
    grid-column: 1 / -1;
}


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

@media (max-width: 700px) {

    .project-page {
        padding-top: 50px;
    }

.project-page > .all-projects:first-child {
    margin-bottom: 75px;
}

.project-page > .project-page-hero {
    margin-top: 20px;
    margin-bottom: 35px;
}

/* More space below the header on the illustration page — mobile only */
body:has(.illustration-feature) .illustration-feature {
    margin-top: 10px;
        margin-bottom: -10px;
}

    
    /* MOBILE PROJECT CATEGORY AND YEAR */
.project-meta-row {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.project-meta-row .project-year {
    align-self: flex-start;
    margin-top: 0;
}

    .project-meta-row .section-title {
        font-size: 12px;
        line-height: 1.4;
        max-width: 75%;
    }

    .project-meta-row .project-year {
        font-size: 13px !important;
        white-space: nowrap;
        margin: 0;
    }


    .project-page-intro {
        padding-bottom: 45px;
    }

.project-page-intro h1 {
    font-size: clamp(40px, 8vw, 48px);
    line-height: 1;
    letter-spacing: -1.5px;
    overflow-wrap: anywhere;
}
    .project-page-lead {
        font-size: 16px;
    }

    .project-page-section {
        display: block;
        padding: 45px 0;
    }

    .project-page-label {
        margin-bottom: 25px;
    }

    .project-page-copy {
        max-width: none;
    }

    .project-page-copy p {
        font-size: 16px;
    }

    .project-image-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 50px;
    }

    .project-image-grid img:first-child {
        grid-column: auto;
    }


    
}

/* =========================================================
   CITY RAIL LINK IMAGE GROUPS
   ========================================================= */

.project-image-group {
    margin-top: 90px;
}


/* GROUP LABELS */

.project-image-group-title {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 25px;
}


/* THREE IMAGE ROW */

.three-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.three-image-grid img {
    width: 100%;
    height: auto;
    display: block;
}


/* FOUR-POSTER OVERVIEW */

.poster-overview {
    margin-top: 100px;
}

.poster-overview img {
    width: 100%;
    height: auto;
    display: block;
}

/* PRE — two supporting images */
.pre-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}


/* COLOUR & PATTERN */

.pattern-feature {
    margin-top: 100px;
}

.pattern-feature img {
    width: 100%;
    height: auto;
    display: block;
}

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

.poster-overview {
    margin-top: 90px;
}

.poster-overview img {
    width: 100%;
    height: auto;
    display: block;
}


/* PROJECT NAVIGATION */


.all-projects {
    display: inline-block;
    padding: 10px 12px;
    margin: -10px 0 15px -12px;
    color: #aaa;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    border-radius: 3px;
    transition: color 0.2s ease, background 0.2s ease;
}


.all-projects:hover {
    color: #b8ff38;
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.project-navigation a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 48%;
    color: #f2f2f2;
    text-decoration: none;
}

.project-navigation span {
    color: #888;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.project-navigation strong {
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.project-navigation a:hover strong {
    color: #b8ff38;
}

.next-project {
    text-align: right;
}

.bottom-all-projects {
    margin-top: 45px;
}

@media (max-width: 500px) {
    .project-navigation {
        gap: 15px;
        margin-top: 50px;
    }

    .project-navigation strong {
        font-size: 13px;
    }
}



/* PROJECT NAVIGATION */

.all-projects {
    display: inline-block;
    margin-bottom: 25px;
    color: #999;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.all-projects:hover {
    color: #b8ff38;
}

.project-navigation {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 80px;
    padding-top: 25px;
    border-top: 1px solid #333;
}

.project-navigation a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 48%;
    color: #f2f2f2;
    text-decoration: none;
}

.project-navigation span {
    color: #888;
    font-size: 10px;
    letter-spacing: 0.08em;
}

.project-navigation strong {
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.project-navigation a:hover strong {
    color: #b8ff38;
}

.next-project {
    text-align: right;
}

.bottom-all-projects {
    margin-top: 30px;
    margin-bottom: 0;
}

@media (max-width: 500px) {
    .project-navigation {
        gap: 15px;
        margin-top: 50px;
    }

    .project-navigation strong {
        font-size: 13px;
    }
}



/* LARGER PROJECT NAVIGATION CLICK AREAS */

.project-navigation a {
    padding: 18px 12px;
    margin: -18px -12px;
    border-radius: 3px;
}

.project-navigation a:hover {
    background: #111;
}

.project-navigation a:focus-visible {
    outline: 1px solid #b8ff38;
    outline-offset: 4px;
}

/* PROJECT PAGE TOP SPACING */

.project-page > .all-projects {
    margin-top: 15px;
    margin-bottom: 20px;
    margin-left: 0;
}

/* PROJECT BANNER SPACING */

/* Desktop */
.project-page > .project-page-hero {
    margin-top: -75px;
}

/* Mobile */
@media (max-width: 700px) {
    .project-page > .project-page-hero {
        margin-top: -20px;
    }
}
/* PROJECT TITLE AND YEAR */

.project-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.project-year {
    display: block;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #999;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.project-year {
    flex-shrink: 0;
    margin-top: 15px;
    color: #888;
    font-size: 13px;
    letter-spacing: 0.08em;
}

@media (max-width: 700px) {
    .project-heading-row {
        gap: 12px;
    }


}


/* PROJECT CATEGORY AND YEAR ROW */

.project-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.project-meta-row .section-title {
    margin-bottom: 0;
}

.project-meta-row .project-year {
    margin: 0;
    flex-shrink: 0;
}

.all-projects {
    position: relative;
    z-index: 10;
}


/* PROJECT RETURN LINKS */

.all-projects {
    display: inline-block;
    position: relative;
    z-index: 10;
    padding: 10px 0;
    margin-bottom: 25px;
    color: #b5b5b5;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.all-projects:hover {
    color: #b8ff38;
}

/* BOTTOM PROJECT LINK */

.bottom-all-projects {
    margin-top: 30px;
    margin-bottom: 0;
    padding: 10px 0;
}

/* MOBILE */

@media (max-width: 500px) {
    .all-projects {
        font-size: 13px;
        padding: 12px 0;
    }
}


/* PREVIOUS / NEXT PROJECT LINKS */

.project-navigation {
    gap: 30px;
    padding-top: 30px;
    margin-top: 80px;
}

.project-navigation span {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.project-navigation strong {
    font-size: 17px;
    line-height: 1.4;
}

@media (max-width: 500px) {
    .project-navigation {
        margin-top: 50px;
        padding-top: 24px;
        gap: 18px;
    }

    .project-navigation strong {
        font-size: 14px;
    }
}


/* CLEARER PROJECT NAVIGATION LINKS */

.all-projects {
    display: inline-block;
    padding: 12px 16px;
    margin-left: -16px;
    border: 1px solid #444;
    border-radius: 3px;
    color: #f2f2f2;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease,
                background 0.2s ease;
}

.all-projects:hover {
    color: #b8ff38;
    border-color: #b8ff38;
    background: #111;
}

.project-navigation span {
    color: #b5b5b5;
    font-size: 11px;
}

.project-navigation strong {
    font-size: 18px;
}

.project-navigation a {
    padding: 18px 16px;
    border: 1px solid #444;
    border-radius: 3px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.project-navigation a:hover {
    border-color: #b8ff38;
    background: #111;
}

.bottom-all-projects {
    margin-top: 24px;
}

@media (max-width: 500px) {
    .all-projects {
        font-size: 13px;
        padding: 14px 16px;
    }

    .project-navigation strong {
        font-size: 14px;
    }
}

/* CLEANER BOTTOM PROJECT NAVIGATION */

.project-navigation {
    align-items: stretch;
    margin-top: 65px;
    padding-top: 25px;
    gap: 20px;
}

.project-navigation a {
    flex: 1;
    max-width: 48%;
    min-height: 85px;
    justify-content: center;
    padding: 16px;
}

.project-navigation .previous-project {
    text-align: left;
}

.project-navigation .next-project {
    text-align: right;
}

.bottom-all-projects {
    margin-top: 18px;
    margin-left: 0;
}


/* BOTTOM PROJECT NAVIGATION — FINAL LAYOUT */

/* BOTTOM PROJECT NAVIGATION */

/* BOTTOM PROJECT NAVIGATION — FINAL LAYOUT */

.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 40px;
    margin: 65px 12px 0;
    padding-top: 75px;
    border-top: 1px solid #333;
}



.project-navigation a {
    box-sizing: border-box;
    display: flex;
    flex: 0 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    max-width: 45%;
    min-width: 220px;
    min-height: 70px;
    padding: 14px 16px;
    border: 1px solid #444;
    border-radius: 3px;
    color: #f2f2f2;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}


.project-navigation a:hover {
    border-color: #b8ff38;
    background: #111;
}

.project-navigation span {
    color: #aaa;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.project-navigation strong {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.project-navigation a:hover strong {
    color: #b8ff38;
}

.project-navigation .previous-project {
    margin-right: auto;
    text-align: left;
}

.project-navigation .next-project {
    margin-left: auto;
    text-align: right;
}


.bottom-all-projects {
    margin-top: 45px;
    margin-bottom: 0;
}


@media (max-width: 600px) {
    .project-navigation {
        gap: 12px;
        margin-top: 45px;
        padding-top: 25px;
    }

    .project-navigation a {
        min-width: 0;
        max-width: 48%;
        padding: 12px;
    }

    .project-navigation strong {
        font-size: 13px;
    }

    .project-navigation span {
        font-size: 9px;
    }

}

.bottom-all-projects {
    margin-top: 35px !important;
    display: inline-block;
}

/* SECTION HEADINGS */

.section-heading {
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 30px;
}

/* ADDITIONAL DESIGN WORK */

.additional-work {
    margin-top: 75px;
    padding-top: 35px;
    border-top: 1px solid #333;
}

.additional-work .work-grid {
    margin-top: 0;
}

/* RENEWYOU TOP SPACING */

.project-page > .all-projects:first-child {
    display: inline-block;
    position: static;
    margin-bottom: 25px;
}

.renewyou-hero {
    margin-top: 0;
}

/* RENEWYOU FULL-WIDTH MOCKUPS */

.renewyou-image-grid {
    display: flex;
    flex-direction: column;
    gap: 35px;
    margin-top: 60px;
}

.renewyou-image-grid img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.renewyou-image-grid img:first-child {
    grid-column: auto;
}

/* PROJECT YEAR */

.project-year {
    font-size: 16px !important;
    letter-spacing: 1px;
    color: #999;
}

/* RENEWYOU — CLICKABLE TOP PROJECTS BUTTON */

.project-page > .all-projects:first-child {
    position: relative;
    z-index: 10;
    display: inline-block;
    margin-bottom: 25px;
    pointer-events: auto;
}

/* CRL POST IMAGES — MOBILE ONLY */
@media (max-width: 700px) {
    .three-image-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* BOTTOM PROJECT BUTTONS — MOBILE ONLY */
@media (max-width: 600px) {
    .project-navigation {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .project-navigation a {
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 80px;
        padding: 12px 8px;
        box-sizing: border-box;
    }

    .project-navigation strong {
        font-size: 12px;
        line-height: 1.35;
        overflow-wrap: break-word;
    }

    .project-navigation span {
        font-size: 9px;
    }
}

/* OTHER PROJECTS SECTION SPACING */
.additional-work {
    padding-top: 50px;
}
