/**
 * Scoped leadership-page presentation.
 */

.ych-leadership-page {
	overflow: clip;
	background: var(--ych-bg-primary);
	color: var(--ych-text-primary);
	font-family: var(--ych-font-body);
}

.ych-leadership-page *,
.ych-leadership-page *::before,
.ych-leadership-page *::after {
	box-sizing: border-box;
}

.ych-leadership-page :where(h1, h2, h3) {
	margin-top: 0;
	color: var(--ych-text-primary);
	font-family: var(--ych-font-heading);
	font-style: normal;
	font-weight: 700;
	text-wrap: balance;
}

.ych-leadership-page :where(p) {
	color: var(--ych-text-secondary);
	font-size: 0.9375rem;
	line-height: 1.7;
}

.ych-leadership-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-block: clamp(4rem, 6.5vw, 5.75rem);
	background:
		radial-gradient(circle at 82% 20%, rgba(154, 114, 208, 0.18), transparent 24rem),
		linear-gradient(120deg, #07111f, var(--ych-bg-primary) 55%, #101c31);
}

.ych-leadership-hero::after {
	position: absolute;
	z-index: -1;
	inset: auto -8rem -14rem auto;
	width: 34rem;
	height: 34rem;
	border-radius: 50%;
	background: rgba(120, 169, 228, 0.1);
	filter: blur(5rem);
	content: "";
	pointer-events: none;
}

.ych-leadership-hero__inner {
	display: flex;
	align-items: flex-start;
	flex-direction: column;
}

.ych-leadership-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-bottom: clamp(2.5rem, 4vw, 4rem);
	color: var(--ych-text-muted);
	font-family: var(--ych-font-body);
	font-size: 0.75rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
}

.ych-leadership-breadcrumb a {
	color: var(--ych-text-secondary);
	text-decoration: none;
}

.ych-leadership-breadcrumb a:hover {
	color: var(--ych-accent-blue);
}

.ych-leadership-breadcrumb a:focus-visible {
	outline: 0.1875rem solid var(--ych-focus);
	outline-offset: 0.25rem;
}

.ych-leadership-label,
.ych-profile-role {
	margin: 0 0 var(--ych-space-2);
	color: var(--ych-accent-blue) !important;
	font-family: var(--ych-font-body);
	font-size: 0.6875rem;
	font-style: normal;
	font-weight: 700;
	letter-spacing: 0.15em;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.ych-leadership-hero h1 {
	max-width: 14ch;
	margin-bottom: 0;
	font-size: clamp(3rem, 5vw, 4.5rem);
	letter-spacing: -0.048em;
	line-height: 0.94;
}

.ych-leadership-intro {
	padding-block: clamp(3.5rem, 5.5vw, 5rem);
	background: var(--ych-bg-secondary);
}

.ych-leadership-intro__panel {
	max-width: 62rem;
	padding: clamp(2rem, 4vw, 3.5rem);
	border: 0.0625rem solid var(--ych-border);
	border-left: 0.3rem solid var(--ych-accent-purple);
	border-radius: var(--ych-radius-panel);
	background:
		radial-gradient(circle at 92% 8%, rgba(154, 114, 208, 0.12), transparent 18rem),
		var(--ych-bg-card);
	box-shadow: var(--ych-shadow-medium);
}

.ych-leadership-intro__panel p {
	margin: 0 0 var(--ych-space-3);
}

.ych-leadership-intro__panel p:last-child {
	margin-bottom: 0;
}

.ych-leadership-intro__lead {
	color: var(--ych-text-primary) !important;
	font-family: var(--ych-font-body);
	font-size: clamp(1.05rem, 1.6vw, 1.3rem) !important;
	font-style: normal;
	font-weight: 700;
	line-height: 1.45 !important;
}

.ych-leadership-members {
	padding-block: clamp(4rem, 7vw, 6rem);
	background: var(--ych-bg-primary);
}

.ych-leadership-section-heading {
	max-width: 54rem;
	margin: 0 auto clamp(2.5rem, 4vw, 3.75rem);
	text-align: center;
}

.ych-leadership-section-heading h2 {
	margin-bottom: 0;
	font-size: var(--ych-type-h2);
	letter-spacing: -0.045em;
	line-height: 0.98;
}

.ych-profile-list {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ych-profile-list .ych-profile-card {
	display: grid;
	overflow: hidden;
	grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
	border: 0.0625rem solid var(--ych-border);
	border-radius: var(--ych-radius-panel);
	background: var(--ych-bg-card);
	box-shadow: var(--ych-shadow-medium);
}

.ych-profile-list .ych-profile-card--reverse .ych-profile-media {
	grid-column: 2;
}

.ych-profile-list .ych-profile-card--reverse .ych-profile-content {
	grid-column: 1;
	grid-row: 1;
}

.ych-profile-list .ych-profile-media {
	min-height: 28rem;
}

.ych-profile-list .ych-profile-content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: clamp(2rem, 4vw, 3.5rem);
}

.ych-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.5rem, 3vw, 2.5rem);
}

