/* =========================
   ABOUT TOP - CLEAN PREMIUM
========================= */

.ci-about-top {
    position: relative;
    background: #ffffff;
    color: #050505;
    padding: 150px 0 90px;
    overflow: hidden;
}

.ci-about-top * {
    box-sizing: border-box;
}

/* subtle background grid */
.ci-about-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .022) 1px, transparent 1px);
    background-size: 92px 92px;
    opacity: .55;
    pointer-events: none;
}

.ci-about-wrap {
    position: relative;
    z-index: 2;
    width: min(1160px, calc(100% - 80px));
    margin: 0 auto;
}

/* =========================
   TITLE
========================= */

.ci-about-title-block {
    padding: 56px 0 42px;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

.ci-about-title-block h1 {
    margin: 0;
    max-width: 100%;

    font-size: clamp(42px, 4.1vw, 62px);
    line-height: .96;
    letter-spacing: -2.6px;
    font-weight: 500;

    color: #050505;
    white-space: nowrap;
}

/* =========================
   INTRO COPY AREA
========================= */

.ci-about-intro {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 88px;
    align-items: start;

    padding: 48px 0 66px;
}

/* left mission text */
.ci-about-mission {
    position: relative;
    max-width: 390px;
    padding-left: 26px;
    margin: 0;
}

.ci-about-mission::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;

    width: 4px;
    height: 62px;

    background: #14E27A;
    border-radius: 999px;
}

.ci-about-mission h3 {
    margin: 0;

    font-size: 24px;
    line-height: 1.18;
    letter-spacing: -0.7px;
    font-weight: 500;

    color: #050505;
}

/* right copy - career style */
.ci-about-copy {
    max-width: 720px;
    padding-top: 0;
}

.ci-about-copy p {
    margin: 0;

    font-size: 17px;
    line-height: 1.7;
    letter-spacing: -0.15px;
    font-weight: 400;

    color: rgba(0, 0, 0, .66);
}

.ci-about-copy p + p {
    margin-top: 20px;
}

/* =========================
   IMAGE
========================= */

.ci-about-image {
    width: 100%;
    height: 550px;
    overflow: hidden;

    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 26px 80px rgba(0, 0, 0, .10);
}

.ci-about-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {

    .ci-about-title-block h1 {
        white-space: normal;
        max-width: 900px;
    }

}

@media (max-width: 1024px) {

    .ci-about-top {
        padding: 125px 0 75px;
    }

    .ci-about-wrap {
        width: calc(100% - 56px);
    }

    .ci-about-title-block {
        padding: 54px 0 40px;
    }

    .ci-about-title-block h1 {
        font-size: 46px;
        line-height: 1.03;
        letter-spacing: -2px;
    }

    .ci-about-intro {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 42px 0 52px;
    }

    .ci-about-mission {
        max-width: 620px;
    }

    .ci-about-copy {
        max-width: 760px;
    }

    .ci-about-image {
        height: 360px;
        border-radius: 24px;
    }

}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .ci-about-top {
        padding: 105px 0 64px;
    }

    .ci-about-grid {
        background-size: 58px 58px;
    }

    .ci-about-wrap {
        width: calc(100% - 36px);
    }

    .ci-about-title-block {
        padding: 42px 0 32px;
    }

    .ci-about-title-block h1 {
        font-size: 35px;
        line-height: 1.02;
        letter-spacing: -1.5px;
        white-space: normal;
        max-width: 330px;
    }

    .ci-about-intro {
        gap: 28px;
        padding: 34px 0 42px;
    }

    .ci-about-mission {
        padding-left: 20px;
    }

    .ci-about-mission::before {
        width: 3px;
        height: 54px;
    }

    .ci-about-mission h3 {
        font-size: 20px;
        line-height: 1.22;
        letter-spacing: -0.4px;
    }

    .ci-about-copy p {
        font-size: 15px;
        line-height: 1.65;
        letter-spacing: -0.1px;
    }

    .ci-about-image {
        height: 300px;
        border-radius: 16px;
    }

}

