/**
 * School visits page.
 */

.ce-school-page {
	--ce-school-bg: #1a1a1a;
	--ce-school-ink: #f4f4f5;
	--ce-school-muted: rgba(244, 244, 245, 0.72);
	--ce-school-panel: #0a0a0a;
	--ce-school-line: rgba(255, 255, 255, 0.12);
	--ce-school-accent: #65d9cb;
	background: var(--ce-school-bg);
	color: var(--ce-school-ink);
	font-family: Manrope, system-ui, sans-serif;
}

.ce-school-page a {
	color: inherit;
}

.ce-school-hero {
	position: relative;
	display: grid;
	min-height: clamp(680px, 86vh, 920px);
	overflow: hidden;
	background: #0a0a0a;
}

.ce-school-hero__media {
	position: absolute;
	inset: 0;
}

.ce-school-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.62) 42%, rgba(10, 10, 10, 0.16) 100%),
		linear-gradient(0deg, #1a1a1a 0%, rgba(26, 26, 26, 0) 30%);
}

.ce-school-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.18) saturate(0.95) contrast(1.05);
}

.ce-school-hero__content {
	position: relative;
	z-index: 1;
	width: min(1180px, calc(100vw - 48px));
	margin: 0 auto;
	padding: clamp(132px, 18vw, 190px) 0 clamp(80px, 10vw, 120px);
	align-self: end;
}

.ce-school-kicker {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ce-school-accent);
}

.ce-school-hero h1 {
	max-width: 760px;
	margin: 0;
	font-family: "MADE Evolve Sans EVO", Epilogue, system-ui, sans-serif;
	font-size: clamp(32px, 3.9vw, 58px);
	font-weight: 900;
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: #ffffff;
}

.ce-school-hero__lead {
	max-width: 720px;
	margin: 28px 0 0;
	font-size: clamp(18px, 2vw, 23px);
	line-height: 1.68;
	color: var(--ce-school-muted);
}

.ce-school-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 34px;
	padding: 15px 24px;
	border-radius: 6px;
	background: var(--ce-school-accent);
	color: #0a0a0a !important;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	transition: filter 180ms ease, transform 180ms ease;
}

.ce-school-button:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.ce-school-link-button {
	display: inline-flex;
	margin-top: 34px;
	margin-left: 12px;
	padding: 14px 0 10px;
	border-bottom: 2px solid rgba(101, 217, 203, 0.58);
	color: var(--ce-school-accent) !important;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-decoration: none;
	text-transform: uppercase;
	transition: border-color 180ms ease, color 180ms ease;
}

.ce-school-link-button:hover {
	border-bottom-color: var(--ce-school-accent);
}

.ce-school-button--compact {
	margin-top: 18px;
	padding: 12px 18px;
	font-size: 11px;
}

.ce-school-button--ghost {
	margin-top: 18px;
	padding: 11px 16px;
	border: 1px solid rgba(101, 217, 203, 0.55);
	background: transparent;
	color: var(--ce-school-accent) !important;
	font-size: 11px;
}

.ce-school-button--ghost:hover {
	background: rgba(101, 217, 203, 0.08);
}

.ce-school-inline-cta {
	margin: 18px 0 0;
}

.ce-school-facts {
	display: grid;
	grid-template-columns: minmax(180px, 0.28fr) 1fr;
	gap: 0;
	width: min(1180px, calc(100vw - 48px));
	margin: -56px auto 0;
	position: relative;
	z-index: 2;
	border: 1px solid var(--ce-school-line);
	background: #0a0a0a;
}

.ce-school-facts__label {
	display: flex;
	align-items: center;
	padding: 24px;
	border-right: 1px solid var(--ce-school-line);
	font-family: Epilogue, system-ui, sans-serif;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #ffffff;
}

.ce-school-facts__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ce-school-fact {
	min-width: 0;
	padding: 22px;
	border-right: 1px solid var(--ce-school-line);
}

