.page_masthead {
	--board-navy: #0a2d4d;
	--board-blue: #0b7fc2;
	--board-sky: #30b6ea;
	--board-red: #ef4454;
	--board-ink: #12263a;
	--board-muted: #5c6f82;
	--board-line: rgba(18, 72, 111, 0.13);
	--board-paper: #ffffff;
	--board-soft: #eef7fc;
}

.page_masthead .main__header {
	margin-bottom: 1.15rem;
}

.page_masthead .main__title {
	max-width: 48rem;
	margin-bottom: 0;
	font-size: clamp(2.15rem, 5vw, 3.45rem);
	line-height: 1.02;
	letter-spacing: -0.035em;
	color: var(--board-navy);
}

.page_masthead .masthead-intro {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.34fr);
	gap: 1.25rem;
	margin-bottom: 2.4rem;
	padding: clamp(1.25rem, 3vw, 2rem);
	border-radius: 24px;
	background:
		radial-gradient(circle at 88% 10%, rgba(48, 182, 234, 0.32), transparent 30%),
		linear-gradient(135deg, #082944 0%, #0b4f78 58%, #087da6 100%);
	border: 1px solid rgba(143, 219, 255, 0.28);
	box-shadow: 0 24px 60px rgba(5, 34, 56, 0.2);
}

.page_masthead .masthead-intro::before,
.page_masthead .masthead-intro::after {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: 999px;
	pointer-events: none;
}

.page_masthead .masthead-intro::before {
	right: -5rem;
	bottom: -8.5rem;
	width: 20rem;
	height: 20rem;
	border: 1px solid rgba(255, 255, 255, 0.13);
	box-shadow: 0 0 0 2.3rem rgba(255, 255, 255, 0.035);
}

.page_masthead .masthead-intro::after {
	left: 1.8rem;
	bottom: 0;
	width: 5.5rem;
	height: 3px;
	background: linear-gradient(90deg, var(--board-sky) 0 68%, var(--board-red) 68%);
}

.page_masthead .masthead-intro__eyebrow {
	gap: 0.45rem;
	align-items: center;
	margin-bottom: 0.8rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.72rem;
	letter-spacing: 0.09em;
}

.page_masthead .masthead-intro__eyebrow::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: #65d6ff;
	box-shadow: 0 0 0 4px rgba(101, 214, 255, 0.13);
}

.page_masthead .masthead-intro__content p {
	max-width: 46rem;
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	line-height: 1.7;
}

.page_masthead .masthead-intro__meta {
	align-self: stretch;
	padding: 1.1rem;
	border-radius: 18px;
	backdrop-filter: blur(8px);
}

.page_masthead .masthead-intro__meta dt {
	letter-spacing: 0.08em;
}

.page_masthead .masthead-intro__meta dd {
	line-height: 1.5;
}

.page_masthead .mj-board {
	position: relative;
}

.page_masthead .mj-board__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin: 0 0 1.15rem;
}

.page_masthead .mj-board__summary-copy {
	max-width: 42rem;
}

.page_masthead .mj-board__eyebrow {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--board-blue);
	font-size: 0.73rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.page_masthead .mj-board__title {
	margin: 0;
	color: var(--board-navy);
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.page_masthead .mj-board__count {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.45rem;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: #e9f7fd;
	border: 1px solid rgba(11, 127, 194, 0.16);
	color: #075c8a;
	font-size: 0.82rem;
	font-weight: 800;
	white-space: nowrap;
}

.page_masthead .mj-board__count::before {
	content: "";
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--board-sky);
	box-shadow: 0 0 0 4px rgba(48, 182, 234, 0.15);
}

.page_masthead .mj-leads,
.page_masthead .mj-grid {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.page_masthead .mj-leads {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 2.6rem;
}

.page_masthead .mj-grid {
	counter-reset: board-member 2;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.9rem;
}

.page_masthead .mj-card {
	position: relative;
	display: grid;
	grid-template-columns: 156px minmax(0, 1fr);
	gap: 1rem;
	min-width: 0;
	min-height: 176px;
	margin: 0;
	padding: 0.9rem;
	overflow: hidden;
	border-radius: 20px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 254, 0.96));
	border: 1px solid var(--board-line);
	box-shadow: 0 12px 30px rgba(14, 53, 80, 0.08);
	transition:
		transform 180ms ease,
		box-shadow 180ms ease,
		border-color 180ms ease;
}

.page_masthead .mj-grid .mj-card {
	counter-increment: board-member;
}

.page_masthead .mj-grid .mj-card::after {
	content: counter(board-member, decimal-leading-zero);
	position: absolute;
	right: 0.9rem;
	top: 0.7rem;
	color: rgba(10, 45, 77, 0.1);
	font-family: "Work Sans", sans-serif;
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.page_masthead .mj-card:hover {
	transform: translateY(-3px);
	border-color: rgba(11, 127, 194, 0.28);
	box-shadow: 0 20px 42px rgba(14, 53, 80, 0.13);
}

.page_masthead .mj-leads .mj-card {
	grid-template-columns: 176px minmax(0, 1fr);
	min-height: 202px;
	padding: 1rem;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(233, 247, 253, 0.96));
	border-color: rgba(11, 127, 194, 0.2);
	box-shadow: 0 16px 38px rgba(14, 53, 80, 0.11);
}

.page_masthead .mj-photo-wrap {
	position: relative;
	align-self: start;
	aspect-ratio: 4 / 3;
	min-height: 0;
	padding: 6px;
	overflow: hidden;
	border: 1px solid rgba(11, 127, 194, 0.2);
	border-radius: 16px;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(222, 241, 250, 0.92));
	box-shadow:
		0 8px 20px rgba(14, 53, 80, 0.09),
		inset 0 0 0 2px rgba(255, 255, 255, 0.78);
}

