/* CSS CUSTOM PROPERTIES */
:root {
    /* Primary Brand Colors */
    --color-primary-red: rgba(177, 0, 49, 1.0);
    --color-secondary-red: rgba(224, 36, 27, 1.0);
    
    /* Background Colors */
    --color-background-main: rgba(242, 212, 215, 1.0);
    --color-background-nav: rgba(242, 212, 215, 0.75);
    
    /* Accent Colors */
    --color-cream: rgba(255, 231, 212, 1.0);
    --color-peach: rgba(255, 197, 146, 1.0);
    --color-orange-light: rgba(252, 200, 151, 1.0);
    --color-orange-shadow: rgba(248, 154, 40, 1.0);
    
    /* Text Colors */
    --color-text-muted: rgba(128, 130, 133, 1.0);
    --color-text-disabled: rgba(167, 169, 172, 1.0);
    
    /* UI Colors */
    --color-white-overlay-20: rgba(255, 255, 255, 0.2);
    --color-white-overlay-40: rgba(255, 255, 255, 0.4);
    --color-black: #000;
    --color-shadow: rgba(0, 0, 0, 0.08);
    --color-red-shadow: rgba(177, 0, 49, 0.75);
    --color-orange-shadow-50: rgba(248, 154, 40, 0.5);
}

/* RESET */
*, *::before, *::after {
    box-sizing: border-box;
}
*:not(dialog) {
    margin: 0;
}
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}
input, button, textarea, select {
    font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}
p {
    text-wrap: pretty;
}
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

/* BODY */
html, body {
    background: linear-gradient(to right, rgba(238,47,36,1), rgba(248,154,43,1));
    font-family: "gotham", sans-serif;
    font-weight: 500;
    font-style: normal;
}

section {
    position: relative;
    z-index: 2000;
    padding-top: 6rem;

    > h2 {
        font-size: 3rem;
        font-weight: 800;
        color: rgba(109,3,26,1.0);
        text-align: center;
        max-width: 80%;
        margin: 0 auto;

        span {
            display: block;
            font-size: 1.5rem;
        }
    }
}

/* INTRO */
#intro {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    > div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        width: 80%;

        > img {
            display: block;
            width: 40vw;
            height: auto;
            margin-bottom: 2rem;
        }

        > div {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 2rem;

            > div {
                flex: 1;

                h1 {
                    font-size: clamp(2rem, 2vw, 3rem);
                    font-weight: 800;
                    line-height: 1.2;
                    color: rgba(109,3,26,1.0);
                    margin-bottom: 2rem;

                    span {
                        white-space: nowrap;
                    }
                }
                p {
                    font-size: 1rem;
                    color: rgba(109,3,26,1.0);
                    margin-bottom: 1rem;

                    &.small {
                        font-size: 0.8rem;
                    }
                }
                img {
                    display: block;
                    width: 100%;
                    height: auto;
                }
            }
        }
    }
} 

/* INTENT */
#intent {

    #structure {

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

        > div {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            isolation: isolate;

            &:nth-child(1) {
                transform: translateX(0%);
            }
            &:nth-child(2) {
                transform: translateX(-100%);
            }
            &:nth-child(3) {
                transform: translateX(-200%);
            }

            img {
                display: block;
                margin: 0 auto;
                z-index: 100;

                &:nth-child(2) {
                    transform: translateY(-100%);
                    opacity: 0;
                    z-index: 50;
                }
            }
        }
    }
}

/* STRUCTURE CHART */
#structure-chart {
    isolation: isolate;

    > div {

        &:nth-of-type(1) {
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            gap: 1rem;
            background-color: rgba(224, 36, 27, 0.3);
            color: #fff;
            font-size: 0.875rem;
            border: 4px solid var(--color-primary-red);
            border-radius: 24px;
            padding: 24px;
            margin: 40px;

            > div {
                display: flex;
                justify-content: flex-start;
                align-items: center;
                padding-left: 60px;
                min-height: 40px;

                &:nth-child(1) {
                    background-image: url('images/icon-1.png');
                    background-repeat: no-repeat;
                    background-size: 40px;
                    background-position: center left;
                }
                &:nth-child(2) {
                    background-image: url('images/icon-2.png');
                    background-repeat: no-repeat;
                    background-size: 40px;
                    background-position: center left;
                }
                &:nth-child(3) {
                    background-image: url('images/icon-3.png');
                    background-repeat: no-repeat;
                    background-size: 40px;
                    background-position: center left;
                }

                p {
                    text-align: left;
                }
            }
        }
        &:nth-of-type(2) {
            margin: 40px;
            position: relative;

            table {
                position: relative;
                width: 100%;
                color: rgba(109,3,26,1.0);
                z-index: 50;
                pointer-events: none;

                tr {
                    text-align: center;

                    &.total {
                        font-weight: 800;
                    }
                }
                td {
                    padding: 1rem 0.5rem;

                    /* Make last 4 columns equal width */
                    &:nth-child(3),
                    &:nth-child(4),
                    &:nth-child(5),
                    &:nth-child(6) {
                        width: 8rem;
                    }

                    &.key {

                        span {
                            display: inline-block;
                            height: 1rem;
                            width: 1rem;
                            border-radius: 50%;
                            margin: 0px 5px;

                            &.white {
                                background-color: #fff;
                            }
                            &.red {
                                background-color: rgba(177,0,49,1.0);
                                margin-left: 20px;
                            }
                        }
                    }
                    &.bar {
                        position: relative;
                        top: 0.5rem;

                        > div {
                            display: block;
                            width: 100%;
                            height: 1.5rem;
                            line-height: 1rem;
                            font-size: 0.8rem;
                            padding: 4px;
                            border-radius: 6px;
                            opacity: 0;
                            transition: opacity 0.5s ease, width 0.6s ease;

                            &.fade-in {
                                opacity: 1;
                            }

                            span {
                                display: inline-block;
                                position: absolute;
                                opacity: 0;
                                transition: opacity 0.5s ease;

                                &.fade-in {
                                    opacity: 1;
                                }

                                &.shorty {
                                    right: -45px;
                                    color: #fff;
                                }
                            }

                            &.red {
                                background-color: rgba(177,0,49,1.0);
                                color: #fff;
                                
                                span {
                                    display: inline-block;
                                    position: absolute;
                                    opacity: 0;
                                    transition: opacity 0.5s ease;

                                    &.fade-in {
                                        opacity: 1;
                                    }
                                }
                            }
                            &.white {
                                background-color: #fff;
                                color: rgba(177,0,49,1.0);
                            }
                        }
                    }
                }
            }
        }
    }
    
    .bar {
        position: relative;
        width: 100%;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        
        div {
            position: absolute;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            transition: width 0.6s ease;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .red {
            background-color: #8b4513;
            color: white;
            z-index: 2;
        }
        
        .white {
            background-color: #f5f5f5;
            color: #333;
            border: 1px solid #ddd;
            z-index: 1;
        }
    }

    /* Structure Chart Hotspots */
    .structure-hotspot {
        position: absolute;
        cursor: pointer;
        border-radius: 1.5rem;
        background-color: rgba(251, 106, 2, 0.8);
        border: 2px solid rgba(251, 106, 2, 0.8);
        box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        transition: all 0.3s ease;
        z-index: 1;
        background-image: url('images/info.svg');
        background-repeat: no-repeat;
        background-position: 8px 8px;
        background-size: 16px 16px;
        opacity: 0;
        transition: opacity 0.5s ease, box-shadow 0.3s;

        &.fade-in {
            opacity: 1;
        }
    }
    .structure-hotspot.hotspot-1 {
        /* 5th column, 3rd to 5th rows */
        top: calc(3 * 4.5rem + 1.5rem); /* Start at 3rd row */
        right: 9rem;
        width: 6rem;
        height: calc(3 * 4.5rem); /* Span 3 rows */
    }
    .structure-hotspot.hotspot-2 {
        /* 5th column, 7th to 9th rows */
        top: calc(7 * 4.5rem + 1.5rem); /* Start at 7th row */
        right: 9rem;
        width: 6rem;
        height: calc(3 * 4.5rem); /* Span 3 rows */
    }
    .structure-hotspot.hotspot-3 {
        /* Last column, last cell (10th row, 6th column) */
        bottom: calc(1 * 3.25rem); /* 10th row */
        right: 1.5rem;
        width: 5rem;
        height: 4rem;
    }
    .structure-hotspot.hotspot-4 {
        /* Custom position for hotspot-4 */
        top: calc(3 * 4.5rem + 1.5rem); /* Start at 3rd row */
        right: calc(9rem - 10px); /* Shift left by 10px */
        width: calc(6rem + 20px);
        height: calc(3 * 4.5rem + 20px);
    }
    .structure-hotspot.hotspot-5 {
        /* Custom position for hotspot-5 */
        top: calc(7 * 4.5rem + 1.5rem); /* Start at 7th row */
        right: calc(3rem - 10px); /* Shift left by 10px */
        width: calc(5rem + 20px);
        height: calc(4rem + 20px);
    }
}

