/* ==========================================================================
    Reset
   ========================================================================== */

a {
    text-decoration: none;
}

:focus{
    outline:0; /*removes the dotted border*/
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ededed;
}

/* ==========================================================================
    Fonts 
   ========================================================================== */
 
/*
    
    font-family: "Lexend", serif;

*/

/* ==========================================================================
    Variables 
   ========================================================================== */

:root {
    --black: #000;
    --white: #FFF;
    --grey: #545454;
    --nav-background: #000;

    --heading-font: "Lexend", serif;
    --heading-font-size: 20px;
    --heading-font-weight: 600;
    --heading-font-line-height: 120%;
    --heading-font-letter-spacing: 1px;

    --h1-font: "Lexend", serif;
    --h1-font-size: 22px;
    --h1-font-weight: 600;
    --h1-font-line-height: 120%;
    --h1-font-letter-spacing: 1px;

    --hero-body-font: "Lexend", serif;
    --hero-body-font-size: 18px;
    --hero-body-font-weight: 200;
    --hero-body-font-line-height: 120%;
    --hero-body-font-letter-spacing: 1px;

    --page-heading-font: "Lexend", serif;
    --page-heading-font-size: 30px;
    --page-heading-font-weight: 800;
    --page-heading-font-line-height: 120%;
    --page-heading-font-letter-spacing: 1px;

    --body-font: "Lexend", serif;
    --body-font-size: 16px;
    --body-font-weight: 200;
    --body-font-line-height: 150%;
    --body-font-letter-spacing: 1px;

    --nav-font: "Lexend", serif;
    --nav-font-size: 24px;
    --nav-font-weight: 200;
    --nav-font-line-height: 130%;
    --nav-font-letter-spacing: 1px;

    --services_heading-font: "Lexend", serif;
    --services_heading-font-size: 20px;
    --services_heading-font-weight: 600;
    --services_heading-font-line-height: 120%;
    --services_heading-font-letter-spacing: 1px;

    --projects-font: "Lexend", serif;
    --projects-font-size: 20px;
    --projects-font-weight: 600;
    --projects-font-line-height: 120%;
    --projects-font-letter-spacing: 1px;

    --projects-quote-font: "Lexend", serif;
    --projects-quote-font-size: 16px;
    --projects-quote-font-weight: 200;
    --projects-quote-font-line-height: 120%;
    --projects-quote-font-letter-spacing: 1px;

    --contact-header-font: "Lexend", serif;
    --contact-header-font-size: 22px;
    --contact-header-font-weight: 600;
    --contact-header-font-line-height: 120%;
    --contact-header-font-letter-spacing: 0px;

    --contact_body-font: "Lexend", serif;
    --contact_body-font-size: 18px;
    --contact_body-font-weight: 200;
    --contact_body-font-line-height: 130%;
    --contact_body-font-letter-spacing: 0px;

    --stats-label-font: "Lexend", serif;
    --stats-label-font-size: 20px;
    --stats-label-font-weight: 200;
    --stats-label-font-line-height: 130%;
    --stats-label-font-letter-spacing: 0px;

    --stats-font: "Lexend", serif;
    --stats-font-size: 30px;
    --stats-font-weight: 500;
    --stats-font-line-height: 130%;
    --stats-font-letter-spacing: 0px;

    --cta_body-font: "Lexend", serif;
    --cta_body-font-size: 18px;
    --cta_body-font-weight: 200;
    --cta_body-font-line-height: 130%;
    --cta_body-font-letter-spacing: 0px;

    --about-name-font: "Lexend", serif;
    --about-name-font-size: 20px;
    --about-name-font-weight: 600;
    --about-name-font-line-height: 120%;
    --about-name-font-letter-spacing: 1px;

    --footer-font: "Lexend", serif;
    --footer-font-size: 22px;
    --footer-font-weight: 200;
    --footer-font-line-height: 120%;
    --footer-font-letter-spacing: 1px;
   
    --footer-small-font: "Lexend", serif;
    --footer-small-font-size: 14px;
    --footer-small-font-weight: 200;
    --footer-small-font-line-height: 100%;
    --footer-small-font-letter-spacing: 0px;

    --button-font: "Lexend", serif;
    --button-font-size: 16px;
    --button-font-weight: 400;
    --button-font-line-height: 100%;
    --button-font-letter-spacing: 0px;

    --error-font: "Lexend", serif;
    --error-font-size: 40px;
    --error-font-weight: 400;
    --error-font-line-height: 130%;
    --error-font-letter-spacing: 1px;
    
    --standard-spacing: 30px;
    --footer-top-spacing: 40px;
    --section-padding: 20px;
    --footer-padding: 40px;
    --section-gap: 50px;
}