@media (max-width: 480px) {

    .ci-about-title-block h1 {
         font-size: 35px;
        line-height: 1.02;
        letter-spacing: -1.2px;
        max-width: 320px;
    }

    .ci-about-mission h3 {
        font-size: 18px;
    }

    .ci-about-image {
        height: 245px;
        border-radius: 16px;
    }

}


/* =========================
   HOW WE WORK - FINAL
========================= */

.ci-work-only {
    position: relative;
    background: #ffffff;
    color: #050505;
    padding: 55px 0 115px;
    overflow: hidden;
}

.ci-work-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(0, 0, 0, .024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .024) 1px, transparent 1px);

    background-size: 92px 92px;
    opacity: .55;
    pointer-events: none;
}

.ci-work-wrap {
    position: relative;
    z-index: 2;

    width: min(1120px, 84%);
    margin: 0 auto;
}

/* =========================
   WORK TOP ROW
========================= */

.ci-work-row {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 78px;
    align-items: start;

    padding-bottom: 72px;
}

.ci-work-label {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.ci-work-label span {
    padding-top: 5px;

    color: #14E27A;

    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.ci-work-label h3 {
    margin: 0;

    font-size: 22px;
    line-height: 1;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.ci-work-copy {
    max-width: 720px;
}

.ci-work-copy p {
    margin: 0;

    font-size: clamp(20px, 1.55vw, 26px);
    line-height: 1.28;
    letter-spacing: -0.45px;
    font-weight: 400;

    color: rgba(0, 0, 0, .86);
}

/* =========================
   PROCESS PILLS
========================= */

.ci-work-process {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ci-work-pill {
    width: 310px;
    height: 200px;

    margin-left: -34px;

    border: 1.5px solid #050505;
    border-radius: 999px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    color: #050505;

    opacity: 1;
    visibility: visible;

    transition:
        background .4s cubic-bezier(.22, 1, .36, 1),
        border-color .4s cubic-bezier(.22, 1, .36, 1),
        color .4s cubic-bezier(.22, 1, .36, 1),
        transform .4s cubic-bezier(.22, 1, .36, 1);
}

.ci-work-pill:first-child {
    margin-left: 0;
}

.ci-work-pill span {
    color: inherit;

    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .2px;
}

.ci-work-pill:hover {
    background: #14E27A;
    border-color: #14E27A;
    color: #050505;
    transform: translateY(-10px);
}

/* =========================
   HOW WE WORK RESPONSIVE
========================= */

@media (max-width: 1024px) {

    .ci-work-only {
        padding: 40px 0 95px;
    }

    .ci-work-wrap {
        width: min(88%, 900px);
    }

    .ci-work-row {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 58px;
    }

    .ci-work-label h3 {
        font-size: 22px;
    }

    .ci-work-copy {
        max-width: 760px;
    }

    .ci-work-copy p {
        font-size: 24px;
        line-height: 1.28;
        letter-spacing: -0.6px;
    }

    .ci-work-process {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding-top: 52px;
    }

    .ci-work-pill {
        width: 100%;
        height: 118px;
        margin-left: 0;
        border-radius: 28px;
    }

    .ci-work-pill:first-child {
        background: #14E27A;
        border-color: #14E27A;
    }

    .ci-work-pill:hover {
        transform: translateY(-6px);
    }

}

@media (max-width: 768px) {

    .ci-work-only {
        padding: 58px 0 68px;
    }

    .ci-work-grid {
        background-size: 58px 58px;
    }

    .ci-work-wrap {
        width: calc(100% - 36px);
    }

    .ci-work-row {
        display: block;
        padding-bottom: 34px;
    }

    .ci-work-label {
        margin-bottom: 18px;
        gap: 10px;
    }

    .ci-work-label span {
        display: none;
    }

    .ci-work-label h3 {
        font-size: 22px;
        line-height: 1;
        letter-spacing: -0.6px;
        font-weight: 700;
    }

    .ci-work-copy {
        max-width: 100%;
    }

    .ci-work-copy p {
        font-size: 16px;
        line-height: 1.42;
        letter-spacing: -0.2px;
        font-weight: 400;
        color: rgba(0, 0, 0, .82);
    }

    .ci-work-process {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ci-work-pill {
        width: 100%;
        height: 74px;
        margin-left: 0;

        border-radius: 999px;
        border: 1.4px solid #050505;

        background: transparent;

        display: flex;
        align-items: center;
        justify-content: center;

        padding: 0 22px;
    }

    .ci-work-pill:first-child {
        background: #14E27A;
        border-color: #14E27A;
    }

    .ci-work-pill span {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .2px;
    }

    .ci-work-pill:hover {
        transform: none;
        background: #14E27A;
        border-color: #14E27A;
    }

}

@media (max-width: 480px) {

    .ci-work-only {
        padding: 52px 0 62px;
    }

    .ci-work-wrap {
        width: calc(100% - 32px);
    }

    .ci-work-label h3 {
        font-size: 20px;
    }

    .ci-work-copy p {
        font-size: 15px;
        line-height: 1.42;
    }

    .ci-work-process {
        gap: 15px;
        padding-top: 34px;
    }

    .ci-work-pill {
        height: 88px;
    }

    .ci-work-pill span {
        font-size: 12px;
    }

}


/* =========================
   TEAM SECTION - CLEAN EDITORIAL
========================= */

.team-clean-section {
    position: relative;
    background: #ffffff;
    color: #050505;
    padding: 40px 0 110px;
    overflow: hidden;
}

.team-clean-section * {
    box-sizing: border-box;
}

.team-clean-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(0, 0, 0, .024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .024) 1px, transparent 1px);

    background-size: 92px 92px;
    opacity: .55;
    pointer-events: none;
}

.team-clean-wrap {
    position: relative;
    z-index: 2;

    width: min(1120px, 84%);
    margin: 0 auto;
}

/* =========================
   TEAM HEADING
========================= */

.team-clean-head {
    text-align: center;

    padding-top: 80px;
    padding-bottom: 58px;

    border-top: 5px solid #14E27A;
}

.team-clean-head span {
    display: block;
    margin-bottom: 14px;

    font-size: 12px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;

    color: #050505;
}

.team-clean-head h2 {
    margin: 0;

    font-size: clamp(34px, 3.2vw, 54px);
    line-height: 1.02;
    letter-spacing: -2px;
    font-weight: 500;

    color: #050505;
}

/* =========================
   TEAM ROW
========================= */

.team-clean-row {
    display: grid;
    grid-template-columns: 1fr .78fr;
    gap: 58px;
    align-items: center;

    min-height: 440px;
    margin-bottom: 68px;
}

.team-clean-row:last-child {
    margin-bottom: 0;
}

/* =========================
   TEAM COPY
========================= */

.team-clean-copy {
    max-width: 560px;
}

.team-clean-copy h3 {
    margin: 0 0 8px;

    font-size: clamp(34px, 2.8vw, 50px);
    line-height: 1;
    letter-spacing: -1.7px;
    font-weight: 500;

    color: #050505;
}

.team-clean-copy span {
    display: block;
    margin-bottom: 20px;

    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1.3px;
    text-transform: uppercase;

    color: rgba(0, 0, 0, .78);
}

.team-clean-copy p {
    max-width: 540px;
    margin: 0;

    font-size: 17px;
    line-height: 1.72;
    /* letter-spacing: -0.15px; */
    font-weight: 400;

    color: rgba(0, 0, 0, .68);
}

/* =========================
   TEAM IMAGE
========================= */

.team-clean-image {
    width: 100%;
    height: 600px;

    overflow: hidden;
    background: #ffffff;

    border-radius: 40px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .10);
}

.team-clean-image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform .75s cubic-bezier(.22, 1, .36, 1);
}

.team-clean-row:hover .team-clean-image img {
    transform: scale(1.06);
}

/* =========================
   TEAM RESPONSIVE
========================= */

@media (max-width: 1024px) {

    .team-clean-section {
        padding: 80px 0 90px;
    }

    .team-clean-wrap {
        width: min(88%, 900px);
    }

    .team-clean-head {
        padding-top: 64px;
        padding-bottom: 42px;
    }

    .team-clean-row {
        grid-template-columns: 1fr;
        gap: 28px;

        min-height: auto;
        margin-bottom: 58px;
        padding-bottom: 0;
    }

    .team-clean-copy {
        max-width: 680px;
    }

    .team-clean-copy p {
        max-width: 650px;
    }

    .team-clean-image {
        height: 460px;
        border-radius: 28px;
    }

}

@media (max-width: 768px) {

    .team-clean-section {
        padding: 65px 0 75px;
    }

    .team-clean-bg {
        background-size: 58px 58px;
    }

    .team-clean-wrap {
        width: calc(100% - 36px);
    }

    .team-clean-head {
        text-align: left;

        padding-top: 30px;
        padding-bottom: 36px;

        border-top-width: 4px;
    }

    .team-clean-head span {
        font-size: 10px;
        margin-bottom: 12px;
    }

    .team-clean-head h2 {
        font-size: 32px;
        line-height: 1.05;
        letter-spacing: -1.4px;
    }

    .team-clean-row {
        gap: 22px;
        margin-bottom: 48px;
    }

    .team-clean-copy h3 {
        font-size: 30px;
        line-height: 1;
        letter-spacing: -1.2px;
        margin-bottom: 8px;
    }

    .team-clean-copy span {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .team-clean-copy p {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.65;
        /* letter-spacing: -0.1px; */
    }

    .team-clean-image {
        height: 400px;
        border-radius: 14px;
    }

    .team-clean-row:hover .team-clean-image img {
        transform: none;
    }

}

@media (max-width: 480px) {

    .team-clean-wrap {
        width: calc(100% - 32px);
    }

    .team-clean-head h2 {
        font-size: 30px;
    }

    .team-clean-row {
        gap: 20px;
        margin-bottom: 44px;
    }

    .team-clean-copy h3 {
        font-size: 28px;
    }

    .team-clean-copy p {
        font-size: 14px;
        line-height: 1.62;
    }

    .team-clean-image {
        height: 400px;
        border-radius: 18px;
    }

}


/* =========================
   ABOUT TEAM RESPONSIVE FIX
========================= */

/* tablet / iPad / Surface */
@media (min-width: 769px) and (max-width: 1100px) {

    .team-clean,
    .team-section,
    .about-team,
    .ci-team-section {
        padding-top: 130px !important;
    }

    .team-clean-wrap,
    .team-wrap,
    .ci-team-wrap {
        width: calc(100% - 72px) !important;
        margin: 0 auto !important;
    }

    .team-clean-card,
    .team-card,
    .team-member {
        margin-bottom: 58px !important;
    }

    .team-clean-image,
    .team-member-image,
    .team-image,
    .team-photo {
        width: 100% !important;
        height: 520px !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    .team-clean-image img,
    .team-member-image img,
    .team-image img,
    .team-photo img,
    .team-clean-card img,
    .team-card img,
    .team-member img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 22% !important;
        display: block !important;
    }
}

/* mobile / fold */
@media (max-width: 768px) {

    .team-clean,
    .team-section,
    .about-team,
    .ci-team-section {
        padding-top: 120px !important;
    }

    .team-clean-wrap,
    .team-wrap,
    .ci-team-wrap {
        width: calc(100% - 32px) !important;
        margin: 0 auto !important;
    }

    .team-clean-card,
    .team-card,
    .team-member {
        margin-bottom: 48px !important;
    }

    .team-clean-image,
    .team-member-image,
    .team-image,
    .team-photo {
        width: 100% !important;
        height: 420px !important;
        border-radius: 16px !important;
        overflow: hidden !important;
    }

    .team-clean-image img,
    .team-member-image img,
    .team-image img,
    .team-photo img,
    .team-clean-card img,
    .team-card img,
    .team-member img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center 18% !important;
        display: block !important;
    }
}

/* very small screens */
@media (max-width: 560px) {

    .team-clean,
    .team-section,
    .about-team,
    .ci-team-section {
        padding-top: 112px !important;
    }

    .team-clean-image,
    .team-member-image,
    .team-image,
    .team-photo {
        height: 400px !important;
    }

    .team-clean-image img,
    .team-member-image img,
    .team-image img,
    .team-photo img,
    .team-clean-card img,
    .team-card img,
    .team-member img {
        object-position: center top !important;
    }
}


/* =========================
   STATS SECTION
========================= */

.ci-stats-section {
    position: relative;
    background: #ffffff;
    color: #050505;
    padding: 55px 0 150px;
    overflow: hidden;
}

.ci-stats-section * {
    box-sizing: border-box;
}

.ci-stats-bg {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(rgba(0, 0, 0, .024) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, .024) 1px, transparent 1px);

    background-size: 92px 92px;
    opacity: .55;
    pointer-events: none;
}

