/* =========================================================
   SOFTRENIX TECHNOLOGIES
   CAREERS PAGE
========================================================= */


/* =========================================================
   CAREERS VARIABLES
========================================================= */

.careers-hero,
.career-status,
.future-roles,
.people-section,
.journey-section,
.careers-final-cta {

    --career-blue: #2563eb;
    --career-dark: #050f27;
    --career-text: #111827;
    --career-muted: #64748b;
    --career-border: rgba(15, 23, 42, 0.12);

}


/* =========================================================
   SHARED CONTAINER
========================================================= */

.careers-container {

    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;

}


/* =========================================================
   HERO
========================================================= */

.careers-hero {

    position: relative;

    min-height: 78vh;

    display: flex;

    flex-direction: column;

    justify-content: center;

    overflow: hidden;

    background: #f7f9fc;

    padding: 0px 0 60px;

}


/* =========================================================
   HERO ENGINEERING GRID
========================================================= */

.careers-grid {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background-image:

        linear-gradient(
            rgba(15, 23, 42, 0.045) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.045) 1px,
            transparent 1px
        );

    background-size: 80px 80px;

    mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0,0,0,.65) 65%,
            transparent 100%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black 0%,
            rgba(0,0,0,.65) 65%,
            transparent 100%
        );

}


/* =========================================================
   HERO LAYOUT
========================================================= */

.careers-hero-layout {

    position: relative;

    z-index: 2;

    width:
        min(1400px, calc(100% - 80px));

    min-height: 680px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(480px, .9fr);

    align-items: center;

    gap: 70px;

}


/* =========================================================
   HERO CONTENT
========================================================= */

.careers-hero-content {

    position: relative;

    z-index: 3;

}


.careers-eyebrow {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 28px;

    color:
        var(--career-blue);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .16em;

}


.status-dot {

    width: 8px;

    height: 8px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        var(--career-blue);

    box-shadow:
        0 0 0 5px
        rgba(37,99,235,.10);

    animation:
        careersStatusPulse
        2.5s
        ease-in-out
        infinite;

}


/* =========================================================
   HERO TITLE
========================================================= */

.careers-hero h1 {

    max-width: 900px;

    margin: 0;

    color:
        var(--career-dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(4rem, 8vw, 8.5rem);

    line-height: .91;

    letter-spacing: -.065em;

    font-weight: 700;

}


.careers-hero h1 span {

    display: block;

    color:
        var(--career-blue);

}


/* =========================================================
   HERO INTRO
========================================================= */

.careers-intro {

    max-width: 650px;

    margin: 38px 0 0;

    color:
        #536176;

    font-size: 18px;

    line-height: 1.75;

}


/* =========================================================
   HERO ACTIONS
========================================================= */

.careers-actions {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 38px;

}


.careers-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 18px;

    min-height: 54px;

    padding: 0 24px;

    border: 1px solid transparent;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease,
        border-color .3s ease;

}


.careers-button.primary {

    color: white;

    background:
        var(--career-dark);

}


.careers-button.primary:hover {

    transform:
        translateY(-3px);

    background:
        var(--career-blue);

}


.careers-button.secondary {

    color:
        var(--career-dark);

    border-color:
        rgba(15,23,42,.18);

    background:
        rgba(255,255,255,.55);

}


.careers-button.secondary:hover {

    transform:
        translateY(-3px);

    border-color:
        var(--career-blue);

    color:
        var(--career-blue);

}


.careers-button span:last-child {

    font-size: 18px;

}


/* =========================================================
   CAREER PROGRESSION VISUAL
========================================================= */

.careers-hero-visual {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 600px;

    height: 620px;

    margin-left: auto;

}


.career-progression {

    position: relative;

    width: 100%;

    height: 100%;

    overflow: hidden;

}


/* =========================================================
   BLUEPRINT GRID
========================================================= */

.progression-grid {

    position: absolute;

    inset: 5%;

    background-image:

        linear-gradient(
            rgba(37,99,235,.075) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(37,99,235,.075) 1px,
            transparent 1px
        );

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 15%,
            black 85%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            black 15%,
            black 85%,
            transparent
        );

}