@media only screen and (min-width: 800px) {

    :root {
        --heading-font-size: 30px;
        --h1-body-font-size: 32px;
        --hero-body-font-size: 28px;
        --page-heading-font-size: 40px;
        --nav-font-size: 28px;
        --body-font-size: 18px;
        --services_heading-font-size: 24px;
        --projects-font-size: 30px;
        --projects-quote-font-size: 20px;
        --stats-label-font-size: 20px;
        --stats-font-size: 20px;
        --contact-header-font-size: 24px;
        --contact_body-font-size: 28px;
        --cta_body-font-size: 24px;
        --about-name-font-size: 26px;
        --footer-font-size: 22px;
        --footer-small-font-size: 14px;
        --button-font-size: 16px;
        --error-font-size: 30px;
        --standard-spacing: 30px;
        --footer-top-spacing: 60px;
        --section-padding: 50px;
        --footer-padding: 50px;
        --section-gap: 75px;
    }

}

@media only screen and (min-width: 1200px) {

    :root {
        --heading-font-size: 40px;
        --h1-body-font-size: 34px;
        --hero-body-font-size: 26px;
        --page-heading-font-size: 70px;
        --nav-font-size: 30px;
        --body-font-size: 20px;
        --services_heading-font-size: 26px;
        --about-name-font-size: 30px;
        --projects-font-size: 40px;
        --projects-quote-font-size: 20px;
        --stats-label-font-size: 20px;
        --stats-font-size: 30px;
        --contact-header-font-size: 24px;
        --contact_body-font-size: 26px;
        --cta_body-font-size: 30px;
        --footer-font-size: 26px;
        --footer-small-font-size: 16px;
        --button-font-size: 16px;
        --error-font-size: 40px;
        --standard-spacing: 40px;
        --footer-top-spacing: 80px;
        --section-padding: 75px;
        --footer-padding: 75px;
        --section-gap: 100px;
    }

}

/* ==========================================================================
    Colours global 
   ========================================================================== */

.black_background {
    background-color: var(--black) !important; 
}

.black_foreground {
    color: var(--black) !important;
}

.white_background {
    background-color: var(--white) !important; 
}

.white_foreground {
    color: var(--white) !important;
}

/* ==========================================================================
    Layout and spacing
   ========================================================================== */

.padding-top {
    padding-top: var(--standard-spacing);
}

.padding-bottom {
    padding-bottom: var(--standard-spacing);
}

.margin-top {
    margin-top: var(--standard-spacing);
}

.margin-bottom {
    margin-bottom: var(--standard-spacing);
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.section-top-gap {
    padding-top: var(--section-gap);
}

.page.section-top-gap {
    padding-top: calc(var(--section-gap) * 3);
}

.section-margin-top-gap {
    margin-top: var(--section-gap);
}

.section-bottom-gap {
    padding-bottom: var(--section-gap);
}

.clear {
    clear: both;
}

.invert {
    filter: invert(100%);
}

.add_borders {
    border-radius: 20px;
}

.grain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.20;
    pointer-events: none;
    border-radius: 20px;
}

/* ==========================================================================
    Main containers and sections 
  ========================================================================== */

.main-container {
    position: relative;
    top: 0px;
    padding-bottom: var(--footer-top-spacing);
}

