﻿.about-pixel {
    --red: #e12826;
    --red-dark: #c8191c;
    --black: #080808;
    --line: #e8ded8;
    background: #fffaf7;
    color: var(--black);
    overflow: hidden;
    padding-bottom: 34px
}

    .about-pixel * {
        box-sizing: border-box
    }

.ap-container {
    width: min(1280px, calc(100% - 58px));
    margin: 0 auto
}

.ap-red-line {
    width: 42px;
    height: 2px;
    background: var(--red)
}

.ap-kicker {
    position: relative;
    display: inline-block;
    color: var(--red);
    font-size: 13px;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px
}

    .ap-kicker:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 38px;
        height: 2px;
        background: var(--red)
    }

.ap-btn {
    height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    transition: .25s ease
}

    .ap-btn:hover {
        background: var(--red-dark);
        color: #fff;
        transform: translateY(-2px)
    }

.ap-hero {
    width: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg,#fff0 0%,rgb(255 255 255 / .94) 32%,#fff0 54%,#fff0 100%),url(/images/career-hero.jpg) center right/cover no-repeat;
    border-top: 1px solid #f0e7e1;
    border-bottom: 1px solid #f0e7e1
}

.ap-hero-copy {
    width: min(1280px, calc(100% - 58px));
    margin: 0 auto;
    padding: 72px 0
}

    .ap-hero-copy h1 {
        max-width: 570px;
        margin: 0;
        font-size: 58px;
        line-height: 1.07;
        letter-spacing: -1.8px;
        font-weight: 700
    }

        .ap-hero-copy h1 span {
            color: var(--red)
        }

    .ap-hero-copy .ap-btn {
        margin-top: 26px
    }

.basi-intro-card {
    position: relative;
    overflow: hidden;
    max-width: 1440px;
    margin: auto;
    padding: 38px 70px 32px;
    border-radius: 34px;
    background: radial-gradient(circle at 8% 72%,rgb(225 40 38 / .045),transparent 26%),radial-gradient(circle at 92% 8%,rgb(225 40 38 / .045),transparent 24%),linear-gradient(180deg,#fffdfb 0%,#fff8f1 100%);
    border: 1px solid rgb(184 137 66 / .18);
    box-shadow: 0 30px 85px rgb(70 42 18 / .10);
    text-align: center
}

.ap-story-strip {
    width: 100%;
    padding: 54px 0 58px;
    background: radial-gradient(circle at top left,rgb(225 40 38 / .045),transparent 34%),linear-gradient(180deg,#fffcfb 0%,#fff7f3 100%);
    border-bottom: 1px solid #f1e7e1
}

    .ap-story-strip p {
        margin: 0 0 20px;
        color: #111;
        font-size: 18px;
        line-height: 1.85
    }

        .ap-story-strip p:last-child {
            margin-bottom: 0
        }

.red {
    color: var(--red) !important;
    font-weight: 700
}

.ap-section-box {
    width: min(1280px, calc(100% - 58px));
    margin: 14px auto 0;
    background: #fff;
    overflow: hidden;
    border: 1px solid #f1ebe6
}

.ap-head {
    text-align: center;
    margin-bottom: 28px
}

    .ap-head h2 {
        margin: 0;
        font-size: 23px;
        text-transform: uppercase;
        line-height: 1.1;
        font-weight: 700
    }

    .ap-head .ap-red-line {
        margin: 13px auto 0;
        width: 38px
    }

.ap-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff0ed;
    color: var(--red)
}

    .ap-icon i {
        font-size: 27px;
        line-height: 1
    }

.ap-values {
    padding: 38px 0 48px
}

.ap-value-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr)
}

.ap-value {
    padding: 28px 50px 12px;
    text-align: center;
    border-right: 1px solid var(--line)
}

    .ap-value:last-child {
        border-right: 0
    }

    .ap-value h3 {
        margin: 0 0 8px;
        color: var(--red);
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 700
    }

    .ap-value strong {
        display: block;
        margin-bottom: 12px;
        font-size: 14px
    }

    .ap-value p {
        margin: 0;
        color: #111;
        line-height: 1.65
    }

