/* =========================================================
   SOLANO GOTHIC
   ========================================================= */

@font-face {
    font-family: "Solano Gothic Bold";
    src: url("fonts/SolanoGothicMVB-BdCap.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Solano Gothic Semibold";
    src: url("fonts/SolanoGothicMVB-SbCap.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Solano Gothic Stencil";
    src: url("fonts/SolanoGothicMVB-StencilCap.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}


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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Solano Gothic Semibold", sans-serif;
    background: #ffffff;
    color: #303140;
}


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

.digital-header {
    height: 75px;
    padding: 0 60px;

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

    background: #303140;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.digital-logo {
    color: #ffffff;
    font-size: 18px;
    letter-spacing: 1px;
}

.digital-main-nav {
    display: flex;
    gap: 35px;
}

.digital-main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.digital-main-nav a:hover {
    color: #f9a817;
    transform: scale(1.08);
}


/* =========================================================
   WORK TABS
   ========================================================= */

.digital-tabs {
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 55px;

    padding: 0 60px;

    background: #303140;

    position: sticky;
    top: 75px;

    z-index: 900;
}

.digital-tabs a {
    color: #ffffff;

    text-decoration: none;

    font-size: 15px;

    transition:
        transform 0.25s ease,
        color 0.25s ease;
}

.digital-tabs a:hover {
    transform: scale(1.10);
}

.digital-tabs a:nth-child(1):hover {
    color: #bd0003;
}

.digital-tabs a:nth-child(2):hover {
    color: #39A9FF;
}

.digital-tabs a:nth-child(3):hover {
    color: #9442f1;
}

.digital-tabs a:nth-child(4):hover {
    color: #ade44e;
}

.digital-tabs a:nth-child(5):hover,
.digital-tabs a.active {
    color: #ea3359;
}


/* =========================================================
   HERO
   SAME HEIGHT AS EDITORIAL HERO
   ========================================================= */

.digital-hero {
    min-height: 530px;
    height: 530px;

    position: relative;

    display: flex;
    align-items: flex-end;

    padding: 70px 6%;

    background: #ea3359;

    overflow: hidden;
}


/* =========================================================
   HERO WHITE STRIP
   SAME SIZE + POSITION AS EDITORIAL
   ========================================================= */

.digital-hero::after {
    content: "";

    position: absolute;

    top: 0;
    right: 8%;

    width: 8%;
    height: 120px;

    background: #ffffff;

    z-index: 5;
}


.digital-hero-title {
    position: relative;
    z-index: 10;

    color: #ffffff;

    font-family: "Solano Gothic Stencil";

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

    line-height: 0.9;

    max-width: 100%;
}


/* =========================================================
   LOADING SECTION
   CLEAN WHITE AREA
   ========================================================= */

.digital-loading {
    width: 100%;
    height: 90px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   SIX COLOUR SQUARES
   ========================================================= */

.digital-loading-track {
    width: auto;
    height: auto;

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

    gap: 10px;

    background: transparent;

    position: relative;

    overflow: visible;
}


/* Remove any old loading-bar effect */

.digital-loading-track::after {
    content: none;
    display: none;
}


/* Squares */

.digital-loading-track span {
    width: 15px;
    height: 15px;

    min-width: 15px;
    max-width: 15px;

    min-height: 15px;
    max-height: 15px;

    display: block;

    animation: digitalSquareAnimation 1.8s infinite ease-in-out;
}


/* Individual colours */

.loading-red {
    background: #ea3359;
    animation-delay: 0s;
}

.loading-orange {
    background: #f9a817;
    animation-delay: 0.12s;
}

.loading-blue {
    background: #39A9FF;
    animation-delay: 0.24s;
}

.loading-green {
    background: #ade44e;
    animation-delay: 0.36s;
}

.loading-purple {
    background: #9442f1;
    animation-delay: 0.48s;
}

.loading-grey {
    background: #303140;
    animation-delay: 0.60s;
}


@keyframes digitalSquareAnimation {

    0% {
        transform: translateY(0);
        opacity: 0.45;
    }

    30% {
        transform: translateY(-10px);
        opacity: 1;
    }

    60% {
        transform: translateY(0);
        opacity: 0.75;
    }

    100% {
        transform: translateY(0);
        opacity: 0.45;
    }

}


/* =========================================================
   PROCESS SECTION
   ========================================================= */

.digital-process {
    width: 100%;

    background: #ffffff;

    padding: 0 6% 90px;
}


/* =========================================================
   COLOUR BLOCK ROW
   ========================================================= */

.digital-colour-blocks {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(6, 1fr);

    height: 14px;

    margin-bottom: 65px;
}

.digital-colour-blocks span {
    display: block;
}

.digital-colour-blocks .red {
    background: #ea3359;
}

.digital-colour-blocks .orange {
    background: #f9a817;
}

.digital-colour-blocks .blue {
    background: #39A9FF;
}

.digital-colour-blocks .green {
    background: #ade44e;
}

.digital-colour-blocks .purple {
    background: #9442f1;
}

.digital-colour-blocks .grey {
    background: #303140;
}


/* =========================================================
   PROCESS GRID
   3 COLUMNS × 2 ROWS
   ========================================================= */

.digital-process-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    column-gap: 70px;
    row-gap: 75px;
}


/* =========================================================
   PROCESS ITEM
   ========================================================= */

.digital-process-item {
    position: relative;

    padding: 0 0 0 22px;
}

.digital-process-item::before {
    content: "";

    position: absolute;

    left: 0;
    top: 4px;

    width: 6px;
    height: 42px;

    background: #ea3359;
}


.digital-process-item:nth-child(2)::before {
    background: #f9a817;
}

.digital-process-item:nth-child(3)::before {
    background: #39A9FF;
}

.digital-process-item:nth-child(4)::before {
    background: #ade44e;
}

.digital-process-item:nth-child(5)::before {
    background: #9442f1;
}

.digital-process-item:nth-child(6)::before {
    background: #303140;
}


.digital-process-item h2 {
    font-family: "Solano Gothic Bold";

    font-size: 28px;

    line-height: 1;

    margin-bottom: 18px;

    color: #303140;
}


.digital-process-item p {
    font-family: "Solano Gothic Semibold";

    font-size: 15px;

    line-height: 1.45;

    color: #555555;

    max-width: 390px;
}


/* =========================================================
   GALLERY
   ========================================================= */

.digital-gallery {
    width: 100%;

    background: #ade44e;

    padding: 80px 6% 100px;
}


/* =========================================================
   3 × 3 GALLERY
   ========================================================= */

.digital-gallery-grid {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* =========================================================
   GALLERY ITEM
   ========================================================= */

.digital-gallery-item {
    position: relative;

    width: 100%;

    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: #303140;
}


.digital-gallery-item > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.4s ease;
}


.digital-gallery-item:hover > img {
    transform: scale(1.03);
}


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

.digital-video-item {
    position: relative;

    overflow: hidden;
}


.digital-video-thumbnail {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 2;
}


.digital-video {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: none;

    z-index: 3;
}


/* =========================================================
   PLAY BUTTON
   ========================================================= */

.digital-play-button {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 65px;
    height: 65px;

    border: none;
    border-radius: 50%;

    background: rgba(48, 49, 64, 0.88);

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    z-index: 5;

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

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


.digital-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);

    background: #ea3359;
}


/* =========================================================
   FOR MORE
   ========================================================= */

.digital-more {
    display: flex;

    justify-content: center;

    margin-top: 65px;
}


.digital-more a {
    display: inline-flex;

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

    min-width: 190px;

    padding: 16px 35px;

    background: #303140;

    color: #ffffff;

    text-decoration: none;

    font-size: 16px;

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


.digital-more a:hover {
    background: #ea3359;

    transform: scale(1.05);
}


/* =========================================================
   PREVIOUS NAVIGATION
   ========================================================= */

.digital-navigation {
    width: 100%;

    background: #ffffff;

    padding: 80px 6%;
}


.digital-previous {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 12px;

    color: #303140;

    text-decoration: none;

    transition: transform 0.25s ease;
}


.digital-previous span {
    font-size: 15px;

    color: #777777;
}


.digital-previous strong {
    font-family: "Solano Gothic Bold";

    font-size: 38px;

    line-height: 1;

    color: #303140;
}


.digital-previous:hover {
    transform: translateX(10px);
}

.digital-previous:hover strong {
    color: #ade44e;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .digital-tabs {
        gap: 25px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .digital-process-grid {
        column-gap: 35px;
    }

}


@media (max-width: 750px) {

    .digital-header {
        padding: 0 25px;
    }

    .digital-main-nav {
        gap: 18px;
    }

    .digital-tabs {
        overflow-x: auto;
        white-space: nowrap;

        padding-left: 25px;
        padding-right: 25px;
    }

    .digital-hero {
        height: 530px;
        min-height: 530px;

        padding: 50px 25px;
    }

    .digital-hero::after {
        right: 6%;
        width: 14%;
    }

    .digital-process {
        padding-left: 25px;
        padding-right: 25px;
    }

    .digital-process-grid {
        grid-template-columns: 1fr;
        row-gap: 50px;
    }

    .digital-gallery {
        padding-left: 25px;
        padding-right: 25px;
    }

    .digital-gallery-grid {
        grid-template-columns: 1fr;
    }

}
/* REMOVE SECOND LONG COLOUR BAR */

.digital-colour-blocks {
    display: none !important;
}
/* =========================================================
   DIGITAL GALLERY — SHORTER IMAGE FRAMES
   ========================================================= */

.digital-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.digital-gallery-item {
    width: 100%;
    height: 280px;
    aspect-ratio: auto;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

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

.digital-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.digital-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
/* =========================================================
   WORK TABS — MATCH ALL OTHER CATEGORY PAGES
   ========================================================= */

.digital-page-body .work-tabs {
    position: sticky;
    top: 75px;
    z-index: 900;
    background: #303140;

    display: flex;
    align-items: center;
    justify-content: flex-start !important;

    gap: 55px !important;

    padding-left: 2%;
    padding-top: 15px;
    padding-bottom: 15px;

    margin-bottom: 0px;
}

.digital-page-body .work-tabs a {
    display: inline-block;
    position: relative;
    z-index: 21;

    color: #ffffff !important;
    text-decoration: none;

    font-family: "Solano Gothic Semibold", sans-serif;
    font-size: clamp(17px, 1.35vw, 25px);

    white-space: nowrap;

    transition:
        transform 0.35s ease,
        color 0.35s ease;
}

.digital-page-body .work-tabs a:hover {
    color: inherit !important;
    transform: scale(1.10);
}

.digital-page-body .work-tabs a:nth-child(1):hover {
    color: #bd0003 !important;
}

.digital-page-body .work-tabs a:nth-child(2):hover {
    color: #39A9FF !important;
}

.digital-page-body .work-tabs a:nth-child(3):hover {
    color: #9442f1 !important;
}

.digital-page-body .work-tabs a:nth-child(4):hover {
    color: #ade44e !important;
}

.digital-page-body .work-tabs a:nth-child(5):hover {
    color: #ea3359 !important;
}
/* =========================================================
   DIGITAL PAGE — SAME PAGE ENTRY TRANSITION AS STYLE.CSS
   ========================================================= */

.digital-page-body {
    animation: portfolioPageIn 0.8s ease-out both;
}

@keyframes portfolioPageIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* DIGITAL GALLERY — PROPORTIONAL IMAGES */
.digital-gallery-item > img {
    object-fit: cover;
}
.digital-video-thumbnail {
    object-fit: cover;
}

.digital-video {
    object-fit: cover;
}
.logo a {
    color: inherit;
    text-decoration: none;
}

.digital-logo a {
    color: inherit;
    text-decoration: none;
}
/* =========================================================
   MOBILE DIGITAL — FINAL
   ========================================================= */

@media (max-width: 700px) {

    /* -----------------------------------------
       1. HIDE FIVE WORK TABS
       ----------------------------------------- */

    .digital-page-body .work-tabs {
        display: none !important;
    }


    /* -----------------------------------------
       2. GREEN GALLERY AREA
       ----------------------------------------- */

    .digital-page-body .digital-gallery {
        width: 100% !important;
        padding: 25px 15px 40px !important;
        background: #ade44e !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       3. TWO IMAGES PER ROW
       ----------------------------------------- */

    .digital-page-body .digital-gallery-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       4. IMAGE BOXES
       ----------------------------------------- */

    .digital-page-body .digital-gallery-item {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        min-width: 0 !important;
        overflow: hidden !important;
        position: relative !important;
        background: #ffffff !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       5. NORMAL IMAGES
       ----------------------------------------- */

    .digital-page-body .digital-gallery-item > img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       6. VIDEO THUMBNAILS
       ----------------------------------------- */

    .digital-page-body .digital-video-thumbnail {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }


    /* -----------------------------------------
       7. HIDE DIGISTRIP 3C
       ----------------------------------------- */

    .digital-page-body .digital-gallery-item:nth-child(9) {
        display: none !important;
    }


    /* -----------------------------------------
       8. KEEP VIDEO BUTTON POSITIONED
       ----------------------------------------- */

    .digital-page-body .digital-video-item {
        position: relative !important;
    }

}
@media screen and (max-width: 700px) {
    body.digital-page-body .work-tabs {
        display: none !important;
    }
}