section {
    position: relative;
    width: 100%;
    opacity: 0;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

section.fadeon {
    opacity: 1;
}

.section_content {
    position: relative;
}

.section_content_centred {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.hero_section {
    margin-top: 10px;
    aspect-ratio: 16 / 9;
    margin-left: 10px;
    width: calc(100% - 20px);
    border-radius: 20px;
}

.herobody_section {
    margin-left: var(--section-padding);
    width: calc(100% - (2 * var(--section-padding)));
}

.hero_section_content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.hero_section_content.hide {
    opacity: 0;
}

#mask_container {
    position: fixed;
    display: flex;
    aspect-ratio: 16 / 9;
    width: 100%;
    -webkit-mask-position: center;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

#mask {
    position: relative;
    width: 60%;
    aspect-ratio: 16 / 9;
    margin: auto;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat; 
    mask-position: center;
   
}

#mask_container.active {
    opacity: 1;
    visibility: visible;
}

.section_padding_left {
    padding-left: var(--section-padding);
}

.section_padding_right {
    padding-right: var(--section-padding);
}

.section_margin_left {
    margin-left: var(--section-padding);
}

.section_margin_right {
    margin-right: var(--section-padding);
}

section.page {
    
}

section.page h1 {
    font-family: var(--page-heading-font);
    font-size: var(--page-heading-font-size);
    font-weight: var(--page-heading-font-weight);
    letter-spacing: var(--page-heading-font-letter-spacing);
    line-height: 100%;
    max-width: 700px;
    width: 100%;
    vertical-align: top;
}

#hero_body {
    width: 88%;
}

section.home_section #hero_body {
    margin-left: 5%;
}

section.home_section #hero_body p {
    text-align: right;
}

section.page #hero_body {
    margin-top: 40px;
}

#hero_body h1 {
    text-align: left;
    font-family: var(--hero-body-font);
    font-size: calc(var(--hero-body-font-size) + 4px);
    font-weight: var(--hero-body-font-weight);
    letter-spacing: var(--hero-body-font-letter-spacing);
    line-height: var(--hero-body-font-line-height);
    margin-bottom: 20px;   
    text-align: right;
}

#hero_body p {
    text-align: left;
    font-family: var(--hero-body-font);
    font-size: var(--hero-body-font-size);
    font-weight: var(--hero-body-font-weight);
    letter-spacing: var(--hero-body-font-letter-spacing);
    line-height: var(--hero-body-font-line-height);
    margin-bottom: 20px;   
}

#body {
    width: 90%;
}

#body p {
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    letter-spacing: var(--body-font-letter-spacing);
    line-height: var(--body-font-line-height);
    text-align: left;
    color: var(--black);
    margin-bottom: 20px;
}

#body a {
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    letter-spacing: var(--body-font-letter-spacing);
    line-height: var(--body-font-line-height);
    text-align: left;
    color: var(--black);
    margin-bottom: 20px;
    text-decoration: underline;
}

#body a:hover {
    text-decoration: none;
}

#body p em {
    font-style: italic;
}

#body p strong {
    font-weight: bold;
}

#body ul, #body ol {
    margin-bottom: 20px;
    list-style-position: outside;
}

#body ul li, #body ol li {
    list-style-type: none;
    padding: 0px;
    background-color: unset;
    border-radius: 0px;
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    letter-spacing: var(--body-font-letter-spacing);
    line-height: var(--body-font-line-height);
    margin-bottom: 0px;
    text-indent: -15px;
    padding-left: 20px;
}

#body ul li::before, #body ol li::before {
    content: "•"; 
    padding-right: 8px;
}

strong {
    font-weight: 400;
}

em {
    color: var(--grey);
}

#downarrow {
    position: fixed;
    top: calc((100vw / 1.77778) - 120px);
    visibility: hidden;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000000;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;

}
    
#downarrow img {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(90deg);
}

.desktop {
    display: none;
}

.mobile {
    display: block;
}

.nocaps {
    text-transform: none !important;
}

@media only screen and (min-width: 800px) {

    #body {
        width: 60%;
    }

    #hero_body {
        width: 60%;
    }

    .desktop {
        display: block;
    }

    .mobile {
        display: none;
    }

    section.home_section #hero_body {
        margin-left: 30%;
    }

}


