/* AIMERS clean look (all devices): fewer ornaments, calmer and more classical. */
/* hero clutter */
.heroX .sh,.heroX .sticker{display:none!important}
.hdfx,.hdeco{display:none!important}
.ribbon{display:none!important}
header nav a.btn[href="contact.html"]::after{content:none!important;display:none!important}
section::before,.heroX::before,.cta2::before{opacity:.2}
.dark::before,.classroom-sec::before{opacity:.18}
/* tagline: no crown, no stars, no rotated badges, no pulsing */
#top-hero .tagl .ch::before,#top-hero .tagl .ch::after,#top-hero .tagl .be::before,#top-hero .tagl .be::after{content:none!important;display:none!important}
#top-hero .tagl{font-family:var(--f-head,Fraunces,Georgia,serif)!important;font-weight:600!important;letter-spacing:0!important;filter:none!important;color:#0b1f4d!important;text-wrap:balance}
#top-hero .tagl .w{background:none!important;color:#0b1f4d!important;-webkit-text-fill-color:#0b1f4d!important}
#top-hero .tagl .bec{font-family:var(--f-head,Fraunces,Georgia,serif)!important;font-style:italic!important;font-weight:600!important;color:#3b4ec8!important;-webkit-text-fill-color:#3b4ec8!important;transform:none!important}
#top-hero .tagl .ch{background:none!important;transform:none!important;color:#0b1f4d!important;padding:0!important;border-radius:0!important}
#top-hero .tagl .de::after{height:.07em!important;background:linear-gradient(90deg,#f5b301,#e0a100)!important;animation:none!important;transform:none!important}
#top-hero .tagl .be{font-family:var(--f-head,Fraunces,Georgia,serif)!important;font-style:italic!important;font-weight:700!important;color:#b4235f!important;-webkit-text-fill-color:#b4235f!important;background:none!important;box-shadow:inset 0 -.16em 0 rgba(245,179,1,.4)!important;text-shadow:none!important;border-radius:0!important;padding:0 .12em!important;transform:none!important;scale:1!important}

