/**
 * MSAD Meet the Board 2026 -- page-specific sections.
 *
 * Spec: "MSAD Meet the Board v2.dc.html". Shared chrome/components come from
 * msad-2026.css (header, footer, page hero, buttons, section heads).
 */

/* ---------------------------------------------------------------------------
   Officers mosaic (4 columns x 250px rows; president spans 2x2)
   --------------------------------------------------------------------------- */

.msad-h26__board-officers {
	max-width: var(--h26-max);
	margin: 0 auto;
	padding: 72px var(--h26-gutter) 0;
}

.msad-h26__board-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 250px;
	gap: 18px;
	margin-top: 32px;
}

/* Photo cards (president + officers) */
.msad-h26__board-card {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	display: block;
	background: var(--h26-img-placeholder);
	transition: transform var(--h26-transition), box-shadow var(--h26-transition);
}

.msad-h26__board-card--president {
	grid-column: span 2;
	grid-row: span 2;
}

.msad-h26__board-card:hover,
.msad-h26__board-card:focus-visible {
	transform: translateY(-5px);
	box-shadow: inset 0 -6px 0 var(--h26-sky), 0 18px 36px rgba(15, 25, 52, 0.18);
}

.msad-h26__board-card--president:hover,
.msad-h26__board-card--president:focus-visible {
	box-shadow: inset 0 -6px 0 var(--h26-sky), 0 22px 44px rgba(15, 25, 52, 0.2);
}

.msad-h26__board-photo {
	position: absolute;
	inset: 0;
	background-size: cover;
	/* Studio headshots carry empty headroom above the subject. Anchoring at
	   "top" spent that headroom on the card and pushed faces down into the
	   name overlay -- starting the crop ~18% into the image lifts every head
	   without cropping foreheads. Tune via --h26-face-crop. */
	background-position: center var(--h26-face-crop, 18%);
}

/* No-photo fallback: initials on deep navy. */
.msad-h26__board-photo--initials {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #24407c;
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: 52px;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.55);
}

.msad-h26__board-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(27, 45, 89, 0) 45%, rgba(27, 45, 89, 0.94) 100%);
}

.msad-h26__board-caption {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 18px;
}

.msad-h26__board-card--president .msad-h26__board-caption {
	left: 30px;
	right: 30px;
	bottom: 26px;
}

.msad-h26__board-badge {
	display: inline-block;
	font-weight: 700;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--h26-accent);
	color: var(--h26-on-accent);
	padding: 6px 11px;
	border-radius: 5px;
}

.msad-h26__board-name {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1.1;
}

.msad-h26__board-card--president .msad-h26__board-name {
	font-size: 40px;
	letter-spacing: -0.03em;
	margin-top: 12px;
	line-height: 1;
}

.msad-h26__board-role {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--h26-cranberry);
	margin-top: 7px;
	line-height: 1.4;
}

.msad-h26__board-blurb {
	font-size: 15px;
	color: var(--h26-on-navy-soft);
	margin-top: 8px;
}

/* Open officer seat: navy card */
.msad-h26__board-open {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px 22px;
	background: var(--h26-navy);
	transition: transform var(--h26-transition), box-shadow var(--h26-transition);
}

.msad-h26__board-open:hover,
.msad-h26__board-open:focus-visible {
	transform: translateY(-5px);
	box-shadow: inset 0 -6px 0 var(--accent-on-navy), 0 18px 36px rgba(15, 25, 52, 0.18);
}

.msad-h26__board-open-tile {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--accent-on-navy);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 19px;
}

.msad-h26__board-open-title {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: 21px;
	letter-spacing: -0.02em;
	color: #fff;
	line-height: 1.15;
}

.msad-h26__board-open-stop {
	color: var(--accent-on-navy);
}

.msad-h26__board-open-role {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--h26-cranberry);
	margin-top: 8px;
}

.msad-h26__board-open-cta {
	font-size: 14px;
	font-weight: 700;
	color: var(--accent-on-navy);
	margin-top: 12px;
}

/* Community representative callout (accent tint band) */
.msad-h26__board-callout {
	background: var(--h26-band);
	border-radius: 14px;
	margin-top: 18px;
	padding: 28px 32px;
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 26px;
	align-items: center;
}

.msad-h26__board-callout .msad-h26__tile {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	color: var(--h26-accent);
	font-size: 22px;
}