/* =========================================================
   VERTICAL ENGINEERING AXIS
========================================================= */

.progression-axis {

    position: absolute;

    top: 7%;

    bottom: 9%;

    left: 47%;

    width: 1px;

    background:
        rgba(37,99,235,.15);

}


.axis-tick {

    position: absolute;

    left: -5px;

    width: 11px;

    height: 1px;

    background:
        rgba(37,99,235,.35);

}


.tick-01 { top: 86%; }
.tick-02 { top: 68%; }
.tick-03 { top: 50%; }
.tick-04 { top: 32%; }
.tick-05 { top: 14%; }


/* =========================================================
   PROGRESSION PATH
========================================================= */

.progression-path {

    position: absolute;

    left: 47%;

    top: 84%;

    width: 1px;

    height: 0;

    background:
        var(--career-blue);

    box-shadow:
        0 0 12px
        rgba(37,99,235,.45);

    animation:
        progressionBuild
        2.5s
        cubic-bezier(.16,1,.3,1)
        forwards;

}


/* =========================================================
   CAREER STAGES
========================================================= */

.progression-stage {

    position: absolute;

    display: grid;

    grid-template-columns:
        45px 18px minmax(180px,1fr);

    align-items: center;

    gap: 12px;

    width: 88%;

    left: 6%;

}


.stage-01 {
    bottom: 12%;
}

.stage-02 {
    bottom: 30%;
}

.stage-03 {
    bottom: 48%;
}

.stage-04 {
    bottom: 66%;
}

.stage-05 {
    bottom: 84%;
}


/* =========================================================
   STAGE NUMBER
========================================================= */

.stage-number {

    color:
        rgba(15,23,42,.28);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .08em;

}


/* =========================================================
   STAGE MARKER
========================================================= */

.stage-marker {

    position: relative;

    width: 12px;

    height: 12px;

    border:
        1px solid
        var(--career-blue);

    background:
        #f7f9fc;

    transform:
        rotate(45deg);

}


.stage-marker::after {

    content: "";

    position: absolute;

    inset: 3px;

    background:
        var(--career-blue);

}


/* =========================================================
   STAGE CONTENT
========================================================= */

.stage-content {

    position: relative;

    display: flex;

    flex-direction: column;

    gap: 4px;

    padding:
        14px 18px;

    border:
        1px solid
        rgba(15,23,42,.10);

    background:
        rgba(255,255,255,.60);

    backdrop-filter:
        blur(8px);

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;

}


.stage-content::before {

    content: "";

    position: absolute;

    top: 50%;

    left: -28px;

    width: 28px;

    height: 1px;

    background:
        rgba(37,99,235,.22);

}


.stage-content span {

    color:
        var(--career-dark);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 15px;

    font-weight: 700;

    letter-spacing: .12em;

}


.stage-content small {

    color:
        #7a8495;

    font-size: 10px;

    letter-spacing: .04em;

}


.progression-stage:hover .stage-content {

    transform:
        translateX(8px);

    border-color:
        rgba(37,99,235,.35);

    background:
        rgba(255,255,255,.85);

}


/* =========================================================
   FUTURE MARKER
========================================================= */

.progression-future {

    position: absolute;

    top: 3%;

    right: 6%;

    display: flex;

    flex-direction: column;

    gap: 5px;

    text-align: right;

}


.progression-future span {

    color:
        #7d8798;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: .18em;

}


.progression-future strong {

    color:
        var(--career-blue);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;

    letter-spacing: .12em;

}


/* =========================================================
   TECHNICAL COORDINATES
========================================================= */

.progression-coordinate {

    position: absolute;

    color:
        rgba(89,98,115,.55);

    font-family:
        monospace;

    font-size: 8px;

    letter-spacing: .10em;

}


.coordinate-top {

    top: 9%;

    left: 7%;

}


.coordinate-side {

    right: -3%;

    top: 50%;

    transform:
        rotate(90deg);

}


.coordinate-bottom {

    bottom: 5%;

    right: 8%;

}


/* =========================================================
   HERO BOTTOM
========================================================= */

