/* Team and profile block. */
.team-block { padding: 80px 0; background: var(--fa-color-background); }
.team-block__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 80px; align-items: end; margin-bottom: 44px; }
.team-block__eyebrow { margin: 0 0 14px; color: var(--fa-color-primary); font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.team-block__title { max-width: 760px; margin: 0; color: var(--fa-color-text); font-size: 46px; line-height: 1.08; font-weight: 500; letter-spacing: -.045em; }
.team-block__title em { color: var(--fa-color-primary); font-style: normal; }
.team-block__text { max-width: 500px; color: rgba(0, 0, 0, .65); font-size: 15px; line-height: 1.7; }
.team-block__text > :first-child { margin-top: 0; }
.team-block__text > :last-child { margin-bottom: 0; }
.team-block__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-block__grid--1 { grid-template-columns: minmax(0, 1fr); }
.team-block__member { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr); min-height: 400px; overflow: hidden; background: rgba(242, 248, 252, .92); border: 1px solid rgba(0, 101, 177, .14); border-radius: 22px; box-shadow: 0 20px 50px rgba(0, 45, 79, .08); }
.team-block__grid:not(.team-block__grid--1) .team-block__member { grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr); }
.team-block__photo { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100%; overflow: hidden; color: var(--fa-color-primary); background: var(--fa-color-primary-light); border-right: 1px solid rgba(0, 101, 177, .12); }
.team-block__photo::after { position: absolute; inset: 0; content: ''; pointer-events: none; background: linear-gradient(180deg, rgba(0, 101, 177, .02), rgba(0, 52, 92, .1)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26); }
.team-block__image { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: saturate(.88) contrast(1.04); transform: scale(1.015); }
.team-block__initial { font-size: 96px; font-weight: 700; opacity: .35; }
.team-block__content { position: relative; display: flex; flex-direction: column; padding: 38px; overflow: hidden; }
.team-block__content::after { position: absolute; right: -160px; bottom: -215px; width: 380px; height: 380px; content: ''; border: 1px solid rgba(0, 101, 177, .14); border-radius: 50%; box-shadow: 0 0 0 48px rgba(0, 101, 177, .025), 0 0 0 96px rgba(0, 101, 177, .018); pointer-events: none; }
.team-block__content > * { position: relative; z-index: 1; }
.team-block__heading { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; }
.team-block__name { margin: 0; font-size: 28px; line-height: 1.2; }
.team-block__role { margin: 7px 0 0; color: var(--fa-color-primary); font-size: 14px; font-weight: 700; }
.team-block__bio { margin-top: 28px; color: rgba(0, 0, 0, .68); font-size: 14px; line-height: 1.75; }
.team-block__bio > :first-child { margin-top: 0; }
.team-block__bio > :last-child { margin-bottom: 0; }
.team-block__links { display: flex; gap: 10px; margin-top: auto; padding-top: 28px; }
.team-block__links a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; color: var(--fa-color-primary); background: rgba(255, 255, 255, .7); border: 1px solid rgba(0, 101, 177, .28); border-radius: 50%; text-decoration: none; transition: color .25s ease, background-color .25s ease, transform .25s ease; }
.team-block__links a:hover { color: #fff; background: var(--fa-color-primary); transform: translateY(-2px); }
.team-block__links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.team-block__links .team-block__linkedin-icon { fill: currentColor; stroke: none; }
@media (max-width: 1000px) {
	.team-block__intro { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.team-block__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.team-block__links a { transition: none; }
}
@media (max-width: 650px) {
	.team-block { padding: 64px 0; }
	.team-block__title { font-size: 36px; }
	.team-block__member { grid-template-columns: minmax(0, 1fr); }
	.team-block__grid:not(.team-block__grid--1) .team-block__member { grid-template-columns: minmax(0, 1fr); }
	.team-block__photo { min-height: 320px; }
	.team-block__content { padding: 28px; }
	.team-block__text, .team-block__bio { font-size: 15px; }
	.team-block__role { font-size: 14px; }
}
