/* The footer lies over the tables stage's last screen: the stage has already
   walked the visitor into the far side, and the closing arrives there. Under
   reduced motion it is its own screen, drawing the far side still. */
#beyond { position: relative; z-index: 2; height: 100vh; height: 100svh; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
#beyond.is-still { margin-top: 0; background: #050409; }
#beyond .by-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

#beyond .by-far {
  --far: 0;
  position: absolute; z-index: 1; right: var(--pad); top: 50%; transform: translateY(-50%);
  width: min(34vw, 480px);
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  opacity: var(--far);
}
/* clickable once the visitor is through; a keyboard can always reach the links */
#beyond .by-far.is-on, #beyond .by-far:focus-within { pointer-events: auto; }
#beyond .by-far:focus-within { opacity: 1; }
#beyond .by-far > * { transform: translateY(calc((1 - var(--far)) * 24px)); }

#beyond .by-mark { width: 100%; height: auto; }

#beyond .by-links { display: flex; gap: 12px; margin-top: clamp(26px, 4.5vh, 44px); }
/* the inverted control: their fire turns to portal light on the far side */
#beyond .by-link { background: var(--portal); color: #021316; min-width: 168px; }
#beyond .by-link:hover { background: var(--ink); }
#beyond .by-link:focus-visible { outline-color: var(--fire); }

#beyond .by-small { margin: 22px 0 0; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: #b9dfe4; }
#beyond .by-copy { margin-top: 4px; color: #86aab0; }

@media (max-width: 759px) {
  #beyond .by-far { left: 20px; right: 20px; width: auto; top: auto; transform: none; bottom: max(32px, env(safe-area-inset-bottom)); align-items: center; text-align: center; }
  #beyond .by-mark { width: 100%; }
  #beyond .by-links { align-self: stretch; gap: 10px; }
  #beyond .by-link { flex: 1; min-width: 0; padding: 0 12px; }
}
