/* ═══════════════════════════════════════════════════════
   CAREERS PAGE — careers.css
   Namespace: car-*
   ═══════════════════════════════════════════════════════ */

/* ── HERO ─────────────────────────────────────────── */
.car-hero {
    background: var(--dark);
    background-image: url('https://pub-c5637df01e5a477babb3913b47809993.r2.dev/careers.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
}
.car-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,36,32,0.65) 0%, rgba(26,36,32,0.85) 100%);
    z-index: 0;
}
.car-hero > * { position: relative; z-index: 1; }

.car-hero-glow {
    position: absolute;
    width: 700px;
    height: 600px;
    top: -15%;
    right: -10%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(49,184,152,.07) 0%, transparent 60%);
    pointer-events: none;
}

.car-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 200px 48px 72px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.car-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: var(--type-small);
    font-weight: 400;
    color: rgba(255,255,255,0.60);
    margin-bottom: 28px;
}
.car-breadcrumb a {
    color: rgba(255,255,255,0.60);
    text-decoration: none;
    transition: color .2s;
}
.car-breadcrumb a:hover { color: var(--teal-light); }
.car-breadcrumb-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
}

.car-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: var(--type-caption);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 16px;
}
.car-eyebrow::before {
    content: '';
    width: 26px;
    height: 1.5px;
    background: var(--teal-light);
    opacity: 0.6;
}

.car-h1 {
    font-family: var(--font-serif);
    font-size: var(--type-display);
    font-weight: 400;
    line-height: 1.06;
    letter-spacing: -0.01em;
    color: white;
    margin-bottom: 20px;
}
.car-h1 em {
    color: var(--teal-light);
    font-style: italic;
}

.car-sub {
    font-size: var(--type-body);
    font-weight: 400;
    color: white;
    line-height: var(--lh-body);
    max-width: 540px;
    margin-bottom: 32px;
}

.car-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.car-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 100px;
    padding: 13px 28px;
    font-family: var(--font-sans);
    font-size: var(--type-small);
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, transform .15s, border-color .2s;
}

.car-btn-primary {
    background: var(--teal);
    color: rgba(255,255,255,0.95);
    box-shadow: 0 5px 18px rgba(49,184,152,.25);
}
.car-btn-primary:hover {
    background: var(--teal-dim);
    transform: translateY(-1px);
}

.car-btn-ghost {
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1.5px solid rgba(255,255,255,0.2);
}
.car-btn-ghost:hover {
    border-color: rgba(255,255,255,0.4);
    color: white;
}

.car-hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.car-hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.car-stat-value {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--teal-light);
}

.car-stat-label {
    font-size: var(--type-caption);
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.65);
}

/* ── SECTIONS ─────────────────────────────────────── */
.car-section {
    padding: 96px 0;
}
.car-section-sand { background: var(--sand); }
.car-section-white { background: var(--off-white); }
.car-section-forest {
    background: var(--dark);
    color: white;
}

.car-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.car-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.car-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: var(--type-caption);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
}
.car-tag-light { color: var(--teal-light); }

.car-tag-line {
    width: 26px;
    height: 1.5px;
    background: var(--teal);
    opacity: 0.5;
}
.car-tag-line-light {
    background: var(--teal-light);
    opacity: 0.4;
}

.car-h2 {
    font-family: var(--font-serif);
    font-size: var(--type-h1);
    font-weight: 400;
    line-height: 1.12;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.car-h2 em { color: var(--teal); font-style: italic; }
.car-h2-light { color: white; }
.car-h2-light em { color: var(--teal-light); }

.car-section-sub {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--text-medium);
}
.car-sub-light { color: white; }

/* ── CULTURE CLOUD ────────────────────────────────── */
.car-culture-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 36px;
}

.car-word {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-weight: 400;
    color: var(--text-dark);
    background: var(--card-bg);
    border: 1px solid rgba(26,36,32,0.07);
    box-shadow: 0 1px 4px rgba(26,36,32,0.04);
    transition: transform .2s, box-shadow .2s;
}
.car-word:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26,36,32,0.08);
}
.car-word-lg {
    font-size: var(--type-body-lg);
    font-weight: 500;
    color: var(--forest);
    padding: 10px 26px;
}
.car-word-md {
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--teal);
}
.car-word-sm {
    font-size: var(--type-small);
    color: var(--text-medium);
}

.car-award-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: var(--type-body);
    font-weight: 500;
    color: var(--forest);
    margin: 0 auto 40px;
    padding: 12px 24px;
    background: rgba(49,184,152,0.08);
    border-radius: 100px;
    width: fit-content;
}
.car-award-badge svg { color: var(--teal); }

.car-about {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.car-about p {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--text-medium);
    margin-bottom: 16px;
}
.car-about p:last-child { margin-bottom: 0; }

/* ── PERKS GRID ───────────────────────────────────── */
.car-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.car-perk {
    background: var(--card-bg);
    border: 1px solid rgba(26,36,32,0.07);
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.car-perk:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.car-perk-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(49,184,152,0.08);
    color: var(--teal);
    margin-bottom: 20px;
}

