.about-team {
	position: relative;
	display: none;
	overflow: clip;
	padding: clamp(6.5rem, 11vw, 11rem) 0 clamp(7rem, 12vw, 12rem);
	border-top: 1px solid rgba(166, 132, 74, 0.28);
	background: #050c18;
	color: #f1f2f4;
}

.about-team::after {
	position: absolute;
	top: clamp(0.5rem, 2vw, 2rem);
	right: -0.03em;
	color: rgba(241, 242, 244, 0.026);
	font-family: var(--ldh-serif);
	font-size: clamp(8rem, 17vw, 18rem);
	font-weight: 400;
	letter-spacing: -0.07em;
	line-height: 0.8;
	content: "People";
	pointer-events: none;
}

.about-team__shell {
	position: relative;
	z-index: 1;
	width: min(calc(100% - (2 * var(--ldh-gutter))), 1440px);
	margin-inline: auto;
}

.about-team__intro {
	display: grid;
	grid-template-columns: clamp(3rem, 6vw, 5.5rem) minmax(0, 1.15fr) minmax(18rem, 0.7fr);
	gap: clamp(2rem, 5vw, 6rem);
	align-items: start;
}

.about-team__section-number {
	display: grid;
	place-items: center;
	width: clamp(2.5rem, 4vw, 3.5rem);
	aspect-ratio: 1;
	border: 1px solid rgba(201, 164, 90, 0.52);
	border-radius: 50%;
	color: #c9a45a;
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.15em;
}

.about-team__heading {
	min-width: 0;
}

.about-team__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	margin: 0 0 1.35rem;
	color: #c9a45a;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.45;
	text-transform: uppercase;
}

.about-team__eyebrow::before {
	width: 2.5rem;
	height: 1px;
	background: currentColor;
	content: "";
}

.about-team__title {
	max-width: 11ch;
	margin: 0;
	font-family: var(--ldh-serif);
	font-size: clamp(2.3rem, 4.2vw, 4.65rem);
	font-weight: 400;
	letter-spacing: -0.055em;
	line-height: 0.95;
	text-wrap: balance;
}

.about-team__copy {
	align-self: end;
	max-width: 31rem;
	margin-bottom: 0.4rem;
	padding-left: clamp(1.25rem, 2.5vw, 2.25rem);
	border-left: 1px solid #a6844a;
	color: rgba(241, 242, 244, 0.7);
	font-size: clamp(0.96rem, 1.2vw, 1.05rem);
	line-height: 1.78;
}

.about-team__copy > :last-child {
	margin-bottom: 0;
}

.about-team__directory-note {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
	margin-top: clamp(3.5rem, 7vw, 6rem);
	padding: 1.1rem 0;
	border-top: 1px solid rgba(241, 242, 244, 0.12);
	border-bottom: 1px solid rgba(241, 242, 244, 0.12);
	color: rgba(241, 242, 244, 0.48);
	font-size: 0.59rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.about-team__directory-line {
	height: 1px;
	background: linear-gradient(90deg, rgba(166, 132, 74, 0.55), rgba(166, 132, 74, 0.08));
	flex: 1 1 auto;
}

.about-team__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.5rem, 2.6vw, 2.6rem) clamp(1rem, 2vw, 2rem);
	margin-top: clamp(2.25rem, 4vw, 3.5rem);
}

.about-team__empty {
	grid-column: 1 / -1;
	padding: 3rem;
	border: 1px solid rgba(241, 242, 244, 0.14);
	color: rgba(241, 242, 244, 0.68);
	text-align: center;
}

.team-card {
	position: relative;
	min-width: 0;
	background: transparent;
}

.team-card__trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.team-card__trigger:focus-visible {
	outline-color: #c9a45a;
}

.team-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 4.65;
	background: #111c2a;
}

.team-card__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 17, 29, 0.02), rgba(8, 17, 29, 0.18));
	content: "";
	pointer-events: none;
	transition: opacity 280ms ease;
}

.team-card__index {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.8rem;
	aspect-ratio: 1;
	border-right: 1px solid rgba(241, 242, 244, 0.12);
	border-bottom: 1px solid rgba(241, 242, 244, 0.12);
	background: rgba(8, 17, 29, 0.82);
	color: #c9a45a;
	font-size: 0.57rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	backdrop-filter: blur(8px);
}

.team-card__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: saturate(0.82) contrast(1.01);
	transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 350ms ease;
}

