:root {
    --jo-blue-950: #06152d;
    --jo-blue-900: #082452;
    --jo-blue-800: #0b3d83;
    --jo-blue-700: #0d5bd7;
    --jo-blue-600: #1475e8;
    --jo-blue-100: #eaf3ff;
    --jo-blue-50: #f4f8ff;

    --jo-text: #142033;
    --jo-muted: #607087;
    --jo-border: #dce5f0;
    --jo-white: #ffffff;
    --jo-background: #f7faff;

    --jo-radius-sm: 10px;
    --jo-radius-md: 16px;
    --jo-radius-lg: 24px;

    --jo-shadow-sm:
        0 6px 22px rgba(9, 37, 75, .07);

    --jo-shadow-md:
        0 16px 45px rgba(9, 37, 75, .10);

    --jo-container: 1180px;
}


/*
|--------------------------------------------------------------------------
| Base
|--------------------------------------------------------------------------
*/

.company-page,
.company-page body {
    margin: 0;
}

body {
    color: var(--jo-text);
    background: var(--jo-background);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

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


/*
|--------------------------------------------------------------------------
| Accessibility
|--------------------------------------------------------------------------
*/

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.company-hero,
.company-profile-hero {
    position: relative;
    overflow: hidden;
    color: var(--jo-white);
    background:
        linear-gradient(
            135deg,
            var(--jo-blue-950) 0%,
            var(--jo-blue-800) 52%,
            var(--jo-blue-600) 100%
        );
}

.company-hero {
    min-height: 500px;
    display: flex;
    align-items: center;
}

.company-profile-hero {
    padding: 44px 0 110px;
}


/*
|--------------------------------------------------------------------------
| Skyline
|--------------------------------------------------------------------------
*/

.company-hero__skyline,
.company-profile-hero__skyline {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 180px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    opacity: .20;
    pointer-events: none;
}

.company-hero__skyline span,
.company-profile-hero__skyline span {
    display: block;
    width: 14%;
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, .95),
            rgba(255, 255, 255, .25)
        );
    border-radius: 5px 5px 0 0;
}

.company-hero__skyline span:nth-child(1) {
    height: 46%;
}

.company-hero__skyline span:nth-child(2) {
    height: 72%;
}

.company-hero__skyline span:nth-child(3) {
    height: 56%;
}

.company-hero__skyline span:nth-child(4) {
    height: 92%;
}

.company-hero__skyline span:nth-child(5) {
    height: 66%;
}

.company-hero__skyline span:nth-child(6) {
    height: 82%;
}

.company-hero__skyline span:nth-child(7) {
    height: 52%;
}

.company-profile-hero__skyline span:nth-child(1) {
    height: 55%;
}

.company-profile-hero__skyline span:nth-child(2) {
    height: 78%;
}

.company-profile-hero__skyline span:nth-child(3) {
    height: 48%;
}

.company-profile-hero__skyline span:nth-child(4) {
    height: 88%;
}

.company-profile-hero__skyline span:nth-child(5) {
    height: 64%;
}

.company-profile-hero__skyline span:nth-child(6) {
    height: 74%;
}

.company-profile-hero__skyline span:nth-child(7) {
    height: 58%;
}


/*
|--------------------------------------------------------------------------
| Hero content
|--------------------------------------------------------------------------
*/

.company-hero__content {
    position: relative;
    z-index: 2;
}

.company-hero__copy {
    max-width: 780px;
    margin: 70px auto 32px;
    text-align: center;
}

.company-hero__copy h1 {
    margin: 12px 0 20px;
    font-size: clamp(
        2.25rem,
        6vw,
        4.25rem
    );
    line-height: 1.04;
    letter-spacing: -.045em;
}

.company-hero__copy p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .84);
    font-size: 1.08rem;
}


/*
|--------------------------------------------------------------------------
| Labels
|--------------------------------------------------------------------------
*/

