.team-section{position:relative;isolation:isolate;overflow:hidden;padding:64px 0 72px;background:#faf7f4;color:#111214;margin-top:24px}
.team-section::before{content:"";position:absolute;z-index:-1;width:650px;height:650px;right:-300px;top:-400px;border:1px solid #ff620035;border-radius:50%;box-shadow:0 0 0 70px #faf7f4,0 0 0 71px #ff620025;pointer-events:none}
.team-inner{width:min(calc(100% - 80px),1560px)}
.team-heading{text-align:center;margin:0 auto 34px;max-width:1220px}
.team-label{display:flex;align-items:center;justify-content:center;gap:14px;font-size:14px;font-weight:600;margin-bottom:10px;line-height:1.4}
.team-label::before,.team-label::after{content:"";height:2px;width:70px;background:var(--orange)}
.team-heading h2{font-size:28px;font-weight:700;line-height:1.3;letter-spacing:-.015em}
.team-heading h2>span{color:var(--orange)}
.team-description{font-size:14px;line-height:1.65;color:#55565a;margin:10px auto 0;text-wrap:pretty}
.team-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;padding-inline:36px}
.team-grid::before{content:"";position:absolute;z-index:-1;inset:85px 0 150px;background:#ff6b00;border-radius:36px}
.team-member{min-width:0;display:flex;flex-direction:column}
.team-portrait{height:clamp(270px,24vw,380px);display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.team-portrait img{height:100%;width:100%;object-fit:contain;object-position:center bottom;transition:transform .3s}
.team-member:hover .team-portrait img{transform:scale(1.02)}
.team-initial{display:grid;place-items:center;width:220px;height:220px;border-radius:50% 50% 0 0;background:#ffdfc5;color:#9b3800;font-size:100px;font-weight:750}
.team-info{position:relative;margin-top:-4px;flex:1;min-height:170px;text-align:center;background:#fffdfa;border:1px solid #ffffffd9;border-radius:30px;padding:22px 18px 26px;box-shadow:0 18px 28px #38271915}
.team-info h3{font-size:clamp(22px,2vw,31px);line-height:1.3;font-weight:750;letter-spacing:-.035em;overflow-wrap:anywhere}
.team-info>p{font-size:clamp(14px,1.4vw,21px);line-height:1.55;color:#444348;margin-top:4px;overflow-wrap:anywhere}
.team-rule{display:block;width:68px;height:4px;background:var(--orange);border-radius:4px;margin:18px auto}
.team-socials{display:flex;justify-content:center;align-items:center;gap:18px}
.team-socials a{display:grid;place-items:center;width:46px;height:46px;border:1px solid #e1dcd7;background:#fffdfa;border-radius:50%;font-size:20px;color:#171717;box-shadow:0 2px 5px #00000006;transition:background .2s,color .2s,transform .2s,border-color .2s}
.team-socials a:hover{background:var(--orange);color:#fff;border-color:var(--orange);transform:translateY(-2px)}
@media(max-width:1200px){.team-heading h2{font-size:26px}.team-description{font-size:13px}}
@media(max-width:1023px){.team-heading h2{font-size:25px}}
@media(max-width:767px){.team-heading h2{font-size:26px;line-height:1.35}}
@media(max-width:1000px){.team-inner{width:calc(100% - 48px)}.team-grid{gap:20px;padding-inline:20px}.team-portrait{height:280px}.team-grid::before{inset:70px 0 150px;border-radius:24px}.team-info{padding:20px 12px;border-radius:24px}.team-info h3{font-size:22px}.team-info>p{font-size:15px}.team-socials{gap:10px}.team-socials a{width:44px;height:44px;font-size:18px}}
@media(max-width:650px){.team-section{padding:44px 0 48px;margin-top:12px}.team-inner{width:calc(100% - 32px)}.team-heading{margin-bottom:26px}.team-label{font-size:14px;gap:14px}.team-label::before,.team-label::after{width:36px}.team-heading h2{font-size:26px}.team-description{font-size:13px;line-height:1.65;margin-top:10px}.team-grid{grid-template-columns:1fr;padding-inline:10px;gap:26px}.team-grid::before{display:none}.team-member{position:relative;isolation:isolate}.team-member::before{content:"";position:absolute;z-index:-1;inset:65px -10px 120px;background:#ff6b00;border-radius:24px}.team-portrait{height:320px}.team-info{min-height:150px;padding:20px 16px 24px}.team-info h3{font-size:26px}.team-info>p{font-size:16px}.team-rule{margin:16px auto}.team-socials{gap:16px}}
@media(prefers-reduced-motion:reduce){.team-portrait img,.team-socials a{transition:none}.team-member:hover .team-portrait img{transform:none}}

@media(max-width:480px){.team-heading h2{font-size:24px}}
