@import url("theme_settings/theme_settings.css");

/* ============================================================
   Tokens
   ============================================================ */

:root {
	--site-primary:        var(--color-1-theme, #1c3661);
	--site-secondary:      var(--color-2-theme, #5CA1B8);
	--site-primary-over:   var(--color-over-1-theme, #ffffff);
	--site-secondary-over: var(--color-over-2-theme, #ffffff);
	--site-primary-isDark:   var(--color-1-theme-isDark, 1);
	--site-secondary-isDark: var(--color-2-theme-isDark, 0);

	--surface:           #ffffff;
	--surface-soft:      #f6f4ef;
	--surface-mid:       #ece6db;
	--ink:               #1a1a1a;
	--ink-muted:         #555;
	--rule:              rgba(0, 0, 0, 0.12);
	--accent:            #EC008C;

	--font-body:    'proxima-nova-black', system-ui, sans-serif;
	--font-display: 'Adobe Garamond Pro', 'adobe-garamond-pro', Georgia, serif;
	--font-motto:   'square-peg', cursive;

	/* Type scale */
	--text-xs:    0.75rem;   /* 12px — caps labels */
	--text-sm:    0.875rem;  /* 14px — small body, meta, summaries */
	--text-base:  1rem;      /* 16px — body */
	--text-lg:    1.125rem;  /* 18px — card titles */
	--text-xl:    1.5rem;    /* 24px — small headings */
	--text-2xl:   2rem;      /* 32px — component titles */
	--display-md: clamp(2rem, 3.5vw, 3.25rem);   /* section headings */
	--display-lg: clamp(2.5rem, 5vw, 5rem);      /* feature headings */
	--display-xl: clamp(4rem, 7vw, 6rem);        /* hero motto */

	/* Line heights */
	--leading-tight:  1.1;
	--leading-snug:   1.2;
	--leading-normal: 1.5;
	--leading-loose:  1.6;

	/* Letter spacing */
	--tracking-tight:  -0.01em;
	--tracking-normal: 0;
	--tracking-wide:   0.04em;
	--tracking-wider:  0.08em;

	--size-sm: 48rem;
	--size-md: 64rem;
	--size-lg: 80rem;
	--size-xl: 90rem;

	--page-pad-x: clamp(0.75rem, 4vw, 2.75rem);
	--section-pad-x: clamp(1.75rem, 5vw, 3.75rem);
	--section-pad-y: 80px;
	--header-h: 4.5rem;
	--topbar-h: 2.25rem;
}

/* ============================================================
   Body / page scaffolding
   ============================================================ */

html {
	height: 100%;
	overflow-x: hidden;
	overflow-x: clip;
}

body {
	margin: 0;
	min-height: 100%;
	max-width: 100vw;
	display: flex;
	flex-direction: column;
	overflow-x: hidden;
	overflow-x: clip;
	font-family: var(--font-body);
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	color: var(--ink);
	background-color: var(--surface);
}

.site-header,
.site-footer { flex: none; }
#content_main { flex: 1 0 auto; }

.skip-link:focus {
	position: fixed;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 1000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.5rem 1rem;
	clip: auto;
	background: var(--ink);
	color: white;
}

/* ============================================================
   Inside-page constraints (homepage resets below)
   ============================================================ */

#content_main {
	--content-pad-x: clamp(0.5rem, 5%, 3rem);
	--content-pad-y: 1.5rem;
	padding: var(--content-pad-y) var(--content-pad-x);
	max-width: var(--size-xl);
	margin-left: auto;
	margin-right: auto;
	background-color: var(--surface);
}

body:has(.homepage) #content_main {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
	background-color: transparent;
}

/* ============================================================
   Typography
   ============================================================ */

.section-heading {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--display-md);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--site-primary);
	margin: 0 0 2.5rem;
	text-align: center;
}

.section-action {
	text-align: center;
	margin-top: 2rem;
}
body a.section-action-btn {
	display: inline-block;
	padding: 0.5rem 1.5rem;
	border: 2px solid var(--site-primary);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	font-size: var(--text-sm);
	color: var(--site-primary);
	filter: brightness(var(--site-primary-isDark));
	transition: background 0.2s, color 0.2s;
}
body a.section-action-btn:hover,
body a.section-action-btn:focus-visible {
	background: var(--site-secondary);
	color: var(--ink);
	border-color: var(--site-secondary);
	filter: none;
}

/* ============================================================
   HEADER — sticky, layered above hero
   ============================================================ */

.site-header {
	display: flex;
	flex-direction: column;
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--site-primary);
	color: var(--site-primary-over);
	border-bottom: 0;
	padding: 0 var(--page-pad-x);
	transition:
		background 0.35s ease,
		top 0.35s ease,
		margin 0.35s ease,
		left 0.35s ease,
		right 0.35s ease,
		border-radius 0.35s ease,
		box-shadow 0.35s ease;
}

/* Full-width bar when scrolled */
.site-header.is-scrolled {
	top: 0;
	margin-left: 0;
	margin-right: 0;
	border-radius: 0;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}
/* Inside pages (no hero): white nav links/toggles on the navy header */
body:not(:has(.hero)) .sitenav-desktop > .nav-menu > .nav-item > .nav-item-inner,
body:not(:has(.hero)) .sitenav-desktop > .nav-menu > .nav-item > a.nav-item-inner,
body:not(:has(.hero)) .sitenav-desktop > .nav-menu > .nav-item > .dropdown-toggle {
	color: white;
}
body:not(:has(.hero)) .sitenav-desktop .sub-menu-item .dropdown-toggle {
	color: var(--ink);
}
body:not(:has(.hero)) .header-school-name {
	color: white;
}

/* Inside-page title: left-aligned, 44px */
.site-content h1.pageTitle,
body h1.pageTitle {
	text-align: left;
	font-size: 44px !important;
}


/* Scrolled state — applied via JS on scroll */
.site-header.is-scrolled .topbar {
	max-height: 0;
	min-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}
.site-header .topbar {
	transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
	overflow: hidden;
}
.site-header .header-logo img {
	transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.site-header.is-scrolled .header-logo img {
	height: 2.25rem;
}
body:has(.hero) .site-header.is-scrolled {
	background: var(--site-primary);
	top: 0;
	left: 0;
	right: 0;
	border-radius: 0;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* On the homepage (where there's a hero), float the header over the video */
body:has(.hero) .site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
	border-bottom: 0;
	color: white;
}
/* Top-of-video gradient — locked to the hero so it persists while the header floats away */
/* Top overlay handled by .hero::after (solid behind header, fading down) */
.hero::before {
	content: none;
}
body:has(.hero) .topbar {
	background: transparent;
}
body:has(.hero) .sitenav-desktop > .nav-menu > .nav-item > .nav-item-inner,
body:has(.hero) .sitenav-desktop > .nav-menu > .nav-item > a.nav-item-inner,
body:has(.hero) .sitenav-desktop > .nav-menu > .nav-item > .dropdown-toggle {
	color: white;
}
/* Reset dropdown toggle color inside sub-menus so it matches the panel text */
body:has(.hero) .sitenav-desktop .sub-menu-item .dropdown-toggle {
	color: var(--ink);
}
body:has(.hero) .sitenav-desktop .nav-item:hover,
body:has(.hero) .sitenav-desktop .nav-item:focus-within {
	background: transparent;
}
/* Sub-menu panels keep their own solid bg + dark text — readable when opened */

.topbar {
	order: -1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	min-height: var(--topbar-h);
	padding-top: 0.75rem;
	padding-bottom: 0.5rem;
	background: var(--site-primary);
	color: var(--site-primary-over);
	margin: 0 calc(-1 * var(--page-pad-x));
	padding-left: var(--page-pad-x);
	padding-right: var(--page-pad-x);
	font-size: var(--text-sm);
}

body .topbar a { color: inherit; }
body a.topbar-cta {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	font-size: var(--text-xs);
}
body a.topbar-cta:hover,
body a.topbar-cta:focus-visible {
	background: var(--site-primary-over);
	color: var(--site-primary);
}

.topbar-ctas { display: none; }
@media (min-width: 64rem) {
	.topbar-ctas { display: block; }
}

.topbar-social ul {
	list-style: none;
	display: flex;
	gap: 0.75rem;
	margin: 0;
	padding: 0;
}
.topbar-ctas ul {
	list-style: none;
	display: flex;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
}

.topbar-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
}
.topbar-social a img,
.topbar-social a svg {
	width: 1.5625rem;
	height: 1.5625rem;
	display: block;
	color: white;
}
/* White-glyph version of Edlio CMS color icons.
   - Recolor everything to currentColor (white).
   - For "glyph-on-background" icons (Facebook-style: color-fill bg + plain glyph path),
     hide the colored background so just the glyph shows.
   - For "punch-out" icons (YouTube-style: color-fill rectangle + transparency-change cutout),
     fill the cutout with the surrounding section color so the play arrow reads through. */
.topbar-social a svg .color-fill { fill: currentColor; }
.topbar-social a svg path:not(.color-fill) { fill: currentColor; }
.topbar-social a svg:has(path:not(.color-fill):not(.transparency-change)) .color-fill { display: none; }
.topbar-social a svg path.transparency-change { fill: var(--site-primary); }

#google_translate_element {
	background-color: white;
	padding: 0.125rem 0.5rem;
	border-radius: 0.25rem;
	display: none;
	transform: scale(0.9);
	transform-origin: right center;
}
@media (min-width: 64rem) {
	#google_translate_element { display: block; }
}