.eyebrow,
.section-label {
    display: inline-block;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.eyebrow {
    color: #d9eaff;
}

.section-label {
    color: var(--jo-blue-700);
}


/*
|--------------------------------------------------------------------------
| Breadcrumb
|--------------------------------------------------------------------------
*/

.breadcrumb-nav {
    position: relative;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: .9rem;
    color: var(--jo-muted);
}

.breadcrumb-nav a {
    color: var(--jo-blue-700);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    text-decoration: underline;
}

.breadcrumb-nav--light {
    color: rgba(255, 255, 255, .78);
}

.breadcrumb-nav--light a {
    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Search
|--------------------------------------------------------------------------
*/

.company-search {
    position: relative;
    z-index: 4;

    display: grid;
    grid-template-columns:
        minmax(220px, 1.6fr)
        minmax(160px, .8fr)
        minmax(160px, .8fr)
        auto;

    gap: 8px;

    padding: 9px;

    background: rgba(255, 255, 255, .98);

    border: 1px solid
        rgba(255, 255, 255, .5);

    border-radius: var(--jo-radius-lg);

    box-shadow:
        0 20px 55px
        rgba(2, 18, 45, .25);
}

.company-search input,
.company-search select,
.company-search button {
    min-height: 52px;
    border-radius: 12px;
    font: inherit;
}

.company-search input,
.company-search select {
    width: 100%;
    padding: 0 15px;
    color: var(--jo-text);
    background: #fff;
    border: 1px solid var(--jo-border);
}

.company-search input:focus,
.company-search select:focus {
    outline: 3px solid
        rgba(20, 117, 232, .18);
    border-color:
        var(--jo-blue-600);
}

.company-search button {
    padding: 0 22px;
    color: #fff;
    font-weight: 750;
    background: var(--jo-blue-700);
    border: 0;
    cursor: pointer;
}

.company-search button:hover {
    background: var(--jo-blue-800);
}


/*
|--------------------------------------------------------------------------
| Intro
|--------------------------------------------------------------------------
*/

.company-intro {
    padding: 75px 0 30px;
    background: #fff;
}

.company-intro__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 70px;
    align-items: end;
}

.company-intro h2 {
    max-width: 640px;
    margin: 10px 0 0;
    font-size: clamp(
        1.8rem,
        4vw,
        3rem
    );
    line-height: 1.15;
    letter-spacing: -.03em;
}

.company-intro p {
    margin: 0;
    color: var(--jo-muted);
    font-size: 1.02rem;
}


/*
|--------------------------------------------------------------------------
| Statistics
|--------------------------------------------------------------------------
*/

.company-stats {
    padding: 30px 0 70px;
    background: #fff;
}

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

.stat-card {
    padding: 25px;
    background: var(--jo-blue-50);
    border: 1px solid var(--jo-border);
    border-radius: var(--jo-radius-md);
}

.stat-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 2rem;
    line-height: 1;
}

.stat-card span {
    color: var(--jo-muted);
}


/*
|--------------------------------------------------------------------------
| Companies section
|--------------------------------------------------------------------------
*/

.companies-section {
    padding: 80px 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 8px 0 4px;
    font-size: 2rem;
    line-height: 1.2;
}

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

.sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-form label {
    color: var(--jo-muted);
    font-size: .9rem;
}

.sort-form select {
    min-height: 42px;
    padding: 0 34px 0 12px;
    color: var(--jo-text);
    background: #fff;
    border: 1px solid var(--jo-border);
    border-radius: 10px;
}


/*
|--------------------------------------------------------------------------
| Company grid
|--------------------------------------------------------------------------
*/

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


/*
|--------------------------------------------------------------------------
| Company card
|--------------------------------------------------------------------------
*/

.company-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--jo-border);
    border-radius: var(--jo-radius-md);
    box-shadow: var(--jo-shadow-sm);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.company-card:hover {
    transform: translateY(-3px);
    border-color: #b8d2f5;
    box-shadow: var(--jo-shadow-md);
}

.company-card__top {
    display: flex;
    gap: 15px;
    align-items: center;
}
.company-card__logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    text-decoration: none;
}

.company-card__logo {
    display: block;
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 12px;
    background: #fff;
}

.company-card__logo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #eef5ff;
    color: #1769aa;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}




.company-card h3 {
    margin: 0 0 4px;
    font-size: 1.12rem;
    line-height: 1.3;
}

.company-card h3 a {
    text-decoration: none;
}

.company-card h3 a:hover {
    color: var(--jo-blue-700);
}

.verified {
    color: var(--jo-blue-700);
    font-size: .78rem;
    font-weight: 700;
}

.company-card__industry {
    display: inline-flex;
    align-self: flex-start;
    margin-top: 20px;
    padding: 5px 10px;
    color: var(--jo-blue-700);
    background: var(--jo-blue-50);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
}

.company-card__description {
    min-height: 76px;
    margin: 18px 0;
    color: var(--jo-muted);
}

.company-card__location {
    margin-top: auto;
    color: var(--jo-muted);
    font-size: .9rem;
}

.company-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--jo-border);
}

.company-card__footer span {
    color: var(--jo-muted);
    font-size: .84rem;
}

.company-card__footer a {
    color: var(--jo-blue-700);
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 42px;
}

.pagination a,
.pagination__current {
    min-width: 42px;
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 12px;
    border: 1px solid var(--jo-border);
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
}

.pagination a:hover,
.pagination__current {
    color: #fff;
    background: var(--jo-blue-700);
    border-color: var(--jo-blue-700);
}


/*
|--------------------------------------------------------------------------
| Discovery
|--------------------------------------------------------------------------
*/

.discovery-section {
    padding: 70px 0;
    background: #fff;
}

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

.discovery-card {
    display: block;
    padding: 28px;
    color: var(--jo-text);
    background:
        linear-gradient(
            135deg,
            #fff,
            var(--jo-blue-50)
        );
    border: 1px solid var(--jo-border);
    border-radius: var(--jo-radius-md);
    text-decoration: none;
}

.discovery-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--jo-blue-700);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.discovery-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.discovery-card small {
    color: var(--jo-muted);
}


/*
|--------------------------------------------------------------------------
| Company profile
|--------------------------------------------------------------------------
*/

.company-profile-heading {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 70px;
}

