html {
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

p {
    padding-left: 0 !important;
}

/* TYPOGRAPHY */

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-family: 'Playfair Display';
    margin-bottom: 0;
}

h1 {
    font-size: 80px;
    line-height: 96px;
}

h2 {
    font-size: 56px;
    line-height: 72px;
}

h3 {
    font-size: 40px;
    line-height: 56px;
}

h4 {
    font-size: 32px;
    line-height: 38px;
}

h5 {
    font-size: 24px;
    line-height: 28px;
}

h6 {
    font-size: 20px;
    line-height: 24px;
}

p {
    font-weight: lighter;
    font-family: 'Source Sans Pro';
    margin-bottom: 0;
}

.p-xxxl {
    font-size: 32px;
    line-height: 40px;
}

.p-xxl {
    font-size: 24px;
    line-height: 32px;
}

.p-xl {
    font-size: 20px;
    line-height: 34px;
}

.p-l {
    font-size: 18px;
    line-height: 30px;
}

.p-n {
    font-size: 16px;
    line-height: 26px;
}

.p-s {
    font-size: 14px;
    line-height: 24px;
}

/* COLOURS */

.white {
    color: #ffffff;
}

.black {
    color: #000000;
}

.g-50 {
    color: #808080;
}

.weblink:hover {
    text-decoration: #000000 underline;
}

.bg-hadrian {
    background-color: #EF4B56;
}

.bg-mcdonalds {
    background-color: #7741DE;
}

.bg-tmobile {
    background: linear-gradient(90deg, #E20074 60%, #FFD300 40%);
}

.bg-intertrust1 {
    background-color: #312783;
}

.bg-intertrust2 {
    background-color: #009FE3;
}

.bg-intertrust3 {
    background-color: #E86DAA;
}

.bg-intertrust4 {
    background-color: #F7F9FF;
}

.bg-independer {
    background-color: #FBDF5A;
}

.bg-curio1 {
    background-color: #004FFF;
}

.bg-justdiggit {
    background-color: #5BBF66;
}

.bg-grand {
    background-color: #FCE154;
}

.bg-noisia {
    background-color: #F6453B;
}

.bg-playground {
    background-color: #004054;
}

.bg-independer1 {
    background-color: #FBDF5A;
}

/* SPACERS */

.m-8 {
    margin-bottom: 8px;
}

.m-24 {
    margin-bottom: 24px;
}

.m-40 {
    margin-bottom: 40px;
}

.m-48 {
    margin-bottom: 48px;
}

.m-120 {
    margin-bottom: 120px;
}

.gap {
    height: 120px;
}

/* COMPONENTS */

video {
    outline: none;
}

.nav {
    height: 72px;
    width: 100%;
    position: absolute;
    background-color: #ffffff;
    z-index: 3;
}

#header {
    position: fixed;
    top: 0;
}

#footer {
    color: #ffffff;
    background-color: #000000;
}

.logo a {
    color: #000000;
    text-decoration: none;
}

.links-light {
    font-weight: normal;
    font-family: 'Source Sans Pro';
    font-size: 16px;   
}

.links-light a {
    padding-left: 32px;
    color: #808080;
    text-decoration: none;
}

.links-light a:hover {
    color: #000000;
    text-decoration: none;
}

.links-dark {
    font-weight: normal;
    font-family: 'Source Sans Pro';
    font-size: 16px;   
    color: #808080;
}

.links-dark a {
    padding-left: 32px;
    color: #808080;
}

.links-dark a:hover {
    color: #ffffff;
    text-decoration: none;
}

.container {
    padding-left: 0;
    padding-right: 0;
    max-width: 1200px;
}

.hero {
    height: calc(100vh - 80px);
    margin-bottom: 48px;
}

.arrow-down {
    position: absolute;
    bottom: 80px;
    height: 72px;
    width: 72px;
    border: 1px solid #000000;
    border-radius: 40px;
    transition: 300ms ease-in-out;
}

.arrow-down:hover {
    background-color: #000000;
}

.arrow-down:hover svg path{
    fill: #ffffff;
}

.project {
    height: 594px;
}

.project-title {
    padding-top: 144px;
}

.center {
    text-align: center;
}

.title-left {
    padding-right: 48px;
    padding-left: 0px;
}

.title-right {
    padding-left: 48px;
    padding-right: 0px;
}

#img-up {
    padding-left: 0;
    padding-right: 0;
    transition: 600ms ease-out;
    transition-delay: 900ms;
    position: relative;
    top: 32px;
}

.img-right {
    padding: 0;
}

.img-left {
    padding: 0;
}

#img-intertrust {
    width: auto;
    height: 100%;
    max-height: 558px;
    /* position: absolute; */
    transition: 300ms ease-in-out;
}

