@import url("https://use.typekit.net/ktg8efg.css");

:root {
    --chc-purple: #2F2F80;
    --chc-purple-light: #6164AF;
    --chc-gold: #FCBA2D;
    --chc-green: #8DC63F;
    --chc-blue: #0083AD;

    --ink: #222222;
    --muted: #666666;
    --surface: #F7F7F7;
    --surface-alt: #F3F3F3;
    --surface-purple: #E1E2F6;
    --border: #DDDDDD;
    --white: #FFFFFF;

    --content-width: 1180px;
    --content-narrow: 840px;

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 3px 12px rgba(47, 47, 128, 0.10);
    --shadow: 0 8px 28px rgba(47, 47, 128, 0.14);
}

/* ============================================================
   Base
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "proxima-nova", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: var(--chc-purple);
}

a:hover {
    color: var(--chc-purple-light);
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4 {
    color: var(--chc-purple);
    font-family: "proxima-nova", Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

h3 {
    font-size: 1.3rem;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--content-width)
    );
    margin-inline: auto;
}

.container-narrow {
    width: min(
        calc(100% - 40px),
        var(--content-narrow)
    );
    margin-inline: auto;
}

.section {
    padding: 42px 0;
}

.section-compact {
    padding: 44px 0;
}

.section-alt {
    background: var(--surface);
}

.section-purple {
    color: var(--white);
    background: var(--chc-purple);
}

.section-heading {
    margin: 0 0 12px;
    text-align: center;
}

.section-intro {
    max-width: 760px;
    margin: 0 auto 32px;
    color: var(--muted);
    text-align: center;
}


/* ============================================================
   Accessibility
   ============================================================ */

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 10px 16px;
    color: var(--white);
    background: var(--chc-purple);
}

.skip-link:focus {
    top: 16px;
}

:focus-visible {
    outline: 3px solid var(--chc-gold);
    outline-offset: 3px;
}


/* ============================================================
   Header
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 4px solid var(--chc-gold);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    width: 170px;
    height: auto;
}

.site-nav {
    margin-left: auto;
}

.site-nav-list {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    display: block;
    padding: 10px 13px;
    color: var(--chc-purple);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.site-nav a:hover,
.site-nav a:focus-visible {
    background: var(--surface-purple);
}

.nav-jobs a {
    padding-inline: 18px;
    color: #222;
    background: var(--chc-gold);
}

.nav-jobs a:hover,
.nav-jobs a:focus-visible {
    color: var(--white);
    background: var(--chc-purple);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 8px 11px;
    color: var(--chc-purple);
    background: var(--white);
    border: 2px solid var(--chc-purple);
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
}


/* ============================================================
   Hero
   ============================================================ */

.hero {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--white);
    background:
        linear-gradient(
            rgba(27, 25, 90, 0.66),
            rgba(47, 47, 128, 0.70)
        ),
        url("/images/hero.jpg") center / cover no-repeat;
}

.hero-content {
    max-width: 840px;
    padding: 70px 20px;
    text-align: center;
}

.hero h1 {
    margin: 0 0 14px;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .22);
}

.hero-tagline {
    margin: 0 0 28px;
    color: var(--white);
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}


/* ============================================================
   Buttons
   ============================================================ */

.button {
    display: inline-block;
    padding: 12px 24px;
    color: #222;
    background: var(--chc-gold);
    border: 2px solid var(--chc-gold);
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease,
        transform .15s ease;
}

.button:hover,
.button:focus-visible {
    color: var(--white);
    background: var(--chc-purple);
    border-color: var(--chc-purple);
}

.button-outline {
    color: var(--chc-purple);
    background: var(--white);
    border-color: var(--chc-purple);
}

.button-outline:hover,
.button-outline:focus-visible {
    color: var(--white);
    background: var(--chc-purple);
}


/* ============================================================
   Content layouts
   ============================================================ */

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    align-items: center;
    gap: 48px;
}

.split-layout.reverse .split-image {
    order: -1;
}

.split-image img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.split-copy > :first-child {
    margin-top: 0;
}

.split-copy > :last-child {
    margin-bottom: 0;
}


/* ============================================================
   Career cards
   ============================================================ */

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

.career-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.career-card[data-card-url] {
    cursor: pointer;
    transition:
        box-shadow .15s ease,
        transform .15s ease;
}

.career-card[data-card-url]:hover,
.career-card[data-card-url]:focus {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    outline: none;
}

.career-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.career-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

.career-card-content .text-link {
    margin-top: auto;
    padding-top: 14px;
}

.career-intro-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

@media (max-width: 600px) {
    .career-intro-image {
        height: 260px;
    }
}

.career-card h3 {
    margin: 0 0 10px;
}

