/* ========== Teams page ========== */
.hero-teams .hero-bg {
    background: url("../images/teams-hero.jpg") center / cover no-repeat;
}

.hero-teams {
    min-height: 320px;
    padding: 72px 8px 64px;
}

.teams-hero-copy {
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.95rem, 1.6vw, 1.15rem);
    font-weight: 500;
    line-height: 1.75;
    color: rgb(255 255 255 / 0.95);
}

.teams-body {
    background: #fff;
}

.teams-container {
    max-width: 72rem;
}

.team-photo {
    width: 100%;
    max-width: 20rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 0.9rem;
    box-shadow: 0 12px 28px rgb(15 23 42 / 0.12);
    background: var(--gray-50, #f9fafb);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.team-member:hover .team-photo img {
    transform: scale(1.06);
}

.team-name-jp {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--brand-primary);
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.team-name-en {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--brand-navy-bright);
    font-weight: 400;
    margin: 0 0 1rem;
}

.team-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin: 0 0 1.5rem;
}

.team-bio {
    color: #1f2937;
    font-size: clamp(0.98rem, 1.4vw, 1.125rem);
    line-height: 1.8;
    max-width: 48rem;
}

.team-bio p {
    margin: 0 0 1rem;
}

.team-bio-footer {
    padding-top: 1rem;
    margin-top: 0.25rem !important;
    border-top: 1px solid var(--gray-200, #e5e7eb);
}

.team-em {
    font-weight: 600;
    color: var(--brand-navy);
}

.team-em-bold {
    font-weight: 700;
    color: var(--brand-navy);
}

.team-accent {
    font-style: italic;
    font-weight: 500;
    color: var(--brand-primary);
}

@media (max-width: 767.98px) {
    .hero-teams {
        min-height: 240px;
        padding: 48px 8px 40px;
    }

    .team-photo {
        max-width: 16rem;
    }

    .team-member + .team-member {
        margin-top: 2.5rem;
    }

    .team-title {
        margin-bottom: 1rem;
    }
}
