.career-page {
    z-index: 1;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* =========================================================
   HERO
========================================================= */

.career-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 130px clamp(24px, 8vw, 120px) 90px;
    color: var(--white);
    isolation: isolate;
}

.career-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    filter: saturate(.88) contrast(1.05);
    transform: scale(1.02);
}

.career-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(105deg, rgba(0, 0, 0, .70), rgba(0, 0, 0, .36) 48%, rgba(0, 0, 0, .14)),
        linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .76));
    /* backdrop-filter: blur(2px); */
}

.career-hero-content {
    width: min(1180px, 100%);
    margin: 0 auto;
    animation: riseIn .8s ease both;
}

.career-hero .eyebrow {
    color: var(--white);
}

.career-hero h1 {
    max-width: 980px;
    margin: 0 0 24px;
    color: var(--white);
    font-size: clamp(46px, 6.8vw, 75px);
    font-weight: 900;
    line-height: .9;
    letter-spacing: -.045em;
    /* text-transform: uppercase; */
    text-shadow: 0 8px 30px rgba(0, 0, 0, .52);
}

.career-hero-content > p:not(.eyebrow) {
    max-width: 780px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, .9);
    font-size: 22px;
    font-weight: 750;
    line-height: 1.38;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .42);
}

.btn-home:hover {
    background: linear-gradient(135deg, rgba(246, 184, 15, .94), rgba(223, 151, 0, .84));
    border-color: rgba(255, 255, 255, .28);
    transform: translateY(3px);
}

/* =========================================================
   GLOBAL
========================================================= */

.career-intro-section,
.career-stats-section,
.life-section,
.jobs-section,
.spontaneous-section {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(28px, 7vw, 120px);
    padding-right: clamp(28px, 7vw, 120px);
}

.career-intro-section,
.career-stats-section,
.life-section,
.jobs-section {
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
}

/* =========================================================
   INTRO
========================================================= */

.career-intro-section {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr);
    gap: clamp(34px, 6vw, 90px);
    align-items: start;
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(180deg, #ffffff, #f2f4f5);
}

.career-intro-title {
    position: sticky;
    top: 110px;
}

.career-intro-title .eyebrow {
    color: var(--yellow-dark);
}

.career-intro-title h2 {
    margin-bottom: 0;
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.career-intro-text {
    display: grid;
    gap: 22px;
}

.career-intro-text p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.78;
}

.career-intro-text p:first-child {
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
}

/* =========================================================
   STATS
========================================================= */

.career-stats-section {
    display: grid;
    grid-template-columns: minmax(420px, .82fr) minmax(560px, 1.18fr);
    gap: clamp(36px, 6vw, 86px);
    align-items: center;
    color: var(--white);
    background: #161719;
}

.career-stats-content {
    max-width: 760px;
}

.career-stats-content .eyebrow {
    color: var(--white);
}

.career-stats-content h2 {
    margin-bottom: 24px;
    color: var(--white);
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.career-stats-content p {
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.78;
}

.career-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.career-stats-grid article {
    min-height: 190px;
    display: grid;
    align-content: center;
    padding: 30px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 24px;
    box-shadow: 0 18px 52px rgba(0, 0, 0, .12);
}

.career-stats-grid strong {
    display: block;
    margin-bottom: 8px;
    color: var(--yellow);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 900;
    line-height: .9;
}

.career-stats-grid span {
    color: rgba(255, 255, 255, .86);
    font-size: 16px;
    font-weight: 900;
    text-transform: uppercase;
}

/* =========================================================
   LIFE
========================================================= */

.life-section {
    display: grid;
    grid-template-columns: minmax(420px, .82fr) minmax(560px, 1.18fr);
    gap: clamp(36px, 6vw, 86px);
    align-items: center;
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(180deg, #f2f4f5, #ffffff);
}

.life-content {
    max-width: 760px;
}

.life-content .eyebrow {
    color: var(--yellow-dark);
}

.life-content h2 {
    margin-bottom: 24px;
    color: var(--ink);
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.life-content p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.78;
}

.life-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 18px;
}

.life-gallery article {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #dfe4e7;
    border-radius: 24px;
    box-shadow: 0 18px 52px rgba(15, 18, 20, .10);
    isolation: isolate;
}

.life-gallery article:nth-child(1),
.life-gallery article:nth-child(4) {
    transform: none;
}

.life-gallery article::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .58));
}

.life-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.95) contrast(1.05);
    transition: transform .6s ease, filter .25s ease;
}

.life-gallery article:hover img {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.08);
}

.life-gallery span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 2;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .48);
}

.life-gallery span::before {
    display: block;
    width: 46px;
    height: 4px;
    margin-bottom: 12px;
    content: "";
    background: var(--yellow);
    border-radius: 999px;
}

/* =========================================================
   JOBS
========================================================= */

