/* ==========================================================
   CASE STUDY INITIAL PAGE LOAD
========================================================== */

body.case-study-is-loading main {
    opacity: 0;
}

body main {
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* ==========================================================
   CASE STUDY INTRODUCTION
========================================================== */

.case-study-intro {
    width: 100%;
    height: auto;
    background: #1e1e1e;
}

.case-study-intro-inner {
    width: min(996px, calc(100% - 48px));
    margin: 0 auto;
    padding-top: 150px;
    padding-bottom: 60px;
}

.case-study-intro-content {
    width: 100%;
}

.case-study-intro-label {
    margin: 0 0 25px;
    font-family: "Pluto Sans", sans-serif;
    font-size: 20pt;
    font-weight: 600;
    line-height: 1;
    color: #fcb817;

    margin: 0 0 12px;
}

.case-study-intro-title-image {
    display: block;
    width: 690px;
    height: auto;
    margin: 0 0 60px;
}

.case-study-intro-project {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 0 0 60px;
    font-family: "Work Sans", sans-serif;
    font-size: 24pt;
    letter-spacing: normal;
    line-height: 1.2;
    color: #ffffff;
}

.case-study-intro-company {
    font-weight: 600;
}

.case-study-intro-project-name {
    font-weight: 100;
}

.case-study-intro-highlights-title {
    margin: 0 0 17px;
    font-family: "Work Sans", sans-serif;
    font-size: 18pt;
    letter-spacing: normal;
    font-weight: 800;
    line-height: 1;
    color: #fcb817;
}

.case-study-intro-highlights {
    margin: 0 0 0 30px;
    padding: 0;
    list-style: none;
    font-family: "Work Sans", sans-serif;
    font-size: 14pt;
    letter-spacing: 0.03em;
    font-weight: 200;
    line-height: 1.45;
    color: #ffffff;
}

.case-study-intro-highlights li {
    position: relative;
    margin: 0 0 12px;
    padding-left: 18px;
}

.case-study-intro-highlights li::before {
    content: "•";
    position: absolute;
    top: 0;
    left: 0;
}


/* ==========================================================
   CASE STUDY INTRODUCTION — MOBILE
========================================================== */

@media (max-width: 767px) {

    .case-study-intro-inner {
        width: calc(100% - 48px);
        margin: 0 auto;
        padding-top: 130px;
        padding-bottom: 50px;
    }

    .case-study-intro-content {
        width: 100%;
        background: #1e1e1e;
    }

    .case-study-intro-label {
        margin: 0 0 10px;
        font-family: "Pluto Sans", sans-serif;
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
        color: #fcb817;
    }

    .case-study-intro-title-image {
        display: block;
        width: 100%;
        max-width: 342px;
        height: auto;
        margin-top: 0;
        margin-bottom: 70px;
    }

    .case-study-intro-project {
        display: block;
        margin: 0 0 65px;
        font-family: "Work Sans", sans-serif;
        font-size: 28px;
        line-height: 0.7;
        letter-spacing: 0;
        color: #ffffff;
    }

    .case-study-intro-company {
        display: block;
        font-weight: 600;
    }

    .case-study-intro-project-name {
        display: block;
        margin-top: 2px;
        font-size: 24px;
        font-weight: 100;
        line-height: 1.2;
    }

    .case-study-intro-highlights-title {
        margin: 3 0 28px;
        font-family: "Work Sans", sans-serif;
        font-size: 18px;
        font-weight: 800;
        line-height: 1;
        color: #fcb817;
    }

    .case-study-intro-highlights {
        margin: 0;
        padding: 0;
        list-style: none;
        font-family: "Work Sans", sans-serif;
        font-size: 16px;
        font-weight: 200;
        line-height: 1.2;
        letter-spacing: 0;
        color: #ffffff;
    }

    .case-study-intro-highlights li {
        position: relative;
        margin: 0 0 12px;
        padding-left: 24px;
    }

    .case-study-intro-highlights li:last-child {
        margin-bottom: 0;
    }

    .case-study-intro-highlights li::before {
        content: "•";
        position: absolute;
        top: 0;
        left: 0;
    }

}


/* ==========================================================
   CASE STUDY HERO
========================================================== */

.case-study-hero {
    width: 100%;
    background: #000000;
}

.case-study-hero-inner {
    width: 100%;
}

.case-study-hero-slider {
    width: 100%;
}

.case-study-hero-picture {
    display: block;
}

.case-study-hero-image {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {

    .case-study-hero-picture {
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .case-study-hero-picture.is-fading {
        opacity: 0;
    }

}

/* ==========================================================
   CASE STUDY HERO — MOBILE
========================================================== */

@media (max-width: 767px) {

    .case-study-hero {
        width: 100%;
        background: #000000;
        overflow: hidden;
    }

    .case-study-hero-inner {
        width: 100%;
    }

    .case-study-hero-slider {
        width: 430px;
        margin: 0 auto;
    }

    .case-study-hero-image {
        display: block;
        width: 430px;
        height: auto;
    }

}

/* ==========================================================
   PROJECT OVERVIEW
========================================================== */

.case-study-overview {
    width: 100%;
    height: auto;
    background: #1e1e1e;
}

.case-study-overview-inner {
    position: relative;
    width: min(996px, calc(100% - 48px));
    margin: 0 auto;
    padding: 100px 0 60px;
}

/* ---------- Slideshow Controls ---------- */

.case-study-overview-controls {
    position: absolute;
    top: 20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.case-study-overview-arrow {
    position: absolute;
    width: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.case-study-overview-arrow img {
    display: block;
    width: 20px;
    height: auto;
}

.case-study-overview-arrow-prev {
    left: 410px;
}

.case-study-overview-arrow-next {
    left: 561px;
}

/* ---------- Content ---------- */

.case-study-overview-content {
    display: flex;
    justify-content: space-between;
}

.case-study-overview-column-left {
    width: 306px;
}

.case-study-overview-column-right {
    width: 588px;
}

/* ---------- Typography ---------- */

.case-study-overview-title {
    margin: 0 0 15px;
    font-family: "Work Sans", sans-serif;
    font-size: 16pt;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1;
    color: #fcb817;
}

.case-study-overview-text {
    margin: 0 0 18px;
    font-family: "Work Sans", sans-serif;
    font-size: 12pt;
    font-weight: 100;
    letter-spacing: 0.03em;
    line-height: 1.3;
    color: #ffffff;
}

/* ---------- The Thinking Content ---------- */

.case-study-thinking-heading {
    margin-bottom: 0;
    font-weight: 600;
}

.case-study-thinking-paragraph {
    font-weight: 100;
}

.case-study-thinking-lead {
    margin-bottom: 18px;
}

.case-study-thinking-lead-title {
    display: inline;

    font-weight: 600;
    color: #9a9a9a;
}

.case-study-thinking-lead-text {
    display: inline;

    font-weight: 100;
    color: #ffffff;
}


.case-study-overview-text-heading {
    margin-bottom: 0;
    font-weight: 600;
    color: #ffffff;
}

.case-study-overview-text-heading +
.case-study-overview-text {
    margin-top: 0;
}

.case-study-overview-text-lead {
    margin-bottom: 0;
}

.case-study-overview-text-lead-title {
    font-weight: 600;
    color: #ffffff;
}

.case-study-overview-text-lead-copy {
    font-weight: 100;
    color: #ffffff;
}

.case-study-overview-text-lead +
.case-study-overview-text-lead {
    margin-top: 0;
}

.case-study-overview-text-lead:last-of-type {
    margin-bottom: 18px;
}

.case-study-overview-impact {
    margin-top: 50px;
}


/* ==========================================================
   CASE STUDY ACTIONS — DESKTOP ONLY
========================================================== */

.case-study-actions {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 50px;
    margin-top: 65px;
}

.case-study-action-button {
    display: inline-flex;
    align-items: center;

    width: auto;
    height: 30px;

    text-decoration: none;

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

.case-study-action-button:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}

.case-study-action-icon {
    display: block;

    width: auto;
    height: 30px;
}

@media (max-width: 767px) {

    .case-study-actions {
        display: none;
    }

}

/* ==========================================================
   PROJECT OVERVIEW — TABLET / PHONE LANDSCAPE
========================================================== */

@media (min-width: 768px) and (max-width: 1023px) {

    .case-study-overview-inner {
        width: calc(100% - 96px);
        margin: 0 auto;

        padding-top: 100px;
        padding-bottom: 80px;
    }

    .case-study-overview-controls {
        top: 30px;
    }

    .case-study-overview-arrow-prev {
        left: calc(50% - 60px);
        transform: translateX(-100%);
    }

    .case-study-overview-arrow-next {
        left: calc(50% + 60px);
    }

    .case-study-overview-content {
        display: block;
    }

    .case-study-overview-column-left,
    .case-study-overview-column-right {
        width: 100%;
    }

    .case-study-overview-column-right {
        margin-top: 55px;
    }

    .case-study-overview-title {
        font-size: 16px;
        line-height: 1;
    }

    .case-study-overview-text {
    font-size: 17px;
    line-height: 1.45;
    letter-spacing: 0;
    }

    .case-study-thinking-lead +
    .case-study-thinking-paragraph {
        margin-top: 18px;
    }

}
    /* ---------- Thinking Content ---------- */

    .case-study-overview-text-heading {
        margin-bottom: 0;
        font-weight: 600;
    }

    .case-study-overview-text-heading +
    .case-study-overview-text {
        margin-top: 0;
    }

    .case-study-overview-text-lead {
        margin-bottom: 0;
    }

    .case-study-overview-text-lead-title {
        font-weight: 600;
    }

    .case-study-overview-text-lead-copy {
        font-weight: 100;
    }

    .case-study-overview-text-lead +
    .case-study-overview-text-lead {
        margin-top: 0;
    }

    .case-study-overview-text-lead:last-of-type {
        margin-bottom: 18px;
    }

    .case-study-overview-impact {
        margin-top: 45px;
    }

/* ==========================================================
   PROJECT OVERVIEW — MOBILE
========================================================== */

@media (max-width: 767px) {

    .case-study-overview {
        width: 100%;
        height: auto;
        background: #1e1e1e;
    }

    .case-study-overview-inner {
        position: relative;

        width: calc(100% - 48px);
        margin: 0 auto;
        padding-top: 100px;
        padding-bottom: 70px;
    }

    .case-study-overview-controls {
        position: absolute;
        top: 30px;
        left: 0;
        width: 100%;
        height: 20px;
    }

    .case-study-overview-arrow {
        position: absolute;

        width: 20px;

        padding: 0;
        border: 0;

        background: transparent;
        cursor: pointer;
    }

    .case-study-overview-arrow img {
        display: block;
        width: 20px;
        height: auto;
    }

    .case-study-overview-arrow-prev {
        left: calc(50% - 60px);
        transform: translateX(-100%);
    }

    .case-study-overview-arrow-next {
        left: calc(50% + 60px);
    }

    .case-study-overview-content {
        display: block;
    }

    .case-study-overview-column-left {
        width: 100%;
    }

    .case-study-overview-column-right {
        width: 100%;
        margin-top: 55px;
    }

    .case-study-overview-title {
        margin: 0 0 15px;
        font-family: "Work Sans", sans-serif;
        font-size: 20px;
        font-weight: 700;
        line-height: 1;
        letter-spacing: 0;

        color: #fcb817;
    }

    .case-study-overview-text {
        margin: 0 0 18px;

        font-family: "Work Sans", sans-serif;
        font-size: 17px;
        font-weight: 100;
        line-height: 1.45;
        letter-spacing: 0;

        color: #ffffff;
    }

    .case-study-overview-column-right
    .case-study-thinking-heading {
        margin-bottom: 2px;
        font-weight: 700;
    }

    .case-study-overview-column-right
    .case-study-thinking-lead-title {
        font-weight: 700;
    }

    .case-study-overview-impact {
        margin-top: 45px;
    }

}

/* ==========================================================
   CASE STUDY GALLERY 01
========================================================== */

.case-study-gallery-01 {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* ---------- Background ---------- */

.case-study-gallery-01-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #ffffff 0,
        #ffffff 940px,
        #fcb817 940px,
        #fcb817 100%
    );
    z-index: 1;
}

/* ---------- Content ---------- */

.case-study-gallery-01-content {
    position: relative;
    z-index: 2;
    width: min(996px, calc(100% - 48px));
    margin: 0 auto;
    padding: 60px 0;
}

/* ---------- Images ---------- */

.case-study-gallery-01-frame {
    width: 100%;
    overflow: hidden;
}

.case-study-gallery-01-frame + .case-study-gallery-01-frame {
    margin-top: 40px;
}

.case-study-gallery-01-image {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.04);
    transform-origin: center center;
    will-change: transform;
}

/* ==========================================================
   CASE STUDY GALLERY 01 — MOBILE
========================================================== */

@media (max-width: 767px) {

    .case-study-gallery-01 {
        position: relative;

        width: 100%;
        height: auto;

        overflow: hidden;
    }

    .case-study-gallery-01-background {
        position: absolute;
        inset: 0;

        background: #ffffff;

        z-index: 1;
    }

    .case-study-gallery-01-content {
        position: relative;
        z-index: 2;

        width: calc(100% - 48px);
        margin: 0 auto;

        padding-top: 60px;
        padding-bottom: 60px;
    }

    .case-study-gallery-01-frame {
        width: 100%;

        overflow: hidden;
    }

    .case-study-gallery-01-frame +
    .case-study-gallery-01-frame {
        margin-top: 40px;
    }

    .case-study-gallery-01-image {
        display: block;

        width: 100%;
        height: auto;

        transform: none;
        transform-origin: center center;
        will-change: auto;
    }

}

/* ==========================================================
   CASE STUDY QUOTE
========================================================== */

.case-study-quote {
    width: 100%;
    height: auto;
}

.case-study-quote-inner {
    width: min(700px, calc(100% - 48px));
    margin: 0 auto;
    padding: 20px 0;
}

.case-study-quote-content {
    text-align: center;
}

.case-study-quote-text {
    margin: 0;
    font-family: "Work Sans", sans-serif;
    font-size: 17pt;
    font-weight: 200;
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.case-study-quote-divider {
    width: 1.5px;
    height: 50px;
    margin: 25px auto 0px;
}

.case-study-quote-attribution {
    margin: 0px 0 0;
    font-family: "Work Sans", sans-serif;
    font-size: 11pt;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.4;
    text-transform: uppercase;
    padding: 30px 0;
}

/* ==========================================================
   CASE STUDY QUOTE — MOBILE
========================================================== */

@media (max-width: 767px) {

    .case-study-quote {
        width: 100%;
        height: auto;
    }

    .case-study-quote-inner {
        width: calc(100% - 48px);
        margin: 0 auto;

        padding-top: 50px;
        padding-bottom: 50px;
    }

    .case-study-quote-content {
        text-align: center;
    }

    .case-study-quote-text {
        margin: 0;

        font-family: "Work Sans", sans-serif;
        font-size: 21px;
        font-weight: 300;
        font-style: italic;
        line-height: 1.35;
        letter-spacing: 0;

    }

    .case-study-quote-divider {
        width: 1.5px;
        height: 40px;

        margin-top: 25px;
        margin-right: auto;
        margin-bottom: 0;
        margin-left: auto;
    }

    .case-study-quote-attribution {
        margin: 0;
        padding-top: 25px;
        padding-bottom: 0;

        font-family: "Work Sans", sans-serif;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.4;
        letter-spacing: 0;

        text-transform: uppercase;
    }

}

/* ==========================================================
   CASE STUDY QUOTE YELLOW
========================================================== */
.case-study-quote-yellow {
    background: #fcb817;
}

.case-study-quote-yellow .case-study-quote-text {
    color: #ffffff;
}

.case-study-quote-yellow .case-study-quote-divider {
    background: rgba(0, 0, 0, 0.7);
}

.case-study-quote-yellow .case-study-quote-attribution {
    color: #1a1a1a;
}

/* ==========================================================
   CASE STUDY QUOTE GRAY
========================================================== */
.case-study-quote-gray {
    background: #454545;
}

.case-study-quote-gray .case-study-quote-text {
    color: #ffffff;
}

.case-study-quote-gray .case-study-quote-divider {
    background: rgba(255, 255, 255, 0.7);
}

.case-study-quote-gray .case-study-quote-attribution {
    color: #d8d8d8;
}


/* ==========================================================
   CASE STUDY GALLERY 02
========================================================== */

.case-study-gallery-02 {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* ---------- Background ---------- */

.case-study-gallery-02-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        #ffffff 0,
        #ffffff 1190px,
        #fcb817 1190px,
        #fcb817 100%
    );
    z-index: 1;
}

/* ---------- Content ---------- */

.case-study-gallery-02-content {
    position: relative;
    z-index: 2;
    width: min(996px, calc(100% - 48px));
    margin: 0 auto;
    padding: 60px 0;
}

/* ---------- Images ---------- */

.case-study-gallery-02-frame {
    width: 100%;
    overflow: hidden;
}

.case-study-gallery-02-frame + .case-study-gallery-02-frame {
    margin-top: 40px;
}

.case-study-gallery-02-image {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.04);
    transform-origin: center center;
    will-change: transform;
}

/* ==========================================================
   CASE STUDY GALLERY 02 — MOBILE
========================================================== */

@media (max-width: 767px) {

    .case-study-gallery-02 {
        position: relative;

        width: 100%;
        height: auto;

        overflow: hidden;
    }

    .case-study-gallery-02-background {
        position: absolute;
        inset: 0;

        background: #ffffff;

        z-index: 1;
    }

    .case-study-gallery-02-content {
        position: relative;
        z-index: 2;

        width: calc(100% - 48px);
        margin: 0 auto;

        padding-top: 60px;
        padding-bottom: 60px;
    }

    .case-study-gallery-02-frame {
        width: 100%;

        overflow: hidden;
    }

    .case-study-gallery-02-frame +
    .case-study-gallery-02-frame {
        margin-top: 40px;
    }

    .case-study-gallery-02-image {
        display: block;

        width: 100%;
        height: auto;

        transform: none;
        transform-origin: center center;
        will-change: auto;
    }

}


/* ==========================================================
   CASE STUDY FIXED HERO
========================================================== */

.case-study-fixed-hero {
    width: 100%;
    height: auto;
    background: #ffffff;
}

.case-study-fixed-hero-inner {
    width: 100%;
    padding-top: 10px;
}

.case-study-fixed-hero-image {
    display: block;
    width: 100%;
    height: auto;
}


/* ==========================================================
   OTHER CASE STUDIES
========================================================== */

.case-study-other {
    width: 100%;
    height: auto;
    background: #171717;
}

.case-study-other-inner {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
    padding-top: 210px;
    padding-bottom: 210px;
}

/* ---------- Section Header ---------- */

.case-study-other .portfolio-page-case-study-header {
    width: 100%;
}

.case-study-other .portfolio-page-case-study-eyebrow {
    margin: 0;
    color: #ffffff;
    font-family: "Pluto Sans", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: normal;
}

.case-study-other .portfolio-page-case-study-heading {
    margin: 8px 0 0;
    color: #ffffff;
    font-family: "Work Sans", sans-serif;
    font-size: 62px;
    font-weight: 200;
    line-height: 0.95;
    letter-spacing: normal;
}

/* ---------- Case Study List ---------- */

.case-study-other .portfolio-page-case-study-list {
    width: 100%;

    margin-top: 80px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 384px));
    column-gap: 24px;
    row-gap: 100px;
}