.ce-school-fact:last-child {
	border-right: 0;
}

.ce-school-fact .material-symbols-outlined {
	display: block;
	margin-bottom: 16px;
	color: var(--ce-school-accent);
	font-size: 28px;
}

.ce-school-fact p {
	margin: 0 0 7px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(244, 244, 245, 0.56);
}

.ce-school-fact strong {
	display: block;
	font-size: 15px;
	line-height: 1.45;
	color: #ffffff;
}

.ce-school-intro,
.ce-school-workshop,
.ce-school-logistics,
.ce-school-narrative,
.ce-school-programs,
.ce-school-funding,
.ce-school-contact {
	width: min(1180px, calc(100vw - 48px));
	margin-inline: auto;
}

.ce-school-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.58fr);
	gap: clamp(36px, 6vw, 88px);
	padding: clamp(96px, 13vw, 150px) 0 clamp(72px, 10vw, 116px);
	align-items: start;
}

.ce-school-intro h2,
.ce-school-workshop h2,
.ce-school-logistics h2,
.ce-school-narrative h2 {
	margin: 0 0 22px;
	font-family: Epilogue, system-ui, sans-serif;
	font-size: clamp(32px, 5vw, 62px);
	line-height: 1;
	letter-spacing: -0.045em;
	color: #ffffff;
}

.ce-school-prose {
	max-width: 66ch;
	color: var(--ce-school-muted);
	font-size: 17px;
	line-height: 1.78;
}

.ce-school-prose p {
	margin: 0 0 1em;
}

.ce-school-prose strong {
	color: #ffffff;
	font-weight: 800;
}

.ce-school-image {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--ce-school-line);
	border-radius: 8px;
	background: #0a0a0a;
}

.ce-school-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
	filter: saturate(0.92) contrast(1.04);
}

.ce-school-image--tall img {
	aspect-ratio: 4 / 5;
}

.ce-school-image figcaption {
	padding: 13px 14px;
	border-top: 1px solid var(--ce-school-line);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(244, 244, 245, 0.64);
}

.ce-school-narrative {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--ce-school-line);
	background: var(--ce-school-line);
}

.ce-school-narrative article {
	padding: clamp(28px, 4.5vw, 52px);
	background: #0a0a0a;
}

.ce-school-narrative .material-symbols-outlined {
	margin-bottom: 22px;
	color: var(--ce-school-accent);
	font-size: 34px;
}

.ce-school-workshop {
	display: grid;
	grid-template-columns: minmax(300px, 0.52fr) minmax(0, 0.72fr);
	gap: clamp(36px, 6vw, 78px);
	padding: clamp(88px, 12vw, 136px) 0;
	align-items: center;
}

.ce-school-logistics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	border: 1px solid var(--ce-school-line);
	background: var(--ce-school-line);
}

.ce-school-logistics > div {
	padding: clamp(28px, 4.5vw, 54px);
	background: #0a0a0a;
}

.ce-school-programs {
	padding: clamp(84px, 12vw, 128px) 0 0;
}

.ce-school-programs--featured {
	padding-top: clamp(86px, 12vw, 132px);
}

.ce-school-section-head {
	display: flex;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 30px;
}

.ce-school-section-head h2 {
	max-width: 720px;
	margin: 0;
	font-family: Epilogue, system-ui, sans-serif;
	font-size: clamp(30px, 4.6vw, 58px);
	line-height: 1;
	letter-spacing: -0.045em;
	color: #ffffff;
}

.ce-school-section-head > p,
.ce-school-section-head div + p {
	max-width: 560px;
	margin: 0;
	color: var(--ce-school-muted);
	line-height: 1.65;
}

.ce-school-programs__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
}

.ce-school-program {
	display: grid;
	align-content: start;
	gap: 11px;
	padding: 22px;
	border: 1px solid var(--ce-school-line);
	border-radius: 8px;
	background: #0a0a0a;
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease;
}

