/* Only route content moves. Existing section effects stay inside this root. */
:root { --site-bg-dark: #000000; --site-bg-light: #f7f7f7; }
html, body { background: var(--site-bg-dark); }
html { scrollbar-gutter: stable; }
html.route-transitioning { overflow-y: scroll !important; }
#page-transition-root { position: relative; min-height: 100svh; }
.hero.route-mounted .hero-profile-kicker,
.hero.route-mounted .hero-cta { animation: none; opacity: 1; transform: none; }
html.route-transitioning #page-transition-root { pointer-events: none; overflow-anchor: none; }
html.route-transitioning body { background: #000 !important; }
html.route-transitioning .project-detail,
html.route-transitioning .project-gallery { background: #000; }
.route-thumbnail { position: fixed; z-index: 110; pointer-events: none; overflow: hidden; margin: 0; }
/* Focus must not scroll the clipped information panel by a few pixels. */
.project-page #page-transition-root .project-spec { overflow: clip; }
.site-header[data-route-contrast="black"] .brand-logo img { filter: brightness(0) invert(1) !important; }
.site-header[data-route-contrast="black"] .contact-pill { background: #fff !important; color: #000 !important; border-color: #fff !important; }
.site-header[data-route-contrast="black"] .menu-pill { background: transparent !important; color: #fff !important; border-color: rgba(255,255,255,.65) !important; }
html.route-transitioning .menu-panel { visibility: hidden; }
/* Persistent chrome keeps its existing stacking and difference contrast.
   Only the route content is covered by the travelling belts. */
.page-belt-transition { position: fixed; inset: 0; z-index: 10000; pointer-events: none; }
.page-belt { position: absolute; left: 0; right: 0; height: calc(10% + 1px); background: #ccc; transform: scaleY(0); transform-origin: 50% 50%; }
.page-belt:nth-child(1) { top: 0%; }
.page-belt:nth-child(2) { top: 10%; }
.page-belt:nth-child(3) { top: 20%; }
.page-belt:nth-child(4) { top: 30%; }
.page-belt:nth-child(5) { top: 40%; }
.page-belt:nth-child(6) { top: 50%; }
.page-belt:nth-child(7) { top: 60%; }
.page-belt:nth-child(8) { top: 70%; }
.page-belt:nth-child(9) { top: 80%; }
.page-belt:nth-child(10) { top: 90%; }
.page-belt-plus { position: absolute; top: 0; left: 0; width: 13px; height: 13px; color: #555; overflow: visible; transform-box: view-box; transform-origin: 50% 50%; }
.page-belt-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); color: #444; font-family: 'Satoshi', sans-serif; font-size: 1vw; font-weight: 400; line-height: 1; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 767px) { .page-belt-label { font-size: 3.125vw; } }
/* The project viewer's fixed chrome must not replay the initial CSS reveal. */
html.route-transitioning .project-is-ready #page-transition-root .project-spec-intro,
html.route-transitioning .project-is-ready #page-transition-root .project-steps,
html.route-transitioning .project-is-ready #page-transition-root .project-nav { transition: none; }
html.route-transitioning .project-is-ready .project-gallery-item {
  opacity: 1; transform: none; filter: none; transition: none;
}
