/* EAU theme — main stylesheet */

:root {
	--eau-amber: #dd9933;
	--eau-amber-dark: #b87a1f;
	--eau-gold: #ffb606;
	--eau-ink: #1f2328;
	--eau-text: #3d4248;
	--eau-muted: #6b7178;
	--eau-line: #e7e2da;
	--eau-cream: #fdf8f1;
	--eau-white: #ffffff;
	--eau-footer: #23201c;
	--eau-radius: 10px;
	--eau-shadow: 0 6px 24px rgba(31, 35, 40, 0.08);
	--eau-container: 1170px;
	--eau-gutter: 16px;
	--eau-font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--eau-font-head: Georgia, var(--eau-font);   /* real families are set in refresh.css */
	--eau-section: clamp(56px, 7vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--eau-white);
	color: var(--eau-text);
	font-family: var(--eau-font);
	font-size: 16px;
	line-height: 1.65;
	overflow-x: hidden;
}
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--eau-amber-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--eau-ink); }
h1, h2, h3, h4, h5, h6 { color: var(--eau-ink); font-family: var(--eau-font-head); font-weight: 600; line-height: 1.22; letter-spacing: -.01em; margin: 1.4em 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--eau-gold); outline-offset: 2px; }

.container {
	width: 100%;
	max-width: calc(var(--eau-container) + var(--eau-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--eau-gutter);
}
.narrow { max-width: 760px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	left: 8px; top: 8px; z-index: 1000;
	padding: 10px 16px;
	background: var(--eau-white); color: var(--eau-ink);
	box-shadow: var(--eau-shadow);
}

.button,
button.button,
input[type="submit"],
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 2px solid var(--eau-amber);
	border-radius: 999px;
	background: var(--eau-amber);
	color: var(--eau-white);
	font: 600 15px/1.2 var(--eau-font);
	text-decoration: none;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.button:hover,
input[type="submit"]:hover,
.wpcf7-submit:hover {
	background: var(--eau-amber-dark);
	border-color: var(--eau-amber-dark);
	color: var(--eau-white);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"], select, textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid #cfc8bd;
	border-radius: 8px;
	background: var(--eau-white);
	color: var(--eau-ink);
	font: 16px/1.4 var(--eau-font);
}
input:focus, select:focus, textarea:focus {
	border-color: var(--eau-amber);
	outline: 3px solid rgba(221, 153, 51, .25);
	outline-offset: 0;
}

.card {
	background: var(--eau-white);
	border: 1px solid var(--eau-line);
	border-radius: var(--eau-radius);
	box-shadow: var(--eau-shadow);
}

.icon { flex: none; vertical-align: middle; }

/* ---------- Top bar ---------- */
.topbar {
	background: var(--eau-amber);
	color: var(--eau-white);
	font-size: 14px;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 42px;
}
.topbar-info {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 0; padding: 6px 0;
	list-style: none;
}
.topbar-info li { display: flex; align-items: center; gap: 7px; }
.topbar a { color: var(--eau-white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.social-links a {
	display: grid; place-items: center;
	width: 32px; height: 32px;
	border-radius: 50%;
	color: var(--eau-white);
	background: rgba(255, 255, 255, .16);
	transition: background .2s;
}
.social-links a:hover { background: rgba(255, 255, 255, .32); }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--eau-white);
	border-bottom: 3px solid var(--eau-amber);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 78px;
}
.site-branding img, .custom-logo { display: block; max-height: 60px; width: auto; }
.site-title { color: var(--eau-ink); font-size: 1.3rem; font-weight: 700; text-decoration: none; }

.main-navigation { display: flex; align-items: center; gap: 18px; }
.main-navigation .menu { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.main-navigation li { position: relative; }
.main-navigation .menu > li { display: flex; align-items: center; }
.main-navigation a {
	display: block;
	padding: 10px 12px;
	color: var(--eau-ink);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-menu-ancestor > a { color: var(--eau-amber-dark); }

.submenu-toggle {
	display: grid; place-items: center;
	width: 26px; height: 26px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--eau-muted);
	cursor: pointer;
}
.submenu-toggle .icon { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.main-navigation .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 250px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--eau-white);
	border-top: 3px solid var(--eau-amber);
	border-radius: 0 0 8px 8px;
	box-shadow: var(--eau-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.main-navigation .sub-menu a { padding: 8px 18px; font-weight: 500; color: var(--eau-text); white-space: normal; }
.main-navigation .sub-menu a:hover { background: var(--eau-cream); }
.main-navigation .sub-menu .sub-menu { top: 0; left: 100%; }
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu,
.main-navigation li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.header-button { white-space: nowrap; }

.menu-toggle {
	display: none;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--eau-line);
	border-radius: 8px;
	background: var(--eau-white);
	color: var(--eau-ink);
	cursor: pointer;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: inline; }

/* ---------- Page hero / content ---------- */
.page-hero {
	padding: 48px 0 40px;
	background: linear-gradient(90deg, rgba(221, 153, 51, .14), rgba(255, 182, 6, .04)), var(--eau-cream);
	border-bottom: 1px solid var(--eau-line);
}
.page-hero .page-title { margin: 0; }
.page-hero .entry-meta { margin: 8px 0 0; color: var(--eau-muted); }
.archive-description { margin-top: 8px; color: var(--eau-muted); }

.site-main { padding-block: 40px 64px; }
.site-main.full-width { padding: 0; }
.site-main.full-width-container { padding-block: 0; }
.entry-content { overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-thumbnail { margin: 0 0 24px; }
.entry-thumbnail img { border-radius: var(--eau-radius); }
.entry-footer { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--eau-line); color: var(--eau-muted); font-size: 14px; }
.entry-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--eau-amber); color: var(--eau-ink); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 8px 10px; border-bottom: 1px solid var(--eau-line); text-align: left; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: none; }
.wp-caption-text, figcaption { color: var(--eau-muted); font-size: 14px; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.layout-sidebar:has(.widget-area) { grid-template-columns: minmax(0, 1fr) 300px; }
.widget-area { padding-block: 40px; }
.widget { margin-bottom: 32px; }
.widget ul { padding-left: 18px; }
.widget-title { margin-top: 0; font-size: 1.1rem; }

/* Post cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; overflow: hidden; }
.post-card-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.post-card-title { margin: 0 0 6px; font-size: 1.15rem; }
.post-card-title a { color: var(--eau-ink); text-decoration: none; }
.post-card-title a:hover { color: var(--eau-amber-dark); }
.post-card .entry-meta { margin-bottom: 10px; color: var(--eau-muted); font-size: 14px; }
.post-card-excerpt { flex: 1; }
.read-more { font-weight: 600; }

.pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.pagination .page-numbers {
	display: grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border: 1px solid var(--eau-line); border-radius: 8px;
	text-decoration: none; color: var(--eau-ink);
}
.pagination .page-numbers.current { background: var(--eau-amber); border-color: var(--eau-amber); color: var(--eau-white); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation .nav-label { display: block; color: var(--eau-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }

.search-form { display: flex; gap: 8px; max-width: 480px; }
.search-submit { display: grid; place-items: center; width: 48px; flex: none; border: 0; border-radius: 8px; background: var(--eau-amber); color: var(--eau-white); cursor: pointer; }

.comments-area { margin-top: 48px; }
.comment-list { padding-left: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--eau-line); }

.not-found { text-align: center; }
.not-found .search-form { margin: 24px auto; }

/* Contact template */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.contact-card { padding: 24px; }
.contact-card h2 { margin-top: 0; font-size: 1.25rem; }
.contact-card .footer-contact a, .contact-card .footer-contact { color: var(--eau-text); }
.contact-card .social-links a { background: var(--eau-amber); }

.notice-inline { padding: 12px 16px; border-left: 4px solid var(--eau-amber); background: var(--eau-cream); }

/* Alumni portal/dashboard styles ship with the EAU Alumni plugin (assets/alumni.css). */

/* ---------- Downloads ---------- */
.eau-downloads { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.eau-download { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.eau-download-head { display: flex; gap: 14px; align-items: flex-start; }
.eau-file-icon {
	display: grid; place-items: center; flex: none;
	width: 52px; height: 62px;
	border-radius: 6px 16px 6px 6px;
	background: #c0392b; color: var(--eau-white);
	font-weight: 800; font-size: 13px; letter-spacing: .04em;
}
.eau-download h2 { margin: 0 0 4px; font-size: 1.15rem; }
.eau-download-meta { margin: 0; color: var(--eau-muted); font-size: 14px; }
.eau-download-desc { flex: 1; margin: 0; }
.eau-download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.eau-download-actions .button-ghost { background: transparent; color: var(--eau-amber-dark); }
.eau-download-actions .button-ghost:hover { background: var(--eau-cream); color: var(--eau-amber-dark); }

/* ---------- Admission checker ---------- */
.admission-page { display: grid; justify-items: center; }
.eau-admission {
	width: 100%;
	max-width: 560px;
	margin-inline: auto;
	padding: 36px 24px;
	text-align: center;
}
.eau-admission-title { margin-top: 0; color: var(--eau-amber-dark); }
.eau-admission-form { display: grid; gap: 14px; max-width: 360px; margin: 0 auto; }
.eau-admission-form input { text-align: center; font-size: 18px; letter-spacing: .04em; }
.eau-admission-result {
	margin-top: 24px;
	padding: 18px;
	border-radius: var(--eau-radius);
	font-weight: 600;
	white-space: pre-line;
	animation: eau-rise .35s ease-out;
}
.eau-admission-result.is-admitted { background: #fff4e6; color: #8a4500; }
.eau-admission-result.is-not-admitted { background: #fdecec; color: #9b1c1c; }
.eau-admission-result.is-notice { background: #fff9e6; color: #7a5a00; }
.eau-admission-foot { margin: 24px 0 0; color: var(--eau-muted); font-size: 13px; }
@keyframes eau-rise { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--eau-footer); color: #d8d2c8; font-size: 15px; }
.site-footer a { color: #f3ede4; text-decoration: none; }
.site-footer a:hover { color: var(--eau-gold); }
.footer-main {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 36px;
	padding-block: 56px 40px;
}
.site-footer .widget-title, .site-footer .site-title { color: var(--eau-white); font-size: 1.05rem; margin: 0 0 14px; }
.footer-brand .custom-logo { max-height: 70px; margin-bottom: 14px; background: var(--eau-white); padding: 6px 10px; border-radius: 8px; }
.footer-menu, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact .icon { margin-top: 4px; color: var(--eau-gold); }
.footer-social a { background: var(--eau-gold); color: var(--eau-footer); }
.footer-social a:hover { background: var(--eau-white); color: var(--eau-footer); }
.footer-bottom { background: var(--eau-amber); color: var(--eau-white); font-size: 14px; }
.footer-bottom p { margin: 0; padding: 14px 0; text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.menu-toggle { display: grid; place-items: center; }
	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
		padding: 8px var(--eau-gutter) 20px;
		background: var(--eau-white);
		border-top: 1px solid var(--eau-line);
		box-shadow: var(--eau-shadow);
	}
	.main-navigation.is-open { display: flex; }
	.main-navigation .menu { flex-direction: column; align-items: stretch; }
	.main-navigation .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--eau-line); }
	.main-navigation .menu > li > a { flex: 1; padding: 13px 4px; }
	.main-navigation a { white-space: normal; }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.main-navigation .sub-menu,
	.main-navigation .sub-menu .sub-menu {
		position: static;
		display: none;
		width: 100%;
		min-width: 0;
		padding: 0 0 8px 12px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.main-navigation li:hover > .sub-menu,
	.main-navigation li:focus-within > .sub-menu { display: none; }
	.main-navigation li.is-open > .sub-menu { display: block; }
	.header-button { margin-top: 16px; }
	.layout-sidebar:has(.widget-area), .contact-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.topbar-inner { justify-content: center; }
	.topbar-info { justify-content: center; font-size: 13px; }
	.topbar-address, .topbar-social { display: none; }
	.header-inner { min-height: 66px; }
	.site-branding img, .custom-logo { max-height: 46px; }
	.page-hero { padding: 32px 0 28px; }
	.alignleft, .alignright { float: none; margin: 0 0 16px; }
	.alumni-portal .eau-alumni-form { padding: 20px 16px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =====================================================================
   Static site components (home, faculties, gallery, contact)
   ===================================================================== */
.eyebrow {
	margin: 0 0 10px;
	color: var(--eau-amber-dark);
	font: 700 13px/1.3 var(--eau-font);
	letter-spacing: .12em;
	text-transform: uppercase;
}
.page-lead, .section-lead, .hero-lead { max-width: 62ch; color: var(--eau-text); font-size: 1.08rem; }
.page-hero .page-lead { margin: 14px 0 0; }
.accent { color: var(--eau-amber-dark); }
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.1em; }

.button-lg { padding: 14px 28px; font-size: 16px; }
.button-ghost { background: transparent; color: var(--eau-amber-dark); }
.button-ghost:hover { background: var(--eau-cream); color: var(--eau-amber-dark); border-color: var(--eau-amber); }
.button-light { background: var(--eau-white); border-color: var(--eau-white); color: var(--eau-ink); }
.button-light:hover { background: var(--eau-cream); border-color: var(--eau-cream); color: var(--eau-ink); }
.button-outline-light { background: transparent; border-color: rgba(255, 255, 255, .8); color: var(--eau-white); }
.button-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--eau-white); color: var(--eau-white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }

.section { padding-block: var(--eau-section); }
.section-cream { background: var(--eau-cream); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; max-width: none; }
.section-title { margin: 0 0 14px; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.section-title-sm { font-size: 1.3rem; }
.group-title { margin: 40px 0 18px; font-size: 1.1rem; color: var(--eau-muted); font-weight: 600; letter-spacing: .02em; }
.group-title:first-of-type { margin-top: 0; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split-media img { display: block; width: 100%; border-radius: 16px; box-shadow: var(--eau-shadow); aspect-ratio: 4 / 3; object-fit: cover; }

/* Home hero */
.home-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 0;
	background:
		radial-gradient(circle at 85% 30%, rgba(255, 182, 6, .35), transparent 45%),
		linear-gradient(120deg, #fff6e8 0%, #fde6c2 55%, #f6c77c 100%);
}
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: end; }
.home-hero-text { align-self: center; padding-bottom: clamp(32px, 5vw, 72px); }
.home-hero h1 { margin: 0; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); font-weight: 700; line-height: 1.08; }
.hero-lead { margin: 22px 0 0; font-size: 1.15rem; }
.home-hero-media img { display: block; width: 100%; max-width: 560px; margin-left: auto; height: auto; filter: drop-shadow(0 24px 40px rgba(122, 74, 10, .25)); }
.stat-row {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 -1px;
	padding: 0;
	list-style: none;
	background: var(--eau-white);
	border-radius: 16px 16px 0 0;
	box-shadow: 0 -10px 30px rgba(122, 74, 10, .08);
}
.stat-row li { display: flex; flex-direction: column; gap: 2px; padding: 22px 24px; border-left: 1px solid var(--eau-line); }
.stat-row li:first-child { border-left: 0; }
.stat-row strong { font: 700 clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem)/1.1 var(--eau-font-head); color: var(--eau-amber-dark); }
.stat-row span { color: var(--eau-muted); font-size: 14px; }

/* Program cards */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.program-card {
	position: relative;
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	height: 100%;
	padding: 18px 44px 18px 18px;
	border: 1px solid var(--eau-line);
	border-radius: 14px;
	background: var(--eau-white);
	color: var(--eau-ink);
	text-decoration: none;
	transition: transform .2s, box-shadow .2s, border-color .2s;
}
.program-card:hover { transform: translateY(-3px); border-color: var(--eau-amber); box-shadow: var(--eau-shadow); color: var(--eau-ink); }
.program-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 12px; background: var(--eau-cream); color: var(--eau-amber-dark); }
.program-icon img { width: 36px; height: 36px; object-fit: contain; }
.program-name { align-self: end; font: 600 1.02rem/1.25 var(--eau-font-head); }
.program-meta { align-self: start; color: var(--eau-muted); font-size: 13px; }
.program-go { position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--eau-amber); transition: translate .2s; }
.program-card:hover .program-go { translate: 4px -50%; }

/* Lists */
.check-list { display: grid; gap: 18px; margin: 24px 0 28px; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; }
.check-list .icon { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--eau-amber); color: var(--eau-white); }
.check-list strong { display: block; color: var(--eau-ink); font-family: var(--eau-font-head); font-weight: 600; }
.check-list span { color: var(--eau-text); }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip-list a { display: block; padding: 8px 16px; border: 1px solid var(--eau-line); border-radius: 999px; color: var(--eau-ink); text-decoration: none; font-weight: 500; }
.chip-list a:hover { border-color: var(--eau-amber); background: var(--eau-cream); }

/* Video */
.video-embed { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 16px; background: #111; box-shadow: var(--eau-shadow); }
.video-embed iframe, .video-play, .video-play img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { padding: 0; background: none; cursor: pointer; }
.video-play img { object-fit: cover; }
.play-icon {
	position: absolute; top: 50%; left: 50%; translate: -50% -50%;
	display: grid; place-items: center;
	width: 76px; height: 76px; border-radius: 50%;
	background: var(--eau-amber); color: var(--eau-white);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
	transition: scale .2s;
}
.video-play:hover .play-icon { scale: 1.08; }

/* News strip (filled by site.js from WordPress) */
.news-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.news-strip .news-fallback { grid-column: 1 / -1; margin: 0; }
.news-card { display: flex; flex-direction: column; overflow: hidden; background: var(--eau-white); border: 1px solid var(--eau-line); border-radius: 14px; color: var(--eau-ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--eau-shadow); color: var(--eau-ink); }
.news-card img, .news-card .news-noimg { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--eau-cream); }
.news-card-body { padding: 18px 20px 22px; }
.news-card time { color: var(--eau-muted); font-size: 13px; }
.news-card h3 { margin: 6px 0 0; font-size: 1.05rem; line-height: 1.35; }

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.testimonial { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid var(--eau-line); border-radius: 16px; background: var(--eau-white); }
.testimonial blockquote { position: relative; margin: 0 0 20px; padding-top: 28px; color: var(--eau-ink); font-size: 1.02rem; }
.testimonial blockquote::before { content: "\201C"; position: absolute; top: -14px; left: -4px; color: var(--eau-amber); font: 700 64px/1 var(--eau-font-head); }
.testimonial-by { display: flex; flex-direction: column; margin: 0; padding-top: 16px; border-top: 1px solid var(--eau-line); }
.testimonial-by span { color: var(--eau-muted); font-size: 14px; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--eau-amber-dark), var(--eau-amber) 60%, var(--eau-gold)); color: var(--eau-white); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 64px); }
.cta-band h2 { margin: 0 0 6px; color: var(--eau-white); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.cta-band p { margin: 0; }
.cta-band .hero-actions { margin: 0; }

/* About */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.value-card { padding: 28px; border-radius: 16px; background: var(--eau-white); border: 1px solid var(--eau-line); }
.value-card h2 { margin: 16px 0 8px; font-size: 1.2rem; }
.value-card p { margin: 0; }
.value-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--eau-amber); color: var(--eau-white); }
.value-icon .icon { width: 26px; height: 26px; }
.social-inline a { background: var(--eau-amber); }