.header-identity {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	min-height: var(--header-h);
}

.header-logo {
	display: inline-block;
	padding: 20px 0;
}
.header-logo img {
	display: block;
	height: 70px;
	width: auto;
}

.header-school-name { display: none; }

/* ============================================================
   NAV — desktop
   ============================================================ */

.sitenav-desktop { display: none; }

/* Header quick-action links: desktop-only (mobile uses .mobile-nav-ctas) */
.header-ctas { display: none; }

/* Small leading icon for quick-action links (desktop topbar + mobile nav) */
.header-cta-icon {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}
.header-cta-icon svg {
	width: 0.95em;
	height: 0.95em;
	display: block;
}

@media (min-width: 64rem) {

	/* Header: logo on the left, horizontal nav filling the row; topbar on top */
	.site-header {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 2rem;
	}
	.header-identity {
		grid-column: 1;
		grid-row: 2;
		justify-content: flex-start;
	}
	.topbar {
		grid-column: 1 / -1;
		grid-row: 1;
		order: 0;
		margin: 0 calc(-1 * var(--page-pad-x));
		padding: 0.5rem var(--page-pad-x);
		background: var(--site-primary);
		min-height: 0;
		justify-content: flex-end;
		gap: 1.5rem;
	}
	.topbar-social { margin-right: auto; }
	body:has(.hero) .topbar { background: var(--site-primary); }
	/* Horizontal main nav in the second row, right-aligned */
	.sitenav-desktop {
		display: block;
		grid-column: 2;
		grid-row: 2;
		justify-self: end;
	}
	/* Quick-action links sit in the topbar, left of the translate widget */
	.header-ctas {
		display: block;
	}
	.header-ctas ul {
		list-style: none;
		display: flex;
		align-items: center;
		gap: 1.25rem;
		margin: 0;
		padding: 0;
	}
	body a.header-cta {
		font-family: var(--font-body);
		font-weight: 600;
		font-size: var(--text-sm);
		letter-spacing: var(--tracking-wide);
		color: var(--site-primary-over);
		text-decoration: none;
		white-space: nowrap;
		display: inline-flex;
		align-items: center;
		gap: 0.45rem;
	}
	body a.header-cta:hover,
	body a.header-cta:focus-visible {
		color: var(--site-secondary);
	}
	/* No hamburger on desktop — the horizontal nav is shown instead */
	.site-header .sitenav-mobile {
		display: none;
	}

	.sitenav-desktop .nav-menu {
		list-style: none;
		display: flex;
		justify-content: flex-end;
		gap: 0;
		margin: 0;
		padding: 0;
	}

	.sitenav-desktop .nav-item {
		position: relative;
		display: flex;
		align-items: center;
	}

	.sitenav-desktop .nav-item-inner,
	.sitenav-desktop a.nav-item-inner {
		display: block;
		padding: 1rem 0.5rem;
		font-family: var(--font-body);
		font-weight: 600;
		font-size: var(--text-base);
		letter-spacing: var(--tracking-normal);
		text-transform: none;
		color: var(--ink);
		text-decoration: none;
	}
	.sitenav-desktop a.nav-item-inner { text-decoration: underline; text-underline-offset: 0.35em; text-decoration-thickness: 1px; }

	.sitenav-desktop .nav-item:not(.dropdown) a.nav-item-inner { padding-right: 1rem; }

	.sitenav-desktop div.nav-item-inner { pointer-events: none; }

	.sitenav-desktop .nav-menu > .nav-item > .dropdown-toggle {
		padding-right: 0.5rem;
	}

	.sitenav-desktop .dropdown-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 0.75rem;
		padding: 0;
		background: none;
		border: none;
		cursor: pointer;
		color: inherit;
	}
	.sitenav-desktop .dropdown-toggle::after {
		font-family: 'Material Symbols Outlined';
		font-variation-settings: 'FILL' 1;
		font-size: var(--text-base);
		content: 'expand_more';
		text-transform: none;
		transition: transform 0.3s ease;
	}
	.sitenav-desktop .nav-item.dropdown:hover > .dropdown-toggle::after,
	.sitenav-desktop .nav-item.dropdown:focus-within > .dropdown-toggle::after,
	.sitenav-desktop .sub-menu-item.dropdown:hover > .dropdown-toggle::after,
	.sitenav-desktop .sub-menu-item.dropdown:focus-within > .dropdown-toggle::after {
		transform: rotate(180deg);
	}

	/* Hover/focus on the li or toggle, not the link */
	.sitenav-desktop .nav-item:hover,
	.sitenav-desktop .nav-item:focus-within {
		background: var(--site-secondary);
	}
	.sitenav-desktop .nav-item:not(.dropdown):hover > a.nav-item-inner,
	.sitenav-desktop .nav-item:not(.dropdown) > a.nav-item-inner:focus-visible {
		background: var(--site-secondary);
	}

	/* Sub-menu holder — drops below as a 2-column panel, fades down in/out */
	.sitenav-desktop .sub-menu-holder {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 28rem;
		background: var(--surface);
		border: 1px solid var(--rule);
		border-top: 3px solid var(--site-primary);
		border-radius: 0 0 0.5rem 0.5rem;
		padding: 1rem;
		z-index: 60;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-0.5rem);
		pointer-events: none;
		transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
	}
	.sitenav-desktop .nav-item.dropdown:hover > .sub-menu-holder,
	.sitenav-desktop .nav-item.dropdown:focus-within > .sub-menu-holder {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
		transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0s;
	}

	.sitenav-desktop .nav-item.drop-left .sub-menu-holder { left: auto; right: 0; }

	.sitenav-desktop .sub-menu {
		list-style: none;
		margin: 0;
		padding: 0;
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 1rem;
		row-gap: 0.25rem;
	}

	.sitenav-desktop .sub-menu-item { display: grid; grid-template-columns: 1fr; }
	.sitenav-desktop .sub-menu-item.dropdown { grid-template-columns: 1fr auto; }

	.sitenav-desktop .sub-menu-item > a,
	.sitenav-desktop .sub-menu-item > .nav-item-inner {
		display: block;
		padding: 0.5rem 0.75rem;
		color: var(--ink);
		text-decoration: none;
		font-weight: 500;
		font-size: var(--text-base);
		text-transform: none;
		letter-spacing: 0;
	}
	.sitenav-desktop .sub-menu-item {
		border-radius: 0.5rem;
	}
	.sitenav-desktop .sub-menu-item:hover,
	.sitenav-desktop .sub-menu-item:focus-within {
		background: var(--site-secondary);
	}

	.sitenav-desktop .sub-menu-item.dropdown > .dropdown-toggle {
		grid-column: 2;
		grid-row: 1;
		width: 2rem;
	}

	/* Level-3 — flyout to the side */
	.sitenav-desktop .sub-menu-item.dropdown { position: relative; }

	.sitenav-desktop .sub-menu .sub-menu {
		display: none;
		position: absolute;
		top: 0;
		left: 100%;
		min-width: 14rem;
		grid-template-columns: 1fr;
		background: var(--surface);
		border: 1px solid var(--rule);
		border-left: 3px solid var(--site-secondary);
		padding: 0.5rem 0;
		box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
		z-index: 1;
	}
	.sitenav-desktop .sub-menu .sub-menu.show {
		display: grid;
		animation: flyoutInRight 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	}

	/* Drop-left: level-3 flyout opens leftward when the parent top-level item is on the right half */
	.sitenav-desktop .drop-left .sub-menu-item.dropdown > .sub-menu {
		right: 100%;
		left: auto;
	}
	.sitenav-desktop .drop-left .sub-menu-item.dropdown > .sub-menu.show {
		animation: flyoutInLeft 0.3s cubic-bezier(0.22, 1, 0.36, 1);
	}

	@keyframes flyoutInRight {
		from { opacity: 0; transform: translateX(-0.5rem); }
		to   { opacity: 1; transform: translateX(0); }
	}
	@keyframes flyoutInLeft {
		from { opacity: 0; transform: translateX(0.5rem); }
		to   { opacity: 1; transform: translateX(0); }
	}

	/* Level-3 item padding inside flyout */
	.sitenav-desktop .sub-menu .sub-menu .sub-menu-item > a {
		padding: 0.5rem 1rem;
	}

}

