/* ============================================================
   DEARDEN2007 — WORKFORCE DEVELOPMENT
   Direct skill building, proof creation, and workforce readiness
   ============================================================ */

:root {
    --workforce-black: #020305;
    --workforce-panel: #0b121f;
    --workforce-red: #ff3547;
    --workforce-red-dark: #98101d;
    --workforce-blue: #3478ff;
    --workforce-blue-dark: #173e9d;
    --workforce-blue-light: #83b2ff;
    --workforce-muted: #b7c9e3;
    --workforce-line: #29496f;
}

* {
    box-sizing: border-box;
}

.workforce-page {
    margin: 0;
    color: #fff;
    background:
        radial-gradient(circle at 6% 10%, rgba(52,120,255,.18), transparent 31rem),
        radial-gradient(circle at 94% 8%, rgba(255,53,71,.16), transparent 31rem),
        var(--workforce-black);
}

.workforce-page main {
    overflow: hidden;
}

.workforce-hero,
.workforce-message,
.workforce-section,
.training-floor,
.proof-builder,
.weekly-challenge,
.workforce-cta {
    width: min(1520px, calc(100% - 48px));
    margin-inline: auto;
}

/* HERO */

.workforce-hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
    align-items: center;
    min-height: 720px;
    padding: 90px 3%;
}

.workforce-back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--workforce-blue-light);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-decoration: none;
}

.workforce-eyebrow,
.workforce-heading > span,
.workforce-message span,
.training-floor__heading > span,
.proof-builder__copy > span,
.weekly-challenge__top span,
.workforce-cta span {
    color: var(--workforce-red);
    font-size: .78rem;
    font-weight: 1000;
    letter-spacing: .18em;
}

.workforce-hero h1 {
    margin: 16px 0 26px;
    font-size: clamp(4rem, 8vw, 8.4rem);
    line-height: .86;
    letter-spacing: -.055em;
}

.workforce-hero h1 strong {
    display: block;
    color: var(--workforce-blue-light);
}

.workforce-hero__copy > p {
    max-width: 820px;
    color: var(--workforce-muted);
    font-size: 1.23rem;
    line-height: 1.7;
}

.workforce-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.workforce-button {
    min-height: 54px;
    padding: 15px 24px;
    border-radius: 10px;
    color: #fff;
    font-weight: 1000;
    text-decoration: none;
}

.workforce-button--red {
    background: linear-gradient(135deg, var(--workforce-red), var(--workforce-red-dark));
}

.workforce-button--blue {
    background: linear-gradient(135deg, var(--workforce-blue), var(--workforce-blue-dark));
}

.workforce-hero__machine {
    padding: 48px;
    border: 1px solid #34567d;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(12,28,54,.96), rgba(6,9,15,.98));
    box-shadow: 0 35px 80px rgba(0,0,0,.42);
}

.machine-stage {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 10px;
    align-items: center;
}

.machine-stage span {
    display: grid;
    place-items: center;
    min-height: 110px;
    padding: 14px;
    border: 2px solid var(--workforce-blue);
    border-radius: 16px;
    background: #050910;
    font-weight: 1000;
    text-align: center;
}

.machine-stage span:nth-of-type(2) {
    border-color: var(--workforce-red);
}

.machine-stage b {
    color: var(--workforce-red);
    font-size: 1.8rem;
}

.machine-output {
    margin-top: 34px;
    padding: 24px;
    border-left: 7px solid var(--workforce-red);
    background: rgba(0,0,0,.34);
}

.machine-output small {
    color: var(--workforce-blue-light);
    letter-spacing: .15em;
}

.machine-output strong {
    display: block;
    margin-top: 8px;
    font-size: 1.8rem;
}

/* MESSAGE */

.workforce-message {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 50px;
    align-items: center;
    padding: 55px;
    border: 1px solid #6f202b;
    border-left: 9px solid var(--workforce-red);
    border-radius: 26px;
    background: linear-gradient(120deg, rgba(78,8,18,.9), rgba(8,13,21,.98));
}

.workforce-message img {
    width: 185px;
    height: 185px;
    border: 5px solid var(--workforce-blue);
    border-radius: 50%;
    object-fit: cover;
}

.workforce-message h2,
.workforce-heading h2,
.proof-builder h2,
.weekly-challenge h2,
.workforce-cta h2 {
    margin: 14px 0 18px;
    font-size: clamp(2.4rem, 4.8vw, 5.2rem);
    line-height: .96;
}

.workforce-message h2 strong,
.workforce-heading h2 strong,
.proof-builder h2 strong,
.workforce-cta h2 strong,
.workforce-tool-title strong {
    display: block;
    color: var(--workforce-blue-light);
}

.workforce-message p,
.workforce-heading p,
.training-floor__heading p,
.proof-builder p,
.workforce-cta p,
.development-card p,
.training-mini p,
.translation-grid p,
.help-grid p {
    color: var(--workforce-muted);
    line-height: 1.68;
}

/* SECTIONS */

.workforce-section,
.training-floor {
    padding: 105px 0;
}

