/* Stacking pages: each section fills the screen and the next one slides over it (matches the homepage) */
.stack-wrap { position: relative; }
.stack-wrap > .pg {
  position: sticky;
  top: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.stack-wrap > .pg > * { width: 100%; }
:where(.stack-wrap > .pg) { background-color: #fff; }

.stack-wrap .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.stack-wrap .rv.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .stack-wrap > .pg { position: relative; top: auto !important; }
  .stack-wrap .rv { opacity: 1; transform: none; transition: none; }
}