/* STRUCTURE CHART TOOLTIPS */
.structure-tooltip {
    position: absolute;
    background-color: rgba(245,202,159,1);
    border: 4px solid var(--color-orange-shadow);
    border-radius: 0px 12px 12px 12px;
    padding: 0.75rem;
    box-shadow: 0 6px 18px var(--color-shadow);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    min-width: 150px;
    max-width: 250px;
    text-align: left;

    &.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    &#structure-tooltip-1, &#structure-tooltip-2, &#structure-tooltip-3 {
        border-radius: 12px 0px 12px 12px;
    }
    p {
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--color-primary-red);
        line-height: 1.4;
        margin-bottom: 0.5rem;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

/* ROLES */
#roles {
    position: relative;

    .pinch {
        position: relative;
        width: fit-content;

        &:after {
            content: '';
            display: block;
            position: absolute;
            right: -3.5rem;
            top: 50%;
            transform: translateY(-50%);
            height: 3rem;
            width: 3rem;
            background-image: url('images/pinch.svg');
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
        }
    }

    table:not(#roles-new) {
        width: 90%;
        margin: 3rem auto;
        border-spacing: 0.5rem;
        table-layout: fixed;

        tr {
            text-align: center;
            color: #fff;

            th, td {
                width: 33.33%;
            }

            th {
                font-weight: 800;
                font-size: 1rem;
                text-wrap: balance;
                border-radius: 1rem;
                padding: 0.5rem;
                background-color: rgba(63,3,19,1.0);
                background-image: url('images/info.svg');
                background-repeat: no-repeat;
                background-position: 5px 5px;
                background-size: 16px 16px;
                height: 4.5rem;
            }
            
            td {
                font-size: 1rem;
                border-radius: 1rem;
                padding: 0.5rem;
                background-color: rgba(120,0,23,1.0);
                height: 4.5rem;

                &.empty {
                    background-color: transparent;
                }
            }
        }
    }
}

/* AI HOTSPOTS TABLE */
table#roles-new {
    position: relative;
    width: 90%;
    margin: 3rem auto;
    border-spacing: 0.5rem;
    table-layout: fixed;
    
    tr {
        text-align: center;
        color: #fff;
    }
    
    th, td {
        width: 20%;
        text-align: center;
        color: #fff;
        font-size: 1rem;
        border-radius: 1rem;
        padding: 0.5rem;
        height: 4.5rem;
        transform: translateY(20px);
        opacity: 0;
        transition: transform 0.5s ease, opacity 0.5s ease, background-color 0.2s ease;
        
        &.empty {
            background-color: transparent;
        }
    }
    
    th {
        font-weight: 800;
        text-wrap: balance;
        background-color: rgba(63,3,19,1.0);
        background-image: url('images/info.svg');
        background-repeat: no-repeat;
        background-position: 5px 5px;
        background-size: 16px 16px;
        cursor: pointer;
        position: relative;
        
        &:hover {
            background-color: var(--color-white-overlay-20);
        }
    }
    
    td {
        background-color: rgba(120,0,23,1.0);
    }
}

/* ROLES TOOLTIPS */
.roles-tooltip {
    position: absolute;
    background-color: rgba(245,202,159,1);
    border: 4px solid var(--color-orange-shadow);
    border-radius: 0px 12px 12px 12px;
    padding: 0.5rem;
    box-shadow: 0 6px 18px var(--color-shadow);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
    min-width: 200px;
    text-align: center;

    &.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .tooltip-content {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;

        > div {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--color-primary-red);

            &.disruption-stat {
                font-size: 1.25rem;
                font-weight: 800;
            }
        }
    }
}