.page_masthead .mj-photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: var(--photo-position, center);
	border-radius: 10px;
	background: #edf5f9;
	filter: saturate(0.98) contrast(1.01);
	transition: transform 260ms ease;
}

.page_masthead .mj-card:hover .mj-photo {
	transform: scale(1.012);
}

.page_masthead .mj-card__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 0.15rem 0;
}

.page_masthead .mj-role {
	align-self: flex-start;
	margin: 0 2rem 0.55rem 0;
	padding: 0.3rem 0.58rem;
	border-radius: 999px;
	background: rgba(11, 127, 194, 0.09);
	color: #086394;
	font-family: "Work Sans", sans-serif;
	font-size: 0.67rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-transform: uppercase;
}

.page_masthead .mj-leads .mj-role {
	background: linear-gradient(120deg, var(--board-navy), #0b6d9a);
	color: #ffffff;
	box-shadow: 0 7px 16px rgba(10, 45, 77, 0.2);
}

.page_masthead .mj-name {
	margin: 0 0 0.45rem;
	color: var(--board-ink);
	font-size: 1.08rem;
	line-height: 1.25;
	letter-spacing: -0.012em;
}

.page_masthead .mj-leads .mj-name {
	font-size: 1.25rem;
}

.page_masthead .mj-meta {
	margin: 0;
	color: var(--board-muted);
	font-size: 0.88rem;
	line-height: 1.5;
}

.page_masthead .mj-actions {
	display: flex;
	align-items: center;
	margin-top: auto;
	padding-top: 0.8rem;
}

.page_masthead .mj-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2rem;
	padding: 0.42rem 0.68rem;
	border-radius: 999px;
	background: #ffffff;
	border: 1px solid rgba(11, 127, 194, 0.22);
	color: #086394;
	font-family: "Work Sans", sans-serif;
	font-size: 0.73rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	box-shadow: 0 5px 14px rgba(10, 71, 106, 0.07);
	transition:
		color 160ms ease,
		background 160ms ease,
		border-color 160ms ease,
		transform 160ms ease;
}

.page_masthead .mj-btn::before {
	content: "PDF";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.55rem;
	height: 1.15rem;
	border-radius: 4px;
	background: #eaf6fc;
	color: #0876ad;
	font-size: 0.57rem;
	letter-spacing: 0.05em;
}

.page_masthead .mj-btn::after {
	content: "↗";
	font-size: 0.85rem;
	line-height: 1;
}

.page_masthead .mj-btn:hover,
.page_masthead .mj-btn:focus {
	transform: translateY(-1px);
	background: var(--board-navy);
	border-color: var(--board-navy);
	color: #ffffff;
	text-decoration: none;
}

.page_masthead .mj-btn:hover::before,
.page_masthead .mj-btn:focus::before {
	background: rgba(255, 255, 255, 0.13);
	color: #ffffff;
}

html[data-theme="dark"] .page_masthead {
	--board-ink: #e8f3fa;
	--board-muted: #b5c8d5;
	--board-line: rgba(148, 197, 227, 0.19);
	--board-paper: #0f2132;
	--board-soft: #122a3d;
}

html[data-theme="dark"] .page_masthead .main__title,
html[data-theme="dark"] .page_masthead .mj-board__title {
	color: #eef8ff;
}

html[data-theme="dark"] .page_masthead .mj-board__eyebrow {
	color: #68cff5;
}

html[data-theme="dark"] .page_masthead .mj-board__count {
	background: rgba(23, 103, 147, 0.22);
	border-color: rgba(104, 207, 245, 0.18);
	color: #bfeaff;
}

html[data-theme="dark"] .page_masthead .mj-card,
html[data-theme="dark"] .page_masthead .mj-leads .mj-card {
	background: linear-gradient(145deg, rgba(15, 33, 50, 0.98), rgba(17, 45, 64, 0.96));
	box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"] .page_masthead .mj-role {
	background: rgba(48, 182, 234, 0.13);
	color: #8ddfff;
}

html[data-theme="dark"] .page_masthead .mj-leads .mj-role {
	background: linear-gradient(120deg, #07537b, #0989b8);
	color: #ffffff;
}

html[data-theme="dark"] .page_masthead .mj-btn {
	background: rgba(8, 35, 54, 0.8);
	border-color: rgba(104, 207, 245, 0.22);
	color: #9ee4ff;
}

@media (max-width: 991px) {
	.page_masthead .mj-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.page_masthead .masthead-intro {
		grid-template-columns: 1fr;
		padding: 1.2rem;
		border-radius: 18px;
	}

	.page_masthead .mj-leads {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.page_masthead .mj-card,
	.page_masthead .mj-leads .mj-card {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 0.75rem;
		min-height: 156px;
		padding: 0.75rem;
		border-radius: 16px;
	}

	.page_masthead .mj-photo-wrap {
		min-height: 0;
		padding: 4px;
		border-radius: 12px;
	}

	.page_masthead .mj-photo {
		border-radius: 8px;
	}

	.page_masthead .mj-role {
		margin-right: 1.5rem;
		font-size: 0.59rem;
	}

	.page_masthead .mj-name,
	.page_masthead .mj-leads .mj-name {
		font-size: 1rem;
	}

	.page_masthead .mj-meta {
		font-size: 0.81rem;
		line-height: 1.42;
	}

	.page_masthead .mj-grid .mj-card::after {
		right: 0.65rem;
		font-size: 0.85rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.page_masthead .mj-card,
	.page_masthead .mj-photo,
	.page_masthead .mj-btn {
		transition: none;
	}
}
