#gncPageEntrance { display: none; }
html.gnc-shared-entrance #gncPageEntrance,
html.gnc-entrance-pending #gncPageEntrance {
    position: fixed; inset: 0; z-index: 2000; display: flex;
    pointer-events: none; animation: gncPageEntranceGone 0s linear 1.7s forwards;
}
html.gnc-entrance-pending #gncPageEntrance,
html.gnc-entrance-pending #gncPageEntrance > i,
html.gnc-entrance-pending .gnc-page-entrance-label { animation: none; }
html.gnc-entrance-pending .gnc-page-entrance-label { visibility: hidden; }
#gncPageEntrance > i {
    flex: 1; margin-right: -1px; background: #0b4228;
    animation: gncPageEntranceWipe .85s cubic-bezier(.76,0,.24,1) forwards;
    animation-delay: calc(.35s + var(--n,0) * .07s);
}
#gncPageEntrance > i:nth-child(even) { background: #083320; }
.gnc-page-entrance-label {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .9rem;
    padding: 24px; text-align: center; color: #d3a63a;
    animation: gncPageEntranceLabel 1.1s ease forwards;
}
.gnc-page-entrance-label img { width: 64px; height: 64px; object-fit: contain; }
.gnc-page-entrance-label span {
    font: 700 clamp(1.5rem,4vw,2.2rem)/1.3 'Noto Serif',Georgia,serif;
    letter-spacing: .02em; overflow-wrap: anywhere; max-width: 100%;
}
/* Replace the individual About/Contact wipes with the shared transition. */
html.gnc-editor-preview :is(#gncPageEntrance,#gnc-intro,.vm-open,.cv-open,.gh-open,.admin-open,.lm-open,.gnc-contact-open) { display: none !important; animation: none !important; }
html.gnc-editor-preview :is([data-reveal],[class*="reveal"]) { opacity: 1 !important; visibility: visible !important; transform: none !important; animation: none !important; transition: none !important; }
html:is(.gnc-shared-entrance,.gnc-entrance-pending) :is(.vm-open,.cv-open,.gh-open,.admin-open,.lm-open,.gnc-contact-open) { display: none; }
@keyframes gncPageEntranceWipe { to { transform: translateY(-101%); } }
@keyframes gncPageEntranceGone { to { visibility: hidden; } }
@keyframes gncPageEntranceLabel {
    0% { opacity: 0; transform: translateY(14px); }
    30%,70% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
    html:is(.gnc-shared-entrance,.gnc-entrance-pending) #gncPageEntrance { display: none; animation: none; }
}