.careers-hero-bottom {

    position: relative;

    z-index: 3;

    width:
        min(1400px, calc(100% - 80px));

    margin:
        auto auto 0;

    padding:
        16px 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-top:
        1px solid
        rgba(15,23,42,.10);

    color:
        #64748b;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .18em;

}


.careers-hero-bottom > div:first-child {

    display: flex;

    align-items: center;

    gap: 14px;

}


.career-bottom-number {

    color:
        var(--career-blue);

}


.career-scroll-indicator {

    display: flex;

    align-items: center;

    gap: 12px;

}


/* =========================================================
   HERO ANIMATIONS
========================================================= */

@keyframes progressionBuild {

    from {

        height: 0;

    }

    to {

        height: 77%;

    }

}


@keyframes careersStatusPulse {

    0%,
    100% {

        transform:
            scale(1);

        opacity: .75;

    }

    50% {

        transform:
            scale(1.25);

        opacity: 1;

    }

}
/* =========================================================
   SECTION LABEL
========================================================= */

.section-label {

    margin-bottom: 22px;

    color: var(--career-blue);

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .18em;

}


/* =========================================================
   CURRENT STATUS
========================================================= */

.career-status {

    padding: 120px 0;

    background: #ffffff;

}


.status-layout {

    display: grid;

    grid-template-columns: 80px minmax(0, 1fr) 280px;

    gap: 55px;

    align-items: start;

}


.status-number {

    padding-top: 5px;

    color: rgba(15, 23, 42, .22);

    font-family: "Space Grotesk", sans-serif;

    font-size: 48px;
    font-weight: 600;

}


.status-content {

    max-width: 700px;

}


.status-content h2 {

    margin: 0;

    color: var(--career-dark);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 1;

    letter-spacing: -.05em;

}


.status-content h2 span {

    display: block;

    color: var(--career-blue);

}


.status-content p {

    max-width: 650px;

    margin: 30px 0 0;

    color: var(--career-muted);

    font-size: 16px;

    line-height: 1.8;

}


.status-card {

    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 22px;

    border: 1px solid var(--career-border);

    background: #f8fafc;

}


.status-card-dot {

    flex: 0 0 auto;

    width: 9px;
    height: 9px;

    margin-top: 5px;

    border-radius: 50%;

    background: #94a3b8;

}


.status-card strong {

    display: block;

    color: var(--career-dark);

    font-size: 13px;

}


.status-card small {

    display: block;

    margin-top: 6px;

    color: var(--career-muted);

    font-size: 11px;

}


/* =========================================================
   FUTURE ROLES
========================================================= */

.future-roles {

    padding: 120px 0;

    background: #f7f9fc;

}


.roles-header {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 420px;

    gap: 80px;

    align-items: end;

    margin-bottom: 65px;

}


.roles-header h2 {

    margin: 0;

    color: var(--career-dark);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3rem, 5.5vw, 5.5rem);

    line-height: .98;

    letter-spacing: -.055em;

}


.roles-header h2 span {

    display: block;

    color: var(--career-blue);

}


.roles-header > p {

    margin: 0;

    color: var(--career-muted);

    font-size: 15px;

    line-height: 1.8;

}


/* Role list */

.role-list {

    border-top: 1px solid var(--career-border);

}


.role-row {

    display: grid;

    grid-template-columns: 80px minmax(0, 1fr) 40px;

    align-items: center;

    gap: 25px;

    min-height: 115px;

    padding: 20px 0;

    border-bottom: 1px solid var(--career-border);

    transition:
        padding .35s ease,
        background .35s ease;

}


.role-row:hover {

    padding-left: 18px;
    padding-right: 18px;

    background: rgba(255,255,255,.65);

}


.role-number {

    color: #94a3b8;

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;
    font-weight: 600;

}


.role-main h3 {

    margin: 0;

    color: var(--career-dark);

    font-family: "Space Grotesk", sans-serif;

    font-size: 22px;

    font-weight: 600;

}


.role-main p {

    margin: 7px 0 0;

    color: var(--career-muted);

    font-size: 13px;

}


