/* Candidate landing page. */
.cj {
    --cj-cream: #FAF6EF;
    --cj-sand: #F2ECE2;
    --cj-line: #E8DFD1;
    --cj-ink: #1B2433;
    --cj-muted: #5B6472;
    --cj-amber: #FFB300;
    --cj-amber-dark: #8A5A00;
    --cj-radius: 20px;
    --cj-shadow: 0 18px 40px -18px rgba(27, 36, 51, 0.28);
    font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--cj-ink);
}

body:has(.cj) { overflow-x: clip; }

.cj-bleed {
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
}

.cj-eyebrow {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cj-muted);
    margin-bottom: .9rem;
}

.cj-h1 {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.035em;
    margin-bottom: 1.4rem;
}

.cj-accent {
    color: var(--cj-amber-dark);
    background: linear-gradient(transparent 72%);
}

.cj-h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
}

.cj-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--cj-muted);
    max-width: 34rem;
    margin-bottom: 2rem;
}

.cj-sub { color: var(--cj-muted); margin: 0; }

.cj-btn {
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-size: .9rem;
    padding: .9rem 1.6rem;
    border-radius: 12px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.cj-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px -10px rgba(255, 179, 0, .9);
}

.cj-link {
    color: var(--cj-amber-dark);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cj-link:hover { color: var(--cj-ink); }

/* Hero */
.cj-hero {
    background: var(--cj-cream);
    padding-block: clamp(3rem, 7vw, 6rem);
}

.cj-search {
    background: #fff;
    border: 1px solid var(--cj-line);
    border-radius: var(--cj-radius);
    padding: .9rem;
    box-shadow: var(--cj-shadow);
    max-width: 38rem;
}

.cj-search-fields {
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 1fr;
    gap: .6rem;
    margin-bottom: .8rem;
}

.cj-field {
    display: flex;
    flex-direction: column;
    background: var(--cj-cream);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: .6rem .8rem;
    margin: 0;
    min-width: 0;
    cursor: text;
    transition: border-color .15s ease, background .15s ease;
}

.cj-field:focus-within {
    border-color: var(--cj-amber);
    background: #fff;
}

.cj-field span {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cj-muted);
}

.cj-field input,
.cj-field select {
    border: 0;
    background: transparent;
    padding: .2rem 0 0;
    font: inherit;
    color: var(--cj-ink);
    outline: none;
    min-width: 0;
}

.cj-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin-top: 1.4rem;
    font-size: .92rem;
    color: var(--cj-muted);
}

.cj-chip {
    border: 1px solid var(--cj-line);
    background: #fff;
    border-radius: 999px;
    padding: .35rem .9rem;
    color: var(--cj-ink);
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}

.cj-chip:hover {
    border-color: var(--cj-amber);
    background: #FFF6DE;
    color: var(--cj-ink);
}

.cj-ticks {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.6rem;
    list-style: none;
    padding: 0;
    margin: 1.6rem 0 0;
    font-weight: 500;
}

.cj-ticks i {
    color: var(--cj-ink);
    margin-right: .45rem;
}

/* Hero visual */
.cj-visual {
    position: relative;
    margin: 1.5rem 0 2rem;
}

.cj-visual::before {
    content: "";
    position: absolute;
    inset: -18px -18px 18px 18px;
    border-radius: 28px;
    background: repeating-linear-gradient(-45deg, #F3E6CB 0 14px, #FAF1DF 14px 28px);
    z-index: 0;
}

.cj-visual-img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: var(--cj-shadow);
}

.cj-float {
    position: absolute;
    z-index: 2;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    box-shadow: 0 20px 40px -16px rgba(27, 36, 51, .4);
    animation: cj-bob 6s ease-in-out infinite;
}

.cj-float-match {
    top: 6%;
    right: 1%;
    background: #fff;
    max-width: 19rem;
}

.cj-float-profile {
    bottom: 7%;
    left: 1%;
    background: var(--cj-ink);
    color: #fff;
    max-width: 18rem;
    animation-delay: -3s;
}

.cj-float-label {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cj-amber-dark);
    margin-bottom: .3rem;
}

.cj-float-profile .cj-float-label { color: var(--cj-amber); }