/* ==========================================================================
    Home  
   ========================================================================== */

section.home_section h2 {
    font-family: var(--heading-font);
    font-size: var(--heading-font-size);
    font-weight: var(--heading-font-weight);
    letter-spacing: var(--heading-font-letter-spacing);
    line-height: 100%;
    max-width: 700px;
    width: 100%;
    vertical-align: top;
    text-wrap: nowrap;
}

ul.clients {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;              /* 20px space between boxes */
    margin: 0;              /* no margin on container */
    padding: 0;             /* no padding on container */
    width: 100%;           /* use full viewport width */
    align-items: center;    /* center vertically within the grid row */
}

ul.clients li {
    background: #fff;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

ul.clients li img {
    width: 40%;
    object-fit: contain;
    display: block;
    filter: grayscale(1);
}

ul.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;              /* 20px space between boxes */
    margin: 0;              /* no margin on container */
    padding: 0;             /* no padding on container */
    width: 100%;           /* use full viewport width */
    align-items: center;    /* center vertically within the grid row */
}

ul.projects_list {
    grid-template-columns: repeat(1, 1fr);
}

ul.projects li {
    background: #fff;
    border-radius: 20px;
    aspect-ratio: 4 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

ul.projects li div.project_title {
    z-index: 10;
}

ul.projects li img {
    width: 100px;
    object-fit: contain;
    filter: grayscale(1);
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    display: block;
    z-index: 10;
    margin: 0 auto;
}

ul.projects li h3 {
    display: block;
    font-family: var(--projects-font);
    font-size: var(--projects-font-size);
    font-weight: var(--projects-font-weight);
    letter-spacing: var(--projects-font-letter-spacing);
    color: var(--white);
    line-height: 100%;
    vertical-align: top;
    margin-top: 20px;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 10;
    text-align: center;
}

ul.projects li:hover img, ul.projects li:hover h3 {
    transform: scale(0.9);
}

ul.projects li div.projects_background {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 1;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

ul.projects li:hover div.projects_background {
    background-size: 105%;
    filter: blur(5px);
}

div.quote {
    padding: 20px;
}


div.quote i {
    color: var(--grey);
    font-size: 40px;
}

div.quote p {
    font-family: var(--projects-quote-font);
    font-size: var(--projects-quote-font-size);
    font-weight: var(--projects-quote-font-weight);
    letter-spacing: var(--projects-quote-font-letter-spacing);
    color: var(--grey);
    line-height: var(--projects-quote-font-line-height);
}

ul.services {
    margin-top: 40px;
}

ul.services li {
    border-bottom: 1px solid #f1f1f1;
    margin-bottom: 40px;
    cursor: pointer;
}

ul.services li:last-child {
    margin-bottom: 0px;
}

ul.services li h3 {
    font-family: var(--services_heading-font);
    font-size: var(--services_heading-font-size);
    font-weight: var(--services_heading-font-weight);
    letter-spacing: var(--services_heading-font-letter-spacing);
    color: var(--white);
    line-height: 100%;
    margin-bottom: 40px;
}

ul.services li div.services_copy {
    max-height: 0px;
    overflow: hidden;
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    letter-spacing: var(--body-font-letter-spacing);
    line-height: var(--body-font-line-height);
    text-align: left;
    color: var(--white);
    margin-bottom: 0px;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    width: 90%;
}

ul.services li.open div.services_copy {
    max-height: 400px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.services_icon {
    margin-top: 0px;
    float: right;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.stat-box {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.stat-number {
    font-family: var(--stats-font);
    font-size: var(--stats-font-size);
    font-weight: var(--stats-font-weight);
    letter-spacing: var(--stats-font-letter-spacing);
    line-height: var(--stats-font-line-height);
    color: var(--black);
    margin-bottom: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-label {
    color: var(--grey);
    font-family: var(--stats-label-font);
    font-size: var(--stats-label-font-size);
    font-weight: var(--stats-label-font-weight);
    letter-spacing: var(--stats-label-font-letter-spacing);
    line-height: var(--stats-label-font-line-height);
}

/* Animation classes */
.counting {
    opacity: 0;
    transform: translateY(20px);
}

.counted {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta_container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
    max-width: 100%;
    width: 100%;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1000;
}

.cta_photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 30px;
    border: 5px solid #f0f0f0;
    display: block;
}

.cta_title {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
    margin-top: 0;
    font-family: var(--contact-header-font);
    font-size: var(--contact-header-font-size);
    font-weight: var(--contact-header-font-weight);
    letter-spacing: var(--contact-header-font-letter-spacing);
    line-height: var(--contact-header-font-line-height);
}

.cta_description {
    color: #777;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
    font-family: var(--cta_body-font);
    font-size: var(--cta_body-font-size);
    font-weight: var(--cta_body-font-weight);
    letter-spacing: var(---cta_body-font-letter-spacing);
    line-height: var(--cta_body-font-line-height);
}

.cta_button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    font-family: var(--cta_body-font);
}

.cta_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.cta_button:active {
    transform: translateY(0);
}

.contact_copy {
    display: block;
    vertical-align: top;
    text-align: right;
    margin-top: 60px;
    font-family: var(--contact_body-font);
    font-size: var(--contact_body-font-size);
    font-weight: var(--contact_body-font-weight);
    letter-spacing: var(---contact_body-font-letter-spacing);
    line-height: var(--contact_body-font-line-height);
    color: var(--white);
    width: 100%;
    padding-bottom: var(--standard-spacing);
}

.contact_copy p {
    margin-bottom: 20px;
}

.contact_copy a {
    font-size: var(--contact_body-font-size);
    text-decoration: underline;
    color: var(--white);
}

.contact_copy a:hover {
    text-decoration: none;
}

ul.testimonials {
    position: relative;
    height: 270px;
}

ul.testimonials li {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

ul.testimonials li i {
    font-size: 40px;
    color: var(--grey);
}

ul.testimonials li.active {
    opacity: 1;
}

@media only screen and (min-width: 800px) {

    #downarrow.active {
        visibility: visible;
        opacity: 1;
    }

    ul.clients {
        grid-template-columns: repeat(5, 1fr);
    }

    ul.clients li img {
        width: 40%;
    }

    ul.projects {
        grid-template-columns: repeat(2, 1fr);
    }

    ul.projects_list {
        grid-template-columns: repeat(2, 1fr);
    }

    ul.projects li img {
        width: 150px;
    }

    ul.services li div.services_copy {
        width: 60%;
    }

    .contact_copy {
        float: right;
        width: 45%;
        padding-bottom: 0;
    }

    .cta_container {
        padding: 35px 25px;
        width: 45%;
    }

    .cta_title {
        font-size: 26px;
    }

    .cta_subtitle {
        font-size: 20px;
    }

    .cta_description {
        font-size: 20px;
    }

    .cta_button {
        font-size: 16px;
        padding: 15px 35px;
    }

}

/* ==========================================================================
    Projects
   ========================================================================== */

#results {
    
}

/* ==========================================================================
    Project Item Page
   ========================================================================== */

section.page_item h1 {
    font-family: var(--heading-font);
    font-size: var(--heading-font-size);
    font-weight: var(--heading-font-weight);
    letter-spacing: var(--heading-font-letter-spacing);
    line-height: 100%;
    max-width: 700px;
    width: 100%;
    vertical-align: top;
    color: var(--black);
}

#project_details {

}

#project_details li {
    display: block;
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    letter-spacing: var(--body-font-letter-spacing);
    line-height: var(--body-font-line-height);
    border-bottom: 1px solid #d1d1d1;
    text-align: right;
    padding-top: 20px;
    padding-bottom: 20px;
}

#project_details li span {
    float: left;
    padding-left: 20%;
}