.ap-philosophy {
    display: grid;
    grid-template-columns: 48% 52%
}

.ap-philosophy-copy {
    padding: 58px 52px 46px
}

    .ap-philosophy-copy h2 {
        margin: 0;
        font-size: 27px;
        line-height: 1.1;
        text-transform: uppercase;
        font-weight: 700
    }

    .ap-philosophy-copy .ap-red-line {
        margin: 14px 0 22px
    }

    .ap-philosophy-copy p {
        margin: 0 0 18px;
        color: #111;
        line-height: 1.75
    }

.ap-well {
    color: var(--red);
    font-size: 17px;
    line-height: 1.5;
    font-weight: 700;
    margin: 24px 0 22px
}

.ap-philosophy-img {
    min-height: 360px;
    background: url(/images/rael-headshot.jpg) center/cover no-repeat;
    filter: grayscale(100%)
}

.ap-global {
    padding: 38px 0;
    background: #fffaf7
}

.ap-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    text-align: center;
    margin-top: 24px
}

.ap-stat {
    padding: 20px;
    border-right: 1px solid var(--line)
}

    .ap-stat:last-child {
        border-right: 0
    }

    .ap-stat i {
        display: block;
        margin-bottom: 14px;
        color: var(--red);
        font-size: 28px
    }

    .ap-stat strong {
        display: block;
        font-size: 36px;
        line-height: 1;
        font-weight: 700;
        color: #111
    }

    .ap-stat span {
        display: block;
        margin-top: 8px;
        color: #111;
        font-size: 15px
    }

.ap-art {
    margin-top: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    font-size: 19px;
    font-weight: 700
}

    .ap-art:before, .ap-art:after {
        content: "";
        width: 90px;
        height: 2px;
        background: var(--red)
    }

.ap-partner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
    padding: 78px 72px;
    border-radius: 34px;
    background: radial-gradient(circle at top left,rgb(225 40 38 / .05),transparent 34%),linear-gradient(135deg,#fffdfc 0%,#fff8f5 100%);
    border-color: #f2dfd7;
    box-shadow: 0 30px 80px rgb(0 0 0 / .06)
}

.ap-partner-copy h2 {
    margin: 0 0 22px;
    font-size: 52px;
    line-height: 1.04;
    letter-spacing: -2px;
    font-weight: 700;
    color: #111
}

    .ap-partner-copy h2 span {
        color: var(--red)
    }

.ap-partner-copy p {
    margin: 0 0 22px;
    max-width: 620px;
    color: #222;
    font-size: 18px;
    line-height: 1.9
}

.ap-team-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 24px
}

.ap-team-card {
    border-radius: 30px;
    padding: 34px 22px 30px;
    text-align: center;
    background: rgb(255 255 255 / .9);
    border: 1px solid rgb(225 40 38 / .12);
    transition: .35s ease;
    box-shadow: 0 18px 40px rgb(0 0 0 / .05)
}

    .ap-team-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 28px 60px rgb(0 0 0 / .10)
    }

    .ap-team-card img {
        width: 112px;
        height: 112px;
        object-fit: cover;
        border-radius: 50%;
        display: block;
        margin: 0 auto 20px;
        border: 4px solid #fff;
        box-shadow: 0 12px 30px rgb(0 0 0 / .10)
    }

    .ap-team-card h4 {
        margin: 0 0 10px;
        font-size: 22px;
        line-height: 1.2;
        font-weight: 700
    }

    .ap-team-card .role {
        display: block;
        margin-bottom: 6px;
        color: var(--red);
        font-size: 15px;
        font-weight: 600
    }

    .ap-team-card .company {
        display: block;
        color: #555;
        font-size: 14px;
        line-height: 1.6
    }

