.refhome .hero-alive.ref-hero{background:#a7e1fa url(/illustrations/home/scenery.png) 50%/cover no-repeat;height:auto;min-height:0}.refhome .hero-alive .hero-layout{grid-template-columns:minmax(0,1fr) minmax(360px,1.4fr) minmax(0,1fr);align-items:center;gap:16px;max-width:1320px;height:auto;min-height:360px;padding:36px 24px 20px;display:grid}.refhome .hero-alive .hero-center{grid-area:1/2;align-self:center;width:100%;min-width:0;max-width:none;margin:0;padding:20px 0}.refhome .hero-alive .hero-center h1{letter-spacing:-.055em;font-size:clamp(64px,7.4vw,103px)}.refhome .hero-alive .hero-center>p{font-size:clamp(20px,2.1vw,29px)}.refhome .hero-alive .slogan{margin:16px 0;font-size:clamp(14px,1.5vw,19px);line-height:1.7;display:block}.refhome .hero-alive .hero-teacher-wrap,.refhome .hero-alive .hero-pupils{aspect-ratio:1;z-index:1;pointer-events:none;grid-row:1;align-self:end;width:100%;min-width:0;height:auto;position:relative;inset:auto;transform:none}.refhome .hero-alive .hero-teacher-wrap{grid-column:1}.refhome .hero-alive .hero-pupils{grid-column:3}.refhome .hero-alive .hero-teacher,.refhome .hero-alive .hero-pupils img{object-fit:contain;object-position:center;width:100%;height:100%;display:block;-webkit-mask-image:none;mask-image:none}.refhome .hero-alive .hero-pupils>span{max-width:90%;font-size:clamp(12px,1.25vw,18px);top:0;right:8%}.refhome .hero-alive .hero-search{width:100%;max-width:480px}.refhome .hero-alive .hero-emblem{margin:0;transform:none}.refhome .hero-alive .hero-emblem img{width:64px;height:64px}.refhome .hero-alive .hero-center h1:after{display:none}.refhome .hero-alive .slogan{color:#6104a9;background:#ffeb42;border-radius:999px;margin:14px 0 8px;padding:8px 12px;font-size:clamp(18px,2.1vw,28px)}.refhome .hero-alive .hero-center>.hero-description{color:#4d177e;margin:0 0 16px;font-size:14px;line-height:1.7;transform:none}.refhome .hero-alive .hero-animals{grid-area:2/2;align-self:end;width:min(80%,270px);height:auto;margin:0 auto;display:block}.refhome .hero-alive .hero-teacher-wrap{aspect-ratio:4/5;grid-row:1/span 2}.refhome .hero-alive .hero-pupils{aspect-ratio:4/3;grid-row:1/span 2}.refhome .hero-alive .hero-search button{background:linear-gradient(#ba36f4,#750ac6)}.refhome .portal-entries{gap:20px;margin:24px 0}.refhome .portal-entries>a{background:linear-gradient(120deg,#fff2fa,#ffd6ed);border:3px solid #ff58b1;border-radius:26px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:12px;padding:14px 20px 0 10px;display:grid;overflow:hidden;box-shadow:0 5px #f5c4e4}.refhome .portal-entries>a:nth-child(2){background:linear-gradient(120deg,#fff6ff,#ead0ff);border-color:#ac45f4;box-shadow:0 5px #dfc7f2}.refhome .entry-character{object-fit:contain;object-position:center bottom;align-self:end;width:100%;height:210px;display:block}.refhome .portal-entries>a>div{min-width:0;padding-bottom:16px}.refhome .portal-entries>a>div>b{color:#6104a9;font-size:clamp(20px,2.1vw,28px)}.refhome .portal-entries>a>div>small{margin:10px 0;line-height:1.7}.refhome .portal-entries>a>strong{display:none}.refhome .entry-cta{color:#fff;background:linear-gradient(#ff64b2,#ee087f);border:2px solid #fff;border-radius:999px;align-items:center;gap:6px;padding:9px 14px;font-size:14px;font-weight:700;display:inline-flex;box-shadow:0 3px 5px #b0529433}.refhome .portal-entries>a:nth-child(2) .entry-cta{background:linear-gradient(#bb4cf6,#780bd0)}.refhome .ref-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.refhome .shortcut{text-align:center;flex-direction:column;justify-content:center;gap:8px;height:auto;min-height:132px;padding:16px 10px;display:flex}.refhome .shortcut b{font-size:18px;line-height:1.5}.refhome .shortcut small{font-size:12px}.refhome .shortcut>strong{display:none}.refhome .ref-footer{background:#d7f3df url(/illustrations/home/scenery.png) 50%/cover no-repeat}@media (max-width:1100px){.refhome .ref-nav{height:auto}.refhome .nav-inner{flex-wrap:wrap;gap:8px;padding-block:8px}.refhome .topsearch{display:none}.refhome .ref-nav nav{flex-basis:100%;order:5;justify-content:flex-start;overflow-x:auto}.refhome .ref-nav nav a{flex:none}}@media (max-width:640px){.refhome .portal-entries{grid-template-columns:1fr;gap:16px}.refhome .entry-character{height:170px}.refhome .ref-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.refhome .shortcut:last-child{grid-column:1/-1}}@media (max-width:900px){.refhome .hero-alive .hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,.65fr) minmax(0,1fr);gap:12px 8px;max-width:720px;min-height:0;padding:24px 16px 12px}.refhome .hero-alive .hero-center{grid-area:1/1/auto/-1;justify-self:center;max-width:480px;padding:16px 0 8px}.refhome .hero-alive .hero-center h1{font-size:clamp(64px,12vw,96px)}.refhome .hero-alive .hero-center>p{font-size:24px}.refhome .hero-alive .slogan{font-size:clamp(18px,2.6vw,22px)}.refhome .hero-alive .hero-teacher-wrap,.refhome .hero-alive .hero-pupils{grid-row:2;justify-self:center;max-width:230px}.refhome .hero-alive .hero-pupils{grid-column:3}.refhome .hero-alive .hero-animals{width:100%}.refhome .hero-alive .hero-pupils>span{font-size:12px;top:0;right:0}}@media (max-width:380px){.refhome .hero-alive .hero-layout{column-gap:12px;padding-inline:14px}.refhome .hero-alive .hero-search{gap:4px;padding-left:8px}.refhome .hero-alive .hero-search input{font-size:12px}.refhome .hero-alive .hero-search button{padding-inline:10px}}.refhome .hero-alive{--hero-x:0px;--hero-y:0px;isolation:isolate}.refhome .hero-alive .hero-center h1{text-shadow:0 2px #fff,0 5px #e7c9ef,0 9px 15px #b379bb38,0 0 24px #fff9}.refhome .hero-alive .hero-center h1 em{text-shadow:0 2px #fff,0 5px #f3c0d9,0 9px 15px #d47aaa3d,0 0 22px #fff9}.refhome .hero-alive .hero-center h1>span{filter:drop-shadow(0 3px 4px #d79b5e38);display:inline-block}.refhome .hero-alive .hero-center>p{text-shadow:0 2px #fff,0 4px 8px #ba94c82b}.refhome .hero-alive .slogan{text-shadow:0 1px #fff,0 3px 8px #a870b52e}.refhome .hero-alive .slogan i{display:inline-block}.refhome .hero-alive .hero-search button{box-shadow:0 4px 12px #c879b533}@media (prefers-reduced-motion:no-preference){.refhome .hero-alive .hero-teacher{translate:var(--hero-x) var(--hero-y);transform-origin:50% 92%;will-change:transform;transition:translate .5s ease-out;animation:4.8s ease-in-out infinite kp-teacher-breathe}.refhome .hero-alive .hero-pupils img{translate:calc(var(--hero-x) * -.65) calc(var(--hero-y) * -.65);transform-origin:50% 90%;will-change:transform;transition:translate .5s ease-out;animation:5.5s ease-in-out -2s infinite kp-pupils-sway}.refhome .hero-alive .hero-animals{transform-origin:bottom;animation:4s ease-in-out -1s infinite kp-animals-bob}.refhome .hero-alive .hero-emblem img{animation:4.5s ease-in-out -.8s infinite kp-book-float}.refhome .portal-entries .entry-character{transform-origin:bottom;animation:6s ease-in-out infinite kp-entry-sway}.refhome .portal-entries>a:nth-child(2) .entry-character{animation-delay:-3s}.refhome .hero-alive:before{animation:7s ease-in-out infinite home-sunlight}.refhome .hero-alive .hero-center h1{animation:6s ease-in-out infinite kp-title-glow}.refhome .hero-alive .hero-center h1>span{animation:5s ease-in-out infinite kp-crown-float}.refhome .hero-alive .slogan i{animation:3.6s ease-in-out infinite kp-heart-beat}.refhome .hero-alive .hero-search button{transition:box-shadow .2s,transform .2s}.refhome .hero-alive .hero-search button:hover{transform:translateY(-1px);box-shadow:0 6px 18px #c879b54d}.refhome .hero-alive .home-star{animation:4.8s ease-in-out infinite home-twinkle;animation-delay:var(--star-delay)}.refhome .hero-alive .home-light-orb{animation:9s ease-in-out infinite home-orb-drift}}@keyframes kp-teacher-breathe{0%,to{transform:translateY(0)rotate(-.6deg)scale(1)}50%{transform:translateY(-8px)rotate(.7deg)scale(1.008)}}@keyframes kp-pupils-sway{0%,to{transform:translateY(0)rotate(.35deg)}50%{transform:translateY(-7px)rotate(-.8deg)}}@keyframes kp-animals-bob{0%,to{transform:translateY(0)rotate(-.5deg)}50%{transform:translateY(-6px)rotate(.5deg)}}@keyframes kp-book-float{0%,to{transform:translateY(0)rotate(-3deg)}50%{transform:translateY(-6px)rotate(3deg)}}@keyframes kp-entry-sway{0%,to{transform:rotate(-.6deg)}50%{transform:rotate(.6deg)}}@keyframes kp-crown-float{0%,to{translate:0;rotate:-3deg}50%{translate:0 -4px;rotate:3deg}}@keyframes kp-title-glow{0%,to{filter:drop-shadow(0 3px 8px #c28fd51a)}50%{filter:drop-shadow(0 4px 14px #d99dbd38)}}@keyframes kp-heart-beat{0%,20%,40%,to{transform:scale(1)}10%,30%{transform:scale(1.12)}}@media (max-width:760px){.refhome .hero-alive .hero-teacher,.refhome .hero-alive .hero-pupils img{translate:0}.refhome .hero-alive .hero-center h1{text-shadow:0 2px #fff,0 4px #e7c9ef,0 7px 12px #b379bb30}.refhome .hero-alive .hero-center h1 em{text-shadow:0 2px #fff,0 4px #f3c0d9,0 7px 12px #d47aaa30}}