.ci-stats-wrap {
    position: relative;
    z-index: 2;

    width: min(1120px, 84%);
    margin: 0 auto;
}

.ci-stats-top-line {
    width: 100%;
    height: 5px;

    background: #14E27A;
    margin-bottom: 46px;
}

.ci-stats-intro {
    max-width: 820px;
    margin-bottom: 58px;
}

.ci-stats-intro p {
    margin: 0;

    font-size: clamp(30px, 2.4vw, 42px);
    line-height: 1.05;
    letter-spacing: -1px;
    font-weight: 500;

    color: #050505;
}

/* =========================
   STATS GRID
========================= */

.ci-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 72px 34px;
}

.ci-stat-card {
    position: relative;

    padding-bottom: 16px;
    border-bottom: 4px solid #14E27A;

    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.ci-stat-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 4px;

    background: #050505;
    transition: width .5s cubic-bezier(.22, 1, .36, 1);
}

.ci-stat-card:hover {
    transform: translateY(-8px);
}

.ci-stat-card:hover::after {
    width: 100%;
}

.ci-stat-card h3 {
    margin: 0 0 8px;

    font-size: clamp(70px, 5.4vw, 96px);
    line-height: .9;
    letter-spacing: -4px;
    font-weight: 400;

    color: #050505;
}