.masonry-container {
    column-count: 2;
    column-gap: 10px;
    margin: 0 auto;
    -webkit-perspective: 1;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 10px;
    background-color: #fff;
    cursor: pointer;
    will-change: auto;
    margin-top: 0 !important;
    display: inline-block;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
     -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
      -webkit-mask-image: -webkit-radial-gradient(circle, white, black);
}

.masonry-item:hover img {
    transform: scale(1.05);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    z-index: 10000000;
    overflow: hidden;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 20px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Navigation buttons */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 30px;
    padding: 20px;
    background: none;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    z-index: 1001;
}

.lightbox-nav:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 48px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

/* Image counter */
.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    font-family: var(--body-font);
}

@media only screen and (min-width: 800px) {

    .masonry-container {
        column-count: 3;
    }

    #project_details li span {
        padding-left: 70%;
    }

}

@media only screen and (min-width: 800px) {

    .masonry-container {
        column-count: 4;
    }

}

/* Remove all loading states */

/* Keyboard focus styles */
.lightbox-nav:focus,
.lightbox-close:focus {
    outline: 2px solid white;
    outline-offset: 4px;
}

/* ==========================================================================
    About us
   ========================================================================== */

ul.team_list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;              /* 20px space between boxes */
    margin: 0;              /* no margin on container */
    padding: 0;             /* no padding on container */
    width: 100%;           /* use full viewport width */
}

