/* ============================================================
   TEAM PAGE - LIQUID GLASS + HIERARCHY
   Palette: #FBFBFD · #F1F6F3 · #033431 · #B98A45
   ============================================================ */

.team-page {
    position: relative;
    background: linear-gradient(
        180deg,
        #FBFBFD 0%,
        #F7FAF8 35%,
        #F4F8F5 65%,
        #F1F6F3 100%
    );
    background-attachment: fixed;
    color: #0a1f1c;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: 'Vazirmatn', sans-serif;
}

.team-page .shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================================
   BACKGROUND LAYER
   ============================================================ */
.bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 25%,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(241, 246, 243, 0.25) 40%,
        rgba(241, 246, 243, 0.08) 70%,
        transparent 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.9),
        inset 0 -1px 1px rgba(3, 52, 49, 0.03),
        0 20px 60px rgba(3, 52, 49, 0.04);
    will-change: transform;
    transition: transform 0.1s linear;
}

.glass-orb::before {
    content: '';
    position: absolute;
    top: 8%; left: 12%;
    width: 30%; height: 30%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    filter: blur(8px);
    opacity: 0.7;
}

.glass-orb--1 { width: 480px; height: 480px; top: -120px; left: -100px; animation: orb-float 18s ease-in-out infinite; }
.glass-orb--2 { width: 340px; height: 340px; top: 22%; right: -80px; animation: orb-float 22s ease-in-out infinite reverse; }
.glass-orb--3 { width: 220px; height: 220px; top: 55%; left: -60px; animation: orb-float 16s ease-in-out infinite; }
.glass-orb--4 { width: 420px; height: 420px; bottom: -140px; right: -120px; animation: orb-float 25s ease-in-out infinite reverse; }
.glass-orb--5 { width: 140px; height: 140px; top: 78%; right: 18%; animation: orb-float 14s ease-in-out infinite; }

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 1; }
    50% { transform: translate(15px, -20px) scale(1.03); opacity: 0.95; }
}

.soft-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.35;
    will-change: transform;
}

.soft-glow--mint {
    width: 700px; height: 700px;
    top: 10%; left: -15%;
    background: radial-gradient(circle, rgba(184, 220, 201, 0.6) 0%, transparent 75%);
    animation: soft-breathe 20s ease-in-out infinite;
}

.soft-glow--sage {
    width: 800px; height: 800px;
    top: 40%; right: -25%;
    background: radial-gradient(circle, rgba(165, 212, 190, 0.45) 0%, transparent 78%);
    animation: soft-breathe 26s ease-in-out infinite reverse;
}

.soft-glow--cream {
    width: 600px; height: 600px;
    bottom: -10%; left: 20%;
    background: radial-gradient(circle, rgba(228, 212, 180, 0.35) 0%, transparent 78%);
    animation: soft-breathe 24s ease-in-out infinite;
}

@keyframes soft-breathe {
    0%, 100% { transform: scale(1); opacity: 0.35; }
    50% { transform: scale(1.08); opacity: 0.5; }
}

.bg-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(3, 52, 49, 0.055) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(ellipse at 50% 35%, black 15%, transparent 70%);
    opacity: 0.6;
}

/* ============================================================
   PILLS & KICKERS & BUTTONS
   ============================================================ */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid;
}

.pill--green {
    background: rgba(255, 255, 255, 0.6);
    color: #033431;
    border-color: rgba(3, 52, 49, 0.15);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 24px rgba(3, 52, 49, 0.06);
}

.pill--gold {
    background: rgba(185, 138, 69, 0.1);
    color: #8a6530;
    border-color: rgba(185, 138, 69, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 24px rgba(185, 138, 69, 0.08);
}

.pill--gold i, .pill--gold svg { width: 14px; height: 14px; }

.pill__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #033431;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(3, 52, 49, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(3, 52, 49, 0); }
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #033431;
    margin-bottom: 22px;
}