.msad-h26__board-callout-title {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: 22px;
	letter-spacing: -0.02em;
	color: var(--h26-navy);
}

.msad-h26__board-callout-sub {
	font-size: 15px;
	color: var(--h26-muted);
	margin-top: 5px;
}

/* ---------------------------------------------------------------------------
   Directors (navy band, circle portraits)
   --------------------------------------------------------------------------- */

.msad-h26__board-directors {
	background: var(--h26-navy);
	margin-top: 96px;
}

.msad-h26__board-directors-inner {
	max-width: var(--h26-max);
	margin: 0 auto;
	padding: 80px var(--h26-gutter) 88px;
}

.msad-h26__board-directors .msad-h26__h2 {
	color: #fff;
}

.msad-h26__board-directors-note {
	font-size: 14px;
	color: var(--h26-cranberry);
	font-weight: 700;
}

.msad-h26__board-directors-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
	margin-top: 36px;
}

.msad-h26__director {
	text-align: center;
}

.msad-h26__director-photo {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 999px;
	overflow: hidden;
	border: 3px solid rgba(255, 255, 255, 0.18);
	background-color: #24407c;
	background-size: cover;
	background-position: center var(--h26-face-crop, 18%);
	transition: border-color var(--h26-transition);
	display: flex;
	align-items: center;
	justify-content: center;
}

.msad-h26__director:hover .msad-h26__director-photo {
	border-color: var(--h26-cranberry);
}

.msad-h26__director-initials {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: 44px;
	letter-spacing: -0.02em;
	color: rgba(255, 255, 255, 0.55);
}

.msad-h26__director-name {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.02em;
	color: #fff;
	margin-top: 16px;
}

.msad-h26__director-label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--h26-cranberry);
	margin-top: 5px;
}

/* ---------------------------------------------------------------------------
   Closing CTA
   --------------------------------------------------------------------------- */

.msad-h26__board-cta {
	max-width: var(--h26-max);
	margin: 0 auto;
	padding: 88px var(--h26-gutter) 96px;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center;
}

.msad-h26__board-cta-title {
	font-family: var(--h26-font-head);
	font-weight: 700;
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--h26-navy);
	text-wrap: balance;
}

.msad-h26__board-cta-sub {
	font-size: 16px;
	line-height: 1.6;
	color: var(--h26-muted);
	margin: 14px 0 0;
	max-width: 56ch;
}

.msad-h26__board-cta-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.msad-h26__board-cta-actions .msad-h26__btn--accent {
	min-height: 50px;
	padding: 0 26px;
	font-size: 16px;
}

.msad-h26__board-cta-actions .msad-h26__btn--outline {
	min-height: 50px;
}

/* ---------------------------------------------------------------------------
   Responsive
   --------------------------------------------------------------------------- */

@media (max-width: 1024px) {
	.msad-h26__board-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 230px;
	}

	.msad-h26__board-directors-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.msad-h26__board-cta {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 720px) {
	.msad-h26__board-officers {
		padding-top: 56px;
	}

	.msad-h26__board-grid {
		grid-template-columns: 1fr;
		grid-auto-rows: 340px;
	}

	.msad-h26__board-card--president {
		grid-column: span 1;
		grid-row: span 1;
	}

	.msad-h26__board-card--president .msad-h26__board-name {
		font-size: 30px;
	}

	.msad-h26__board-callout {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 24px;
	}

	.msad-h26__board-directors {
		margin-top: 64px;
	}

	.msad-h26__board-directors-inner {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	.msad-h26__board-directors-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.msad-h26__board-cta {
		padding-top: 56px;
		padding-bottom: 64px;
	}
}

/* Reduced motion: page-specific transforms. */
@media (prefers-reduced-motion: reduce) {
	.msad-h26__board-card:hover,
	.msad-h26__board-card:focus-visible,
	.msad-h26__board-open:hover,
	.msad-h26__board-open:focus-visible {
		transform: none;
	}
}

/* <img> variants of the photos (Bricks image elements) -- same face-safe crop
   as the background-image originals. */
img.msad-h26__board-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center var(--h26-face-crop, 18%);
}

img.msad-h26__director-photo {
	object-fit: cover;
	object-position: center var(--h26-face-crop, 18%);
}