.team-card__content {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem;
	align-items: end;
	min-height: 8.5rem;
	padding: 1.25rem 0 1.4rem;
	border-bottom: 1px solid rgba(241, 242, 244, 0.16);
}

.team-card__content::after {
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 0;
	height: 2px;
	background: #a6844a;
	content: "";
	transition: width 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-card__identity {
	min-width: 0;
}

.team-card__role {
	margin: 0 0 0.55rem;
	color: #c9a45a;
	font-size: 0.59rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.45;
	text-transform: uppercase;
}

.team-card__name {
	margin: 0;
	font-family: var(--ldh-serif);
	font-size: clamp(1.45rem, 2vw, 2rem);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: #f7f2ea;
}

.team-card__more {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding-bottom: 0.2rem;
	color: rgba(241, 242, 244, 0.52);
	font-size: 0.56rem;
	font-weight: 600;
	letter-spacing: 0.13em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
	transition: color 200ms ease, transform 200ms ease;
}

.team-card__more::after {
	width: 0.5rem;
	height: 0.5rem;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	content: "";
	transform: rotate(45deg);
}

.team-card:hover .team-card__image,
.team-card__trigger:focus-visible .team-card__image {
	filter: saturate(1) contrast(1.02);
	transform: scale(1.035);
}

.team-card:hover .team-card__media::after,
.team-card__trigger:focus-visible .team-card__media::after {
	opacity: 0.35;
}

.team-card:hover .team-card__content::after,
.team-card__trigger:focus-visible .team-card__content::after {
	width: 100%;
}

.team-card:hover .team-card__more,
.team-card__trigger:focus-visible .team-card__more {
	color: #c9a45a;
	transform: translateX(0.2rem);
}

body.team-modal-is-open {
	overflow: hidden;
}

.team-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: grid;
	place-items: center;
	padding: 1.25rem;
}

.team-modal[hidden] {
	display: none;
}

.team-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 8, 18, 0.84);
	backdrop-filter: blur(10px);
}

.team-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	width: min(100%, 78rem);
	max-height: calc(100dvh - 2.5rem);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0.35rem;
	background: #0c1624;
	box-shadow: 0 30px 80px rgba(4, 10, 19, 0.32);
	overflow: hidden;
}

.team-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.7rem;
	height: 2.7rem;
	padding: 0;
	border: 1px solid rgba(241, 242, 244, 0.22);
	border-radius: 50%;
	background: rgba(17, 28, 42, 0.9);
	color: #f1f2f4;
	font-size: 1.45rem;
	line-height: 1;
	cursor: pointer;
	backdrop-filter: blur(8px);
}

.team-modal__close:hover {
	border-color: #c9a45a;
	color: #c9a45a;
}

.team-modal__close:focus-visible {
	outline-color: #c9a45a;
}

.team-modal__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
	align-items: stretch;
	flex: 1 1 auto;
	min-height: 0;
	max-height: calc(100dvh - 2.5rem);
	overflow: hidden;
}

.team-modal__media {
	position: relative;
	min-width: 0;
	min-height: 0;
	background: #111c2a;
}

.team-modal__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 32rem;
	object-fit: cover;
	object-position: center;
}

.team-modal__content {
	display: flex;
	min-width: 0;
	min-height: 0;
	height: 100%;
	max-height: 100%;
	padding: clamp(2rem, 4vw, 3.5rem) clamp(1.2rem, 2.5vw, 2.2rem) clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 4.5rem);
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}

.team-modal__content--top-aligned {
	justify-content: flex-start;
}

.team-modal__content-stack {
	display: flex;
	width: 100%;
	height: 100%;
	max-height: 100%;
	min-height: 0;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
}

.team-modal__content-stack--top-aligned {
	justify-content: flex-start;
}

.team-modal__content-head {
	flex: 0 0 auto;
}

.team-modal__content-scroll {
	width: calc(100% - clamp(0.6rem, 1vw, 0.9rem));
	min-width: 0;
	min-height: 0;
	max-height: 100%;
	margin-top: 1.35rem;
	padding-right: 0.75rem;
	flex: 1 1 auto;
	overflow-y: auto;
	scrollbar-color: rgba(201, 164, 90, 0.78) rgba(241, 242, 244, 0.08);
	scrollbar-gutter: stable;
	scrollbar-width: thin;
}

.team-modal__content-scroll::-webkit-scrollbar {
	width: 0.6rem;
}