/* ============================================================
   NAV — mobile
   ============================================================ */

.sitenav-mobile { display: block; }

.sitenav-mobile .nav-menu {
	display: none;
	list-style: none;
	margin: 1rem 0 0;
	padding: 0;
	background: var(--surface);
	border-top: 1px solid var(--rule);
	border-radius: 0.5rem 0.5rem 0 0;
	overflow: hidden;
}
.sitenav-mobile .nav-menu.show { display: block; }

.sitenav-mobile .nav-item { display: grid; grid-template-columns: 1fr; align-items: center; }
.sitenav-mobile .nav-item.dropdown { grid-template-columns: 1fr auto; border-bottom: 1px solid var(--rule); }

.sitenav-mobile .nav-item-inner,
.sitenav-mobile a.nav-item-inner {
	display: block;
	padding: 0.875rem 1rem;
	color: var(--ink);
	text-decoration: none;
	font-weight: 600;
	font-size: var(--text-base);
	letter-spacing: var(--tracking-wide);
}
.sitenav-mobile a.nav-item-inner { text-decoration: underline; text-underline-offset: 0.3em; }

.sitenav-mobile .dropdown-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	padding: 0;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ink);
}
.sitenav-mobile .dropdown-toggle::after {
	font-family: 'Material Symbols Outlined';
	font-variation-settings: 'FILL' 1;
	font-size: var(--text-xl);
	content: 'expand_more';
	text-transform: none;
	transition: transform 0.2s;
}
.sitenav-mobile .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }

.sitenav-mobile .sub-menu-holder { display: none; grid-column: 1 / -1; }
.sitenav-mobile .sub-menu-holder:has(.sub-menu.show) { display: block; }

.sitenav-mobile .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--surface-soft);
	border-radius: 0.5rem;
	overflow: hidden;
}

.sitenav-mobile .sub-menu-item > a {
	display: block;
	padding: 0.625rem 1rem 0.625rem 2rem;
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
}
.sitenav-mobile .sub-menu-item > a:hover,
.sitenav-mobile .sub-menu-item > a:focus-visible {
	background: var(--surface-mid);
}

.sitenav-mobile .sub-menu-item.dropdown { display: grid; grid-template-columns: 1fr auto; }
.sitenav-mobile .sub-menu-item.dropdown > .dropdown-toggle { grid-column: 2; grid-row: 1; }

.sitenav-mobile .sub-menu .sub-menu { display: none; grid-column: 1 / -1; }
.sitenav-mobile .sub-menu .sub-menu.show { display: block; }
.sitenav-mobile .sub-menu .sub-menu .sub-menu-item > a { padding-left: 3rem; }

.menu-toggle {
	position: absolute;
	top: 0.75rem;
	right: 1rem;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 0.25rem;
	cursor: pointer;
	color: var(--site-primary-over);
	z-index: 60;
}
.menu-toggle::after {
	font-family: 'Material Symbols Outlined';
	font-variation-settings: 'FILL' 1;
	font-size: var(--text-xl);
	content: 'menu';
	text-transform: none;
}
.menu-toggle[aria-expanded="true"]::after { content: 'close'; }

.mobile-nav-ctas {
	display: none;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
	padding: 1.25rem 1rem;
	background: var(--surface);
	border-top: 1px solid var(--rule);
	border-radius: 0 0 0.5rem 0.5rem;
	overflow: hidden;
}
.sitenav-mobile .nav-menu.show ~ .mobile-nav-ctas { display: grid; }
a.mobile-nav-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.625rem 0.5rem;
	border: 2px solid var(--site-primary);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	font-size: var(--text-xs);
	color: var(--site-primary);
	text-align: center;
	transition: background 0.2s, color 0.2s;
}
a.mobile-nav-cta:hover,
a.mobile-nav-cta:focus-visible {
	background: var(--site-primary);
	color: var(--site-primary-over);
}

/* ============================================================
   HOMEPAGE — section spacing
   ============================================================ */

.homepage > section {
	padding: var(--section-pad-y) var(--section-pad-x);
}

.homepage > section.hero { padding: 0; }

/* Tighter vertical rhythm on mobile */
@media (max-width: 48rem) {
	:root { --section-pad-y: 56px; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--ink);
	height: 100vh;
	min-height: 32rem;
}

.hero-media,
.hero-video,
.hero-image,
.hero-embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-embed { padding: 0; }
.hero-embed iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	/* Solid behind the header items (top), then blends lighter going down.
	   Motto sits over the lighter area and passes as large text. */
	background: linear-gradient(180deg,
		rgba(0, 0, 0, 0.92) 0%,
		rgba(0, 0, 0, 0.92) 16%,
		rgba(0, 0, 0, 0.1) 55%,
		rgba(0, 0, 0, 0.08) 100%);
	pointer-events: none;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	text-align: center;
	gap: 1.5rem;
	padding: clamp(2rem, 6vw, 4rem) var(--page-pad-x);
	color: white;
	pointer-events: none;
}
.hero-overlay > * {
	pointer-events: auto;
}

.hero-orbs {
	display: none;
}
.hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
}
/* Pink orb removed per request (no pink tint on the hero) */
.hero-orb--pink {
	display: none;
}
.hero-orb--blue {
	width: 40vw;
	height: 40vw;
	background: #5CA1B8;
	bottom: -20%;
	right: -10%;
	animation: orbDrift2 24s ease-in-out infinite alternate;
}
@keyframes orbDrift1 {
	0%   { transform: translate(0, 0) scale(1); }
	50%  { transform: translate(15vw, 10vh) scale(1.15); }
	100% { transform: translate(5vw, -8vh) scale(0.95); }
}
@keyframes orbDrift2 {
	0%   { transform: translate(0, 0) scale(1); }
	50%  { transform: translate(-12vw, -8vh) scale(1.1); }
	100% { transform: translate(-5vw, 6vh) scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
	.hero-orb { animation: none; }
}

.hero-tagline {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 64px;
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-normal);
	max-width: none;
	margin: 0 auto;
}

.hero-body { display: none; }
.hero-body-disabled-rule {
	max-width: 50ch;
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	background: rgba(0, 0, 0, 0.55);
	padding: 0.75rem 1rem;
	border-radius: 0.25rem;
}
body .hero-body a { color: inherit; }

body a.hero-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	background: white;
	color: var(--ink);
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	font-size: var(--text-sm);
	text-decoration: none;
}
body a.hero-cta::after { content: none; }
body a.hero-cta:hover,
body a.hero-cta:focus-visible {
	background: var(--site-secondary);
	color: var(--ink);
}

/* Hero quicklinks — floating translucent primary-color buttons,
   stacked vertically on the right side of the video */
.hero-quicklinks {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
}
body a.hero-quicklink {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	background: rgba(0, 40, 85, 0.45);
	background: color-mix(in srgb, var(--site-primary) 55%, transparent);
	border: 1px solid rgba(255, 255, 255, 0.4);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--site-primary-over);
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: var(--text-sm);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	text-decoration: none;
	transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
body a.hero-quicklink::after { content: none; }
body a.hero-quicklink:hover,
body a.hero-quicklink:focus-visible {
	background: var(--site-primary);
	border-color: var(--site-primary);
	transform: translateY(-2px);
}