/* Gallery + lightbox */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gallery-item { display: block; overflow: hidden; border-radius: 10px; background: var(--eau-cream); aspect-ratio: 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: scale .35s; }
.gallery-item:hover img { scale: 1.06; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 56px 16px; background: rgba(20, 16, 10, .92); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 100%); max-height: calc(100vh - 112px); border-radius: 8px; object-fit: contain; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: var(--eau-white); cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox .lb-close { top: 12px; right: 12px; }
.lightbox .lb-prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox .lb-next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox .lb-prev .icon { rotate: 180deg; }
.lightbox .lb-count { position: absolute; bottom: 16px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .8); font-size: 14px; }
body.lightbox-open { overflow: hidden; }

/* Contact */
.contact-form { padding: clamp(20px, 3vw, 32px); }
.contact-form h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.form-grid label { color: var(--eau-ink); font-weight: 600; font-size: 14px; }
.form-wide { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-bottom: 20px; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.form-status.is-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.contact-list { margin: 0 0 20px; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.contact-list .icon { margin-top: 4px; color: var(--eau-amber); flex: none; }
.contact-card h3 { margin: 20px 0 8px; font-size: 1rem; }
.email-list { margin: 0 0 20px; padding: 0; list-style: none; }
.email-list li { margin-bottom: 6px; overflow-wrap: anywhere; }
.map-section iframe { display: block; width: 100%; height: clamp(300px, 40vw, 440px); border: 0; }

/* Static pages are built from full-width sections, so main has no padding of its own. */
.static-page .site-main { padding: 0; }

/* News (WordPress) */
.single-post .page-hero .container,
.single-post .site-main { max-width: calc(780px + var(--eau-gutter) * 2); }
.single-post .entry-content { font-size: 1.06rem; }
.single-post .entry-content img { border-radius: 10px; }
.single-post .entry-thumbnail img { width: 100%; }
.blog .post-card-excerpt, .archive .post-card-excerpt, .search .post-card-excerpt { color: var(--eau-text); font-size: .96rem; }
.post-card-thumb { display: block; background: var(--eau-cream); }

/* Logo in header is a link now */
.site-branding { display: block; }

@media (max-width: 1080px) {
	.home-hero-inner, .split { grid-template-columns: minmax(0, 1fr); }
	.home-hero-media img { margin-inline: auto; max-width: 440px; }
	.testimonials, .value-grid, .news-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.stat-row li:nth-child(3) { border-left: 0; }
	.stat-row li:nth-child(n+3) { border-top: 1px solid var(--eau-line); }
}
@media (max-width: 680px) {
	.testimonials, .value-grid, .news-strip, .form-grid { grid-template-columns: minmax(0, 1fr); }
	.home-hero-text { padding-bottom: 8px; }
	.home-hero-media img { max-width: 320px; }
	.stat-row li { padding: 16px; }
	.program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.program-card { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 8px; padding: 14px; }
	.program-icon { grid-row: auto; width: 44px; height: 44px; }
	.program-icon img { width: 28px; height: 28px; }
	.program-go { display: none; }
	.hero-actions .button { flex: 1 1 auto; }
	.section-head { margin-bottom: 28px; }
}

/* Faculty pages */
.faculty-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 3vw, 36px) 0 clamp(56px, 7vw, 96px);
	background:
		radial-gradient(circle at 0% 0%, rgba(255, 182, 6, .22), transparent 40%),
		linear-gradient(125deg, #fff8ee 0%, #fdebd0 60%, #fbdcae 100%);
}
.faculty-hero-shape {
	position: absolute;
	right: -12vw;
	top: -18vw;
	width: 56vw;
	height: 56vw;
	max-width: 760px;
	max-height: 760px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(221, 153, 51, .28), rgba(221, 153, 51, 0) 68%);
	pointer-events: none;
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 clamp(24px, 4vw, 48px); padding: 0; list-style: none; font-size: 14px; color: var(--eau-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #c9b9a0; }
.breadcrumbs a { color: var(--eau-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--eau-amber-dark); }
.breadcrumbs [aria-current] { color: var(--eau-ink); font-weight: 600; }
.faculty-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.faculty-intro h1 { margin: 0; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); font-weight: 700; line-height: 1.1; }
.faculty-intro h1 .accent { display: block; margin-top: 10px; font-size: .55em; font-weight: 600; }
.faculty-lead { max-width: 56ch; margin: 22px 0 0; font-size: 1.1rem; }
.faculty-visual { position: relative; }
.faculty-visual::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	border-radius: 22px;
	background: linear-gradient(135deg, var(--eau-amber), var(--eau-gold));
	opacity: .9;
}
.faculty-media { position: relative; display: block; width: 100%; border-radius: 20px; overflow: hidden; background: #111; box-shadow: 0 24px 48px rgba(122, 74, 10, .22); aspect-ratio: 4 / 3; object-fit: cover; }
.faculty-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.faculty-media-yt { background: none; }
.faculty-media-yt .video-embed { height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.faculty-badge {
	position: absolute;
	left: -22px;
	top: -24px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 12px;
	border-radius: 16px;
	background: var(--eau-white);
	box-shadow: 0 16px 36px rgba(31, 35, 40, .16);
}
.faculty-badge-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--eau-cream); color: var(--eau-amber-dark); }
.faculty-badge-icon img { width: 34px; height: 34px; object-fit: contain; }
.faculty-badge strong { display: block; color: var(--eau-ink); font: 700 1.05rem/1.2 var(--eau-font-head); }
.faculty-badge small { color: var(--eau-muted); font-size: 13px; }

.facts-band { position: relative; z-index: 1; margin-top: -40px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: var(--eau-white); border: 1px solid var(--eau-line); border-radius: 18px; box-shadow: var(--eau-shadow); }
.fact { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 20px 22px; border-left: 1px solid var(--eau-line); min-width: 0; }
.fact:first-child { border-left: 0; }
.fact-icon { grid-row: 1 / 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--eau-cream); color: var(--eau-amber-dark); }
.fact-label { align-self: end; color: var(--eau-muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.fact-value { align-self: start; color: var(--eau-ink); font-weight: 600; overflow-wrap: anywhere; }
.fact-value a { color: var(--eau-amber-dark); font-weight: 600; font-size: .9em; text-decoration: none; word-break: break-word; }
.fact-value a:hover { text-decoration: underline; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.feature-card {
	position: relative;
	overflow: hidden;
	padding: 32px 28px 30px;
	border: 1px solid var(--eau-line);
	border-radius: 18px;
	background: var(--eau-white);
	box-shadow: 0 4px 18px rgba(31, 35, 40, .05);
	transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s;
}
.feature-card::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--eau-amber), var(--eau-gold));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
}
.feature-card:hover { transform: translateY(-6px); border-color: #f1d7ab; box-shadow: 0 18px 40px rgba(122, 74, 10, .12); }
.feature-card:hover::after { transform: scaleX(1); }
.feature-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--eau-amber), var(--eau-gold)); color: var(--eau-white); box-shadow: 0 10px 20px rgba(221, 153, 51, .3); }
.feature-num { position: absolute; top: 18px; right: 22px; color: #f3e6d2; font: 700 3rem/1 var(--eau-font-head); }
.feature-card h3 { margin: 22px 0 10px; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--eau-text); }

