/* ========================================
   08 — THE TEAM
   ======================================== */

.team-section {
    background: var(--bg-darkest);
}

.team-grid {
    display: grid;
    gap: 32px;
}

.founders-grid {
    grid-template-columns: repeat(3, 1fr);
}

.team-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px var(--primary-glow-soft);
}

.team-card-inner {
    display: flex;
    flex-direction: column;
}

.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--bg-surface);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-slow);
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

/* Members without a photo show their initials instead */
.placeholder-photo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-initials {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-muted);
    z-index: 1;
}

.team-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-darkest), transparent);
    pointer-events: none;
}

.team-info {
    padding: 20px;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .founders-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .founders-grid {
        grid-template-columns: 1fr;
    }
}
