/*
Theme Name: School Theme
Description: Public website for schools on the platform. Block theme; brand tokens live in theme.json, brand colors come from School & brand settings. No page builders.
Version: 0.3.0
Requires at least: 6.6
Requires PHP: 8.1
Author: Trusted Marketing
Text Domain: school-theme
*/

:root {
	--hh-navy: var(--wp--preset--color--navy);
	--hh-deep: var(--wp--preset--color--deep-navy);
	--hh-sun: var(--wp--preset--color--sunshine);
	--hh-spark: var(--wp--preset--color--spark);
	--hh-cream: var(--wp--preset--color--cream);
	--hh-ink: var(--wp--preset--color--ink);
	--hh-slate: var(--wp--preset--color--slate);
	--hh-line: #E2DCCF;
	--hh-shadow: 0 1px 2px rgba(27, 42, 68, .05), 0 8px 24px rgba(27, 42, 68, .06);
	--hh-gutter: clamp(20px, 4vw, 56px);
}
body { -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid var(--hh-sun); outline-offset: 2px; }
.hh-dot { color: var(--hh-spark); }
.has-sunshine-background-color .hh-dot, .has-cream-background-color .hh-dot, .hh-section:not(.hh-band) .hh-dot { color: var(--hh-sun); }
.hh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hh-hp { position: absolute; left: -9999px; }
main { overflow-x: clip; }
/* Header, main and footer sit flush; spacing comes from sections. */
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Header / footer ---------- */
.hh-header { padding: 18px var(--hh-gutter); position: relative; z-index: 20; }
.hh-header-inner { gap: 24px; }
.hh-header-right { gap: 28px; }
.hh-logo img { display: block; height: auto; max-width: 150px; }
@media (min-width: 900px) { .hh-logo img { max-width: 170px; } }
.hh-nav a { font-weight: 600; font-size: 16px; }
.hh-nav .wp-block-navigation__responsive-container-open { color: #fff; }
.hh-header-cta { gap: 10px; flex-wrap: nowrap; }
.hh-header .wp-block-button__link { padding: 12px 18px; font-size: 15px; border-radius: 10px; white-space: nowrap; }
@media (max-width: 899px) { .hh-header-cta .hh-btn-ghost { display: none; } .hh-header-right { gap: 12px; } }
@media (max-width: 480px) { .hh-header-cta { display: none; } }
.hh-btn-sun > .wp-block-button__link { background: var(--hh-sun) !important; color: var(--hh-navy) !important; }
.hh-btn-sun > .wp-block-button__link:hover { filter: brightness(1.05); }
.hh-btn-ghost > .wp-block-button__link { color: #fff !important; border: 2px solid rgba(255, 255, 255, .7) !important; background: transparent !important; }
.hh-btn-ghost > .wp-block-button__link:hover { background: rgba(255, 255, 255, .1) !important; }
.wp-block-button__link { border-radius: 10px; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 2px solid currentColor; }

.hh-footer { padding: 28px var(--hh-gutter); color: #C9D5EA; font-size: 14px; }
.hh-footer p { margin: 0; }
.hh-footer a { color: #fff; }

/* ---------- Bands & sections ---------- */
.hh-band { padding-left: var(--hh-gutter); padding-right: var(--hh-gutter); }
.hh-section { padding: clamp(40px, 6vw, 56px) var(--hh-gutter); }
.hh-hero { padding-top: 40px; }
.hh-hero h1 { font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -0.035em; text-wrap: balance; }
.hh-hero-cols { gap: 56px; margin: 0; }
.hh-hero-copy { padding-bottom: 64px; }
.hh-hero-img { margin: 0; }
.hh-hero-img img { width: 100%; height: clamp(300px, 36vw, 470px); object-fit: cover; border-radius: 24px 24px 0 0; display: block; }
@media (max-width: 781px) { .hh-hero-copy { padding-bottom: 8px; } .hh-hero-img img { border-radius: 20px 20px 0 0; } }
.hh-page-hero { padding-top: 36px; padding-bottom: 56px; }
.hh-page-hero h1 { font-size: clamp(38px, 4.6vw, 56px); letter-spacing: -0.035em; margin-top: 12px; text-wrap: balance; }
/* Page-hero children share one left edge (the 1200px column), headline capped for line length. */
.hh-page-hero > * { max-width: 1200px !important; }
.hh-page-hero > h1, .hh-page-hero > .hh-lead-light { max-width: min(780px, 100%) !important; margin-left: max(0px, calc((100% - 1200px) / 2)) !important; }
.hh-eyebrow { font: 700 14px/1 var(--wp--preset--font-family--text); letter-spacing: .1em; text-transform: uppercase; color: var(--hh-spark); margin: 0; }
.hh-lead-light { color: #DCE4F2; max-width: 520px; }
.hh-page-hero .hh-lead-light { font-size: 17px; }
.hh-kicker { font: 700 13px var(--wp--preset--font-family--text); letter-spacing: .1em; text-transform: uppercase; color: var(--hh-navy); margin: 0; }
.hh-strong { font-weight: 600; color: var(--hh-navy); }
.hh-h-sm { font-size: 32px !important; margin-top: 40px; }
.hh-sec-head { margin: 40px 0 22px; }
.hh-sec-head h2 { font-size: clamp(32px, 3.5vw, 40px); margin: 0; }
.hh-more-link a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--hh-sun); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hh-more-link { margin: 0; }

/* Value props with icon circles */
.hh-values { gap: 24px; }
.hh-value { position: relative; padding-left: 82px; min-height: 64px; }
.hh-value::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--hh-cream); }
.hh-value::after { content: ""; position: absolute; left: 18px; top: 18px; width: 28px; height: 28px; background: var(--hh-navy); -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat; }
.hh-value h3 { font-size: 22px; margin: 0 0 6px; }
.hh-value p { margin: 0; color: var(--hh-slate); font-size: 16px; }
.hh-ico-users { --ico: url(../../plugins/school-core/assets/icons/users.svg); }
.hh-ico-hand-heart { --ico: url(../../plugins/school-core/assets/icons/hand-heart.svg); }
.hh-ico-graduation-cap { --ico: url(../../plugins/school-core/assets/icons/graduation-cap.svg); }

/* ---------- Grids & cards ---------- */
.hh-grid { display: grid; gap: 18px; }
.hh-grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hh-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.hh-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hh-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--hh-shadow); }
.hh-pad { padding: clamp(22px, 3vw, 30px); }
.hh-card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.hh-card-title { margin: 0; font: 800 22px/1.2 var(--wp--preset--font-family--display); letter-spacing: -0.015em; color: var(--hh-navy); }
.hh-card-title.hh-lg { font-size: 28px; }
.hh-muted { margin: 0; color: var(--hh-slate); font-size: 16px; line-height: 1.5; }
.hh-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--hh-cream); font: 600 13px var(--wp--preset--font-family--text); color: var(--hh-navy); }
.hh-dot-sw { width: 9px; height: 9px; border-radius: 50%; }
.hh-photo { display: block; width: 100%; object-fit: cover; background: linear-gradient(135deg, #E4EBF6, var(--hh-cream)); }
.hh-photo-empty { display: flex; align-items: center; justify-content: center; color: #C9D5EA; }
.hh-photo-class { height: 150px; }
.hh-photo-portrait { aspect-ratio: 4 / 5; border-radius: 20px; }
.hh-photo-teacher { height: 260px; }
.hh-portraits { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.hh-portrait { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hh-portrait strong { display: block; font: 700 18px var(--wp--preset--font-family--display); color: var(--hh-navy); }
.hh-portrait span { font-size: 14px; color: var(--hh-slate); }
.hh-teacher { display: flex; flex-direction: column; border-radius: 24px; }
.hh-teacher-photo { position: relative; }
.hh-badge { position: absolute; left: 16px; top: 16px; padding: 6px 12px; border-radius: 999px; background: #fff; font: 700 13px var(--wp--preset--font-family--text); color: var(--hh-navy); }
.hh-teacher .hh-card-body { flex: 1; padding: 22px; }
.hh-teacher .hh-card-title { font-size: 23px; }
.hh-role { margin: 0; font-weight: 600; font-size: 15px; color: var(--hh-slate); }
.hh-cred { margin: 0; font-size: 15px; line-height: 1.5; color: #3D4A61; }
.hh-fun { margin: auto 0 0; background: var(--hh-cream); border-radius: 14px; padding: 12px 14px; font-size: 15px; line-height: 1.45; color: var(--hh-navy); }
.hh-teach-band { gap: 40px; }
.hh-teach-band h2 { font-size: clamp(32px, 3.5vw, 40px); }

/* Quotes */
.hh-quotes { gap: 18px; }
.hh-quote { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--hh-shadow); display: flex; flex-direction: column; gap: 16px; }
.hh-quote-text { margin: 0; font: 600 19px/1.45 var(--wp--preset--font-family--display); color: var(--hh-navy); }
.hh-quote-text::before { content: "\201C"; display: block; font: 800 64px/0.5 var(--wp--preset--font-family--display); color: var(--hh-sun); height: 28px; }
.hh-quote-by { margin: auto 0 0; font-size: 14px; color: var(--hh-slate); font-weight: 500; }

/* CTA band */
.hh-cta-wrap { padding-top: 0; }
.hh-cta { border-radius: 28px; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); gap: 24px 32px; }
.hh-cta-copy { flex: 1 1 320px; }
.hh-cta-copy > * { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
.hh-cta h2 { margin: 0; font-size: clamp(30px, 3.4vw, 42px); }
.hh-cta p { margin: 8px 0 0; }
.hh-cta-sun h2, .hh-cta-sun p { color: var(--hh-navy); }
.hh-cta-sun .is-style-outline .wp-block-button__link { color: var(--hh-navy); }

/* Programs */
.hh-ages { gap: 18px; }
.hh-age { border-radius: 24px; padding: 28px; }
.hh-age h3 { font-size: 30px; margin: 8px 0; }
.hh-age p { margin: 0 0 8px; color: #3D4A61; }
.hh-age-a { background: #E4EBF6; }
.hh-age-b { background: #FDEDC2; }
.hh-days { display: flex; gap: 6px; }
.hh-day { width: 38px; height: 38px; border-radius: 50%; background: #EEE8DC; color: #8A8F99; display: inline-flex; align-items: center; justify-content: center; font: 700 13px var(--wp--preset--font-family--text); }
.hh-day.on { background: var(--hh-navy); color: #fff; }
.hh-grid .hh-pad { display: flex; flex-direction: column; gap: 12px; }
.hh-foot { margin: 0; padding-top: 12px; border-top: 1px solid #EEE8DC; font-weight: 600; font-size: 15px; color: var(--hh-navy); }
.hh-day-price { gap: 24px; margin-top: 40px; }
.hh-rhythm { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--hh-shadow); }
.hh-rhythm h3 { margin: 0 0 12px; font-size: 26px; }
.hh-rhythm-list { list-style: none; padding: 0; margin: 0; }
.hh-rhythm-list li { display: flex; align-items: center; gap: 14px; padding: 9px 0; font-weight: 500; font-size: 17px; }
.hh-rhythm-list strong { display: inline-flex; align-items: center; justify-content: space-between; width: 90px; flex: none; font: 600 15px ui-monospace, "JetBrains Mono", monospace; color: var(--hh-navy); }
.hh-rhythm-list strong::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--hh-sun); }
.hh-price { background: var(--hh-navy); border-radius: 24px; padding: 30px; color: #fff; }
.hh-price-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.hh-price-head h3 { margin: 0; color: #fff; font-size: 26px; }
.hh-price-head span { font-size: 13px; color: #C9D5EA; }
.hh-price-row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-weight: 500; }
.hh-price-row strong { font: 800 22px var(--wp--preset--font-family--display); color: var(--hh-spark); }
.hh-price-note { margin: 8px 0 0; font-size: 14px; color: #C9D5EA; }

/* Admissions */
.hh-steps { gap: 16px; counter-reset: step; }
.hh-step { background: #fff; border-radius: 20px; padding: 24px; box-shadow: var(--hh-shadow); counter-increment: step; }
.hh-step::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; background: var(--hh-sun); color: var(--hh-navy); display: flex; align-items: center; justify-content: center; font: 800 20px var(--wp--preset--font-family--display); margin-bottom: 10px; }
.hh-step h3 { margin: 0 0 6px; font-size: 21px; }
.hh-step p { margin: 0; font-size: 15px; color: var(--hh-slate); }
.hh-tour-faq { gap: 24px; margin-top: 40px; }
.hh-faq h3 { margin: 0 0 14px; font-size: 28px; }
.hh-faq .wp-block-details { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(27, 42, 68, .05); margin: 0 0 12px; padding: 0; }
.hh-faq summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; font: 700 18px var(--wp--preset--font-family--display); color: var(--hh-navy); }
.hh-faq summary::-webkit-details-marker { display: none; }
.hh-faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--hh-cream); display: flex; align-items: center; justify-content: center; font: 600 20px var(--wp--preset--font-family--text); }
.hh-faq details[open] summary::after { content: "\2212"; }
.hh-faq details p { margin: 0; padding: 0 20px 18px; color: var(--hh-slate); font-size: 16px; }

/* ---------- Forms ---------- */
.hh-form { display: flex; flex-direction: column; gap: 18px; }
.hh-apply > section { display: flex; flex-direction: column; gap: 16px; }
.hh-field { display: flex; flex-direction: column; gap: 8px; font: 600 15px var(--wp--preset--font-family--text); color: var(--hh-ink); }
.hh-field em { font-weight: 400; color: var(--hh-slate); font-style: normal; }
.hh-input { min-height: 54px; padding: 0 16px; border-radius: 12px; border: 1.5px solid #D9D2C4; background: #fff; font: 400 17px var(--wp--preset--font-family--text); color: var(--hh-ink); width: 100%; box-sizing: border-box; }
textarea.hh-input { padding: 14px 16px; min-height: 96px; }
.hh-input:focus { outline: none; border-color: var(--hh-navy); box-shadow: 0 0 0 3px rgba(245, 183, 0, .35); }
.hh-row2 { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .hh-row2 { grid-template-columns: 1fr 1fr; } }
.hh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; cursor: pointer; }
.hh-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--hh-navy); flex: none; }
.hh-check-inline { align-self: end; min-height: 54px; align-items: center; }
.hh-more summary { cursor: pointer; font-weight: 600; color: var(--hh-navy); padding: 6px 0; }
.hh-more[open] { display: flex; flex-direction: column; gap: 14px; }
.hh-btn { min-height: 56px; border: 0; border-radius: 10px; font: 700 17px var(--wp--preset--font-family--text); cursor: pointer; padding: 0 28px; }
.hh-btn-primary { background: var(--hh-navy); color: #fff; }
.hh-btn-primary:hover { background: var(--hh-deep); }
.hh-block { width: 100%; }
.hh-alert { display: flex; gap: 10px; align-items: center; border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.hh-alert-ok { background: #E4F4EA; color: #1F7A4D; }
.hh-alert-err { background: #FFF1F0; color: #7A1A12; }
.hh-note { display: flex; gap: 12px; align-items: center; background: var(--hh-cream); border-radius: 14px; padding: 14px 16px; margin: 0; color: var(--hh-navy); font-weight: 500; }

/* Tour picker: day buttons + time buttons, pure CSS radios */
.hh-days-pick, .hh-slots { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.hh-slots legend { font: 600 14px var(--wp--preset--font-family--text); color: var(--hh-slate); margin-bottom: 8px; }
.hh-slots[hidden] { display: none; }
.hh-tour.js .hh-slots legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hh-daybtn, .hh-slot { position: relative; cursor: pointer; }
.hh-daybtn input, .hh-slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hh-daybtn { min-height: 72px; border-radius: 16px; border: 1.5px solid #D9D2C4; background: #fff; color: var(--hh-navy); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.hh-daybtn span { font-size: 13px; font-weight: 600; }
.hh-daybtn strong { font-size: 19px; font-weight: 800; }
.hh-slot span { min-height: 48px; border-radius: 12px; border: 1.5px solid #D9D2C4; background: #fff; color: var(--hh-navy); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; }
.hh-daybtn:has(input:checked), .hh-slot:has(input:checked) span { background: var(--hh-navy); border-color: var(--hh-navy); color: #fff; }
.hh-daybtn:has(input:focus-visible), .hh-slot:has(input:focus-visible) span { outline: 3px solid var(--hh-sun); outline-offset: 2px; }
.hh-daybtn.is-full, .hh-slot.is-full span { border-style: dashed; background: #F3EFE7; color: #8A8F99; cursor: not-allowed; }
.hh-slot.is-full span { text-decoration: line-through; }

/* Contact */
.hh-contact-card { display: flex; flex-direction: column; gap: 14px; }
.hh-contact-row { display: flex; gap: 14px; align-items: center; margin: 0; font-size: 17px; }
.hh-contact-row a { color: var(--hh-ink); }
.hh-ico-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--hh-cream); color: var(--hh-navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }

/* ---------- Photo hero (Home, About, Our Teachers) ---------- */
/* Wave: the page color rising into the navy band. Used by both hero styles. */
.hh-hero2, .hh-page-hero { position: relative; isolation: isolate; }
.hh-hero2::after, .hh-page-hero::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(22px, 3.2vw, 44px); z-index: 2; pointer-events: none;
	background: var(--wp--preset--color--paper);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38C240 6 480 6 720 26s480 38 720 8v26H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38C240 6 480 6 720 26s480 38 720 8v26H0z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hh-page-hero { padding-bottom: calc(56px + 3vw); }
/* Soft background blobs */
.hh-hero2::before { content: ""; position: absolute; z-index: -1; left: -120px; top: 40px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255, 255, 255, .04); }
.hh-hero2 { padding-top: 24px; padding-bottom: 0; }
.hh-hero2-cols { gap: clamp(28px, 4vw, 56px); margin: 0; }
.hh-hero2-copy { padding: 24px 0 calc(40px + 3vw); position: relative; z-index: 3; }
.hh-hero2 h1 { font-size: clamp(40px, 5.2vw, 64px); letter-spacing: -0.035em; line-height: 1.02; margin: 14px 0 18px; text-wrap: balance; }
.hh-hero2 .hh-lead-light { font-size: clamp(17px, 1.5vw, 19px); max-width: 540px; margin: 0 0 26px; }
.hh-hero2-media { position: relative; align-self: stretch !important; display: flex; }
/* Bleed the photo to the right edge of the screen. */
@media (min-width: 782px) {
	.hh-hero2-img { margin-right: calc(-1 * max(var(--hh-gutter), (100vw - 1200px) / 2)) !important; }
}
.hh-hero2-img { margin: 0; flex: 1; display: flex; }
.hh-hero2-img img { width: 100%; height: 100%; min-height: clamp(280px, 34vw, 440px); object-fit: cover; object-position: 70% 40%; display: block; border-radius: 240px 0 0 0; }
/* Yellow sparks at the photo's top-left, a cloud at its foot. */
.hh-hero2-media::before { content: ""; position: absolute; z-index: 3; left: -34px; top: 6%; width: 92px; height: 92px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 92' fill='none' stroke='%23F5B700' stroke-width='11' stroke-linecap='round'%3E%3Cpath d='M70 8l8 22M36 30l20 12M10 64l24-2'/%3E%3C/svg%3E") no-repeat; }
.hh-hero2-media::after { content: ""; position: absolute; z-index: 1; left: -48px; bottom: 0; width: 170px; height: 86px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 86'%3E%3Cpath fill='%238FAEE0' d='M20 86a26 26 0 0 1 6-51 34 34 0 0 1 60-18 30 30 0 0 1 52 18 26 26 0 0 1 12 51z'/%3E%3C/svg%3E") no-repeat bottom / contain; }
@media (max-width: 781px) {
	.hh-hero2-copy { padding-bottom: 12px; }
	.hh-hero2-img { margin: 0 calc(-1 * var(--hh-gutter)) !important; }
	.hh-hero2-img img { border-radius: 120px 0 0 0; min-height: 260px; }
	.hh-hero2-media::before { left: 8px; top: -30px; width: 64px; height: 64px; background-size: contain; }
	.hh-hero2-media::after { left: -20px; width: 120px; height: 60px; }
}
/* Hero highlights (About) */
.hh-hls { gap: 0; margin-top: 8px; flex-wrap: nowrap !important; max-width: 600px; }
.hh-focus-right img { object-position: 100% 30%; }
.hh-focus-left img { object-position: 0 30%; }
.hh-hl { position: relative; flex: 1 1 0; margin: 0; padding: 4px 14px 4px 40px; min-height: 36px; display: flex; align-items: center; color: #DCE4F2; font-size: 15px; line-height: 1.35; }
.hh-hl + .hh-hl { border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 56px; }
.hh-hl::before { content: ""; position: absolute; left: 0; top: 50%; translate: 0 -50%; width: 28px; height: 28px; background: var(--hh-spark); -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat; }
.hh-hl + .hh-hl::before { left: 16px; }
@media (max-width: 560px) {
	.hh-hls { flex-direction: column; align-items: flex-start; gap: 12px; flex-wrap: wrap !important; }
	.hh-hl + .hh-hl { border-left: 0; padding-left: 46px; }
	.hh-hl + .hh-hl::before { left: 0; }
	.hh-hl { max-width: none; }
}
.hh-ico-heart { --ico: url(../../plugins/school-core/assets/icons/heart.svg); }
.hh-ico-sun { --ico: url(../../plugins/school-core/assets/icons/sun.svg); }
.hh-ico-sprout { --ico: url(../../plugins/school-core/assets/icons/sprout.svg); }

/* Current page in the menu */
.hh-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--hh-sun); text-decoration-thickness: 3px; text-underline-offset: 10px; }

/* Home: value props sit in one white strip with dividers */
.hh-values { gap: 0; }
@media (min-width: 782px) {
	.hh-values > .hh-value { padding-right: 28px; }
	.hh-values > .hh-value + .hh-value { border-left: 1px solid var(--hh-line); padding-left: 110px; }
	.hh-values > .hh-value + .hh-value::before { left: 28px; }
	.hh-values > .hh-value + .hh-value::after { left: 46px; }
}
@media (max-width: 781px) { .hh-values { gap: 22px; } }

/* Home: classes beside a short intro */
.hh-classes-row { gap: clamp(24px, 3vw, 40px); margin-top: clamp(36px, 5vw, 56px); align-items: center; }
.hh-classes-intro h2 { font-size: clamp(32px, 3.4vw, 42px); line-height: 1.08; margin: 10px 0 16px; }
.hh-classes-intro p { color: var(--hh-slate); }
.hh-classes { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.hh-class { position: relative; display: flex; flex-direction: column; }
.hh-class .hh-card-body { padding: 16px 18px 18px; gap: 6px; }
.hh-class .hh-card-title { font-size: 21px; }
.hh-class .hh-muted { font-size: 14px; padding-right: 48px; }
.hh-photo-class { height: 160px; }
.hh-age { align-self: flex-start; padding: 5px 12px; border-radius: 999px; font: 700 13px var(--wp--preset--font-family--text); background: color-mix(in srgb, var(--cls) 16%, #fff); color: color-mix(in srgb, var(--cls) 40%, #1B2A44); }
/* The arrow's link covers the whole card (stretched link). */
.hh-card-go { color: var(--hh-navy); }
.hh-card-go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hh-card-go:focus-visible { outline: none; }
.hh-class:has(.hh-card-go:focus-visible) { outline: 3px solid var(--hh-sun); outline-offset: 2px; }
.hh-go { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid #D9E2F0; display: inline-flex; align-items: center; justify-content: center; background: #fff; transition: background .15s; }
.hh-class:hover .hh-go { background: var(--hh-cream); }

/* Our Teachers: four across, fun fact with an icon */
.hh-teachers { grid-template-columns: repeat(auto-fill, minmax(236px, 1fr)); gap: 20px; }
.hh-photo-teacher { height: auto; aspect-ratio: 4 / 3; object-position: 50% 22%; }
.hh-teacher .hh-card-body { padding: 18px 18px 20px; gap: 6px; }
.hh-teacher .hh-card-title { font-size: 21px; }
.hh-role { color: var(--hh-navy); font-size: 14px; }
.hh-cred { font-size: 14px; color: var(--hh-slate); }
.hh-fun { display: flex; gap: 12px; align-items: flex-start; margin-top: auto; font-size: 14px; }
.hh-teacher .hh-fun { margin-top: 10px; }
.hh-fun > .i { width: 28px; height: 28px; margin-top: 2px; color: var(--hh-sun); }
.hh-badge { font-size: 12px; box-shadow: 0 1px 2px rgba(27, 42, 68, .12); }

/* About: tab bar, story, vision / mission / philosophy cards */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#story, #vision, #mission, #philosophy { scroll-margin-top: 24px; }
.hh-about > .hh-tabs { margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
.hh-tabs { display: flex; gap: 4px; padding: 5px; margin: 0 0 clamp(28px, 4vw, 40px); background: #EFEBE2; border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hh-tabs::-webkit-scrollbar { display: none; }
.hh-tabs a { flex: none; min-height: 44px; padding: 0 26px; display: inline-flex; align-items: center; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--hh-navy); text-decoration: none; white-space: nowrap; }
.hh-tabs a[aria-current="true"] { background: var(--hh-navy); color: #fff; }
.hh-tabs a:not([aria-current="true"]):hover { background: rgba(30, 63, 120, .07); }
.hh-about-cols { gap: clamp(24px, 4vw, 48px); }
.hh-story h2 { font-size: clamp(32px, 3.6vw, 44px); line-height: 1.06; margin: 10px 0 20px; }
.hh-story p { color: var(--hh-slate); }
.hh-vmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hh-vmp-card { position: relative; border-radius: 22px; padding: 96px 26px 26px; margin: 0 !important; }
.hh-vmp-card p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; color: var(--hh-ink); }
.hh-vmp-card .hh-kicker { font-size: 13px; }
.hh-vmp-card::before { content: ""; position: absolute; left: 26px; top: 26px; width: 56px; height: 56px; border-radius: 50%; background: var(--dot); }
.hh-vmp-card::after { content: ""; position: absolute; left: 40px; top: 40px; width: 28px; height: 28px; background: var(--ink); -webkit-mask: var(--ico) center/contain no-repeat; mask: var(--ico) center/contain no-repeat; }
.hh-vmp-card.is-vision { background: var(--wp--preset--color--mist); --dot: #FDEDC2; --ink: #B98500; }
.hh-vmp-card.is-mission { background: #FFF7E6; --dot: #FBDCD8; --ink: #C8453A; }
.hh-vmp-card.is-philosophy { grid-column: 1 / -1; background: #EEF5EE; --dot: #D5E8D6; --ink: #3F7D4A; padding: 26px 26px 26px 110px; }
.hh-vmp-card.is-philosophy::before { top: 50%; translate: 0 -50%; }
.hh-vmp-card.is-philosophy::after { top: 50%; translate: 0 -50%; }
@media (max-width: 640px) {
	.hh-vmp { grid-template-columns: 1fr; }
	.hh-vmp-card.is-philosophy { padding: 96px 26px 26px; }
	.hh-vmp-card.is-philosophy::before, .hh-vmp-card.is-philosophy::after { top: 26px; translate: none; }
	.hh-vmp-card.is-philosophy::after { top: 40px; }
}

/* Photo band (Home "Take a tour", About "Experience High Hopes in person") */
.hh-pband-wrap { padding-top: clamp(16px, 3vw, 32px); }
.hh-pband { gap: 0 !important; border-radius: 28px; overflow: hidden; position: relative; isolation: isolate; margin: 0; }
.hh-pband.is-light { background: #E4EBF6; }
.hh-pband.is-navy { background: var(--hh-navy); }
.hh-pband-media { align-self: stretch !important; display: flex; }
.hh-pband-img { margin: 0; flex: 1; display: flex; }
.hh-pband-img img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; display: block; }
@media (min-width: 782px) {
	.hh-pband-img img { min-height: 300px; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); }
}
.hh-pband-copy { padding: clamp(26px, 4vw, 44px) clamp(24px, 4vw, 48px); position: relative; }
.hh-pband-copy h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; margin: 10px 0 12px; }
.hh-pband-copy > p:not(.hh-eyebrow) { margin: 0 0 22px; color: var(--hh-slate); }
.hh-pband.is-navy .hh-pband-copy > p:not(.hh-eyebrow) { color: #DCE4F2; }
.hh-pband.is-light .hh-eyebrow { color: var(--hh-navy); }
.hh-pband.is-light h2 .hh-dot { color: var(--hh-sun); }
/* Sun rays in the corner */
.hh-pband-copy::after { content: ""; position: absolute; z-index: -1; right: 18px; top: 16px; width: 120px; height: 120px; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23A9C0E6' stroke-width='9' stroke-linecap='round'%3E%3Ccircle cx='70' cy='78' r='26' fill='%23A9C0E6' stroke='none'/%3E%3Cpath d='M70 20v14M104 36l-10 10M36 36l10 10M116 78h-12'/%3E%3C/svg%3E") no-repeat; }
.hh-pband.is-navy .hh-pband-copy::after { opacity: .25; }
.hh-btn-line > .wp-block-button__link { color: var(--hh-navy) !important; border: 2px solid var(--hh-navy) !important; background: transparent !important; }
.hh-btn-line > .wp-block-button__link:hover { background: rgba(30, 63, 120, .06) !important; }