.ci-stat-card p {
    margin: 0;

    font-size: 15px;
    line-height: 1;
    font-weight: 400;

    color: rgba(0, 0, 0, .78);
}

/* =========================
   STATS RESPONSIVE
========================= */

@media (max-width: 1024px) {

    .ci-stats-section {
        padding: 65px 0 90px;
    }

    .ci-stats-top-line {
        margin-bottom: 42px;
    }

    .ci-stats-intro {
        margin-bottom: 48px;
    }

    .ci-stats-intro p {
        font-size: 32px;
        line-height: 1.08;
    }

    .ci-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 46px 28px;
    }

    .ci-stat-card h3 {
        font-size: 72px;
        letter-spacing: -3px;
    }

}

@media (max-width: 768px) {

    .ci-stats-section {
        padding: 55px 0 75px;
    }

    .ci-stats-bg {
        background-size: 58px 58px;
    }

    .ci-stats-wrap {
        width: calc(100% - 36px);
    }

    .ci-stats-top-line {
        height: 4px;
        margin-bottom: 36px;
    }

    .ci-stats-intro {
        margin-bottom: 40px;
    }

    .ci-stats-intro p {
        font-size: 25px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .ci-stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ci-stat-card {
        border-bottom-width: 3px;
        padding-bottom: 14px;
    }

    .ci-stat-card::after {
        height: 3px;
        bottom: -3px;
    }

    .ci-stat-card h3 {
        font-size: 58px;
        letter-spacing: -2.6px;
    }

    .ci-stat-card p {
        font-size: 14px;
    }

    .ci-stat-card:hover {
        transform: none;
    }

}

@media (max-width: 480px) {

    .ci-stats-wrap {
        width: calc(100% - 32px);
    }

    .ci-stats-intro p {
        font-size: 23px;
    }

    .ci-stat-card h3 {
        font-size: 54px;
    }

}