.role-arrow {

    color: var(--career-blue);

    font-size: 21px;

    transition: transform .3s ease;

}


.role-row:hover .role-arrow {

    transform: translate(4px, -4px);

}


/* =========================================================
   PEOPLE
========================================================= */

.people-section {

    padding: 130px 0;

    background: var(--career-dark);

    color: white;

}


.people-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;

}


.people-heading .section-label {

    color: #60a5fa;

}


.people-heading h2 {

    margin: 0;

    max-width: 650px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3rem, 5.5vw, 5.5rem);

    line-height: .98;

    letter-spacing: -.055em;

}


.people-heading h2 span {

    color: #60a5fa;

}


.people-content {

    padding-top: 45px;

}


.people-intro {

    max-width: 580px;

    margin: 0 0 50px;

    color: rgba(255,255,255,.68);

    font-size: 17px;

    line-height: 1.8;

}


.principles {

    border-top: 1px solid rgba(255,255,255,.12);

}


.principle {

    display: grid;

    grid-template-columns: 45px 1fr;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid rgba(255,255,255,.12);

}


.principle > span {

    color: #60a5fa;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: .1em;

}


.principle h3 {

    margin: 0;

    color: white;

    font-family: "Space Grotesk", sans-serif;

    font-size: 18px;

}


.principle p {

    max-width: 470px;

    margin: 8px 0 0;

    color: rgba(255,255,255,.55);

    font-size: 13px;

    line-height: 1.65;

}


/* =========================================================
   JOURNEY
========================================================= */

.journey-section {

    padding: 130px 0;

    background: white;

}


.journey-header {

    display: grid;

    grid-template-columns: minmax(0, 1fr) 420px;

    gap: 80px;

    align-items: end;

    margin-bottom: 90px;

}


.journey-header h2 {

    margin: 0;

    color: var(--career-dark);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3rem, 5vw, 5.3rem);

    line-height: .98;

    letter-spacing: -.055em;

}


.journey-header h2 span {

    display: block;

    color: var(--career-blue);

}


.journey-header p {

    margin: 0;

    color: var(--career-muted);

    font-size: 15px;

    line-height: 1.8;

}


/* Timeline */

.timeline {

    position: relative;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 45px;

}


.timeline-line {

    position: absolute;

    top: 24px;
    left: 0;
    right: 0;

    height: 1px;

    background: #dce2eb;

}


.timeline-item {

    position: relative;

    z-index: 2;

}


.timeline-number {

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 30px;

    border: 1px solid #d7dee8;

    border-radius: 50%;

    background: white;

    color: #64748b;

    font-family: "Space Grotesk", sans-serif;

    font-size: 12px;

}


.timeline-item.active .timeline-number {

    border-color: var(--career-blue);

    background: var(--career-blue);

    color: white;

}


