/* ════════════════════════════════════════════════════════════════════
   Proforma Careers - /careers/, /careers/jobs/, /careers/talent/
   Matched to the Astra brand tokens (same palette + type as the contact
   page and the research library). Pure custom, no Elementor.
     #fa5e10 orange / #fd6a21 hover  #181f2f navy  #3c4553 slate
     #f5f7f4 cream canvas  #ffffff white  #c5cbd3/#d8dadf borders  #6b7280 muted
     Lexend headings, Plus Jakarta Sans body.
   ════════════════════════════════════════════════════════════════════ */

/* ── Page chrome ── */
body.proforma-careers-page {
    background-color: #f5f7f4;
}

body.proforma-careers-page #content,
body.proforma-careers-page #primary,
body.proforma-careers-page .entry-content {
    background: transparent !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
}

body.proforma-careers-page .entry-header,
body.proforma-careers-page .ast-page-title,
body.proforma-careers-page .page-hero,
body.proforma-careers-page .breadcrumbs-bar,
body.proforma-careers-page .ast-breadcrumbs {
    display: none !important;
}

/* Header is transparent (site default, re-enabled via theme-transparent-header-meta)
   so it floats over the dark hero like the Elementor pages. Force white menu text so
   it reads over the black hero. Dropdown (Careers flyout) = dark-grey panel, white text. */
body.proforma-careers-page .ast-primary-header-bar .menu-link {
    color: #ffffff !important;
}
body.proforma-careers-page .ast-builder-menu-1 .sub-menu {
    background-color: #303640 !important;
}
body.proforma-careers-page .ast-builder-menu-1 .sub-menu .menu-link {
    color: #ffffff !important;
}

/* ── Hero (full-bleed black, orange divider) ── */
body.proforma-careers-page .pcar-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background-color: #000000;
    color: #ffffff;
    padding: 110px 24px 96px 24px;
    overflow: hidden;
}

body.proforma-careers-page .pcar-hero-inner {
    max-width: 1000px;
    margin: 0 auto;
}

body.proforma-careers-page .pcar-wordmark {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    border-bottom: none;
    margin-bottom: 22px;
}

body.proforma-careers-page .pcar-wordmark:hover {
    color: #fa5e10;
}

body.proforma-careers-page .pcar-divider {
    width: 56px;
    height: 2px;
    background-color: #fa5e10;
    border: 0;
    margin: 0 0 28px 0;
}

body.proforma-careers-page .pcar-hero h1 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 56px;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 0 0 20px 0;
    padding: 0;
    border: 0;
}

body.proforma-careers-page .pcar-hero-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
    max-width: 680px;
    margin: 0;
}

/* ── Landing: two-path cards, pulled up over the hero ── */
body.proforma-careers-page .pcar-paths {
    position: relative;
    max-width: 1000px;
    margin: -56px auto 0 auto;
    padding: 0 24px;
}

body.proforma-careers-page .pcar-paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

body.proforma-careers-page .pcar-path {
    display: block;
    background: #ffffff;
    border: 1px solid #d8dadf;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 38px 34px;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

body.proforma-careers-page .pcar-path:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.1);
}

body.proforma-careers-page .pcar-num {
    display: block;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fa5e10;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

body.proforma-careers-page .pcar-path h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #181f2f;
    margin: 0 0 10px 0;
}

body.proforma-careers-page .pcar-path p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #3c4553;
    margin: 0 0 16px 0;
}

body.proforma-careers-page .pcar-path-go {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fa5e10;
}

/* ── Jobs listing + empty state ── */
body.proforma-careers-page .pcar-jobs {
    max-width: 760px;
    margin: 56px auto 90px auto;
    padding: 0 24px;
}

body.proforma-careers-page .pcar-job-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

body.proforma-careers-page .pcar-job {
    display: block;
    background: #ffffff;
    border: 1px solid #d8dadf;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 32px 34px;
    text-decoration: none;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

body.proforma-careers-page .pcar-job:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 16px 40px rgba(15, 23, 42, 0.1);
}