.workforce-heading,
.training-floor__heading {
    max-width: 1080px;
    margin-bottom: 45px;
}

.workforce-heading--center {
    margin-inline: auto;
    text-align: center;
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.development-card {
    min-height: 390px;
    padding: 30px;
    border: 1px solid var(--workforce-line);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(17,27,43,.98), rgba(6,9,15,.98));
}

.development-card--red {
    border-top: 6px solid var(--workforce-red);
}

.development-card--blue {
    border-top: 6px solid var(--workforce-blue);
}

.development-card--split {
    border-top: 6px solid transparent;
    background:
        linear-gradient(#0d1522,#0d1522) padding-box,
        linear-gradient(90deg,var(--workforce-red),var(--workforce-blue)) border-box;
}

.development-card > span {
    color: var(--workforce-blue-light);
    font-size: 3.5rem;
    font-weight: 1000;
    opacity: .25;
}

.development-icon {
    margin: 24px 0 14px;
    font-size: 3rem;
}

.development-card h3 {
    font-size: 1.65rem;
}

/* TRAINING FLOOR */

.training-floor {
    border-top: 1px solid #233a59;
    border-bottom: 1px solid #233a59;
}

.training-floor__heading h2 {
    margin: 12px 0;
    font-size: clamp(2.6rem,5vw,5.5rem);
}

.training-floor__layout {
    display: grid;
    gap: 22px;
}

.training-feature {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    min-height: 510px;
    overflow: hidden;
    border: 1px solid #31577f;
    border-radius: 26px;
    background: #060a11;
}

.training-feature__screen {
    display: grid;
    place-content: center;
    justify-items: center;
    padding: 35px;
    background:
        radial-gradient(circle, rgba(52,120,255,.22), transparent 45%),
        linear-gradient(145deg,#07101d,#111a2a);
    text-align: center;
}

.training-feature__screen > span {
    display: grid;
    place-items: center;
    width: 115px;
    height: 115px;
    margin-bottom: 24px;
    border: 5px solid var(--workforce-red);
    border-radius: 50%;
    background: linear-gradient(135deg,var(--workforce-red),var(--workforce-blue));
    font-size: 3rem;
}

.training-feature__screen small {
    margin-top: 12px;
    color: var(--workforce-muted);
}

.training-feature__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    border-left: 7px solid var(--workforce-red);
    background: linear-gradient(150deg, rgba(80,8,18,.9), rgba(8,13,21,.98));
}

.training-feature__copy > span {
    color: var(--workforce-blue-light);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .14em;
}

.training-feature__copy h3 {
    font-size: clamp(2.1rem,4vw,4rem);
    line-height: 1;
}

.training-feature__copy a {
    align-self: flex-start;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg,var(--workforce-blue),var(--workforce-blue-dark));
    font-weight: 1000;
    text-decoration: none;
}

.training-mini-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
}

.training-mini {
    min-height: 245px;
    padding: 26px;
    border: 1px solid var(--workforce-line);
    border-left: 5px solid var(--workforce-red);
    border-radius: 17px;
    color: #fff;
    background: #0b121f;
    text-decoration: none;
    transition: transform .2s ease;
}

.training-mini:nth-child(even) {
    border-left-color: var(--workforce-blue);
}

.training-mini:hover {
    transform: translateY(-6px);
}

.training-mini > span {
    color: var(--workforce-blue-light);
    font-weight: 1000;
}

.training-mini h3 {
    margin: 32px 0 10px;
}

.training-mini strong {
    display: block;
    margin-top: 20px;
    color: var(--workforce-red);
    font-size: .76rem;
}

/* PLAN */

.workforce-tool-title {
    margin: 14px 0 18px;
    font-size: clamp(2.5rem,4.6vw,4.9rem);
    line-height: 1;
    text-transform: uppercase;
}

.workforce-tool-title strong {
    margin-top: 8px;
    font-size: .68em;
}

.skill-plan-layout {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 25px;
}

.skill-plan-form {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 17px;
    padding: 30px;
    border: 1px solid var(--workforce-line);
    border-left: 7px solid var(--workforce-red);
    border-radius: 20px;
    background: #0b121f;
}

.skill-plan-form label {
    display: grid;
    gap: 8px;
    color: #dce6f4;
    font-weight: 800;
}

.skill-plan-form input,
.skill-plan-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #3c5679;
    border-radius: 8px;
    color: #fff;
    background: #050910;
    font: inherit;
}

.skill-plan-form textarea {
    min-height: 110px;
    resize: vertical;
}

.skill-plan-status {
    padding: 35px;
    border: 1px solid #31577f;
    border-right: 8px solid var(--workforce-blue);
    border-radius: 20px;
    background: linear-gradient(145deg,rgba(10,30,60,.92),rgba(8,12,19,.98));
}

.skill-plan-status > span {
    color: var(--workforce-red);
    font-weight: 1000;
    letter-spacing: .14em;
}

.skill-plan-status > strong {
    display: block;
    margin: 15px 0;
    font-size: 6rem;
}