.jobs-section {
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(180deg, #ffffff, #f2f4f5);
}

.jobs-heading {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}

.jobs-heading .eyebrow {
    color: var(--yellow-dark);
}

.jobs-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.jobs-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.jobs-layout {
    max-width: 1380px;
    display: grid;
    grid-template-columns: minmax(560px, 1.15fr) minmax(360px, .85fr);
    gap: 28px;
    margin: 0 auto;
    align-items: start;
}

.jobs-list {
    display: grid;
    gap: 16px;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 24px 26px;
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(20, 20, 20, .08);
    border-radius: 22px;
    box-shadow: 0 14px 38px rgba(15, 18, 20, .08);
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.job-card:hover {
    transform: translateX(6px);
    border-color: rgba(246, 184, 15, .45);
    box-shadow: 0 22px 54px rgba(15, 18, 20, .13);
}

.job-card span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 10px;
    color: var(--black);
    background: var(--yellow);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.job-card h3 {
    margin: 0 0 6px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}

.job-card p {
    margin: 0;
    color: var(--muted);
    font-weight: 700;
}

.job-card > a {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    box-shadow: 0 16px 38px rgba(223, 151, 0, .28);
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .22s ease;
}

.job-card:hover > a {
    transform: translateX(4px);
}

.linkedin-card {
    position: sticky;
    top: 96px;
    padding: 34px;
    color: var(--white);
    background: #161719;
    border-radius: 26px;
    box-shadow: 0 24px 68px rgba(15, 18, 20, .18);
}

.linkedin-card .eyebrow {
    color: var(--white);
}

.linkedin-card h3 {
    margin: 0 0 18px;
    color: var(--white);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.linkedin-card p {
    margin: 0 0 28px;
    color: rgba(255, 255, 255, .76);
    line-height: 1.7;
}

/* =========================================================
   SPONTANEOUS
========================================================= */

.spontaneous-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding-top: clamp(64px, 7vw, 100px);
    padding-bottom: clamp(64px, 7vw, 100px);
    color: var(--white);
    background:#161719;

    /* background:
        radial-gradient(circle at 84% 18%, rgba(246, 184, 15, .24), transparent 30%),
        linear-gradient(135deg, #191b1d, #303538); */
}

.spontaneous-content {
    max-width: 860px;
}

.spontaneous-content .eyebrow {
    color: var(--white);
}

.spontaneous-content h2 {
    max-width: 820px;
    margin: 0 0 18px;
    color: var(--white);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
}

.spontaneous-content > p {
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.7;
}

.rh-card {
    display: grid;
    gap: 6px;
    width: fit-content;
    margin-top: 28px;
    padding: 18px 22px;
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
}

.rh-card span {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.rh-card strong {
    color: var(--white);
    font-size: 20px;
    font-weight: 900;
}

.rh-card em {
    color: rgba(255, 255, 255, .62);
    font-size: 13px;
    font-style: normal;
}

.spontaneous-action {
    flex: 0 0 auto;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .career-intro-section,
    .career-stats-section,
    .life-section,
    .jobs-layout {
        grid-template-columns: 1fr;
    }

    .career-intro-title {
        position: static;
    }

    .linkedin-card {
        position: relative;
        top: auto;
    }
}

@keyframes mobileHeroBackground {
    from {
        background-position: 0% center;
    }

    to {
        background-position: 100% center;
    }
}

@media (max-width: 900px) {
    .career-hero {
        min-height: 100vh;
        padding: 110px 22px 70px;
    }

    .career-hero::before {
        background-position: 0% center;
        animation: mobileHeroBackground 18s ease-in-out infinite alternate;
    }

    .career-hero h1 {
        font-size: clamp(42px, 10vw, 72px);
    }

    .career-intro-section,
    .career-stats-section,
    .life-section,
    .jobs-section,
    .spontaneous-section {
        padding-left: 22px;
        padding-right: 22px;
    }

    .career-intro-section,
    .career-stats-section,
    .life-section,
    .jobs-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .career-intro-title h2,
    .career-stats-content h2,
    .life-content h2,
    .jobs-heading h2,
    .spontaneous-content h2 {
        font-size: clamp(32px, 7vw, 46px);
    }

    .life-gallery article:nth-child(1),
    .life-gallery article:nth-child(4) {
        transform: none;
    }

    .life-gallery {
        grid-auto-rows: 240px;
    }

    .spontaneous-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .career-hero {
        min-height: 100vh;
        padding: 96px 18px 58px;
    }

    .career-hero h1 {
        font-size: 42px;
    }

    .career-hero-content > p:not(.eyebrow) {
        font-size: 18px;
    }

    .career-intro-section,
    .career-stats-section,
    .life-section,
    .jobs-section {
        padding: 58px 18px;
    }

    .career-intro-text p,
    .career-stats-content p,
    .life-content p {
        font-size: 16px;
        line-height: 1.68;
    }

    .career-intro-text p:first-child {
        font-size: 18px;
    }

    .career-stats-grid {
        grid-template-columns: 1fr;
    }

    .career-stats-grid article {
        min-height: 150px;
    }

    .life-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 190px;
        gap: 12px;
    }

    .life-gallery article {
        min-height: 0;
        border-radius: 18px;
    }

    .life-gallery span {
        right: 14px;
        bottom: 14px;
        left: 14px;
        font-size: 18px;
    }

    .job-card {
        align-items: flex-start;
        padding: 22px 20px;
    }

    .job-card h3 {
        font-size: 20px;
    }

    .linkedin-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .linkedin-card h3 {
        font-size: 28px;
    }

    .spontaneous-section {
        padding: 58px 18px;
    }

    .rh-card {
        width: 100%;
    }

    .rh-card strong {
        font-size: 17px;
        word-break: break-word;
    }
}

@media (max-width: 420px) {
    .career-hero h1 {
        font-size: 36px;
    }

    .job-card {
        gap: 14px;
    }

    .job-card > a {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}