.ych-profile-grid .ych-profile-card {
	overflow: hidden;
	border: 0.0625rem solid var(--ych-border);
	border-radius: var(--ych-radius-panel);
	background: var(--ych-bg-card);
	box-shadow: var(--ych-shadow-medium);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ych-advisory-board-page .ych-profile-grid .ych-profile-card:last-child {
	width: calc(50% - clamp(0.75rem, 1.5vw, 1.25rem));
	grid-column: 1 / -1;
	justify-self: center;
}

.ych-profile-grid .ych-profile-media {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #0b1727;
}

.ych-profile-grid .ych-profile-content {
	padding: clamp(1.75rem, 3vw, 2.75rem);
}

.ych-profile-card h3 {
	margin-bottom: var(--ych-space-3);
	font-size: clamp(1.45rem, 2vw, 1.75rem);
	letter-spacing: -0.03em;
	line-height: 1.16;
}

.ych-profile-bio p {
	margin: 0 0 var(--ych-space-3);
}

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

.ych-profile-media {
	overflow: hidden;
	background: #0b1727;
}

.ych-profile-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.ych-profile-card:hover .ych-profile-image {
	transform: scale(1.025);
}

.ych-profile-grid .ych-profile-card:hover {
	border-color: var(--ych-border-strong);
	box-shadow: var(--ych-shadow-large);
	transform: translateY(-0.25rem);
}

@media (max-width: 64rem) {
	.ych-profile-list .ych-profile-card {
		grid-template-columns: minmax(16rem, 0.78fr) minmax(0, 1.22fr);
	}

	.ych-profile-list .ych-profile-media {
		min-height: 26rem;
	}
}

@media (max-width: 48rem) {
	.ych-profile-list .ych-profile-card,
	.ych-profile-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ych-profile-list .ych-profile-card--reverse .ych-profile-media,
	.ych-profile-list .ych-profile-card--reverse .ych-profile-content {
		grid-column: 1;
	}

	.ych-profile-list .ych-profile-card--reverse .ych-profile-media {
		grid-row: 1;
	}

	.ych-profile-list .ych-profile-card--reverse .ych-profile-content {
		grid-row: 2;
	}

	.ych-profile-list .ych-profile-media {
		min-height: 0;
		aspect-ratio: 4 / 5;
	}

	.ych-advisory-board-page .ych-profile-grid .ych-profile-card:last-child {
		width: auto;
		grid-column: auto;
	}

	.ych-profile-grid .ych-profile-media {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 36rem) {
	.ych-leadership-hero {
		padding-block: 4rem;
	}

	.ych-leadership-hero h1 {
		font-size: clamp(2.35rem, 11.25vw, 3.8rem);
	}

	.ych-leadership-section-heading h2 {
		font-size: clamp(2.75rem, 14vw, 4rem);
	}

	.ych-leadership-breadcrumb {
		margin-bottom: 3rem;
	}

	.ych-leadership-intro__panel,
	.ych-profile-list .ych-profile-content,
	.ych-profile-grid .ych-profile-content {
		padding: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ych-profile-image,
	.ych-profile-grid .ych-profile-card {
		transition: none;
	}

	.ych-profile-card:hover .ych-profile-image,
	.ych-profile-grid .ych-profile-card:hover {
		transform: none;
	}
}

@media (forced-colors: active) {
	.ych-leadership-intro__panel,
	.ych-profile-card {
		border: 0.125rem solid CanvasText;
	}
}

/*
 * Compact, editorial proportions across Founders, Advisory Board and Youth
 * Council pages.
 */
.ych-leadership-hero {
	padding-block: clamp(3.5rem, 5vw, 4.5rem);
}

.ych-leadership-breadcrumb {
	margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.ych-leadership-hero h1 {
	font-size: clamp(2.75rem, 4.25vw, 3.75rem);
	line-height: 0.96;
}

.ych-leadership-intro {
	padding-block: clamp(3rem, 4.5vw, 4rem);
}

.ych-leadership-intro__panel {
	padding: clamp(1.75rem, 3vw, 2.5rem);
}

.ych-leadership-members {
	padding-block: clamp(3.5rem, 5vw, 4.5rem);
}

.ych-leadership-section-heading {
	margin-bottom: clamp(2rem, 3vw, 2.75rem);
}

.ych-leadership-section-heading h2 {
	font-size: clamp(2.5rem, 4vw, 3.35rem);
}

.ych-profile-list {
	gap: clamp(1.25rem, 2vw, 1.75rem);
}

.ych-profile-list .ych-profile-media {
	min-height: 23rem;
}

.ych-profile-list .ych-profile-content,
.ych-profile-grid .ych-profile-content {
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
}

.ych-profile-grid {
	gap: clamp(1.25rem, 2vw, 1.75rem);
}

.ych-profile-card h3 {
	margin-bottom: 1rem;
	font-size: clamp(1.35rem, 1.8vw, 1.6rem);
}

.ych-profile-bio p {
	margin-bottom: 1rem;
}

@media (max-width: 42rem) {
	.ych-leadership-hero,
	.ych-leadership-intro,
	.ych-leadership-members {
		padding-block: 3rem;
	}

	.ych-leadership-hero h1,
	.ych-leadership-section-heading h2 {
		font-size: clamp(2.25rem, 10vw, 2.75rem);
	}

	.ych-leadership-intro__panel,
	.ych-profile-list .ych-profile-content,
	.ych-profile-grid .ych-profile-content {
		padding: 1.25rem;
	}
}

/*
 * Founders page refinement.
 *
 * The profile artwork is removed from grid sizing so portrait proportions stay
 * consistent when cards alternate direction. These rules are intentionally
 * scoped to the founders route; Advisory Board and Youth Council are unchanged.
 */
.ych-founders-page .ych-leadership-hero {
	display: grid;
	min-height: clamp(15rem, 23vw, 17.5rem);
	padding-block: 2rem;
	place-items: center;
	background:
		linear-gradient(rgba(5, 17, 34, 0.62), rgba(5, 17, 34, 0.72)),
		var(--ych-leadership-hero-image) center 44% / cover no-repeat,
		var(--ych-bg-primary);
}

.ych-founders-page .ych-leadership-hero::after {
	display: none;
}

.ych-founders-page .ych-leadership-hero__inner {
	align-items: center;
	justify-content: center;
	text-align: center;
}

.ych-founders-page .ych-leadership-breadcrumb,
.ych-founders-page .ych-leadership-hero .ych-leadership-label {
	display: none;
}

.ych-founders-page .ych-leadership-hero h1 {
	font-size: clamp(2.3rem, 3.4vw, 2.9rem);
	line-height: 1;
	text-shadow: 0 0.2rem 1.5rem rgba(0, 0, 0, 0.4);
}

.ych-founders-page .ych-leadership-intro {
	padding-block: clamp(1.75rem, 2.8vw, 2.25rem);
}

.ych-founders-page .ych-leadership-intro__panel {
	display: grid;
	max-width: none;
	grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
	gap: 0.7rem clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(1.25rem, 2vw, 1.65rem);
}

.ych-founders-page .ych-leadership-intro__statement {
	grid-column: 1;
	grid-row: 1 / span 4;
	margin: 0 !important;
	color: var(--ych-accent-blue) !important;
	font-size: clamp(1.05rem, 1.55vw, 1.25rem) !important;
	font-weight: 700;
	line-height: 1.45 !important;
}

.ych-founders-page .ych-leadership-intro__panel > p:not(.ych-leadership-intro__statement) {
	grid-column: 2;
}

.ych-founders-page .ych-leadership-intro__panel p {
	margin-bottom: 0;
	line-height: 1.58;
}

.ych-founders-page .ych-leadership-members {
	padding-block: clamp(2.25rem, 3.2vw, 2.75rem);
}

.ych-founders-page .ych-leadership-section-heading {
	margin-bottom: clamp(1.25rem, 2vw, 1.6rem);
}

.ych-founders-page .ych-leadership-section-heading h2 {
	font-size: clamp(2rem, 3vw, 2.5rem);
	line-height: 1.04;
}

.ych-founders-page .ych-profile-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.9rem, 1.6vw, 1.2rem);
}

.ych-founders-page .ych-profile-list .ych-profile-card,
.ych-founders-page .ych-profile-list .ych-profile-card--reverse {
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: auto 1fr;
}

.ych-founders-page .ych-profile-list .ych-profile-media {
	position: relative;
	grid-column: 1;
	grid-row: 1;
	height: auto;
	min-height: 0;
	aspect-ratio: 2.2 / 1;
}

.ych-founders-page .ych-profile-list .ych-profile-card--reverse .ych-profile-media {
	grid-column: 1;
	grid-row: 1;
}

.ych-founders-page .ych-profile-list .ych-profile-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-position: center 22%;
}

.ych-founders-page .ych-profile-list .ych-profile-content {
	grid-column: 1;
	grid-row: 2;
	justify-content: flex-start;
	padding: clamp(1.1rem, 1.8vw, 1.4rem);
}

.ych-founders-page .ych-profile-list .ych-profile-card--reverse .ych-profile-content {
	grid-column: 1;
	grid-row: 2;
}

.ych-founders-page .ych-profile-card h3 {
	margin-bottom: 0.6rem;
	font-size: clamp(1.25rem, 1.5vw, 1.4rem);
}

.ych-founders-page .ych-profile-bio {
	font-size: 0.9375rem;
	line-height: 1.58;
}

.ych-founders-page .ych-profile-bio p {
	margin-bottom: 0.65rem;
}

@media (max-width: 48rem) {
	.ych-founders-page .ych-leadership-intro__panel {
		grid-template-columns: 1fr;
		gap: 0.75rem;
	}

	.ych-founders-page .ych-leadership-intro__statement,
	.ych-founders-page .ych-leadership-intro__panel > p:not(.ych-leadership-intro__statement) {
		grid-column: 1;
		grid-row: auto;
	}

	.ych-founders-page .ych-profile-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ych-founders-page .ych-profile-list .ych-profile-media {
		aspect-ratio: 1.85 / 1;
	}
}

@media (max-width: 42rem) {
	.ych-founders-page .site-container {
		width: min(calc(100% - 2rem), var(--content-max-width));
	}

	.ych-founders-page .ych-leadership-hero,
	.ych-founders-page .ych-leadership-intro,
	.ych-founders-page .ych-leadership-members {
		padding-block: 1.4rem;
	}

	.ych-founders-page .ych-leadership-hero {
		min-height: 13rem;
	}

	.ych-founders-page .ych-leadership-hero h1 {
		font-size: clamp(2rem, 8vw, 2.2rem);
	}

	.ych-founders-page .ych-leadership-section-heading h2 {
		font-size: clamp(1.8rem, 7.5vw, 2rem);
	}

	.ych-founders-page .ych-leadership-intro__panel,
	.ych-founders-page .ych-profile-list .ych-profile-content {
		padding: 0.8rem;
	}

	.ych-founders-page .ych-leadership-intro__panel p {
		font-size: 0.9rem;
		line-height: 1.5;
	}

	.ych-founders-page .ych-profile-bio {
		font-size: 0.9rem;
		line-height: 1.5;
	}

	.ych-founders-page .ych-leadership-intro__statement {
		font-size: 0.95rem !important;
	}

	.ych-founders-page .ych-profile-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ych-founders-page .ych-profile-list .ych-profile-media {
		aspect-ratio: 2.2 / 1;
	}
}

/*
 * Live-content refinements for Advisory Board and Youth Council.
 *
 * Both routes use their original live banners and media in a compact two-column
 * editorial grid. Rules remain page-scoped so Founders is unaffected.
 */
:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-hero {
	display: grid;
	min-height: clamp(12.5rem, 18vw, 14.5rem);
	padding-block: 1.5rem;
	place-items: center;
	background:
		linear-gradient(rgba(5, 17, 34, 0.58), rgba(5, 17, 34, 0.7)),
		var(--ych-leadership-hero-image) center / cover no-repeat,
		var(--ych-bg-primary);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-hero::after {
	display: none;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-hero__inner {
	align-items: center;
	justify-content: center;
	text-align: center;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-breadcrumb,
:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-hero .ych-leadership-label {
	display: none;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-hero h1 {
	max-width: 18ch;
	font-size: clamp(2.05rem, 3vw, 2.55rem);
	line-height: 1;
	text-shadow: 0 0.2rem 1.5rem rgba(0, 0, 0, 0.42);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-intro {
	padding-block: clamp(1.15rem, 2vw, 1.6rem);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-intro__panel {
	max-width: 72rem;
	padding: clamp(0.9rem, 1.4vw, 1.15rem);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-intro__panel p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-members {
	padding-block: clamp(1.6rem, 2.4vw, 2.05rem);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-section-heading {
	margin-bottom: clamp(0.9rem, 1.4vw, 1.15rem);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-section-heading h2 {
	font-size: clamp(1.8rem, 2.6vw, 2.2rem);
	line-height: 1.04;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.7rem, 1.2vw, 0.95rem);
}

.ych-advisory-board-page .ych-profile-grid .ych-profile-card:last-child {
	width: auto;
	grid-column: auto;
	justify-self: stretch;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-card {
	display: flex;
	flex-direction: column;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-media {
	flex: 0 0 auto;
	aspect-ratio: 3 / 1;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-content {
	display: flex;
	flex: 1;
	align-items: flex-start;
	flex-direction: column;
	padding: clamp(0.85rem, 1.35vw, 1.1rem);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-content h3 {
	order: 1;
	margin-bottom: 0.25rem;
	font-size: clamp(1.2rem, 1.4vw, 1.32rem);
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-role {
	order: 2;
	margin-bottom: 0.5rem;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-bio {
	order: 3;
	font-size: 0.875rem;
	line-height: 1.5;
}

:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-bio p {
	margin-bottom: 0.45rem;
}

@media (max-width: 48rem) {
	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-media {
		aspect-ratio: 2.8 / 1;
	}
}

@media (max-width: 42rem) {
	:is(.ych-advisory-board-page, .ych-youth-council-page) .site-container {
		width: min(calc(100% - 1.5rem), var(--content-max-width));
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-hero {
		min-height: 11rem;
		padding-block: 1.1rem;
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-hero h1 {
		font-size: clamp(1.8rem, 7.5vw, 2rem);
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-intro,
	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-members {
		padding-block: 1rem;
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-intro__panel {
		padding: 0.7rem;
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-intro__panel p,
	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-bio {
		font-size: 0.875rem;
		line-height: 1.47;
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-leadership-section-heading h2 {
		font-size: clamp(1.65rem, 7vw, 1.85rem);
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-media {
		aspect-ratio: 3.2 / 1;
	}

	:is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-grid .ych-profile-content {
		padding: 0.7rem;
	}
}

/*
 * Premium combined team page.
 *
 * The parent route uses a single editorial hero and in-page navigation. Its
 * profile treatment is deliberately scoped so the three standalone leadership
 * pages retain their established layouts.
 */
.ych-team-overview {
	--ych-team-surface: #0d1b2d;
	--ych-team-surface-raised: #12233a;
	--ych-team-rule: rgba(137, 173, 224, 0.2);
	background: #07111f;
}

.ych-team-overview > .ych-inner-hero {
	position: relative;
	display: grid;
	min-height: clamp(25rem, 48vw, 38rem);
	overflow: hidden;
	align-items: end;
	background:
		radial-gradient(circle at 78% 25%, rgba(154, 114, 208, 0.3), transparent 22rem),
		radial-gradient(circle at 18% 78%, rgba(70, 156, 255, 0.16), transparent 26rem),
		linear-gradient(125deg, #050d18 5%, #0b1b31 55%, #17203d 100%);
}

.ych-team-overview > .ych-inner-hero::before {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 5rem 5rem,
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 5rem 5rem;
	content: "";
	mask-image: linear-gradient(to bottom, transparent, #000 34%, #000);
	pointer-events: none;
}

.ych-team-overview > .ych-inner-hero .ych-inner-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

.ych-team-overview > .ych-inner-hero .ych-page__label {
	margin-bottom: 1rem;
	color: var(--ych-accent-blue);
	letter-spacing: 0.18em;
}

.ych-team-overview > .ych-inner-hero h1 {
	max-width: 10ch;
	margin-bottom: 1.35rem;
	font-size: clamp(3.5rem, 7.2vw, 6.75rem);
	letter-spacing: -0.045em;
	line-height: 0.88;
}

.ych-team-overview > .ych-inner-hero .ych-inner-hero__lead {
	max-width: 42rem;
	margin: 0;
	color: #d6e3f4;
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	line-height: 1.65;
}

.ych-team-overview__nav {
	position: relative;
	z-index: 3;
	border-block: 1px solid var(--ych-team-rule);
	background: rgba(9, 22, 39, 0.96);
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.16);
}

.ych-team-overview__nav .site-container {
	display: flex;
	min-height: 6rem;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.ych-team-overview__nav-label {
	margin: 0;
	color: var(--ych-text-secondary);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ych-team-overview__nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ych-team-overview__nav-list a {
	display: inline-flex;
	min-height: 2.75rem;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 1rem;
	border: 1px solid var(--ych-team-rule);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.025);
	color: var(--ych-text-primary);
	font-size: 0.9rem;
	font-weight: 650;
	text-decoration: none;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ych-team-overview__nav-list a span:last-child {
	color: var(--ych-accent-blue);
}

.ych-team-overview__nav-list a:hover {
	border-color: var(--ych-accent-blue);
	background: rgba(70, 156, 255, 0.1);
	color: #fff;
	transform: translateY(-0.125rem);
}

.ych-team-overview__nav-list a:focus-visible {
	outline: 0.1875rem solid var(--ych-focus);
	outline-offset: 0.2rem;
}

.ych-team-section {
	position: relative;
	scroll-margin-top: 2rem;
	border-bottom: 1px solid var(--ych-team-rule);
	background: #081523;
}

.ych-team-section:nth-of-type(even) {
	background: #0a1828;
}

.ych-team-section__header {
	padding-top: clamp(4.5rem, 7vw, 7rem);
}

.ych-team-section__header .site-container {
	position: relative;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ych-team-rule);
}

.ych-team-section__header .site-container::before {
	position: absolute;
	top: -0.125rem;
	left: 0;
	width: clamp(4rem, 10vw, 8rem);
	height: 0.1875rem;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--ych-accent-blue), var(--ych-accent-purple));
	content: "";
}

.ych-team-section__header .ych-leadership-label {
	margin-bottom: 0.8rem;
}

.ych-team-section__header h2 {
	max-width: 16ch;
	margin: 0;
	color: var(--ych-text-primary);
	font-family: var(--ych-font-heading);
	font-size: clamp(2.75rem, 5.5vw, 5rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 0.95;
}

.ych-team-overview .ych-team-section .ych-leadership-intro {
	padding-block: clamp(2rem, 3.5vw, 3rem);
	background: transparent;
}

.ych-team-overview .ych-team-section .ych-leadership-intro__panel {
	max-width: none;
	padding: clamp(1.5rem, 3vw, 2.5rem);
	border: 1px solid var(--ych-team-rule);
	border-left: 0.25rem solid var(--ych-accent-purple);
	border-radius: var(--ych-radius-large);
	background:
		linear-gradient(135deg, rgba(70, 156, 255, 0.055), rgba(154, 114, 208, 0.065)),
		var(--ych-team-surface);
	box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.14);
}

.ych-team-overview .ych-team-section .ych-leadership-intro__panel p {
	color: #c8d6e8;
	font-size: 1rem;
	line-height: 1.7;
}

.ych-team-overview .ych-founders-page .ych-leadership-intro__statement {
	color: #8fc4ff !important;
	font-size: clamp(1.1rem, 1.75vw, 1.35rem) !important;
	line-height: 1.5 !important;
}

.ych-team-overview .ych-team-section .ych-leadership-members {
	padding-block: 0 clamp(5rem, 8vw, 8rem);
	background: transparent;
}

.ych-team-overview .ych-team-section .ych-leadership-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
	gap: 1rem;
}

.ych-team-overview .ych-team-section .ych-leadership-section-heading h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.65rem);
	letter-spacing: -0.025em;
}

.ych-team-overview .ych-profile-list,
.ych-team-overview .ych-profile-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.2vw, 2rem);
}

.ych-team-overview .ych-profile-card,
.ych-team-overview .ych-profile-list .ych-profile-card,
.ych-team-overview .ych-profile-list .ych-profile-card--reverse {
	display: flex;
	overflow: hidden;
	min-width: 0;
	flex-direction: column;
	border: 1px solid var(--ych-team-rule);
	border-radius: clamp(1rem, 2vw, 1.5rem);
	background: var(--ych-team-surface-raised);
	box-shadow: 0 1.25rem 3.5rem rgba(0, 0, 0, 0.16);
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.ych-team-overview .ych-profile-card:hover {
	border-color: rgba(119, 181, 255, 0.58);
	box-shadow: 0 1.75rem 4.5rem rgba(0, 0, 0, 0.25);
	transform: translateY(-0.3rem);
}

.ych-team-overview .ych-profile-media,
.ych-team-overview .ych-profile-list .ych-profile-media,
.ych-team-overview .ych-profile-grid .ych-profile-media {
	position: relative;
	height: auto;
	min-height: 0;
	aspect-ratio: 4 / 3;
	background: #07111f;
}

.ych-team-overview :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-media {
	aspect-ratio: 16 / 9;
}

.ych-team-overview .ych-profile-image,
.ych-team-overview .ych-profile-list .ych-profile-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ych-team-overview .ych-profile-list .ych-profile-content,
.ych-team-overview .ych-profile-grid .ych-profile-content {
	display: flex;
	flex: 1;
	align-items: flex-start;
	flex-direction: column;
	padding: clamp(1.35rem, 2.5vw, 2rem);
}

.ych-team-overview .ych-profile-role {
	order: 1;
	margin-bottom: 0.55rem;
	color: var(--ych-accent-blue);
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ych-team-overview .ych-profile-card h3 {
	order: 2;
	margin: 0 0 1rem;
	font-size: clamp(1.65rem, 2.6vw, 2.2rem);
	letter-spacing: -0.025em;
}

.ych-team-overview .ych-profile-bio {
	order: 3;
	color: #bdcce0;
	font-size: 0.96rem;
	line-height: 1.68;
}

.ych-team-overview .ych-profile-bio p {
	margin-bottom: 0.9rem;
}

@media (max-width: 64rem) {
	.ych-team-overview__nav .site-container {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 1.25rem;
	}
}

@media (max-width: 48rem) {
	.ych-team-overview > .ych-inner-hero {
		min-height: 28rem;
	}

	.ych-team-overview > .ych-inner-hero h1 {
		font-size: clamp(3.25rem, 14vw, 4.75rem);
	}

	.ych-team-overview .ych-profile-list,
	.ych-team-overview .ych-profile-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.ych-team-overview .ych-profile-media,
	.ych-team-overview .ych-profile-list .ych-profile-media,
	.ych-team-overview :is(.ych-advisory-board-page, .ych-youth-council-page) .ych-profile-media {
		aspect-ratio: 16 / 10;
	}
}

@media (max-width: 36rem) {
	.ych-team-overview > .ych-inner-hero .ych-inner-hero__inner {
		padding-block: 4rem;
	}

	.ych-team-overview__nav-list {
		display: grid;
		width: 100%;
		grid-template-columns: 1fr;
	}

	.ych-team-overview__nav-list a {
		justify-content: space-between;
	}

	.ych-team-section__header {
		padding-top: 4rem;
	}

	.ych-team-section__header h2 {
		font-size: clamp(2.5rem, 13vw, 3.5rem);
	}

	.ych-team-overview .ych-founders-page .ych-leadership-intro__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.ych-team-overview .ych-founders-page .ych-leadership-intro__statement,
	.ych-team-overview .ych-founders-page .ych-leadership-intro__panel > p:not(.ych-leadership-intro__statement) {
		grid-column: 1;
		grid-row: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ych-team-overview__nav-list a,
	.ych-team-overview .ych-profile-card {
		transition: none;
	}

	.ych-team-overview__nav-list a:hover,
	.ych-team-overview .ych-profile-card:hover {
		transform: none;
	}
}
