.team-v2-page { background: #fff; }

.team-hero { position: relative; min-height: 560px; overflow: hidden; padding-top: 82px; color: #fff; background: linear-gradient(120deg, #2b0e45 0%, #3d145f 48%, #613ff9 100%); }
.team-hero::before { content: ''; position: absolute; top: -34%; right: -10%; width: 720px; height: 720px; border-radius: 50%; background: rgba(214,201,255,.13); }
.team-hero__inner { position: relative; z-index: 2; min-height: 478px; display: flex; align-items: center; padding-bottom: 100px; }
.team-hero__content { width: min(100%, 900px); padding-bottom: 18px; }
.team-hero h1 { max-width: 900px; margin: 0 0 24px; color: #fff; font-size: clamp(46px, 5vw, 68px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.team-hero__content p { max-width: 580px; margin: 0; color: rgba(255,255,255,.76); font-size: 18px; line-height: 1.65; }
.team-hero__waves { position: absolute; z-index: 4; left: 0; bottom: -1px; width: 100%; height: 150px; pointer-events: none; }
.team-hero__waves svg { display: block; width: 100%; height: 100%; }
.team-wave-deep { fill: #a98bef; }
.team-wave-light { fill: #ded2ff; }
.team-wave-white { fill: #fff; }

.team-founder { padding: 84px 0 112px; }
.team-founder__grid { display: grid; grid-template-columns: minmax(380px, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(54px, 8vw, 110px); }
.team-founder__portrait { position: relative; min-height: 570px; overflow: hidden; border-radius: 36px 10px 36px 10px; background: #ddeee8; }
.team-founder__portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(43,14,69,.16) 100%); }
.team-founder__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-founder__portrait span { position: absolute; z-index: 2; right: -42px; bottom: -34px; width: 180px; height: 110px; border-radius: 50% 0 0 0; background: rgba(97,63,249,.78); transform: rotate(-10deg); }
.team-founder__role { margin: 0 0 12px; color: #613ff9; font-size: 15px; font-weight: 600; }
.team-founder h2 { margin: 0 0 24px; color: #3d145f; font-size: clamp(42px, 5vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.team-founder__statement { max-width: 680px; margin: 0 0 34px; color: #30294a; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.2; }
.team-founder__reserved { min-height: 190px; display: grid; grid-template-columns: 36px 1fr; align-content: start; gap: 18px; border-left: 3px solid #613ff9; padding: 26px 0 24px 26px; color: #4a465c; background: linear-gradient(90deg, #f7f4ff 0%, rgba(247,244,255,0) 92%); }
.team-founder__reserved i { margin-top: 3px; color: #b9a0f3; font-size: 26px; }
.team-founder__reserved p { max-width: 590px; margin: 0; font-size: 15px; line-height: 1.75; }

.team-members { padding: 104px 0 112px; background: #f7f4ff; }
.team-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .65fr); align-items: end; gap: 60px; margin-bottom: 46px; }
.team-section-heading h2, .team-partners h2, .team-contact h2 { margin: 0; color: #3d145f; font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -.035em; }
.team-section-heading p, .team-partners__heading p { margin: 0; color: #4a465c; line-height: 1.65; }
.team-members__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d9d2e6; border-left: 1px solid #d9d2e6; }
.team-member { min-width: 0; display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: center; gap: 20px; min-height: 174px; border-right: 1px solid #d9d2e6; border-bottom: 1px solid #d9d2e6; padding: 26px; background: rgba(255,255,255,.66); }
.team-member img { width: 108px; height: 120px; border-radius: 48px 12px 48px 12px; object-fit: cover; }
.team-member h3, .team-partner h3 { margin: 0 0 7px; color: #2b0e45; font-size: 19px; font-weight: 600; line-height: 1.25; }
.team-member p, .team-partner p { margin: 0; color: #686276; font-size: 12px; line-height: 1.5; }

.team-partners { padding: 94px 0; }
.team-partners__inner { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(50px, 8vw, 110px); }
.team-partners__heading h2 { margin-bottom: 18px; }
.team-partners__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.team-partner { min-height: 138px; display: flex; align-items: center; gap: 19px; border: 1px solid #e3deee; border-radius: 22px 7px 22px 7px; padding: 20px; background: #fff; }
.team-partner img { flex: 0 0 auto; width: 82px; height: 82px; border-radius: 50%; object-fit: cover; }

.team-contact { padding: 74px 0; color: #fff; background: #3d145f; }
.team-contact__inner { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.team-contact__inner > div:first-child > p { margin: 0 0 9px; color: #d6c9ff; font-size: 14px; font-weight: 600; }
.team-contact h2 { max-width: 640px; color: #fff; }
.team-contact__actions { flex: 0 0 450px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-contact__actions a { min-height: 88px; display: flex; align-items: center; gap: 13px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px 6px 18px 6px; padding: 15px; color: #fff !important; text-decoration: none !important; }
.team-contact__actions i { width: 24px; color: #d6c9ff; font-size: 20px; text-align: center; }
.team-contact__actions span { min-width: 0; display: flex; flex-direction: column; color: rgba(255,255,255,.68); font-size: 10px; }
.team-contact__actions strong { overflow-wrap: anywhere; margin-top: 4px; color: #fff; font-size: 11px; font-weight: 600; }

@media (max-width: 991px) {
    .team-hero { min-height: 540px; padding-top: 72px; }
    .team-hero__inner { min-height: 468px; }
    .team-founder__grid { grid-template-columns: .85fr 1.15fr; gap: 46px; }
    .team-founder__portrait { min-height: 510px; }
    .team-members__grid { grid-template-columns: 1fr 1fr; }
    .team-partners__inner { grid-template-columns: 1fr; }
    .team-contact__inner { align-items: flex-start; flex-direction: column; }
    .team-contact__actions { width: 100%; flex: 0 0 auto; }
}

@media (max-width: 767px) {
    .team-hero { min-height: 520px; padding-top: 72px; }
    .team-hero__inner { min-height: 448px; align-items: center; padding-top: 34px; padding-bottom: 112px; }
    .team-hero h1 { font-size: clamp(40px, 12vw, 56px); }
    .team-hero__content p { font-size: 16px; }
    .team-founder { padding: 64px 0 76px; }
    .team-founder__grid { display: flex; flex-direction: column; gap: 34px; }
    .team-founder__portrait { width: 100%; min-height: 0; aspect-ratio: 4 / 4.8; }
    .team-founder h2 { font-size: 44px; }
    .team-founder__reserved { min-height: 150px; padding-left: 20px; }
    .team-members { padding: 70px 0 76px; }
    .team-section-heading { display: block; margin-bottom: 32px; }
    .team-section-heading h2 { margin-bottom: 15px; }
    .team-members__grid { grid-template-columns: 1fr; }
    .team-member { min-height: 150px; grid-template-columns: 92px 1fr; padding: 20px; }
    .team-member img { width: 92px; height: 104px; }
    .team-partners { padding: 70px 0; }
    .team-partners__list { grid-template-columns: 1fr; }
    .team-contact { padding: 62px 0; }
    .team-contact__inner { gap: 34px; }
    .team-contact__actions { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .team-founder__reserved { grid-template-columns: 1fr; }
    .team-founder__reserved i { font-size: 22px; }
    .team-partner { min-height: 124px; }
}
