.nm-intro { display:none; }
html.nm-intro-pending { overflow:hidden; }
html.nm-intro-pending::before { content:""; position:fixed; inset:0; background:#807901; z-index:2147483645; pointer-events:none; }
html.nm-intro-pending .nm-intro { display:block; position:fixed; inset:0; z-index:2147483646; }
html.nm-intro-pending:has(.nm-intro.is-running)::before { display:none; }
.nm-intro__backdrop { position:absolute; inset:0; background:#807901; }
.nm-intro__logo { color:#ccc423; position:absolute; left:50%; top:50%; width:min(68vw, 560px); transform:translate(-50%, -50%); }
.nm-intro__logo svg { display:block; width:100%; height:auto; overflow:visible; }
.nm-intro-target { opacity:0 !important; }
@media (prefers-reduced-motion:reduce) {
  html.nm-intro-pending .nm-intro, html.nm-intro-pending::before { display:none; }
  html.nm-intro-pending { overflow:visible; }
}

/* The scroll controller can hide a restored header before the intro hands off. */
html:is(.nm-intro-pending, .nm-intro-handoff) header.wp-block-template-part,
html:is(.nm-intro-pending, .nm-intro-handoff) header.wp-block-template-part.nm-header-hidden {
  transform:none !important;
  visibility:visible !important;
  transition:none !important;
}

/* A subtle photographic layer fades out together with the green backdrop. */
html.nm-intro-pending .nm-intro__backdrop {
 background-image:linear-gradient(rgba(128,121,1,.80),rgba(128,121,1,.80)),url('/wp-content/uploads/2026/09/neo03804-brand-intro.webp');
 background-size:cover;
 background-position:center 55%;
 background-repeat:no-repeat;
}