.kicker__line {
    width: 40px; height: 2px;
    background: #033431;
    display: inline-block;
    border-radius: 2px;
}

.kicker--gold { color: #B98A45; }
.kicker--gold .kicker__line { background: #B98A45; }

.btn-glass {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    font-family: inherit;
}

.btn-glass i, .btn-glass svg { width: 18px; height: 18px; transition: transform 0.35s ease; }
.btn-glass:hover i, .btn-glass:hover svg { transform: translate(-3px, -3px); }

.btn-glass--dark {
    background: linear-gradient(135deg, rgba(3, 52, 49, 0.95), rgba(3, 52, 49, 0.85));
    color: #FBFBFD;
    border-color: rgba(3, 52, 49, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 12px 30px rgba(3, 52, 49, 0.25);
}

.btn-glass--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #B98A45, #8a6530);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-glass--dark:hover::before { opacity: 1; }
.btn-glass--dark:hover {
    color: #033431;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(185, 138, 69, 0.35);
    border-color: rgba(185, 138, 69, 0.4);
}

/* ============================================================
   1. HERO
   ============================================================ */
.team-hero {
    position: relative;
    padding: 10px 0 60px;
    z-index: 1;
}

.team-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.team-hero__content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 60px;
}

.team-hero__content .kicker { justify-content: center; }

.team-hero__title {
    font-size: clamp(42px, 5.5vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #033431;
    margin: 0 0 24px;
}

.team-hero__title .line--accent {
    font-style: italic;
    background: linear-gradient(135deg, #B98A45 0%, #8a6530 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-hero__desc {
    font-size: 16px;
    line-height: 2.1;
    color: #4a5f5b;
    max-width: 620px;
    margin: 0 auto;
}

/* Level Legend */
.team-legend {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 24px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 12px 35px rgba(3, 52, 49, 0.06);
    max-width: fit-content;
    margin: 0 auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
}

.legend-item__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.legend-item__dot--ceo {
    background: linear-gradient(135deg, #B98A45, #8a6530);
    box-shadow: 0 0 0 4px rgba(185, 138, 69, 0.15), 0 0 20px rgba(185, 138, 69, 0.4);
}

.legend-item__dot--manager {
    background: linear-gradient(135deg, #033431, #052f2c);
    box-shadow: 0 0 0 4px rgba(3, 52, 49, 0.15), 0 0 20px rgba(3, 52, 49, 0.3);
}

.legend-item__dot--expert {
    background: linear-gradient(135deg, #73d1cc, #4ba8a3);
    box-shadow: 0 0 0 4px rgba(115, 209, 204, 0.15), 0 0 20px rgba(115, 209, 204, 0.3);
}

.legend-item strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #033431;
    margin-bottom: 2px;
}

.legend-item small {
    display: block;
    font-size: 10px;
    color: #6b7d78;
    font-weight: 600;
}

/* ============================================================
   SECTION
   ============================================================ */
.section {
    padding: 60px 0 130px;
    position: relative;
    z-index: 1;
}

.section--tint {
    background: rgba(241, 246, 243, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 100px 0;
}

/* ============================================================
   LEVEL STRUCTURE
   ============================================================ */
.level {
    margin-bottom: 40px;
}

.level__badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    padding: 10px 22px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 8px 24px rgba(3, 52, 49, 0.06);
}

.level--1 .level__badge { background: rgba(185, 138, 69, 0.12); border-color: rgba(185, 138, 69, 0.3); }
.level--2 .level__badge { background: rgba(3, 52, 49, 0.08); border-color: rgba(3, 52, 49, 0.2); }
.level--3 .level__badge { background: rgba(115, 209, 204, 0.12); border-color: rgba(115, 209, 204, 0.3); }

.level__num {
    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.level--1 .level__num { color: #B98A45; }
.level--2 .level__num { color: #033431; }
.level--3 .level__num { color: #2f7a75; }

.level__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4a5f5b;
}

/* Grid */
.level__grid {
    display: grid;
    gap: 24px;
}

.level__grid--1col { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.level__grid--3col { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   CONNECTOR (Lines between levels)
   ============================================================ */
.connector {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
}

.connector--v {
    flex-direction: column;
    gap: 0;
    height: 80px;
    position: relative;
}

.connector__line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(3, 52, 49, 0.35) 0%, rgba(185, 138, 69, 0.5) 50%, rgba(3, 52, 49, 0.35) 100%);
    position: relative;
}

.connector__line::before,
.connector__line::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #B98A45;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(185, 138, 69, 0.15), 0 0 15px rgba(185, 138, 69, 0.5);
}

.connector__line::before { top: 0; }
.connector__line::after { bottom: 0; }

/* ============================================================
   MEMBER CARDS
   ============================================================ */
.member-card {
    position: relative;
    padding: 36px 32px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.45) 100%);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4),
        0 20px 50px rgba(3, 52, 49, 0.08),
        0 6px 18px rgba(3, 52, 49, 0.04);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.5s ease,
                border-color 0.5s ease;
    overflow: hidden;
    isolation: isolate;
}

.member-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 26px 26px 0 0;
}

.member-card__glow {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 138, 69, 0.35), transparent 70%);
    filter: blur(45px);
    top: -80px;
    right: -80px;
    opacity: 0.55;
    pointer-events: none;
    animation: glow-float 8s ease-in-out infinite;
}

.member-card__glow--gold {
    background: radial-gradient(circle, rgba(185, 138, 69, 0.55), transparent 70%);
    opacity: 0.7;
}

@keyframes glow-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-25px, 25px) scale(1.15); }
}

