:root {
  color-scheme: light;
  --paper: #f6eadc;
  --crossfade: 0ms;
  background-color: var(--paper);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}

body {
  min-height: 100vh;
  min-height: 100svh;
}

.visually-hidden {
  position: fixed;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.landing,
.sequence {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overflow: clip;
}

.landing {
  isolation: isolate;
  background-color: var(--paper);
}

.sequence {
  z-index: 0;
  isolation: isolate;
  contain: strict;
}

.scene-stage,
.static-plate,
.static-plate img,
.motion-layers,
.fallback-art,
.fallback-art img {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1671px;
  height: 941px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
}

.static-plate,
.motion-layers {
  position: absolute;
  inset: 0;
}

.static-plate img {
  object-fit: fill;
}

.scene-layer {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.scene-layer img {
  display: block;
  width: 100%;
  height: 100%;
}

.fallback-art img {
  object-fit: cover;
  object-position: center;
}

noscript {
  position: fixed;
  inset: 0;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .scene-layer {
    will-change: auto;
  }
}