.career-card p {
    color: var(--muted);
}

.text-link {
    font-weight: 600;
    text-decoration-thickness: 2px;
}


/* ============================================================
   Testimonials
   ============================================================ */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial {
    position: relative;
    margin: 0;
    padding: 30px;
    background: var(--white);
    border-top: 5px solid var(--chc-gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.testimonial p {
    margin: 0;
    font-size: 1.06rem;
}


/* ============================================================
   Job search and filters
   ============================================================ */

.jobs-toolbar {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    color: var(--ink);
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
}

.form-control:focus {
    border-color: var(--chc-purple-light);
    outline: 3px solid rgba(252, 186, 45, .35);
}

.jobs-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}

.jobs-count {
    color: var(--chc-purple);
    font-weight: 600;
}

.jobs-list {
    display: grid;
    gap: 16px;
}

.job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 22px 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 5px solid var(--chc-gold);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition:
        box-shadow .15s ease,
        transform .15s ease;
}

.job-card:hover,
.job-card:focus {
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
    outline: none;
}

.job-info {
    min-width: 0;
}

.job-title {
    margin: 0 0 5px;
    color: var(--chc-purple);
    font-size: 1.25rem;
}

.job-category {
    margin: 0 0 3px;
    color: var(--chc-purple-light);
    font-weight: 600;
}

.job-meta {
    margin: 0;
    color: var(--muted);
}

.job-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.no-jobs {
    padding: 36px;
    color: var(--muted);
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius);
}


/* ============================================================
   Internal employee and assistance notices
   ============================================================ */

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.notice-card {
    padding: 26px;
    background: var(--surface);
    border-top: 5px solid var(--chc-purple-light);
    border-radius: var(--radius);
}

.notice-card h3 {
    margin-top: 0;
}


/* ============================================================
   Interior-page hero
   ============================================================ */

.page-hero {
    color: var(--white);
    background: var(--chc-purple);
}

.page-hero-centered .page-hero-inner {
    align-items: center;
    text-align: center;
}

.page-hero-inner {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 0;
}

@media (max-width: 600px) {
    .page-hero-inner {
        min-height: 210px;
        padding: 30px 0;
    }
}

.page-hero h1 {
    margin: 0 0 10px;
    color: var(--white);
}

.page-hero p {
    max-width: 760px;
    margin: 0;
    font-size: 1.15rem;
}


/* ============================================================
   Job detail
   ============================================================ */

.job-detail-summary {
    margin-bottom: 36px;
    padding: 26px;
    background: var(--surface);
    border-left: 5px solid var(--chc-gold);
    border-radius: var(--radius-sm);
}

.job-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px 30px;
    margin: 0 0 24px;
}

.job-detail-grid dt {
    color: var(--chc-purple);
    font-weight: 600;
}

.job-detail-grid dd {
    margin: 2px 0 0;
}

.job-description {
    overflow-wrap: anywhere;
}

.job-description h2,
.job-description h3,
.job-description h4 {
    margin-top: 30px;
}

.job-description p {
    margin: 0 0 16px;
}

.job-description ul,
.job-description ol {
    padding-left: 28px;
}

.job-description table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

.job-description th,
.job-description td {
    padding: 10px;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}


/* ============================================================
   Footer
   ============================================================ */

.site-footer {
    color: var(--white);
    background: var(--chc-purple);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    align-items: start;
    gap: 40px;
    padding: 30px 0 24px;
}

.footer-social {
    margin-top: 18px;
}

.footer-social-title {
    margin: 0 0 8px;
    color: var(--white);
    font-weight: 600;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    line-height: 1;
    transition:
        background-color .15s ease,
        transform .15s ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
    background: rgba(255, 255, 255, .14);
    transform: translateY(-1px);
}

.footer-social-links img {
    display: block;
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/*
 * Normalize heading geometry across columns.
 * Column one uses h2 while columns two and three use h3.
 */
.site-footer .footer-main h2,
.site-footer .footer-main h3 {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 1.3rem;
    line-height: 1.25;
}

.site-footer .footer-main p {
    margin-top: 0;
}

.site-footer a {
    color: var(--white);
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 5px;
}

.footer-note {
    margin-bottom: 10px;
    color: #EEEEEE;
    font-size: .92rem;
}

.footer-note:last-child {
    margin-bottom: 0;
}

.footer-bottom {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, .25);
    font-size: .9rem;
}