.timeline-content small {

    color: var(--career-blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .16em;

}


.timeline-content h3 {

    margin: 10px 0 8px;

    color: var(--career-dark);

    font-family: "Space Grotesk", sans-serif;

    font-size: 25px;

}


.timeline-content p {

    max-width: 300px;

    margin: 0;

    color: var(--career-muted);

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================================
   FINAL CTA
========================================================= */

.careers-final-cta {

    position: relative;

    overflow: hidden;

    padding: 130px 0;

    background: #eef3fb;

}


.cta-grid {

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(37,99,235,.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(37,99,235,.07) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    pointer-events: none;

}


.cta-content {

    position: relative;
    z-index: 2;

    max-width: 850px;

}


.cta-content h2 {

    margin: 0;

    color: var(--career-dark);

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3.5rem, 7vw, 7rem);

    line-height: .93;

    letter-spacing: -.065em;

}


.cta-content h2 span {

    display: block;

    color: var(--career-blue);

}


.cta-content > p {

    max-width: 650px;

    margin: 30px 0 0;

    color: var(--career-muted);

    font-size: 17px;

    line-height: 1.75;

}


.cta-actions {

    display: flex;
    align-items: center;
    gap: 25px;

    margin-top: 38px;

}


.cta-button {

    display: inline-flex;
    align-items: center;
    gap: 20px;

    min-height: 54px;

    padding: 0 24px;

    background: var(--career-dark);

    color: white;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    transition:
        background .3s ease,
        transform .3s ease;

}


.cta-button:hover {

    background: var(--career-blue);

    transform: translateY(-3px);

}


.cta-button span {

    font-size: 18px;

}


.cta-link {

    color: var(--career-dark);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

}


.cta-link span {

    margin-left: 8px;

    color: var(--career-blue);

    transition: margin .3s ease;

}


.cta-link:hover span {

    margin-left: 14px;

}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.careers-reveal {

    opacity: 0;

    transform: translateY(30px);

}


.careers-reveal.is-visible {

    opacity: 1;

    transform: translateY(0);

    transition:
        opacity .8s ease,
        transform .8s cubic-bezier(.16,1,.3,1);

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .status-layout {

        grid-template-columns: 60px 1fr;

    }

    .status-card {

        grid-column: 2;

        max-width: 320px;

    }


    .roles-header,
    .journey-header {

        grid-template-columns: 1fr 340px;

        gap: 50px;

    }


    .people-grid {

        gap: 60px;

    }

}


@media (max-width: 800px) {

    .careers-container {

        width: calc(100% - 40px);

    }


    .careers-hero {

        min-height: auto;

        padding: 140px 0 100px;

    }


    .careers-hero h1 {

        font-size: clamp(3.6rem, 15vw, 6rem);

    }


    .careers-intro {

        font-size: 16px;

    }


    .careers-actions {

        align-items: stretch;
        flex-direction: column;

        max-width: 320px;

    }


    .careers-button {

        justify-content: space-between;

    }


    .careers-hero-bottom {

        padding: 16px 20px;

    }


    .careers-hero-bottom span:last-child {

        display: none;

    }


    .career-status,
    .future-roles,
    .people-section,
    .journey-section,
    .careers-final-cta {

        padding: 90px 0;

    }


    .status-layout {

        display: block;

    }


    .status-number {

        margin-bottom: 25px;

        font-size: 36px;

    }


    .status-card {

        margin-top: 35px;

    }


    .roles-header,
    .journey-header {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .role-row {

        grid-template-columns: 50px 1fr 30px;

        gap: 15px;

    }


    .people-grid {

        grid-template-columns: 1fr;

        gap: 30px;

    }


    .people-content {

        padding-top: 0;

    }


    .timeline {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .timeline-line {

        top: 0;
        bottom: 0;
        left: 24px;
        right: auto;

        width: 1px;
        height: auto;

    }


    .timeline-item {

        display: grid;

        grid-template-columns: 48px 1fr;

        gap: 25px;

    }


    .timeline-number {

        margin-bottom: 0;

    }


    .cta-actions {

        align-items: flex-start;
        flex-direction: column;

    }

}


@media (max-width: 500px) {

    .careers-container {

        width: calc(100% - 30px);

    }


    .careers-hero {

        padding-top: 125px;

    }


    .careers-hero h1 {

        font-size: 3.5rem;

    }


    .careers-intro {

        font-size: 15px;

        line-height: 1.7;

    }


    .careers-hero-bottom {

        padding: 14px 15px;

        font-size: 8px;

    }


    .status-content h2,
    .roles-header h2,
    .people-heading h2,
    .journey-header h2 {

        font-size: 2.8rem;

    }


    .role-row {

        grid-template-columns: 35px 1fr 20px;

        min-height: 105px;

    }


    .role-main h3 {

        font-size: 17px;

    }


    .role-main p {

        font-size: 12px;

    }


    .role-row:hover {

        padding-left: 8px;
        padding-right: 8px;

    }


    .principle {

        grid-template-columns: 35px 1fr;

    }


    .cta-content h2 {

        font-size: 3.4rem;

    }


    .cta-content > p {

        font-size: 15px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .careers-button,
    .role-row,
    .role-arrow,
    .cta-button,
    .cta-link span {

        transition: none;

    }

    .careers-reveal {

        opacity: 1;

        transform: none;

    }

}