.ap-franchise {
    padding: 48px 36px 52px
}

.ap-franchise-grid {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 34px;
    align-items: center
}

.ap-franchise-copy h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -1px;
    font-weight: 700
}

.ap-franchise-copy h3 {
    margin: 20px 0 18px;
    font-size: 17px;
    line-height: 1.35;
    text-transform: uppercase;
    font-weight: 700
}

.ap-franchise-copy .ap-red-line {
    margin: 0 0 18px
}

.ap-franchise-copy p {
    margin: 0 0 16px;
    line-height: 1.72;
    color: #111
}

.ap-franchise-copy .ap-btn {
    margin-top: 8px
}

.ap-gallery {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 12px
}

    .ap-gallery img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 10px;
        display: block
    }

        .ap-gallery img:first-child {
            grid-column: 1 / -1;
            height: 220px
        }

@media(max-width:1000px) {
    .ap-philosophy, .ap-partner, .ap-franchise-grid {
        grid-template-columns: 1fr
    }

    .ap-value-grid, .ap-stats {
        grid-template-columns: 1fr 1fr
    }

    .ap-value:nth-child(2), .ap-stat:nth-child(2) {
        border-right: 0
    }

    .ap-partner {
        gap: 42px;
        padding: 52px 28px
    }

    .ap-partner-copy h2 {
        font-size: 42px
    }
}

