/* Team strip, team page, member profile. */
.team-strip{display:flex;flex-wrap:wrap;gap:1.5rem 1rem;justify-content:flex-start}
.team-strip li{inline-size:8.5rem;text-align:center}
.team-strip a{display:grid;gap:.15rem;text-decoration:none;justify-items:center}
.team-strip__photo{display:block;inline-size:7rem;block-size:7rem;overflow:hidden;border-radius:var(--shape-a);background:var(--ts-mist);transition:border-radius .7s var(--ease),transform .5s var(--ease)}
.team-strip li:nth-child(2n) .team-strip__photo{border-radius:var(--shape-b)}
.team-strip li:nth-child(3n) .team-strip__photo{border-radius:var(--shape-c)}
.team-strip a:hover .team-strip__photo{border-radius:50%;transform:translateY(-5px)}
.team-strip__img{inline-size:100%;block-size:100%;object-fit:cover;display:block}
.team-strip__name{font-weight:700;margin-block-start:.6rem}
.team-strip__role{font-size:.85rem;color:#4a5f50;line-height:1.5}

.people{display:grid;grid-template-columns:repeat(auto-fill,minmax(15rem,1fr));gap:2.2rem 1.6rem}
.person__link{display:block;text-decoration:none;padding:1.4rem 1.2rem 1.6rem;border-radius:var(--radius);background:rgba(255,255,255,.55);border:1px solid var(--ts-line);text-align:center;transition:transform .45s var(--ease),box-shadow .45s var(--ease),background .3s}
.person:nth-child(even) .person__link{margin-block-start:1.6rem}
.person__link:hover{transform:translateY(-6px);box-shadow:var(--shadow);background:#fff}
.person__photo{display:block;inline-size:8rem;block-size:8rem;margin:0 auto 1rem;overflow:hidden;border-radius:var(--shape-a);background:var(--ts-mist);transition:border-radius .7s var(--ease)}
.person:nth-child(3n+2) .person__photo{border-radius:var(--shape-b)}
.person:nth-child(3n) .person__photo{border-radius:var(--shape-c)}
.person__link:hover .person__photo{border-radius:50%}
.person__img{inline-size:100%;block-size:100%;object-fit:cover;display:block}
.person__name{margin-block-end:.1em}
.person__role{color:var(--ts-primary);font-weight:600;margin-block-end:.3em}
.person__count{font-size:.88rem;color:#4a5f50;margin-block-end:.4em}
.person__bio{font-size:.92rem;color:#35493c;margin:0}
@media (max-width:40em){.person:nth-child(even) .person__link{margin-block-start:0}}

.profile{background:var(--ts-mist);padding-block:clamp(2rem,5vw,4rem);border-radius:0 0 clamp(1.5rem,4vw,3.5rem) clamp(1.5rem,4vw,3.5rem)}
.profile__grid{display:grid;grid-template-columns:18rem 1fr;gap:clamp(1.5rem,4vw,4rem);align-items:center}
.profile__photo{inline-size:min(100%,18rem);aspect-ratio:1;overflow:hidden;border-radius:var(--shape-a);background:var(--ts-mist-2);animation:media-morph 12s ease-in-out infinite alternate}
.profile__img{inline-size:100%;block-size:100%;object-fit:cover;display:block}
.profile__crumb a{text-decoration:none;border-block-end:2px solid var(--ts-accent)}
.profile__role{font-size:1.2rem;color:var(--ts-primary);font-weight:700}
.profile__facts{display:flex;gap:2rem;flex-wrap:wrap;margin:1.2rem 0}
.profile__facts div{border-inline-start:3px solid var(--ts-accent);padding-inline-start:.8rem}
.profile__facts dt{font-size:.85rem;color:#4a5f50}
.profile__facts dd{margin:0;font-weight:800;font-size:1.3rem}
.socials{display:flex;flex-wrap:wrap;gap:.5rem;margin-block-start:1rem}
.socials a{display:block;padding:.25rem 1rem;border:1.5px solid var(--ts-ink);border-radius:2rem;text-decoration:none;font-weight:600;transition:background .2s,color .2s}
.socials a:hover{background:var(--ts-ink);color:#fff}
@media (max-width:52em){.profile__grid{grid-template-columns:1fr;justify-items:start}.profile__photo{inline-size:11rem}}
@media (prefers-reduced-motion:reduce){.profile__photo{animation:none}.person__link:hover,.team-strip a:hover .team-strip__photo{transform:none}}

/* ===== v2 ===== */
.people{padding-block-end:2.5rem}
.team-strip__photo,.person__photo{box-shadow:0 10px 24px -14px rgba(18,36,27,.5)}

/* ===== v3: عکس اعضا دایرهٔ کامل و صاف (بدون شکل موجی، بدون کج‌شدن و پله‌ای‌شدن) ===== */
.team-strip__photo,.team-strip li:nth-child(2n) .team-strip__photo,.team-strip li:nth-child(3n) .team-strip__photo,
.team-strip a:hover .team-strip__photo,
.person__photo,.person:nth-child(3n+2) .person__photo,.person:nth-child(3n) .person__photo,.person__link:hover .person__photo,
.profile__photo,.mini-person__img{border-radius:50%}
.team-strip__img,.person__img,.profile__img,.mini-person__img{object-fit:cover;object-position:center 30%}
.profile__photo{animation:none}
.person:nth-child(even) .person__link{margin-block-start:0}
.team-strip a:hover .team-strip__photo{transform:translateY(-4px)}