/* VALUE */
#value {

    #value-details {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        width: 80%;
        margin: 50px auto 1rem auto;
        background-color: rgba(224, 36, 27, 0.7);
        padding: 2rem;
        border-radius: 24px;

        h3 {
            font-size: 2rem;
            font-weight: 800;
            color: rgba(238,204,165,1.0);
        }
        ul {
            font-size: 1rem;
            color: rgba(238,204,165,1.0);
            padding-left: 1rem;
        }
    }
    > p {
        font-size: 1.5rem;
        color: rgba(238,204,165,1.0);
        text-align: center;
        max-width: 80%;
        margin: 0 auto 3rem auto;
    }
}

/* MAP */
#map {
    margin-top: 6rem;

    > h2 {
        background-color: rgba(178,14,19,1);
        border-radius: 1rem 1rem 0 0;
        padding: 0.5rem 2rem;
        font-size: 3rem;
        line-height: 3rem;
        color: rgba(248,205,70,1);
        text-align: center;
        position: relative;
        margin: 0 auto;
        box-shadow: 0 -6px 8px var(--color-shadow);
    }

    > #video-holder {
        width: 100%;
        aspect-ratio: 2/1;
        position: relative;
        background-image: url('images/map.jpg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        box-shadow: 0 -6px 8px var(--color-shadow);

        video {
            display: block;
            width: 100%;
            height: 100%;
        }
    }

    .open-dataPages {
        position: absolute;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--color-primary-red);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        color: white;
        border: none;
        font-size: 18px;
        font-weight: bold;
        cursor: pointer;
        transition: transform 0.3s ease;
        box-shadow: 0 4px 12px rgba(177, 0, 49, 0.4);

        &:after {
            content: '';
            position: absolute;
            top: 50%;
            left: 3rem;
            transform: translateY(-50%);
            font-size: 0.85rem;
            line-height: 1rem;
            font-weight: 800;
            color: #fff;
            background-color: rgba(224, 36, 27, 0.5);
            border: 2px solid rgba(241, 90, 36, 0.5);
            border-radius: 0.5rem;
            padding: 0.5rem;
            text-wrap: balance;
        }

        &#btn-1 {
            background-image: url('images/icon-4.png');

            &:after {
                content: 'Marketing';
            }
        }
        &#btn-2 {
            background-image: url('images/icon-3.png');

            &:after {
                content: 'Supply Chain';
                min-width: 7rem;
            }
        }
        &#btn-3 {
            background-image: url('images/icon-5.png');

            &:after {
                content: 'Analytics & Data Engineering';
                left: auto;
                right: 3rem;
                min-width: 9rem;
            }
        }
        &#btn-4 {
            background-image: url('images/icon-2.png');

            &:after {
                content: 'Finance & Accounting';
            }
        }
        &#btn-5 {
            background-image: url('images/icon-1.png');

            &:after {
                content: 'Merchandising';
            }
        }
    }
    #getting-started-btn {
        bottom: 3vw;
        right: 4vw;
        position: absolute;
        width: 240px;
        height: auto;
        background: transparent;
        border: 0;

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