.project-img {
    width: auto;
    height: 100%;
    position: absolute;
    transition: 300ms ease-in-out;
}

.img-left:hover img{
    transform: scale(1.02);
}

.img-right:hover img{
    transform: scale(1.02);
}

.project-img-mobile {
    display: none;
}

.about-img-mobile {
    display: none;
}

.about-img-tablet {
    display: none;
}

.img-long {
    width: 100%;
    height: auto;
}

.img-half {
    height: auto;
    width: 100%;
}

.img-100 {
    width: 100%;
    height: 675px;
}

.img-80 {
    width: 80%;
}

.img-about {
    width: 100%;
}

.img-ipad {
    height: 100%;
}

.undertitle {
    opacity: 1;
    margin-top: 8px;
}

.lead-meta {
    background-color: #F8F8F8;
    padding: 32px;
    height: 100%;
}

.next-section {
    background-color: #000000;
    padding-top: 120px;
    padding-bottom: 120px;
}

.next-container {
    height: 594px;
    width: 100%;
}

.next-overlay {
    height: 594px;
    width: 100%;
    background-color: #262626;
    opacity: 1;
    z-index: 2;
    position: absolute;
    transition: 300ms ease-in-out;
}

.next-overlay:hover {
    opacity: 0;
}


.next {
    height: 594px;
    width: 100%;
}

.next-img {
    height: 100%;
    z-index: 0;
    transition: 4s ease-in-out;
}

.next-container:hover .next-img {
    transform: scale(1.1);
}


#hero-title {
    opacity: 0;
    transition: 900ms ease-out;
    transition-delay: 600ms;
    position: relative;
    top: 8px;
}

#hero-title.title-show {
    opacity: 1;
    transform: translateY(-8px);
}

#hero-subtitle {
    opacity: 0;
    transition: 900ms ease-out;
    transition-delay: 300ms;
    position: relative;
    top: 8px;
}

#hero-subtitle.subtitle-show {
    opacity: 1;
    transform: translateY(-8px);
}

#home-subtitle {
    opacity: 0;
    transition: 900ms ease-out;
    transition-delay: 300ms;
    position: relative;
    top: 24px;
}

#home-subtitle.home-subtitle-show {
    opacity: 1;
    transform: translateY(-24px);
}

#home-title {
    opacity: 0;
    transition: 900ms ease-out;
    transition-delay: 150ms;
    position: relative;
    top: 24px;
}

#home-title.home-title-show {
    opacity: 1;
    transform: translateY(-24px);
}


#img-up.bg-show {
    transform: translateY(-32px);
}

#lead-anim {
    opacity: 0;
    transition: 300ms ease-in-out;
    transition-delay: 300ms;
    position: relative;
    top: 4px;
}

#lead-anim.lead-show {
    opacity: 1;
    transform: translateY(-4px);
}

.experience-card {
    padding: 24px;
    border-radius: 4px;
    border: solid 1px #DDDDDD;
}

.c-left {
    padding-right: 12px;
    padding-left: 0;
}

.c-right {
    padding-left: 12px;
    padding-right: 0;
}

.external {
    padding: 8px;
    margin-top: -8px;
    margin-right: -8px;
    border-radius: 4px;
    height: 32px;
    background-color: #FFFFFF;
    transition: 300ms ease-in-out;
}

.external:hover {
    background-color: #f2f2f2;
}


.next-text-mobile {
    display: none;
}

.mobile {
    display: none;
}

.hover-img {
    overflow: hidden;
}

@media (max-width: 768px) { 

/* TYPOGRAPHY */

h1 {
    font-size: 40px;
    line-height: 48px;
}

h2 {
    font-size: 32px;
    line-height: 40px;
}

h3 {
    font-size: 28px;
    line-height: 36px;
}

h4 {
    font-size: 32px;
    line-height: 38px;
}

h5 {
    font-size: 24px;
    line-height: 28px;
}

h6 {
    font-size: 18px;
    line-height: 24px;
}

.p-xxxl {
    font-size: 24px;
    line-height: 32px;
}

.p-xxl {
    font-size: 20px;
    line-height: 28px;
}

.p-xl {
    font-size: 18px;
    line-height: 28px;
}

.p-l {
    font-size: 18px;
    line-height: 28px;
}

.p-n {
    font-size: 16px;
    line-height: 24px;
}

.p-s {
    font-size: 14px;
    line-height: 24px;
}

/* SPACERS */

.m-120 {
    margin-bottom: 80px;
}

.m-24 {
    margin-bottom: 16px;
}

/* COMPONENTS */

.nav {
    height: 56px;
}

.links-light a {
    padding-left: 16px;
    font-size: 16px;
}

#work {
    display: none;
}

.links-light {
    font-size: 14px;   
}