.ce-school-program:hover {
	border-color: rgba(101, 217, 203, 0.58);
	transform: translateY(-2px);
}

.ce-school-program small {
	display: inline-flex;
	width: fit-content;
	padding: 5px 8px;
	border: 1px solid rgba(101, 217, 203, 0.32);
	border-radius: 999px;
	color: var(--ce-school-accent);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ce-school-program strong {
	font-family: Epilogue, system-ui, sans-serif;
	font-size: 22px;
	line-height: 1.15;
	color: #ffffff;
}

.ce-school-program span {
	color: var(--ce-school-muted);
	line-height: 1.45;
}

.ce-school-program em {
	margin-top: 8px;
	font-size: 12px;
	font-style: normal;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ce-school-accent);
}

.ce-school-program--placeholder {
	min-height: 100%;
}

.ce-school-addon {
	display: grid;
	grid-template-columns: minmax(220px, 0.65fr) minmax(280px, 1fr) auto;
	gap: 24px;
	align-items: center;
	margin-top: 18px;
	padding: clamp(22px, 3vw, 30px);
	border: 1px solid rgba(101, 217, 203, 0.28);
	border-radius: 8px;
	background: #0a0a0a;
}

.ce-school-addon h3 {
	margin: 0;
	font-family: Epilogue, system-ui, sans-serif;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: #ffffff;
}

.ce-school-addon p:not(.ce-school-kicker) {
	margin: 0;
	color: var(--ce-school-muted);
	font-size: 15px;
	line-height: 1.65;
}

.ce-school-funding {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
	margin-top: clamp(84px, 11vw, 126px);
	padding: clamp(28px, 4.8vw, 56px);
	border: 1px solid rgba(101, 217, 203, 0.22);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(101, 217, 203, 0.1) 0%, rgba(101, 217, 203, 0) 42%),
		#0a0a0a;
}

.ce-school-funding h2 {
	max-width: 720px;
	margin: 0 0 22px;
	font-family: Epilogue, system-ui, sans-serif;
	font-size: clamp(30px, 4.4vw, 56px);
	line-height: 1;
	letter-spacing: -0.045em;
	color: #ffffff;
}

.ce-school-funding__logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
	gap: 12px;
	align-items: stretch;
}

.ce-school-funding__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 118px;
	padding: 18px;
	border: 1px solid rgba(244, 244, 245, 0.14);
	border-radius: 6px;
	background: rgba(244, 244, 245, 0.96);
}

.ce-school-funding__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 78px;
	object-fit: contain;
}

.ce-school-contact {
	padding: clamp(92px, 12vw, 140px) 0 clamp(96px, 12vw, 150px);
}

.ce-school-contact__shell {
	max-width: 960px;
	margin: 0 auto;
}

.ce-school-contact__fallback {
	margin: 18px 0 0;
	text-align: center;
	font-size: 14px;
}

.ce-school-contact__fallback a {
	color: var(--ce-school-accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

@media (max-width: 980px) {
	.ce-school-facts,
	.ce-school-intro,
	.ce-school-workshop,
	.ce-school-logistics,
	.ce-school-narrative,
	.ce-school-addon,
	.ce-school-funding {
		grid-template-columns: 1fr;
	}

	.ce-school-facts__label,
	.ce-school-fact {
		border-right: 0;
		border-bottom: 1px solid var(--ce-school-line);
	}

	.ce-school-facts__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ce-school-hero__content,
	.ce-school-facts,
	.ce-school-intro,
	.ce-school-workshop,
	.ce-school-logistics,
	.ce-school-narrative,
	.ce-school-programs,
	.ce-school-funding,
	.ce-school-contact {
		width: min(100vw - 32px, 1180px);
	}

	.ce-school-hero h1 {
		font-size: clamp(30px, 8vw, 42px);
	}

	.ce-school-facts__grid {
		grid-template-columns: 1fr;
	}

	.ce-school-section-head {
		display: block;
	}

	.ce-school-link-button {
		margin-left: 0;
	}
}
