:root{--navy:#1b2a4e;--blue:#1f4fc1;--aqua:#3cc3bd;--cream:#fbf4de;--orange:#f08a24;--ink:#1c2233;--muted:#5a6275;--line:#dfe3ee;--card:#fff;--bg:#f5f7fc;--radius:14px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font:17px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--bg)}
img{max-width:100%;display:block}
a{color:var(--blue)}
.wrap{width:min(1120px,100% - 2rem);margin-inline:auto}
header.site{background:var(--navy);color:#fff;position:sticky;top:0;z-index:10}
header.site .wrap{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding:.6rem 0}
.brand{display:flex;align-items:center;gap:.7rem;color:#fff;text-decoration:none;font-weight:700;line-height:1.2}
.brand img{width:46px;height:46px}
.brand small{display:block;font-weight:400;opacity:.8;font-size:.8rem}
nav.main{display:flex;gap:.25rem;flex-wrap:wrap;margin-left:auto}
nav.main a{color:#fff;text-decoration:none;padding:.45rem .8rem;border-radius:999px;font-size:.95rem}
nav.main a:hover{background:rgba(255,255,255,.14)}
nav.main a[aria-current=page]{background:var(--orange);color:#1b1b1b;font-weight:600}
footer.site{margin-top:3rem;background:var(--navy);color:#cfd6ea;padding:1.5rem 0;font-size:.9rem}
footer.site a{color:#fff}
.hero{position:relative;overflow:hidden;color:#fff;background:var(--navy);min-height:340px;display:flex;align-items:flex-end}
.hero-bg{position:absolute;inset:0;transform-origin:50% 60%;animation:zoom 16s ease-in-out infinite alternate;will-change:transform}
.hero::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(27,42,78,0) 0%,rgba(27,42,78,0) 30%,rgba(27,42,78,.6) 62%,rgba(27,42,78,.92) 100%)}
.hero .wrap{position:relative;z-index:2;padding:2.2rem 0}
.hero h1{margin:0 0 .3rem;font-size:clamp(1.7rem,5vw,2.6rem);line-height:1.15}
.hero p{margin:0 0 1.1rem;opacity:.92;max-width:40rem}
.search{display:flex;gap:.5rem;max-width:36rem}
.search input{flex:1;min-width:0;padding:.8rem 1rem;border-radius:999px;border:0;font:inherit}
.btn{display:inline-block;border:0;cursor:pointer;background:var(--orange);color:#1b1b1b;font:inherit;font-weight:600;padding:.75rem 1.2rem;border-radius:999px;text-decoration:none}
.btn.secondary{background:#fff;color:var(--navy);border:1px solid var(--line)}
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;margin:1.5rem 0}
.stat{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem}
.stat b{display:block;font-size:2rem;color:var(--blue);line-height:1.1}
.stat span{font-weight:600}
.stat-link{display:inline-block;margin-top:.5rem;font-size:.88rem;font-weight:600;color:var(--blue)}
.stat-desc{margin:.25rem 0 0;color:var(--muted);font-size:.88rem;line-height:1.4}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1rem 1.1rem;display:flex;flex-direction:column;gap:.35rem;text-decoration:none;color:inherit}
a.card:hover,.card:has(.card-link):hover{border-color:var(--blue);box-shadow:0 4px 14px rgba(31,79,193,.12)}
.card{position:relative}
.card-link{color:inherit;text-decoration:none}
.card-link::after{content:"";position:absolute;inset:0}
.card .official{position:relative;z-index:1;align-self:flex-start;margin-top:.2rem;font-size:.85rem;color:var(--blue);font-weight:600}
.portals{margin:1.5rem 0}.portals h2{margin:0 0 .2rem;font-size:1.3rem;color:var(--navy)}
.card-media{position:relative;display:flex;align-items:center;justify-content:center;background:#eef3ff;border-radius:10px;height:120px;margin-bottom:.3rem;overflow:hidden}
.card-media.has-photo{height:150px;background:#f3f5fa}
.card-icon{width:64px;height:64px}
.card-photo{width:100%;height:100%;object-fit:cover}
.photo-credit{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:.2rem .5rem;font-size:.7rem;color:#fff;background:rgba(27,42,78,.78);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card h3{margin:0;font-size:1.05rem;line-height:1.3}
.card p{margin:0;color:var(--muted);font-size:.93rem}
.tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.2rem}
.tag{background:#e8eefc;color:var(--blue);border-radius:999px;padding:.1rem .6rem;font-size:.8rem}
.tag.kind{background:#fdebd7;color:#8a4a07}
.page-title{margin:1.6rem 0 .3rem;font-size:1.7rem;color:var(--navy)}
.lead{color:var(--muted);margin:0 0 1rem}
.filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem;margin:1rem 0}
.filters input,.filters select{width:100%;padding:.65rem .8rem;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff}
.count{color:var(--muted);margin:.4rem 0 1rem}
.notice{background:#fff7e6;border:1px solid #f3d9a3;border-radius:10px;padding:.7rem 1rem;margin:.8rem 0}
.empty{text-align:center;padding:2rem 1rem;background:var(--card);border:1px dashed var(--line);border-radius:var(--radius)}
.table-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
table{border-collapse:collapse;width:100%;min-width:860px;font-size:.93rem}
th,td{padding:.6rem .8rem;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
th{background:#eef2fb;color:var(--navy);position:sticky;top:0;white-space:nowrap}
th button{all:unset;cursor:pointer;font-weight:700}
th button:focus-visible{outline:2px solid var(--blue)}
td.num{text-align:right;font-variant-numeric:tabular-nums}
.strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.6rem;margin:1.5rem 0}
.strip img{width:100%;height:150px;object-fit:cover;border-radius:12px}
.frame{width:100%;height:78vh;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.group-title{margin:1.4rem 0 .5rem;color:var(--navy)}
@media (max-width:600px){body{font-size:16px}nav.main{margin-left:0;width:100%}}

/* Home page animation */
@keyframes zoom{from{transform:scale(1) translate(0,0)}to{transform:scale(1.1) translate(-1%,-.8%)}}
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes shine{0%{background-position:100% 0}35%{background-position:0 0}100%{background-position:0 0}}
@keyframes drop{from{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:none}}
.home header.site{animation:drop .6s ease both}
.home .hero h1,.home .hero p{background:linear-gradient(100deg,#fff 0%,#fff 40%,#ffd36b 50%,#fff 60%,#fff 100%);background-size:300% 100%;background-position:100% 0;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.home .hero h1{animation:rise 1s ease both,shine 6.5s ease-in-out 1.4s infinite}
.home .hero p{animation:rise 1s ease .25s both,shine 6.5s ease-in-out 1.7s infinite}
.home .banner-form{animation:rise 1s ease .5s both}
.home .stat,.home .cards .card,.home .strip img{animation:rise .7s ease both}
.home .stat:nth-child(1){animation-delay:.5s}.home .stat:nth-child(2){animation-delay:.65s}.home .stat:nth-child(3){animation-delay:.8s}
.home .cards .card:nth-child(1){animation-delay:.9s}.home .cards .card:nth-child(2){animation-delay:1.05s}
.home .cards .card:nth-child(3){animation-delay:1.2s}.home .cards .card:nth-child(4){animation-delay:1.35s}
.home .strip img:nth-child(1){animation-delay:1.5s}.home .strip img:nth-child(2){animation-delay:1.62s}
.home .strip img:nth-child(3){animation-delay:1.74s}.home .strip img:nth-child(4){animation-delay:1.86s}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

tfoot td{font-weight:700;background:#eef2fb;border-top:2px solid var(--line);border-bottom:0}

/* Banner: carousel of school photos that crossfade */
.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.2s ease}
.slide.on{opacity:1}
.hero-dots{position:absolute;z-index:3;right:1rem;bottom:.8rem;display:flex;gap:.45rem}
.hero-dots button{position:relative;width:8px;height:8px;padding:0;border:0;border-radius:99px;background:rgba(255,255,255,.45);cursor:pointer;transition:width .4s,background .4s}
.hero-dots button::before{content:"";position:absolute;inset:-9px -4px}
.hero-dots button.on{width:22px;background:#ffd36b}
.hero-arrow{position:absolute;z-index:3;top:34%;transform:translateY(-50%);width:42px;height:42px;padding:0 0 4px;border:0;border-radius:50%;background:rgba(27,42,78,.55);color:#fff;font-size:1.7rem;line-height:1;cursor:pointer;transition:background .2s}
.hero-arrow:hover,.hero-arrow:focus-visible{background:rgba(27,42,78,.85)}
.hero-arrow.prev{left:.8rem}.hero-arrow.next{right:.8rem}
.hero-dots button:focus-visible,.hero-arrow:focus-visible{outline:2px solid #ffd36b;outline-offset:2px}
@media (min-width:601px){.hero{min-height:520px}}
@media (max-width:600px){
  /* phones: the photo sits above the headline instead of behind it, so nobody is hidden or cut off */
  .hero{display:block;min-height:0}
  .hero-bg{position:relative;inset:auto;height:290px;animation:none}
  .hero::before{display:none}
  .hero .wrap{padding:1.1rem 0 1.5rem}
  .hero-arrow{top:145px;width:34px;height:34px;font-size:1.4rem}
  .hero-dots{top:262px;bottom:auto}
}

/* Photos in other sections */
.card.has-img{padding:0;overflow:hidden;gap:0}
.card-img{width:100%;height:150px;object-fit:cover}
.card-body{display:flex;flex-direction:column;gap:.35rem;padding:.9rem 1.1rem 1rem}
.gallery h2{margin:1.8rem 0 0;color:var(--navy);font-size:1.3rem}
.gallery .strip{margin-top:.7rem}
.home .strip img:nth-child(5){animation-delay:1.98s}

/* Page intro: title and text on the left, a cluster of shaped photos on the right */
.page-intro{display:grid;grid-template-columns:minmax(0,1fr) min(460px,46%);gap:1.5rem;align-items:center;margin:.8rem 0 .6rem}
.page-intro .page-title{margin-top:.4rem}
.page-intro .lead{max-width:34rem}
.shapes{position:relative;width:100%;aspect-ratio:460/300}
.shape{position:absolute;left:var(--l);top:var(--t);width:var(--w);margin:0;filter:drop-shadow(0 7px 10px rgba(27,42,78,.25));animation:bob 6s ease-in-out var(--d,0s) infinite;transition:transform .35s ease}
.shape:hover{transform:scale(1.06) rotate(-1.5deg);z-index:2}
.shape .sframe{position:relative;aspect-ratio:var(--ar,1);background:#fff}
.shape img{position:absolute;inset:4px;width:calc(100% - 8px);height:calc(100% - 8px);object-fit:cover;display:block}
.shape.circle .sframe,.shape.circle img{border-radius:50%}
.shape.ellipse .sframe,.shape.ellipse img{border-radius:50%}
.shape.pill .sframe,.shape.pill img{border-radius:999px}
.shape.arch .sframe,.shape.arch img{border-radius:42% 42% 7% 7% / 38% 38% 7% 7%}
.shape.leaf .sframe,.shape.leaf img{border-radius:50% 0 50% 0}
.shape.hex .sframe,.shape.hex img{clip-path:polygon(25% 3%,75% 3%,100% 50%,75% 97%,25% 97%,0 50%)}
.shape.hex img{inset:5px;width:calc(100% - 10px);height:calc(100% - 10px)}
@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -6px}}
.deco{position:absolute;display:block;z-index:0;pointer-events:none}
.deco.d1{width:46%;aspect-ratio:1;right:-2%;bottom:2%;border-radius:50%;background:radial-gradient(circle at 30% 30%,#ffd36b,var(--orange));opacity:.35}
.deco.d2{width:22%;aspect-ratio:1;left:40%;top:-6%;border-radius:50%;border:3px dashed var(--aqua);opacity:.7}
.deco.d3{width:9%;aspect-ratio:1;left:-1%;bottom:6%;border-radius:50%;background:var(--blue);opacity:.25}
.shape{z-index:1}
.sh-teacher .deco.d1{background:radial-gradient(circle at 30% 30%,#8fe3de,var(--aqua));right:2%;bottom:-8%}
.sh-inventory .deco.d1{right:-4%;bottom:2%}
.sh-bbm .deco.d1{right:0}
@media (max-width:760px){.page-intro{grid-template-columns:1fr;gap:.6rem}.shapes{max-width:380px;margin-inline:auto}}
