/*
 * Static layout: every section stacked in a normal scrolling page.
 *
 * The <body> starts with class="static" in the HTML, so crawlers, readers
 * without JavaScript and ?static see the complete text. When JavaScript runs,
 * the inline script at the top of <body> removes the class and the animated,
 * stepped experience takes over (see README, "Progressive enhancement").
 */

body.static #brain,
body.static #dots,
body.static #cue {
  display: none !important;
}

body.static #topbar {
  position: sticky;
}

/* each scene becomes a normal block with a divider */
body.static .scene {
  position: relative;
  inset: auto;
  visibility: visible;
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  border-top: 1px solid var(--line);
  pointer-events: auto;
}
body.static .scene:first-child {
  border-top: 0;
  padding-top: 96px;
}

/* titles and cards lose their absolute positioning and animation state */
body.static .disp,
body.static .card {
  position: static !important;
  opacity: 1 !important;
  display: block;
  width: auto;
  max-width: none;
  max-height: none;
  margin: 0 0 .6rem;
  text-align: left;
  text-shadow: none;
  pointer-events: auto;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  -webkit-mask-image: none;
  mask-image: none;
}
body.static .disp {
  margin: 0 0 .35rem !important;
  font-size: clamp(1.6rem, 6vw, 2.4rem);
  overflow-wrap: normal;
}
body.static h1 .disp,
body.static h2 .disp {
  display: block;
}
body.static .card {
  margin: 1rem 0 0 !important;
  overflow: visible !important;
  max-height: none !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  transform: none !important;
  transition: none !important;
  box-shadow: none;
  font-size: 1rem;
}
body.static .credit-note {
  display: block;
  position: static;
}

/* the legal line is a normal footer in the stacked layout */
body.static #legal {
  position: static;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 40px;
  border-top: 1px solid var(--line);
}
