/* =============================================
   TEAM.CSS
   Brand: #fe6e00 orange, #1a1a2e navy
   ============================================= */

/* ---- Page Hero (shared — reused across pages) ---- */
.page-hero {
    background: #1a1a2e;
    padding: 4rem 1.5rem 3rem;
    text-align: center;
    border-bottom: 3px solid #fe6e00;
}
.page-hero-container { max-width: 700px; margin: 0 auto; }
.page-hero-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fe6e00;
    margin-bottom: 0.75rem;
}
.page-hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}
.page-hero-subtitle {
    font-size: 1.05rem;
    color: #b0b6c8;
    line-height: 1.75;
    max-width: 540px;
    margin: 0 auto;
}

/* ---- Section Shared ---- */
.section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fe6e00;
    margin-bottom: 0.6rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}
.section-subtitle {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    max-width: 560px;
}

/* ---- Team Section ---- */
.team-section {
    background: #ffffff;
    padding: 5rem 1.5rem;
}
.team-section-alt {
    background: #f7f7fb;
}
.team-container {
    max-width: 1140px;
    margin: 0 auto;
}
.team-section-header {
    margin-bottom: 3rem;
}

/* ---- Team Grids ---- */
.team-grid-leadership {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.team-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ---- Team Card (Large — Leadership) ---- */
.team-card-large {
    background: #ffffff;
    border: 1px solid #e8e8f0;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.team-card-large:hover {
    box-shadow: 0 8px 32px rgba(254, 110, 0, 0.1);
    transform: translateY(-3px);
}

.team-card-avatar {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatar-initials {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.team-card-body {
    padding: 1.5rem;
}

/* ---- Team Card (Small — Investment Team) ---- */
.team-card {
    background: #ffffff;
    border: 1px solid #e8e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover {
    box-shadow: 0 6px 24px rgba(254, 110, 0, 0.1);
    transform: translateY(-3px);
}

.team-avatar-sm {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}
.team-avatar-sm .avatar-initials { font-size: 1.25rem; }

/* ---- Shared card text ---- */
.team-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.3rem;
}
.team-role {
    font-size: 0.82rem;
    font-weight: 600;
    color: #fe6e00;
    margin-bottom: 0.85rem;
    line-height: 1.4;
}
.team-bio {
    font-size: 0.875rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.team-bio-short {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: left;
}

/* ---- Expertise Tags ---- */
.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.team-card .team-expertise {
    justify-content: center;
}
.expertise-tag {
    background: rgba(254, 110, 0, 0.08);
    color: #c45200;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
}

/* ---- Social Link ---- */
.team-social { margin-top: 0.25rem; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #1a4ab5;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.social-link:hover,
.social-link:focus-visible {
    color: #fe6e00;
    text-decoration: underline;
}

/* ---- Advisors Grid ---- */
.advisors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.advisor-card {
    background: #ffffff;
    border: 1px solid #e8e8f0;
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: border-color 0.2s, transform 0.2s;
}
.advisor-card:hover {
    border-color: #fe6e00;
    transform: translateY(-2px);
}
.advisor-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
    flex-shrink: 0;
}
.advisor-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.2rem;
}
.advisor-role {
    font-size: 0.78rem;
    color: #555;
    margin-bottom: 0.2rem;
    line-height: 1.4;
}
.advisor-area {
    font-size: 0.73rem;
    color: #fe6e00;
    font-weight: 600;
}

/* ---- Join Section ---- */
.team-join-section {
    background: #1a1a2e;
    padding: 5rem 1.5rem;
}
.team-join-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.team-join-section .section-label { color: #fe6e00; }
.team-join-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.team-join-desc {
    font-size: 1rem;
    color: #9aa0b8;
    line-height: 1.75;
    margin-bottom: 1.75rem;
}
.btn-primary {
    display: inline-block;
    background: #fe6e00;
    color: #ffffff;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid #fe6e00;
    transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background: #e56200;
    border-color: #e56200;
    transform: translateY(-1px);
    color: #ffffff;
}

/* Join Values */
.team-join-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.join-value {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}
.join-value-icon {
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
}
.join-value-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
}
.join-value-desc {
    font-size: 0.85rem;
    color: #9aa0b8;
    line-height: 1.55;
    margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .team-grid-leadership { grid-template-columns: 1fr 1fr; }
    .team-grid-4          { grid-template-columns: 1fr 1fr; }
    .advisors-grid        { grid-template-columns: 1fr 1fr; }
    .team-join-container  { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 640px) {
    .team-grid-leadership { grid-template-columns: 1fr; }
    .team-grid-4          { grid-template-columns: 1fr; }
    .advisors-grid        { grid-template-columns: 1fr; }
    .team-section         { padding: 3rem 1.25rem; }
}