/* ============================================================
   STATS INTRO — Spotlight in stats left column
   ============================================================ */

.stats-intro-media {
	margin: 0 auto 1rem;
}

.stats-intro-media img {
	height: 70px;
	width: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.stats-intro-title {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: var(--display-md);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--site-primary);
	margin: 0 0 1.25rem;
}

.stats-intro-body {
	font-size: 20px;
	line-height: var(--leading-loose);
	color: var(--ink-muted);
	max-width: 80ch;
	margin: 0 auto 1.5rem;
}
.stats-intro body a.section-action-btn,
body .stats-intro a.section-action-btn {
	border-color: var(--site-primary);
	color: var(--site-primary);
	filter: none;
}
body .stats-intro a.section-action-btn:hover,
body .stats-intro a.section-action-btn:focus-visible {
	background: var(--site-secondary);
	color: var(--ink);
	border-color: var(--site-secondary);
}

/* ============================================================
   STATS — Photo tiles, hover reveals summary
   ============================================================ */

.homepage > .stats {
	position: relative;
	background: var(--surface);
}

.stats-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	align-items: center;
	--stat-h: 22rem;
	padding: 0 3.5rem;
}
@media (min-width: 64rem) {
	.stats-layout {
		gap: 3rem;
	}
}

/* Tiles on top, welcome message/title beneath them */
.stats-grid { order: 1; }
.stats-mobile-nav { order: 2; }
.stats-intro { order: 3; }

.stats-intro {
	text-align: center;
	position: relative;
	z-index: 1;
	padding: 0;
}

.stats-heading {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--display-md);
	line-height: var(--leading-snug);
	letter-spacing: var(--tracking-normal);
	color: white;
	margin: 0;
}

.stats-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.stats-grid::-webkit-scrollbar { display: none; }

/* Unified timing for all stat-tile transitions */
.stats-grid {
	--stat-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--stat-duration: 0.55s;
}

.stat-tile {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--ink);
	border-radius: 0.75rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	flex: 0 0 calc((100% - 3rem) / 4);
	height: var(--stat-h, 22rem);
	scroll-snap-align: start;
}

.stats .stat-tile-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.7;
}

.stat-tile-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 1.25rem;
	color: white;
	background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.8) 100%);
}

.stat-tile-plus { display: none; }

.stat-tile-label {
	font-family: var(--font-body);
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: var(--tracking-normal);
	text-transform: none;
	line-height: var(--leading-tight);
}
/* Short pink accent divider (matches the events date underline) */
.stat-tile-label::after {
	content: '';
	display: block;
	width: 3rem;
	height: 3px;
	margin-top: 0.625rem;
	background: var(--accent);
}

/* Label below the divider (always visible, normal case for readability) */
.stat-tile-summary {
	font-size: var(--text-sm);
	font-weight: 600;
	letter-spacing: var(--tracking-normal);
	text-transform: none;
	line-height: var(--leading-snug);
	margin: 0;
	color: rgba(255, 255, 255, 0.95);
}
.stat-tile-summary > * { display: block; }

/* Prev/next arrows flanking the carousel */
.stats-mobile-nav { display: block; }
.stats-mobile-btn {
	position: absolute;
	top: calc(var(--stat-h, 22rem) / 2);
	transform: translateY(-50%);
	z-index: 3;
	border: none;
	background: none;
	color: var(--site-primary);
	display: inline-flex;
	align-items: center;
	cursor: pointer;
	padding: 0;
	transition: color 0.2s;
}
.stats-mobile-prev { left: 0; }
.stats-mobile-next { right: 0; }
.stats-mobile-btn:hover,
.stats-mobile-btn:focus-visible {
	color: var(--site-secondary);
}
.stats-mobile-btn .material-icon {
	font-family: 'Material Symbols Outlined';
	font-size: 2rem;
	line-height: 1;
}

@media (max-width: 48rem) {
	.stats-layout { padding: 0; }
	.stats-grid {
		flex-direction: row;
		gap: 1rem;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
		scrollbar-width: none;
		padding-bottom: 0.5rem;
	}
	.stats-grid::-webkit-scrollbar { display: none; }
	.stat-tile {
		flex: 0 0 100%;
		height: 60vh;
		min-height: 22rem;
		scroll-snap-align: center;
		scroll-snap-stop: always;
	}
	.stat-tile,
	.stat-tile:hover {
		flex: 0 0 100%;
	}
	/* Always-revealed state on mobile (no hover available) */
	.stat-tile .stat-tile-image {
		opacity: 0.55;
		transform: none;
	}
	.stat-tile .stat-tile-overlay {
		background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.85) 100%);
	}
	.stat-tile .stat-tile-plus {
		display: none;
	}
	.stat-tile .stat-tile-summary {
		grid-template-rows: 1fr;
		opacity: 1;
	}
	.stat-tile .stat-tile-summary > * {
		width: auto;
	}
	.stat-tile::after {
		transform: scaleX(1);
	}

	/* Arrow controls */
	.stats-mobile-nav {
		display: flex;
		justify-content: center;
		gap: 1rem;
		margin-top: 1rem;
	}
	.stats-mobile-btn {
		border: none;
		background: none;
		color: var(--site-primary);
		display: inline-flex;
		align-items: center;
		cursor: pointer;
		padding: 0;
		position: relative;
		z-index: 2;
		transition: color 0.2s;
	}
	.stats-mobile-btn:hover,
	.stats-mobile-btn:focus-visible {
		color: var(--site-secondary);
	}
	.stats-mobile-nav {
		position: relative;
		z-index: 2;
	}
	.stats-mobile-btn .material-icon {
		font-family: 'Material Symbols Outlined';
		font-size: 2rem;
		line-height: 1;
	}
}

/* ============================================================
   AT A GLANCE — icon stacked over text on a solid background
   ============================================================ */

.glance {
	position: relative;
	background: transparent;
}
/* Inset rounded navy panel with a pink shape offset behind it */
.glance-inner {
	position: relative;
	max-width: var(--size-xl);
	margin: 0 auto;
	background: var(--site-primary);
	color: var(--site-primary-over);
	border-radius: 2rem;
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}
.glance-inner::before {
	content: '';
	position: absolute;
	z-index: -1;
	/* same height as the panel, offset up (top peek); only the width bleeds */
	top: -1.5rem;
	bottom: 1.5rem;
	left: calc(50% - 50vw);
	right: calc(50% - 50vw);
	background: var(--site-secondary);
}
.glance .glance-heading {
	color: var(--site-primary-over);
	text-align: center;
	margin: 0 0 2rem;
}
.glance-grid {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: var(--size-xl);
	display: flex;
	gap: 2rem;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.glance-grid::-webkit-scrollbar { display: none; }
.glance-item {
	flex: 0 0 calc((100% - 2rem) / 2);
	scroll-snap-align: start;
}
@media (min-width: 48rem) {
	.glance-item { flex: 0 0 calc((100% - 6rem) / 4); }
}
.glance-item,
.glance-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	text-align: center;
	text-decoration: none;
}
.glance .glance-item,
.glance .glance-link,
.glance .glance-text,
.glance .glance-desc,
.glance .glance-icon {
	color: var(--site-primary-over);
}
.glance-desc {
	font-family: var(--font-body);
	font-weight: 400;
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	opacity: 0.92;
}
.glance-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.glance-icon svg,
.glance-icon img {
	width: 3.5rem;
	height: 3.5rem;
	display: block;
}
.glance-icon svg .color-fill { fill: currentColor; }
.glance-icon svg path:not(.color-fill) { fill: currentColor; }
.glance-text {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 24px;
	letter-spacing: var(--tracking-wide);
	line-height: var(--leading-snug);
}
.glance-link:hover .glance-text,
.glance-link:focus-visible .glance-text { color: var(--site-secondary); }
/* Carousel arrows */
.glance-nav {
	display: flex;
	justify-content: center;
	gap: 2rem;
	margin-top: 2rem;
}
.glance-btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--site-primary-over);
	display: inline-flex;
	align-items: center;
	transition: color 0.2s;
}
.glance-btn:hover,
.glance-btn:focus-visible { color: var(--site-secondary); }
.glance-btn .material-icon {
	font-family: 'Material Symbols Outlined';
	font-size: 2rem;
	line-height: 1;
}