.company-profile-heading h1 {
    margin: 12px 0 5px;
    font-size: clamp(
        2rem,
        5vw,
        3.7rem
    );
    line-height: 1.05;
    letter-spacing: -.04em;
}

.company-profile-location {
    margin: 0;
    color: rgba(255, 255, 255, .82);
}

.company-profile-logo {
    flex: 0 0 auto;
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 20px;
    box-shadow:
        0 15px 35px
        rgba(0,0,0,.18);
}

.company-profile-logo img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
}

.company-profile-logo span {
    color: var(--jo-blue-700);
    font-size: 2.5rem;
    font-weight: 850;
}

.company-profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-badge {
    display: inline-flex;
    padding: 5px 10px;
    color: #fff;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 750;
}

.profile-badge--muted {
    color: #d9eaff;
}


/*
|--------------------------------------------------------------------------
| Profile content
|--------------------------------------------------------------------------
*/

.company-profile-section {
    padding: 75px 0;
}

.company-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(280px, .8fr);
    gap: 28px;
    align-items: start;
}

.company-main {
    display: grid;
    gap: 22px;
}

.content-card,
.sidebar-card {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--jo-border);
    border-radius: var(--jo-radius-md);
    box-shadow: var(--jo-shadow-sm);
}

.content-card h2,
.sidebar-card h2 {
    margin: 8px 0 18px;
    font-size: 1.45rem;
    line-height: 1.25;
}

.prose {
    color: #435168;
    line-height: 1.8;
    white-space: normal;
}

.company-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 25px;
}

.fact {
    display: grid;
    gap: 4px;
    padding: 15px 0;
    border-top: 1px solid var(--jo-border);
}

.fact:first-of-type {
    border-top: 0;
}

.fact span {
    color: var(--jo-muted);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.fact strong,
.fact a {
    color: var(--jo-text);
    text-decoration: none;
}

.fact a {
    color: var(--jo-blue-700);
}

.sidebar-card--blue {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--jo-blue-950),
            var(--jo-blue-700)
        );
    border-color: transparent;
}

.sidebar-card--blue p {
    color: rgba(255,255,255,.78);
}

.sidebar-card--blue a {
    display: inline-flex;
    padding: 10px 15px;
    color: var(--jo-blue-900);
    background: #fff;
    border-radius: 10px;
    font-weight: 750;
    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Jobs on company page
|--------------------------------------------------------------------------
*/

.job-list {
    display: grid;
    border-top: 1px solid var(--jo-border);
}

.job-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--jo-border);
}

.job-summary h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.job-summary h3 a {
    text-decoration: none;
}

.job-summary h3 a:hover {
    color: var(--jo-blue-700);
}

.job-summary__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--jo-muted);
    font-size: .82rem;
}

.job-summary__meta span {
    padding-right: 8px;
    border-right: 1px solid var(--jo-border);
}

.job-summary__meta span:last-child {
    border-right: 0;
}

.job-summary__link {
    flex: 0 0 auto;
    color: var(--jo-blue-700);
    font-weight: 750;
    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Social
|--------------------------------------------------------------------------
*/

.social-list {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-list a {
    color: var(--jo-blue-700);
    text-decoration: none;
    font-weight: 650;
}


/*
|--------------------------------------------------------------------------
| Empty state
|--------------------------------------------------------------------------
*/

.empty-state {
    padding: 60px 25px;
    text-align: center;
    background: #fff;
    border: 1px dashed #bdc9d8;
    border-radius: var(--jo-radius-md);
}

.empty-state h2,
.empty-state h3 {
    margin-top: 0;
}

.empty-state p {
    max-width: 600px;
    margin: 0 auto 20px;
    color: var(--jo-muted);
}

.empty-state a {
    display: inline-flex;
    padding: 11px 17px;
    color: #fff;
    background: var(--jo-blue-700);
    border-radius: 10px;
    font-weight: 750;
    text-decoration: none;
}

.empty-state--small {
    padding: 35px 20px;
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 1050px) {

    .company-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .company-layout {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .company-sidebar {
        position: static;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 820px) {

    .company-search {
        grid-template-columns:
            1fr 1fr;
    }

    .company-search input {
        grid-column: 1 / -1;
    }

    .company-search button {
        grid-column: 1 / -1;
    }

    .company-intro__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 620px) {

    .container {
        width: min(
            calc(100% - 22px),
            var(--jo-container)
        );
    }

    .company-hero {
        min-height: 560px;
    }

    .company-hero__copy {
        margin-top: 50px;
    }

    .company-hero__copy h1 {
        font-size: 2.3rem;
    }

    .company-search {
        grid-template-columns: 1fr;
    }

    .company-search input,
    .company-search button {
        grid-column: auto;
    }

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

    .company-card__description {
        min-height: 0;
    }

    .discovery-grid,
    .company-sidebar {
        grid-template-columns: 1fr;
    }

    .company-profile-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-top: 50px;
    }

    .company-profile-heading h1 {
        font-size: 2.35rem;
    }

    .company-profile-logo {
        width: 88px;
        height: 88px;
    }

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

    .job-summary__link {
        width: 100%;
        padding-top: 8px;
    }

}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

}