/* ============================================================
   JOIN-OUR-TEAM.CSS — Therapy Moms
   Page-specific styles only. Global/footer/nav in global.css.
   ============================================================ */

:root {
    --brand-purple:         #512974;
    --brand-purple-dark:    #3d1d57;
    --brand-purple-mid:     #6b3a8a;
    --brand-pink:           #dd89af;
    --brand-pink-light:     rgba(221, 137, 175, 0.15);
    --brand-pink-medium:    rgba(221, 137, 175, 0.35);

    --bg-white:             #ffffff;
    --bg-subtle:            #faf8fd;
    --bg-light-purple:      #f4f0fa;

    --text-dark:            #1a0c2e;
    --text-body:            #4a3860;
    --text-muted:           #7a6b8a;

    --divider:              rgba(81, 41, 116, 0.1);
    --divider-strong:       rgba(81, 41, 116, 0.2);

    --font-serif:           Georgia, 'Times New Roman', serif;
    --font-sans:            'Segoe UI', system-ui, -apple-system, sans-serif;

    --card-radius:          12px;
    --content-max-w:        1100px;
    --page-pad-h:           clamp(1.5rem, 4vw, 3rem);
}

/* ── WRAP ───────────────────────────────────────────── */
.wrap {
    max-width: var(--content-max-w);
    margin: 0 auto;
    padding: 0 var(--page-pad-h);
}

/* ── Shared section tokens ──────────────────────────── */
.section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-pink);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-sub {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 640px;
}