.cj-float-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cj-ink);
    text-decoration: none;
}

.cj-float-meta {
    font-size: .88rem;
    color: var(--cj-muted);
    margin-top: .15rem;
}

@keyframes cj-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    .cj-float { animation: none; }
    .cj-btn, .cj-job, .cj-type, .cj-filter { transition: none; }
    .cj-job.is-entering { animation: none; }
}

.cj-strip {
    background: var(--cj-sand);
    border-block: 1px solid var(--cj-line);
    padding-block: 2rem;
}

.cj-prop {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cj-prop-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E9DFCF;
    font-size: 1.2rem;
}

.cj-prop-title {
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: .2rem 0 .3rem;
}

.cj-prop p { color: var(--cj-muted); margin: 0; }

.cj-section { padding-block: clamp(3rem, 6vw, 5rem); }

.cj-section-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Latest vacancies */
.cj-eyebrow-accent { color: var(--cj-amber-dark); }

.cj-link-caps {
    font-size: .88rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cj-link-caps i { transition: transform .15s ease; }
.cj-link-caps:hover i { transform: translateX(3px); }

.cj-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 2rem;
}

.cj-filter {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1.2rem;
    border: 1.5px solid var(--cj-ink);
    border-radius: 999px;
    background: #fff;
    color: var(--cj-ink);
    font: inherit;
    font-weight: 500;
    transition: background .15s ease, color .15s ease, transform .15s ease;
}

.cj-filter:hover { transform: translateY(-1px); }

.cj-filter.is-active {
    background: var(--cj-ink);
    color: #fff;
    font-weight: 600;
}

.cj-filter:focus-visible {
    outline: none;
    box-shadow: 0 0 0 .2rem rgba(255, 179, 0, .5);
}

.cj-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 .35rem;
    border-radius: 999px;
    background: var(--cj-sand);
    color: var(--cj-ink);
    font-size: .72rem;
    font-weight: 700;
}

.cj-filter.is-active .cj-filter-count {
    background: var(--cj-amber);
    color: var(--cj-ink);
}

.cj-jobs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.cj-job {
    position: relative;
    display: grid;
    grid-template-columns: 136px minmax(0, 1fr);
    gap: 1.4rem;
    padding: 1.4rem;
    background: #fff;
    border: 1px solid var(--cj-line);
    border-radius: var(--cj-radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cj-job[hidden] { display: none; }

.cj-job:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 179, 0, .65);
    box-shadow: var(--cj-shadow);
}

.cj-job.is-entering {
    animation: cj-card-in .45s cubic-bezier(.2, .7, .3, 1) both;
    animation-delay: calc(var(--i, 0) * 55ms);
}

@keyframes cj-card-in {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: none; }
}

.cj-job-thumb {
    --tone-a: #F3E6CB;
    --tone-b: #FAF1DF;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    align-self: start;
    border-radius: 16px;
    background: repeating-linear-gradient(-45deg, var(--tone-a) 0 12px, var(--tone-b) 12px 24px);
    overflow: hidden;
}

