/* Landing page blocks. Measurements follow the existing type, containers and colours. */

.pb-hero {
    position: relative;
    color: #e00008;
}

.pb-has-keyline {
    border-top: 2px solid #e00008;
}

.pb-hero > .container {
    height: calc(100vh - 145px);
}

.pb-hero .wrapper-content {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    padding-right: 15%;
    box-sizing: border-box;
}

.pb-hero .misc-circled-text {
    width: 100px;
    top: -74px;
    left: 165px;
    position: absolute;
    animation: rotation 10s infinite linear;
}

.pb-hero .text-combined {
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.pb-hero .text-combined strong {
    display: block;
    line-height: 1.25;
    padding-top: 5px;
    background-color: var(--pb-hero-bg, transparent);
}

.pb-hero .wrapper-ticker .item {
    font-family: "Graphik Wide Super", "Graphik Wide", Helvetica, Arial, sans-serif;
    font-weight: 900;
}

.pb-hero .text-combined:after,
.pb-hero .text-combined:before {
    content: "";
    display: block;
    width: 150%;
    position: absolute;
    bottom: -1px;
    height: 2px;
    background-color: #e00008;
}

.pb-hero .text-combined:before {
    left: -100%;
}

.pb-hero .wrapper-media {
    position: absolute;
    top: 0;
    right: 0;
    height: calc(100vh - 145px);
    width: 50%;
    z-index: 10;
}

@media only screen and (max-width: 1920px) {
    .pb-hero .misc-circled-text {
        left: 146px;
        top: -76px;
    }

    .pb-hero .text-combined {
        margin-bottom: 35px;
        padding-bottom: 35px;
    }
}

@media only screen and (max-width: 1480px) {
    .pb-hero .misc-circled-text {
        width: 85px;
        top: -65px;
        left: 132px;
    }
}

@media only screen and (max-width: 1023px) {
    .pb-hero > .container {
        height: auto;
    }

    .pb-hero .wrapper-content {
        width: 100%;
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        padding: 40px 0 30px;
    }

    .pb-hero .misc-circled-text {
        display: none;
    }

    .pb-hero .wrapper-media {
        width: 100%;
        position: relative;
        height: auto;
        padding-bottom: 80%;
    }
}

@media only screen and (max-width: 640px) {
    .pb-hero .wrapper-content {
        padding-right: 0;
    }

    .pb-hero .wrapper-media {
        padding-bottom: 100%;
    }
}

.pb-intro {
    --pb-intro-pad-outer: 125px;
    --pb-intro-pad-inner: 16%;
    display: flex;
    align-items: stretch;
    background: #fff;
    color: #e00008;
}

.pb-intro.is-image-right {
    flex-direction: row-reverse;
}

.pb-intro__copy,
.pb-intro__media {
    box-sizing: border-box;
}

.pb-intro__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(960px, 50%);
    flex: 0 0 auto;
    padding: 90px 0 80px var(--pb-intro-pad-outer);
}

.pb-intro.is-image-left .pb-intro__copy {
    padding: 90px var(--pb-intro-pad-outer) 80px 0;
}

.pb-intro.is-image-right .pb-intro__copy > :not(.pb-intro__stats) {
    margin-right: var(--pb-intro-pad-inner);
}

.pb-intro.is-image-left .pb-intro__copy > :not(.pb-intro__stats) {
    margin-left: var(--pb-intro-pad-inner);
}

.pb-intro__media {
    position: relative;
    overflow: hidden;
    width: auto;
    flex: 1 1 50%;
    min-width: 0;
}

.pb-intro__media:before {
    content: "";
    display: block;
    padding-top: 100.52%;
}

.pb-intro__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pb-intro__eyebrow {
    font-family: "Graphik Wide", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 14px;
}

.pb-intro .text {
    max-width: 678px;
    color: #000;
    font-size: 20px;
    line-height: 1.4;
}

.pb-intro h1,
.pb-intro h2 {
    margin-bottom: 22px;
}

.pb-intro__stats {
    list-style: none;
    margin: 60px 0 0;
    padding: 60px 0 0;
    border-top: 1px solid #e00008;
    display: flex;
    gap: 24px;
}

.pb-intro.is-image-right .pb-intro__stats {
    padding-right: var(--pb-intro-pad-inner);
}

.pb-intro.is-image-left .pb-intro__stats {
    padding-left: var(--pb-intro-pad-inner);
}

.pb-intro__stats li {
    flex: 1;
    min-width: 0;
}

