/* =============================================
   TEAM SECTION
   Dark bg, heading + portrait team cards
   ============================================= */

.team {
    background: var(--color-black, #000);
    padding: var(--section-padding, 100px) 0;
    position: relative;
    color: #fff;
}

/* --- Background + Overlay --- */
.team__bg {
    position: absolute;
    inset: 0;
    background: #1a1a1a;
    z-index: 0;
}

.team__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.team__container {
    position: relative;
    z-index: 2;
}

/* --- Top Area --- */
.team__heading {
    font-family: var(--font-heading, 'Satoshi', sans-serif);
    font-weight: 700;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    color: #fff;
    letter-spacing: -0.02em;
}

.team__heading .script-accent {
    color: #fff;
}

.team__label {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 300;
    font-style: italic;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
}

.team__desc {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    max-width: 600px;
    margin-top: 12px;
}

.team__cta {
    margin-top: 24px;
}

/* --- Team Cards --- */
.team__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 64px;
}

.team__card {
    border-radius: var(--radius-card, 12px);
    overflow: hidden;
    position: relative;
    aspect-ratio: 3 / 4;
}

/* Photo placeholder */
.team__card-photo {
    position: absolute;
    inset: 0;
    background: #333;
    z-index: 0;
}

/* Bottom gradient */
.team__card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        transparent 60%
    );
    z-index: 1;
}

/* Card content */
.team__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

/* Social icons */
.team__card-social {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.team__card-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team__card-social a:hover {
    color: var(--color-blue, #4C60FF);
}

.team__card-social svg {
    width: 20px;
    height: 20px;
}

/* Name + Role */
.team__card-name {
    font-family: var(--font-heading, 'Satoshi', sans-serif);
    font-weight: 600;
    font-size: 22px;
    color: #fff;
}

.team__card-role {
    font-family: var(--font-body, 'Poppins', sans-serif);
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-top: 2px;
}


/* =============================================
   RESPONSIVE — DESKTOP (768px+)
   ============================================= */
@media (min-width: 768px) {
    .team__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =============================================
   RESPONSIVE — MOBILE
   ============================================= */
@media (max-width: 767px) {
    .team {
        padding: var(--section-padding-mobile, 56px) 0;
    }

    .team__heading {
        font-size: clamp(32px, 7vw, 48px);
    }

    .team__cards {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
    }
}