.skill-progress-track {
    height: 18px;
    overflow: hidden;
    border-radius: 999px;
    background: #02050a;
}

#skill-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,var(--workforce-red),var(--workforce-blue));
    transition: width .25s ease;
}

.skill-plan-status h3 {
    margin-top: 25px;
    font-size: 1.5rem;
}

.skill-plan-status button {
    margin-top: 20px;
    padding: 12px 16px;
    border: 1px solid #496488;
    border-radius: 8px;
    color: #fff;
    background: #0d1726;
    font-weight: 900;
    cursor: pointer;
}

/* PROOF */

.proof-builder {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 55px;
    padding: 65px;
    border: 1px solid #31577f;
    border-right: 9px solid var(--workforce-blue);
    border-radius: 26px;
    background: linear-gradient(120deg,rgba(11,28,55,.95),rgba(8,11,17,.98));
}

.proof-card {
    display: grid;
    gap: 12px;
}

.proof-card > div {
    padding: 19px;
    border: 1px solid #315477;
    border-radius: 12px;
    background: rgba(3,6,11,.52);
}

.proof-card span {
    color: var(--workforce-red);
    font-size: .75rem;
    font-weight: 1000;
    letter-spacing: .12em;
}

.proof-card p {
    margin-bottom: 0;
}

/* TRANSLATION */

.translation-grid,
.help-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 19px;
}

.translation-grid article,
.help-grid article {
    min-height: 300px;
    padding: 29px;
    border: 1px solid var(--workforce-line);
    border-top: 5px solid var(--workforce-red);
    border-radius: 18px;
    background: #0b121f;
}

.translation-grid article:nth-child(even),
.help-grid article:nth-child(even) {
    border-top-color: var(--workforce-blue);
}

.translation-grid span,
.help-grid span {
    color: var(--workforce-blue-light);
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .13em;
}

.translation-grid strong {
    display: block;
    margin-top: 28px;
    color: var(--workforce-red);
}

/* WEEKLY */

.weekly-challenge {
    padding: 65px;
    border: 1px solid #6f202b;
    border-left: 9px solid var(--workforce-red);
    border-radius: 26px;
    background: linear-gradient(120deg,rgba(78,8,18,.9),rgba(8,13,21,.98));
}

.weekly-challenge__top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
}

.challenge-badge {
    display: grid;
    place-items: center;
    width: 130px;
    height: 130px;
    border: 5px solid var(--workforce-blue);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 1000;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 14px;
    margin-top: 35px;
}

.challenge-grid article {
    min-height: 220px;
    padding: 22px;
    border: 1px solid #683240;
    border-radius: 14px;
    background: rgba(0,0,0,.28);
}

.challenge-grid span {
    color: var(--workforce-blue-light);
    font-size: .74rem;
    font-weight: 1000;
}

.challenge-grid p {
    color: var(--workforce-muted);
    line-height: 1.6;
}

/* CTA */

.workforce-cta {
    display: grid;
    grid-template-columns: 155px 1fr auto;
    gap: 34px;
    align-items: center;
    margin: 90px auto 55px;
    padding: 42px;
    border: 1px solid #70202a;
    border-bottom: 8px solid var(--workforce-red);
    border-radius: 24px;
    background: linear-gradient(135deg,rgba(72,8,16,.92),rgba(8,12,19,.98));
}

.workforce-cta img {
    width: 100%;
    border: 4px solid var(--workforce-blue);
    border-radius: 50%;
}

.workforce-cta > a {
    padding: 16px 22px;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(135deg,var(--workforce-red),var(--workforce-red-dark));
    font-weight: 1000;
    text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 1080px) {
    .workforce-hero,
    .workforce-message,
    .training-feature,
    .skill-plan-layout,
    .proof-builder {
        grid-template-columns: 1fr;
    }

    .development-grid,
    .training-mini-grid,
    .challenge-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .workforce-cta {
        grid-template-columns: 120px 1fr;
    }

    .workforce-cta > a {
        grid-column: 1/-1;
        text-align: center;
    }
}

@media (max-width: 720px) {
    .workforce-hero,
    .workforce-message,
    .workforce-section,
    .training-floor,
    .proof-builder,
    .weekly-challenge,
    .workforce-cta {
        width: min(100% - 24px,1520px);
    }

    .workforce-hero {
        min-height: 0;
        padding: 50px 8px;
    }

    .workforce-hero h1 {
        font-size: clamp(3rem,15vw,5rem);
    }

    .machine-stage {
        grid-template-columns: 1fr;
    }

    .machine-stage b {
        text-align: center;
    }

    .workforce-message,
    .proof-builder,
    .weekly-challenge,
    .workforce-cta {
        padding: 25px;
    }

    .development-grid,
    .training-mini-grid,
    .translation-grid,
    .help-grid,
    .challenge-grid,
    .skill-plan-form {
        grid-template-columns: 1fr;
    }

    .training-feature__copy {
        border-left: 0;
        border-top: 7px solid var(--workforce-red);
    }

    .weekly-challenge__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .workforce-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .workforce-cta img {
        width: 140px;
        margin: auto;
    }
}