body.proforma-careers-page .pcar-job-go {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fa5e10;
}

body.proforma-careers-page .pcar-back {
    margin-top: 28px;
}

body.proforma-careers-page .pcar-back a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #6b7280;
}

body.proforma-careers-page .pcar-job-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #181f2f;
    margin: 0 0 6px 0;
}

body.proforma-careers-page .pcar-job-meta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0 0 14px 0;
}

body.proforma-careers-page .pcar-job-summary {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3c4553;
    margin: 0 0 22px 0;
}

body.proforma-careers-page .pcar-empty {
    background: #ffffff;
    border: 1px solid #d8dadf;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 52px 48px;
    text-align: center;
}

body.proforma-careers-page .pcar-empty h2 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 26px;
    color: #181f2f;
    margin: 0 0 14px 0;
}

body.proforma-careers-page .pcar-empty p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3c4553;
    margin: 0 auto 24px auto;
    max-width: 520px;
}

/* Job posting (full JD) + paste-only application form */
body.proforma-careers-page .pcar-posting,
body.proforma-careers-page .pcar-apply {
    background: #ffffff;
    border: 1px solid #d8dadf;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 10px 30px rgba(15, 23, 42, 0.06);
    padding: 44px 48px;
}

body.proforma-careers-page .pcar-posting {
    margin-bottom: 28px;
}

body.proforma-careers-page .pcar-posting-title {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 28px;
    color: #181f2f;
    margin: 0 0 6px 0;
}

body.proforma-careers-page .pcar-posting-meta {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7280;
    margin: 0 0 22px 0;
}

body.proforma-careers-page .pcar-posting p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #3c4553;
    margin: 0 0 16px 0;
}

body.proforma-careers-page .pcar-posting h3 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #181f2f;
    margin: 28px 0 12px 0;
}

body.proforma-careers-page .pcar-apply h2 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 26px;
    color: #181f2f;
    margin: 0 0 12px 0;
}

body.proforma-careers-page .pcar-apply-lead {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #3c4553;
    margin: 0 0 28px 0;
}

body.proforma-careers-page .pcar-field {
    display: flex;
    flex-direction: column;
    margin: 0 0 1.25rem;
}

body.proforma-careers-page .pcar-field label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: #181f2f;
    margin-bottom: 0.45rem;
}

body.proforma-careers-page .pcar-req {
    color: #c0392b;
}

body.proforma-careers-page .pcar-field input,
body.proforma-careers-page .pcar-field select,
body.proforma-careers-page .pcar-field textarea {
    width: 100%;
    padding: 0.8rem 0.85rem;
    border: 1px solid #c5cbd3;
    border-radius: 4px;
    font: inherit;
    line-height: 1.4;
    color: #3c4553;
    background: #ffffff;
}

