/* =========================================================
   CAREER PAGE
========================================================= */

.career-page {
    background: #fff;
    color: #171717;
}

.career-kicker {
    margin-bottom: 20px;
    color: rgba(255,255,255,0.92);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.career-kicker-dark {
    color: #656565;
}


/* =========================================================
   HERO
========================================================= */

.career-hero {
    position: relative;
    height: clamp(560px, 45vw, 720px);
    min-height: 560px;
    overflow: hidden;
    background: #151515;
}

.career-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.career-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,0.72) 0%,
            rgba(0,0,0,0.56) 34%,
            rgba(0,0,0,0.14) 66%,
            rgba(0,0,0,0.04) 100%
        );
}

.career-hero-inner {
    position: relative;
    z-index: 2;
    width: min(100% - 128px, 1440px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.career-hero h1 {
    max-width: 680px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(58px, 6vw, 90px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.career-hero p {
    max-width: 540px;
    margin: 0 0 30px;
    color: rgba(255,255,255,0.88);
    font-size: 20px;
    line-height: 1.4;
}

.career-hero-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    gap: 28px;
    padding: 13px 22px 13px 28px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 15px;
    font-weight: 500;
}

.career-hero-button i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.career-hero-button:hover i {
    transform: translateX(4px);
}


/* =========================================================
   BENEFITS
========================================================= */

.career-benefits {
    padding: 58px 0 62px;
    background: #fff;
}

.career-benefits-inner {
    width: min(100% - 128px, 1440px);
    margin-inline: auto;
}

.career-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 30px;
}

.career-benefit {
    padding: 10px 45px;
    text-align: center;
    border-right: 1px solid #dedede;
}

.career-benefit:first-child {
    padding-left: 0;
}

.career-benefit:last-child {
    padding-right: 0;
    border-right: 0;
}

.career-benefit-icon {
    min-height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    color: #111;
    font-size: 34px;
}

.career-benefit-icon .fa-user + .fa-user {
    margin-left: -7px;
    transform: translateY(5px);
}

.career-benefit h2 {
    margin: 0 0 8px;
    color: #111;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.career-benefit p {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.45;
}


/* =========================================================
   APPLICATION
========================================================= */

.career-apply {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 650px;
    background: #f7f7f6;
}

.career-apply-media {
    min-height: 650px;
    overflow: hidden;
}

.career-apply-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.career-apply-panel {
    display: flex;
    align-items: center;
    padding: 70px 8vw;
}

.career-apply-inner {
    width: min(100%, 620px);
}

.career-apply-inner h2 {
    margin: 0 0 14px;
    color: #111;
    font-size: clamp(42px, 4vw, 60px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.045em;
}

.career-apply-lead {
    margin: 0 0 30px;
    color: #444;
    font-size: 19px;
}

.career-form {
    display: grid;
    gap: 12px;
}

.career-field input {
    width: 100%;
    height: 54px;
    padding: 0 18px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    outline: none;
    background: rgba(255,255,255,0.86);
    color: #151515;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.career-field input::placeholder {
    color: #8a8a8a;
}

.career-field input:focus {
    border-color: #8b8b8b;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(17,17,17,0.04);
}


/* upload */

.career-upload {
    position: relative;
}

.career-upload input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.career-upload label {
    min-height: 78px;
    display: grid;
    grid-template-columns: 38px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border: 1px solid #d7d7d7;
    border-radius: 7px;
    background: rgba(255,255,255,0.86);
    cursor: pointer;
}

.career-upload-icon {
    display: grid;
    place-items: center;
    color: #111;
    font-size: 21px;
}

.career-upload-copy {
    min-width: 0;
}

.career-upload-copy strong {
    display: block;
    margin-bottom: 4px;
    color: #222;
    font-size: 14px;
    font-weight: 500;
}

.career-upload-copy small {
    display: block;
    color: #777;
    font-size: 11px;
}

.career-upload-name {
    max-width: 180px;
    overflow: hidden;
    color: #777;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* submit */

.career-submit {
    width: fit-content;
    min-width: 205px;
    min-height: 54px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 13px 20px 13px 24px;
    border-radius: 7px;
    background: #111;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.career-submit:hover {
    transform: translateY(-2px);
    background: #292929;
}

.career-submit i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.career-submit:hover i {
    transform: translateX(4px);
}


/* messages */

.career-message {
    margin-bottom: 22px;
    padding: 15px 18px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.5;
}

.career-message p {
    margin: 0;
}

.career-message p + p {
    margin-top: 5px;
}

.career-message-success {
    border: 1px solid #bcd8c2;
    background: #f1f8f2;
    color: #245b31;
}

.career-message-error {
    border: 1px solid #e3bcbc;
    background: #fff4f4;
    color: #8b2929;
}

.career-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================================================
   POSITIONS
========================================================= */

.career-positions {
    padding: 70px 0 76px;
    background: #fff;
}

.career-positions-inner {
    width: min(100% - 128px, 1280px);
    margin-inline: auto;
}

.career-positions h2 {
    margin: 0 0 12px;
    color: #111;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.045em;
}

.career-positions p {
    margin: 0;
    color: #616161;
    font-size: 16px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .career-hero-inner,
    .career-benefits-inner {
        width: calc(100% - 70px);
    }

    .career-apply-panel {
        padding: 60px 55px;
    }

    .career-benefit {
        padding-inline: 28px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    .career-hero {
        height: 560px;
        min-height: 560px;
    }

    .career-hero-inner {
        width: calc(100% - 40px);
        justify-content: flex-end;
        padding-bottom: 48px;
    }

    .career-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,0.10) 0%,
                rgba(0,0,0,0.25) 38%,
                rgba(0,0,0,0.82) 100%
            );
    }

    .career-hero h1 {
        font-size: 52px;
    }

    .career-hero p {
        max-width: 430px;
        font-size: 17px;
    }

    .career-benefits {
        padding: 48px 0 50px;
    }

    .career-benefits-inner {
        width: calc(100% - 36px);
    }

    .career-benefits-grid {
        grid-template-columns: 1fr;
        margin-top: 18px;
    }

    .career-benefit,
    .career-benefit:first-child,
    .career-benefit:last-child {
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid #dedede;
    }

    .career-benefit:last-child {
        border-bottom: 0;
    }

    .career-apply {
        grid-template-columns: 1fr;
    }

    .career-apply-media {
        min-height: 360px;
        height: 65vw;
        max-height: 500px;
    }

    .career-apply-panel {
        padding: 48px 20px 55px;
    }

    .career-apply-inner h2 {
        font-size: 43px;
    }

    .career-upload label {
        grid-template-columns: 38px 1fr;
    }

    .career-upload-name {
        grid-column: 2;
        max-width: 100%;
    }

    .career-submit {
        width: 100%;
    }

    .career-positions {
        padding: 52px 0 58px;
    }

    .career-positions-inner {
        width: calc(100% - 36px);
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .career-hero h1 {
        font-size: 46px;
    }

    .career-hero-button {
        width: 100%;
        justify-content: space-between;
    }

    .career-apply-inner h2 {
        font-size: 39px;
    }

    .career-positions h2 {
        font-size: 38px;
    }

}