.cj-tone-sky { --tone-a: #DCE9F5; --tone-b: #EEF5FB; }
.cj-tone-rose { --tone-a: #F6DEDC; --tone-b: #FBEFEE; }
.cj-tone-sage { --tone-a: #DDEBDD; --tone-b: #EEF6EE; }
.cj-tone-slate { --tone-a: #E1E3E8; --tone-b: #F0F1F4; }

.cj-job-body { min-width: 0; }

.cj-job-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .8rem;
}

.cj-job-title {
    margin: .3rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -.015em;
    line-height: 1.2;
}

.cj-job-title a {
    color: var(--cj-ink);
    text-decoration: none;
}

.cj-job-title a:hover { color: var(--cj-amber-dark); }

.cj-job-apply {
    flex-shrink: 0;
    padding: .7rem 1.4rem;
    border-radius: 10px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.cj-job-meta {
    display: grid;
    gap: .4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--cj-muted);
}

.cj-job-meta i {
    margin-right: .55rem;
    color: var(--cj-ink);
}

.cj-job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cj-job-tags li {
    padding: .3rem .75rem;
    border-radius: 8px;
    background: var(--cj-sand);
    color: #4A5260;
    font-size: .85rem;
}

.cj-job-tags .cj-job-tag-urgent {
    background: #FFF1D6;
    color: var(--cj-amber-dark);
    font-weight: 600;
}

.cj-job-tag-urgent i { margin-right: .3rem; }

.cj-jobs-none {
    padding: 2.5rem 1rem;
    border: 1px dashed var(--cj-line);
    border-radius: var(--cj-radius);
    text-align: center;
    color: var(--cj-muted);
}

.cj-jobs-none > i {
    display: block;
    margin-bottom: .5rem;
    font-size: 1.6rem;
    color: var(--cj-amber-dark);
}

.cj-jobs-none p { margin: 0; }
.cj-jobs-none a { color: var(--cj-amber-dark); font-weight: 600; }

@media (max-width: 991.98px) {
    .cj-jobs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
    .cj-job {
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 1rem;
        padding: 1.1rem;
    }

    .cj-job-thumb { border-radius: 12px; }
    .cj-job-head { flex-direction: column; gap: .6rem; }
    .cj-job-title { font-size: 1.15rem; margin-top: 0; }
    .cj-job-apply { padding: .5rem 1rem; }
}

.cj-empty {
    text-align: center;
    background: var(--cj-cream);
    border: 1px dashed var(--cj-line);
    border-radius: var(--cj-radius);
    padding: 3rem 1.5rem;
}

.cj-empty > i {
    font-size: 2.2rem;
    color: var(--cj-amber-dark);
}

.cj-empty h3 { font-weight: 700; margin: .8rem 0 .4rem; }
.cj-empty p { color: var(--cj-muted); max-width: 30rem; margin: 0 auto 1.5rem; }

.cj-how {
    isolation: isolate;
    background: #FBF1E1;
    padding-block: clamp(3.5rem, 7vw, 6rem);
}

.cj-how-title {
    font-size: clamp(2rem, 4vw, 2.9rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;
    max-width: 34rem;
    margin-bottom: 1rem;
}

.cj-how-lead {
    max-width: 31rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--cj-muted);
    margin-bottom: 2rem;
}

.cj-how-steps {
    display: grid;
    gap: 1.4rem;
    list-style: none;
    padding: 0;
    margin: 0 0 2.2rem;
    max-width: 33rem;
}

.cj-how-steps li {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
}

.cj-how-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cj-amber-dark);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 0 0 6px rgba(138, 90, 0, .1);
}

.cj-how-steps h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: .3rem 0 .25rem;
}

.cj-how-steps p { color: var(--cj-muted); margin: 0; }

.cj-profile {
    position: relative;
    max-width: 35rem;
    margin-inline: auto;
    padding: 1.6rem 1.75rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 40px 80px -36px rgba(138, 90, 0, .45), 0 2px 6px rgba(27, 36, 51, .04);
}

.cj-profile::before {
    content: "";
    position: absolute;
    inset: 12% -6% -6% 12%;
    z-index: -1;
    border-radius: 32px;
    background: radial-gradient(circle at 70% 60%, rgba(255, 179, 0, .35), transparent 65%);
    filter: blur(20px);
}

.cj-profile-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.4rem;
}

.cj-profile-badge {
    padding: .3rem .8rem;
    border-radius: 999px;
    background: #FBEBCB;
    color: var(--cj-amber-dark);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cj-profile-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .35rem;
    font-size: .88rem;
    color: var(--cj-muted);
}

.cj-profile-bar {
    width: 8.5rem;
    height: 4px;
    border-radius: 999px;
    background: var(--cj-sand);
    overflow: hidden;
}

.cj-profile-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--cj-amber), var(--cj-amber-dark));
}

.cj-profile-person {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.cj-profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--cj-ink);
    color: var(--cj-amber);
    font-size: 1.35rem;
    font-weight: 700;
}

.cj-profile-name {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.cj-profile-meta {
    font-size: .9rem;
    color: var(--cj-muted);
}

.cj-profile-label {
    margin-bottom: .65rem;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #4A5260;
}

.cj-profile-tags { margin-bottom: 1.5rem; }

.cj-avail {
    display: grid;
    gap: .4rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--cj-line);
}

