:root {
	--paper: #fff;
	--red: #557f38;
	--soft-red: #f1f6ed;
}

.site-header {
	background: #fff;
}

.button {
	box-shadow: 0 10px 24px rgba(85, 127, 56, .16);
}

.button:hover {
	background: #3f6528;
	border-color: #3f6528;
}

.hero__blob--principles {
	width: min(100%, 330px);
	height: 330px;
	background: #fff;
	border: 1px solid var(--line);
	padding: 28px;
	transition: opacity .52s ease, transform .62s cubic-bezier(.22,1,.36,1);
}

.hero__blob--principles img {
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* The principles leave the frame and settle as three playful, balanced balls. */
.hero__principles-motion { overflow: visible; }
.hero__principle-balls { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero__principle-ball { position: absolute; top: 76%; width: 108px; height: 108px; display: grid; place-items: center; padding: 12px; border-radius: 50%; color: #26332b; font-size: 11px; font-weight: 800; line-height: 1.22; letter-spacing: -.02em; text-align: center; opacity: 0; transform: translate(-50%, -170%); box-shadow: 0 12px 22px rgba(28, 48, 36, .14); transition: left .62s cubic-bezier(.22,1,.36,1), top .62s cubic-bezier(.22,1,.36,1), opacity .32s ease, transform .62s cubic-bezier(.22,1,.36,1); }
.hero__principle-ball--one { left: 20%; background: #f1c75a; }
.hero__principle-ball--two { left: 50%; background: #e4d36a; }
.hero__principle-ball--three { left: 80%; background: #a9c985; }
.hero__principles-motion.is-settled .hero__blob--principles { opacity: 0; transform: scale(.88) rotate(-4deg); transition: opacity .42s ease, transform .52s cubic-bezier(.22,1,.36,1); }
.hero__principles-motion.is-settled .hero__principle-ball { animation: principle-settle .78s cubic-bezier(.22,.9,.26,1.18) forwards; }
.hero__principles-motion.is-settled .hero__principle-ball--two { animation-delay: .1s; }
.hero__principles-motion.is-settled .hero__principle-ball--three { animation-delay: .2s; }
@keyframes principle-settle { 0% { opacity: 0; transform: translate(-50%, -185%) scale(.7); } 18% { opacity: 1; } 62% { transform: translate(-50%, -50%) scale(1); } 76% { transform: translate(-50%, -77%) scale(.97,1.04); } 90% { transform: translate(-50%, -46%) scale(1.03,.97); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.hero__principles-motion.is-celebrating .hero__principle-ball { left: 97%; width: 64px; height: 64px; padding: 7px; font-size: 8px; box-shadow: 0 8px 16px rgba(28, 48, 36, .12); animation: none; opacity: .92; transform: translate(-50%, -50%) scale(1); }
.hero__principles-motion.is-celebrating .hero__principle-ball--one { top: 35%; }
.hero__principles-motion.is-celebrating .hero__principle-ball--two { top: 55%; }
.hero__principles-motion.is-celebrating .hero__principle-ball--three { top: 75%; }

.testimonial-group {
	margin-bottom: 76px;
}

.testimonial-group > h2 {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 20px;
	margin: 0 0 18px;
	font-size: clamp(28px, 3vw, 42px);
	letter-spacing: -.04em;
}

.testimonial-group > h2 span {
	color: var(--green);
	font-size: 13px;
	letter-spacing: .04em;
	white-space: nowrap;
}

@media (max-width: 700px) {
	.hero__principle-balls, .hero__confetti, .hero__mini-testimonials { display: none; }
	.hero__principles-motion.is-settled .hero__blob--principles { opacity: 1; transform: none; }
	.hero__blob--principles {
		width: min(100%, 270px);
		height: 270px;
		padding: 18px;
	}

	.testimonial-group {
		margin-bottom: 52px;
	}
}
/* Scroll finale: the three principles burst into confetti, then reveal student voices. */
.hero__confetti { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .28s ease; }
.hero__confetti i { position: absolute; left: 50%; top: 67%; width: 7px; height: 12px; background: #f1c75a; opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
.hero__confetti i:nth-child(3n+2) { background: #a9c985; }
.hero__confetti i:nth-child(3n) { background: #6f716e; }
.hero__confetti i:nth-child(1) { --x: -140px; --y: -145px; }.hero__confetti i:nth-child(2) { --x: -94px; --y: -185px; }.hero__confetti i:nth-child(3) { --x: -46px; --y: -135px; }.hero__confetti i:nth-child(4) { --x: 2px; --y: -205px; }.hero__confetti i:nth-child(5) { --x: 52px; --y: -152px; }.hero__confetti i:nth-child(6) { --x: 110px; --y: -190px; }.hero__confetti i:nth-child(7) { --x: 154px; --y: -120px; }.hero__confetti i:nth-child(8) { --x: -166px; --y: -72px; }.hero__confetti i:nth-child(9) { --x: -112px; --y: -50px; }.hero__confetti i:nth-child(10) { --x: -58px; --y: -86px; }.hero__confetti i:nth-child(11) { --x: 7px; --y: -66px; }.hero__confetti i:nth-child(12) { --x: 66px; --y: -92px; }.hero__confetti i:nth-child(13) { --x: 124px; --y: -66px; }.hero__confetti i:nth-child(14) { --x: 176px; --y: -80px; }.hero__confetti i:nth-child(15) { --x: -166px; --y: 4px; }.hero__confetti i:nth-child(16) { --x: -85px; --y: 12px; }.hero__confetti i:nth-child(17) { --x: 78px; --y: 8px; }.hero__confetti i:nth-child(18) { --x: 165px; --y: 20px; }
.hero__mini-testimonials { position: absolute; z-index: 4; right: 58px; bottom: 18px; width: min(calc(100% - 58px), 345px); padding: 22px 23px 17px; background: #fff; border: 1px solid var(--line); box-shadow: 18px 18px 0 #edf4e9, 0 18px 38px rgba(21, 32, 24, .12); opacity: 0; transform: translateY(14px) scale(.985); pointer-events: none; visibility: hidden; will-change: opacity, transform; transition: opacity .32s ease-out, transform .58s cubic-bezier(.16,1,.3,1), visibility 0s linear .58s; }
.hero__mini-testimonials > p { margin: 0 0 15px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero__mini-testimonial { display: none; min-height: 105px; }.hero__mini-testimonial.is-active { display: block; }.hero__mini-testimonial blockquote { margin: 0; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 15px; font-weight: 650; line-height: 1.45; letter-spacing: -.025em; }.hero__mini-testimonial footer { margin-top: 14px; color: var(--muted); font-size: 11px; font-weight: 800; }
.hero__mini-testimonials-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; border-top: 1px solid var(--line); padding-top: 12px; }.hero__mini-testimonials-controls button { width: 26px; height: 26px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }.hero__mini-testimonials-controls button:hover { border-color: var(--green); color: var(--green); }.hero__mini-testimonials-controls a { color: var(--green); font-size: 10px; font-weight: 800; text-decoration: none; }
.hero__principles-motion.is-celebrating .hero__confetti { opacity: 1; }.hero__principles-motion.is-celebrating .hero__confetti i { animation: confetti-burst .85s cubic-bezier(.18,.8,.3,1) forwards; }.hero__principles-motion.is-celebrating .hero__confetti i:nth-child(2n) { animation-delay: .04s; }
.hero__principles-motion.is-testimonials-ready .hero__mini-testimonials { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.hero__principles-motion.is-following { position: fixed; z-index: 20; top: 132px; right: max(32px, calc((100vw - var(--max)) / 2)); width: min(calc(100vw - 64px), 520px); height: 390px; min-height: 390px; margin: 0; transform: translateY(14px); transition: opacity .32s ease, transform .42s cubic-bezier(.16,1,.3,1), visibility 0s linear 0s; }
.hero__principles-motion.is-following .hero__mini-testimonials { position: absolute; z-index: 4; top: 0; right: 58px; bottom: auto; margin: 0; }
.hero__principles-motion.is-testimonials-ready .hero__principle-ball { animation: none; opacity: 0; transform: translate(-50%, -50%) scale(.7); }
.hero__principles-motion.is-following.is-stable { transform: none; }
.hero__principles-motion.is-following.is-past-results { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-18px) scale(.97); transition: opacity .28s ease, transform .36s ease, visibility 0s linear .36s; }
.hero__mini-testimonials-controls .hero__mini-arrow { position: relative; width: 38px; height: 38px; padding: 0; border: 1px solid #d9e5e7; border-radius: 50%; background: #fff; color: var(--ink); }.hero__mini-testimonials-controls .hero__mini-arrow:hover { border-color: var(--green); background: var(--green); }.hero__mini-arrow span { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translate(-38%, -50%) rotate(45deg); }.hero__mini-arrow--previous span { transform: translate(-62%, -50%) rotate(-135deg); }.hero__mini-testimonials-controls .hero__mini-arrow:hover span { color: #fff; }
.hero__mini-testimonials-close { position: absolute; top: 8px; right: 8px; width: 25px; height: 25px; padding: 0; border: 0; background: transparent; color: #87949a; font-size: 22px; line-height: 1; cursor: pointer; }.hero__mini-testimonials-close:hover { color: var(--ink); }.hero__principles-motion.is-carousel-closing .hero__blob--principles { opacity: 1; transform: none; }.hero__principles-motion.is-carousel-closing .hero__principle-ball { animation: none; opacity: 0; transform: translate(-50%, -170%); }.hero__principles-motion.is-carousel-closing .hero__confetti { opacity: 0; }.hero__principles-motion.is-carousel-closing .hero__mini-testimonials,.hero__principles-motion.is-carousel-closed .hero__mini-testimonials { opacity: 0 !important; pointer-events: none; transform: translateY(-12px) scale(.96) !important; }.hero__principles-motion.is-carousel-closed .hero__mini-testimonials { display: none; }
.hero__mini-testimonial footer { display: block; }
@keyframes confetti-burst { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); } 15% { opacity: 1; } 72% { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(250deg); } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) + 42px)) rotate(340deg); } }
