/* SchoolCMS – Animation helpers
   Generic reveal helper (AOS handles most entrance animation via
   data-aos attributes; .hideme is the lightweight manual variant). */

.hideme {
    opacity:    0;
    top:        30px;
    position:   relative;
    transition: 500ms;

    &.active {
        opacity: 1;
        top:     0;
    }
}

/* Nothing waiting to reveal anchors the scroll. Chrome puts a page the
   visitor comes back to (the Back link, the browser's back button) where
   they left it by finding the element that was at the top of the view
   and restoring its offset – and an AOS element that has not played yet
   sits 100px from its place, so a page came back 100px further down than
   it was left (Charlie, 2026-10-29, found on The Hall School). Out of the
   running, an element that does not move anchors instead, and the page
   comes back exactly where it was left. */
[data-aos] {
    overflow-anchor: none;
}