.statement { position: relative; overflow: hidden; background: var(--eau-ink); color: #e9e3d9; }
.statement-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); padding-block: clamp(64px, 8vw, 112px); }
.statement-text h2 { margin: 0 0 18px; color: var(--eau-white); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
.statement-text p:not(.eyebrow) { margin: 0; max-width: 56ch; font-size: 1.12rem; }
.statement .eyebrow { color: var(--eau-gold); }
.statement-media { position: absolute; right: max(16px, calc((100vw - var(--eau-container)) / 2)); bottom: 0; width: min(36vw, 440px); }
.statement-media img { display: block; width: 100%; height: auto; }
.statement::before {
	content: "";
	position: absolute;
	right: -10%;
	top: -40%;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(221, 153, 51, .35), transparent 65%);
}

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0 0 32px; padding: 0; list-style: none; }
.step { position: relative; padding: 28px; border-radius: 18px; background: var(--eau-cream); border: 1px solid #f3e3c8; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--eau-white); color: var(--eau-amber-dark); border: 2px solid var(--eau-amber); font: 700 1.1rem/1 var(--eau-font-head); }
.step h3 { margin: 16px 0 8px; font-size: 1.1rem; }
.step p { margin: 0; }
.step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 49px;
	right: -24px;
	width: 24px;
	border-top: 2px dashed #e6c58f;
}

@media (max-width: 1080px) {
	.faculty-hero-inner, .statement-inner { grid-template-columns: minmax(0, 1fr); }
	.faculty-visual { max-width: 640px; margin: 28px 0 20px; }
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fact:nth-child(3) { border-left: 0; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--eau-line); }
	.feature-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.step:not(:last-child)::after { display: none; }
	.statement-media { opacity: .25; width: 60vw; }
}
@media (max-width: 680px) {
	.facts, .feature-grid, .steps { grid-template-columns: minmax(0, 1fr); }
	.fact { border-left: 0; border-top: 1px solid var(--eau-line); }
	.fact:first-child { border-top: 0; }
	.faculty-visual::before { inset: 12px -8px -12px 12px; }
	.faculty-badge { left: 8px; top: -20px; }
	.facts-band { margin-top: -24px; }
	.statement-media { width: 90vw; right: -10vw; }
}

/* =====================================================================
   Motion
   ===================================================================== */
@keyframes eau-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes eau-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes eau-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes eau-pop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: no-preference) {
	/* Above the fold: plays on load, no script needed. */
	.home-hero-text > *, .faculty-intro > *, .page-hero .container > * { animation: eau-fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
	.home-hero-text > :nth-child(2), .faculty-intro > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .08s; }
	.home-hero-text > :nth-child(3), .faculty-intro > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .16s; }
	.home-hero-text > :nth-child(4), .faculty-intro > :nth-child(4) { animation-delay: .24s; }
	.home-hero-media img { animation: eau-fade-in 1s .2s both, eau-float 7s 1.2s ease-in-out infinite; }
	.faculty-visual { animation: eau-fade-up .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
	.faculty-badge { animation: eau-pop .6s .7s cubic-bezier(.3, 1.4, .5, 1) both; }
	.stat-row { animation: eau-fade-up .8s .3s cubic-bezier(.2, .7, .2, 1) both; }
	.facts-band { animation: eau-fade-up .8s .35s cubic-bezier(.2, .7, .2, 1) both; }

	/* Below the fold: site.js adds .reveal, then .is-in when scrolled into view. */
	.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0s); }
	.reveal.is-in { opacity: 1; transform: none; }

	.site-header { transition: box-shadow .3s, background-color .3s; }
	.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(31, 35, 40, .1); }
	.button { transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
	.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(221, 153, 51, .28); }
	.button:active { transform: translateY(0); }
	.split-media img, .news-card img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
	.split-media:hover img { transform: scale(1.02); }
	.news-card:hover img { transform: scale(1.05); }
	.news-card { overflow: hidden; }
}

/* =====================================================================
   Classic look: brings back the signature pieces of the old Bizberg /
   Education Empowerment design (loaded last, overrides the rest).
   ===================================================================== */

