/**
 * Meet the Team page
 * Bright Horizons Psychiatry
 */

/* ——— Hero ——— */
.bhp-mtt-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 55% at 0% 0%, rgba(75, 190, 221, 0.12), transparent 55%),
		radial-gradient(ellipse 55% 45% at 100% 100%, rgba(1, 58, 101, 0.08), transparent 50%),
		var(--bhp-primary-light);
	color: var(--bhp-ink);
}

.bhp-mtt-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: clamp(1.75rem, 4vw, 3rem);
	padding-top: clamp(2.5rem, 6vw, 4.5rem);
	padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
	animation: bhp-mtt-rise 0.85s var(--bhp-ease-out) both;
}

@media (min-width: 992px) {
	.bhp-mtt-hero__inner {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
		gap: var(--bhp-space-16);
	}
}

.bhp-mtt-hero__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-4);
	max-width: 40rem;
}

.bhp-mtt-hero__aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--bhp-space-6);
	max-width: 28rem;
}

@media (min-width: 992px) {
	.bhp-mtt-hero__aside {
		align-items: flex-end;
		text-align: right;
		margin-left: auto;
	}
}

.bhp-mtt-hero__eyebrow {
	margin: 0;
	font-size: var(--bhp-fs-xs);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--bhp-primary);
}

.bhp-mtt-hero__title {
	margin: 0;
	font-size: clamp(2.15rem, 4.8vw, 3.4rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: 1.08;
	color: var(--bhp-primary-dark);
	text-wrap: balance;
}

.bhp-mtt-hero__lead {
	margin: 0;
	font-size: var(--bhp-fs-body-lg);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-snug);
	letter-spacing: var(--bhp-ls-tight);
	color: var(--bhp-ink);
	text-wrap: pretty;
}

.bhp-mtt-hero__text {
	margin: 0;
	font-size: var(--bhp-fs-base);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-relaxed);
	letter-spacing: var(--bhp-ls-tight);
	color: var(--bhp-ink-muted);
	text-wrap: pretty;
}

.bhp-mtt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--bhp-space-3);
}

@media (min-width: 992px) {
	.bhp-mtt-hero__actions {
		justify-content: flex-end;
	}
}

.bhp-mtt-hero__cta {
	border-radius: var(--bhp-btn-radius);
}

/* ——— CPT Grid ——— */
.bhp-mtt-grid {
	position: relative;
	padding-top: var(--bhp-section-y);
	padding-bottom: var(--bhp-section-y);
	background: var(--bhp-surface);
	overflow: hidden;
}

.bhp-mtt-grid::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 55% 50% at 0% 0%, rgba(1, 58, 101, 0.04), transparent 55%),
		radial-gradient(ellipse 45% 40% at 100% 100%, rgba(75, 190, 221, 0.06), transparent 55%);
}

.bhp-mtt-grid__header {
	position: relative;
	z-index: 1;
	margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.bhp-mtt-grid__title {
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 2.25rem);
	font-weight: var(--bhp-fw-bold);
	letter-spacing: var(--bhp-ls-tight);
	line-height: var(--bhp-lh-tight);
	color: var(--bhp-ink);
}

.bhp-mtt-grid__list {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--bhp-space-4);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.bhp-mtt-grid__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--bhp-space-5);
	}
}

@media (min-width: 1100px) {
	.bhp-mtt-grid__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1400px) {
	.bhp-mtt-grid__list {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

.bhp-mtt-grid__item {
	min-width: 0;
}

/* ——— Card ——— */
.bhp-mtt-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	background: var(--bhp-surface-soft);
}

.bhp-mtt-card:hover,
.bhp-mtt-card:focus-visible {
	color: inherit;
	outline: none;
}

.bhp-mtt-card:focus-visible {
	box-shadow: 0 0 0 3px rgba(75, 190, 221, 0.45);
	z-index: 1;
}

.bhp-mtt-card__photo {
	position: relative;
	aspect-ratio: 6 / 7;
	overflow: hidden;
	background: linear-gradient(160deg, #d5e3ee 0%, #b8cddc 100%);
}

.bhp-mtt-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	transition: transform var(--bhp-transition-slow);
}

.bhp-mtt-card:hover .bhp-mtt-card__photo img,
.bhp-mtt-card:focus-visible .bhp-mtt-card__photo img {
	transform: scale(1.04);
}

.bhp-mtt-card__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: var(--bhp-fw-semibold);
	letter-spacing: var(--bhp-ls-tight);
	color: var(--bhp-primary);
	opacity: 0.55;
}

.bhp-mtt-card__meta {
	display: flex;
	flex-direction: column;
	gap: var(--bhp-space-1);
	padding: var(--bhp-space-4) var(--bhp-space-4) var(--bhp-space-5) 0;
	background: var(--bhp-white);
}

.bhp-mtt-card__name {
	margin: 0;
	font-size: var(--bhp-fs-md);
	font-weight: var(--bhp-fw-semibold);
	line-height: var(--bhp-lh-snug);
	letter-spacing: var(--bhp-ls-tight);
	color: var(--bhp-ink);
}

.bhp-mtt-card__role {
	margin: 0;
	font-size: var(--bhp-fs-sm);
	font-weight: var(--bhp-fw-medium);
	line-height: var(--bhp-lh-snug);
	letter-spacing: var(--bhp-ls-normal);
	color: var(--bhp-ink-muted);
}

@keyframes bhp-mtt-rise {
	from {
		opacity: 0;
		transform: translateY(0.85rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 575px) {
	.bhp-mtt-hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.bhp-mtt-hero__actions .bhp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bhp-mtt-hero__inner {
		animation: none;
	}

	.bhp-mtt-card__photo img {
		transition: none;
	}

	.bhp-mtt-card:hover .bhp-mtt-card__photo img,
	.bhp-mtt-card:focus-visible .bhp-mtt-card__photo img {
		transform: none;
	}
}
