/* Homepage-only styles. */

main {
	--home-cream: var(--paper);
	--home-cream-soft: var(--surface-soft);
	--home-butter: var(--pastel-butter);
	--home-peach: var(--pastel-peach);
	--home-mint: var(--pastel-mint);
	--home-lavender: var(--pastel-lavender);
	--home-pastel-line: var(--pastel-line);
}

main .section-soft {
	border-color: var(--home-pastel-line);
}

html.has-announcement .hero {
padding-top: 174px;
}

.hero {
position: relative;
	min-height: min(680px, 86vh);
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 166px max(22px, calc((100% - var(--max)) / 2)) 118px;
	color: #fff;
	background:
		linear-gradient(90deg, rgba(37, 50, 56, 0.65) 0%, rgba(37, 50, 56, 0.25) 45%, transparent 100%),
		linear-gradient(180deg, rgba(255, 244, 191, 0.08) 0%, rgba(37, 50, 56, 0.4) 100%),
		url("../../images/preschool-centre-2026.jpg") center 58% / cover no-repeat;
}

.hero::after {
content: "";
	position: absolute;
	inset: auto 0 -1px;
	height: 96px;
	background: linear-gradient(
		180deg,
		rgba(255, 250, 240, 0) 0%,
		rgba(255, 250, 240, 0.06) 32%,
		rgba(255, 250, 240, 0.2) 56%,
		rgba(255, 250, 240, 0.52) 78%,
		var(--paper) 100%
	);
	pointer-events: none;
}

.hero-content {
position: relative;
	z-index: 1;
	width: min(680px, 100%);
}

.hero .eyebrow {
color: #fff;
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.28);
}

.hero h1 {
margin-top: 18px;
	font-size: clamp(44px, 5.8vw, 76px);
	font-weight: 900;
}

.hero p {
max-width: 560px;
	margin: 20px 0 0;
	color: rgba(255, 255, 255, 0.92);
	font-size: clamp(18px, 1.8vw, 21px);
}

.hero-actions {
display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hero-proof {
position: absolute;
	right: max(22px, calc((100% - var(--max)) / 2));
	bottom: 42px;
	z-index: 2;
	width: min(610px, calc(100% - 44px));
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.22);
	backdrop-filter: blur(18px);
	border: 1px solid rgba(255, 255, 255, 0.34);
	border-radius: var(--radius-card);
	box-shadow: 0 24px 54px rgba(37, 50, 56, 0.2);
}

.hero-proof div {
padding: 18px;
	background: rgba(255, 255, 255, 0.13);
}

.hero-proof span,
.hero-proof strong {
display: block;
}