.pb-stat__label,
.pb-process__label {
    font-family: "Graphik Wide", Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pb-stat__figure {
    font-family: Gza, serif;
    font-size: 56px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 8px;
}

.pb-stat__caption {
    color: #000;
    font-size: 14px;
    line-height: 1.4;
}

@media only screen and (max-width: 1480px) {
    .pb-intro {
        --pb-intro-pad-outer: 72px;
        --pb-intro-pad-inner: 40px;
    }
}

@media only screen and (max-width: 1200px) {
    .pb-intro__stats {
        display: block;
    }

    .pb-intro__stats li + li {
        margin-top: 22px;
    }
}

@media only screen and (max-width: 900px) {
    .pb-intro,
    .pb-intro.is-image-right,
    .pb-intro.is-image-left {
        display: block;
    }

    .pb-intro__copy,
    .pb-intro__media {
        width: 100%;
    }

    .pb-intro.is-image-right .pb-intro__copy,
    .pb-intro.is-image-left .pb-intro__copy,
    .pb-intro__copy {
        padding: 40px 35px 50px;
    }

    .pb-intro.is-image-right .pb-intro__copy > :not(.pb-intro__stats),
    .pb-intro.is-image-left .pb-intro__copy > :not(.pb-intro__stats) {
        margin-right: 0;
        margin-left: 0;
    }

    .pb-intro.is-image-right .pb-intro__stats,
    .pb-intro.is-image-left .pb-intro__stats {
        padding-right: 0;
        padding-left: 0;
    }

    .pb-intro__stats {
        margin-top: 45px;
        padding-top: 45px;
    }

    .pb-intro__media {
        height: 75vw;
    }

    .pb-intro__media:before {
        content: none;
    }
}

@media only screen and (max-width: 640px) {
    .pb-intro__stats {
        display: block;
    }

    .pb-intro__stats li + li {
        margin-top: 22px;
    }

    .pb-stat__figure {
        font-size: 32px;
    }
}

.pb-services {
    background: #e6faa5;
    color: #e00008;
}

.pb-services__row {
    display: flex;
    align-items: stretch;
    border-bottom: 2px solid #e00008;
}

.pb-services__row:last-child {
    border-bottom: 0;
}

.pb-services__row.is-image-left {
    flex-direction: row-reverse;
}

.pb-services__copy,
.pb-services__media {
    box-sizing: border-box;
}

.pb-services__copy {
    width: min(960px, 50%);
    flex: 0 0 auto;
    padding: 70px 60px 70px 110px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.pb-services__copy h3 {
    font-family: Gza, serif;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.pb-services__copy .number {
    font-weight: 400;
    font-family: "Graphik Wide Super", Helvetica, Arial, sans-serif;
    position: absolute;
    top: 8px;
    left: -56px;
    display: block;
    line-height: 1;
}

.pb-services__copy .desc {
    max-width: 500px;
    margin-bottom: 35px;
    width: 90%;
}

.pb-services__media {
    position: relative;
    width: auto;
    flex: 1 1 50%;
    min-width: 0;
    min-height: 450px;
    height: 50vh;
    overflow: hidden;
}

.pb-services__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media only screen and (max-width: 1023px) {
    .pb-services__row,
    .pb-services__row.is-image-left {
        flex-direction: column;
    }

    .pb-services__copy,
    .pb-services__media {
        width: 100%;
    }

    .pb-services__copy {
        padding: 40px 35px 48px 72px;
    }

    .pb-services__copy .number {
        left: -36px;
    }

    .pb-services__media {
        order: -1;
        height: 70vw;
        min-height: 280px;
    }
}

@media only screen and (max-width: 640px) {
    .pb-services__copy .number {
        font-size: 14px;
        left: -32px;
        top: 0;
    }
}

.pb-process {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #e00008;
    background: #fff;
    padding: 80px 0 90px;
}

.pb-process__media,
.pb-process__copy {
    box-sizing: border-box;
}

.pb-process__media {
    width: min(806px, 42%);
    flex: 0 0 auto;
    padding: 20px 40px 0 125px;
}

.pb-process__photo {
    width: 100%;
    height: auto;
    aspect-ratio: 678 / 880;
    object-fit: cover;
    display: block;
}

.pb-process__copy {
    width: min(1114px, 58%);
    flex: 0 0 auto;
    padding: 0 min(154px, 8%) 0 24px;
}

.pb-process h1,
.pb-process h2 {
    margin: 0 0 98px;
    font-family: "Graphik Wide Super", "Graphik Wide", Helvetica, Arial, sans-serif;
    font-size: 46px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    color: #e00008;
}

.pb-process__stages {
    padding-left: 70px;
}

.pb-process h1 u,
.pb-process h2 u {
    text-underline-offset: 6px;
}

.pb-process__stage + .pb-process__stage {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 22px;
    padding-top: 22px;
}

.pb-process__trigger {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
}

.pb-process__title {
    display: block;
    font-family: Gza, serif;
    font-size: 45px;
    line-height: 1.05;
    font-weight: 700;
    text-transform: none;
    color: #e00008;
}

.pb-process__body {
    display: none;
    max-width: 678px;
    margin-top: 14px;
    color: #000;
    font-size: 16px;
    line-height: 1.4;
}

@media only screen and (max-width: 900px) {
    .pb-process {
        display: block;
    }

    .pb-process__media,
    .pb-process__copy {
        width: 100%;
        padding: 0;
    }

    .pb-process__photo {
        height: 70vw;
        max-height: none;
    }

    .pb-process__copy {
        padding: 32px 35px 48px;
    }

    .pb-process h1,
    .pb-process h2 {
        margin-bottom: 40px;
        font-size: 28px;
    }

    .pb-process__stages {
        padding-left: 0;
    }

    .pb-process__title {
        font-size: 22px;
    }
}

.pb-services .wrapper-title,
.pb-cases .wrapper-title,
.pb-news .wrapper-title,
.pb-faqs .wrapper-title {
    height: auto;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 5%;
    box-sizing: border-box;
}

.pb-services .wrapper-title h1,
.pb-services .wrapper-title h2,
.pb-cases .wrapper-title h1,
.pb-cases .wrapper-title h2,
.pb-news .wrapper-title h1,
.pb-news .wrapper-title h2,
.pb-faqs .wrapper-title h1,
.pb-faqs .wrapper-title h2 {
    position: static;
    left: auto;
    top: auto;
    width: auto;
    max-width: 100%;
    transform: none;
    line-height: 1.15;
}

.pb-faqs .wrapper-title {
    border-top: 2px solid #e00008;
    background: #fff;
}

.pb-faqs .container {
    padding-top: 92px;
    padding-bottom: 98px;
}

.pb-faq {
    border-bottom: 2px solid #e00008;
}

.pb-faq:last-child {
    border-bottom: 0;
}

.pb-faq__toggle {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: 0;
    color: #e00008;
    cursor: pointer;
    font-family: Gza, serif;
    font-size: 45px;
    font-weight: 700;
    line-height: 1.05;
    padding: 28px 80px 22px 0;
    position: relative;
}

.pb-faq__toggle:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 28px;
    height: 16px;
    margin-top: -8px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 12'%3E%3Cpath d='M1 1l10 10L21 1' fill='none' stroke='%23e00008' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.pb-faq.is-open .pb-faq__toggle:after {
    transform: rotate(180deg);
}

.pb-faq__panel {
    display: none;
    padding: 0 0 28px;
}

.pb-faq__panel .text {
    max-width: 1240px;
    color: #000;
    font-family: Graphik, Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
}

@media only screen and (max-width: 1023px) {
    .pb-faqs .container {
        padding-top: 56px;
        padding-bottom: 62px;
    }

    .pb-faq__toggle {
        font-size: 32px;
        padding: 22px 60px 16px 0;
    }
}

@media only screen and (max-width: 900px) {
    .pb-faq__toggle {
        font-size: 22px;
    }

    .pb-faq__panel .text {
        font-size: 18px;
    }
}

@media only screen and (max-width: 640px) {
    .pb-services .wrapper-title,
    .pb-cases .wrapper-title,
    .pb-news .wrapper-title,
    .pb-faqs .wrapper-title {
        min-height: 60px;
        padding: 16px 5%;
    }

    .pb-faqs .container {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .pb-faq__toggle {
        padding: 20px 40px 20px 0;
        font-size: 22px;
    }

    .pb-faq__panel .text {
        font-size: 18px;
    }
}

.jobs .mod-content-one .accordion .item .lnk-toggle .text-combined {
    line-height: 1.15;
    width: calc(100% - 200px);
}

.jobs .mod-content-one .accordion .content .text.long {
    line-height: 1.5;
    max-width: 760px;
}

.pb-quotes {
    background: #f6c6cf;
}

.pb-quotes .author {
    margin-top: 18px;
    font-family: "Graphik Wide", Helvetica, Arial, sans-serif;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pb-popup {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 80;
    width: 304px;
    box-sizing: border-box;
    background: #fff;
    color: #e00008;
    border: 2px solid #e00008;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.pb-popup[hidden] {
    display: none;
}

.pb-popup.is-visible {
    display: block;
}

.pb-popup__image {
    width: 100%;
    height: auto;
    aspect-ratio: 300 / 169;
    object-fit: cover;
    display: block;
}

.pb-popup__body {
    padding: 22px 32px 24px;
}

.pb-popup__title {
    font-family: Gza, serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 8px;
}

.pb-popup__text {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 14px;
}

.pb-popup__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pb-popup__actions .btn {
    min-width: 0;
    padding: 8px 14px;
    font-size: 12px;
    background-color: #e00008;
    color: #fff;
}

.pb-popup__actions .btn:not(.prevent-hover):hover {
    background-color: transparent;
    color: #e00008;
}

.pb-popup__dismiss {
    background: none;
    border: 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-family: "Graphik Wide", Helvetica, Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pb-popup__dismiss:hover {
    color: #000;
}

@media only screen and (max-width: 640px) {
    .pb-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
    }
}

@media only screen and (min-width: 1921px) {
    .pb-intro .text-combined {
        font-size: 38px;
    }

    .pb-services .text-lg {
        font-size: 60px;
    }
}
