/* Squib start menu: the night Strip seen through a long lens (out-of-focus city lights, a wet
   street, traffic going by) behind a gold neon "Squib" sign with a pink "hosted by" credit.
   Lengths are vw so it scales with the TV; the layout was drawn at 1280 x 720 (1vw = 12.8px).
   The lights, reflections and cars are added by menu-scene.js. Only #menu-main lives here;
   the gate's show/hide is still host.js and lobby.js. */

/* the menu scrolls: the title scene is pinned (sticky) and the information slides up over it */
#gate {
  display: block; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  background: #050407; backdrop-filter: none; scrollbar-width: none; outline: none;
}
#gate::-webkit-scrollbar { display: none; }

.sq {
  position: sticky; top: 0; height: 100vh; overflow: hidden; color: #fff;
  font-family: "Quicksand", var(--body);
  background: linear-gradient(180deg, #050407 0%, #0b0711 50%, #1d0f0c 72%, #0a0709 79%, #050407 100%);
}
.sq-scene, .sq-far, .sq-traffic { position: absolute; inset: 0; }
.sq-far, .sq-content { transition: transform .9s cubic-bezier(.2,.8,.2,1); }

/* ---------- city lights ---------- */
.sq-glow {
  position: absolute; left: 26.5%; top: 4%; width: 47%; height: 58%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,186,96,.26), rgba(255,140,60,.09) 55%, transparent);
  filter: blur(2.3vw); animation: sq-breathe 7s ease-in-out infinite alternate;
}
.sq-glow.pink { left: 54.7%; top: 16.7%; width: 28%; height: 41.7%; background: radial-gradient(closest-side, rgba(255,79,154,.13), transparent); animation: none; }
.sq-horizon {
  position: absolute; left: -5%; right: -5%; top: 65.3%; height: 11%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(255,170,70,.4), rgba(255,79,154,.1) 55%, transparent 80%);
  filter: blur(.9vw);
}
.sq-band { position: absolute; inset: 0 -3vw; animation: sq-drift 40s ease-in-out infinite alternate; }
.sq-b {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, var(--c) 0%, var(--c) 38%, transparent 70%);
  filter: blur(var(--bl)); opacity: var(--o); animation: sq-twinkle var(--t) ease-in-out infinite alternate;
}
.sq-r {
  position: absolute; left: var(--x); top: 79.7%; width: var(--w); height: var(--h); border-radius: 50%;
  background: var(--c); filter: blur(var(--bl)); opacity: var(--o);
  animation: sq-ripple var(--t) ease-in-out infinite alternate;
}
@keyframes sq-breathe { from { opacity: .85; transform: scale(1); } to { opacity: 1; transform: scale(1.05); } }
@keyframes sq-drift { from { transform: translateX(0); } to { transform: translateX(2.6vw); } }
@keyframes sq-twinkle { from { opacity: var(--o); } to { opacity: calc(var(--o) * .5); } }
@keyframes sq-ripple { from { transform: scaleX(1); } to { transform: scaleX(1.3) translateY(.5vw); } }

