#vbio-team {
	--vbio-green: #00733C;
	--vbio-green-dark: #005A2F;
	--vbio-orange: #F58220;
	--vbio-ink: #1c2b24;
	--vbio-muted: #5b6b64;

	box-sizing: border-box;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}
#vbio-team *, #vbio-team *::before, #vbio-team *::after {
	box-sizing: border-box;
}

.vbio-team__eyebrow {
	margin: 0 0 30px;
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--vbio-orange);
	padding-bottom: 14px;
	border-bottom: 1px solid #e7e7e7;
	position: relative;
}

.vbio-team__eyebrow::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 44px;
	height: 3px;
	background: var(--vbio-green);
}

.vbio-team__panel {
	background: #eef3f0;
	border-radius: 16px;
	padding: clamp(24px, 5vw, 56px);
}

.vbio-team__heading {
	text-align: center;
	margin: 0 0 12px;
	font-size: clamp(1.3rem, 2.4vw, 1.75rem);
	font-weight: 700;
	color: var(--vbio-orange);
}

.vbio-team__underline {
	display: block;
	width: 60px;
	height: 3px;
	border-radius: 2px;
	background: var(--vbio-green);
	margin: 0 auto 22px;
}

.vbio-team__subtitle {
	max-width: 640px;
	margin: 0 auto 40px;
	text-align: center;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--vbio-ink);
}

.vbio-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.vbio-team__card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 25px -18px rgba(0, 30, 15, 0.35);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vbio-team__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 38px -18px rgba(0, 30, 15, 0.4);
}

.vbio-team__photo {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.vbio-team__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.vbio-team__card:hover .vbio-team__photo img {
	transform: scale(1.08);
}

.vbio-team__photo--placeholder {
	background: linear-gradient(135deg, var(--vbio-green-dark), var(--vbio-green) 60%, #0c3d24);
}

.vbio-team__body {
	padding: 20px 22px 24px;
}

.vbio-team__name {
	margin: 0 0 4px;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--vbio-ink);
}

.vbio-team__role {
	display: block;
	margin: 0 0 14px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--vbio-green-dark);
}

.vbio-team__desc {
	margin: 0 0 18px;
	font-size: 0.92rem;
	line-height: 1.65;
	color: var(--vbio-muted);
}

.vbio-team__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vbio-team__tags li {
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(245, 130, 32, 0.14);
	color: var(--vbio-orange);
	font-size: 0.78rem;
	font-weight: 700;
	transition: background 0.3s ease, color 0.3s ease;
}

.vbio-team__card:hover .vbio-team__tags li {
	background: var(--vbio-orange);
	color: #fff;
}

/* ---------- Scroll reveal (shared markers with the About section) ----------
   --vbio-card-y is each card's permanent resting offset (0 by default, -30px
   for the featured card below). The reveal animation slides in relative to
   that resting position instead of overwriting it with translateY(0). */
#vbio-team [data-vbio-reveal] {
	--vbio-card-y: 0px;
	opacity: 0;
	transition: opacity 0.7s ease, transform 0.7s ease;
	transform: translateY(calc(var(--vbio-card-y) + 28px));
}
#vbio-team [data-vbio-reveal].vbio-in-view {
	opacity: 1;
	transform: translateY(var(--vbio-card-y));
}
#vbio-team [data-vbio-delay="1"] { transition-delay: 0.1s; }
#vbio-team [data-vbio-delay="2"] { transition-delay: 0.2s; }
#vbio-team [data-vbio-delay="3"] { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
	#vbio-team [data-vbio-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
	.vbio-team__card,
	.vbio-team__photo img,
	.vbio-team__tags li {
		transition: none !important;
	}
}

/* Nguyễn Hải Châu's card is permanently lifted above the other two, on both
   desktop and tablet. It sets the --vbio-card-y resting offset the reveal
   rule above reads from, so the lift survives the scroll-in animation
   instead of being reset by it. */
#vbio-team .vbio-team__card--featured {
	--vbio-card-y: -30px;
}

#vbio-team .vbio-team__card--featured:hover {
	transform: translateY(-38px) !important; /* base lift + the usual hover raise on top */
}

/* ---------- Responsive ---------- */
/* Tablet keeps 3 columns (down to the point mobile takes over at 600px). */

@media (max-width: 600px) {
	.vbio-team__grid {
		grid-template-columns: 1fr;
	}
	.vbio-team__card:hover {
		transform: none;
	}

	/* Stacked on mobile: the lift doesn't make sense anymore, reset it. */
	#vbio-team .vbio-team__card--featured {
		--vbio-card-y: 0px;
	}
	#vbio-team .vbio-team__card--featured:hover {
		transform: none !important;
	}

	/* Nguyễn Hải Châu's card goes first on mobile. */
	.vbio-team__card--featured {
		order: -1;
	}
}