/* ============================================================
   HIGHLIGHTS — photo cards
   ============================================================ */

.highlights {
	background: var(--surface);
}

.highlights-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	max-width: var(--size-lg);
	margin: 0 auto;
}

@media (min-width: 48rem) { .highlights-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80rem) { .highlights-grid { grid-template-columns: repeat(4, 1fr); } }

.highlight-card {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	background: var(--ink);
	aspect-ratio: 3 / 4;
	border-radius: 0.75rem;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.highlight-media {
	position: absolute;
	inset: 0;
}
.highlight-card .highlight-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease, opacity 0.4s ease;
}

.highlight-content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 1.25rem;
	color: white;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.75) 100%);
}

.highlight-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--text-xl);
	line-height: var(--leading-snug);
	margin: 0;
}

.highlight-body {
	font-size: var(--text-base);
	line-height: var(--leading-normal);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, opacity 0.3s ease;
}
body .highlight-body a { color: inherit; }

a.highlight-card:hover .highlight-media img,
a.highlight-card:focus-visible .highlight-media img {
	transform: scale(1.04);
	opacity: 0.7;
}
a.highlight-card:hover .highlight-body,
a.highlight-card:focus-visible .highlight-body {
	max-height: 12rem;
	opacity: 1;
}

/* ============================================================
   GALLERY — Bold photo grid
   ============================================================ */

/* ============================================================
   GALLERY + CTAS — Combined "Take the Next Step" section
   ============================================================ */

.gallery-ctas {
	position: relative;
	background: transparent;
	color: var(--ink);
	padding: var(--section-pad-y) var(--section-pad-x);
	overflow: hidden;
}
.gallery-ctas-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
	align-items: center;
}
@media (min-width: 64rem) {
	.gallery-ctas-layout {
		grid-template-columns: 0.85fr 1.15fr;
		gap: 4rem;
	}
}

.gallery-ctas-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.gallery-ctas-text .section-heading {
	color: var(--site-primary);
	text-align: center;
	margin-bottom: 2rem;
}

.ctas-row {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}
body .gallery-ctas a { color: inherit; }

body a.cta-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.25rem;
	width: 340px;
	max-width: 100%;
	padding: 1.125rem 1.5rem;
	border: 2px solid var(--site-primary);
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	color: var(--site-primary);
	transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
body a.cta-card:hover,
body a.cta-card:focus-visible {
	transform: translateY(-2px);
	background: var(--site-secondary);
	color: var(--ink);
	border-color: var(--site-secondary);
}

.cta-title {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	font-weight: 700;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}

.cta-sub {
	font-size: var(--text-sm);
	font-weight: 500;
	opacity: 0.85;
	text-transform: uppercase;
}

/* Image-shuffle mosaic (CMS shuffle 44284): teal card, 3-col grid with
   equal row heights; last item spans remaining cells so there's no gap */
.mosaic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 1.5rem;
	background: var(--site-secondary);
	border-radius: 2.5rem 0 0 2.5rem;
	padding: 2rem;
	margin: 0;
	width: 100%;
	aspect-ratio: 18 / 13;
}
.mosaic-item {
	position: relative;
	border-radius: 13px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
	min-width: 0;
	display: block;
	text-decoration: none;
	perspective: 1000px;
}
.mosaic-item:last-child:nth-child(3n+1) { grid-column: span 3; }
.mosaic-item:last-child:nth-child(3n+2) { grid-column: span 2; }
.mosaic-item:nth-child(n+10) { display: none; }

/* Flip card: image (front) flips to reveal the title (back) on hover */
.mosaic-flip {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic-item:hover .mosaic-flip,
.mosaic-item:focus-visible .mosaic-flip {
	transform: rotateY(180deg);
}
.mosaic-face {
	position: absolute;
	inset: 0;
	border-radius: 13px;
	overflow: hidden;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.mosaic-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.mosaic-back {
	transform: rotateY(180deg);
	background: var(--site-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	text-align: center;
}
.mosaic-title {
	color: var(--site-primary-over);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: var(--text-lg);
	letter-spacing: var(--tracking-wide);
	line-height: var(--leading-tight);
}
/* Plus affordance: primary-blue "+" icon on a white circle */
.mosaic-plus {
	position: absolute;
	left: 0.85rem;
	bottom: 0.85rem;
	z-index: 2;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: #fff;
	color: transparent;
	font-size: 0;
	pointer-events: none;
}
.mosaic-plus::before,
.mosaic-plus::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--site-primary);
	border-radius: 1px;
	transform: translate(-50%, -50%);
}
.mosaic-plus::before { width: 1rem; height: 2px; }
.mosaic-plus::after { width: 2px; height: 1rem; }
@media (max-width: 64rem) {
	/* Full-bleed teal background; tiles centered within */
	.mosaic-grid {
		margin: 0 calc(-1 * var(--section-pad-x)) 2rem;
		width: auto;
		max-width: none;
		border-radius: 0;
		justify-content: center;
		justify-items: center;
	}
	.mosaic-item { width: 100%; }
	/* Mobile: no flip — show a primary overlay with the title over the image */
	.mosaic-flip { transform: none !important; transform-style: flat; }
	.mosaic-back {
		transform: none;
		backface-visibility: visible;
		-webkit-backface-visibility: visible;
		background: rgba(0, 40, 85, 0.72);
		background: color-mix(in srgb, var(--site-primary) 72%, transparent);
		z-index: 2;
	}
	.mosaic-title { font-size: 16px; }
	.mosaic-plus { display: none; }
}

/* "Our programs" carousel: photo cards with a white caption box that
   overlaps the bottom of the image (image styling per client screenshot) */
.programs { position: relative; }
.programs-track {
	list-style: none;
	/* Bleed the scroll track to the right viewport edge so the peeking
	   card runs off-screen with no container padding on its right */
	margin: 0 calc(-1 * var(--section-pad-x)) 0 0;
	padding: 0 0 0.5rem;
	display: flex;
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.programs-track::-webkit-scrollbar { display: none; }
/* One secondary-color shape behind the whole image row, offset down/right
   and bleeding off the right viewport edge */
.programs-media { position: relative; }
.programs-media::before {
	content: '';
	position: absolute;
	z-index: -1;
	/* shifted up so the shape sits higher behind the images */
	top: -2.75rem;
	bottom: 3rem;
	left: 1.5rem;
	right: calc(-1 * var(--section-pad-x));
	background: var(--site-secondary);
	border-radius: 1rem;
}
.program-card {
	flex: 0 0 42%;
	scroll-snap-align: start;
}
.program-link {
	position: relative;
	display: block;
	text-decoration: none;
}
.program-img {
	display: block;
	overflow: hidden;
	border-radius: 1rem;
}
.program-card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	display: block;
	border-radius: 1rem;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.program-card:hover .program-img img,
.program-link:focus-within .program-img img {
	transform: scale(1.06);
}
.program-caption {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	transform: translateX(-50%);
	width: calc(100% - 2.5rem);
	box-sizing: border-box;
	background: #fff;
	color: var(--ink);
	text-align: center;
	padding: 1rem 1.25rem;
	border-radius: 0.5rem;
	border-bottom: 3px solid var(--accent);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}
.program-caption-title {
	font-family: var(--font-display);
	font-size: 24px;
	line-height: var(--leading-snug);
}
/* Hover/focus reveals the description + button; box grows upward */
.program-reveal {
	display: block;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s ease, margin-top 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.program-card:hover .program-reveal,
.program-link:focus-within .program-reveal {
	max-height: 16rem;
	opacity: 1;
	margin-top: 0.85rem;
}
.program-desc {
	margin: 0 0 0.9rem;
	font-family: var(--font-body);
	font-size: var(--text-sm);
	line-height: var(--leading-snug);
	color: var(--ink);
}
.program-more.section-action-btn {
	display: inline-block;
}
.programs-nav {
	display: flex;
	gap: 2rem;
	margin-top: 1.5rem;
	justify-content: center;
}
.programs-btn {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--site-primary);
	display: inline-flex;
	align-items: center;
	transition: color 0.2s, transform 0.2s;
}
.programs-btn:hover,
.programs-btn:focus-visible { color: var(--site-secondary); }
.programs-btn .material-icon {
	font-family: 'Material Symbols Outlined';
	font-size: 2rem;
	line-height: 1;
}
@media (max-width: 64rem) {
	.program-card { flex: 0 0 70%; }
	/* stacked layout puts buttons right above — drop the shape down */
	.programs-media::before { top: 1.5rem; bottom: 1.5rem; }
}
/* On mobile there's no hover — always show the description + button */
@media (max-width: 48rem) {
	.program-reveal {
		max-height: none;
		opacity: 1;
		margin-top: 0.85rem;
	}
}

/* Photo quicklinks: white section with an offset asymmetric pink shape
   peeking from behind the photo grid */
.quicklinks {
	position: relative;
	background: var(--surface);
	padding: calc(var(--section-pad-y) * 0.85) var(--section-pad-x);
	overflow: hidden;
}
.quicklinks-shape {
	position: absolute;
	top: 50%;
	left: -4rem;
	width: min(40%, 28rem);
	transform: translateY(-50%);
	z-index: 0;
	pointer-events: none;
	opacity: 1;
}
.quicklinks-shape svg {
	display: block;
	width: 100%;
	height: auto;
}
.quicklinks > *:not(.quicklinks-shape) {
	position: relative;
	z-index: 1;
}
.gallery-grid {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
	margin: 0 auto;
	padding: 0;
	width: 100%;
	max-width: var(--size-xl);
}
.gallery-item {
	margin: 0;
	min-width: 0;
	flex: 0 1 calc((100% - 4 * 1.25rem) / 5);
	aspect-ratio: 4 / 5;
}

.gallery-item {
	position: relative;
}
.gallery-link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 13px;
	overflow: hidden;
	background: var(--ink);
	color: white;
	text-decoration: none;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.gallery-link img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-link img,
.gallery-item:focus-within .gallery-link img {
	transform: scale(1.05);
}

/* Secondary-color tint — appears/heightens on hover */
.gallery-link::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--site-secondary);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}
.gallery-item:hover .gallery-link::after,
.gallery-item:focus-within .gallery-link::after {
	opacity: 0.8;
}