.team-modal__content-scroll::-webkit-scrollbar-track {
	background: rgba(241, 242, 244, 0.06);
}

.team-modal__content-scroll::-webkit-scrollbar-thumb {
	border: 2px solid transparent;
	background: #a6844a;
	background-clip: padding-box;
}

.team-modal__role {
	margin: 0;
	color: #c9a45a;
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.17em;
	line-height: 1.4;
	text-transform: uppercase;
}

.team-modal__title {
	max-width: 12ch;
	margin: 0.9rem 0 0;
	font-family: var(--ldh-serif);
	font-size: clamp(2.4rem, 4vw, 4.2rem);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 0.96;
	color: #f7f2ea;
}

.team-modal__linkedin {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 0.6rem;
	margin-top: 1.1rem;
	color: #c9a45a;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.team-modal__linkedin[hidden] {
	display: none;
}

.team-modal__linkedin-icon {
	display: inline-flex;
	width: 1rem;
	height: 1rem;
}

.team-modal__linkedin-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.team-modal__linkedin-text {
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.team-modal__linkedin:hover {
	color: #e1c58f;
}

.team-modal__description {
	margin: 0;
	color: rgba(241, 242, 244, 0.78);
	font-size: 0.98rem;
	line-height: 1.78;
	white-space: pre-line;
}

@media (max-width: 1050px) {
	.about-team__intro {
		grid-template-columns: clamp(3rem, 6vw, 5rem) minmax(0, 1fr);
	}

	.about-team__copy {
		grid-column: 2;
		max-width: 45rem;
		margin-top: 0.75rem;
	}

	.about-team__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.team-modal {
		padding: 1rem;
	}

	.team-modal__dialog,
	.team-modal__layout {
		max-height: calc(100dvh - 2rem);
	}

	.team-modal__layout {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	}

	.team-modal__image {
		min-height: 24rem;
	}
}

@media (max-width: 680px) {
	.about-team {
		padding: 5rem 0 6rem;
	}

	.about-team::after {
		top: 1.5rem;
		font-size: 30vw;
	}

	.about-team__intro {
		display: block;
	}

	.about-team__section-number {
		margin-bottom: 2rem;
	}

	.about-team__title {
		font-size: clamp(2.05rem, 9.45vw, 3.15rem);
	}

	.about-team__copy {
		max-width: none;
		margin-top: 2rem;
		padding-left: 1.25rem;
	}

	.about-team__directory-note {
		align-items: flex-start;
		margin-top: 3rem;
		flex-direction: column;
		gap: 0.45rem;
	}

	.about-team__directory-line {
		display: none;
	}

	.about-team__grid {
		grid-template-columns: 1fr;
		gap: 2.25rem;
		margin-top: 2rem;
	}

	.team-card__media {
		aspect-ratio: 4 / 4.35;
	}

	.team-card__content {
		min-height: 7.8rem;
	}

	.team-modal {
		align-items: center;
		padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem max(0.75rem, env(safe-area-inset-bottom));
		overflow: hidden;
	}

	.team-modal__dialog {
		width: 100%;
		max-height: calc(100dvh - max(1.5rem, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
		border-radius: 0.25rem;
	}

	.team-modal__close {
		top: 0.8rem;
		right: 0.8rem;
		width: 2.45rem;
		height: 2.45rem;
	}

	.team-modal__layout {
		display: block;
		max-height: calc(100dvh - max(1.5rem, env(safe-area-inset-top) + env(safe-area-inset-bottom)));
		overflow-y: auto;
	}

	.team-modal__image {
		width: 100%;
		height: auto;
		min-height: 0;
		aspect-ratio: 4 / 4.1;
		object-position: center top;
	}

	.team-modal__content {
		width: 100%;
		height: auto;
		padding: 1.5rem 1.15rem 1.7rem;
		overflow: visible;
	}

	.team-modal__content-scroll {
		width: 100%;
		height: auto;
		max-height: none;
		margin-top: 1rem;
		padding-right: 0;
		overflow: visible;
	}

	.team-modal__title {
		font-size: 2.25rem;
		line-height: 1;
	}

	.team-modal__description {
		font-size: 0.94rem;
		line-height: 1.7;
	}
}

@media (prefers-reduced-motion: reduce) {
	.team-card__image,
	.team-card__content::after,
	.team-card__more,
	.team-card__media::after {
		transition: none;
	}
}