@media(max-width:700px) {
    .ap-container, .ap-section-box {
        width: min(100% - 28px,1280px)
    }

    .ap-hero {
        min-height: 400px;
        align-items: flex-start;
        background: linear-gradient(180deg,rgb(255 255 255 / .99) 0%,rgb(255 255 255 / .88) 48%,rgb(255 255 255 / .20) 100%),url(/images/about-hero.jpg) center bottom/cover no-repeat
    }

    .ap-hero-copy {
        width: min(100% - 28px,1280px);
        padding: 42px 0
    }

        .ap-hero-copy h1 {
            font-size: 40px;
            letter-spacing: -1px
        }

    .basi-intro-card {
        padding: 32px 22px;
        border-radius: 26px
    }

    .ap-story-strip {
        padding: 38px 0 42px
    }

        .ap-story-strip p {
            font-size: 15px;
            line-height: 1.8
        }

    .ap-philosophy-copy {
        padding: 36px 24px
    }

    .ap-value-grid, .ap-stats, .ap-team-grid, .ap-gallery {
        grid-template-columns: 1fr
    }

    .ap-value, .ap-stat {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

        .ap-value:last-child, .ap-stat:last-child {
            border-bottom: 0
        }

    .ap-partner-copy h2 {
        font-size: 34px;
        letter-spacing: -1px
    }

    .ap-partner-copy p {
        font-size: 16px;
        line-height: 1.8
    }

    .ap-franchise-copy h2 {
        font-size: 34px
    }

    .ap-art {
        font-size: 16px;
        gap: 14px
    }

        .ap-art:before, .ap-art:after {
            width: 42px
        }
}

@media(max-width:700px) {
    .ap-stats {
        display: grid !important;
        grid-template-columns: repeat(2,1fr) !important;
        gap: 0
    }

    .ap-stat {
        padding: 24px 14px !important;
        border-right: 1px solid var(--line) !important;
        border-bottom: 1px solid var(--line) !important
    }

        .ap-stat:nth-child(2n) {
            border-right: 0 !important
        }

        .ap-stat:nth-last-child(-n+2) {
            border-bottom: 0 !important
        }

        .ap-stat strong {
            font-size: 28px
        }

        .ap-stat span {
            font-size: 13px
        }

    .ap-team-grid {
        display: grid !important;
        grid-template-columns: repeat(2,1fr) !important;
        gap: 14px !important
    }

    .ap-team-card {
        padding: 20px 12px 18px !important;
        border-radius: 22px !important
    }

        .ap-team-card img {
            width: 82px !important;
            height: 82px !important;
            margin-bottom: 14px !important
        }

        .ap-team-card h4 {
            font-size: 15px !important;
            margin-bottom: 6px !important
        }

        .ap-team-card .role {
            font-size: 12px !important
        }

        .ap-team-card .company {
            font-size: 11px !important;
            line-height: 1.45 !important
        }

    .ap-gallery {
        display: grid !important;
        grid-template-columns: repeat(2,1fr) !important;
        gap: 10px !important
    }

        .ap-gallery img {
            height: 120px !important;
            border-radius: 14px !important
        }

            .ap-gallery img:first-child {
                grid-column: 1 / -1;
                height: 180px !important
            }
}

@media(max-width:420px) {
    .ap-team-card {
        padding: 18px 10px 16px !important
    }

        .ap-team-card img {
            width: 72px !important;
            height: 72px !important
        }

        .ap-team-card h4 {
            font-size: 14px !important
        }

    .ap-gallery img {
        height: 105px !important
    }

        .ap-gallery img:first-child {
            height: 160px !important
        }
}

@media(max-width:700px) {
    .ap-franchise {
        padding: 20px 0px !important
    }

    .ap-partner {
        padding: 36px 16px !important;
        border-radius: 26px !important
    }

    .ap-team-grid {
        grid-template-columns: repeat(2,1fr) !important;
        gap: 10px !important
    }

    .ap-team-card {
        min-height: 170px;
        padding: 18px 8px 16px !important;
        border-radius: 20px !important;
        box-shadow: 0 12px 28px rgb(0 0 0 / .05) !important
    }

        .ap-team-card img {
            width: 120px !important;
            height: 120px !important;
            margin: 0 auto 12px !important;
            border: 3px solid #fff !important
        }

        .ap-team-card h4 {
            font-size: 14px !important;
            line-height: 1.25 !important;
            margin: 0 0 6px !important
        }

        .ap-team-card .company {
            font-size: 11px !important;
            line-height: 1.35 !important
        }
}

@media(max-width:380px) {
    .ap-team-card {
        min-height: 158px;
        padding: 16px 6px 14px !important
    }

        .ap-team-card img {
            width: 62px !important;
            height: 62px !important
        }

        .ap-team-card h4 {
            font-size: 13px !important
        }
}

@media(max-width:700px) {
    .ap-gallery {
        display: grid !important;
        grid-template-columns: repeat(2,1fr) !important;
        gap: 10px !important
    }

        .ap-gallery img {
            width: 100% !important;
            height: 120px !important;
            object-fit: cover !important;
            border-radius: 16px !important
        }

            .ap-gallery img:first-child {
                grid-column: auto !important;
                height: 120px !important
            }
}

@media(max-width:420px) {
    .ap-gallery img, .ap-gallery img:first-child {
        height: 105px !important;
        border-radius: 14px !important
    }
}
@media(max-width:700px) {

    .ap-values {
        padding: 30px 16px !important;
    }

    .ap-value-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .ap-value {
        position: relative;
        padding: 24px 20px 22px 96px !important;
        min-height: 132px;
        border-radius: 26px !important;
        text-align: left !important;
        background: #fff !important;
        border: 1px solid rgba(225,40,38,.10) !important;
        box-shadow: 0 18px 42px rgba(70,42,18,.08) !important;
    }

    .ap-icon {
        position: absolute;
        left: 20px;
        top: 24px;
        width: 58px !important;
        height: 58px !important;
        margin: 0 !important;
        font-size: 22px !important;
    }

    .ap-value h3 {
        margin: 0 0 6px !important;
        font-size: 22px !important;
        line-height: 1.1 !important;
        color: #e12826 !important;
    }

    .ap-value strong {
        display: block !important;
        margin: 0 0 10px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        color: #111 !important;
    }

    .ap-value p {
        margin: 0 !important;
        font-size: 13px !important;
        line-height: 1.65 !important;
        color: #333 !important;
    }
}