/* Careers — open positions list + job detail */

.careers-main {
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(60px, 10vh, 120px) 24px clamp(80px, 12vh, 140px);
}

/* ---------- list ---------- */

.careers-hero {
    border-bottom: 1px solid var(--line);
    padding-bottom: 48px;
    margin-bottom: 8px;
}
.careers-hero .section-title {
    margin-top: 12px;
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    letter-spacing: -0.03em;
}
.careers-lead {
    margin: 24px 0 0;
    max-width: 620px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.65;
}

.careers-empty {
    padding: 48px 0;
    color: var(--mute);
}
.careers-empty a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.job-card {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .25s cubic-bezier(.2,.7,.2,1);
}
.job-card:hover { padding-left: 12px; }
.job-card-title {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    letter-spacing: -0.02em;
}
.job-card:hover .job-card-title { color: var(--red); }
.job-card-summary {
    margin: 12px 0 0;
    max-width: 480px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.job-card-cta {
    flex: none;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
    white-space: nowrap;
}
.job-card:hover .job-card-cta { color: var(--ink); }
.job-card-cta .arrow { display: inline-block; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.job-card:hover .job-card-cta .arrow { transform: translateX(3px); }

/* ---------- shared meta row ---------- */

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
}
.job-meta li {
    padding: 5px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
}

/* ---------- detail ---------- */

.job-hero {
    border-bottom: 1px solid var(--line);
    padding-bottom: 48px;
    margin-bottom: 48px;
}
.job-hero .section-title {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.03em;
}
.job-back {
    display: inline-block;
    margin-bottom: 28px;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}
.job-back:hover { color: var(--ink); }
.job-back .arrow-back { display: inline-block; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.job-back:hover .arrow-back { transform: translateX(-3px); }
.job-note {
    margin: 16px 0 0;
    color: var(--red);
    font-size: 14px;
}

.job-body {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.7;
}
.job-body h2 {
    margin: 56px 0 16px;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.015em;
    color: var(--ink);
}
.job-body p { margin: 0 0 18px; max-width: 720px; }
.job-body strong { color: var(--ink); font-weight: 500; }
.job-lead { font-size: 18px; line-height: 1.65; }

.job-list {
    margin: 0 0 18px;
    max-width: 720px;
    counter-reset: joblist;
}
.job-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
}
.job-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 12px;
    width: 8px;
    height: 1px;
    background: var(--red);
}
.job-list-num li { counter-increment: joblist; }
.job-list-num li::before {
    content: counter(joblist) '.';
    top: 0;
    left: 2px;
    width: auto;
    height: auto;
    background: none;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    color: var(--red);
}

.job-apply {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.job-apply-label {
    margin: 0 0 16px;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mute);
}

@media (max-width: 640px) {
    .job-card { flex-direction: column; align-items: flex-start; gap: 20px; }
}