/* ---------- traffic: headlights head right, taillights head left, each with a streak on the wet road ---------- */
.sq-car { position: absolute; left: 0; top: var(--y); transform-origin: 0 0; }
.sq-car-r { animation: sq-drive-r var(--d) linear var(--dl) infinite; }
.sq-car-l { animation: sq-drive-l var(--d) linear var(--dl) infinite; }
@keyframes sq-drive-r { from { transform: translateX(-12vw) scale(var(--sc)); } to { transform: translateX(112vw) scale(var(--sc)); } }
@keyframes sq-drive-l { from { transform: translateX(112vw) scale(var(--sc)); } to { transform: translateX(-12vw) scale(var(--sc)); } }
.sq-car i { position: absolute; display: block; }
.sq-hl { top: -.31vw; left: 0; width: .63vw; height: .63vw; border-radius: 50%; background: #fffbe8; box-shadow: 0 0 .47vw .16vw #fff6d0, 0 0 1.56vw .55vw rgba(255,236,190,.5); }
.sq-hl.two { left: 1.17vw; }
.sq-beam { left: .94vw; top: -.94vw; width: 11.7vw; height: 1.9vw; background: radial-gradient(ellipse at 0 50%, rgba(255,240,205,.32), transparent 70%); filter: blur(.31vw); }
.sq-tl { top: -.23vw; left: 0; width: .55vw; height: .47vw; border-radius: 40%; background: #ff4a55; box-shadow: 0 0 .47vw .16vw rgba(255,60,70,.9), 0 0 1.4vw .47vw rgba(255,40,60,.45); }
.sq-tl.two { left: 1.25vw; }
.sq-refl { left: -.47vw; top: 2vw; width: 2.66vw; height: 10.2vw; border-radius: 50%; filter: blur(.7vw); background: linear-gradient(rgba(255,240,205,.42), transparent); }
.sq-car-l .sq-refl { background: linear-gradient(rgba(255,60,70,.45), transparent); }
/* now and then a car passes right in front of the lens */
.sq-pass {
  position: absolute; left: 0; top: 77.8%; width: 43.75vw; height: 30%; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,238,205,.5), rgba(255,170,90,.18) 60%, transparent);
  filter: blur(2.7vw); animation: sq-pass 15s cubic-bezier(.5,0,.5,1) 5s infinite;
}
@keyframes sq-pass { 0% { transform: translateX(-60vw); opacity: 0; } 3% { opacity: 1; } 13% { transform: translateX(117vw); opacity: 1; } 14%, 100% { transform: translateX(117vw); opacity: 0; } }

.sq-scrim {
  position: absolute; inset: 0;
  background: radial-gradient(54% 44% at 50% 40%, rgba(5,4,8,.55), transparent 75%), radial-gradient(140% 110% at 50% 45%, transparent 55%, rgba(0,0,0,.8) 100%);
}
.sq-grain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .08; mix-blend-mode: overlay; }

/* ---------- the sign ---------- */
.sq-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 12vh; }
.sq-lockup { margin: 0; display: flex; align-items: center; gap: 1.7vw; font-weight: 400; }
.sq-title {
  font-family: "Sacramento", cursive; font-size: 12.5vw; line-height: 1.2; color: #fff6dc; -webkit-text-stroke: .11vw #fff6dc;
  text-shadow: 0 0 1px #fff, 0 0 .47vw #ffe3a0, 0 0 1.1vw #ffc35a, 0 0 2.3vw #ffa53a, 0 0 4.8vw rgba(255,150,50,.55), 0 0 9.4vw rgba(255,140,40,.35);
  animation: sq-on 2.4s steps(1) .4s both, sq-hum 5s ease-in-out 3s infinite;
}
.sq-rule {
  width: max(2px, .16vw); height: 5.8vw; background: #ff8cc4;
  box-shadow: 0 0 .63vw #ff4f9a, 0 0 1.4vw rgba(255,79,154,.6);
  animation: sq-on 1.6s steps(1) 1.6s both, sq-hum 4.4s ease-in-out 3.4s infinite;
}
.sq-credit {
  font-family: "Quicksand", var(--body); font-weight: 500; font-size: 1.02vw; letter-spacing: .36em; line-height: 2; color: #ffe6f1;
  text-shadow: 0 0 1px #fff, 0 0 .4vw #ffb3d6, 0 0 .94vw #ff6fae, 0 0 1.9vw #ff4f9a, 0 0 3.4vw rgba(255,79,154,.5);
  animation: sq-on 1.6s steps(1) 1.6s both, sq-hum 4.4s ease-in-out 3.4s infinite;
}
@keyframes sq-on { 0% { opacity: .07; text-shadow: none; box-shadow: none; } 9% { opacity: 1; } 13% { opacity: .12; } 22% { opacity: .95; } 26% { opacity: .2; } 42% { opacity: 1; } 46% { opacity: .55; } 50%, 100% { opacity: 1; } }
@keyframes sq-hum { 0%, 100% { filter: brightness(1); } 50% { filter: brightness(1.1); } }