/* ---------- Header: centred logo, amber menu bar ---------- */
.site-header { position: static; border-bottom: 0; box-shadow: none; background: var(--eau-white); }
.brand-row { background: var(--eau-white); }
.brand-row-inner { display: flex; justify-content: center; padding-block: 18px 16px; }
.brand-row .custom-logo { display: block; width: auto; max-height: 104px; }
.nav-bar {
	position: sticky;
	top: 0;
	z-index: 100;
	background: linear-gradient(90deg, #dd9933 0%, #e7a94c 45%, #f1cb8b 100%);
	transition: box-shadow .3s;
}
.admin-bar .nav-bar { top: 32px; }
.nav-bar.is-scrolled { box-shadow: 0 6px 18px rgba(122, 74, 10, .2); }
.nav-bar-inner { display: flex; align-items: center; justify-content: center; min-height: 52px; }
.nav-logo { display: none; }
.main-navigation { gap: 14px; }
.main-navigation .menu > li > a {
	padding: 16px 14px;
	color: var(--eau-white);
	font: 600 12.5px/1.2 var(--eau-font-head);
	letter-spacing: .04em;
	text-transform: uppercase;
}
.main-navigation .menu > li + li > a::before,
.main-navigation .menu > li + li > a:first-child::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	height: 18px;
	translate: 0 -50%;
	border-left: 1px solid rgba(255, 255, 255, .35);
}
.main-navigation .menu > li > a { position: relative; }
.main-navigation .menu > li > a:hover,
.main-navigation .menu > .current-menu-item > a,
.main-navigation .menu > .current-menu-ancestor > a { color: #6b3f00; }
.main-navigation .menu > li > .submenu-toggle { color: rgba(255, 255, 255, .9); margin-left: -12px; }
.main-navigation .sub-menu { border-top-color: #dd9933; }
.main-navigation .sub-menu a { font-size: 14px; text-transform: none; letter-spacing: 0; }
.header-button {
	padding: 9px 18px;
	border: 2px solid #ffb400;
	border-radius: 4px;
	background: #ffb400;
	color: var(--eau-white);
	font: 700 12.5px/1.2 var(--eau-font-head);
	letter-spacing: .04em;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(122, 74, 10, .18);
}
.header-button:hover { background: #ed9e00; border-color: #ed9e00; color: var(--eau-white); }
.menu-toggle { border-color: rgba(255, 255, 255, .6); background: transparent; color: var(--eau-white); }

/* ---------- Buttons: closer to the old flat amber buttons ---------- */
.button { border-radius: 6px; }
.button-lg { border-radius: 8px; }

/* ---------- Headings: centred amber section titles ---------- */
.section-head { max-width: 760px; margin-inline: auto; margin-bottom: 44px; text-align: center; }
.section-head .section-lead { margin-inline: auto; }
.section-head-row { max-width: none; text-align: left; }
.section-title { color: var(--eau-amber); }
.section-head-row .section-title { color: var(--eau-ink); }
.eyebrow { color: #ffb400; letter-spacing: .08em; }
.group-title { text-align: center; color: var(--eau-ink); }

/* ---------- Home hero: flat peach ---------- */
.home-hero { padding: clamp(32px, 5vw, 56px) 0 0; background: #f6dfc2; }
.home-hero h1 { font-weight: 800; }
.home-hero .eyebrow { color: #dd9933; }

/* ---------- Gold achievement block ---------- */
.achievement { background: #ffb606; color: var(--eau-white); }
.achievement-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.achievement .stat-row {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 0;
	background: none;
	border-radius: 0;
	box-shadow: none;
	animation: none;
}
.achievement .stat-row li {
	align-items: center;
	justify-content: center;
	min-height: 140px;
	padding: 20px;
	border: 2px dashed rgba(255, 255, 255, .55);
	border-radius: 8px;
	text-align: center;
}
.achievement .stat-row li:nth-child(n) { border-top: 2px dashed rgba(255, 255, 255, .55); border-left: 2px dashed rgba(255, 255, 255, .55); }
.achievement .stat-row strong { color: var(--eau-white); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); font-weight: 800; }
.achievement .stat-row span { color: var(--eau-white); font-weight: 600; font-size: 14px; }
.achievement .stars { letter-spacing: 2px; font-size: 13px; }
.achievement .eyebrow { color: var(--eau-white); }
.achievement h2 { margin: 0; color: var(--eau-white); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; line-height: 1.25; }

/* ---------- "Top notch Facilities": dashed icon circles ---------- */
.program-grid { grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); gap: 32px 18px; justify-items: center; }
.program-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	text-align: center;
}
.program-card:hover { transform: none; box-shadow: none; }
.program-icon {
	display: grid;
	place-items: center;
	width: 118px;
	height: 118px;
	margin-bottom: 10px;
	border: 2px dashed #b9b9b9;
	border-radius: 50%;
	background: var(--eau-white);
	color: #8a8a8a;
	transition: border-color .3s, transform .4s cubic-bezier(.2, .7, .2, 1), box-shadow .3s;
}
.program-icon img { width: 64px; height: 64px; object-fit: contain; filter: grayscale(1); opacity: .85; transition: filter .3s, opacity .3s; }
.program-card:hover .program-icon { border-color: var(--eau-amber); transform: translateY(-4px) rotate(-4deg); box-shadow: 0 10px 24px rgba(221, 153, 51, .2); }
.program-card:hover .program-icon img { filter: none; opacity: 1; }
.program-name { font: 700 1rem/1.25 var(--eau-font-head); color: var(--eau-ink); }
.program-meta { color: var(--eau-muted); font-size: 13px; }
.program-more { color: #dd9933; font-size: 12.5px; font-weight: 700; }
.program-card:hover .program-more { text-decoration: underline; }
.program-go { display: none; }

/* ---------- Page banner (inner pages + faculties) ---------- */
.page-banner {
	position: relative;
	padding: clamp(56px, 8vw, 96px) 0;
	background: #2a2a2a var(--banner) center / cover no-repeat;
	color: var(--eau-white);
	text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.page-banner .container { position: relative; }
.page-banner h1 { margin: 0 0 10px; color: var(--eau-white); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; }
.page-banner .breadcrumbs ol { justify-content: center; margin: 0; font-size: 13px; color: rgba(255, 255, 255, .85); }
.page-banner .breadcrumbs a { color: var(--eau-white); }
.page-banner .breadcrumbs [aria-current] { color: #ffb400; font-weight: 600; }
.page-banner .breadcrumbs li + li::before { color: rgba(255, 255, 255, .6); }
.page-intro { max-width: 760px; margin: clamp(40px, 5vw, 56px) auto 0; text-align: center; font-size: 1.08rem; color: var(--eau-text); }
.page-intro + .section { padding-top: clamp(32px, 4vw, 48px); }

/* ---------- Faculty pages ---------- */
.section-tight { padding-block: 0 var(--eau-section); }
.faculty-intro-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.faculty-intro h2 { margin: 0; color: var(--eau-ink); font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.4rem); font-weight: 700; line-height: 1.2; }
.faculty-intro h2 .accent { display: block; margin-top: 6px; color: #dd9933; font-size: .7em; }
.dean-card { display: grid; gap: 6px; margin: 26px 0 0; padding: 0; border: 0; background: none; }
.dean-card div { display: flex; flex-wrap: wrap; gap: 6px; }
.dean-card dt { color: var(--eau-ink); font: 700 1.05rem/1.4 var(--eau-font-head); }
.dean-card dd { margin: 0; color: var(--eau-ink); font: 600 1.05rem/1.4 var(--eau-font-head); overflow-wrap: anywhere; }
.dean-card dd a { color: #dd9933; }
.faculty-visual { position: relative; }
.faculty-visual::before { display: none; }
.faculty-media {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	border-radius: 12px;
	background: #111;
	box-shadow: 0 18px 40px rgba(31, 35, 40, .16);
	object-fit: contain;
}
img.faculty-media { background: none; }
.feature-card { padding: 28px 26px; border-radius: 8px; box-shadow: 0 6px 24px rgba(31, 35, 40, .08); }
.feature-num { position: static; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background: #111827; color: var(--eau-white); font: 600 1rem/1 var(--eau-font-head); }
.feature-card h3 { margin: 18px 0 10px; }
.closing { max-width: 860px; text-align: left; margin-inline: auto; }
.closing h2 { color: var(--eau-ink); }

/* ---------- Images: show the whole photo, never crop ---------- */
.split-media img { aspect-ratio: auto; height: auto; object-fit: contain; }
.gallery-grid { display: block; columns: 4 220px; column-gap: 12px; }
.gallery-grid > li { break-inside: avoid; margin-bottom: 12px; }
.gallery-item { aspect-ratio: auto; height: auto; }
.gallery-item img { height: auto; object-fit: contain; }
.news-card img, .news-card .news-noimg, .post-card-thumb img { aspect-ratio: 4 / 3; object-position: center 30%; }

/* ---------- Footer: amber, centred ---------- */
.site-footer { background: #dd9933; color: var(--eau-white); font-size: 14px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; padding-block: 40px 28px; text-align: center; }
.footer-social { justify-content: center; }
.footer-social a { width: 36px; height: 36px; background: #ffb606; color: var(--eau-white); }
.footer-social a:hover { background: var(--eau-white); color: #dd9933; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.footer-links li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .7); }
.footer-links a, .footer-contact-line a { color: var(--eau-white); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover, .footer-contact-line a:hover { color: #5a3500; }
.footer-contact-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.footer-contact-line li { display: flex; align-items: center; gap: 8px; }
.copyright { margin: 4px 0 0; color: rgba(255, 255, 255, .9); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nav-bar-inner { justify-content: space-between; min-height: 56px; }
	.nav-logo { display: block; }
	.nav-logo img { display: block; height: 40px; width: auto; padding: 3px 6px; border-radius: 6px; background: var(--eau-white); }
	.main-navigation .menu > li > a { color: var(--eau-ink); }
	.main-navigation .menu > li + li > a::before { display: none; }
	.main-navigation .menu > li > .submenu-toggle { color: var(--eau-muted); margin-left: 0; }
	.main-navigation .menu > li > a:hover, .main-navigation .menu > .current-menu-item > a { color: var(--eau-amber-dark); }
	.achievement-inner, .faculty-intro-row { grid-template-columns: minmax(0, 1fr); }
	.achievement-text { order: -1; text-align: center; }
}
@media (max-width: 782px) {
	.admin-bar .nav-bar { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .nav-bar { top: 0; }
	.brand-row { display: none; }
	.achievement .stat-row li { min-height: 116px; padding: 14px; }
	.program-icon { width: 96px; height: 96px; }
	.program-icon img { width: 52px; height: 52px; }
	.gallery-grid { columns: 2; column-gap: 8px; }
	.gallery-grid > li { margin-bottom: 8px; }
}

/* Centre every line under the icon circles (earlier card styles aligned them to the grid). */
.program-card > * { align-self: center; }

/* =====================================================================
   Polish pass
   ===================================================================== */

/* Browser surfaces in the brand palette */
::selection { background: #ffd58a; color: #2b1a00; }
html { scrollbar-color: #dd9933 #f6efe4; accent-color: #dd9933; }
input, textarea, select { caret-color: #b87a1f; }
:focus-visible { outline: 3px solid #b87a1f; outline-offset: 3px; border-radius: 4px; }
.main-navigation .menu > li > a:focus-visible,
.header-button:focus-visible { outline-color: var(--eau-white); }

/* WordPress pages (news, articles, alumni, admission, 404) get the same photo banner */
.page-hero {
	position: relative;
	padding: clamp(56px, 8vw, 96px) 0;
	border-bottom: 0;
	background: #2a2a2a url('/wp-content/uploads/2024/02/0995519a-486d-44a8-94d2-e88c7fffb490.jpg') center / cover no-repeat;
	color: var(--eau-white);
	text-align: center;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.page-hero .container { position: relative; }
.page-hero .page-title { margin-inline: auto; max-width: 22ch; color: var(--eau-white); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); }
.page-hero .entry-meta, .page-hero .archive-description { color: rgba(255, 255, 255, .85); }
.single-post .page-hero .container { max-width: calc(var(--eau-container) + var(--eau-gutter) * 2); }
.single-post .page-hero .page-title { max-width: 28ch; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.admission-page .eau-admission-title { display: none; }
.admission-page { padding-top: clamp(40px, 5vw, 64px); }
.not-found { padding-top: clamp(48px, 6vw, 80px); }

/* Stars in the gold block */
.achievement .stars { display: inline-flex; gap: 2px; margin: 2px 0; }
.achievement .stars .icon { width: 14px; height: 14px; }

/* About: three columns without boxes (the old About page had none) */
.value-grid { gap: clamp(28px, 4vw, 48px); }
.value-card { padding: 28px 0 0; border: 0; border-top: 3px solid #dd9933; border-radius: 0; background: none; }
.value-card h2 { margin-top: 18px; color: var(--eau-ink); }
.value-icon { width: 46px; height: 46px; border-radius: 50%; }

/* Faculty pages: one gap, not two, before the closing statement */
.section-tight + .section { padding-top: 0; }
.closing h2 { margin-bottom: 14px; }

/* Rhythm: headings get more room above than below */
.split h2.section-title { margin-bottom: 18px; }
.split .eyebrow + .section-title { margin-top: 0; }
.testimonials { margin-top: 8px; }

/* Contact card: long addresses shouldn't break mid-word */
.email-list a { font-size: .92rem; word-break: break-word; }

/* Footer links: no stray separators when the row wraps */
.footer-links { gap: 6px 22px; }
.footer-links li + li::before { content: none; }
.footer-links li { position: relative; }
.footer-links li + li::after {
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .6);
	translate: 0 -50%;
}

/* Hover/focus parity on cards that are links */
.program-card:focus-visible .program-icon { border-color: var(--eau-amber); }
.news-card:focus-visible, .program-card:focus-visible { outline-offset: 6px; }

/* Touch targets on phones */
@media (max-width: 600px) {
	.breadcrumbs ol { gap: 4px; }
	.footer-links a { display: inline-block; padding-block: 4px; }
	.page-banner, .page-hero { padding: 44px 0; }
	.page-intro { padding-inline: var(--eau-gutter); }
	.achievement h2 { font-size: 1.6rem; }
}

/* ---------- Legibility: same colours, readable text (WCAG AA) ----------
   Amber/gold surfaces keep their colour; the text on them is dark brown.
   Amber text on light backgrounds uses a deeper shade of the same hue. */
:root {
	--eau-on-amber: #2b1a00;     /* text on #dd9933 / #ffb606 / #ffb400 (7–9:1) */
	--eau-amber-text: #8f5409;   /* amber text on white, cream and peach (≥5.5:1) */
	--eau-amber-title: #a5630f;  /* large amber headings on light (≥4:1) */
}

/* Menu bar */
.main-navigation .menu > li > a { color: var(--eau-on-amber); font-size: 13px; }
.main-navigation .menu > li + li > a::before { border-left-color: rgba(43, 26, 0, .25); }
.main-navigation .menu > li > a:hover,
.main-navigation .menu > .current-menu-item > a,
.main-navigation .menu > .current-menu-ancestor > a { color: var(--eau-white); text-shadow: 0 1px 2px rgba(80, 45, 0, .35); }
.main-navigation .menu > li > .submenu-toggle { color: rgba(43, 26, 0, .7); }
.menu-toggle { border-color: rgba(43, 26, 0, .35); color: var(--eau-on-amber); }
.main-navigation .menu > li > a:focus-visible { outline-color: var(--eau-on-amber); }

/* Buttons */
.button, button.button, input[type="submit"], .wpcf7-submit, .header-button, .eau-btn,
.eau-login-card input[type="submit"] { color: var(--eau-on-amber) !important; }
.button:hover, input[type="submit"]:hover, .header-button:hover, .eau-btn:hover {
	background: #e7a643; border-color: #e7a643; color: var(--eau-on-amber) !important;
}
.button-ghost, .eau-btn-ghost { color: var(--eau-amber-text) !important; border-color: #dd9933; }
.button-ghost:hover, .eau-btn-ghost:hover { background: #fff1d8; border-color: #dd9933; color: #6b3e05 !important; }
.button-light { color: var(--eau-ink) !important; }
.button-light:hover { background: #fff6e6; border-color: #fff6e6; color: var(--eau-ink) !important; }
.button-outline-light { border-color: rgba(43, 26, 0, .55); color: var(--eau-on-amber) !important; }
.button-outline-light:hover { background: rgba(255, 255, 255, .3); border-color: var(--eau-on-amber); color: var(--eau-on-amber) !important; }
.search-submit { color: var(--eau-on-amber); }
.check-list .icon, .value-icon, .feature-icon { color: var(--eau-on-amber); }

/* Labels and titles on light backgrounds */
.eyebrow, .home-hero .eyebrow { color: var(--eau-amber-text); }
.section-title, .eau-admission-title { color: var(--eau-amber-title); }
.faculty-intro h2 .accent, .accent { color: var(--eau-amber-title); }
.program-more, .dean-card dd a, .read-more, .fact-value a { color: var(--eau-amber-text); }
.program-more { font-size: 13px; }
a { color: var(--eau-amber-text); }
.home-hero .hero-lead, .home-hero p { color: #3a2a14; }

/* Gold achievement block */
.achievement, .achievement .eyebrow, .achievement h2,
.achievement .stat-row strong, .achievement .stat-row span { color: var(--eau-on-amber); }
.achievement .stat-row li,
.achievement .stat-row li:nth-child(n) { border-color: rgba(43, 26, 0, .3); }

/* CTA band */
.cta-band, .cta-band h2, .cta-band p { color: var(--eau-on-amber); }

/* Footer */
.site-footer, .copyright { color: var(--eau-on-amber); }
.footer-links a, .footer-contact-line a { color: var(--eau-on-amber); }
.footer-links a:hover, .footer-contact-line a:hover { color: var(--eau-white); }
.footer-links li + li::after { background: rgba(43, 26, 0, .45); }
.footer-social a { color: var(--eau-on-amber); }
.footer-social a:hover { color: #8f5409; }
.footer-contact-line .icon { color: var(--eau-on-amber); }

/* Alumni + admission (plugin styles) */
.eau-tabs button[aria-selected="true"] { color: var(--eau-amber-text); }
.eau-link, .eau-tag, .eau-news details summary { color: var(--eau-amber-text); }
.eau-dash-nav a[aria-current="page"], .eau-pager a[aria-current="page"], .pagination .page-numbers.current { color: var(--eau-on-amber); }
.eau-date, .eau-initials { color: var(--eau-on-amber); }

/* Cut-out portraits (transparent PNGs) sit on the page, not in a box */
img.faculty-media[src$=".png"] { max-height: 560px; width: auto; max-width: 100%; margin-inline: auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(31, 35, 40, .14)); }

/* ---------- Polish pass 2 ---------- */
/* Articles: centre the reading column */
.single-post .site-main { margin-inline: auto; }

/* Current menu item: dark underline instead of white text (readable on the whole gradient) */
.main-navigation .menu > li > a:hover,
.main-navigation .menu > .current-menu-item > a,
.main-navigation .menu > .current-menu-ancestor > a { color: var(--eau-on-amber); text-shadow: none; }
.main-navigation .menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 9px;
	height: 2px;
	border-radius: 2px;
	background: var(--eau-on-amber);
	transform: scaleX(0);
	transition: transform .25s cubic-bezier(.2, .7, .2, 1);
}
.main-navigation .menu > li > a:hover::after,
.main-navigation .menu > .current-menu-item > a::after,
.main-navigation .menu > .current-menu-ancestor > a::after { transform: scaleX(1); }

/* Alumni portal: intro lines up with the centred login/register block */
.alumni-portal > .entry-content { max-width: 760px; margin: 0 auto 8px; text-align: center; }

@media (max-width: 1080px) {
	.main-navigation .menu > li > a::after { display: none; }
	.main-navigation .menu > .current-menu-item > a { color: var(--eau-amber-text); }
}
.alumni-portal .eau-portal, .alumni-portal .eau-dashboard, .alumni-portal .eau-alumni-form { text-align: left; }

/* Program circles: centred rows of five (10 bachelor = two full rows; short rows centre) */
.program-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 36px 0;
	max-width: 1000px;
	margin-inline: auto;
}
.program-grid > li { flex: 0 0 20%; display: flex; justify-content: center; }
.group-title { margin-top: 56px; margin-bottom: 28px; }
.group-title:first-of-type { margin-top: 8px; }
@media (max-width: 860px) {
	.program-grid > li { flex-basis: 33.333%; }
}
@media (max-width: 600px) {
	.program-grid { gap: 28px 0; }
	.program-grid > li { flex-basis: 50%; }
}

/* ---------- Critique fixes ---------- */

/* Gold block: three stats side by side */
.achievement .stat-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.achievement .stat-row-3 li { min-height: 132px; }

/* Program groups by field: pairs share a row, larger groups take their own */
.program-groups { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 72px; max-width: 1100px; margin-inline: auto; }
.program-group { flex: 0 0 auto; }
.program-group .group-title { margin: 0 0 22px; font-size: 1rem; letter-spacing: .02em; color: var(--eau-ink); }
.program-group .group-title::after {
	content: "";
	display: block;
	width: 32px;
	height: 2px;
	margin: 10px auto 0;
	border-radius: 2px;
	background: #dd9933;
}
.program-groups .program-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px 8px; max-width: none; margin: 0; }
.program-groups .program-grid > li { flex: 0 0 160px; }
.program-groups .program-name { max-width: 150px; text-wrap: balance; }
.program-group-wide { flex-basis: 100%; }

/* Closing band: phone + office fallback for visitors without WhatsApp */
.cta-fallback { margin-top: 8px !important; font-size: 14px; }
.cta-fallback a { color: var(--eau-on-amber); font-weight: 700; }

/* Header + buttons with the WhatsApp mark */
.header-button .icon, .button .icon-whatsapp { width: 18px; height: 18px; }

/* Floating WhatsApp button on phones, shown once the visitor scrolls past the hero */
.wa-float { display: none; }
@media (max-width: 680px) {
	.wa-float {
		position: fixed;
		right: 16px;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		z-index: 90;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 12px 18px 12px 14px;
		border-radius: 999px;
		background: #25d366;
		color: #0b2e17;
		font: 700 14px/1 var(--eau-font-head);
		text-decoration: none;
		box-shadow: 0 8px 22px rgba(31, 35, 40, .25);
		opacity: 0;
		transform: translateY(16px);
		pointer-events: none;
		transition: opacity .3s, transform .3s cubic-bezier(.2, .7, .2, 1);
	}
	.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
	.wa-float:focus-visible { outline-color: #0b2e17; }
	.site-footer { padding-bottom: 72px; }
	.program-groups { gap: 40px; }
	.program-groups .program-grid > li { flex-basis: 50%; }
	.achievement .stat-row-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.achievement .stat-row-3 li { min-height: 104px; padding: 12px 6px; }
	.achievement .stat-row-3 strong { font-size: 1.7rem; }
	.achievement .stat-row-3 span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* Quieter: back to the old theme's plain cards (no gradient stripe or warm glow) */
.feature-card::after { content: none; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--eau-line); box-shadow: 0 10px 28px rgba(31, 35, 40, .10); }
.feature-icon { background: #dd9933; box-shadow: none; }
.faculty-media { box-shadow: 0 14px 32px rgba(31, 35, 40, .14); }
.nav-bar.is-scrolled { box-shadow: 0 4px 14px rgba(31, 35, 40, .14); }
.program-card:hover .program-icon { box-shadow: 0 8px 20px rgba(31, 35, 40, .10); }
.home-hero-media img { filter: drop-shadow(0 20px 30px rgba(31, 35, 40, .18)); }
@media (prefers-reduced-motion: no-preference) {
	.button:hover { box-shadow: 0 6px 14px rgba(31, 35, 40, .14); }
}
@media (max-width: 680px) {
	/* Each field group spans the row so its circles sit two across */
	.program-group { flex-basis: 100%; }
}
@media (max-width: 680px) {
	.program-groups .program-grid > li { flex-basis: calc(50% - 4px); }
}

/* =====================================================================
   Type system (loaded last). One value per role; roles named for purpose.
   Families are set in refresh.css (Fraunces headings, Inter body/UI).
   ===================================================================== */

:root {
	--fs-display: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);    /* home hero */
	--fs-page:    clamp(1.7rem, 1.2rem + 2vw, 2.6rem);     /* photo-banner titles */
	--fs-section: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);   /* every section heading */
	--fs-sub:     1.3rem;                                  /* h3 */
	--fs-card:    1.15rem;                                 /* card / item titles */
	--fs-lead:    1.125rem;                                /* intro paragraphs */
	--fs-body:    1rem;
	--fs-small:   14px;                                    /* captions, labels, footer */
	--fs-label:   13px;                                    /* nav, eyebrows, dates, breadcrumbs */

	--lh-display: 1.08;
	--lh-heading: 1.2;
	--lh-card:    1.3;
	--lh-lead:    1.55;
	--lh-body:    1.65;
}

body { font-size: var(--fs-body); line-height: var(--lh-body); font-variant-numeric: lining-nums; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { line-height: var(--lh-heading); }

/* Display */
.home-hero h1 { font-size: var(--fs-display); font-weight: 800; line-height: var(--lh-display); letter-spacing: -.02em; }

/* Page titles in photo banners (static + WordPress) */
.page-banner h1, .page-hero .page-title {
	font-size: var(--fs-page);
	font-weight: 700;
	line-height: 1.18;
	max-width: 24ch;
	margin-inline: auto;
}
.single-post .page-hero .page-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); max-width: 30ch; }

/* Section headings: one size everywhere */
.section-title, .faculty-intro h2, .statement-text h2, .achievement h2, .closing h2, .split h2.section-title {
	font-size: var(--fs-section);
	line-height: var(--lh-heading);
}
.achievement h2 { font-weight: 800; }
.cta-band h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }

/* Sub + card titles */
h3, .section-title-sm { font-size: var(--fs-sub); }
.feature-card h3, .value-card h2, .post-card-title, .news-card h3, .step h3, .contact-card h2,
.eau-download h2, .testimonial-by strong, .faculty-intro .dean-card dt, .faculty-intro .dean-card dd {
	font-size: var(--fs-card);
	line-height: var(--lh-card);
}
.testimonial-by strong { font-family: var(--eau-font-head); font-weight: 600; }

/* Lead paragraphs */
.hero-lead, .page-lead, .section-lead, .page-intro, .faculty-lead, .closing-text, .statement-text p:not(.eyebrow) {
	font-size: var(--fs-lead);
	line-height: var(--lh-lead);
}

/* Small + label roles */
.entry-meta, figcaption, .wp-caption-text, .footer-links, .footer-contact-line, .cta-fallback,
.form-grid label, .stat-row span, .testimonial-by span, .eau-download-meta { font-size: var(--fs-small); }
.eyebrow, .main-navigation .menu > li > a, .header-button, .breadcrumbs ol, .program-meta,
.news-card time, .copyright { font-size: var(--fs-label); }
.eyebrow { letter-spacing: .08em; }
.main-navigation .sub-menu a { font-family: var(--eau-font-head); font-size: var(--fs-small); font-weight: 500; }
.chip-list a { font-family: var(--eau-font-head); font-weight: 500; }

/* Program field headings read as labels, distinct from section headings */
.group-title, .program-group .group-title {
	font: 700 var(--fs-label)/1.3 var(--eau-font-head);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--eau-ink);
}
.program-name, .program-groups .program-name { font-size: 1rem; font-weight: 700; line-height: 1.25; max-width: 16ch; hyphens: auto; }

/* Reading measure */
.page-intro { max-width: 65ch; }
.closing { max-width: 68ch; }
.single-post .entry-content { max-width: 70ch; margin-inline: auto; }
.prose { max-width: 68ch; }
.fact-value a { font-size: inherit; }

/* Stats: tabular figures so counts align */
.stat-row strong { font-variant-numeric: tabular-nums lining-nums; }

@media (max-width: 600px) {
	.achievement h2 { font-size: 1.6rem; }
	.home-hero h1 { letter-spacing: -.015em; }
}

/* Panel headings sit a clear step above their own subheadings */
.contact-form h2, .contact-card h2 { font-size: var(--fs-sub); line-height: var(--lh-heading); }
.contact-card h3 { font-size: var(--fs-body); }

/* Button labels can wrap on narrow phones; give them room */
.button, button.button, input[type="submit"], .header-button, .eau-btn { line-height: 1.3; }

/* About: closing "Get in touch" block centred under the centred intro and columns */
.container.narrow.prose { text-align: center; margin-inline: auto; }
.container.narrow.prose .social-links { justify-content: center; }

/* =====================================================================
   Refresh: Fraunces + Inter, refined amber bar with Programs panel,
   and subtle brand-pattern backgrounds. Loaded last.
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	size-adjust: 107%;
	ascent-override: 90%;
	descent-override: 22.4%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Fraunces Fallback";
	src: local("Georgia");
	size-adjust: 104%;
	ascent-override: 94%;
	descent-override: 24%;
	line-gap-override: 0%;
}
:root {
	--eau-font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--eau-font-head: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
	--eau-font-ui: "Inter", "Inter Fallback", system-ui, sans-serif;
	--eau-deep: #6b3e05;
}
body { font-family: var(--eau-font); font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, h4, h5, h6 { font-family: var(--eau-font-head); font-optical-sizing: auto; font-weight: 650; letter-spacing: -.015em; }
.home-hero h1 { font-weight: 720; letter-spacing: -.025em; }
.achievement h2, .page-banner h1, .page-hero .page-title { font-weight: 700; }
.section-title { font-weight: 650; }
.achievement .stat-row strong { font-family: var(--eau-font-head); font-weight: 700; letter-spacing: -.02em; }
.testimonial blockquote { font-family: var(--eau-font-head); font-weight: 500; font-size: 1.06rem; line-height: 1.55; letter-spacing: -.005em; }
.testimonial blockquote::before { font-family: var(--eau-font-head); }

/* Interface text stays in Inter: menu, buttons, labels, metadata */
.main-navigation a, .header-button, .button, .eyebrow, .group-title, .program-group .group-title,
.mega-title, .feature-num, .testimonial-by strong, .dean-card dt, .dean-card dd, .fact-label, .fact-value,
.stat-row span, .program-meta, .breadcrumbs, .eau-btn, .eau-tabs button, .eau-dash-nav a, .wa-float,
.contact-form label, .form-grid label, .eau-field label {
	font-family: var(--eau-font-ui);
}
.program-name { font-family: var(--eau-font-head); font-weight: 650; }
.feature-card h3, .news-card h3, .post-card-title, .value-card h2, .eau-download h2, .check-list strong { font-family: var(--eau-font-head); font-weight: 650; }
.eyebrow { font-weight: 700; letter-spacing: .1em; }
.button { font-weight: 600; letter-spacing: .005em; }

/* ---------- Brand row + amber bar ---------- */
.brand-row-inner { padding-block: 14px 12px; }
.brand-row .custom-logo { max-height: 92px; }
.nav-bar {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 60%),
		linear-gradient(90deg, #d3892a 0%, #e09c3d 40%, #ecbb72 100%);
	border-top: 1px solid rgba(107, 62, 5, .18);
	border-bottom: 1px solid rgba(107, 62, 5, .22);
}
.nav-bar-inner { position: relative; min-height: 56px; }
.main-navigation { gap: 18px; }
.main-navigation .menu > li > a {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0 16px;
	font: 600 13px/1 var(--eau-font-ui);
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--eau-on-amber);
}
.main-navigation .menu > li > a::after { bottom: 12px; left: 16px; right: 16px; height: 2px; }
.main-navigation .menu > li + li > a::before { height: 16px; border-left-color: rgba(43, 26, 0, .2); }
.main-navigation .menu > li > a:hover { background: rgba(255, 255, 255, .14); }
.main-navigation .menu > .menu-item-has-children > a { padding-right: 6px; }
.main-navigation .menu > li > .submenu-toggle { width: 28px; height: 56px; margin-left: 0; margin-right: 6px; color: var(--eau-on-amber); }
.main-navigation li:hover > .submenu-toggle .icon, .main-navigation li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.header-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: #2b1a00;
	color: #ffd58a !important;
	font: 700 13px/1 var(--eau-font-ui);
	letter-spacing: .06em;
	text-transform: uppercase;
	box-shadow: 0 6px 14px rgba(43, 26, 0, .22);
}
.header-button:hover { background: #4a2d02; color: #ffe2a8 !important; }
.header-button .icon { color: #25d366; }

/* Programs panel (desktop) */
.main-navigation .menu-item-mega { position: static; }
.main-navigation .mega-menu {
	left: 50%;
	right: auto;
	top: 100%;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 8px 28px;
	width: min(1040px, calc(100vw - 32px));
	min-width: 0;
	padding: 26px 28px 16px;
	border-top: 0;
	box-shadow: inset 0 2px 0 #2b1a00, 0 24px 48px rgba(31, 35, 40, .16);
	border-radius: 0 0 16px 16px;
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 182, 6, .12), transparent 40%),
		var(--eau-white);
	transform: translate(-50%, 8px);
}
.main-navigation li:hover > .mega-menu,
.main-navigation li:focus-within > .mega-menu,
.main-navigation li.is-open > .mega-menu { transform: translate(-50%, 0); }
.mega-col { min-width: 0; }
.mega-title {
	display: block;
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--eau-line);
	color: var(--eau-amber-text);
	font: 700 11.5px/1.2 var(--eau-font-ui);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.mega-list { margin: 0; padding: 0; list-style: none; }
.main-navigation .mega-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px;
	border-radius: 8px;
	color: var(--eau-ink);
	font: 500 14px/1.25 var(--eau-font-ui);
	text-transform: none;
	letter-spacing: 0;
}
.main-navigation .mega-list a:hover { background: var(--eau-cream); color: var(--eau-ink); }
.mega-list img, .mega-list .icon { flex: none; width: 22px; height: 22px; object-fit: contain; opacity: .75; }
.mega-list a:hover img { opacity: 1; }
.mega-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--eau-line); text-align: right; }
.main-navigation .mega-foot a { display: inline-block; padding: 6px 4px; color: var(--eau-amber-text); font: 600 13px/1 var(--eau-font-ui); text-transform: none; letter-spacing: 0; }
.main-navigation .mega-foot a::after { content: " \2192"; }

/* ---------- Brand-pattern backgrounds ---------- */
:root {
	--eau-circles: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520' fill='none' stroke='%23c47f22' stroke-width='2' stroke-dasharray='5 9'%3E%3Ccircle cx='260' cy='260' r='254'/%3E%3Ccircle cx='260' cy='260' r='196' opacity='.7'/%3E%3Ccircle cx='260' cy='260' r='138' opacity='.45'/%3E%3C/svg%3E");
	--eau-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .26 0 0 0 0 .05 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
	--eau-dots: radial-gradient(rgba(196, 127, 34, .2) 1.1px, transparent 1.6px);
}

/* Hero: warm peach with an amber glow and faint dashed rings behind the graduates */
.home-hero {
	isolation: isolate;
	background:
		var(--eau-grain),
		radial-gradient(ellipse 60% 70% at 78% 45%, rgba(255, 182, 6, .38), rgba(255, 182, 6, 0) 70%),
		radial-gradient(ellipse 45% 50% at 0% 100%, rgba(221, 153, 51, .18), rgba(221, 153, 51, 0) 70%),
		linear-gradient(160deg, #f9e7cf 0%, #f6dfc2 55%, #f3d2a6 100%);
}
.home-hero::before, .home-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	background: var(--eau-circles) center / contain no-repeat;
	pointer-events: none;
}
.home-hero::before { width: min(640px, 70vw); aspect-ratio: 1; right: max(-120px, -8vw); top: 50%; translate: 0 -50%; opacity: .55; }
.home-hero::after { width: 260px; aspect-ratio: 1; left: -110px; bottom: -120px; opacity: .4; }

/* Founder section: a soft ring behind the video */
.founder { position: relative; overflow: hidden; }
.founder::before {
	content: "";
	position: absolute;
	width: 520px;
	aspect-ratio: 1;
	right: -160px;
	top: -140px;
	background: var(--eau-circles) center / contain no-repeat;
	opacity: .28;
	pointer-events: none;
}
.founder .container { position: relative; }

/* Gold block: soft diagonal light */
.achievement {
	background:
		linear-gradient(115deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 32%),
		linear-gradient(115deg, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .14) 58%, rgba(255, 255, 255, 0) 86%),
		radial-gradient(ellipse 50% 80% at 100% 100%, rgba(196, 110, 0, .22), transparent 70%),
		#ffb606;
}

/* Programs: off-white with a fine dot grid that fades at the edges */
#programs {
	position: relative;
	background: #fffdf9;
	isolation: isolate;
}
#programs::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--eau-dots);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 85%);
	mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, #000 30%, transparent 85%);
	opacity: .9;
}

/* Cream sections: a whisper of grain so they don't read as flat fills */
.section-cream { background: var(--eau-grain), #fdf8f1; }

/* Closing band: dashed rings at the right */
.cta-band {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(ellipse 40% 120% at 100% 50%, rgba(255, 255, 255, .22), transparent 70%),
		linear-gradient(110deg, #d3892a, #dd9933 55%, #ffb606);
}
.cta-band::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 420px;
	aspect-ratio: 1;
	right: -90px;
	top: 50%;
	translate: 0 -50%;
	background: var(--eau-circles) center / contain no-repeat;
	opacity: .35;
	filter: brightness(.55);
}

/* Footer: curved top edge and a faint ring */
.site-footer {
	position: relative;
	isolation: isolate;
	background: var(--eau-grain), linear-gradient(180deg, #dd9933, #d48a28);
}
.site-footer::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: -5%;
	right: -5%;
	top: -36px;
	height: 72px;
	border-radius: 50% 50% 0 0 / 100% 100% 0 0;
	background: #dd9933;
}
.site-footer::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 300px;
	aspect-ratio: 1;
	left: -100px;
	bottom: -120px;
	background: var(--eau-circles) center / contain no-repeat;
	opacity: .35;
	filter: brightness(.6);
}
.site-footer { overflow: visible; }
.footer-inner { position: relative; }

/* Faculty + inner pages: a ring behind the faculty media */
.faculty-intro-row { position: relative; }
.faculty-visual::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 120%;
	aspect-ratio: 1;
	right: -22%;
	top: 50%;
	translate: 0 -50%;
	background: var(--eau-circles) center / contain no-repeat;
	opacity: .3;
	pointer-events: none;
}
.faculty-visual { isolation: isolate; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nav-bar-inner { min-height: 58px; }
	.main-navigation .menu > li > a { min-height: 0; padding: 14px 4px; color: var(--eau-ink); }
	.main-navigation .menu > li > a:hover { background: none; }
	.main-navigation .menu > li > .submenu-toggle { height: 46px; color: var(--eau-muted); }
	.main-navigation .mega-menu,
	.main-navigation li:hover > .mega-menu,
	.main-navigation li:focus-within > .mega-menu { display: none; width: 100%; padding: 4px 0 14px; border: 0; border-radius: 0; box-shadow: none; transform: none; background: none; }
	.main-navigation li.is-open > .mega-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; transform: none; }
	.mega-foot { text-align: left; }
	.header-button { justify-content: center; margin-top: 16px; min-height: 46px; }
	.faculty-visual::after { width: 90%; right: -10%; }
}
@media (max-width: 600px) {
	.main-navigation li.is-open > .mega-menu { grid-template-columns: minmax(0, 1fr); }
	.home-hero::before { width: 120vw; right: -45vw; top: 30%; opacity: .4; }
	.home-hero::after { display: none; }
	.founder::before { width: 340px; right: -150px; top: -120px; }
	.site-footer::before { top: -22px; height: 44px; }
	.cta-band::after { width: 300px; right: -150px; opacity: .25; }
}
@media (prefers-reduced-motion: no-preference) {
	.main-navigation .mega-menu { transition: opacity .18s, transform .22s cubic-bezier(.2, .7, .2, 1), visibility .18s; }
}

/* Keep the footer ring inside the footer (the box itself stays overflow-visible for the curved top) */
.site-footer::after { bottom: 0; left: -110px; width: 300px; height: 170px; aspect-ratio: auto; background-size: 300px 300px; background-position: 0 0; }

/* =====================================================================
   About page: quick facts, founder feature, timeline, partners, leadership
   ===================================================================== */

/* Quick facts under the intro */
.about-facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.about-facts li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 130px;
	padding: 14px 18px;
	border: 2px dashed rgba(196, 127, 34, .45);
	border-radius: 10px;
	background: #fffaf2;
}
.about-facts strong { color: var(--eau-amber-title); font: 700 1.7rem/1.05 var(--eau-font-head); letter-spacing: -.02em; }
.about-facts span { color: var(--eau-text); font-size: var(--fs-small); }

/* Founder feature */
.founder-feature .split { align-items: center; }
.founder-photo { position: relative; margin: 0; isolation: isolate; }
.founder-photo::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: -28px -28px auto auto;
	width: 70%;
	aspect-ratio: 1;
	background: var(--eau-circles) center / contain no-repeat;
	opacity: .45;
}
.founder-photo img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(31, 35, 40, .16); }
.founder-photo figcaption { margin-top: 10px; color: var(--eau-muted); font-size: var(--fs-small); }
.founder-role { margin: -4px 0 18px; color: var(--eau-amber-text); font: 600 var(--fs-small)/1.4 var(--eau-font-ui); letter-spacing: .02em; }

/* Timeline */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding: 0 0 0 34px; list-style: none; }
.timeline::before {
	content: "";
	position: absolute;
	left: 9px;
	top: 6px;
	bottom: 6px;
	border-left: 2px dashed rgba(196, 127, 34, .55);
}
.timeline li { position: relative; padding: 0 0 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
	content: "";
	position: absolute;
	left: -31px;
	top: 4px;
	width: 14px;
	height: 14px;
	border: 3px solid #dd9933;
	border-radius: 50%;
	background: var(--eau-white);
}
.timeline time { display: block; margin-bottom: 4px; color: var(--eau-amber-text); font: 700 var(--fs-label)/1.3 var(--eau-font-ui); letter-spacing: .08em; text-transform: uppercase; }
.timeline h3 { margin: 0 0 6px; font-size: var(--fs-card); line-height: var(--lh-card); }
.timeline h3 a { color: var(--eau-ink); text-decoration: none; }
.timeline h3 a:hover { color: var(--eau-amber-text); text-decoration: underline; }
.timeline p { margin: 0; color: var(--eau-text); }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.partner-grid a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 20px;
	border: 1px solid var(--eau-line);
	border-radius: 12px;
	background: var(--eau-white);
	color: var(--eau-ink);
	text-decoration: none;
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.partner-grid a:hover { border-color: #dd9933; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 35, 40, .08); }
.partner-grid strong { font: 650 1.02rem/1.3 var(--eau-font-head); }
.partner-grid span { color: var(--eau-muted); font-size: var(--fs-small); }

/* Leadership */
.leader-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.leader {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	padding: 18px;
	border-radius: 12px;
	background: var(--eau-white);
	border: 1px solid var(--eau-line);
}
.leader-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 2px dashed #c9c0b3; border-radius: 50%; color: #8a8a8a; }
.leader-icon img { width: 28px; height: 28px; object-fit: contain; filter: grayscale(1); opacity: .8; }
.leader p { margin: 0; }
.leader-name { color: var(--eau-ink); font: 650 1.02rem/1.3 var(--eau-font-head); }
.leader-role { margin-top: 2px !important; color: var(--eau-text); font-size: var(--fs-small); }
.leader-role a { color: var(--eau-text); }
.leader-mail { margin-top: 6px !important; font-size: var(--fs-small); overflow-wrap: anywhere; }
.leader-mail a { color: var(--eau-amber-text); }

@media (max-width: 1080px) {
	.partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.leader-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.partner-grid, .leader-grid { grid-template-columns: minmax(0, 1fr); }
	.about-facts li { flex: 1 1 calc(50% - 7px); min-width: 0; }
	.founder-photo::before { inset: -18px -12px auto auto; }
}

/* =====================================================================
   Type pass 2 (Fraunces + Inter). Loaded last.
   ===================================================================== */
:root {
	--ls-caps: .06em;                                   /* every uppercase Inter label */
	--fs-stat: clamp(1.6rem, 1.3rem + 1vw, 2rem);       /* small stat numbers */
	--lh-lead: 1.5;
}

/* No faux italic: quotes in articles match the testimonial voice */
.entry-content blockquote { font-family: var(--eau-font-head); font-style: normal; font-weight: 500; font-size: var(--fs-lead); line-height: var(--lh-lead); }
.testimonial blockquote { font-size: var(--fs-lead); }

/* Small Fraunces: lighter, untracked, so counters stay open */
.feature-card h3, .news-card h3, .post-card-title, .value-card h2, .eau-download h2, .timeline h3,
.contact-card h2, .contact-card h3, .check-list strong, .partner-grid strong, .leader-name,
.program-name, .program-groups .program-name {
	font-weight: 600;
	letter-spacing: 0;
}
.partner-grid strong, .leader-name { font-size: var(--fs-card); line-height: var(--lh-card); }
.value-card h2 { font-size: var(--fs-sub); }          /* a clear step above the timeline's card titles */
.home-hero h1 { font-weight: 700; }

/* Interface text stays in Inter */
.main-navigation .sub-menu a, .chip-list a { font-family: var(--eau-font-ui); font-weight: 500; }

/* One tracking value for uppercase labels */
.main-navigation .menu > li > a, .header-button, .eyebrow, .timeline time, .group-title, .program-group .group-title {
	letter-spacing: var(--ls-caps);
}
.eyebrow, .group-title, .program-group .group-title, .timeline time { font-weight: 600; }
.mega-title { font: 600 12px/1.2 var(--eau-font-ui); letter-spacing: .08em; }
.main-navigation .mega-foot a { font-size: var(--fs-label); }
.program-more, .achievement .stat-row-3 span { font-size: var(--fs-label); }

/* Measure: Inter sets wider than the old body font */
.section-head .section-lead, .narrow p, .alumni-portal > .entry-content p { max-width: 66ch; margin-inline: auto; }
.hero-lead, .page-lead, .section-lead, .page-intro, .faculty-lead, .closing-text { line-height: var(--lh-lead); }

/* Stray values onto tokens */
.about-facts strong { font-size: var(--fs-stat); }
.eau-file-icon { font-weight: 700; }

/* Wider steps: body 16 → card 20 → subheading 25 (1.25× each) */
:root { --fs-card: 1.25rem; --fs-sub: 1.5625rem; }

/* =====================================================================
   Layout + adaptation pass. Loaded last.
   ===================================================================== */

/* Gutter grows with the screen instead of a fixed 16px edge */
:root { --eau-gutter: clamp(16px, 4vw, 40px); }

/* Rhythm: the programs block (the main goal) gets the most room;
   a cream section that follows straight on starts a little tighter */
.home #programs { padding-block: clamp(72px, 9vw, 128px); }
.section + .section-cream { padding-top: clamp(48px, 5.5vw, 80px); }

/* Wide screens: keep the hero composition from looking lost */
@media (min-width: 1600px) {
	.home-hero-media img { max-width: 600px; }
}

/* ---------- Tablet + landscape phone (601–1080px) ---------- */
@media (max-width: 1080px) {
	/* One logo: the sticky bar's, not the bar's and the big row's */
	.brand-row { display: none; }

	/* Shorter stacked hero, video and photos not stretched edge to edge */
	.home-hero-media img { max-width: 380px; }
	.split .video-embed, .split .split-media, .founder .video-embed { max-width: 560px; margin-inline: auto; }
	.split-media img { margin-inline: auto; }

	/* Floating WhatsApp: the bar's Apply button is inside the menu here, so keep the shortcut */
	.wa-float {
		position: fixed;
		right: 16px;
		bottom: calc(16px + env(safe-area-inset-bottom, 0px));
		z-index: 90;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 12px 18px 12px 14px;
		border-radius: 999px;
		background: #25d366;
		color: #0b2e17;
		font: 700 14px/1 var(--eau-font-ui);
		text-decoration: none;
		box-shadow: 0 8px 22px rgba(31, 35, 40, .25);
		opacity: 0;
		transform: translateY(16px);
		pointer-events: none;
		transition: opacity .3s, transform .3s cubic-bezier(.2, .7, .2, 1);
	}
	.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
	.site-footer { padding-bottom: 72px; }
}

/* Two-column card rows: a lone third card spans the row instead of hanging left */
@media (min-width: 681px) and (max-width: 1080px) {
	.feature-grid > :last-child:nth-child(odd),
	.value-grid > :last-child:nth-child(odd),
	.testimonials > :last-child:nth-child(odd),
	.news-strip > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* Short landscape screens: smaller floating button, slimmer bar */
@media (max-height: 460px) and (orientation: landscape) {
	.wa-float { padding: 9px 14px 9px 11px; font-size: 13px; }
	.nav-bar-inner { min-height: 50px; }
}

/* ---------- Phones ---------- */
@media (max-width: 600px) {
	.about-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.about-facts li { min-width: 0; padding: 12px 8px; text-align: center; }
	.about-facts span { font-size: 12.5px; line-height: 1.3; }
	.achievement .stat-row-3 span { font-size: 12.5px; line-height: 1.3; hyphens: auto; }
}

/* ---------- Touch: 44px targets wherever a finger is the pointer ---------- */
@media (pointer: coarse) {
	.social-links a { width: 44px; height: 44px; }
	.footer-links a { display: inline-block; padding-block: 10px; }
	.footer-contact-line a, .contact-list a, .email-list a, .footer-contact a,
	.leader-mail a, .dean-card dd a, .cta-fallback a, .breadcrumbs a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}
	.main-navigation .submenu-toggle { width: 44px; }
	.main-navigation .mega-list a { min-height: 44px; }
	.chip-list a { padding-block: 12px; }
}

/* Hero cut-out: the photo's bottom quarter has hard cut edges (a straight cut on the left,
   a rounded notch on the right), so the bottom fades softly into the hero instead of
   ending in a line. The gentle float stays; the fade keeps the edge hidden as it moves. */
.home-hero-media { align-self: end; margin-bottom: -1px; line-height: 0; }
.home-hero-media img {
	margin-bottom: -2%;
	filter: none;
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0, 0, 0, .45) 75%, transparent 87%);
	mask-image: linear-gradient(to bottom, #000 0%, #000 60%, rgba(0, 0, 0, .45) 75%, transparent 87%);
}

/* =====================================================================
   News: list page and articles (WordPress templates)
   ===================================================================== */

/* ---------- News hero ---------- */
.news-hero { padding-block: clamp(56px, 7vw, 88px) clamp(64px, 8vw, 104px); }
.news-hero .page-title { max-width: none; }
.news-hero-lead { max-width: 56ch; margin: 12px auto 0; color: rgba(255, 255, 255, .88); font-size: var(--fs-lead); }
.news-hero .search-form { position: relative; max-width: 460px; margin: 26px auto 0; }
.news-hero .search-field {
	height: 52px;
	padding: 0 60px 0 20px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .96);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
	font-size: 16px;
}
.news-hero .search-submit {
	position: absolute;
	right: 6px;
	top: 6px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #2b1a00;
	color: #ffd58a;
}

.news-index { padding-top: 0; }
.news-section-title { margin: clamp(48px, 6vw, 72px) 0 22px; color: var(--eau-ink); font-size: var(--fs-sub); }

/* ---------- Featured story (overlaps the banner) ---------- */
.news-featured {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	margin-top: clamp(-56px, -5vw, -36px);
	overflow: hidden;
	border-radius: 20px;
	background: var(--eau-white);
	box-shadow: 0 24px 60px rgba(31, 35, 40, .14);
}
.news-featured-media { display: block; min-height: 100%; overflow: hidden; background: var(--eau-cream); }
.news-featured-media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.news-featured:hover .news-featured-media img { transform: scale(1.03); }
.news-featured-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: clamp(24px, 3.5vw, 48px); }
.news-badge {
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #2b1a00;
	color: #ffd58a;
	font: 600 12px/1 var(--eau-font-ui);
	letter-spacing: var(--ls-caps, .06em);
	text-transform: uppercase;
}
.news-featured-title { margin: 0 0 6px; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.3rem); line-height: 1.15; }
.news-featured-title a { color: var(--eau-ink); text-decoration: none; }
.news-featured-title a:hover { color: var(--eau-amber-text); }
.news-featured-excerpt { margin: 10px 0 22px; color: var(--eau-text); }
.news-featured-excerpt p { margin: 0; }

/* ---------- Meta line ---------- */
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 0; color: var(--eau-muted); font: 500 var(--fs-label)/1.4 var(--eau-font-ui); }
.page-hero .post-meta { justify-content: center; margin-top: 14px; color: rgba(255, 255, 255, .88); }