.hero-proof span {
color: rgba(255, 255, 255, 0.75);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero-proof strong {
margin-top: 5px;
	color: #fff;
	font-size: 16px;
	line-height: 1.25;
}

.trust-strip {
position: relative;
	z-index: 2;
	width: min(var(--max), calc(100% - 32px));
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	overflow: hidden;
	margin: -30px auto 0;
	background: linear-gradient(90deg, #fff 0%, #fffaf0 100%);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow);
}

.trust-strip div {
display: flex;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	padding: 22px 24px;
	background: transparent;
	border-right: 1px solid var(--line);
	box-shadow: none;
	text-align: center;
}

.trust-strip div:nth-child(1) {
background: var(--home-butter);
}

.trust-strip div:nth-child(2) {
background: var(--home-mint);
}

.trust-strip div:nth-child(3) {
background: var(--home-peach);
}

.trust-strip div:nth-child(4) {
background: var(--home-lavender);
}

.trust-strip div:last-child {
border-right: 0;
}

.trust-strip strong,
.trust-strip span {
display: block;
}

.trust-strip strong {
color: var(--sage-dark);
	font-size: 17px;
	line-height: 1.25;
}

.trust-strip span {
margin-top: 4px;
	color: var(--muted);
	font-size: 13px;
}

.home-intro-copy p,
.home-intro-panel p {
max-width: 640px;
	margin: 15px 0 0;
	color: var(--muted);
	font-size: 17px;
}

.home-intro {
display: grid;
	grid-template-columns: 1fr 0.72fr;
	gap: 42px;
	align-items: center;
}

.home-story {
display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: center;
}

.story-media {
position: relative;
	min-height: 520px;
}

.story-photo {
position: absolute;
	width: 100%;
	object-fit: cover;
	object-position: center 38%;
	border-radius: var(--radius-card);
	box-shadow: var(--shadow);
}

.story-photo.large {
top: 0;
	left: 0;
	width: 78%;
	height: 420px;
}

.story-photo.small {
right: 0;
	bottom: 0;
	width: 48%;
	height: 280px;
	border: 10px solid var(--paper);
}

.home-intro-copy h2 {
margin-top: 14px;
	font-size: clamp(32px, 4.4vw, 50px);
	font-weight: 900;
}

.home-intro-copy .button {
margin-top: 24px;
}

.story-points {
display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.story-points span {
display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 13px;
	color: var(--sage-dark);
	background: var(--home-butter);
	border: 1px solid var(--home-pastel-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 900;
	box-shadow: var(--soft-shadow);
}

.home-intro-panel {
padding: 32px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.96)),
		url("../../images/gallery/gallery_05.jpg") center / cover no-repeat;
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	box-shadow: var(--shadow);
}

.home-intro-panel h3 {
color: var(--sage-dark);
	font-size: 28px;
}

.compact-reasons {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.compact-reasons .feature-card {
padding: 28px 24px;
}

.compact-reasons .feature-card:nth-child(4n + 1) {
background: var(--home-butter);
}

.compact-reasons .feature-card:nth-child(4n + 2) {
background: var(--home-mint);
}

.compact-reasons .feature-card:nth-child(4n + 3) {
background: var(--home-peach);
}

.compact-reasons .feature-card:nth-child(4n + 4) {
background: var(--home-lavender);
}

.programme-showcase .programme-card,
.moments-section .moment-card,
.home-advisor .advisor-card {
border-color: var(--home-pastel-line);
}

.programme-showcase .programme-card:nth-child(3n + 1) {
background: var(--home-butter);
}

.programme-showcase .programme-card:nth-child(3n + 2) {
background: var(--home-mint);
}

.programme-showcase .programme-card:nth-child(3n + 3) {
background: var(--home-peach);
}

.moments-section .moment-card:nth-child(3n + 1) {
background: var(--home-lavender);
}

.moments-section .moment-card:nth-child(3n + 2) {
background: var(--home-peach);
}

.moments-section .moment-card:nth-child(3n + 3) {
background: var(--home-mint);
}

.home-advisor .advisor-card {
background: linear-gradient(135deg, var(--home-peach), var(--home-lavender));
}

.moments-section .moment-card {
	border-top-color: var(--lavender);
}

.moments-section .moment-card:nth-child(3n + 2) {
	border-top-color: var(--peach);
}

.moments-section .moment-card:nth-child(3n + 3) {
	border-top-color: var(--mint);
}

.compact-reasons .feature-card h3 {
font-size: 19px;
	line-height: 1.18;
}

.compact-reasons .feature-card p {
font-size: 15px;
	line-height: 1.5;
}

.home-advisor {
	display: grid;
	gap: 24px;
	align-content: start;
}

.home-advisor .section-heading {
margin-bottom: 0;
}

.compact-advisor-card {
	grid-template-columns: 1fr;
	padding: 24px;
}

.compact-advisor-card .advisor-photo {
	aspect-ratio: 16 / 10;
}

.compact-advisor-card .advisor-copy h3 {
font-size: clamp(26px, 3vw, 36px);
}

.compact-advisor-card .advisor-copy p {
max-width: 520px;
	margin-bottom: 0;
}

.compact-advisor-card .button {
margin-top: 20px;
}

.home-gallery-preview .section-heading {
max-width: 620px;
	margin-bottom: 0;
}

.gallery-preview-heading {
display: flex;
	justify-content: space-between;
	gap: 32px;
	align-items: end;
	margin-bottom: 32px;
}

.gallery-preview-heading .button {
flex: 0 0 auto;
}

.home-gallery-grid {
display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.8fr;
	grid-template-areas:
		"featured creative artwork"
		"featured play play";
	gap: 16px;
}

.gallery-preview-item {
position: relative;
	min-height: 220px;
	overflow: hidden;
	background: var(--home-mint);
	border: 1px solid var(--home-pastel-line);
	border-radius: var(--radius-card);
	box-shadow: var(--soft-shadow);
}

.gallery-preview-item.featured {
grid-area: featured;
	min-height: 520px;
}

.gallery-preview-item.creative {
grid-area: creative;
}

.gallery-preview-item.artwork {
grid-area: artwork;
}

.gallery-preview-item.play {
grid-area: play;
}

.gallery-preview-item img {
width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 38%;
	transition: transform 0.35s ease;
}

.gallery-preview-item.featured img,
.gallery-preview-item.play img {
aspect-ratio: auto;
}

.gallery-preview-item:hover img {
transform: scale(1.025);
}

.gallery-preview-item::after {
content: "";
	position: absolute;
	inset: 45% 0 0;
	background: linear-gradient(180deg, transparent, rgba(37, 50, 56, 0.66));
	pointer-events: none;
}

.gallery-preview-item span {
position: absolute;
	right: 18px;
	bottom: 16px;
	left: 18px;
	z-index: 1;
	color: #fff;
	font-size: 15px;
	font-weight: 900;
	text-shadow: 0 2px 10px rgba(37, 50, 56, 0.28);
}

.programme-showcase .section-heading {
	display: block;
	max-width: 760px;
	margin-right: 0;
	margin-bottom: 40px;
	margin-left: 0;
	text-align: left;
}

.programme-showcase .section-heading h2 {
	margin-top: 14px;
}

.programme-showcase .section-heading p {
	max-width: 650px;
}

.programme-showcase .programme-grid {
gap: 24px;
}

.learning-trust-flow {
	padding: 88px max(16px, calc((100% - var(--max)) / 2));
	background:
		linear-gradient(
			180deg,
			rgba(255, 253, 248, 0.82) 0%,
			rgba(223, 245, 232, 0.52) 48%,
			rgba(255, 253, 248, 0.86) 100%
		);
	border-top: 1px solid var(--home-pastel-line);
	border-bottom: 1px solid var(--home-pastel-line);
}

.learning-trust-flow > .section {
	width: min(var(--max), 100%);
	padding: 0;
}

.learning-trust-proof {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
	gap: 24px;
	align-items: stretch;
	margin-top: 48px;
	padding-top: 48px !important;
	border-top: 1px solid var(--home-pastel-line);
}

.learning-trust-proof .parent-journey,
.learning-trust-proof .home-advisor {
	padding: 32px;
	background: rgba(255, 253, 248, 0.76);
	border: 1px solid var(--home-pastel-line);
	border-radius: var(--radius-card);
	box-shadow: var(--soft-shadow);
}

.learning-trust-proof .parent-journey {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.learning-trust-proof .section-heading {
	margin-bottom: 0;
}

.learning-trust-proof .home-advisor .section-heading h2 {
	font-size: clamp(30px, 3.3vw, 42px);
}

.learning-trust-proof .compact-reasons {
	gap: 14px;
}

.learning-trust-proof .compact-reasons .feature-card {
	padding: 22px 20px;
}

.learning-trust-proof .compact-reasons .feature-card h3 {
	font-size: 18px;
}

.moments-section {
display: grid;
	grid-template-columns: minmax(230px, 0.3fr) minmax(0, 0.7fr);
	gap: 48px;
	align-items: start;
}

.moments-section .section-heading {
	position: sticky;
	top: 132px;
	margin-bottom: 0;
}

.moments-section .moments-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	align-items: stretch;
}

.moments-section .moment-card {
	min-width: 0;
	height: 100%;
}

.moments-section .moment-card img {
	aspect-ratio: 4 / 3;
	object-position: center 38%;
}

.moments-section .moment-body {
	padding: 20px;
}

.moments-section .moment-date {
	margin-bottom: 14px;
	padding: 6px 9px;
	font-size: 10px;
	line-height: 1.35;
}

.moments-section .moment-body h3 {
	font-size: 20px;
	line-height: 1.18;
}

.moments-section .moment-body p {
	margin: 10px 0 18px;
	font-size: 14px;
	line-height: 1.55;
}

.moments-link {
	width: fit-content;
	min-height: 42px;
	margin-top: 24px;
	font-size: 14px;
}

.moments-section .section-actions {
justify-content: flex-start;
}

.parent-journey {
display: grid;
	grid-template-columns: 0.28fr 0.72fr;
	gap: 36px;
	align-items: start;
}

.parent-journey .section-heading {
margin-bottom: 0;
}

.journey-grid {
display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}

.journey-grid article {
position: relative;
	min-height: 210px;
	padding: 28px;
	overflow: hidden;
	background: var(--home-butter);
	border: 1px solid var(--line);
	border-radius: var(--radius-card);
	box-shadow: var(--soft-shadow);
}

.journey-grid article:nth-child(2) {
background: var(--home-mint);
}

.journey-grid article:nth-child(3) {
background: var(--home-peach);
}

.journey-grid article:nth-child(4) {
background: var(--home-lavender);
}

.journey-grid span {
color: var(--rose);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.journey-grid h3 {
margin-top: 16px;
	color: var(--sage-dark);
	font-size: 24px;
}

.journey-grid p {
color: var(--muted);
}

@media (max-width: 1024px) {
	.trust-strip {
	grid-template-columns: repeat(2, 1fr);
	}
	
	.home-intro,
	.home-story,
	.parent-journey,
	.moments-section,
	.programme-showcase .section-heading,
	.home-advisor,
	.learning-trust-proof {
	grid-template-columns: 1fr;
	}

	.learning-trust-flow {
	padding-top: 72px;
	padding-bottom: 72px;
	}

	.learning-trust-proof .home-advisor {
	grid-template-columns: 0.38fr 0.62fr;
	}

	.learning-trust-proof .compact-advisor-card {
	grid-template-columns: 160px 1fr;
	}
	
	.story-media {
	min-height: 460px;
	}
	
	.moments-section .moments-grid {
	grid-template-columns: repeat(2, 1fr);
	}

	.moments-section .section-heading {
	position: static;
	}

	.moments-section .moment-card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
			display: grid;
			grid-template-columns: minmax(220px, 0.8fr) 1fr;
	}

	.moments-section .moment-card:last-child:nth-child(odd) img {
	height: 100%;
			aspect-ratio: auto;
			border-radius: 0 0 0 20px;
	}
	
	.home-gallery-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
			grid-template-areas:
				"featured featured"
				"creative artwork"
				"play play";
	}
	
	.gallery-preview-item.featured {
	min-height: 420px;
	}
	
}

@media (max-width: 720px) {
	html.has-announcement .hero {
	padding-top: 162px;
	}
	
	.hero {
	min-height: 650px;
			flex-direction: column;
			align-items: start;
			padding: 126px 20px 56px;
			background-position: 50% center;
	}
	
	.hero h1 {
	font-size: 40px;
	}
	
	.hero p {
	font-size: 17px;
	}
	
	.hero-actions {
	align-items: stretch;
			flex-direction: column;
	}
	
	.hero-proof {
	position: relative;
			right: auto;
			bottom: auto;
			width: 100%;
			grid-template-columns: 1fr;
			margin-top: 32px;
	}
	
	.trust-strip {
	grid-template-columns: 1fr;
	}
	
	.trust-strip {
	margin-top: -26px;
	}
	
	.trust-strip div {
	border-right: 0;
			border-bottom: 1px solid var(--line);
	}
	
	.trust-strip div:last-child {
	border-bottom: 0;
	}
	
	.home-intro-copy h2 {
	font-size: 34px;
	}
	
	.home-intro-panel {
	padding: 24px;
	}
	
	.story-media {
	min-height: auto;
			display: grid;
			gap: 14px;
	}
	
	.story-photo,
	.story-photo.large,
	.story-photo.small {
	position: static;
			width: 100%;
			height: auto;
			aspect-ratio: 4 / 3;
			border: 0;
	}
	
	.compact-advisor-card {
	grid-template-columns: 1fr;
			justify-items: center;
			padding: 22px;
			text-align: center;
	}
	
	.compact-advisor-card .advisor-photo {
	width: 120px;
			height: 120px;
			aspect-ratio: 1;
			border-radius: 50%;
			object-fit: cover;
	}
	
	.journey-grid,
	.moments-section .moments-grid,
	.home-gallery-grid {
	grid-template-columns: 1fr;
	}

	.moments-section .moment-card:last-child:nth-child(odd) {
	grid-column: auto;
			display: flex;
	}

	.moments-section .moment-card:last-child:nth-child(odd) img {
	height: auto;
			aspect-ratio: 4 / 3;
			border-radius: 0 0 20px 20px;
	}

	.learning-trust-flow {
	padding: 64px 16px;
	}

	.learning-trust-proof {
	margin-top: 38px;
			padding-top: 38px !important;
	}

	.learning-trust-proof .parent-journey,
	.learning-trust-proof .home-advisor {
	padding: 24px;
	}

	.learning-trust-proof .home-advisor,
	.learning-trust-proof .compact-advisor-card,
	.compact-reasons {
	grid-template-columns: 1fr;
	}
	
	.gallery-preview-heading {
	align-items: stretch;
			flex-direction: column;
			margin-bottom: 24px;
	}
	
	.gallery-preview-heading .button {
	width: 100%;
	}
	
	.home-gallery-grid {
	grid-template-areas:
			"featured"
			"creative"
			"artwork"
			"play";
	}
	
	.gallery-preview-item,
	.gallery-preview-item.featured {
	min-height: 250px;
	}
	
}
