/* Teams page — navy hero band, light division sections, exec grid */

.team-hero {
    position: relative;
    min-height: 46vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 70px;
    text-align: center;
}

.team-hero-content {
    max-width: 800px;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.team-hero-eyebrow {
    margin-bottom: 1rem;
    justify-content: center;
}

.team-hero-title {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.team-hero-description {
    font-size: 1.05rem;
    color: var(--mist);
    line-height: 1.7;
    max-width: 52ch;
    margin: 0 auto;
}

/* ------------------------------------------------------------------ */
/* Division sections (Car Team A/B, Tech Team)                        */
/* ------------------------------------------------------------------ */

.team-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.team-section+.team-section {
    border-top: 1px solid var(--line);
}

.team-container {
    width: 100%;
}

.team-eyebrow {
    margin-bottom: 0.75rem;
}

.team-section-title {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    color: var(--heading);
    margin-bottom: 2rem;
}

.team-section-description {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 70ch;
    margin-top: -0.75rem;
    margin-bottom: 2.25rem;
}

.current-work {
    margin-top: 1rem;
}

.current-work-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 1.25rem;
}

.current-work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
}

.current-work-item {
    background: var(--wash);
    border: 1px solid var(--line);
    border-left: 3px solid var(--blue);
    padding: 1.25rem 1.5rem;
    transition: border-color 0.2s, background 0.2s;
}

.current-work-item:hover {
    border-color: var(--blue);
    background: var(--paper);
}

.current-work-item-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--heading);
    margin-bottom: 0.5rem;
}

.current-work-item-description {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ------------------------------------------------------------------ */
/* Executive cards                                                     */
/* ------------------------------------------------------------------ */

.executives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.executive-card {
    background: var(--paper);
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.2s;
    display: flex;
    flex-direction: column;
}

.executive-card:hover {
    border-color: var(--blue);
}

.executive-photo {
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--wash);
}

.executive-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.executive-info {
    padding: 1.5rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.executive-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--heading);
    margin-bottom: 0.35rem;
}

.executive-role {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.executive-bio {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    flex: 1;
}

.executive-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.executive-socials a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    color: var(--blue);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.executive-socials a:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

@media (max-width: 768px) {
    .executive-photo {
        height: 260px;
    }

    .team-section {
        padding: 3.2rem 1.5rem;
    }

    .current-work-grid {
        display: flex;
        flex-direction: column;
    }
}