/* DATA PAGES */
#dataPages {
    background-color: var(--color-background-main);
    background-image: url('images/background-sun.svg');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: 30% auto;
    background-attachment: local;
    width: 96%;
    height: 96%;
    border: 0px;
    border-radius: 1rem;
    box-shadow: 0 6px 18px var(--color-shadow);
    padding: clamp(1rem, 2vw, 2rem) clamp(2rem, 2vw, 4rem);
    overflow-x: hidden;
    overflow-y: auto;

    #close-dataPages {
        position: fixed; 
        top: 2rem; 
        right: 2.5rem; 
        width:48px; 
        height: 48px;
        border: none; 
        background: var(--color-white-overlay-20); 
        border-radius: 50%; 
        display: flex;
        align-items: center; 
        justify-content: center; 
        cursor: pointer;
        transition: background 0.24s ease-in-out;

        &:hover {
            background: var(--color-white-overlay-40);
        }
    }

    > div {

        > nav {
            width: fit-content;
            display: flex;
            justify-content: flex-start;
            gap: clamp(1.5rem, 2vw, 2.5rem);
            margin: 0 2.5rem 2rem 0;
            padding: 0.5rem 0.5rem 0.5rem 0;
            background-color: var(--color-background-nav);
            border-radius: 0.5rem;

            button {
                display: inline-block;
                font-size: 0.8rem;
                color: var(--color-text-muted);
                text-decoration: none;
                background-color: transparent;
                border: 0;
                cursor: pointer;
                transition: color 0.24s ease-in-out;

                &.soon {
                    color: var(--color-text-disabled);
                }
                &:hover, &:focus {
                    color: var(--color-primary-red);
                }
                &.current {
                    color: var(--color-primary-red);
                }
            }
        }

        > .slide {

            display: none;

            &.current {
                display: block;
            }

            h2 {
                max-width: 60%;
                font-size: clamp(2rem, 5vw, 5rem);
                font-weight: 800;
                line-height: 1.15;
                color: var(--color-primary-red);
                margin-bottom: 4rem;
            }

            /* BASELINE */
            &.baseline {
                position: relative;

                > div {
                    display: grid;
                    gap: clamp(1rem, 1.5vw, 3rem);
                    max-width: 65%;

                    > div {
                        font-size: clamp(1rem, 1vw, 1.5rem);
                        color: var(--color-secondary-red);
                        border: 4px solid var(--color-secondary-red);
                        border-radius: 0 clamp(1rem, 1.5vw, 2.5rem) clamp(1rem, 1.5vw, 2.5rem) clamp(1rem, 1.5vw, 2.5rem);
                        padding-bottom: clamp(0.5rem, 0.75vw, 1rem);

                        h3 {
                            position: relative;
                            top: calc(-1 * clamp(1rem, 1.25vw, 2rem));
                            width: fit-content;
                            font-size: clamp(1.25rem, 1.5vw, 2.5rem);
                            font-weight: 800;
                            color: #6d031a;
                            background-color: var(--color-background-main);
                            padding: 0 clamp(1rem, 1.5vw, 2rem);
                        }
                        p, ul {
                            position: relative;
                            top: -0.75rem;
                            padding: 0 clamp(1rem, 1.5vw, 2rem);
                        }
                        ul {
                            list-style-position: outside;
                            margin-left: 1rem;
                        }
                    }
                }

                #baselinePhoto {
                    position: absolute;
                    top: 19.5vw;
                    right: 3.5vw;
                    width: 18.5vw;
                    height: auto;
                    transform: translateY(-50%);
                }
                #baselineDots {
                    position: absolute;
                    top: 21vw;
                    right: -4vw;
                    width: 28vw;
                    height: auto;
                    transform: translateY(-50%);
                }
                .locationsData {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: center;
                    padding: 0 clamp(1rem, 1.5vw, 2rem);
                }
            }

            /* THE WORK */
            &.theWork {
                position: relative;
                isolation: isolate;
                z-index: 0;

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

                > h2 {
                    margin-bottom: 2rem;
                }
                > .toggle {
                    width: fit-content;
                    margin-bottom: 4rem;
                }

                > div:nth-of-type(2) {
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-start;
                    gap: 2rem;

                    .boxes {
                        display: grid;
                        gap: 0.5rem;
                        container-type: inline-size;

                        > h3 {
                            display: block;
                            font-size: 1.25rem;
                            color: var(--color-secondary-red);
                            margin-bottom: 0.75rem;
                            min-width: 100%;
                        }

                        > div {
                            display: flex;
                            flex-direction: column;
                            justify-content: flex-end;
                            align-items: flex-start;
                            text-align: left;
                            word-break: break-word;
                            border-radius: 1rem;
                            font-size: 0.75cqw;
                            font-weight: 700;
                            line-height: 1.15;
                            min-height: 8rem;
                            padding: 1cqw;

                            &.cream {
                                background-color: var(--color-cream);
                                color: var(--color-primary-red);
                            }
                            &.red {
                                background-color: var(--color-primary-red);
                                color: var(--color-cream);
                            }
                            &.peach {
                                background-color: var(--color-peach);
                                color: var(--color-primary-red);
                            }
                            &.orange {
                                background-color: var(--color-orange-shadow);
                                color: var(--color-primary-red);
                            }
                        }
                    }
                    .lines {
                        display: block;
                        margin: 0 0 1rem 0;
                        overflow: visible;
                        z-index: -1;
                    }
                    .circles {
                        display: grid;
                        gap: 0.5rem;
                        container-type: inline-size;

                        > div {
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            align-items: center;
                            text-align: center;
                            word-break: break-word;
                            border-radius: 50%;
                            font-size: 0.75cqw;
                            font-weight: 700;
                            min-height: 5rem;
                            padding: 1cqw;
                            position: relative;
                            background-color: transparent;
                            aspect-ratio: 1/1;

                            &.cream {
                                color: var(--color-primary-red);
                                
                                &::before {
                                    content: '';
                                    position: absolute;
                                    top: -5%;
                                    left: -5%;
                                    right: -5%;
                                    bottom: -5%;
                                    background-color: var(--color-cream);
                                    opacity: 80%;
                                    border-radius: 50%;
                                    z-index: -1;
                                }
                            }
                            &.red {
                                color: var(--color-cream);
                                
                                &::before {
                                    content: '';
                                    position: absolute;
                                    top: -5%;
                                    left: -5%;
                                    right: -5%;
                                    bottom: -5%;
                                    background-color: var(--color-primary-red);
                                    opacity: 80%;
                                    border-radius: 50%;
                                    z-index: -1;
                                }
                            }
                            &.peach {
                                color: var(--color-primary-red);
                                
                                &::before {
                                    content: '';
                                    position: absolute;
                                    top: -5%;
                                    left: -5%;
                                    right: -5%;
                                    bottom: -5%;
                                    background-color: var(--color-peach);
                                    opacity: 80%;
                                    border-radius: 50%;
                                    z-index: -1;
                                }
                            }
                            &.orange {
                                color: var(--color-orange-red);
                                
                                &::before {
                                    content: '';
                                    position: absolute;
                                    top: -5%;
                                    left: -5%;
                                    right: -5%;
                                    bottom: -5%;
                                    background-color: var(--color-orange-shadow);
                                    opacity: 80%;
                                    border-radius: 50%;
                                    z-index: -1;
                                }
                            }
                        }
                    }
                    .spread {
                        display: grid;
                        gap: 0.5rem;
                        align-items: stretch;

                        > div {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            background-color: var(--color-secondary-red);
                            border-radius: 1rem;
                            min-height: 3rem;
                            padding: 1rem;

                            span {
                                display: inline-flex;
                                align-items: center;
                                width: fit-content;
                                font-size: 0.75rem;
                                font-weight: 700;
                                color: var(--color-cream);
                                text-wrap: balance;
                                margin: auto;

                                &::before {
                                    display: none;
                                    content: '';
                                    /* display: inline-block; */
                                    height: 1.75rem;
                                    width: 1.75rem;
                                    background-image: url('images/ai-icon.svg');
                                    background-repeat: no-repeat;
                                    background-position: center;
                                    background-size: contain;
                                    margin-right: 0.75rem;
                                    flex-shrink: 0;
                                }
                            }
                        }
                    }
                }
            }

            /* THE WORKFORCE */
            &.theWorkforce {

                h2 {
                    margin-bottom: 2rem;
                }

                > .switches {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-start;
                    align-items: center;
                    margin-bottom: 2rem;
                }

                > .workroles {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 2rem;

                    .roles {
                        font-size: clamp(0.8rem, 1vw, 1rem);
                        font-weight: 800;
                        color: var(--color-primary-red);
                        background-color: var(--color-cream);
                        padding: clamp(0.6rem, 1vw, 1rem);
                        border-radius: 2rem;
                        white-space: nowrap;

                        &.red {
                            color: var(--color-cream);
                            background-color: var(--color-primary-red);
                        }
                    }
                }

                > .chart {
                    display: flex;
                    flex-direction: row;
                    justify-content: center;
                    align-items: center;
                    gap: 3rem;

                    > div {
                        position: relative;

                        &:nth-child(1), &:nth-child(3) {
                            min-width: 4rem;
                        }

                    }

                    .container {
                        flex: 1;
                        display: flex;
                        flex-direction: row;
                        justify-content: space-between;
                        gap: 4rem;
                        margin: 0 2rem;

                        div {

                            > div {
                                display: flex;
                                flex-direction: row;
                                justify-content: flex-start;
                                align-items: center;
                                margin-bottom: 2rem;

                                h3 {
                                    position: relative;
                                    display: block;
                                    text-orientation: sideways;
                                    writing-mode: vertical-lr;
                                    font-size: 0.75rem;
                                    font-weight: 800;
                                    color: var(--color-orange-shadow);
                                    margin: 0 0.5rem 0 0;

                                    span {
                                        display: block;
                                        position: absolute;
                                        top: 50%;
                                        left: 1.5rem;
                                        transform: rotate(90deg) translate(-50%);
                                        font-size: 0.85rem;
                                        font-weight: 700;
                                        color: var(--color-primary-red);
                                    }
                                }

                                ul {
                                    width: 15vw;
                                    list-style: none;
                                    padding: 0;
                                    margin: 0;
                                    display: flex;
                                    flex-direction: column;
                                    gap: 0;
                                    position: relative;

                                    &.no-border {
                                        border: 0 !important;
                                    }

                                    li {
                                        display: inline-flex;
                                        flex-direction: row;
                                        justify-content: flex-end;
                                        align-items: center;
                                        padding: clamp(0.25rem, 0.5vw, 0.5rem);
                                        font-size: clamp(0.8rem, 1vw, 1rem);
                                        font-weight: 800;
                                        text-align: right;
                                        color: var(--color-primary-red);

                                        span {
                                            display: inline-flex;
                                            justify-content: center;
                                            align-items: center;
                                            background-color: var(--color-cream);
                                            font-size: clamp(0.5rem, 1vw, 0.75rem);
                                            color: var(--color-primary-red);
                                            border-radius: 4px;
                                            padding: 0.25rem;
                                            margin: 0 0.5rem;
                                        }

                                        &.additional {
                                            background-color: var(--color-secondary-red);
                                            color: var(--color-cream);
                                            padding: clamp(0.25rem, 0.5vw, 0.5rem);
                                            border-radius: clamp(1rem, 1vw, 2.5rem);
                                        }
                                    }
                                }
                            }
                            &.left {

                                > div {
                                    h3 {
                                        transform: rotate(180deg);
                                    }
                                    ul {
                                        padding: 0 0 0 1rem;
                                        border-left: 2px solid var(--color-orange-shadow);
                                        border-top: 2px solid transparent;
                                        border-bottom: 2px solid transparent;
                                        border-top-left-radius: 20px;
                                        border-bottom-left-radius: 20px;

                                        &:first-child {
                                            border: 0;
                                        }
                                    }
                                }
                            }
                            &.right {

                                > div {
                                    flex-direction: row-reverse;

                                    h3 {
                                        margin: 0 0 0 0.5rem;

                                        span {
                                            transform: rotate(-90deg) translate(50%);
                                        }
                                    }

                                    ul {
                                        padding: 0 1rem 0 0;
                                        border-right: 2px solid var(--color-orange-shadow);
                                        border-top: 2px solid transparent;
                                        border-bottom: 2px solid transparent;
                                        border-top-right-radius: 20px;
                                        border-bottom-right-radius: 20px;

                                        &:first-child {
                                            border: 0;
                                        }

                                        li {
                                            flex-direction: row-reverse;
                                            text-align: left;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }

            /* THE WORKER */
            &.theWorker {
                overflow: visible;
                position: relative;

                .container {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: center;
                    isolation: isolate;

                    > div {
                        position: relative;
                        flex: 1;
                        
                        &:nth-child(2), &:nth-child(4) {
                            max-width: 20%;
                        }

                        &:first-of-type {
                            max-width: 4rem;

                            > h3 {
                                display: block;
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%, -50%) rotate(-90deg);
                                transform-origin: center;
                                font-size: 1.25rem;
                                font-weight: 700;
                                color: #fff;
                                background-color: var(--color-secondary-red);
                                border: 4px solid var(--color-secondary-red);
                                border-radius: 2.25rem;
                                padding: 0.5rem;
                                text-align: center;
                                white-space: nowrap;
                            }
                        }
                        &:last-of-type {
                            max-width: 4rem;

                            > h3 {
                                display: block;
                                position: absolute;
                                top: 50%;
                                left: 50%;
                                transform: translate(-50%, -50%) rotate(90deg);
                                transform-origin: center;
                                font-size: 1.25rem;
                                font-weight: 700;
                                color: var(--color-secondary-red);
                                background-color: transparent;
                                border: 4px solid var(--color-secondary-red);
                                border-radius: 2.25rem;
                                padding: 0.5rem;
                                text-align: center;
                                white-space: nowrap;
                            }
                        }
                    }

                    .dot {
                        position: relative;
                        display: flex;
                        align-items: center;
                        justify-content: flex-end;
                        margin: 1rem 0;
                        padding: 0 30px;
                        
                        &:after {
                            content: '';
                            position: absolute;
                            top: 50%;
                            right: 0;
                            transform: translateY(-50%);
                            height: 20px;
                            width: 20px;
                            background: #f7a400;
                            border-radius: 50%;
                        }

                        &.one {

                            &:after {
                                background-color: #ff8200;
                            }
                        }
                        &.two {

                            &:after {
                                background-color: #f50000;
                            }
                        }
                        &.three {
                            
                            &:after {
                                background-color: #b10031;
                            }
                        }

                        > h3 {
                            max-width: 16.25rem;
                            font-size: clamp(1rem, 1vw, 1.25rem);
                            font-weight: 800;
                            line-height: 1.15;
                            color: var(--color-primary-red);
                            text-wrap: balance;
                            word-wrap: break-word;
                            overflow-wrap: break-word;
                            hyphens: auto;
                            text-align: right;
                            margin: 0;
                        }

                        &.future {
                            justify-content: flex-start;
                            opacity: 0.0;
                            transition: opacity 0.23s ease;

                            h3 {
                                right: auto;
                                left: 30px;
                                text-align: left;
                            }

                            &:after {
                                right: auto;
                                left: 0px;
                            }
                        }
                    }

                    .trapped-value {
                        display: block;
                        position: relative;
                        width: 200px;
                        height: auto;
                        aspect-ratio: 1/1;
                        background-color: rgba(237,28,36,1.0);
                        font-size: 3.25rem;
                        font-weight: 800;
                        line-height: 1;
                        color: rgba(255,255,255,1.0);
                        text-transform: uppercase;
                        text-align: center;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        justify-content: center;
                        border: 2px solid transparent;
                        background-image:
                            linear-gradient(rgba(237,28,36,1.0), rgba(237,28,36,1.0)),
                            linear-gradient(to bottom, #f15a24, #a32035);
                        background-origin: padding-box, border-box;
                        background-clip: padding-box, border-box;
                        border-radius: 50%;
                        padding: 10px;
                        margin: auto;
                        z-index: 100;
                        /* Multiple "borders" using box-shadow */
                        box-shadow: 
                            0 0 0 10px rgba(237,28,36,1.0),
                            0 0 0 16px rgba(248,154,42,1),
                            0 0 0 30px rgba(253,200,153),
                            0 0 50px 50px rgba(177, 0, 49, 0.25);

                        span {
                            display: block;
                            font-size: 1rem;
                            font-weight: 500;
                            text-transform: capitalize;
                        }
                    }
                }

                /* Show future elements when theWorker has show-future class */
                &.show-future {

                    .container {

                        .future {
                            opacity: 1.0;
                        }

                        .future-essenential {
                            color: #fff;
                            background-color: var(--color-secondary-red);
                        }
                    }
                    
                    /* Show future lines when show-future class is present */
                    #worker-connection-lines .future-line {
                        opacity: 0.6;
                    }
                }
                
                /* Hide future lines when show-future class is not present */
                #worker-connection-lines .future-line {
                    opacity: 0;
                    transition: opacity 0.23s ease;
                }
            }

            /* DATA AND TOOLS */
            &.dataAndTools {

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

            /* ORG AND CHANGE */
            &.orgAndChange {

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


    #marketing {

        /* OVERVIEW - MARKKETING */
        .baseline {

            > div {
                
                > div {

                    &:nth-child(1) {
                        grid-column: 1 / 4;
                        grid-row: span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 1 / 4;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 1 / span 1;
                        grid-row: 3 / span 3;
                    }
                    &:nth-child(4) {
                        grid-column: 2 / span 2;
                        grid-row: 3 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 2 / span 2;
                        grid-row: 4 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 2 / span 2;
                        grid-row: 5 / span 1;
                    }
                }
            }
        }

        /* THE WORK - MARKETING */
        .theWork {

            .boxes {
                    grid-template-columns: repeat(10, minmax(0, 1fr));


                    > h3 {

                        &:nth-of-type(1) {
                            grid-column: 1 / span 3;
                            grid-row: 1 / span 1;
                        }
                        &:nth-of-type(2) {
                            grid-column: 3 / span 3;
                            grid-row: 1 / span 1;
                        }
                        &:nth-of-type(3) {
                            grid-column: 6 / span 3;
                            grid-row: 1 / span 1;
                        }
                        &:nth-of-type(4) {
                            grid-column: 9 / span 2;
                            grid-row: 1 / span 1;
                        }
                    }

                    > div {

                        &:nth-of-type(1) {
                            grid-column: 1 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(2) {
                            grid-column: 2 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(3) {
                            grid-column: 3 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(4) {
                            grid-column: 4 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(5) {
                            grid-column: 5 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(6) {
                            grid-column: 6 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(7) {
                            grid-column: 7 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(8) {
                            grid-column: 8 / span 1;
                            grid-row: 2 / span 1;
                        }
                        &:nth-of-type(9) {
                            grid-column: 9 / span 1;
                            grid-row: 2 / span 1;
                        }
                    }
            }
            .circles {
                grid-template-columns: repeat(9, minmax(0, 1fr));

                > div {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(7) {
                        grid-column: 7 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(8) {
                        grid-column: 8 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(9) {
                        grid-column: 9 / span 1;
                        grid-row: 1 / span 1;
                    }
                }
            }
            .spread {
                grid-template-columns: repeat(9, minmax(0, 1fr));

                > div {
                    &:nth-child(1) {
                        grid-column: 1 / span 2;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 1 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 2 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(4) {
                        grid-column: 3 / span 5;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 3 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 4 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(7) {
                        grid-column: 8 / span 2;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(8) {
                        grid-column: 8 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(9) {
                        grid-column: 1 / span 9;
                        grid-row: 3 / span 1;
                    }
                }
            }
        }
    }

    #corporate-supply-chain {

        /* OVERVIEW - SUPPLY CHAIN */
        .baseline {

            > div {
                
                > div {

                    &:nth-child(1) {
                        grid-column: 1 / 4;
                        grid-row: span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 1 / 4;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 1 / span 1;
                        grid-row: 3 / span 3;
                    }
                    &:nth-child(4) {
                        grid-column: 2 / span 2;
                        grid-row: 3 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 2 / span 2;
                        grid-row: 4 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 2 / span 1;
                        grid-row: 5 / span 1;
                    }
                    &:nth-child(7) {
                        grid-column: 3 / span 1;
                        grid-row: 5 / span 1;
                    }
                }
            }
        }

        /* THE WORK - SUPPLY CHAIN */
        .theWork {

            .boxes {
                grid-template-columns: repeat(15, minmax(0, 1fr));

                > h3 {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 4;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 5 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 8 / span 4;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 12 / span 4;
                        grid-row: 1 / span 1;
                    }
                }

                > div {
                    font-size: 0.5cqw;

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(7) {
                        grid-column: 7 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(8) {
                        grid-column: 8 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(9) {
                        grid-column: 9 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(10) {
                        grid-column: 10 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(11) {
                        grid-column: 11 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(12) {
                        grid-column: 12 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(13) {
                        grid-column: 13 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(14) {
                        grid-column: 14 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(15) {
                        grid-column: 15 / span 1;
                        grid-row: 2 / span 1;
                    }
                }
            }
            .circles {
                grid-template-columns: repeat(11, minmax(0, 1fr));

                > div {
                    font-size: 0.5cqw;

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(7) {
                        grid-column: 7 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(8) {
                        grid-column: 8 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(9) {
                        grid-column: 9 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(10) {
                        grid-column: 10 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(11) {
                        grid-column: 11 / span 1;
                        grid-row: 1 / span 1;
                    }
                }
            }
            .spread {
                grid-template-columns: repeat(15, minmax(0, 1fr));

                > div {
                    &:nth-child(1) {
                        grid-column: 1 / span 4;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 2 / span 3;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 1 / span 4;
                        grid-row: 3 / span 1;
                    }
                    &:nth-child(4) {
                        grid-column: 5 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 9 / span 2;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 10 / span 2;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(7) {
                        grid-column: 8 / span 8;
                        grid-row: 3 / span 1;
                    }
                    &:nth-child(8) {
                        grid-column: 8 / span 2;
                        grid-row: 4 / span 1;
                    }
                    &:nth-child(9) {
                        grid-column: 13 / span 2;
                        grid-row: 1 / span 1;
                    }
                }
            }
        }
    }

    #analytics-data-engineering {

        /* OVERVIEW - ANALYTICS */
        .baseline {

            > div {
                
                > div {

                    &:nth-child(1) {
                        grid-column: 1 / 4;
                        grid-row: span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 1 / 4;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 1 / span 1;
                        grid-row: 3 / span 3;
                    }
                    &:nth-child(4) {
                        grid-column: 2 / span 2;
                        grid-row: 3 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 2 / span 2;
                        grid-row: 4 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 2 / span 2;
                        grid-row: 5 / span 1;
                    }
                }
            }
        }

        /* THE WORK - ANALYTICS */
        .theWork {

            .boxes {
                grid-template-columns: repeat(11, minmax(0, 1fr));

                > h3 {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 4 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 7 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 10 / span 2;
                        grid-row: 1 / span 1;
                    }
                }

                > div {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(7) {
                        grid-column: 7 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(8) {
                        grid-column: 8 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(9) {
                        grid-column: 9 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(10) {
                        grid-column: 10 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(11) {
                        grid-column: 11 / span 1;
                        grid-row: 2 / span 1;
                    }
                }
            }
            .circles {
                grid-template-columns: repeat(11, minmax(0, 1fr));

                > div {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(7) {
                        grid-column: 7 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(8) {
                        grid-column: 8 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(9) {
                        grid-column: 9 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(10) {
                        grid-column: 10 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(11) {
                        grid-column: 11 / span 1;
                        grid-row: 1 / span 1;
                    }
                }
            }
            .spread {
                grid-template-columns: repeat(11, minmax(0, 1fr));

                > div {
                    &:nth-child(1) {
                        grid-column: 1 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 4 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 7 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(4) {
                        grid-column: 8 / span 2;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 10 / span 2;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 10 / span 2;
                        grid-row: 2 / span 1;
                    }
                }
            }
        }
    }

    #finance-accounting {

        /* OVERVIEW - FINANCE */
        .baseline {

            > div {
                
                > div {

                    &:nth-child(1) {
                        grid-column: 1 / 4;
                        grid-row: span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 1 / 4;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 1 / span 1;
                        grid-row: 3 / span 3;
                    }
                    &:nth-child(4) {
                        grid-column: 2 / span 2;
                        grid-row: 3 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 2 / span 2;
                        grid-row: 4 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 2 / span 2;
                        grid-row: 5 / span 1;
                    }
                }
            }
        }

        /* THE WORK - FINANCE */
        .theWork {

            .boxes {
                grid-template-columns: repeat(6, minmax(0, 1fr));

                > div {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 2 / span 1;
                    }
                }
            }
            .circles {
                grid-template-columns: repeat(6, minmax(0, 1fr));

                > div {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 1 / span 1;
                    }
                }
            }
            .spread {
                grid-template-columns: repeat(5, minmax(0, 1fr));

                > div {
                    &:nth-child(1) {
                        grid-column: 1 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 2 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 3 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(4) {
                        grid-column: 4 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 5 / span 1;
                        grid-row: 1 / span 1;
                    }
                }
            }
        }
    }

    #merchandising {

        /* OVERVIEW - MERCHANDISING */
        .baseline {

            > div {
                
                > div {

                    &:nth-child(1) {
                        grid-column: 1 / 4;
                        grid-row: span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 1 / 4;
                        grid-row: 2 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 1 / span 1;
                        grid-row: 3 / span 3;
                    }
                    &:nth-child(4) {
                        grid-column: 2 / span 2;
                        grid-row: 3 / span 1;
                    }
                    &:nth-child(5) {
                        grid-column: 2 / span 2;
                        grid-row: 4 / span 1;
                    }
                    &:nth-child(6) {
                        grid-column: 2 / span 2;
                        grid-row: 5 / span 1;
                    }
                }
            }
        }

        /* THE WORK - MERCHANDISING */
        .theWork {

            .boxes {
                grid-template-columns: repeat(12, minmax(0, 1fr));

                > h3 {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 4 / span 5;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 8 / span 4;
                        grid-row: 1 / span 1;
                    }

                }

                > div {

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(7) {
                        grid-column: 7 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(8) {
                        grid-column: 8 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(9) {
                        grid-column: 9 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(10) {
                        grid-column: 10 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(11) {
                        grid-column: 11 / span 1;
                        grid-row: 2 / span 1;
                    }
                    &:nth-of-type(12) {
                        grid-column: 12 / span 1;
                        grid-row: 2 / span 1;
                    }
                }
            }
            .circles {
                grid-template-columns: repeat(12, minmax(0, 1fr));

                > div {
                    font-size: 0.5cqw;

                    &:nth-of-type(1) {
                        grid-column: 1 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(2) {
                        grid-column: 2 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(3) {
                        grid-column: 3 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(4) {
                        grid-column: 4 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(5) {
                        grid-column: 5 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(6) {
                        grid-column: 6 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(7) {
                        grid-column: 7 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(8) {
                        grid-column: 8 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(9) {
                        grid-column: 9 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(10) {
                        grid-column: 10 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(11) {
                        grid-column: 11 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-of-type(12) {
                        grid-column: 12 / span 1;
                        grid-row: 1 / span 1;
                    }
                }
            }
            .spread {
                grid-template-columns: repeat(12, minmax(0, 1fr));

                > div {
                    &:nth-child(1) {
                        grid-column: 1 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(2) {
                        grid-column: 5 / span 3;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(3) {
                        grid-column: 8 / span 1;
                        grid-row: 1 / span 1;
                    }
                    &:nth-child(4) {
                        grid-column: 4 / span 7;
                        grid-row: 2 / span 1;
                    }
                }
            }
        }
    }

    .underConstruction {
        isolation: isolate;

        > div {
            display: block;
            z-index: 50;
            pointer-events: none;

            h2 {
                max-width: 60%;
                font-size: clamp(4rem, 8vw, 8rem);
                font-weight: 800;
                line-height: 1;
                color: var(--color-primary-red);
                margin-bottom: 2rem;
            }
            p {
                font-size: clamp(2rem, 3vw, 3rem);
                line-height: 1.15;
                color: var(--color-orange-shadow);
                max-width: 30rem;
            }
        }
        > img {
            display: block;
            position: absolute;
            bottom: 0px;
            right: 0px;
            z-index: 100;
            width: 80% !important;
            max-width: 1000px;
            height: auto;
            pointer-events: none;
        }
    }
}

/* GETTING STARTED */
#gettingStartedDialog {
    background-color: var(--color-background-main);
    /* background-image: url('images/Bubble-1.svg'), url('images/Bubble-2.svg'), url('images/Bubble-3.svg');
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: calc(100% + 50%) calc(0% - 50%), calc(0% - 60%) calc(100% + 70%), calc(0% - 60%) calc(100% - 60px);
    background-size: auto, auto, 50%; */
    width: 90%;
    height: 90%;
    border: 0px;
    border-radius: 1rem;
    box-shadow: 0 6px 18px var(--color-shadow);
    padding: clamp(1rem, 2vw, 2rem) clamp(2rem, 2vw, 4rem);
    overflow-x: hidden;

    #close-getting-started {
        position: absolute; 
        top: 1rem; 
        right: 1rem; 
        width:48px; 
        height: 48px;
        border: none; 
        background: var(--color-white-overlay-20); 
        border-radius: 50%; 
        display: flex;
        align-items: center; 
        justify-content: center; 
        cursor: pointer;
        transition: background 0.24s ease-in-out;

        &:hover {
            background: var(--color-white-overlay-40);
        }
    }

    h2 {
        font-size: clamp(4rem, 5vw, 6rem);
        font-weight: 800;
        color: var(--color-primary-red);
        text-align: left;
        margin-bottom: clamp(3rem, 5vw, 5rem);
    }

    > div {
        margin-bottom: clamp(3rem, 5vw, 5rem);

        > h3 {
            font-size: clamp(2rem, 3vw, 3rem);;
            font-weight: 800;
            color: var(--color-primary-red);
            text-align: center;
            margin-bottom: clamp(2rem, 5vw, 3rem);;
        }
    
        #principals {
            display: flex;
            flex-direction: row;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 4rem;

            > div {
                flex: 1;

                img {
                    display: block;
                    width: 100%;
                    height: auto;
                }
            }
        }
        #program-management {
            margin-bottom: 4rem;

            img {
                display: block;
                width: 60%;
                margin: 0 auto;
            }
        }
        #scale {
            position: relative;
            isolation: isolate;
            height: 50vw;

            > a:nth-of-type(1) {
                position: absolute;
                bottom: 35%;
                left: 6%;
                z-index: 50;

                > img {
                    display: block;
                    width: 30vw;
                }
            }
            > a:nth-of-type(2) {
                position: absolute;
                bottom: 41%;
                left: 62%;
                z-index: 50;
                
                > img {
                    display: block;
                    width: 25vw;
                }
            }
            > img {
                display: block;
                position: absolute;
                bottom: 0px;
                left: 50%;
                transform: translateX(-50%);
                width: 80vw;
                height: auto;
                margin: 0 auto;
                z-index: 100;
                padding-top: 20rem;
            }
        }
    }
}

/* REUSABLE ELEMENTS */
.toggle {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;

    span {
        display: inline-block;
        font-size: clamp(1rem, 1vw, 1.5rem);
        font-weight: 800;
        color: var(--color-secondary-red);
        padding: 0 1rem;
    }
    
    .control {
        display: none;
    }
    .switch {
        position: relative;
        display: inline-block;
        width: 8rem;
        height: 2.5rem;

        .slider {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 2.125em;
            background-color: var(--color-orange-light);
            box-shadow: inset 0 7px 10px var(--color-orange-shadow);
            cursor: pointer;
            transition: .4s;

            &:before {
                content: "";
                position: absolute;
                height: 2rem;
                width: 2rem;
                left: 4px;
                bottom: 4px;
                border-radius: 50%;
                background: var(--color-orange-light);
                box-shadow: inset -4px -7px 14px var(--color-orange-shadow), inset -3px -3px 4px var(--color-red-shadow), 3px 3px 6px var(--color-orange-shadow-50);
                transition: 0.4s ease;
            }
        }
    }
}

/* Toggle checked state - moved outside to avoid nesting issues */
.toggle input:checked + .switch .slider:before {
    left: 5.75rem !important;
}

/* First toggle - Yellow theme */
.theWorkforce .switches .toggle:first-child .switch .slider {
    background-color: #f5d98a; /* Lighter yellow */
    box-shadow: inset 0 7px 10px rgba(210, 120, 45, 0.8);
}

.theWorkforce .switches .toggle:first-child .switch .slider:before {
    background: #f5d98a;
    box-shadow: inset -4px -7px 14px rgba(210, 120, 45, 0.8), inset -3px -3px 4px rgba(190, 100, 35, 0.8), 3px 3px 6px rgba(170, 80, 25, 0.7);
}

/* Third toggle - Red theme */
.theWorkforce .switches .toggle:nth-child(3) .switch .slider {
    background-color: #e67c76; /* Lighter red */
    box-shadow: inset 0 7px 10px rgba(225, 36, 27, 0.7);
}

.theWorkforce .switches .toggle:nth-child(3) .switch .slider:before {
    background: #e67c76;
    box-shadow: inset -4px -7px 14px rgba(225, 36, 27, 0.7), inset -3px -3px 4px rgba(225, 36, 27, 0.6), 3px 3px 6px rgba(225, 36, 27, 0.5);
}