/* Electric Marae: standard Rewiring mega-nav + footer around the locked page (same as pfw-chrome.css).
   The main nav sits in the flow and scrolls away; the page's own fixed section bar
   (.pfw-topbar) only slides in once the reader has scrolled, so the two never stack. */

.rw-nav-root .rw-nav { position: relative; z-index: 60; }

.pfw-topbar {
    transition: transform .3s ease, visibility .3s, background .3s ease, border-color .3s ease;
}
.pfw-topbar:not(.is-scrolled) { transform: translateY(-100%); visibility: hidden; }

/* the hero no longer sits under the page's own bar, so drop the bar's height from its top padding */
.em-arc__stage { padding-top: clamp(28px, 6vh, 72px); }
@media (max-width: 767px) {
    .em-arc__stage { padding-top: 22px; }
}

/* the Sources band above is already dark, so no gap between it and the footer */
.rw-footer { margin-top: 0; }
