/* Staff careers — extends home-redesign.css (no on-page form) */

.staff-page {
    --amx-navy: #020c41;
    --amx-blue: #030d75;
    --amx-pink: #fa0073;
    --amx-surface: #f4f6fb;
    --amx-radius: 1.25rem;
    background: var(--amx-surface);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.staff-hero {
    min-height: 100vh;
    min-height: 100dvh;
}
.staff-hero__bg {
    background:
        linear-gradient(160deg, rgba(2, 12, 65, 0.88) 0%, rgba(3, 13, 117, 0.72) 42%, rgba(2, 12, 65, 0.9) 100%),
        url('../images/gallery/amx/amx-01.png') center 40% / cover no-repeat;
}

.staff-justify {
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: center !important;
}

.staff-job-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 768px) {
    .staff-job-grid { grid-template-columns: repeat(3, 1fr); }
}

.staff-job-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.1);
    border-radius: var(--amx-radius);
    box-shadow: 0 8px 24px rgba(2, 12, 65, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.staff-job-card:hover {
    transform: translateY(-4px);
    border-color: rgba(3, 13, 117, 0.18);
    box-shadow: 0 16px 36px rgba(2, 12, 65, 0.09);
}
.staff-job-card__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.staff-job-card__icon {
    width: 3.15rem;
    height: 3.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.95rem;
    background: rgba(3, 13, 117, 0.08);
    color: var(--amx-blue);
    font-size: 1.25rem;
}
.staff-job-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #059669;
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(5, 150, 105, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
}
.staff-job-badge--closed {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
    border-color: rgba(100, 116, 139, 0.25);
}
.staff-job-card__title {
    margin: 0 0 0.65rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--amx-blue);
}
.staff-job-card__blurb {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #64748b;
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: center !important;
}

.staff-how__note {
    margin: 1rem auto 0;
    max-width: 34rem;
    font-size: 0.95rem;
    color: #64748b;
    text-align: center;
}
.staff-how__note a {
    color: var(--amx-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 13, 117, 0.28);
    word-break: break-all;
}
.staff-how__note a:hover {
    color: var(--amx-pink);
    border-bottom-color: rgba(250, 0, 115, 0.45);
}

.staff-timeline {
    list-style: none;
    margin: 0 auto 2.75rem;
    padding: 1.75rem 1.35rem 1.6rem;
    max-width: 64rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.35rem;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.08);
    border-radius: 1.5rem;
    box-shadow: 0 18px 48px rgba(2, 12, 65, 0.06);
}
@media (min-width: 900px) {
    .staff-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 2rem 1.5rem 1.85rem;
    }
}

.staff-timeline__item {
    position: relative;
    margin: 0;
    display: grid;
    grid-template-columns: 2.75rem 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0 0.35rem;
}
@media (min-width: 900px) {
    .staff-timeline__item {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 0 1.1rem;
        gap: 0;
    }
}

.staff-timeline__track {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 100%;
}
.staff-timeline__track::before {
    content: '';
    position: absolute;
    top: 2.6rem;
    bottom: -1.35rem;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(3, 13, 117, 0.1);
}
.staff-timeline__item:last-child .staff-timeline__track::before {
    display: none;
}
@media (min-width: 900px) {
    .staff-timeline__track {
        width: 100%;
        min-height: 0;
        margin-bottom: 1.25rem;
    }
    .staff-timeline__track::before {
        top: 50%;
        bottom: auto;
        left: 50%;
        right: -50%;
        width: auto;
        height: 2px;
        transform: translateY(-50%);
        background: rgba(3, 13, 117, 0.12);
    }
}

.staff-timeline__dot {
    position: relative;
    z-index: 1;
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: var(--amx-navy);
    box-shadow: 0 0 0 6px #fff;
}
.staff-timeline__item:first-child .staff-timeline__dot {
    background: linear-gradient(135deg, var(--amx-pink), #e91e6e);
}
.staff-timeline__item:last-child .staff-timeline__dot {
    background: linear-gradient(135deg, var(--amx-blue), #0518a8);
}

.staff-timeline__body {
    min-width: 0;
}
@media (min-width: 900px) {
    .staff-timeline__body {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.staff-timeline__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 0 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(3, 13, 117, 0.07);
    color: var(--amx-blue);
    font-size: 1.05rem;
}

.staff-timeline__title {
    margin: 0 0 0.45rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--amx-blue);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.staff-timeline__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #64748b;
}
@media (min-width: 900px) {
    .staff-timeline__text {
        text-align: center;
        max-width: 16rem;
    }
}

.staff-cta {
    width: calc(100% - 3rem);
    max-width: 64rem;
    margin: 0 auto;
}
.staff-cta .home-section__eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
}
.staff-cta__title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.55rem, 3.2vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.85rem;
    letter-spacing: -0.03em;
    line-height: 1.15;
}
.staff-cta__text {
    color: rgba(255, 255, 255, 0.85);
    margin: 0 auto 1.45rem;
    max-width: 34rem;
    font-size: 1.02rem;
    line-height: 1.65;
}

.staff-footnote {
    margin: 1.75rem auto 0;
    max-width: 40rem;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    color: #64748b;
    text-align: center;
}
.staff-footnote a {
    color: var(--amx-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(3, 13, 117, 0.25);
}
.staff-footnote a:hover {
    color: var(--amx-pink);
    border-bottom-color: rgba(250, 0, 115, 0.4);
}

.staff-meet {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
}
.staff-meet__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}
@media (min-width: 640px) {
    .staff-meet__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}
.staff-meet__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 9.5rem;
    padding: 0.85rem 0.75rem 0.9rem;
    text-decoration: none;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.1);
    border-radius: 1.25rem;
    box-shadow: 0 10px 28px rgba(2, 12, 65, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}
.staff-meet__btn:hover {
    transform: translateY(-3px);
    border-color: rgba(3, 13, 117, 0.2);
    box-shadow: 0 16px 36px rgba(2, 12, 65, 0.1);
}
.staff-meet__logo {
    display: block;
    height: 6.75rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.staff-meet__label {
    margin-top: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--amx-blue);
    letter-spacing: -0.02em;
    line-height: 1;
}
.staff-meet__btn > i {
    margin-top: 0.15rem;
    color: var(--amx-pink);
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}
.staff-meet__btn:hover > i {
    transform: translateX(3px);
}