.case-study-other .portfolio-page-case-study-item {
    display: block;
    width: 100%;
    min-width: 0;

    text-decoration: none;
}

/* ---------- Image ---------- */

.case-study-other .portfolio-page-case-study-media {
    width: 100%;
}

.case-study-other .portfolio-page-case-study-picture {
    display: block;
}

.case-study-other .portfolio-page-case-study-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Content ---------- */

.case-study-other .portfolio-page-case-study-content {
    margin-top: 35px;
}

.case-study-other .portfolio-page-case-study-company {
    margin: 0;
    color: #ffffff;
    font-family: "Pluto Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
}

.case-study-other .portfolio-page-case-study-title {
    margin: 0;
    color: var(--case-study-accent);
    font-family: "Pluto Sans", sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: normal;
}

/* ---------- Arrow ---------- */

.case-study-other .portfolio-page-case-study-arrow {
    display: block;
    width: 15px;
    height: auto;
    margin-top: 20px;
}

/* ==========================================================
   OTHER CASE STUDIES — MOBILE
========================================================== */

@media (max-width: 767px) {

    .case-study-other-inner {
        width: calc(100% - 48px);
        margin: 0 auto;

        padding-top: 100px;
        padding-bottom: 100px;
    }

    .case-study-other .portfolio-page-case-study-heading {
        font-size: 52px;
    }

    .case-study-other .portfolio-page-case-study-list {
        display: block;

        margin-top: 60px;
    }

    .case-study-other .portfolio-page-case-study-item {
        display: block;
        width: 100%;
    }

    .case-study-other .portfolio-page-case-study-item +
    .portfolio-page-case-study-item {
        margin-top: 60px;
    }

    .case-study-other .portfolio-page-case-study-media {
        width: 100%;
    }

    .case-study-other .portfolio-page-case-study-picture {
        display: block;
    }

    .case-study-other .portfolio-page-case-study-image {
        display: block;
        width: 100%;
        height: auto;
    }

    .case-study-other .portfolio-page-case-study-content {
        margin-top: 25px;
    }

    .case-study-other .portfolio-page-case-study-company {
        font-size: 15px;
    }

    .case-study-other .portfolio-page-case-study-title {
        margin-top: 2px;

        font-size: 26px;
        line-height: 1.1;
    }

    .case-study-other .portfolio-page-case-study-arrow {
        width: 14px;
        margin-top: 18px;
    }

}