: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; }
}

/* Season sigils: the seal is the door; no labels */
.sigil { position: fixed; left: 50%; top: 50%; z-index: 5; width: min(46vh, 46svh, 64vw); aspect-ratio: 1; transform: translate(-50%, -48%);
  border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent; outline: none; --glow: 34,252,194; }
.sigil-halo { position: absolute; inset: -4%; border-radius: 50%; opacity: 0; transition: opacity .7s ease, transform .9s ease;
  box-shadow: 0 0 40px 6px rgba(var(--glow), .28), inset 0 0 50px 4px rgba(var(--glow), .16); transform: scale(.94); pointer-events: none; }
.sigil:hover .sigil-halo, .sigil:focus-visible .sigil-halo { opacity: 1; transform: scale(1); animation: sigil 2.6s ease-in-out infinite; }
@keyframes sigil { 50% { box-shadow: 0 0 60px 12px rgba(var(--glow), .36), inset 0 0 70px 8px rgba(var(--glow), .22); } }
.warp-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
.warping .sigil { pointer-events: none; }
.warp-flash body::after { content: ""; position: fixed; inset: 0; z-index: 7; background: #dff; opacity: .5; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .sigil:hover .sigil-halo { animation: none; } }
