.team{padding-top:70px}.team h1{font-size:clamp(40px,5.2vw,72px);font-weight:700;letter-spacing:-.055em;line-height:1.03;margin:0}.team h1 span{color:var(--blue)}
.people .person{grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:start;overflow:visible}
.people .person:nth-child(2){grid-template-columns:minmax(0,1.2fr) minmax(240px,.8fr)}
.people .portrait-photo{position:sticky;top:116px;height:min(660px,calc(100svh - 140px));min-height:0;align-self:start}
.people .person-body{min-width:0;align-self:start;padding:36px clamp(24px,3vw,46px)}
.profile-details{margin:26px 0}.profile-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid #10111420;padding-bottom:10px;margin-bottom:24px}
.profile-tab{appearance:none;background:transparent;border:1px solid transparent;color:#595b64;border-radius:30px;padding:11px 13px;min-height:44px;font:inherit;font-size:11px;font-weight:650;cursor:pointer;transition:background .2s,color .2s}
.profile-tab:hover{background:#182dff0b;color:var(--blue)}.profile-tab[aria-selected="true"]{background:var(--blue);color:#fff}
.profile-panel[hidden]{display:none!important}.profile-panel{overflow-wrap:anywhere;animation:profile-in .25s ease}
.profile-panel p,.profile-panel li{font-size:14px;line-height:1.85;color:#53555d}.profile-panel p{margin:0 0 18px}.profile-panel h4{font-size:14px;color:#101114;margin:24px 0 12px;line-height:1.5}.profile-panel h4:first-child{margin-top:0}
.profile-panel a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.profile-list{list-style:none;padding:0;margin:0}.profile-list li{padding:16px 0;border-bottom:1px solid #10111415}.profile-list li:first-child{padding-top:0}.profile-list strong{display:block;color:#101114;margin-bottom:5px;font-size:14px}
.profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 22px}.profile-stats>div{display:flex;flex-direction:column-reverse;justify-content:end;gap:9px;padding:18px;background:#f5f5f7;border:1px solid #10111408}.profile-stats dt{font-size:11px;line-height:1.5;color:#60616a}.profile-stats dd{font-size:36px;font-weight:750;color:var(--blue);letter-spacing:-.06em;margin:0}.profile-stats>div:last-child:nth-child(odd){grid-column:1 / -1}
.profile-tags{display:flex;flex-wrap:wrap;gap:7px;margin:16px 0 24px}.profile-tags span{border:1px solid #10111420;padding:8px 10px;font-size:11px;line-height:1.4;background:#fafafa;border-radius:3px}
.profile-timeline>div{border-left:2px solid #182dff24;padding:0 0 22px 18px}.profile-timeline>div>span{font-size:10px;font-weight:750;letter-spacing:.1em;color:var(--blue)}.profile-timeline h4{margin:8px 0}.profile-timeline p{margin-bottom:0}
@keyframes profile-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:800px){.team{padding-top:40px}.people .person,.people .person:nth-child(2){grid-template-columns:1fr}.people .portrait-photo,.people .person:nth-child(2) .portrait-photo{position:relative;top:auto;height:auto;aspect-ratio:1;grid-column:1;grid-row:1}.people .person-body,.people .person:nth-child(2) .person-body{grid-column:1;grid-row:2;padding:28px 22px}.profile-tab{padding:10px 12px;font-size:11px}.profile-panel p,.profile-panel li{font-size:14px;line-height:1.8}.profile-stats>div{padding:14px}.profile-stats dd{font-size:32px}}
@media(prefers-reduced-motion:reduce){.profile-panel{animation:none}}

.people .person-body>h2{font-size:clamp(36px,4.2vw,60px);font-weight:700;line-height:1.05;letter-spacing:-.06em;margin:0 0 18px}
@media(max-width:800px){.people .person-body>h2{font-size:40px}}

@media(max-width:800px){.profile-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.profile-tab{width:100%}}

#zespol>.section-top{grid-template-columns:1fr}
