:root {
	--ac3d-ink: #313433;
	--ac3d-purple: #2D0966;
	--ac3d-purple-hover: #3b0b85;
	--ac3d-muted: #666a69;
	--ac3d-line: #e3e4e4;
	--ac3d-soft: #f4f4f5;
	--ac3d-white: #ffffff;
}

.ac3d-team-page,
.ac3d-team-profile-page,
.ac3d-team-page *,
.ac3d-team-profile-page * {
	box-sizing: border-box;
}

.ac3d-team-page,
.ac3d-team-profile-page {
	background: var(--ac3d-white);
	color: var(--ac3d-ink);
	font-family: "Nunito Sans", Sans-serif;
}

.ac3d-team-shell,
.ac3d-profile-shell {
	width: min(1160px, calc(100% - 48px));
	margin-inline: auto;
}

/* -----------------------------
   Team directory
   ----------------------------- */
.ac3d-team-hero {
	padding: 0;
}

/* Full-width / end-to-end banner to match the site's other hero sections. */
.ac3d-team-banner {
	position: relative;
	width: 100%;
	height: clamp(360px, 31vw, 560px);
	margin: 0;
	overflow: hidden;
	background: #d9d9d9;
}

.ac3d-team-banner::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(17, 17, 17, .03), rgba(17, 17, 17, .11));
	pointer-events: none;
}

.ac3d-team-banner img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 49%;
}

.ac3d-team-intro {
	position: relative;
	padding: 50px 0 18px;
	text-align: center;
}

.ac3d-team-intro::before {
	content: "";
	position: absolute;
	top: 31px;
	left: 50%;
	width: 48px;
	height: 3px;
	transform: translateX(-50%);
	background: var(--ac3d-purple);
}

.ac3d-team-intro h1,
.ac3d-team-card h2,
.ac3d-profile-heading h1 {
	margin: 0;
	color: var(--ac3d-ink);
	font-family: "Oswald", Sans-serif;
	font-weight: 600;
}

.ac3d-team-intro h1 {
	font-size: clamp(38px, 4.6vw, 56px);
	line-height: 1.05;
	letter-spacing: -.015em;
}

.ac3d-team-intro p {
	margin: 12px 0 0;
	color: #515554;
	font-size: clamp(17px, 1.8vw, 20px);
	line-height: 1.5;
}

.ac3d-team-directory {
	padding: 28px 0 104px;
}

.ac3d-team-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 32px;
	row-gap: 64px;
}

.ac3d-team-card {
	min-width: 0;
}

.ac3d-team-photo-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.ac3d-team-photo-wrap {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: linear-gradient(135deg, #f1f1f1, #e3e4e4);
}

.ac3d-team-photo-wrap::after {
	content: "";
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 0 1px rgba(49, 52, 51, .06);
	pointer-events: none;
}

.ac3d-team-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 18%;
	transition: transform .35s ease, filter .35s ease;
}

.ac3d-team-photo-link:hover .ac3d-team-photo,
.ac3d-team-photo-link:focus-visible .ac3d-team-photo {
	transform: scale(1.025);
	filter: contrast(1.015);
}

.ac3d-team-card-body {
	padding: 20px 1px 0;
}

.ac3d-team-name-row {
	display: flex;
	align-items: center;
	gap: 9px;
}

.ac3d-team-card h2 {
	font-size: clamp(23px, 2vw, 29px);
	line-height: 1.13;
}

.ac3d-team-card h2 a {
	color: inherit;
	text-decoration: none;
}

.ac3d-team-card h2 a:hover,
.ac3d-team-card h2 a:focus-visible {
	color: var(--ac3d-purple);
}

