/* ANPS base: design tokens, reset, buttons, top bar, navigation (shared by every page) */
/* VOICE warm and plain: a small neighbourhood primary school, written for parents
   IDEA the school gate: the Iqra inscription over the entrance, the notice board inside
   PICTURE the verse calligraphy set large as an inscription across the green hero
   COLOUR white ground, school green in flat full-width bands, mint text on green, maroon only for admission actions
   TYPE Source Serif 4 for headings (echoes the serif caps of the crest), Source Sans 3 for text
   LAYOUT laptop: inscription row, then name and intro beside the key facts, sharing one column split; phone: stacked in that order */
:root{color-scheme:light;--g9:#0f2a1f;--g8:#1b4332;--g6:#2d6a4f;--g4:#3f8a66;--mint:#cfe6d8;--mint2:#edf5f0;--mar:#9b1c1c;--mar2:#7f1515;--gold:#f6dca0;--bg:#fff;--card:#fff;--ink:#14201a;--muted:#4c5a52;--line:#dbe3de;--serif:"Source Serif 4",Georgia,serif;--sans:"Source Sans 3",system-ui,sans-serif;--r:8px}
*{box-sizing:border-box;min-width:0}
html{scroll-behavior:smooth;scroll-padding-top:80px;overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--ink);font:17px/1.6 var(--sans);overflow-x:clip;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
[hidden]{display:none!important}
h1,h2{font-family:var(--serif);font-weight:600;line-height:1.08;letter-spacing:-.02em;margin:0;text-wrap:balance}
h2{font-size:clamp(30px,3.4vw,42px);color:var(--g8)}
h3{font-size:19px;font-weight:700;color:var(--g8);margin:0;line-height:1.3}
p{margin:0}
.wrap{max-width:1180px;margin:0 auto}
.band{padding:clamp(56px,7vw,96px) max(5vw,16px)}
.tint{background:var(--mint2)}
.lead{font-size:18px;color:var(--muted);max-width:62ch}
.head{display:grid;gap:12px;margin-bottom:clamp(28px,3.5vw,44px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 20px;border-radius:6px;font:600 16px var(--sans);text-decoration:none;border:1px solid transparent;cursor:pointer;transition:background .15s,border-color .15s,color .15s;white-space:nowrap}
.btn:disabled{opacity:.45;cursor:not-allowed}
.btn.sm{min-height:38px;padding:6px 14px;font-size:15px}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px}
.b-red{background:var(--mar);color:#fff}
.b-red:hover{background:var(--mar2)}
.b-mint{background:var(--mint);color:var(--g9)}
.b-mint:hover{background:#fff}
.b-green{background:var(--g8);color:#fff}
.b-green:hover{background:var(--g9)}
.b-line{background:#fff;color:var(--g8);border-color:#c3cfc8}
.b-line:hover{border-color:var(--g8)}
.b-ghost{background:transparent;color:#fff;border-color:rgba(207,230,216,.5)}
.b-ghost:hover{border-color:#fff}
/* top bar + nav */
.top{background:var(--g9);color:var(--mint);font-size:14px;padding:6px max(5vw,16px)}
.top .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 24px}
.top b,.top a{color:#fff;font-weight:600;text-decoration:none}
.nav{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.nav .wrap{display:flex;align-items:center;gap:16px;padding:10px max(5vw,16px);max-width:calc(1180px + 10vw)}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;margin-right:auto}
.brand img{width:48px;height:48px;border-radius:50%}
.brand strong{display:block;white-space:nowrap;font-family:var(--serif);font-weight:700;font-size:21px;color:var(--g8);line-height:1.1;letter-spacing:-.01em}
.brand span{display:block;font-size:14px;color:var(--muted);line-height:1.3}
.links{display:flex;align-items:center;gap:4px}
.links a{text-decoration:none;font-weight:600;font-size:16px;color:var(--ink);padding:10px 10px;border-bottom:2px solid transparent}
.links a:hover{color:var(--g6)}
.seg{display:flex;gap:4px;margin-left:12px;padding-left:16px;border-left:1px solid var(--line)}
.seg a{color:var(--g8)}
.seg a.on{border-bottom-color:var(--g8)}
.menu{display:none;width:44px;height:44px;border-radius:6px;border:1px solid var(--line);background:#fff;color:var(--g8);cursor:pointer}
@media(max-width:1020px){.links{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:4px max(5vw,16px) 12px;border-bottom:1px solid var(--line)}.links.open{display:flex}.links a{padding:12px 0;border-bottom:1px solid var(--line)}.seg{flex-direction:column;gap:0;margin:0;padding:0;border:0}.seg a.on{border-bottom-color:var(--line);color:var(--mar)}.menu{display:grid;place-items:center}}
@media(max-width:900px){.top .addr{display:none}}
@media(max-width:600px){.top .rec{display:none}.brand span{display:none}.brand strong{font-size:19px}.brand img{width:42px;height:42px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
