:root { color-scheme: dark; --teal: #22FCC2; }
* { box-sizing: border-box; }
html, body { margin: 0; background: #000; }
body { overscroll-behavior-y: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* One full orbit spans this scroll length */
.scroll-track { height: 9188vh; height: 9188svh; } /* 7 identical orbits of 1312.5vh (25% longer than v6's 1050vh); timing only, no extra assets; js keeps the visitor in the middle ones */
html { scrollbar-width: none; } html::-webkit-scrollbar { display: none; }

#stage, .poster, .fb-video, .fb-stills { position: fixed; inset: 0; width: 100%; height: 100vh; height: 100lvh; }
#stage { display: block; opacity: 0; transition: opacity .9s ease; }
.ready #stage { opacity: 1; }
.poster { z-index: -1; transition: opacity .9s ease; }
.ready .poster, .mode-video .poster, .mode-stills .poster { opacity: 0; }
.poster img, .fb-stills img, .fb-video video { width: 100%; height: 100%; object-fit: cover; display: block; }

.fb-video, .fb-stills { display: none; }
.mode-video .fb-video { display: block; }
.mode-video #stage, .mode-stills #stage { display: none; }
.mode-stills .fb-stills { display: block; }
.fb-stills img { position: absolute; inset: 0; opacity: 0; }

/* Minimal scroll cue: a thin teal line that pulses downward, no text */
.cue { position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom)); width: 2px; height: 46px; margin-left: -1px; overflow: hidden;
  background: rgba(255,255,255,.12); border-radius: 2px; transition: opacity .6s ease; }
.cue span { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--teal); border-radius: 2px; animation: cue 2.2s ease-in-out infinite; }
.scrolled .cue { opacity: 0; }
@keyframes cue { 0% { top: -40%; } 60%, 100% { top: 100%; } }
@media (prefers-reduced-motion: reduce) { .cue span { animation: none; top: 30%; } #stage, .poster { transition: none; } }

@media (orientation: portrait) {
  .fb-stills img, .fb-video video, .poster img { top: 50%; height: 64vh; height: 64svh; transform: translateY(-50%); object-fit: cover; }
  .poster img, .fb-video video { position: absolute; }
  .fb-stills, .fb-video, .poster { background: #000; }
}