.section-head {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-head .section-sub {
    margin: 0 auto;
}

hr.section-rule {
    border: none;
    border-top: 1px solid var(--divider);
    margin: 0;
}

/* ── ANIMATIONS ─────────────────────────────────────── */
.reveal {
    opacity: 0;
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.from-up { transform: translateY(28px); }

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-group .reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.15s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.25s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.35s; }
.reveal-group .reveal.is-visible   { transition-delay: 0s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal.from-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── PAGE HERO ──────────────────────────────────────── */
.about-hero {
    background: var(--brand-purple-dark);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221,137,175,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.about-hero .wrap { position: relative; }

.about-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    color: #ffffff;
    line-height: 1.18;
    font-weight: 700;
    max-width: 720px;
    margin-bottom: 1.5rem;
    animation: fade-up 0.75s ease both 0.25s;
}

.about-hero-rule {
    width: 48px;
    height: 3px;
    background: var(--brand-pink);
    border-radius: 2px;
    animation: fade-up 0.75s ease both 0.35s;
}

/* ── JOIN INTRO ─────────────────────────────────────── */
.join-the-team-intro {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--bg-white);
}

.about-intro-text {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.about-intro-text p {
    font-size: 1.05rem;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 1rem;
}

.about-intro-text p:last-child { margin-bottom: 0; }

.about-intro-text a[href^="mailto"] {
    color: var(--brand-purple);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid var(--brand-pink);
    transition: color 0.18s, border-color 0.18s;
}

.about-intro-text a[href^="mailto"]:hover {
    color: var(--brand-pink);
    border-color: var(--brand-purple);
}

/* ── Stats row (intro) ──────────────────────────────── */
.join-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.join-stat {
    background: var(--bg-light-purple);
    border: 1px solid var(--divider);
    border-radius: var(--card-radius);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.join-stat:hover {
    box-shadow: 0 6px 24px rgba(81,41,116,0.09);
    transform: translateY(-3px);
}

.join-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-pink-light);
    border: 1px solid var(--brand-pink-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.join-stat-text strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 3px;
}

.join-stat-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ── MAKE A DIFFERENCE ──────────────────────────────── */
.join-difference {
    background: var(--bg-subtle);
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.difference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.difference-card {
    background: var(--bg-white);
    border: 1px solid var(--divider-strong);
    border-radius: var(--card-radius);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.difference-card:hover {
    box-shadow: 0 10px 36px rgba(81,41,116,0.11);
    transform: translateY(-3px);
    border-color: var(--brand-pink);
}

.difference-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-pink);
    border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.difference-card h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.85rem;
    padding-top: 0.5rem;
}

.difference-card p {
    font-size: 0.94rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* ── PULL QUOTE ─────────────────────────────────────── */
.about-pullquote {
    background: var(--brand-purple);
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    position: relative;
    overflow: hidden;
}

.about-pullquote::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

.about-pullquote::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
}

.about-pullquote blockquote {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    padding: 0 var(--page-pad-h);
    position: relative;
}

.about-pullquote blockquote p {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    color: #ffffff;
    line-height: 1.45;
    font-style: italic;
    font-weight: 400;
}

/* ── GET INVOLVED ───────────────────────────────────── */
.join-involved {
    background: var(--bg-white);
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.involved-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.involved-card {
    background: var(--bg-light-purple);
    border: 1px solid var(--divider);
    border-radius: var(--card-radius);
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.involved-card:hover {
    box-shadow: 0 10px 36px rgba(81,41,116,0.11);
    transform: translateY(-3px);
    border-color: var(--brand-pink);
}

.involved-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-pink-light);
    border: 1px solid var(--brand-pink-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.involved-card h3 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

.involved-card p {
    font-size: 0.92rem;
    color: var(--text-body);
    line-height: 1.8;
    flex: 1;
}

.involved-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-purple);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.18s;
    margin-top: 0.25rem;
}

.involved-link:hover {
    color: var(--brand-pink);
}

/* ── OPEN POSITIONS ─────────────────────────────────── */
.join-jobs {
    background: var(--bg-subtle);
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.job-card {
    background: var(--bg-white);
    border: 2px solid var(--divider-strong);
    border-radius: var(--card-radius);
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
}

.job-card:hover {
    box-shadow: 0 12px 40px rgba(81,41,116,0.13);
    transform: translateY(-4px);
    border-color: var(--brand-pink);
}

.job-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Job type badge */
.job-card-type {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    width: fit-content;
}

.job-type--contract {
    background: rgba(81, 41, 116, 0.1);
    color: var(--brand-purple);
}

.job-type--internship {
    background: rgba(221, 137, 175, 0.2);
    color: #8a3d61;
}

.job-type--volunteer {
    background: rgba(221, 137, 175, 0.15);
    color: #7a3055;
}

.job-card-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.job-card-dept {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Tag pills */
.job-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.job-card-tags span {
    font-size: 0.75rem;
    color: var(--brand-purple-mid);
    background: var(--bg-light-purple);
    border: 1px solid var(--divider);
    border-radius: 100px;
    padding: 3px 10px;
    white-space: nowrap;
}

.job-card-desc {
    font-size: 0.93rem;
    color: var(--text-body);
    line-height: 1.8;
    flex: 1;
}

.job-card-apply {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-purple);
    text-decoration: none;
    letter-spacing: 0.02em;
    border-top: 1px solid var(--divider);
    padding-top: 1rem;
    transition: color 0.18s;
}

.job-card-apply:hover {
    color: var(--brand-pink);
}

/* Jobs section footer CTA */
.jobs-footer {
    text-align: center;
    background: var(--bg-white);
    border: 1px solid var(--divider-strong);
    border-radius: var(--card-radius);
    padding: 2.5rem 2rem;
}

.jobs-footer p {
    font-size: 1.05rem;
    color: var(--text-body);
    margin-bottom: 1.25rem;
}

.jobs-open-apply {
    display: inline-block;
    background: var(--brand-purple);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(221, 137, 175, 0.3);
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.jobs-open-apply:hover {
    background: var(--brand-purple-dark);
    box-shadow: 0 6px 22px rgba(221, 137, 175, 0.45);
    transform: translateY(-1px);
}

.jobs-open-apply:active {
    transform: translateY(0);
}

.jobs-empty {
    text-align: center;
    width: 100%;
    padding: 3rem 2rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--divider-strong);
    border-radius: var(--card-radius);
    grid-column: 1 / -1;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
    .join-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .difference-grid {
        grid-template-columns: 1fr;
    }

    .involved-cards {
        grid-template-columns: 1fr;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .join-stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .job-card-tags {
        flex-direction: column;
        gap: 4px;
    }
}