body.proforma-careers-page .pcar-field select {
    height: auto;
    line-height: 1.3;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

body.proforma-careers-page .pcar-field textarea {
    resize: vertical;
    min-height: 200px;
}

body.proforma-careers-page .pcar-field input:focus,
body.proforma-careers-page .pcar-field select:focus,
body.proforma-careers-page .pcar-field textarea:focus {
    outline: none;
    border-color: #fa5e10;
    box-shadow: 0 0 0 3px rgba(250, 94, 16, 0.15);
}

body.proforma-careers-page .pcar-apply-submit {
    margin: 0;
}

body.proforma-careers-page .pcar-apply-submit button {
    display: inline-block;
    padding: 16px 32px;
    border: 2px solid #fa5e10;
    border-radius: 0;
    background: #fa5e10;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.28em;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

body.proforma-careers-page .pcar-apply-submit button:hover {
    background: #fd6a21;
    border-color: #fd6a21;
}

body.proforma-careers-page .pcar-apply-error {
    padding: 0.85rem 1rem;
    margin: 0 0 1.5rem;
    border-left: 4px solid #c0392b;
    background: #fcebea;
    color: #3c4553;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body.proforma-careers-page .pcar-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ── Talent: prose sections, alternating cream/white full-bleed bands ── */
body.proforma-careers-page .pcar-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    background: #ffffff;
    padding: 64px 24px;
}

body.proforma-careers-page .pcar-section-light {
    background: #f5f7f4;
}

body.proforma-careers-page .pcar-inner {
    max-width: 760px;
    margin: 0 auto;
}

body.proforma-careers-page .pcar-section h2 {
    font-family: 'Lexend', sans-serif;
    font-weight: 400;
    font-size: 30px;
    letter-spacing: -0.5px;
    color: #181f2f;
    margin: 0 0 18px 0;
}

body.proforma-careers-page .pcar-section p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #3c4553;
    margin: 0 0 16px 0;
}

body.proforma-careers-page .pcar-section strong {
    color: #181f2f;
    font-weight: 600;
}

body.proforma-careers-page .pcar-challenge {
    font-family: 'Lexend', sans-serif;
    font-size: 22px;
    color: #181f2f;
    margin-top: 8px;
}

body.proforma-careers-page .pcar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.proforma-careers-page .pcar-list li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: #3c4553;
    padding: 0 0 0 22px;
    margin: 0 0 14px 0;
    position: relative;
}

body.proforma-careers-page .pcar-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 2px;
    background: #fa5e10;
}

body.proforma-careers-page .pcar-list li strong {
    color: #181f2f;
    font-weight: 600;
}

/* ── Buttons (the site's sharp-cornered uppercase style) ── */
body.proforma-careers-page .pcar-btn,
body.proforma-careers-page .pcar-btn-ghost {
    display: inline-block;
    padding: 16px 32px;
    border: 2px solid #fa5e10;
    border-radius: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.28em;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.proforma-careers-page .pcar-btn {
    background: #fa5e10;
    color: #ffffff;
}

body.proforma-careers-page .pcar-btn:hover {
    background: #fd6a21;
    border-color: #fd6a21;
}

body.proforma-careers-page .pcar-btn-ghost {
    background: transparent;
    color: #fa5e10;
}

body.proforma-careers-page .pcar-btn-ghost:hover {
    background: #fa5e10;
    color: #ffffff;
}

body.proforma-careers-page .pcar-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

body.proforma-careers-page .pcar-empty .pcar-cta-row {
    justify-content: center;
}

/* ── Responsive ── */
@media (max-width: 980px) {
    body.proforma-careers-page .pcar-hero {
        padding: 92px 24px 80px 24px;
    }
    body.proforma-careers-page .pcar-hero h1 {
        font-size: 44px;
    }
    body.proforma-careers-page .pcar-hero-sub {
        font-size: 17px;
    }
    body.proforma-careers-page .pcar-paths-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body.proforma-careers-page .pcar-hero {
        padding: 72px 20px 58px 20px;
    }
    body.proforma-careers-page .pcar-hero h1 {
        font-size: 34px;
    }
    body.proforma-careers-page .pcar-hero-sub {
        font-size: 16px;
    }
    body.proforma-careers-page .pcar-paths {
        margin-top: -34px;
        padding: 0 16px;
    }
    body.proforma-careers-page .pcar-jobs {
        margin-top: 44px;
        padding: 0 16px;
    }
    body.proforma-careers-page .pcar-section {
        padding: 48px 20px;
    }
    body.proforma-careers-page .pcar-section h2 {
        font-size: 25px;
    }
    body.proforma-careers-page .pcar-empty {
        padding: 40px 24px;
    }
    body.proforma-careers-page .pcar-cta-row .pcar-btn,
    body.proforma-careers-page .pcar-cta-row .pcar-btn-ghost {
        display: block;
        width: 100%;
        text-align: center;
    }
}
