/* Compact portrait gallery with details on hover, focus or tap. */
.expertise-people.people-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 12px;padding:12px 0;align-items:start}
.people-gallery article{position:relative;min-width:0;transform:rotate(-1.3deg);transition:transform .3s}
.people-gallery article:nth-child(3n+2){transform:rotate(1.3deg) translateY(5px)}
.people-gallery article:nth-child(3n){transform:rotate(-.4deg) translateY(-3px)}
.people-gallery article[hidden]{display:none}
.person-card{display:block;position:relative;width:100%;min-width:0;height:300px;overflow:hidden;border:1px solid #ffffff14;border-radius:12px;background:#111b27;text-align:left;color:#fff;font:inherit;padding:0;cursor:pointer;isolation:isolate;box-shadow:0 8px 22px #00000018}
.expertise-people .person-card img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center 25%;border-radius:0;transition:transform .55s cubic-bezier(.2,.7,.3,1),filter .35s}
.person-card::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,transparent 30%,#0d141d35 50%,#0d141df5 100%);transition:background .3s}
.person-identity{position:absolute;inset:auto 12px 16px;z-index:1;display:block}
.person-name{display:block;font-size:18px;line-height:1.13;letter-spacing:-.03em;text-wrap:balance}
.person-role{display:block;font-size:12px;line-height:1.35;color:#d1d7e1;margin-top:6px}
.person-details{display:block;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .25s,transform .3s;max-height:0;overflow:hidden}
.person-area{display:block;font-size:11px;line-height:1.3;color:#b9caff;margin:14px 0 8px}
.person-description{display:block;font-size:12px;line-height:1.4;color:#e0e4eb}
.person-hint{position:absolute;top:10px;right:10px;z-index:1;display:grid;place-items:center;width:25px;height:25px;border:1px solid #ffffff50;background:#0d141d90;border-radius:50%;font-size:18px;transition:transform .3s}
.person-card.is-open::after{background:linear-gradient(180deg,#0d141d35,#0d141dee 44%,#0d141d 100%)}
.person-card.is-open img{transform:scale(1.055);filter:brightness(.72)}
.person-card.is-open .person-details{opacity:1;visibility:visible;transform:none;max-height:260px}
.person-card.is-open .person-hint{transform:rotate(45deg)}
.people-gallery article:focus-within,.people-gallery article:has(.is-open){transform:translateY(-5px) rotate(0);z-index:2}
.person-card:focus-visible,.team-gallery-toggle:focus-visible{outline:2px solid #a4b9fd;outline-offset:4px}
.team-gallery-action{display:flex;justify-content:center;margin-top:28px}
.team-gallery-toggle{border:1px solid #49566c;border-radius:99px;color:#fdfdfd;background:transparent;font:inherit;font-size:14px;padding:14px 23px;min-height:48px;cursor:pointer;transition:background .2s,border-color .2s}
.team-gallery-toggle:hover{background:#1c2940;border-color:#a4b9fd}
.reality-section{background:#111b27;color:#fdfdfd;padding:72px 0;scroll-margin-top:24px}
.reality-section .expertise-field{max-width:1000px;margin:0 auto;padding:0;border:0;border-radius:0;background:transparent;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:64px}
.reality-section .expertise-field h3{max-width:18ch}
.reality-section .expertise-field figure{width:100%;max-width:360px;justify-self:center}
.reality-section .expertise-field video{max-height:640px}
@media(max-width:1100px) and (min-width:761px){.expertise-people.people-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 12px}.person-card{height:290px}}
@media(max-width:760px){
.expertise-people.people-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.person-card{height:300px}.person-name{font-size:18px}.person-role{font-size:12px}.person-identity{inset:auto 12px 16px}.person-area{font-size:11px}.person-description{font-size:12px}
.reality-section{padding:48px 0}.reality-section .expertise-field{grid-template-columns:minmax(0,1fr);gap:32px}.reality-section .expertise-field figure{justify-self:center;max-width:360px}
}
@media(max-width:360px){.person-card{height:350px}}
@media(prefers-reduced-motion:reduce){.people-gallery article,.person-card img,.person-card::after,.person-details,.person-hint,.team-gallery-toggle{transition:none}.person-card.is-open img{transform:none}}