.links-dark {
    font-size: 16px;
}

.arrow-down:hover {
    background-color: #ffffff;
}

.arrow-down:hover svg path{
    fill: #000000;
}

.arrow-down:active {
    background-color: #000000;
}

.arrow-down:active svg path{
    fill: #ffffff;
}

.container {
    padding-left: 16px;
    padding-right: 16px;
}

.arrow-down {
    bottom: 112px;
    width: 54px;
    height: 54px;
}

.arrow-down svg {
    width: 16px;
    height: 20px;
}

.hero {
    height: calc(90vh - 56px);
}

.title-left {
    padding: 0 16px 0 0;
}

.title-right {
    padding: 0 16px 0 16px !important;
}

.img-left:hover img{
    transform: none;
}

.img-right:hover img{
    transform: none;
}

.project {
    height: auto;
}

.project-right {
    flex-direction: column-reverse;
    padding-left: 16px;
}

.project-left {
    padding-right: 16px;
}

.img-right {
    height: 380px;
    width: 100vw;
    margin-bottom: 16px;
}

.img-left {
    height: 380px;
    width: 100%;
    margin-bottom: 16px;
}

.undertitle {
    opacity: 1;
}

.img-half {
    height: auto;
    width: 100%;
}

.half {
    margin-bottom: 80px;
}

.img-100 {
    height: 240px;
}

.img-top {
    height: 380px;
}

.img-ipad {
    width: auto;
}

.col-1 {
    display: none;
}

.lead-meta {
    padding: 24px 16px !important;
}

.lead-text {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.next-overlay {
    display: none !important;
}

.c-left {
    padding-left: 0px;
    padding-right: 0px;
}

.c-right {
    padding-left: 0px;
    padding-right: 0px;
}

.experience-card {
    padding: 16px;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
}

.row>* {
    padding-left: 0;
    padding-right: 0;
}

.w-100 {
    padding-left: 0;
    padding-right: 0;
}

.chapter {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

.next-section {
    padding-top: 48px;
    padding-bottom: 48px;
}

.next-container {
    height: 380px;
    padding-right: 0 !important;
    margin-bottom: 16px;
}

.next {
    height: 380px;
}

.next-img {
    display: none;
}

.img-about {
    display: none;
}

.img-80 {
    display: none;
}

.abuse {
    padding-left: 16px !important;
    padding-right: 16px;
}

#img-up.bg-show {
    transform: translateY(-40px);
}

#img-up {
    top: 40px;
    height: auto;
    align-items: end !important;
}

.next-text-mobile {
    display: inherit;
}

.project-img {
    display: none;
}

#img-intertrust {
    display: none;
}

.project-img-mobile {
    display: inherit;
    width: auto;
    height: 380px;
}

.about-img-mobile {
    display: inherit;
    width: 100%;
    height: auto;
}

.about-img-tablet {
    display: none;
}

.desktop {
    display: none;
}

}

@media (min-width: 992px) and (max-width: 1199px) {

.c-left {
    padding-right: 12px !important;
    padding-left: 0;
}

}

@media (min-width: 769px) and (max-width: 1199px) {
    
    /* SPACERS */

    .m-120 {
        margin-bottom: 80px;
    }

    .m-24 {
        margin-bottom: 16px;
    }

    /* COMPONENTS */

    .container {
        padding-left: 24px;
        padding-right: 24px;
        max-width: 1200px;
    }

    .project-right {
        flex-direction: inherit;
        padding-left: 0;
    }

    .img-100 {
        height: 554px;
    }

    .img-ipad {
        width: auto;
        height: 100%;
    }

    .img-about {
        display: none;
    }

    .about-img-mobile {
        display: none;
    }

    .about-img-tablet {
        display: inherit;
        width: 100%;
        height: auto;
    }
    
    .next-overlay {
        max-width: calc(100vw - 48px);
    }

    .c-left {
        padding: 0;
    }

    .c-right {
        padding: 0;
    }

    .row {
        margin-left: 0px;
        margin-right: 0px;
    }

    .row>* {
        padding-left: 0;
        padding-right: 0;
    }

    .lead-meta {
        padding: 24px;
    }

    .experiences {
        padding: 0;
    }

    .project-title {
        padding-top: 24px;
    }

    .img-left {
        height: 558px;
        width: 100%;
    }

    .img-right {
        height: 558px;
        width: 100%;
    }

    .project-right {
        flex-direction: column-reverse;
    }

    .project-right .project-title {
        width: 100%;
    }

    .project {
        height: auto;
    }
}

@media (hover: none) {
    .next-overlay {
        background-color: rgba(0, 0, 0, 0.8);
    }
}

@media (max-width: 330px) {
.links-light a {
    padding-left: 12px;
}

}