ul.team_list li {
    background: #fff;
    border-radius: 20px;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

ul.team_list li:hover {
    background-size: 110%;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

ul.team_list li img {
    width: 100%;
    object-fit: contain;
    filter: grayscale(1);
    display: block;
    border-radius: 20px;
}

ul.team_list li div.staff_details {
    width: 100%;
    padding: 20px;
}

ul.team_list li h3 {
    display: block;
    font-family: var(--about-name-font);
    font-size: var(--about-name-font-size);
    font-weight: var(--about-name-font-weight);
    letter-spacing: var(--about-name-font-letter-spacing);
    color: var(--black);
    line-height: 100%;
    vertical-align: top;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    margin-bottom: 4px;
}

ul.team_list li h4 {
    display: block;
    font-family: var(--about-name-font);
    font-size: var(--about-name-font-size);
    font-weight: 500;
    letter-spacing: var(--about-name-font-letter-spacing);
    color: var(--black);
    line-height: 100%;
    vertical-align: top;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    margin-bottom: 20px;
}

ul.team_list li div.staff_copy p {
    display: block;
    font-family: var(--body-font);
    font-size: var(--body-font-size);
    font-weight: var(--body-font-weight);
    letter-spacing: var(--body-font-letter-spacing);
    line-height: 120%;
    color: var(--black);
    vertical-align: top;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media only screen and (min-width: 800px) {
    
    ul.team_list {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ==========================================================================
    Sustainability
   ========================================================================== */




/* ==========================================================================
    Contact
   ========================================================================== */

div.cta_contact_page {
    margin-bottom: 40px;
}

@media only screen and (min-width: 800px) {

   div.cta_contact_page {
        float: right;
        margin-bottom: 0px;
        margin-left: 40px;
    }

}

/* ==========================================================================
    Video  
   ========================================================================== */

#videoplayer_standard {
    margin-bottom: 0px;
    padding-top: 0;
    border-radius: 20px;
}

.video-js {
    border-radius: 20px !important;
    background-color: none !important;
}

.video-js .vjs-progress-control .vjs-play-progress {
    background-color: #5EB3DB !important;
}

.video-js .vjs-progress-control .vjs-load-progress {
    background-color: #5EB3DB !important;
    opacity: 0.4;
}

.no-touch .video-js .vjs-button:hover {
    background-color: #5EB3DB !important;
    color: #000 !important;
}

.vjs-subs-caps-button {
    display: none !important;
}

.vjs-big-play-button {
    display: none !important;
}

.vjs-control-bar {
    display: none !important;
}

@media only screen and (min-width: 800px) {


}

/* ==========================================================================
    Buttons
   ========================================================================== */

.standard_button {
    display: block;
    font-family: var(--button-font);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    line-height: var(--button-font-line-height);
    letter-spacing: var(--button-font-letter-spacing);
    color: var(--white);
    padding: 16px 30px 16px 30px;
    border-radius: 40px !important;
    border: 1px solid #000 !important;
    border-color: #000 !important;
    background-color: #000 !important;
    background-repeat: no-repeat !important;
    cursor: pointer;
    webkit-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;   
    -webkit-tap-highlight-color: none !important;
}

.standard_button:hover {
    background-color: transparent !important;
    color: var(--black) !important;
}

.nav_circle_icon {
    color: #FFF;
    background: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    vertical-align: middle;
    padding: 0px;
    font-size: 14px;
    vertical-align: top;
    padding-left: 1px;
    margin-top: -6px;
}

.nav_circle_icon:hover {
    color: #000;
    background: #a1a1a1;
}

@media only screen and (min-width: 800px) {

    .standard_button {
        padding: 16px 50px 16px 50px;
    }

    .nav_circle_icon {
        margin-top: 0px;
    }

}

@media only screen and (min-width: 1200px) {

    .nav_circle_icon {
        margin-top: 5px;
    }

}


/* ==========================================================================
    Header and Navigation
   ========================================================================== */

header {
    margin-top: 9px;
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 100001;
    padding-top: var(--section-padding);
    padding-left: var(--section-padding);
    opacity: 0;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

header.fadeon {
    opacity: 1;
}

header a.logo {
    position: absolute;
    left: var(--section-padding);
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    width: 120px;
    opacity: 1;
    visibility: visible;
}

header a.logo img {
    width: 50px;
}

header a.logo.scrolled {
    opacity: 0;
    visibility: hidden;
}

#main_nav {
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}

#main_nav.active {
    height: 70px;
}

#main_nav.open {
    height: 100vh !important;
    z-index: 10010;
    width: 100%;
    top: 0px;
    left: 0px;
    position: absolute;
    opacity: 1;
}

#main_nav>ul {
    position: absolute;
    top: -1000px;
    width: 100%;
    right: 0px;
    padding: 40px;
    background: var(--nav-background);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#main_nav.open ul {
    top: 0px;
}

.hamburger-box {
    width: 30px !important;
    height: 15px !important;
    opacity: 1 !important;
}

.hamburger-inner, .hamburger-inner:after, .hamburger-inner:before {
    height: 3px !important;
    border-radius: 4px !important;
    width: 25px !important;
    background-color: #FFF !important;
}

.hamburger-inner:after {
    top: 10px !important;
}

#main_nav.open .hamburger-inner:after {
    top: 20px !important;
}