.ac3d-team-linkedin {
	display: inline-grid;
	place-items: center;
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(45, 9, 102, .20);
	border-radius: 50%;
	color: var(--ac3d-purple);
	font-size: 14px;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.ac3d-team-linkedin:hover,
.ac3d-team-linkedin:focus-visible {
	background: var(--ac3d-purple);
	color: var(--ac3d-white);
	transform: translateY(-1px);
}

.ac3d-team-role {
	min-height: 43px;
	margin: 7px 0 14px;
	color: var(--ac3d-purple);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
}

.ac3d-team-excerpt {
	margin: 0;
	color: var(--ac3d-ink);
	font-size: 15px;
	line-height: 1.68;
}

.ac3d-team-read-bio {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 19px;
	padding: 11px 16px;
	border: 1px solid var(--ac3d-purple);
	background: var(--ac3d-purple);
	color: var(--ac3d-white);
	font-family: "Nunito Sans", Sans-serif;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: .01em;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.ac3d-team-read-bio:hover,
.ac3d-team-read-bio:focus-visible {
	border-color: var(--ac3d-purple-hover);
	background: var(--ac3d-purple-hover);
	color: var(--ac3d-white);
	box-shadow: 0 8px 22px rgba(45, 9, 102, .14);
	transform: translateY(-1px);
}

.ac3d-team-read-bio i {
	font-size: 11px;
	transition: transform .2s ease;
}

.ac3d-team-read-bio:hover i,
.ac3d-team-read-bio:focus-visible i {
	transform: translateX(3px);
}

/* -----------------------------
   Individual bio page
   ----------------------------- */
.ac3d-profile-topbar {
	background: var(--ac3d-white);
	border-bottom: 1px solid #d9dada;
}

.ac3d-profile-back {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 18px 0 16px;
	color: var(--ac3d-ink);
	font-size: 17px;
	font-weight: 700;
	text-decoration: none;
}

.ac3d-profile-back i {
	color: var(--ac3d-purple);
	font-size: 13px;
	transition: transform .2s ease;
}

.ac3d-profile-back:hover,
.ac3d-profile-back:focus-visible {
	color: var(--ac3d-purple);
}

.ac3d-profile-back:hover i,
.ac3d-profile-back:focus-visible i {
	transform: translateX(-3px);
}

.ac3d-profile-hero {
	background:
		radial-gradient(circle at 78% 48%, rgba(45, 9, 102, .045), transparent 29%),
		#f3f3f4;
}

.ac3d-profile-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(370px, .9fr);
	align-items: center;
	gap: 70px;
	min-height: 440px;
}

.ac3d-profile-heading {
	padding: 68px 0;
}

.ac3d-profile-heading h1 {
	font-size: clamp(42px, 5vw, 64px);
	line-height: 1.02;
	letter-spacing: -.018em;
}

.ac3d-profile-role {
	max-width: 610px;
	margin: 14px 0 0;
	color: var(--ac3d-ink);
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.22;
}

.ac3d-profile-linkedin {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 24px;
	padding: 9px 14px;
	border: 1px solid rgba(45, 9, 102, .24);
	color: var(--ac3d-purple);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ac3d-profile-linkedin:hover,
.ac3d-profile-linkedin:focus-visible {
	border-color: var(--ac3d-purple);
	background: var(--ac3d-purple);
	color: var(--ac3d-white);
}

.ac3d-profile-photo-wrap {
	align-self: end;
	justify-self: end;
	width: min(420px, 100%);
	margin-top: 36px;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #e5e5e6;
	box-shadow: inset 0 0 0 1px rgba(49, 52, 51, .06);
}

.ac3d-profile-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 17%;
}

.ac3d-profile-content {
	background: var(--ac3d-white);
	padding: 62px 0 82px;
}

.ac3d-profile-bio-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 72px;
	align-items: start;
}

.ac3d-profile-bio-column p {
	margin: 0 0 24px;
	color: var(--ac3d-ink);
	font-size: 17px;
	line-height: 1.7;
}

.ac3d-profile-bio-column p:last-child {
	margin-bottom: 0;
}

/* Emphasize the opening bio paragraph, matching the stronger lead treatment from the original concept. */
.ac3d-profile-bio-column .ac3d-profile-bio-lead {
	margin: 0 0 30px;
	padding: 18px 22px;
	border-left: 4px solid var(--ac3d-purple);
	background: rgba(45, 9, 102, .055);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.65;
}

.ac3d-profile-bottom-nav {
	border-top: 1px solid var(--ac3d-line);
	background: #fafafa;
}

.ac3d-profile-bottom-nav a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 22px 0;
	color: var(--ac3d-purple);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.ac3d-profile-bottom-nav a i {
	font-size: 11px;
	transition: transform .2s ease;
}

.ac3d-profile-bottom-nav a:hover i,
.ac3d-profile-bottom-nav a:focus-visible i {
	transform: translateX(-3px);
}

@media (max-width: 1024px) {
	.ac3d-team-shell,
	.ac3d-profile-shell {
		width: min(100% - 40px, 980px);
	}

	.ac3d-team-banner {
		height: clamp(320px, 42vw, 470px);
	}

	.ac3d-team-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 30px;
		row-gap: 54px;
	}

	.ac3d-team-role {
		min-height: 0;
	}

	.ac3d-profile-hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(310px, .8fr);
		gap: 38px;
		min-height: 400px;
	}

	.ac3d-profile-photo-wrap {
		width: min(360px, 100%);
	}

	.ac3d-profile-bio-grid {
		gap: 44px;
	}
}

@media (max-width: 720px) {
	.ac3d-team-shell,
	.ac3d-profile-shell {
		width: min(100% - 30px, 620px);
	}

	.ac3d-team-banner {
		height: 280px;
	}

	.ac3d-team-banner img {
		object-position: center 50%;
	}

	.ac3d-team-intro {
		padding: 43px 0 8px;
	}

	.ac3d-team-intro::before {
		top: 26px;
	}

	.ac3d-team-directory {
		padding: 24px 0 72px;
	}

	.ac3d-team-grid {
		grid-template-columns: 1fr;
		row-gap: 48px;
	}

	.ac3d-team-card-body {
		padding-top: 17px;
	}

	.ac3d-team-excerpt {
		font-size: 15px;
	}

	.ac3d-profile-back {
		font-size: 15px;
	}

	.ac3d-profile-hero-grid {
		grid-template-columns: 1fr;
		gap: 0;
		min-height: 0;
		padding-top: 0;
	}

	.ac3d-profile-heading {
		padding: 46px 0 30px;
	}

	.ac3d-profile-role {
		font-size: 22px;
	}

	.ac3d-profile-photo-wrap {
		justify-self: stretch;
		width: 100%;
		max-width: 520px;
		margin: 0 auto;
		aspect-ratio: 1 / 1;
	}

	.ac3d-profile-content {
		padding: 44px 0 60px;
	}

	.ac3d-profile-bio-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.ac3d-profile-bio-column p {
		font-size: 16px;
		line-height: 1.68;
	}
}

@media (max-width: 420px) {
	.ac3d-team-banner {
		height: 230px;
	}

	.ac3d-team-intro h1 {
		font-size: 36px;
	}

	.ac3d-team-card h2 {
		font-size: 25px;
	}

	.ac3d-profile-heading h1 {
		font-size: 40px;
	}
}