/* Info overlay — always visible, dark gradient bottom for contrast */
.gallery-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 0.85rem;
	padding: 1.5rem;
	background: linear-gradient(180deg, rgba(8, 18, 38, 0) 35%, rgba(8, 18, 38, 0.6) 65%, rgba(8, 18, 38, 0.92) 100%);
}

.gallery-title {
	font-family: var(--font-display);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 500;
	letter-spacing: var(--tracking-tight);
	line-height: var(--leading-tight);
	color: white;
	text-transform: none;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}



@media (max-width: 64rem) {
	.gallery-item {
		flex-basis: calc((100% - 2 * 1.25rem) / 3);
	}
}
@media (max-width: 48rem) {
	.gallery-grid {
		gap: 1rem;
	}
	.gallery-item {
		flex-basis: calc((100% - 1rem) / 2);
	}
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
	background: var(--surface);
}


.testimonials .swiper-container {
	max-width: 60rem;
	margin: 0 auto;
	--swiper-navigation-color: var(--ink);
	--swiper-navigation-size: 1.5rem;
	--swiper-pagination-color: var(--site-primary);
	--swiper-pagination-bullet-size: 0.75rem;
}

.testimonials .swiper-holder { position: relative; padding: 0 3rem; }

.testimonial {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding: 1rem 0 3rem;
	text-align: center;
}

.testimonial-photo {
	width: 6rem;
	height: 6rem;
	border-radius: 50%;
	overflow: hidden;
	background: var(--surface);
	flex: none;
}
.testimonial-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-quote {
	margin: 0;
	max-width: 48rem;
	font-family: var(--font-display);
	font-size: var(--text-xl);
	line-height: var(--leading-snug);
	font-style: italic;
}

.testimonial-attribution {
	margin-top: 1rem;
	font-family: var(--font-body);
	font-style: normal;
	font-weight: 700;
	font-size: var(--text-sm);
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	color: var(--ink-muted);
}

.testimonials .swiper-holder .swiper-button-prev,
.testimonials .swiper-holder .swiper-button-next {
	background: none;
	border: none;
}
.testimonials .swiper-holder .swiper-button-prev::after,
.testimonials .swiper-holder .swiper-button-next::after {
	font-family: 'Material Symbols Outlined';
	font-variation-settings: 'FILL' 1;
	font-size: var(--swiper-navigation-size);
}
.testimonials .swiper-holder .swiper-button-prev::after { content: 'chevron_left'; }
.testimonials .swiper-holder .swiper-button-next::after { content: 'chevron_right'; }

/* ============================================================
   EVENTS — Calendar
   ============================================================ */

.events-parallax {
	position: relative;
	padding: var(--section-pad-y) var(--section-pad-x);
	background: var(--surface);
	overflow: hidden;
}
@media (max-width: 48rem) {
	.events-parallax {
		padding: 1.5rem var(--section-pad-x);
	}
}
.events { position: relative; z-index: 1; }

.events {
	position: relative;
	z-index: 1;
	background: transparent;
	border-radius: 1.5rem;
	overflow: hidden;
	padding: 1rem 0;
}
.events .section-heading { color: var(--site-primary); }
body .events a.section-action-btn {
	border-color: var(--site-primary);
	color: var(--site-primary);
	filter: none;
}
body .events a.section-action-btn:hover,
body .events a.section-action-btn:focus-visible {
	background: var(--site-secondary);
	color: var(--ink);
	border-color: var(--site-secondary);
}
.events .carousel-nav .swiper-button-prev,
.events .carousel-nav .swiper-button-next {
	color: var(--site-primary);
	border-color: var(--site-primary);
}
.events .carousel-nav .swiper-button-prev:hover,
.events .carousel-nav .swiper-button-next:hover {
	background: var(--site-secondary);
	color: var(--ink);
	border-color: var(--site-secondary);
}

.events-carousel .swiper {
	overflow: visible;
}
.events-carousel .swiper-slide {
	height: auto;
	display: flex;
}
.events-carousel .swiper-slide .event {
	flex: 1;
}

.event {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 1.25rem;
	align-items: start;
	padding: 1.5rem;
	background: #f3f3f5;
	border-radius: 0.75rem;
	color: var(--ink);
}

.event-date {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.125rem;
	padding: 0.625rem 0;
	background: var(--surface);
	color: var(--site-primary);
	border-radius: 0.5rem;
	border-bottom: 3px solid var(--accent);
}

.event-month {
	font-family: var(--font-body);
	font-size: var(--text-xs);
	font-weight: 700;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
}
/* Scoped to the homepage events markup. The bare `.event-day` selector
   collided with the CMS /apps/events/ app page, whose day-row container is
   `li.event-day` — leaking 32px onto it and amplifying every child. */
.event-date .event-day {
	font-family: var(--font-display);
	font-size: var(--text-2xl);
	font-weight: 600;
	line-height: 1;
}

.event-title {
	font-family: var(--font-body);
	font-size: var(--text-lg);
	font-weight: 700;
	margin: 0 0 0.25rem;
}
body .event-title a {
	color: inherit;
	text-decoration: none;
	position: relative;
	display: inline;
}
body .event-title a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--site-secondary);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}
.event:hover .event-title a::after,
.event:focus-within .event-title a::after { transform: scaleX(1); }

.event-time,
.event-location {
	font-size: var(--text-base);
	color: var(--ink-muted);
}

/* ============================================================
   LOGO BARS — Colleges, Affiliations
   ============================================================ */

.logo-bar { background: var(--surface); }
.logo-bar-affiliations { background: var(--surface-soft); }

.logo-bar .section-heading {
	margin-bottom: 2rem;
}

.logo-bar-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-evenly;
	gap: 2.5rem 1rem;
}