/* stats strip: solid deep navy with gold numerals (classical, easy on the eyes) */
.stats{background:#0a1a3d!important;border-top:3px solid #f5b301;border-bottom:1px solid rgba(245,179,1,.35)}
.stats::after{display:none!important}
.stat{border-color:rgba(245,179,1,.22)!important;color:#c9d3ee;font-size:.95rem;letter-spacing:.04em}
.stat::before{display:none!important}
.stat b{font-family:var(--f-head,Fraunces,Georgia,serif)!important;font-weight:700!important;color:#f5b301!important;letter-spacing:-.01em}
.stat:hover{background:rgba(245,179,1,.06)!important}

/* background pattern: maths symbols, numbers 1 2 3, laptop, bulb, book, cap (kept faint and well spaced) */
section::before,.heroX::before,.cta2::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22400%22%20height%3D%22300%22%20viewBox%3D%220%200%20400%20300%22%3E%3Cg%20font-family%3D%22Arial%2Csans-serif%22%20font-weight%3D%22700%22%3E%3Ctext%20x%3D%2244%22%20y%3D%2271.5%22%20font-size%3D%2250%22%20text-anchor%3D%22middle%22%20fill%3D%22%232457d6%22%20fill-opacity%3D%220.1%22%3E%2B%3C%2Ftext%3E%3Ctext%20x%3D%22254%22%20y%3D%2263.5%22%20font-size%3D%2250%22%20text-anchor%3D%22middle%22%20fill%3D%22%232457d6%22%20fill-opacity%3D%220.1%22%3E%CF%80%3C%2Ftext%3E%3Ctext%20x%3D%2256%22%20y%3D%22168.8%22%20font-size%3D%2248%22%20text-anchor%3D%22middle%22%20fill%3D%22%232457d6%22%20fill-opacity%3D%220.1%22%3E1%3C%2Ftext%3E%3Ctext%20x%3D%22146%22%20y%3D%22174.9%22%20font-size%3D%2254%22%20text-anchor%3D%22middle%22%20fill%3D%22%232457d6%22%20fill-opacity%3D%220.1%22%3E%C3%97%3C%2Ftext%3E%3Ctext%20x%3D%22248%22%20y%3D%22164.8%22%20font-size%3D%2248%22%20text-anchor%3D%22middle%22%20fill%3D%22%232457d6%22%20fill-opacity%3D%220.1%22%3E2%3C%2Ftext%3E%3Ctext%20x%3D%22352%22%20y%3D%22171.5%22%20font-size%3D%2250%22%20text-anchor%3D%22middle%22%20fill%3D%22%23f5b301%22%20fill-opacity%3D%220.22%22%3E%E2%88%91%3C%2Ftext%3E%3Ctext%20x%3D%22154%22%20y%3D%22268.8%22%20font-size%3D%2248%22%20text-anchor%3D%22middle%22%20fill%3D%22%232457d6%22%20fill-opacity%3D%220.1%22%3E3%3C%2Ftext%3E%3Ctext%20x%3D%22344%22%20y%3D%22264.2%22%20font-size%3D%2252%22%20text-anchor%3D%22middle%22%20fill%3D%22%232457d6%22%20fill-opacity%3D%220.1%22%3E%C3%B7%3C%2Ftext%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%232457d6%22%20stroke-opacity%3D%22.16%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%20stroke-linecap%3D%22round%22%3E%3Crect%20x%3D%22128%22%20y%3D%2230%22%20width%3D%2244%22%20height%3D%2229%22%20rx%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M120%2064h60l-4%207h-52z%22%2F%3E%3Cpath%20d%3D%22M142%2041l-6%205%206%205M158%2041l6%205-6%205%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23f5b301%22%20stroke-opacity%3D%22.34%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M350%2026a14%2014%200%200%200-8%2025v6h16v-6a14%2014%200%200%200-8-25z%22%2F%3E%3Cpath%20d%3D%22M345%2062h10M347%2068h6%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%232457d6%22%20stroke-opacity%3D%22.15%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%20238c10-6%2022-6%2028%200v28c-10-6-18-6-28%200zM50%20238c10-6%2022-6%2028%200v28c-10-6-18-6-28%200z%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%232457d6%22%20stroke-opacity%3D%22.15%22%20stroke-width%3D%222.6%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M222%20250l28-12%2028%2012-28%2012zM234%20258v12c8%207%2024%207%2032%200v-12%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")!important;background-size:400px 300px!important;opacity:.7}
.dark::before,.classroom-sec::before{opacity:.4}

/* ===== static background pattern removed; floating symbols (aim-float.js) replace it ===== */
section::before,.heroX::before,.cta2::before,.dark::before,.classroom-sec::before{background:none!important;background-image:none!important;content:none!important}
/* keep the area around the AIMERS title clean */
#top-hero .fxc{-webkit-mask-image:radial-gradient(ellipse 44% 30% at 50% 24%,transparent 0,transparent 58%,#000 100%);mask-image:radial-gradient(ellipse 44% 30% at 50% 24%,transparent 0,transparent 58%,#000 100%)}
/* star journey: full stop -> I, bounces about 2 seconds, back to the full stop, repeat */
@keyframes starLoop{
0%{opacity:0;transform:translate(var(--dx,0px),var(--dy,0px)) scale(.2) rotate(0deg)}
4%{opacity:1;transform:translate(var(--dx,0px),var(--dy,0px)) scale(1) rotate(30deg)}
14%{opacity:1;transform:translate(calc(var(--dx,0px)*.45),-1em) scale(1.5) rotate(200deg)}
28%{opacity:1;transform:translate(0,-.4em) scale(1.3) rotate(360deg)}
34%{opacity:1;transform:translate(0,-.6em) scale(1.36) rotate(366deg)}
40%{opacity:1;transform:translate(0,-.4em) scale(1.3) rotate(360deg)}
46%{opacity:1;transform:translate(0,-.6em) scale(1.36) rotate(366deg)}
52%{opacity:1;transform:translate(0,-.4em) scale(1.3) rotate(360deg)}
60%{opacity:1;transform:translate(0,-.4em) scale(1.3) rotate(360deg)}
72%{opacity:1;transform:translate(calc(var(--dx,0px)*.5),-1em) scale(1.4) rotate(220deg)}
84%{opacity:1;transform:translate(var(--dx,0px),var(--dy,0px)) scale(.9) rotate(60deg)}
88%,100%{opacity:0;transform:translate(var(--dx,0px),var(--dy,0px)) scale(.2) rotate(0deg)}}
@keyframes iLoop{0%,27%{transform:translateY(0)}31%{transform:translateY(-.07em)}36%{transform:translateY(0)}44%{transform:translateY(-.07em)}49%{transform:translateY(0)}57%{transform:translateY(-.07em)}62%,100%{transform:translateY(0)}}
.wm.fly .wstar{animation:starLoop 6.45s cubic-bezier(.4,.1,.3,1) infinite both!important}
.wm.fly .wi{animation:iLoop 6.45s ease-in-out infinite!important}