.cj-avail-row {
    display: grid;
    grid-template-columns: 4.2rem repeat(7, minmax(0, 1fr));
    gap: .4rem;
    align-items: center;
}

.cj-avail-day {
    text-align: center;
    font-size: .78rem;
    font-weight: 500;
    color: #4A5260;
}

.cj-avail-label {
    font-size: .8rem;
    color: var(--cj-muted);
}

.cj-avail-cell {
    height: 22px;
    border-radius: 6px;
    background: #EFE8DD;
}

.cj-avail-cell.is-on { background: var(--cj-amber); }

.cj-avail.will-animate .cj-avail-cell.is-on {
    background: #EFE8DD;
    transition: background-color .35s ease;
    transition-delay: calc(var(--c) * 30ms);
}

.cj-avail.will-animate.is-visible .cj-avail-cell.is-on { background: var(--cj-amber); }

.cj-profile-checks {
    display: grid;
    gap: .9rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cj-profile-checks li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 500;
}

.cj-profile-ok {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #2F7A45;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .cj-profile { padding: 1.25rem 1.1rem; }
    .cj-avail-row { grid-template-columns: 3.4rem repeat(7, minmax(0, 1fr)); gap: .25rem; }
    .cj-avail-day, .cj-avail-label { font-size: .7rem; }
    .cj-avail-cell { height: 18px; border-radius: 4px; }
    .cj-profile-name { font-size: 1.2rem; }
    .cj-profile-avatar { width: 52px; height: 52px; font-size: 1.1rem; }
}

/* Popular job types */
.cj-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cj-type {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid var(--cj-line);
    border-radius: 16px;
    color: var(--cj-ink);
    text-decoration: none;
    font-weight: 600;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.cj-type > i:first-child {
    font-size: 1.2rem;
    color: var(--cj-amber-dark);
}

.cj-type-arrow {
    margin-left: auto;
    color: var(--cj-muted);
    transition: transform .15s ease;
}

.cj-type:hover {
    background: #FFF6DE;
    border-color: var(--cj-amber);
    color: var(--cj-ink);
}

.cj-type:hover .cj-type-arrow { transform: translate(2px, -2px); }

/* FAQ */
.cj-faq .accordion-item {
    border: 1px solid var(--cj-line);
    border-radius: 14px !important;
    overflow: hidden;
    margin-bottom: .75rem;
}

.cj-faq .accordion-button {
    font-family: inherit;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--cj-ink);
    padding: 1.1rem 1.3rem;
}

.cj-faq .accordion-button:not(.collapsed) {
    background: var(--cj-cream);
    box-shadow: none;
}

.cj-faq .accordion-button:focus {
    box-shadow: 0 0 0 .2rem rgba(255, 179, 0, .35);
}

.cj-faq .accordion-body { color: var(--cj-muted); }

/* Final CTA */
.cj-final {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--cj-ink);
    background-image: radial-gradient(circle at 85% 20%, rgba(255, 179, 0, .22), transparent 45%);
    color: #fff;
    border-radius: 28px;
    padding: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 3rem;
}

.cj-final p { color: rgba(255, 255, 255, .75); margin: 0; }

.cj-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.cj-btn-ghost {
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
}

.cj-btn-ghost:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .cj-types { grid-template-columns: repeat(2, 1fr); }
    .cj-visual { max-width: 34rem; margin-inline: auto; }
    .cj-float-match { right: 2%; }
    .cj-float-profile { left: 2%; }
}

@media (max-width: 767.98px) {
    .cj-search-fields { grid-template-columns: 1fr; }
    .cj-search .cj-btn { width: 100%; }
    .cj-visual::before { inset: -10px -10px 10px 10px; }
}

@media (max-width: 575.98px) {
    .cj-types { grid-template-columns: 1fr; }
    .cj-float { padding: .75rem .9rem; max-width: 72%; }
    .cj-float-title { font-size: 1rem; }
    .cj-float-meta { font-size: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
    .cj-job, .cj-filter, .cj-link-caps i { transition: none; }
    .cj-job.is-entering { animation: none; }
    .cj-job:hover { transform: none; }
    .cj-avail.will-animate .cj-avail-cell.is-on { transition: none; }
}