/* Hover */
.member-card:hover {
    transform: translateY(-8px);
    border-color: rgba(185, 138, 69, 0.4);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 30px 70px rgba(3, 52, 49, 0.12),
        0 0 0 1px rgba(185, 138, 69, 0.15);
}

/* ============================================================
   CEO CARD (Feature)
   ============================================================ */
.member-card--ceo {
    padding: 44px 44px 38px;
    border-radius: 32px;
    border: 2px solid rgba(185, 138, 69, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 252, 245, 0.65) 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.5),
        0 30px 70px rgba(185, 138, 69, 0.15),
        0 0 0 8px rgba(185, 138, 69, 0.06);
    text-align: center;
}

.member-card--ceo:hover {
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 40px 90px rgba(185, 138, 69, 0.22),
        0 0 0 8px rgba(185, 138, 69, 0.08);
    border-color: rgba(185, 138, 69, 0.6);
}

.member-card__badge {
    position: absolute;
    top: 24px;
    right: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 100px;
    background: linear-gradient(135deg, #B98A45, #8a6530);
    color: #FBFBFD;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 8px 20px rgba(185, 138, 69, 0.4);
    z-index: 5;
}

.member-card__badge i,
.member-card__badge svg { width: 14px; height: 14px; stroke-width: 2.2; }

.member-card__badge--sm {
    top: 20px;
    right: 20px;
    padding: 7px 14px;
    font-size: 10px;
    background: rgba(3, 52, 49, 0.9);
    color: #B98A45;
    border: 1px solid rgba(185, 138, 69, 0.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 16px rgba(3, 52, 49, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.member-card__badge--sm i,
.member-card__badge--sm svg { width: 12px; height: 12px; }

/* Avatar */
.member-card__avatar {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #F1F6F3, #d9ebe0);
    box-shadow: 
        0 0 0 4px rgba(255, 255, 255, 0.9),
        0 0 0 8px rgba(185, 138, 69, 0.2),
        0 20px 45px rgba(3, 52, 49, 0.15);
    z-index: 2;
}

.member-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

.member-card--ceo:hover .member-card__avatar img {
    transform: scale(1.08);
}

.member-card__avatar--sm {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #F1F6F3, #cce5d6);
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 6px rgba(3, 52, 49, 0.12),
        0 12px 30px rgba(3, 52, 49, 0.12);
}

.member-card__avatar--xs {
    width: 64px;
    height: 64px;
    margin: 0 0 16px;
    background: linear-gradient(135deg, #eaf7f1, #cce5d6);
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 5px rgba(115, 209, 204, 0.2),
        0 10px 25px rgba(3, 52, 49, 0.1);
    border-radius: 18px;
}

.member-card__initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 40px;
    font-weight: 900;
    color: #033431;
    font-family: 'Vazirmatn', sans-serif;
}

.member-card__avatar--xs .member-card__initial {
    font-size: 26px;
    color: #2f7a75;
}

.member-card__ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px dashed rgba(185, 138, 69, 0.35);
    animation: ring-rotate 30s linear infinite;
    pointer-events: none;
}

.member-card__avatar--xs .member-card__ring { display: none; }

@keyframes ring-rotate {
    to { transform: rotate(360deg); }
}

/* Info */
.member-card__info {
    position: relative;
    z-index: 2;
}

.member-card__name {
    font-size: 22px;
    font-weight: 900;
    color: #033431;
    margin: 0 0 8px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.member-card--ceo .member-card__name {
    font-size: 28px;
    background: linear-gradient(135deg, #033431, #052f2c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.member-card__name--sm {
    font-size: 16px;
    margin: 0 0 6px;
}

.member-card__role {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #B98A45;
    margin-bottom: 16px;
}

.member-card--ceo .member-card__role {
    font-size: 14px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(185, 138, 69, 0.12);
    border: 1px solid rgba(185, 138, 69, 0.25);
}

.member-card__role--sm {
    font-size: 11px;
    margin-bottom: 12px;
    color: #2f7a75;
}

.member-card__bio {
    font-size: 13.5px;
    line-height: 2;
    color: #4a5f5b;
    margin: 0 0 20px;
}

.member-card--ceo .member-card__bio {
    max-width: 480px;
    margin: 0 auto 24px;
    font-size: 15px;
}

.member-card__bio--sm {
    font-size: 12.5px;
    line-height: 1.9;
    margin-bottom: 0;
}

/* Tags */
.member-card__tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.member-card__tags span {
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(3, 52, 49, 0.06);
    border: 1px solid rgba(3, 52, 49, 0.12);
    color: #033431;
    font-size: 11px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.member-card__tags span:hover {
    background: #B98A45;
    color: #FBFBFD;
    border-color: #B98A45;
    transform: translateY(-2px);
}

/* Link */
.member-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 100px;
    background: #033431;
    color: #FBFBFD;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    z-index: 2;
}

.member-card__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #B98A45, #8a6530);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.member-card__link:hover::before { opacity: 1; }
.member-card__link:hover {
    color: #FBFBFD;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(185, 138, 69, 0.4);
}

.member-card__link i,
.member-card__link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.member-card__link:hover i,
.member-card__link:hover svg {
    transform: translate(-3px, -3px);
}

/* ============================================================
   MEMBER CARD VARIANTS
   ============================================================ */

/* Manager Card */
.member-card--manager {
    padding: 34px 28px 30px;
    text-align: center;
}

.member-card--manager .member-card__bio {
    font-size: 12.5px;
    line-height: 1.95;
    margin-bottom: 0;
}

/* Expert Card */
.member-card--expert {
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 22px;
}

.member-card--expert:hover {
    transform: translateY(-6px);
}

.member-card--expert .member-card__glow { display: none; }

.member-card--expert::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(115, 209, 204, 0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.member-card--expert:hover::after { opacity: 1; }

.member-card--expert .member-card__info { position: relative; z-index: 2; }

/* ============================================================
   TEAM CTA
   ============================================================ */
.team-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 60px 56px;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(241, 246, 243, 0.55) 100%);
    backdrop-filter: blur(30px) saturate(1.8);
    -webkit-backdrop-filter: blur(30px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 1),
        0 30px 70px rgba(3, 52, 49, 0.1);
    position: relative;
    overflow: hidden;
}

.team-cta::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(185, 138, 69, 0.25), transparent 70%);
    filter: blur(60px);
    top: -120px;
    right: -120px;
    pointer-events: none;
}

.team-cta__text {
    max-width: 620px;
    position: relative;
    z-index: 2;
}

.team-cta__title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 900;
    line-height: 1.2;
    color: #033431;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.team-cta__title em {
    font-style: italic;
    background: linear-gradient(135deg, #B98A45, #8a6530);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-cta__desc {
    font-size: 15px;
    line-height: 2;
    color: #4a5f5b;
    margin: 0;
}

.team-cta .btn-glass { position: relative; z-index: 2; flex-shrink: 0; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

[data-reveal="up"] { transform: translateY(60px); }
[data-reveal="right"] { transform: translateX(70px); }
[data-reveal="left"] { transform: translateX(-70px); }
[data-reveal="zoom"] { transform: scale(0.9); }

[data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .level__grid--3col { grid-template-columns: repeat(2, 1fr); }
    
    .member-card--ceo { padding: 36px 32px 32px; }
    .member-card--ceo .member-card__name { font-size: 24px; }
    .member-card__avatar { width: 120px; height: 120px; }
    
    .team-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 44px 36px;
    }
    
    [data-reveal="right"] { transform: translateY(50px); }
    [data-reveal="left"] { transform: translateY(50px); }
}

@media (max-width: 720px) {
    .team-page .shell { width: calc(100% - 32px); }
    
    .team-hero { padding: 110px 0 40px; }
    .team-hero__top { flex-direction: column; gap: 14px; margin-bottom: 40px; }
    .team-hero__title { font-size: 36px; }
    .team-hero__desc { font-size: 14px; }
    .team-hero__content { margin-bottom: 40px; }
    
    .team-legend {
        flex-direction: column;
        gap: 4px;
        padding: 18px 22px;
        width: 100%;
    }
    
    .legend-item { padding: 8px 4px; }
    
    .section { padding: 40px 0 80px; }
    .section--tint { padding: 60px 0; }
    
    .level__grid--3col { grid-template-columns: 1fr; }
    
    .level__badge { margin-bottom: 24px; padding: 8px 16px; }
    .level__num { font-size: 13px; }
    .level__label { font-size: 10px; letter-spacing: 2px; }
    
    .connector--v { height: 50px; margin: 20px 0; }
    
    .member-card--ceo { padding: 32px 24px 28px; }
    .member-card--ceo .member-card__name { font-size: 20px; }
    .member-card--ceo .member-card__bio { font-size: 13px; }
    .member-card__avatar { width: 110px; height: 110px; }
    .member-card__badge { top: 18px; right: 18px; padding: 7px 14px; font-size: 10px; }
    .member-card__badge i, .member-card__badge svg { width: 12px; height: 12px; }
    
    .member-card { padding: 28px 22px; border-radius: 22px; }
    .member-card__name { font-size: 18px; }
    .member-card__avatar--sm { width: 80px; height: 80px; }
    .member-card__initial { font-size: 34px; }
    
    .member-card--expert { padding: 24px 20px; border-radius: 18px; }
    .member-card__name--sm { font-size: 15px; }
    .member-card__bio--sm { font-size: 12px; }
    
    .team-cta { padding: 32px 24px; border-radius: 24px; }
    .team-cta__title { font-size: 24px; }
    .team-cta__desc { font-size: 13.5px; }
    .btn-glass { width: 100%; justify-content: center; }
    
    .glass-orb--1, .glass-orb--2 { width: 380px; height: 380px; }
    .glass-orb--3, .glass-orb--4 { width: 340px; height: 340px; }
    .glass-orb--5 { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}