/* Auto-scrolling marquee — extends to viewport edges */
.logo-marquee {
	overflow: hidden;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0, black 6%, black 94%, transparent 100%);
}
.logo-marquee-track {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	width: max-content;
	animation: logo-marquee-scroll 150s linear infinite;
}
.logo-marquee-track .logo-bar-item {
	flex: none;
	width: auto;
	padding: 0 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo-marquee-track.is-paused,
.logo-marquee:hover .logo-marquee-track {
	animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
	.logo-marquee-track { animation: none; }
}
@keyframes logo-marquee-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.logo-marquee-controls {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
}
.logo-marquee-toggle {
	border: none;
	background: transparent;
	color: #999;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.25rem;
	transition: color 0.2s;
}
.logo-marquee-toggle:hover,
.logo-marquee-toggle:focus-visible {
	color: #555;
	outline: none;
}
.logo-marquee-icon {
	font-family: 'Material Symbols Outlined';
	font-variation-settings: 'FILL' 1;
	font-size: var(--text-xl);
	line-height: 1;
	font-weight: normal;
	font-style: normal;
}

/* Mobile-only nav for college logos */
.logo-marquee-mobile-nav { display: none; }

@media (max-width: 48rem) {
	/* Disable auto-scroll, become scroll-snap carousel */
	.logo-marquee {
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
		scrollbar-width: none;
		mask-image: none;
		-webkit-mask-image: none;
	}
	.logo-marquee::-webkit-scrollbar { display: none; }
	.logo-marquee-track {
		animation: none !important;
		width: auto;
	}
	.logo-marquee-track .logo-bar-item {
		flex: 0 0 100vw;
		width: 100vw;
		min-width: 0; /* don't let a wide logo grow the slide past the viewport */
		box-sizing: border-box;
		scroll-snap-align: center;
	}
	/* keep each college logo within its slide so it stays centered */
	.logo-bar-colleges .logo-bar-mark img,
	.logo-bar-colleges .logo-bar-mark svg {
		max-width: 70vw;
		height: auto;
		max-height: 60px;
	}
	/* Hide the duplicates rendered for desktop infinite loop */
	.logo-marquee-track .logo-bar-item[aria-hidden="true"] {
		display: none;
	}
	/* Hide desktop pause toggle, show mobile arrows */
	.logo-marquee-desktop-only { display: none; }
	.logo-marquee-mobile-nav {
		display: flex;
		gap: 1rem;
	}
	.logo-marquee-mobile-btn {
		border: none;
		background: none;
		color: var(--site-primary);
		display: inline-flex;
		align-items: center;
		cursor: pointer;
		padding: 0;
		transition: color 0.2s;
	}
	.logo-marquee-mobile-btn:hover,
	.logo-marquee-mobile-btn:focus-visible {
		color: var(--site-secondary);
	}
	.logo-marquee-mobile-btn .material-icon {
		font-family: 'Material Symbols Outlined';
		font-size: 2rem;
		line-height: 1;
	}
}

.logo-bar-item {
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo-bar-mark {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ink);
	opacity: 0.85;
	transition: opacity 0.2s;
}
.logo-bar-mark:hover { opacity: 1; }
img.logo-bar-mark,
svg.logo-bar-mark,
.logo-bar .logo-bar-mark svg,
.logo-bar .logo-bar-mark img {
	height: 3.5rem;
	width: auto;
	max-width: 12rem;
	object-fit: contain;
	fill: currentColor;
}
/* College logos a bit larger */
.logo-bar-colleges img.logo-bar-mark,
.logo-bar-colleges svg.logo-bar-mark,
.logo-bar-colleges .logo-bar-mark svg,
.logo-bar-colleges .logo-bar-mark img {
	height: 60px;
	max-width: none;
}

/* ============================================================
   NEWS
   ============================================================ */

.news {
	background: var(--surface);
	position: relative;
}
.cross-watermark {
	position: absolute;
	height: 880px;
	width: auto;
	max-width: none;
	pointer-events: none;
	user-select: none;
	z-index: 0;
	color: var(--site-primary);
	opacity: 0;
	will-change: transform, opacity;
	animation: news-watermark-float linear both;
	animation-timeline: view();
	animation-range: entry 0% exit 100%;
}
.cross-watermark path { fill: currentColor; }

/* News: bleeds in from the left edge */
.news-watermark { left: -6rem; top: 2rem; }

@keyframes news-watermark-float {
	0%   { opacity: 0; transform: translateY(25%); }
	20%  { opacity: 0.09; }
	50%  { transform: translateY(0); }
	80%  { opacity: 0.09; }
	100% { opacity: 0; transform: translateY(-25%); }
}

/* Fallback for browsers without scroll-driven animations */
@supports not (animation-timeline: view()) {
	.cross-watermark {
		animation: none;
		opacity: 0.075;
		transform: none;
	}
}
.news > *:not(.news-watermark) { position: relative; z-index: 1; }

/* Welcome message: same watermark on the right; not clipped, so it bleeds
   behind the neighbouring sections */
.stats { position: relative; }
.stats-watermark {
	right: -8rem;
	top: 50%;
	margin-top: -440px;
}
.stats-layout { position: relative; z-index: 1; }

@media (max-width: 64rem) {
	.cross-watermark { display: none; }
}

/* --- Carousel nav: arrows flanking button --- */
.carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 2rem;
}
.carousel-nav .swiper-button-prev,
.carousel-nav .swiper-button-next {
	position: static;
	display: flex;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	border-radius: 50%;
	border: none;
	background: transparent;
	color: var(--site-primary);
	transition: background 0.2s, color 0.2s, opacity 0.2s;
	flex-shrink: 0;
}
/* When all slides fit (swiper locked) there's nothing to scroll to —
   hide the arrows rather than showing dead/disabled ones */
.carousel-nav .swiper-button-lock { display: none; }
.carousel-nav .swiper-button-disabled { opacity: 0.4; cursor: not-allowed; }
.carousel-nav .swiper-button-prev::after,
.carousel-nav .swiper-button-next::after {
	font-family: 'Material Symbols Outlined';
	font-size: 2rem;
	font-weight: 400;
}
.carousel-nav .swiper-button-prev::after { content: 'chevron_left'; }
.carousel-nav .swiper-button-next::after { content: 'chevron_right'; }
.carousel-nav .swiper-button-prev:hover,
.carousel-nav .swiper-button-next:hover {
	background: transparent;
	color: var(--site-secondary);
}
.events .carousel-nav .swiper-button-prev,
.events .carousel-nav .swiper-button-next {
	color: white;
}
.events .carousel-nav .swiper-button-prev:hover,
.events .carousel-nav .swiper-button-next:hover {
	background: transparent;
	color: var(--site-secondary);
}

/* --- News carousel --- */
.news-carousel .swiper {
	overflow: visible;
}
/* Multi-card row: every visible slide shows in full */
.news-carousel .swiper-slide {
	height: auto;
	opacity: 1;
}

/* Card: image on top, content box (title, summary, read more) below */
.news-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border-radius: 0.75rem;
	overflow: hidden;
	height: 100%;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
	color: var(--ink);
	border-bottom: 3px solid var(--accent);
}

.news-photo {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}
.news-card .news-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
/* Image zoom + title underline trigger together on card hover/focus */
.news-card:hover .news-photo img,
.news-card:focus-within .news-photo img { transform: scale(1.03); }

.news-body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.25rem 1.5rem 1.5rem;
	color: var(--ink);
}

.news-title {
	font-family: var(--font-display);
	font-size: var(--text-lg);
	font-weight: 700;
	line-height: var(--leading-snug);
	margin: 0;
	color: var(--site-primary);
}
body .news-title a {
	color: inherit;
	text-decoration: none;
	position: relative;
	display: inline;
}
/* Animated underline that expands from the left, in sync with the zoom */
body .news-title a::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--site-secondary);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s ease;
}
.news-card:hover .news-title a::after,
.news-card:focus-within .news-title a::after { transform: scaleX(1); }

.news-summary {
	font-size: var(--text-base);
	color: var(--ink);
	line-height: var(--leading-normal);
	margin: 0;
}

.news-carousel {
	position: relative;
	max-width: none;
	margin: 0 auto;
}

/* Arrows flank the "More News" button inline (shared .carousel-nav layout) */
.news-carousel .carousel-nav {
	margin-top: 1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
	background: var(--site-primary);
	color: var(--site-primary-over);
}
body .site-footer a { color: inherit; }

.footer-inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	max-width: var(--size-xl);
	margin: 0 auto;
	padding: 2.5rem var(--page-pad-x);
}
/* Top row of columns — full width */
.footer-top {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}
@media (min-width: 48rem) { .footer-top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) {
	.footer-top {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-start;
		gap: 2.5rem;
	}
	.footer-top > * { flex: 0 1 auto; }
}