.hamburger-inner:before {
    height: 0px !important;
}

.hamburger--squeeze.is-active .hamburger-inner, .hamburger--squeeze.is-active .hamburger-inner:after, .hamburger--squeeze.is-active .hamburger-inner:before {
    width: 40px !important;
}

#menu_button {
    position: absolute;
    right: 0px;
    top: 9px;
    z-index: 1000;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#main_nav.open #menu_button {
    top: 20px !important;
}

#main_nav>ul>li {
    margin-bottom: 20px;
    text-align: center;
}

#main_nav>ul>li:last-child {
    margin-bottom: 0px;
}

#main_nav>ul>li a {
    font-family: var(--nav-font);
    color: #1C1C20;
    letter-spacing: 0px;
    font-size: var(--nav-font-size);
    font-weight: var(--nav-font-weight);
    line-height: var(--nav-font-line-height);
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    cursor: pointer;
}

#main_nav.open>ul>li a {
    color: #FFF;
}

#main_nav>ul>li a i {
    margin-right: 10px;
}

#main_nav>ul>li a:hover {
    opacity: 0.3 !important;
}

#main_nav ul.sub_menu {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#main_nav>ul>li a.open {
    opacity: 0.6;
    -webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#main_nav ul.sub_menu li {
    margin-bottom: 20px;
    list-style-type: none; 
    text-align: left;
}

#main_nav ul.sub_menu li:last-child {
    margin-bottom: 5px;
}

#main_nav ul.sub_menu.open {
    visibility: visible;
    opacity: 1;
    top: 18px;
    position: relative;
    left: 0px;
    max-height: 300px;
    padding: 15px;
    background-color: #FFF;
    padding-top: 25px;
    margin-bottom: 50px;
}

#main_nav ul.sub_menu.open li a {
    color: #000;
}


