/* The team shares the site's glass, cream typography and purple dusk palette. */
.team-section { position: relative; overflow: hidden; background: linear-gradient(145deg,rgba(64,55,76,.83),rgba(25,29,36,.86) 62%); }
.team-section::before { content: ""; position: absolute; width: 540px; height: 440px; top: -260px; right: -120px; border-radius: 50%; background: radial-gradient(ellipse,rgba(172,143,207,.18),transparent 68%); pointer-events: none; }
.team-heading { position: relative; margin-bottom: 30px; }
.team-heading h2 { max-width: none; }
.team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.team-member { position: relative; min-width: 0; display: flex; flex-direction: column; border: 1px solid rgba(234,220,245,.19); border-radius: 18px; overflow: hidden; background: linear-gradient(165deg,rgba(230,217,242,.065),rgba(10,17,23,.28)); box-shadow: inset 0 1px rgba(255,255,255,.12),0 14px 34px rgba(0,0,0,.1); }
.team-art { position: relative; aspect-ratio: 1; isolation: isolate; overflow: hidden; border-bottom: 1px solid rgba(234,220,245,.12); background: #17191e; }
.team-portrait { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.team-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(29,22,41,.06) 40%,rgba(37,31,47,.16) 75%,rgba(37,31,47,.72)); box-shadow: inset 0 0 0 1px rgba(245,235,255,.08); }
.team-glow { position: absolute; inset: 60% -35% -35%; z-index: 1; pointer-events: none; opacity: .55; background: radial-gradient(ellipse at 38% 40%,rgba(161,134,193,.48),transparent 44%),radial-gradient(ellipse at 68% 65%,rgba(109,128,157,.28),transparent 48%); animation: team-haze 14s ease-in-out infinite alternate; animation-play-state: paused; }
.team-member:nth-child(2) .team-glow { background: radial-gradient(ellipse at 60% 40%,rgba(180,144,179,.43),transparent 43%),radial-gradient(ellipse at 25% 72%,rgba(110,145,157,.28),transparent 48%); animation-delay: -5s; }
.team-member:nth-child(3) .team-glow { background: radial-gradient(ellipse at 32% 60%,rgba(126,140,190,.48),transparent 44%),radial-gradient(ellipse at 75% 38%,rgba(187,146,184,.32),transparent 46%); animation-delay: -9s; }
.team-section.is-team-inview .team-glow { animation-play-state: running; }
.team-art-index { position: absolute; z-index: 2; top: 16px; left: 17px; color: rgba(236,228,212,.85); font: 10px var(--f-mono); letter-spacing: .12em; padding: 7px 9px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; background: rgba(24,22,32,.38); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.team-info { padding: 24px 21px 21px; flex: 1; display: flex; flex-direction: column; }
.team-role { font: 500 9px/1.6 var(--f-mono); color: #EFA78B; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 7px; }
.team-info h3 { font: 500 27px/1.3 var(--f-display); letter-spacing: -.025em; }
.team-experience { color: #C8BDD7; font: 400 10px/1.6 var(--f-mono); margin-top: 13px; }
.team-bio { font: 400 13px/1.8 var(--f-body); color: rgba(236,228,212,.76); margin: 13px 0 23px; }
.team-profile-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin-top: auto; border-top: 1px solid rgba(236,228,212,.14); padding-top: 15px; color: rgba(236,228,212,.76); text-decoration: none; font: 400 10px/1.4 var(--f-mono); letter-spacing: .04em; }
.team-profile-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.3; transition: transform .25s; }
.team-profile-link:hover { color: #ECE4D4; }
.team-profile-link:hover svg { transform: translate(2px,-2px); }
.team-profile-note { margin-top: auto; padding-top: 15px; min-height: 44px; border-top: 1px solid rgba(236,228,212,.14); color: rgba(236,228,212,.45); font: 400 10px/1.4 var(--f-mono); letter-spacing: .04em; display: flex; align-items: center; }
.team-section.is-team-ready .team-member { opacity: 0; transform: translateY(22px); transition: opacity .85s ease,transform .85s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--team-order,0) * 110ms); }
.team-section.is-team-visible .team-member { opacity: 1; transform: translateY(0); }
@media (hover: hover) { .team-member:hover .team-portrait { transform: scale(1.035); } }
@keyframes team-haze { from { transform: translate(-4%,2%) rotate(-8deg); } to { transform: translate(6%,-4%) rotate(12deg); } }
@media (max-width: 840px) and (min-width: 641px) { .team-grid { gap: 10px; } .team-info { padding: 20px 15px 16px; } .team-info h3 { font-size: 23px; } .team-bio { font-size: 12px; } }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; gap: 18px; } .team-heading { margin-bottom: 25px; } .team-info { padding: 25px; } .team-info h3 { font-size: 29px; } .team-bio { font-size: 14px; margin-bottom: 18px; } .team-role { font-size: 10px; } .team-experience { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) and (min-width: 901px) and (pointer: fine) { .team-glow { animation: none; } .team-section.is-team-ready .team-member,.team-portrait { transition: none; } }
