.team-hero { padding-block: clamp(54px, 7vw, 88px); background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),radial-gradient(ellipse at 82% 34%,rgba(91,36,124,.9),transparent 73%),linear-gradient(112deg,#100638,#160a32 52%,#100638); background-size: 44px 44px,44px 44px,100% 100%,100% 100%; }
.team-hero-inner { max-width: 1200px; }
.team-hero h1 { max-width: 850px; }
.team-hero .hero-copy { max-width: 640px; }
.team-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--on-dark); font-size: 1rem; }
.team-breadcrumb a { color: inherit; }
.team-wash { background: #faf8fd; }
.section-intro .team-label { color: var(--primary); font-size: .92rem; letter-spacing: .08em; }
.team-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.team-avatar { display: grid; place-items: center; aspect-ratio: 1; color: #f6d9b7; background: radial-gradient(ellipse at 65% 30%,#653c79,#211239 72%); font: 500 5rem/1 var(--heading); }
.team-card-body { padding: 20px; }
.team-role { color: var(--primary); font-size: .9rem; font-weight: 600; }
.team-card h3 { margin-top: 8px; }
.team-card-body > p:not(.team-role) { margin-top: 12px; color: var(--muted); }
.team-card .cta-button { margin-top: 24px; }
.team-profile-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.team-profile-card { width: min(100%, 340px); justify-self: center; padding: 24px; border: 1px solid #625070; border-radius: 20px; background: #1d1035; }
.team-profile-avatar { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: radial-gradient(ellipse at 65% 30%,#653c79,#2c1942 72%); color: #f6d9b7; font: 500 5rem/1 var(--heading); }
.team-profile-card p { margin-top: 22px; color: var(--accent); font-weight: 600; }
.team-profile-card h2 { margin-top: 8px; font-size: clamp(2rem,3vw,2.7rem); }
.team-profile-card > span { display: block; margin-top: 12px; color: var(--on-dark); }
.team-profile-intro { grid-template-columns: 1fr; gap: 22px; }
.team-profile-intro .team-copy { max-width: 850px; }
.team-profile-intro .team-copy p { max-width: none; }
.team-copy p + p { margin-top: 16px; }
.team-timeline { list-style: none; display: grid; gap: 0; margin: 0; padding: 0; }
.team-timeline li { display: grid; grid-template-columns: 170px minmax(0,1fr); gap: 30px; padding-bottom: 30px; }
.team-timeline li:last-child { padding-bottom: 0; }
.team-timeline li > span { color: var(--primary); font-weight: 700; }
.team-timeline li > div { position: relative; padding-left: 28px; border-left: 2px solid #e1d4ea; }
.team-timeline li > div::before { content: ''; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.team-timeline h3 { margin-bottom: 10px; }
.team-timeline p, .team-expertise p { color: var(--muted); }
.team-expertise { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.team-expertise article { padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.team-expertise p { margin-top: 14px; }
.team-back { margin-top: 28px; }
.team-final { padding-block: clamp(72px,8vw,100px); background: radial-gradient(ellipse at 78% 30%,#5b247ce6,transparent 60%),#100638; }
.team-final .wrap > div { max-width: 760px; }
.team-final p:not(.eyebrow) { margin-top: 22px; color: var(--on-dark); }
.team-final .cta-button { margin-top: 28px; }
@media (max-width: 1050px) { .team-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 800px) { .team-profile-hero { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 700px) { .team-expertise { grid-template-columns: 1fr; } .team-timeline li { grid-template-columns: 1fr; gap: 10px; } .team-timeline li > div { padding-left: 20px; } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } .team-final .cta-button { width: 100%; } }

.team-avatar img, .team-profile-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

.team-company { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.team-company-logo { display: grid; place-items: center; flex: 0 0 132px; width: 132px; height: 70px; padding: 0 6px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.team-company-logo img { width: 100%; max-height: 100%; object-fit: contain; }
.team-company-logo--dark { flex-basis: 70px; width: 70px; height: 70px; padding: 8px; background: #1d1035; }
.team-company h3 { margin: 0 0 4px; }
.team-roles { display: grid; gap: 14px; }
.team-roles article { padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: #faf8fd; }
.team-roles h4 { margin: 0 0 6px; font-size: 1rem; }
@media (max-width: 520px) { .team-company-logo { flex-basis: 100px; width: 100px; height: 60px; } .team-company-logo--dark { flex-basis: 60px; width: 60px; height: 60px; } }