/* what this is, at a glance, under PLAY */
.sq-tag { margin: 1.7vw 0 0;  max-width: 84vw; text-align: center; font-family: "Quicksand", var(--body); font-size: max(17px, 1.75vw); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: #fff;
  text-shadow: 0 .1vw 1.4vw rgba(0,0,0,.9); animation: sq-up .9s cubic-bezier(.2,.8,.2,1) 2.9s both; }
.sq-tag span { color: #ffd98a; }
.sq-play {
  margin-top: 4.4vw; /* clears the tail of the q */
  font-family: "Quicksand", var(--body); font-weight: 600; font-size: 1.45vw; color: #120c08;
  padding: 1.25vw 4.6vw; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(180deg, #fffaf0, #f3e3c4);
  box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 .94vw 3.4vw -.8vw rgba(255,200,120,.7);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
  animation: sq-up .9s cubic-bezier(.2,.8,.2,1) 2.6s both;
}
.sq-play:hover { transform: scale(1.04); box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 1.25vw 4.7vw -.6vw rgba(255,200,120,.85); }
.sq-play:active { transform: scale(.98); }
.sq-play:focus-visible { outline: 2px solid #ffd98a; outline-offset: 4px; }
@keyframes sq-up { from { opacity: 0; transform: translateY(1.1vw); } to { opacity: 1; transform: none; } }

/* ---------- scrolling down (menu-scene.js drives --p: 0 at the top, 1 one screen down) ---------- */
.sq-stack { display: flex; flex-direction: column; align-items: center; will-change: transform, opacity; }
.sq-dim { position: absolute; inset: 0; background: #050407; opacity: 0; pointer-events: none; }
.sq-more {
  position: absolute; left: 50%; bottom: 3.2vh; transform: translateX(-50%); width: 3.4vw; height: 3.4vw; min-width: 44px; min-height: 44px;
  display: grid; place-items: center; border: 0; border-radius: 50%; background: none; cursor: pointer;
  color: #ffd98a; animation: sq-up .9s cubic-bezier(.2,.8,.2,1) 3.2s both; transition: color .25s, opacity .3s, background .25s, box-shadow .25s;
  background: rgba(10,7,12,.72); box-shadow: 0 0 0 2px currentColor, 0 0 1.8vw -.1vw currentColor;
}
.sq-more:hover { color: #fff; background: rgba(40,28,34,.85); }
.sq-more:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.sq-more svg { width: 2.2vw; min-width: 26px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; animation: sq-nudge 2.4s ease-in-out 4s infinite; }
@keyframes sq-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(.4vw); } }

/* How to play, top left: a placeholder until the games are finished. Pressing it shows "Coming soon". */
.sq-tut {
  position: absolute; left: 1.6vw; top: 1.6vw; z-index: 2; display: inline-flex; align-items: center; gap: .6vw;
  padding: .55vw 1.1vw .55vw .55vw; min-height: 40px; border: 0; border-radius: 999px; cursor: pointer;
  font-family: "Quicksand", var(--body); font-size: max(13px, .95vw); font-weight: 600; letter-spacing: .02em; color: #ffd98a;
  background: rgba(10,7,12,.72); box-shadow: 0 0 0 1.5px currentColor, 0 0 1.4vw -.3vw currentColor;
  animation: sq-up .9s cubic-bezier(.2,.8,.2,1) 3.2s both; transition: color .25s, background .25s;
}
.sq-tut i { display: grid; place-items: center; width: 1.7vw; height: 1.7vw; min-width: 24px; min-height: 24px; border-radius: 50%;
  font-style: normal; font-weight: 800; color: #120c08; background: #ffd98a; }
.sq-tut:hover { color: #fff; background: rgba(40,28,34,.85); }
.sq-tut:hover i { background: #fff; }
.sq-tut:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.sq-tut::after { content: "Coming soon"; position: absolute; left: calc(100% + .8vw); top: 50%; translate: 0 -50%; white-space: nowrap;
  font-size: max(12px, .85vw); color: rgba(255,255,255,.75); opacity: 0; pointer-events: none; }
.sq-tut.soon::after { animation: sq-soon 2.2s ease both; }
@keyframes sq-soon { 0% { opacity: 0; translate: -.6vw -50%; } 12%, 75% { opacity: 1; translate: 0 -50%; } 100% { opacity: 0; } }

.sq-info {
  position: relative; z-index: 1; color: #fff; font-family: "Quicksand", var(--body);
  padding: 34vh 9vw 2.5vw;
  background: linear-gradient(180deg, transparent 0, rgba(5,4,7,.75) 20vh, #050407 42vh);
}
.sq-sec { max-width: 72vw; margin: 0 auto 13vw; }
.sq-kicker { font-size: .95vw; font-weight: 600; letter-spacing: .32em; color: #ffd98a; margin-bottom: 1.4vw; }
.sq-h { margin: 0; font-size: 4.4vw; font-weight: 700; line-height: 1.08; letter-spacing: -.02em; max-width: 52vw; }
.sq-p { margin: 1.8vw 0 0; font-size: 1.7vw; font-weight: 600; line-height: 1.45; color: rgba(255,255,255,.68); max-width: 46vw; }
.sq-steps { list-style: none; margin: 4.4vw 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.6vw; }
.sq-steps li { display: flex; flex-direction: column; gap: .7vw; padding-top: 1.6vw; border-top: 1px solid rgba(255,255,255,.14); }
.sq-steps b { font-size: 1.55vw; font-weight: 600; }
.sq-steps span:last-child { font-size: 1.1vw; line-height: 1.5; color: rgba(255,255,255,.66); }
.sq-num {
  font-family: "Sacramento", cursive; font-size: 4.2vw; line-height: 1; color: #fff6dc;
  text-shadow: 0 0 1px #fff, 0 0 .4vw #ffe3a0, 0 0 1vw #ffc35a, 0 0 2.2vw #ffa53a;
}
.sq-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6vw; }
.sq-facts div { display: flex; flex-direction: column; gap: .8vw; padding-top: 1.6vw; border-top: 1px solid rgba(255,255,255,.14); }
.sq-facts span:last-child { font-size: 1.1vw; line-height: 1.5; font-weight: 600; color: rgba(255,255,255,.66); }
.sq-big { font-size: 3.6vw; font-weight: 700; letter-spacing: -.02em; color: #ffe6f1; text-shadow: 0 0 .9vw rgba(255,79,154,.55); }
.sq-end { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 4vw; }
.sq-end .sq-h { max-width: none; }
.sq-end .sq-play { margin-top: 2.6vw; animation: none; }

/* ---------- Custom Host: the pitch, with Pib leaning on it ---------- */
.sq-host { margin-bottom: 0; }
.sq-facts-sec { margin-bottom: 5vw; }
.sq-host-line { position: relative; display: inline-block; }
.sq-host-h {
  max-width: none; font-size: 6.4vw; line-height: 1; letter-spacing: -.03em; color: #fff6dc;
  text-shadow: 0 0 1px #fff, 0 0 .6vw rgba(255,227,160,.6), 0 0 2.4vw rgba(255,165,58,.35);
}
.sq-host .sq-kicker { color: #ff8cc4; text-shadow: 0 0 .8vw rgba(255,79,154,.6); }
.sq-host .sq-p { max-width: 64vw; font-size: 1.8vw; color: rgba(255,255,255,.8); margin-top: 1.6vw; }
/* he stands just past the full stop, upright, hanging out */
.sq-pib {
  position: absolute; left: 100%; bottom: -.4vw; width: 15vw; margin-left: 2.4vw;
  transform-origin: 50% 100%;
  animation: sq-pib-in 1.1s cubic-bezier(.2,1.3,.4,1) .2s backwards;
  transition: transform .7s cubic-bezier(.3,1.4,.5,1);
}
.sq-pib svg { display: block; width: 100%; height: auto; overflow: visible; transform-origin: 50% 100%; animation: sq-pib-breathe 3.6s ease-in-out infinite; }
.sq-pib .shadow, .sq-pib .pib3d-shadow { display: none !important; }
/* when you reach the bottom he stands up off the words to wave (menu-scene.js adds .hello) */
.sq-pib #mp-arm-r { transform-box: fill-box; transform-origin: 10% 10%; animation: sq-pib-tap 3.6s ease-in-out infinite; }
.sq-pib .pupil { transition: transform .45s cubic-bezier(.3,.7,.3,1); }
.sq-pib .eye .lid { transform-box: fill-box; transform-origin: 50% 0; transform: scaleY(.18); transition: transform .08s; }
.sq-pib.blink .eye .lid { transform: scaleY(1); }
@keyframes sq-pib-in { from { opacity: 0; transform: translateY(4vw); } }
@keyframes sq-pib-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.025, .975); } }
@keyframes sq-pib-tap { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-16deg); } 86% { transform: rotate(0); } 93% { transform: rotate(-12deg); } }
/* what people ask for, as little quoted tags */
.sq-asks { list-style: none; margin: 1.8vw 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1vw; }
/* the sample hosts and the moods are buttons (menu-scene.js): bold, they lift and glow under the
   pointer, and the one that's on tonight is lit */
.sq-asks li, .sq-modes li { display: block; }
.sq-pick {
  font: italic 700 1.2vw "Quicksand", var(--body); color: #ffe6f1; padding: .85vw 1.6vw; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255,140,196,.55); background: rgba(255,79,154,.1); box-shadow: 0 0 1.4vw -.4vw rgba(255,79,154,.6);
  transition: transform .35s cubic-bezier(.2,1.4,.4,1), background .25s, box-shadow .25s, color .25s;
}
.sq-pick:hover { transform: translateY(-.25vw) scale(1.05); background: rgba(255,79,154,.2); box-shadow: 0 0 2.4vw -.2vw rgba(255,79,154,.8); color: #fff; }
.sq-pick:active { transform: scale(.97); }
.sq-pick.on { color: #2c0718; background: linear-gradient(180deg, #ffe0ef, #ff5fa6); border-color: #ffe0ef; box-shadow: 0 0 2.6vw -.2vw rgba(255,79,154,.9); }
.sq-pick:focus-visible, .sq-mode:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.sq-asks .sq-reveal:nth-child(2) { transition-delay: .1s; }
.sq-asks .sq-reveal:nth-child(3) { transition-delay: .2s; }
/* the four moods he comes in, if you'd rather not write one */
.sq-modes-k { margin-top: 2.6vw; font-size: .95vw; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: #ffd98a; }
.sq-modes { list-style: none; margin: 1.3vw 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2vw; max-width: 64vw; }
.sq-mode { width: 100%; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9vw; align-items: center; padding: 1.1vw 1.3vw; border-radius: 1.2vw;
  text-align: left; color: #fff; font-family: "Quicksand", var(--body); cursor: pointer;
  background: rgba(255,255,255,.05); border: 1.5px solid rgba(255,255,255,.16);
  transition: transform .35s cubic-bezier(.2,1.4,.4,1), background .25s, border-color .25s, box-shadow .25s; }
.sq-mode:hover { transform: translateY(-.35vw) scale(1.04); background: rgba(255,217,138,.09); border-color: rgba(255,217,138,.6); box-shadow: 0 1vw 2.4vw -1vw rgba(255,190,90,.6); }
.sq-mode:hover i { transform: rotate(-12deg) scale(1.2); }
.sq-mode:active { transform: scale(.97); }
.sq-mode.on { background: rgba(255,217,138,.14); border-color: #ffd98a; box-shadow: 0 0 2.4vw -.4vw rgba(255,190,90,.75), inset 0 0 0 1px #ffd98a; }
.sq-mode.on b { color: #ffd98a; }
.sq-mode.locked { opacity: .55; }
.sq-mode.locked:hover { opacity: .8; }
.sq-mode.nope { animation: sq-nope .42s; }
.sq-mode.picked, .sq-pick.picked { animation: sq-picked .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes sq-nope { 20%, 60% { translate: -.4vw 0; } 40%, 80% { translate: .4vw 0; } }
@keyframes sq-picked { 40% { scale: 1.1; } }
.sq-modes i { grid-row: span 2; font-style: normal; font-size: 2.4vw; line-height: 1; transition: transform .35s cubic-bezier(.2,1.4,.4,1); }
.sq-modes b { font-size: 1.45vw; font-weight: 700; }
.sq-modes span { font-size: 1vw; font-weight: 600; color: rgba(255,255,255,.65); }
.sq-modes .sq-reveal:nth-child(2) { transition-delay: .08s; }
.sq-modes .sq-reveal:nth-child(3) { transition-delay: .16s; }
.sq-modes .sq-reveal:nth-child(4) { transition-delay: .24s; }
/* the big Play under it all */
.sq-go { display: flex; justify-content: center; margin: 4vw auto 6vw; }
.sq-play-big { margin-top: 0; animation: none; font-size: 3.4vw; font-weight: 700; padding: 2vw 11vw; letter-spacing: -.01em;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5), 0 1.6vw 5vw -1vw rgba(255,200,120,.85), 0 0 9vw -2vw rgba(255,190,90,.55); }
.sq-play-big:hover { transform: scale(1.03); }

/* reviews: three cards, the serious one in the middle and a touch bigger */
.sq-reviews { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 1.8vw; align-items: center; max-width: 82vw; margin-bottom: 6vw; }
.sq-review { margin: 0; padding: 2vw 2.2vw; border-radius: 1.6vw; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); }
.sq-review-big { padding: 2.6vw 2.6vw; border-color: rgba(255,217,138,.4); box-shadow: 0 0 3vw -1.2vw rgba(255,190,90,.5); }
.sq-stars { font-size: 1.3vw; letter-spacing: .2em; color: #ffd98a; text-shadow: 0 0 .8vw rgba(255,195,90,.6); }
.sq-review blockquote { margin: 1vw 0 0; font-size: 1.25vw; line-height: 1.5; font-weight: 600; color: rgba(255,255,255,.86); }
.sq-review-big blockquote { font-size: 1.4vw; color: #fff; }
.sq-review figcaption { margin-top: 1.2vw; font-size: 1.05vw; font-weight: 600; color: rgba(255,255,255,.55); }
.sq-review figcaption::before { content: "— "; }
.sq-reviews .sq-reveal:nth-child(2) { transition-delay: .1s; }
.sq-reviews .sq-reveal:nth-child(3) { transition-delay: .2s; }

/* the small print */
.sq-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: .6vw 2.2vw; padding: 2vw 0 0; border-top: 1px solid rgba(255,255,255,.1);
  font-size: max(12px, .85vw); color: rgba(255,255,255,.4); }
.sq-foot a { color: inherit; text-decoration: none; }
.sq-foot a:hover, .sq-foot a:focus-visible { color: #ffd98a; }

/* each block fades up as it scrolls into view (menu-scene.js adds .in) */
.sq-reveal { opacity: 0; transform: translateY(3vw); transition: opacity 1s cubic-bezier(.2,.8,.2,1), transform 1s cubic-bezier(.2,.8,.2,1); }
.sq-reveal.in { opacity: 1; transform: none; }
.sq-steps .sq-reveal:nth-child(2), .sq-facts .sq-reveal:nth-child(2) { transition-delay: .08s; }
.sq-steps .sq-reveal:nth-child(3), .sq-facts .sq-reveal:nth-child(3) { transition-delay: .16s; }
.sq-steps .sq-reveal:nth-child(4), .sq-facts .sq-reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .sq *, .sq-title, .sq-rule, .sq-credit, .sq-play { animation: none !important; }
  .sq-traffic { display: none; }
  .sq-reveal { opacity: 1; transform: none; transition: none; }
  .sq-pib, .sq-pib svg, .sq-pib #mp-arm-r { animation: none !important; }
}