/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1000px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 76px;
    }

    .site-logo img {
        width: 150px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 12px 20px 20px;
        background: var(--white);
        border-bottom: 4px solid var(--chc-gold);
        box-shadow: var(--shadow-sm);
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav-list {
        display: block;
    }

    .site-nav li + li {
        margin-top: 3px;
    }

    .site-nav a {
        padding: 11px 12px;
    }

    .nav-jobs {
        margin-top: 10px !important;
    }

    .nav-jobs a {
        text-align: center;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .split-layout.reverse .split-image {
        order: initial;
    }

    .jobs-toolbar {
        grid-template-columns: 1fr;
    }

    .job-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .job-actions {
        width: 100%;
    }

    .job-actions .button {
        flex: 1;
    }

    .notice-grid {
        grid-template-columns: 1fr;
    }

    .job-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    .container,
    .container-narrow {
        width: min(
            calc(100% - 28px),
            var(--content-width)
        );
    }

    .section {
        padding: 42px 0;
    }

    .hero {
        min-height: 390px;
    }

    .hero-content {
        padding-block: 54px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .job-actions {
        flex-direction: column;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}


/* ============================================================
   Reduced motion
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ============================================================
   Print
   ============================================================ */

@media print {
    .site-header,
    .site-footer,
    .job-actions,
    .button {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .section {
        padding: 20px 0;
    }
}

/* ============================================================
   Hero positioning
   Keep title above the wording in the source photograph.
   ============================================================ */

.hero-content h1,
.hero-content .hero-tagline {
    transform: translateY(-110px);
}

.hero-content h1 {
    margin-bottom: 4px;
}

.hero-content .hero-tagline {
    margin-bottom: 0;
}

@media (max-width: 820px) {
    .hero-content h1,
    .hero-content .hero-tagline {
        transform: translateY(-80px);
    }
}

@media (max-width: 600px) {
    .hero-content h1,
    .hero-content .hero-tagline {
        transform: translateY(-70px);
    }
}

/* ============================================================
   Interior content pages
   ============================================================ */

.page-section-title {
    margin-top: 0;
    margin-bottom: 16px;
}

.page-lead {
    color: var(--muted);
    font-size: 1.12rem;
}

.value-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.value-list li {
    padding: 8px 14px;
    color: var(--chc-purple);
    background: var(--surface-purple);
    border-radius: 999px;
    font-weight: 600;
}

.page-cta {
    padding: 48px 0;
    color: var(--white);
    background: var(--chc-purple);
    text-align: center;
}

.page-cta h2 {
    margin-top: 0;
    color: var(--white);
}

.page-cta p {
    max-width: 680px;
    margin: 0 auto 22px;
}


/* ============================================================
   Benefits page
   ============================================================ */

.benefits-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    align-items: center;
    gap: 48px;
}

.benefits-intro img {
    width: 100%;
    max-height: 470px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.benefit-groups {
    display: grid;
    gap: 30px;
}

.benefit-group {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 6px solid var(--chc-gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.benefit-group > h2 {
    margin-top: 0;
    margin-bottom: 22px;
}

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

.benefit-item {
    padding: 20px;
    background: var(--surface);
    border-radius: var(--radius-sm);
}

.benefit-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.benefit-item ul {
    margin: 0;
    padding-left: 20px;
}

.benefit-item li + li {
    margin-top: 7px;
}

.benefits-disclaimer {
    margin-top: 28px;
    padding: 20px 24px;
    background: var(--surface-purple);
    border-left: 5px solid var(--chc-purple-light);
    border-radius: var(--radius-sm);
}

@media (max-width: 820px) {
    .benefits-intro {
        grid-template-columns: 1fr;
    }

    .benefit-items {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   Embedded video
   ============================================================ */

.video-section {
    background: var(--surface);
    padding-top: 25px;
}

.video-heading {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
}

.video-heading h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.video-heading p {
    margin: 0;
    color: var(--muted);
}

.video-frame {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    background: var(--chc-purple);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 9;
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}



/* ============================================================
   Job detail page
   ============================================================ */

.back-link {
    display: inline-block;
    margin-bottom: 22px;
    font-weight: 600;
}

.job-detail-summary {
    margin-bottom: 34px;
}

.job-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.job-description {
    max-width: 960px;
}

.job-description > :first-child {
    margin-top: 0;
}

.job-description > :last-child {
    margin-bottom: 0;
}

.job-description h1 {
    font-size: 1.8rem;
}

.job-description h2 {
    font-size: 1.55rem;
}

.job-description h3 {
    font-size: 1.3rem;
}

.job-description h4 {
    font-size: 1.12rem;
}

.bottom-apply {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.job-source-note {
    width: 100%;
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    text-align: center;
}

@media (max-width: 600px) {
    .job-detail-actions,
    .bottom-apply {
        flex-direction: column;
        align-items: stretch;
    }

    .job-detail-actions .button,
    .bottom-apply .button {
        width: 100%;
    }
}