.car-perk h3 {
    font-family: var(--font-serif);
    font-size: var(--type-h3);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.car-perk p {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--text-medium);
}

/* ── ROLES GRID ───────────────────────────────────── */
.car-roles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.car-role {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 36px 32px;
    transition: background .25s, border-color .25s;
}
.car-role:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.12);
}

.car-role-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(49,184,152,0.12);
    color: var(--teal-light);
    margin-bottom: 20px;
}

.car-role h3 {
    font-family: var(--font-serif);
    font-size: var(--type-h3);
    font-weight: 500;
    color: white;
    margin-bottom: 4px;
}

.car-role-subtitle {
    font-size: var(--type-small);
    font-weight: 400;
    color: var(--teal-light);
    margin-bottom: 18px;
}

.car-role-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.car-role-list li {
    position: relative;
    padding-left: 20px;
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: white;
    margin-bottom: 8px;
}
.car-role-list li:last-child { margin-bottom: 0; }
.car-role-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.6;
}

/* ── INDUSTRIES ───────────────────────────────────── */
.car-industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.car-industry {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--card-bg);
    border: 1px solid rgba(26,36,32,0.07);
    border-radius: 14px;
    font-size: var(--type-body);
    font-weight: 400;
    color: var(--text-dark);
    box-shadow: 0 1px 4px rgba(26,36,32,0.04);
    transition: transform .2s;
}
.car-industry:hover { transform: translateY(-2px); }
.car-industry svg { color: var(--teal); flex-shrink: 0; }

/* ── LEADERS ──────────────────────────────────────── */
.car-leaders-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.car-leader {
    text-align: center;
}

.car-leader-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}
.car-leader-avatar span {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
}

.car-leader-name {
    font-family: var(--font-serif);
    font-size: var(--type-body-lg);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.car-leader-title {
    font-size: var(--type-small);
    font-weight: 400;
    color: var(--text-medium);
}

/* ── COMMUNITY ────────────────────────────────────── */
.car-community-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.car-comm-card {
    background: var(--card-bg);
    border: 1px solid rgba(26,36,32,0.07);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s;
}
.car-comm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.car-comm-card svg {
    color: var(--teal);
    margin-bottom: 16px;
}

.car-comm-card h3 {
    font-family: var(--font-serif);
    font-size: var(--type-body-lg);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.car-comm-card p {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--text-medium);
}

/* ── CTA BAND ─────────────────────────────────────── */
.car-cta-outer {
    padding: 0 48px 96px;
    background: var(--sand);
}

.car-cta-band {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--forest) 0%, var(--dark) 100%);
    border-radius: 28px;
    padding: 72px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.car-cta-left { flex: 1; }

.car-cta-left h2 {
    font-family: var(--font-serif);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.12;
    color: white;
    margin-bottom: 14px;
}
.car-cta-left h2 em { color: var(--teal-light); font-style: italic; }

.car-cta-left p {
    font-size: var(--type-body);
    font-weight: 400;
    line-height: var(--lh-body);
    color: white;
    max-width: 420px;
}

.car-cta-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.car-cta-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--forest);
    border-radius: 100px;
    padding: 15px 32px;
    font-family: var(--font-sans);
    font-size: var(--type-body);
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(26,36,32,0.15);
    transition: transform .15s, box-shadow .2s;
    white-space: nowrap;
}
.car-cta-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26,36,32,0.2);
}

.car-cta-btn-ghost {
    font-size: var(--type-small);
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: color .2s;
}
.car-cta-btn-ghost:hover { color: white; }

/* ── REVEAL ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .28s; }

/* ── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 1024px) {
    .car-perks-grid { grid-template-columns: repeat(2, 1fr); }
    .car-community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .car-hero-inner { padding: 140px 20px 56px; }
    .car-wrap { padding: 0 20px; }
    .car-section { padding: 64px 0; }

    .car-hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .car-hero-stat {
        flex-direction: row;
        align-items: baseline;
        gap: 10px;
    }

    .car-perks-grid { grid-template-columns: 1fr; }
    .car-roles-grid { grid-template-columns: 1fr; }
    .car-leaders-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .car-community-grid { grid-template-columns: 1fr; }

    .car-cta-outer { padding: 0 20px 64px; }
    .car-cta-band {
        flex-direction: column;
        padding: 48px 28px;
        text-align: center;
    }
    .car-cta-left p { max-width: 100%; }
}

@media (max-width: 480px) {
    .car-hero-inner { padding: 120px 20px 48px; }
    .car-wrap { padding: 0 20px; }

    .car-hero-ctas { flex-direction: column; }
    .car-btn { justify-content: center; }

    .car-leaders-grid {
        grid-template-columns: 1fr;
        max-width: 260px;
    }

    .car-industries { flex-direction: column; }
    .car-industry { justify-content: center; }

    .car-culture-cloud { gap: 8px; }
    .car-word { padding: 6px 14px; }
    .car-word-lg { padding: 8px 20px; }
}