@media only screen and (min-width: 800px) {

    header.scroll_move a.logo {
        left: 25px;
    }

    header a.logo img {
        width: 120px;
    }
    
    header {
        margin-top: 0px;
    }
    
    #menu_button {
        right: 25px;
        top: 30px;
    }

    header.scroll_move #main_nav>ul {
        right: 75px;
    }

    header.scroll_move #menu_button {
        right: 5px;
    }

}

@media only screen and (min-width: 1000px) {
    
    header {
        margin-top: 0px;
    }

    #menu_button {
        right: 55px;
        top: 60px;
    }

    header.scroll_move #main_nav>ul {
        right: 75px;
    }

    header.scroll_move #menu_button {
        right: 5px;
    }

}    

/* ==========================================================================
    Cookie
   ========================================================================== */

.gdprcookie {
    background-color: #4f5d63 !important;
    right: auto;
    left: 1.5rem;
    z-index: 1000;
}

.gdprcookie h1, .gdprcookie h2 {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #FFF;
}

.gdprcookie p {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #FFF;
}

.gdprcookie a {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    text-decoration: underline;
    color: #FFF;
}

.gdprcookie a:hover {
    opacity: 0.6;
}

.gdprcookie-buttons, .gdprcookie-types {
    margin-top: 20px;
}

.gdprcookie-types label {
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    color: #FFF;
}

.gdprcookie-buttons button {
    font-size: 14px !important;
    font-family: 'Roboto', sans-serif !important;
    color: #FFF !important;
    padding: 15px !important;
    border: 1px solid #FFF !important;
}

.gdprcookie-buttons button:hover {
    opacity: 0.6;
}

/* ==========================================================================
    Footer 
  ========================================================================== */

footer {
    background-color: var(--black);
    padding: var(--footer-padding);
    position: relative;
    width: 100%;
    opacity: 0;
    margin-top: auto;
    webkit-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

footer.fadeon {
    opacity: 1;
}

#footer_logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 40px;
    margin-bottom: 60px;
}

footer div.social {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

footer div.social a {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
}

footer div.social a:hover {
    opacity: 0.6;
}

footer div.social i {
    font-size: 35px;
    color: #FFF;
}

footer div.copyright {
    position: relative;
    text-align: center;
    font-family: var(--footer-small-font);
    font-size: var(--footer-small-font-size);
    font-weight: var(--footer-small-font-weight);
    line-height: var(--footer-small-font-line-height);
    letter-spacing: var(--footer-small-font-letter-spacing);
    color: var(--white);
}

footer div.copyright p {
    display: block;
    margin-bottom: 5px;
}

footer div.copyright a {
    font-family: var(--footer-small-font);
    font-size: var(--footer-small-font-size);
    font-weight: var(--footer-small-font-weight);
    line-height: var(--footer-small-font-line-height);
    letter-spacing: var(--footer-small-font-letter-spacing);
    color: var(--white);
}

footer div.copyright a:hover {
    opacity: 0.6;
}

@media only screen and (min-width: 800px) {

    footer div.copyright {
        position: absolute;
        bottom: 40px;
        text-align: left;
    }

    footer div.social {
        position: absolute;
        bottom: 40px;
        right: var(--section-padding);
        margin-bottom: 0px;
    }

    footer div.social a {
        margin-left: 20px;
        margin-right: 0px;
    }

}

/* ==========================================================================
    Error
   ========================================================================== */

.error {
    font-family: var(--error-font);
    font-weight: var(--error-font-weight);
    font-size: var(--error-font-size);
    color: #231F20;
    text-align: center;
}

.error h1 {
    font-family: var(--error-font);
    font-weight: var(--error-font-weight);
    font-size: 60px;
    color: #231F20;
    padding-top: 100px;
    padding-bottom: 100px;
}


.error h2 {
    font-family: var(--error-font);
    font-weight: var(--error-font-weight);
    font-size: 30px;
    color: #231F20;
    margin-bottom: 100px;
}


.error h3 {
    font-family: var(--error-font);
    font-weight: var(--error-font-weight);
    font-size: 30px;
    color: #231F20;
}