@media screen {
  html {
    scroll-snap-type: y proximity; /* only elements w/ scroll-snap-align become stop candidates */
  }

  html.no-snap {
    scroll-snap-type: none;
  }

  header.hidden {
    opacity: 0;
    pointer-events: none;
  }

  header.shown {
    opacity: 1;
    pointer-events: auto;
  }

  footer {
    text-align: right;
  }

  #scrolly {
    position: relative;
  }

  #scrolly-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
  }

  main section.content-shown {
    opacity: 1;
    pointer-events: auto;
  }

  main section.is-leaving {
    opacity: 0;
    pointer-events: none;
  }

  main section.content-hidden {
    opacity: 0;
    pointer-events: none;
  }

  #steps {
    position: relative;
    z-index: -1;
  }

  .step {
    height: 60svh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .step:first-child {
    height: 20svh;
  }

  .step:last-child {
    height: 60svh;
  }
}
