body.ekh-enhanced:has(.ekh-secondary-hero){padding-top:0!important}
body.ekh-enhanced:has(.ekh-secondary-hero) #main{padding-top:0!important;margin-top:0!important}
body.ekh-enhanced:has(.ekh-secondary-hero) .ekh-header{position:fixed!important;inset:0 0 auto!important;z-index:100;transform:translateY(-105%);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .25s ease}
body.ekh-enhanced.ekh-secondary-nav-visible .ekh-header,body.ekh-enhanced:has(.ekh-secondary-hero) .ekh-header:focus-within{transform:none;opacity:1;pointer-events:auto}
body.ekh-enhanced .ekh-secondary-hero,body.ekh-enhanced .ekh-secondary-hero{position:relative!important;isolation:isolate;display:flex!important;align-items:flex-end;width:100%!important;max-width:none!important;height:100svh!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden;background:#333333}
.ekh-secondary-hero-image{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center;z-index:-2}
/* Show more of the Rainbow courtyard by shifting this page's photo upward. */
.ekh-secondary-hero-image[src*="preschool-rainbow-refined-"]{object-position:center bottom}
.ekh-secondary-hero::after{display:none!important}
body.ekh-enhanced .ekh-secondary-hero-copy{position:relative;margin:0 6.2vw clamp(46px,7svh,84px);width:min(740px,86vw);padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#fff}
body.ekh-enhanced .ekh-secondary-hero-copy :is(h1,p,a,em){color:#fff!important;-webkit-text-stroke:0!important;text-shadow:0 1px 0 #14220f4d,1px 0 0 #14220f4d,-1px 0 0 #14220f4d,0 -1px 0 #14220f4d,0 8px 26px #14220f73!important}
body.ekh-enhanced #main .ekh-secondary-hero .ekh-secondary-hero-copy :is(h1,p,a,em,span),body.ekh-enhanced .ekh-secondary-hero .ekh-secondary-hero-copy :is(h1,p,a,em,span){color:#fff!important;-webkit-text-fill-color:#fff!important}
body.ekh-enhanced .ekh-secondary-hero-label{font:500 14px/1.5 'Ecohome Sans',sans-serif;letter-spacing:.08em;margin:0 0 20px!important}
body.ekh-enhanced .ekh-secondary-hero h1{font-family:'Ecohome Sans',sans-serif!important;font-size:clamp(42px,5vw,78px)!important;line-height:1.08!important;letter-spacing:-.035em!important;font-weight:600!important;max-width:24ch;margin:0 0 20px!important;text-wrap:balance}
body.ekh-enhanced .ekh-secondary-hero h1 em{font-family:'Newsreader Eco',Georgia,serif!important;font-weight:400;font-style:italic;font-size:.9em}
body.ekh-enhanced .ekh-secondary-hero-lead{font-size:clamp(15px,1.05vw,17px)!important;line-height:1.6!important;max-width:44ch;margin:0 0 22px!important}
.ekh-secondary-hero-link{display:inline-flex;align-items:center;gap:16px;font-size:15px;font-weight:500;min-height:44px;text-decoration:underline;text-underline-offset:7px}
.ekh-secondary-hero-link:focus-visible{outline:2px solid #fff;outline-offset:6px}
body:has(.ekh-secondary-hero) :is(.sc-crumbs,.ps-crumbs){display:none!important}
.ekh-shop-hero-search{padding:28px max(24px,6.2vw);background:#fff}
.ekh-shop-hero-search .ekh-shop-search{max-width:680px;margin:0}
@media(max-width:650px){body.ekh-enhanced .ekh-secondary-hero-copy{margin:0 32px 106px;width:calc(100% - 64px)}body.ekh-enhanced .ekh-secondary-hero h1{font-size:clamp(36px,9vw,54px)!important;max-width:none;margin-bottom:18px!important}body.ekh-enhanced .ekh-secondary-hero-label{font-size:12px;margin-bottom:16px!important}body.ekh-enhanced .ekh-secondary-hero-lead{font-size:15px!important;line-height:1.55!important;margin-bottom:16px!important}.ekh-secondary-hero-link{font-size:13px}.ekh-secondary-hero::after{display:none!important}}
@media(prefers-reduced-motion:reduce){body.ekh-enhanced:has(.ekh-secondary-hero) .ekh-header{transition:none}}

/* Wider project archive photography, retaining existing card rhythm. */
body.ekh-enhanced #main .ea-wrap.ea-index{width:calc(100% - 64px)!important;max-width:1920px!important;margin-inline:auto}
@media(max-width:650px){body.ekh-enhanced #main .ea-wrap.ea-index{width:calc(100% - 36px)!important}}
