/* ============================================================
   Careers.

   A list of links, not a job board. Every role hands the visitor
   to the HR platform, which already owns the description and the
   application — so this page's one job is to make the roles feel
   worth clicking.

   No "why work here" rail: the owner's call. The roles ARE the
   page.
   ============================================================ */

.careers-lead {
    max-width: 40rem;
    margin: 1.25rem auto 0;
    color: rgba(255, 255, 255, .78);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Same shape as the Insights counter, warm dot instead of cool:
   hiring is the one place on the site the orange leads. */
.careers-count {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.9rem;
    padding: .45rem 1.05rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .9);
}

.careers-count .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-orange);
    box-shadow: 0 0 10px rgba(251, 133, 0, .8);
}

.careers-list { max-width: 860px; }

.job {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.75rem 1.9rem 1.75rem 2.1rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1.05rem;
    text-decoration: none;
    overflow: hidden;
    transition: transform .25s var(--ease-out-soft), box-shadow .25s var(--ease-out-soft), border-color .25s;
}

/* The accent bar is what stops a row reading as a plain white box. */
.job::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand-accent), var(--brand-primary));
}

.job:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.job:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 3px; }

.job .meat { flex: 1 1 auto; min-width: 0; }

.job-title {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.22rem;
    color: var(--text-main);
    margin-bottom: .5rem;
    transition: color .25s;
}

.job:hover .job-title { color: var(--brand-primary); }

.job-facts {
    display: flex;
    align-items: center;
    gap: .6rem;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-light);
}

.job-facts .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--border); flex: none; }

/* A real button, not a text link — it fills on card hover so the
   whole row reads as one clickable thing. */
.job-apply {
    flex: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .62rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-primary);
    font-size: .86rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all .25s;
}

.job:hover .job-apply { background: var(--brand-primary); color: var(--white); }
.job-apply .ar { transition: transform .25s var(--ease-out-soft); }
.job:hover .job-apply .ar { transform: translateX(3px); }

.careers-note {
    margin: 1.6rem 0 0;
    font-family: var(--font-mono);
    font-size: .7rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--text-light);
    text-align: center;
}

/* ---------- nothing open ---------- */
.careers-empty {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 3.2rem 2.5rem;
}

/* The two-colour dot is the AI/HI mark at its smallest. */
.careers-empty .mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 auto 1.4rem;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-orange));
    box-shadow: 0 0 24px rgba(0, 180, 216, .45);
}

.careers-empty h2 { font-size: 1.45rem; margin: 0 0 .8rem; }

.careers-empty p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 1.8rem;
    font-size: .95rem;
}

.careers-empty .row { display: flex; gap: 1rem; justify-content: center; align-items: center; flex-wrap: wrap; }

.careers-empty .ghost {
    color: var(--text-muted);
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    border-bottom: 2px solid var(--border);
    padding-bottom: .2rem;
}

.careers-empty .ghost:hover { color: var(--brand-primary); border-color: var(--brand-medium); }

@media (max-width: 640px) {
    .job { flex-wrap: wrap; gap: 1rem; padding: 1.4rem 1.3rem 1.4rem 1.5rem; }
    .job-apply { width: 100%; justify-content: center; }
}
