.team-page {
	padding: 24px 0 8px;
}

.team-page__intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: end;
	padding: 28px;
	margin-bottom: 24px;
	border-radius: 28px;
	background: linear-gradient(135deg, rgba(11, 122, 117, 0.1), rgba(27, 94, 140, 0.05));
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.team-page__eyebrow,
.team-org__eyebrow {
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 12px;
	font-weight: 700;
	color: #0b7a75;
}

.team-page__title {
	font-family: Poppins-Bold, Montserrat-Regular, sans-serif;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.05;
	color: #102a43;
	margin-bottom: 14px;
}

.team-page__lede {
	max-width: 760px;
	font-size: 1.05rem;
	line-height: 1.75;
	color: #52606d;
}

.team-page__stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(120px, 1fr));
	gap: 14px;
}

.team-stat {
	min-width: 140px;
	padding: 18px 20px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.team-stat__value {
	display: block;
	font-family: Poppins-Bold, Montserrat-Regular, sans-serif;
	font-size: 2rem;
	line-height: 1;
	color: #102a43;
}

.team-stat__label {
	display: block;
	margin-top: 6px;
	font-size: 0.92rem;
	color: #52606d;
}

.team-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 32px;
}

.team-nav__tag {
	display: inline-block;
	padding: 7px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(15, 23, 42, 0.14);
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
	color: #102a43;
	font-size: 0.92rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.team-nav__tag:hover {
	background: #0b7a75;
	color: #fff;
	border-color: #0b7a75;
	box-shadow: 0 4px 16px rgba(11, 122, 117, 0.22);
	text-decoration: none;
}

.team-sections {
	display: grid;
	gap: 28px;
}

.team-org {
	padding: 24px;
	border-radius: 30px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 255, 0.98));
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 24px 58px rgba(15, 23, 42, 0.08);
	position: relative;
	overflow: hidden;
}

.team-org::before {
	content: '';
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 6px;
	background: var(--team-accent, #0b7a75);
}

.team-org__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 10px;
}

.team-org__title {
	font-family: Poppins-Bold, Montserrat-Regular, sans-serif;
	font-size: clamp(1.5rem, 2.5vw, 2.15rem);
	line-height: 1.1;
	color: #102a43;
}

.team-org__meta {
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(11, 122, 117, 0.1);
	color: var(--team-accent, #0b7a75);
	font-size: 0.9rem;
	font-weight: 700;
	white-space: nowrap;
}

.team-org__summary {
	max-width: 860px;
	margin-bottom: 18px;
	color: #52606d;
	font-size: 1rem;
	line-height: 1.7;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px;
}

.team-card {
	grid-column: span 4;
	display: grid;
	grid-template-rows: auto 1fr;
	min-height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.team-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
	border-color: rgba(11, 122, 117, 0.22);
}

.team-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: linear-gradient(135deg, rgba(11, 122, 117, 0.2), rgba(27, 94, 140, 0.08));
	overflow: hidden;
}

.team-card__media::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 26%;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75));
}

.team-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.team-card__body {
	padding: 18px 18px 20px;
	display: grid;
	gap: 8px;
}

.team-card__eyebrow {
	font-size: 0.8rem;
	line-height: 1.45;
	color: #52606d;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.team-card__name {
	font-family: Poppins-Bold, Montserrat-Regular, sans-serif;
	font-size: 1.12rem;
	line-height: 1.2;
	color: #102a43;
}

.team-card__role {
	color: #334e68;
	font-size: 0.98rem;
	line-height: 1.55;
}

.team-card__activity {
	padding-top: 4px;
	color: #0b7a75;
	font-size: 0.92rem;
	font-weight: 700;
}

@media (max-width: 991px) {
	.team-page__intro {
		grid-template-columns: 1fr;
	}

	.team-card,
	.team-card--featured {
		grid-column: span 4;
	}
}

@media (max-width: 767px) {
	.team-page {
		padding-top: 12px;
	}

	.team-org {
		padding: 18px;
		border-radius: 22px;
	}

	.team-grid {
		grid-template-columns: 1fr;
	}

	.team-card,
	.team-card--featured {
		grid-column: span 1;
	}

	.team-org__header {
		flex-direction: column;
	}

	.team-org__meta,
	.team-page__stats {
		width: 100%;
	}
}