/* ---------- Cards ---------- */
.post-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.post-card { overflow: visible; border: 0; background: none; box-shadow: none; }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 14px;
	background: var(--eau-cream);
	box-shadow: 0 10px 24px rgba(31, 35, 40, .10);
}
.post-card-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.post-card-link:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 4px 0; }
.post-card-title { margin: 0; color: var(--eau-ink); font-size: var(--fs-card); line-height: var(--lh-card); transition: color .2s; }
.post-card-link:hover .post-card-title { color: var(--eau-amber-text); }
.post-card-excerpt { color: var(--eau-text); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .read-more { margin-top: auto; padding-top: 4px; color: var(--eau-amber-text); font: 600 var(--fs-small)/1 var(--eau-font-ui); }
.post-card-link:focus-visible { outline-offset: 6px; border-radius: 14px; }

/* ---------- Pagination ---------- */
.pagination { margin-top: clamp(40px, 5vw, 64px); }
.pagination .nav-links { justify-content: center; gap: 6px; }
.pagination .page-numbers { min-width: 44px; height: 44px; border-radius: 999px; font: 600 14px/1 var(--eau-font-ui); }
.pagination .page-numbers.current { background: #2b1a00; border-color: #2b1a00; color: #ffd58a; }
.pagination .prev, .pagination .next { padding-inline: 18px; }

/* ---------- Article ---------- */
.reading-progress { position: fixed; z-index: 120; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
.reading-progress span { display: block; height: 100%; background: linear-gradient(90deg, #2b1a00, #dd9933 60%, #ffb606); transform: scaleX(0); transform-origin: left; }
.admin-bar .reading-progress { top: 32px; }

.article-hero { padding-block: clamp(48px, 6vw, 80px) clamp(96px, 10vw, 140px); }
.article-hero .breadcrumbs ol { justify-content: center; margin: 0 0 16px; color: rgba(255, 255, 255, .8); }
.article-hero .breadcrumbs a { color: var(--eau-white); }
.article-hero .breadcrumbs [aria-current] { color: #ffb400; }
.single-post .page-hero .container { max-width: calc(880px + var(--eau-gutter) * 2); }
.single-post .page-hero .page-title { max-width: 30ch; }

.single-post .site-main.article-main { max-width: calc(960px + var(--eau-gutter) * 2); margin-inline: auto; padding: 0 var(--eau-gutter) clamp(48px, 6vw, 80px); }
.article-cover { position: relative; z-index: 2; margin: clamp(-96px, -8vw, -64px) 0 clamp(32px, 4vw, 48px); }
.article-cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 60px rgba(31, 35, 40, .18); }
.article-cover figcaption { margin-top: 10px; text-align: center; }

.article-layout { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); max-width: 860px; margin-inline: auto; }
.article-aside .share { position: sticky; top: 90px; flex-direction: column; }
.single-post .entry-content { max-width: 68ch; margin: 0; font-size: 1.075rem; line-height: 1.75; }

/* Lead paragraph + drop cap */
.single-post .entry-content > p:first-of-type { font-size: 1.2rem; line-height: 1.65; color: var(--eau-ink); }
.single-post .entry-content > p:first-of-type::first-letter {
	float: left;
	margin: .04em .06em 0 -.02em;
	color: var(--eau-amber-title);
	font: 700 3.6em/.82 var(--eau-font-head);
}
.single-post .entry-content h2 { margin-top: 1.8em; font-size: var(--fs-sub); }
.single-post .entry-content h3 { margin-top: 1.6em; font-size: var(--fs-card); }
.single-post .entry-content a { color: var(--eau-amber-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.single-post .entry-content strong { color: var(--eau-ink); }
.single-post .entry-content ul, .single-post .entry-content ol { padding-left: 1.3em; }
.single-post .entry-content li { margin-bottom: .45em; }
.single-post .entry-content li::marker { color: #dd9933; }
.single-post .entry-content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 4px 0 4px 28px;
	border: 0;
	color: var(--eau-ink);
	font-size: 1.3rem;
	line-height: 1.5;
}
.single-post .entry-content blockquote::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(#dd9933, #ffb606);
}
.single-post .entry-content figure, .single-post .entry-content .wp-block-image { margin: 2em 0; }
.single-post .entry-content img { border-radius: 12px; }
.single-post .entry-content figcaption { margin-top: 8px; text-align: center; }
.single-post .entry-content hr { margin: 2.4em auto; width: 80px; border: 0; border-top: 2px dashed rgba(196, 127, 34, .5); }

/* Share */
.share { display: flex; align-items: center; gap: 10px; }
.share ul { display: flex; flex-direction: inherit; gap: 8px; margin: 0; padding: 0; list-style: none; }
.share-label { color: var(--eau-muted); font: 600 12px/1 var(--eau-font-ui); letter-spacing: var(--ls-caps, .06em); text-transform: uppercase; }
.share a, .share button {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--eau-line);
	border-radius: 50%;
	background: var(--eau-white);
	color: var(--eau-ink);
	cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.share a:hover, .share button:hover { transform: translateY(-2px); border-color: transparent; }
.share .share-whatsapp:hover { background: #25d366; color: #0b2e17; }
.share .share-facebook:hover { background: #1877f2; color: #fff; }
.share .share-x:hover { background: #111; color: #fff; }
.share .share-mail:hover, .share .share-copy:hover { background: #dd9933; color: #2b1a00; }
.share .share-copy.is-copied { background: #2b1a00; color: #ffd58a; }
.share-copied { position: absolute; left: calc(100% + 8px); white-space: nowrap; color: var(--eau-ink); font: 600 12px/1 var(--eau-font-ui); }

.article-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 860px; margin: clamp(32px, 4vw, 48px) auto 0; padding-top: 24px; border-top: 1px solid var(--eau-line); }

/* Older / newer */
.article-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; margin: 32px auto 0; }
.article-pager a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--eau-line);
	border-radius: 14px;
	color: var(--eau-ink);
	text-decoration: none;
	transition: border-color .2s, box-shadow .2s;
}
.article-pager a:hover { border-color: #dd9933; box-shadow: 0 10px 24px rgba(31, 35, 40, .08); }
.article-pager-next { flex-direction: row-reverse; text-align: right; }
.article-pager img { flex: none; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.article-pager small { display: block; margin-bottom: 4px; color: var(--eau-amber-text); font: 600 12px/1 var(--eau-font-ui); letter-spacing: var(--ls-caps, .06em); text-transform: uppercase; }
.article-pager strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 600 1rem/1.35 var(--eau-font-head); }

.more-news .section-head { margin-bottom: 28px; }

@media (max-width: 1080px) {
	.news-featured { grid-template-columns: minmax(0, 1fr); }
	.news-featured-media img { min-height: 0; aspect-ratio: 16 / 10; }
	.article-layout { grid-template-columns: minmax(0, 1fr); }
	.article-aside { display: none; }
}
@media (max-width: 680px) {
	.article-pager { grid-template-columns: minmax(0, 1fr); }
	.article-pager-next { flex-direction: row; text-align: left; }
	.single-post .entry-content { font-size: 1.03rem; }
	.single-post .entry-content > p:first-of-type { font-size: 1.1rem; }
	.article-footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 782px) { .admin-bar .reading-progress { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
	.news-featured-media img, .post-card-thumb img { transition: none; }
}

/* =====================================================================
   Apply button (all views) + programs section background + master icons
   ===================================================================== */

/* ---------- Apply: one button for every screen size, always in the bar ---------- */
.header-button { display: none !important; }      /* replaced by .nav-apply */
.wa-float { display: none !important; }           /* Apply is always visible in the sticky bar */
.site-footer { padding-bottom: 0; }

.nav-apply {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 10px;
	height: 42px;
	margin-left: 18px;
	padding: 0 18px 0 5px;
	overflow: hidden;
	border-radius: 999px;
	background: linear-gradient(180deg, #3a2400, #241500);
	color: #ffe0a3;
	font: 700 13px/1 var(--eau-font-ui);
	letter-spacing: var(--ls-caps, .06em);
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px rgba(43, 26, 0, .28);
	transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, color .2s;
}
.nav-apply-icon {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #25d366;
	color: #0b2e17;
	box-shadow: 0 0 0 3px rgba(37, 211, 102, .18);
}
.nav-apply::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 -40%;
	width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 224, 163, .28), transparent);
	transform: skewX(-18deg) translateX(0);
	pointer-events: none;
}
.nav-apply:hover { color: #fff3d6; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .22) inset, 0 10px 22px rgba(43, 26, 0, .34); }
.nav-apply:active { transform: translateY(0); }
.nav-apply:focus-visible { outline: 3px solid #2b1a00; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
	.nav-apply:hover::after { transform: skewX(-18deg) translateX(400%); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
	.nav-apply:hover .nav-apply-icon { animation: eau-apply-pulse 1.2s ease-out; }
	@keyframes eau-apply-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 100% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); } }
}

/* Tablet + phone: logo · Apply · menu, all in the sticky bar */
@media (max-width: 1080px) {
	.nav-bar-inner { gap: 10px; }
	.nav-logo { margin-right: auto; }
	.nav-apply { order: 2; height: 40px; margin-left: 0; }
	.menu-toggle { order: 3; }
	.main-navigation { order: 4; }
}
@media (max-width: 400px) {
	.nav-apply { padding-right: 14px; gap: 8px; }
	.nav-apply-long { display: none; }
}

/* ---------- Master programs: field icon + cap badge ---------- */
.program-icon { position: relative; }
.program-badge {
	position: absolute;
	right: -2px;
	bottom: 2px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 2px solid var(--eau-white);
	border-radius: 50%;
	background: #2b1a00;
	color: #ffd58a;
	box-shadow: 0 4px 10px rgba(43, 26, 0, .25);
}

/* ---------- Programs section background ---------- */
.home #programs {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(ellipse 60% 45% at 50% 0%, rgba(255, 182, 6, .20), transparent 70%),
		radial-gradient(ellipse 40% 50% at 0% 100%, rgba(221, 153, 51, .14), transparent 70%),
		radial-gradient(ellipse 40% 50% at 100% 70%, rgba(221, 153, 51, .12), transparent 70%),
		linear-gradient(180deg, #fffaf2 0%, #fdf3e3 100%);
}
/* Large faint dashed rings centred behind the groups, echoing the program circles */
.home #programs::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 52%;
	width: min(1400px, 140vw);
	aspect-ratio: 1;
	translate: -50% -50%;
	background: var(--eau-circles) center / contain no-repeat;
	opacity: .32;
	pointer-events: none;
}
.home #programs::before { opacity: .7; }

/* Field groups as soft frosted panels */
.home .program-groups { gap: 28px; max-width: 1180px; }
.home .program-group {
	padding: 26px 22px 30px;
	border: 1px solid rgba(196, 127, 34, .18);
	border-radius: 22px;
	background: rgba(255, 255, 255, .62);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	box-shadow: 0 12px 30px rgba(122, 74, 10, .06);
}
.home .program-group .group-title { margin-bottom: 20px; }

/* Postgraduate: a deep-brown panel so the master's programs stand apart */
.home .program-group[aria-label="Postgraduate"] {
	border-color: transparent;
	background:
		radial-gradient(ellipse 60% 80% at 100% 0%, rgba(255, 182, 6, .22), transparent 70%),
		linear-gradient(160deg, #3a2400, #241500);
	box-shadow: 0 20px 44px rgba(43, 26, 0, .25);
}
.home .program-group[aria-label="Postgraduate"] .group-title { color: #ffd58a; }
.home .program-group[aria-label="Postgraduate"] .group-title::after { background: #ffb606; }
.home .program-group[aria-label="Postgraduate"] .program-name { color: #fff3d6; }
.home .program-group[aria-label="Postgraduate"] .program-meta { color: rgba(255, 224, 163, .78); }
.home .program-group[aria-label="Postgraduate"] .program-icon { border-color: rgba(255, 213, 138, .55); background: #fffaf2; }
.home .program-group[aria-label="Postgraduate"] .program-card:hover .program-icon { border-color: #ffb606; }
.home .program-group[aria-label="Postgraduate"] .program-badge { border-color: #2b1a00; background: #ffb606; color: #2b1a00; }
.home .program-group[aria-label="Postgraduate"] .program-card:focus-visible { outline-color: #ffd58a; }

@media (max-width: 680px) {
	.home .program-group { padding: 22px 12px 24px; border-radius: 18px; }
	.home #programs::after { width: 220vw; top: 40%; opacity: .25; }
}

/* Panels size to their circles so groups can share rows (no full-width panels with empty sides) */
@media (min-width: 681px) {
	.home .program-group-wide { flex-basis: auto; }
}

/* ---------- Faculty curriculum: mission, vision, learning outcomes ---------- */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mv-card { position: relative; padding: clamp(24px, 3vw, 34px); border-radius: 22px; overflow: hidden; }
.mv-card .eyebrow { margin: 0 0 10px; }
.mv-text { margin: 0; font-size: 1.05rem; line-height: 1.7; }
.mv-mission { background: linear-gradient(160deg, #3a2400, #241500); color: #fff3d6; box-shadow: 0 20px 44px rgba(43, 26, 0, .22); }
.mv-mission .eyebrow { color: #ffd58a; }
.mv-vision { border: 1px solid rgba(196, 127, 34, .25); background: #fffaf2; }

.plo-section { background: linear-gradient(180deg, #fffaf2, #fdf3e3); }
.plo-section .section-lead { max-width: 70ch; margin: 10px auto 0; }
.plo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; }
.plo { display: flex; gap: 16px; padding: 22px 22px 22px 18px; border: 1px solid rgba(196, 127, 34, .18); border-radius: 18px; background: var(--eau-white); box-shadow: 0 10px 26px rgba(122, 74, 10, .06); }
.plo-code { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border: 2px dashed rgba(221, 153, 51, .65); border-radius: 50%; background: #fff4df; color: #8a5a12; font: 800 12px/1.1 var(--eau-font-ui); text-align: center; }
.plo-domain { margin: 0 0 2px; color: #8a5a12; font: 700 11px/1.4 var(--eau-font-ui); letter-spacing: var(--ls-caps, .06em); text-transform: uppercase; }
.plo h3 { margin: 0 0 6px; font-size: 1.1rem; }
.plo p:last-child { margin: 0; }
@media (max-width: 860px) {
	.mv-grid, .plo-list { grid-template-columns: minmax(0, 1fr); }
	.plo-code { width: 48px; height: 48px; font-size: 11px; }
}

/* =====================================================================
   Contact page: quick actions, chip topics, office directory, map card
   ===================================================================== */

/* ---------- Quick actions, lifted over the banner ---------- */
.contact-quick {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: -48px;
}
.quick-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 22px 20px;
	border: 1px solid rgba(196, 127, 34, .18);
	border-radius: 18px;
	background: var(--eau-white);
	color: var(--eau-text);
	text-decoration: none;
	box-shadow: 0 14px 34px rgba(122, 74, 10, .10);
	transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, border-color .2s;
}
.quick-card:hover { transform: translateY(-3px); border-color: rgba(221, 153, 51, .55); box-shadow: 0 18px 40px rgba(122, 74, 10, .16); }
.quick-card:focus-visible { outline: 3px solid #2b1a00; outline-offset: 3px; }
.quick-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 10px;
	border: 2px dashed rgba(221, 153, 51, .6);
	border-radius: 50%;
	background: #fff4df;
	color: #a35f00;
}
.quick-card-wa .quick-icon { border-color: rgba(37, 211, 102, .5); background: #e8fbef; color: #128c4a; }
.quick-label { font: 700 12px/1.2 var(--eau-font-ui); letter-spacing: var(--ls-caps, .06em); text-transform: uppercase; color: #8a5a12; }
.quick-value { font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Form ---------- */
.contact-main .contact-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); }
.contact-heading { margin: 4px 0 10px; font-size: clamp(1.6rem, 2.6vw, 2.2rem); max-width: 22ch; }
.contact-lede { max-width: 56ch; margin: 0 0 24px; color: var(--eau-muted, #5b4a33); }
.contact-form { border-radius: 20px; }

.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; }
.topic-chips legend { width: 100%; margin-bottom: 10px; padding: 0; font-weight: 600; }
.topic-chips label { position: relative; cursor: pointer; }
.topic-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic-chips span {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 16px;
	border: 1px solid rgba(196, 127, 34, .35);
	border-radius: 999px;
	background: #fffaf2;
	font-weight: 600;
	transition: background .15s, color .15s, border-color .15s;
}
.topic-chips label:hover span { border-color: #dd9933; }
.topic-chips input:checked + span { border-color: #2b1a00; background: #2b1a00; color: #ffe0a3; }
.topic-chips input:focus-visible + span { outline: 3px solid #dd9933; outline-offset: 2px; }

.optional { font-weight: 400; color: var(--eau-muted, #6b5a40); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.form-actions .button { display: inline-flex; align-items: center; gap: 10px; }
.form-note { font-size: .9rem; color: var(--eau-muted, #6b5a40); }

/* ---------- Directory ---------- */
.contact-directory {
	position: sticky;
	top: 96px;
	padding: 28px 24px;
	border-radius: 22px;
	background:
		radial-gradient(ellipse 70% 60% at 100% 0%, rgba(255, 182, 6, .22), transparent 70%),
		linear-gradient(160deg, #3a2400, #241500);
	color: #fff3d6;
	box-shadow: 0 20px 44px rgba(43, 26, 0, .22);
}
.contact-directory h2 { margin: 0 0 18px; color: #ffd58a; font-size: var(--fs-sub, 1.3rem); }
.contact-directory h3 { margin: 0 0 12px; color: #ffd58a; font-size: 1rem; }
.directory-list { margin: 0; padding: 0; list-style: none; }
.directory-list li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px dashed rgba(255, 213, 138, .25); }
.directory-list li:first-child { border-top: 0; padding-top: 0; }
.directory-icon { display: grid; flex: none; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 182, 6, .16); color: #ffb606; }
.directory-list div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.directory-list strong { color: #fff3d6; }
.directory-list a { font-size: .92rem; color: #ffd58a; overflow-wrap: anywhere; text-underline-offset: 3px; }
.directory-list a:hover { color: #fff; }
.directory-follow { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255, 213, 138, .25); }
.contact-directory .social-links a { background: #ffb606; color: #2b1a00; }

/* ---------- Map with address card ---------- */
.map-section { position: relative; }
.map-card {
	position: absolute;
	left: max(16px, calc((100vw - 1180px) / 2));
	bottom: 96px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	max-width: 340px;
	padding: 18px 20px;
	border-radius: 18px;
	background: var(--eau-white);
	box-shadow: 0 16px 40px rgba(43, 26, 0, .22);
}
.map-card .quick-icon { margin: 0; }
.map-card div { display: flex; flex-direction: column; gap: 2px; }
.map-card a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: #a35f00; font-weight: 700; }

@media (max-width: 1080px) {
	.contact-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-main .contact-layout { grid-template-columns: minmax(0, 1fr); }
	.contact-directory { position: static; }
}
@media (max-width: 560px) {
	.contact-quick { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: -32px; }
	.quick-card { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 14px 16px; }
	.quick-card .quick-icon { margin: 0; grid-row: span 2; }
	.quick-card .quick-label, .quick-card .quick-value { flex: 1 1 calc(100% - 64px); }
	.quick-card { display: grid; grid-template-columns: 46px minmax(0, 1fr); }
	.map-card { position: static; max-width: none; border-radius: 0; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { .quick-card, .quick-card:hover { transition: none; transform: none; } }

/* Language tag on download cards */
.eau-lang { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 999px; background: #2b1a00; color: #ffe0a3; font: 700 11px/1.6 var(--eau-font-ui); letter-spacing: var(--ls-caps, .06em); text-transform: uppercase; vertical-align: 1px; }

/* Gallery: wait briefly for the dashboard list (site.js) */
.gallery-grid.is-loading { visibility: hidden; min-height: 60vh; }