.footer-identity {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.footer-logo img {
	height: 70px;
	width: auto;
	display: block;
}
.footer-school-name { display: none; }

/* Mobile sizing: smaller logos and motto */
@media (max-width: 48rem) {
	.header-logo img { height: 50px; }
	.footer-logo img { height: 50px; }
	.hero-tagline { font-size: 50px; }
}

.footer-contact {
	font-style: normal;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-size: var(--text-base);
}
.footer-contact a {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	text-decoration: none;
}
.footer-contact a:hover,
.footer-contact a:focus-visible { text-decoration: underline; }

.footer-contact .material-icon {
	font-family: 'Material Symbols Outlined';
	font-variation-settings: 'FILL' 1;
	font-size: var(--text-lg);
	line-height: 1;
	flex: none;
	margin-top: 0.125rem;
	text-transform: none;
}

.footer-heading {
	font-family: var(--font-body);
	font-size: var(--text-sm);
	font-weight: 700;
	letter-spacing: var(--tracking-wider);
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	opacity: 0.85;
}

.footer-quicklinks ul,
.footer-social ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-quicklinks li { margin-bottom: 0.375rem; font-size: var(--text-base); }
.footer-quicklinks a { text-decoration: none; }
.footer-quicklinks a:hover,
.footer-quicklinks a:focus-visible { text-decoration: underline; }

.footer-social ul { display: flex; gap: 0.75rem; }
.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
}
.footer-social a img,
.footer-social a svg { width: 1.5625rem; height: 1.5625rem; display: block; color: white; }
.footer-social a svg .color-fill { fill: currentColor; }
.footer-social a svg path:not(.color-fill) { fill: currentColor; }
.footer-social a svg:has(path:not(.color-fill):not(.transparency-change)) .color-fill { display: none; }
.footer-social a svg path.transparency-change { fill: var(--site-primary); }

/* Badges/affiliations: their own full-width row beneath all columns */
.footer-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 2rem;
}
@media (min-width: 48rem) {
	.footer-badges { grid-column: 1 / -1; }
}
.footer-badge {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.footer-badge img {
	height: 56px;
	width: auto;
	display: block;
	object-fit: contain;
}
/* Affiliation logos with dark artwork: white card so they read on the
   navy footer (the bare IB mark is light and needs no card) */
.footer-badge--card {
	background: #fff;
	border-radius: 0.5rem;
	padding: 0.5rem 0.75rem;
}
.footer-badge--card img {
	height: 66px;
}
@media (max-width: 48rem) {
	.footer-badges { justify-content: flex-start; }
	.footer-badge { justify-content: flex-start; }
}

.footer-meta {
	border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	padding: 1rem var(--page-pad-x);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: center;
	justify-content: space-between;
	font-size: var(--text-sm);
}
@media (min-width: 48rem) { .footer-meta { flex-direction: row; } }

.footer-edlio {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.footer-edlio svg { fill: currentColor; }
.footer-edlio-link svg { width: 140px; height: 20px; }
.footer-edlio-login {
	color: inherit;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: var(--text-xs);
}
.footer-edlio-login svg { width: 1rem; height: 1rem; }

/* ============================================================
   CMS inside-page heading
   ============================================================ */

#content_main .pageTitle {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: var(--display-md);
	margin: 0 0 1.5rem;
	color: var(--ink);
}

/* Inside-page hero photo — cap the height so it doesn't dominate */
.page-block.page-block-photos .the-photo-ete,
.page-block.page-block-photos img {
	max-height: 380px;
	object-fit: cover;
	width: 100%;
}

/* ============================================================
   CMS inside-page horizontal menu block
   ============================================================ */
.page-block.page-block-menu-link {
	background: transparent !important;
}
.page-block.page-block-menu-link nav,
.page-block.page-block-menu-link nav[data-style="color-1"],
.page-block.page-block-menu-link nav[data-type="horizontal"] {
	background: transparent !important;
	padding: 0.25rem var(--page-pad-x);
	border-bottom: 1px solid var(--rule);
}
.page-block.page-block-menu-link ul.level-1 {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: var(--size-xl);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0;
	background: transparent !important;
}
.page-block.page-block-menu-link ul.level-1 > li {
	display: flex;
	align-items: center;
	padding: 0.25rem 0;
	background: transparent;
}
.page-block.page-block-menu-link ul.level-1 > li + li::before {
	content: '•';
	color: #b5b5b5;
	font-size: var(--text-lg);
	line-height: 1;
	margin: 0 1.25rem;
}
.page-block.page-block-menu-link ul.level-1 .title-wrapper {
	background: transparent;
	padding: 0;
}
.page-block.page-block-menu-link ul.level-1 a {
	color: var(--ink);
	text-decoration: none;
	font-family: var(--font-body);
	font-size: var(--text-base);
	font-weight: 500;
	letter-spacing: var(--tracking-normal);
	transition: color 0.2s ease;
}
.page-block.page-block-menu-link ul.level-1 a:hover,
.page-block.page-block-menu-link ul.level-1 a:focus-visible {
	color: var(--site-primary);
}
.page-block.page-block-menu-link ul.level-1 .title {
	font-family: var(--font-body);
}

/* ============================================================
   PAGE LOAD — homepage entrance animation
   ============================================================ */

body:has(.hero) .hero {
	opacity: 0;
	clip-path: inset(40px round 28px);
	animation: pageEnterHero 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
body:has(.hero) .site-header {
	opacity: 0;
	transform: translateY(-100%);
	animation: pageEnterHeader 1.1s cubic-bezier(0.16, 1, 0.3, 1) 2.2s forwards;
}
body:has(.hero) .hero-tagline {
	opacity: 0;
	transform: translateY(2rem);
	animation: pageEnterFromBottom 1.1s cubic-bezier(0.16, 1, 0.3, 1) 2.7s forwards;
}
body:has(.hero) a.hero-cta {
	opacity: 0;
	transform: translateY(2rem);
	animation: pageEnterFromBottom 1.1s cubic-bezier(0.16, 1, 0.3, 1) 3.1s forwards;
}
body:has(.hero) .hero-quicklinks {
	opacity: 0;
	transform: translateY(calc(-50% + 2rem));
	animation: pageEnterQuicklinks 1.1s cubic-bezier(0.16, 1, 0.3, 1) 3.3s forwards;
}
/* (section load-fade replaced by scroll-driven .reveal-* below) */

@keyframes pageEnterHero {
	0%   { opacity: 0; clip-path: inset(40px round 28px); }
	40%  { opacity: 1; clip-path: inset(40px round 28px); }
	100% { opacity: 1; clip-path: inset(0 round 0); }
}
@keyframes pageEnterHeader {
	to { opacity: 1; transform: translateY(0); }
}
@keyframes pageEnterFromBottom {
	to { opacity: 1; transform: translateY(0); }
}
@keyframes pageEnterQuicklinks {
	to { opacity: 1; transform: translateY(-50%); }
}
@keyframes pageEnterFade {
	to { opacity: 1; }
}

/* ============================================================
   .hidden-text fallback (CMS-defined; included for safety)
   ============================================================ */

.hidden-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* ============================================================
   Scroll-driven section reveals — IntersectionObserver toggles
   .is-revealed so each section plays its fade once, smoothly.
   Gated by .reveal-js so content stays visible if JS is off.
   ============================================================ */
.reveal-js .reveal-up,
.reveal-js .reveal-left,
.reveal-js .reveal-right {
	opacity: 0;
	transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-js .reveal-up { transform: translateY(48px); }
.reveal-js .reveal-right { transform: translateX(64px); }
.reveal-js .reveal-left { transform: translateX(-64px); }
.reveal-js .reveal-up.is-revealed,
.reveal-js .reveal-left.is-revealed,
.reveal-js .reveal-right.is-revealed {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.reveal-js .reveal-up,
	.reveal-js .reveal-left,
	.reveal-js .reveal-right { opacity: 1; transform: none; transition: none; }
}
/* On mobile, slide everything up (no sideways shift that pushes content
   off-screen / off-centre on a narrow viewport) */
@media (max-width: 48rem) {
	.reveal-js .reveal-left,
	.reveal-js .reveal-right { transform: translateY(40px); }
}

/* Mobile: keep section titles centred and sized to fit (no clipping) */
@media (max-width: 48rem) {
	.homepage .section-heading,
	.glance-heading,
	.stats-intro-title {
		text-align: center;
		font-size: clamp(1.5rem, 6.5vw, 2rem);
	}
}
