/*________________________________________ DESIGN TOKENS ________________________________________*/

:root {
  color-scheme: dark;
  --paper: #f4ecd8;
  --paper-muted: #d9cdb3;
  --ink: #050505;
  --gold: #ecd49d;
  --panel: rgba(5, 5, 5, 0.96);
  --start-overlay: rgba(5, 5, 5, 0.68);

  --projection-width: min(88vw, 560px);
  --projection-height: min(44dvh, 360px);

  --font-display: "Limelight", "Copperplate", "Copperplate Gothic Light", Georgia, serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --font-signature: "DynaPuff", system-ui, sans-serif;

  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
}

@media (min-width: 721px) {
  :root {
    --projection-width: min(76vw, 1080px);
    --projection-height: min(56vh, 600px);
  }
}

/*________________________________________ BASE RESET __________________________________________*/

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--ink);
}

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

.noscript {
  position: fixed;
  inset: 0;
  z-index: 20;
  margin: 0;
  padding: 1.5rem;
  display: grid;
  place-items: center;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 4vw, 1.75rem);
  line-height: 1.5;
  text-align: center;
  background: var(--ink);
}

button,
video {
  font: inherit;
}

/*________________________________________ APP SHELL ___________________________________________*/

.app {
  width: 100vw;
  height: 100dvh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(236, 210, 158, 0.12), transparent 30%),
    linear-gradient(90deg, #030303, #10100d 48%, #030303),
    var(--ink);
}

.app:before,
.app:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.app:before {
  opacity: 0.16;
  mix-blend-mode: screen;
  background: radial-gradient(ellipse at 50% 46%, rgba(255, 238, 194, 0.18), transparent 39%);
  animation: lamp-pulse 2.8s ease-in-out infinite;
}

.app:after {
  background:
    radial-gradient(ellipse at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.56) 77%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 10%, transparent 86%, rgba(0, 0, 0, 0.36)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.55));
}

.app__room-light {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, transparent 20%, rgba(0, 0, 0, 0.18) 70%),
    rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 1600ms ease;
}

.app.is-room-dark .app__room-light {
  opacity: 1;
  transition-duration: 2200ms;
}

/*_______________________________________ PROJECTION __________________________________________*/

.projection__video,
.projection__noise {
  width: var(--projection-width);
  height: var(--projection-height);
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
}

@media (min-width: 721px) {

  .projection__video,
  .projection__noise {
    top: 45%;
  }
}

.projection__video {
  z-index: 1;
  object-fit: cover;
  background: #050505;
  border: 6px solid rgba(28, 24, 17, 0.96);
  box-shadow:
    0 0 0 2px rgba(238, 216, 166, 0.18),
    0 0 0 28px rgba(7, 6, 4, 0.86),
    0 28px 90px rgba(0, 0, 0, 0.82),
    inset 0 0 46px rgba(255, 236, 192, 0.14),
    0 0 120px rgba(238, 215, 166, 0.16);
  filter: sepia(0.1) contrast(1.08) saturate(0.86) brightness(0.98);
  animation: lamp-flicker 0.32s steps(2, end) infinite;
}

@media (min-width: 721px) {
  .projection__video {
    border-width: 10px;
  }
}

.projection__video.is-ending {
  animation: end-of-reel 1.25s ease forwards;
}

.projection__video:not([src]) {
  display: none;
}

.projection__video.gate-hit {
  animation:
    image-catch 0.42s steps(1, end) 1,
    lamp-flicker 0.32s steps(2, end) infinite;
}

.projection__video.gate-hit.is-ending {
  animation: end-of-reel 1.25s ease forwards;
}

.projection__noise {
  z-index: 2;
  opacity: 0.18;
  mix-blend-mode: screen;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.12' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 .28'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(244, 236, 216, 0.3) 0 0.035rem, transparent 0.0525rem),
    repeating-linear-gradient(90deg, transparent 0 3.5rem, rgba(244, 236, 216, 0.055) 3.55rem 3.6rem);
  background-size: 180px 180px, 0.34rem 0.34rem, 100% 100%;
  filter: contrast(1.16);
  pointer-events: none;
  animation: projection-grain 0.36s steps(2, end) infinite;
}

.projection__video:not([src])+.projection__noise {
  display: none;
}

.projection__video.gate-hit+.projection__noise {
  animation:
    image-catch 0.42s steps(1, end) 1,
    projection-grain 0.36s steps(2, end) infinite;
}

/*________________________________________ PANELS _____________________________________________*/

.panel {
  padding: max(1.5rem, env(safe-area-inset-top)) max(1.5rem, env(safe-area-inset-right)) max(1.5rem, env(safe-area-inset-bottom)) max(1.5rem, env(safe-area-inset-left));
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 0.875rem;
  text-align: center;
  background: var(--panel);
}

@media (min-width: 721px) {
  .panel {
    gap: 1.125rem;
  }
}

.panel--start {
  align-content: center;
  grid-template-rows: auto auto auto;
  gap: clamp(1rem, 4.5vh, 2rem);
  overflow: hidden;
  background: var(--ink);
}

@media (min-width: 721px) {
  .panel--start {
    gap: clamp(1.25rem, 5vh, 2.5rem);
  }
}

.panel--start:before,
.panel--start:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel--start:before {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(244, 236, 216, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.42), var(--start-overlay) 52%, rgba(5, 5, 5, 0.84));
}

.panel--start:after {
  z-index: 2;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.72), transparent 28%, transparent 72%, rgba(5, 5, 5, 0.72));
}

.panel--start> :not(.poster-wall) {
  position: relative;
  z-index: 3;
}

.panel[hidden] {
  display: none;
}

.app.has-freeze-frame .panel--idle {
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.58), rgba(5, 5, 5, 0.75));
}

.panel--idle {
  padding-top: max(5rem, env(safe-area-inset-top));
  padding-bottom: max(10rem, env(safe-area-inset-bottom));
}

.panel h1,
.panel h2 {
  max-width: 94vw;
  margin: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(2.625rem, 16vw, 4.75rem);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

@media (min-width: 721px) {

  .panel h1,
  .panel h2 {
    max-width: min(1080px, 92vw);
    font-size: clamp(3.5rem, 10vw, 9.125rem);
  }
}

.panel--title h2 {
  max-width: min(92vw, 58rem);
  font-size: clamp(2rem, 10vw, 5.5rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (min-width: 721px) {
  .panel--title h2 {
    font-size: clamp(3.25rem, 7vw, 7.5rem);
  }
}

.panel__copy,
.title-match {
  max-width: 92vw;
  margin: 0;
  color: var(--paper-muted);
  font-size: clamp(0.9375rem, 4.2vw, 1.1875rem);
  line-height: 1.45;
}

.time-stack {
  display: grid;
  gap: 0.25rem;
  place-items: center;
}

.time-stack h2 {
  max-width: 94vw;
}

.title-match {
  font-variant-numeric: tabular-nums;
}

.title-match {
  color: var(--gold);
  font-size: clamp(0.8125rem, 3.6vw, 1rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 721px) {

  .panel__copy,
  .title-match {
    max-width: 52.5rem;
    font-size: clamp(1.0625rem, 2vw, 1.5625rem);
  }

  .title-match {
    font-size: clamp(0.875rem, 1vw, 1.125rem);
  }
}

.title-kicker {
  display: grid;
  gap: 0.25rem;
  place-items: center;
}

.title-kicker .eyebrow,
.title-kicker .title-match {
  margin: 0;
}


/*_____________________________________ POSTER WALL __________________________________________*/

.poster-wall {
  width: 132vw;
  height: 132vh;
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(var(--poster-columns, 8), minmax(6.5rem, 1fr));
  gap: clamp(0.5rem, 1.25vw, 1rem);
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-7deg) scale(1.06);
  transition: opacity 3s ease;
  transform-origin: center;
  filter: sepia(0.22) saturate(0.74) brightness(0.72) contrast(1.08);
  overflow: hidden;
  contain: layout paint;
}

.poster-wall.is-visible {
  opacity: 0.65;
}

.poster-wall__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(0.5rem, 1.25vw, 1rem);
  transform: translateY(var(--poster-offset, 0));
  animation: poster-scroll-up var(--poster-duration, 52s) linear infinite;
  will-change: transform;
}

.poster-wall__column--reverse {
  animation-name: poster-scroll-down;
}

.poster-wall__group {
  display: grid;
  gap: clamp(0.5rem, 1.25vw, 1rem);
}

.poster-wall__poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: block;
  object-fit: cover;
  background: #111;
  box-shadow: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.32);
}

@media (max-width: 720px) {
  .poster-wall {
    width: 158vw;
    height: 136vh;
    grid-template-columns: repeat(var(--poster-columns, 5), minmax(5.75rem, 1fr));
    transform: translate(-50%, -50%) rotate(-8deg) scale(1.06);
  }
}

/*_____________________________________ START TITLE __________________________________________*/

.start-title {
  color: var(--paper);
  text-shadow: none;
}

.mobile-notice {
  display: none;
}

@media (max-width: 720px),
(pointer: coarse) {

  .projection__video,
  .projection__noise,
  .app__room-light,
  .panel--start .start-title,
  .panel--start #startMessage,
  .panel--start #startButton,
  .panel--start .source-link,
  .panel--countdown,
  .panel--title,
  .panel--idle,
  .options-panel,
  .status,
  .signature--corner {
    display: none !important;
  }

  .panel--start {
    display: grid;
    place-items: center;
  }

  .mobile-notice {
    max-width: min(28rem, 86vw);
    display: grid;
    gap: 0.875rem;
  }

  .mobile-notice h1 {
    margin: 0;
  }

  .mobile-notice p {
    margin: 0;
    color: var(--paper-muted);
    font-size: clamp(0.9375rem, 4vw, 1.125rem);
    line-height: 1.55;
  }
}

/*________________________________________ BUTTONS ____________________________________________*/

.button {
  max-width: 92vw;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0 1.125rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  color: #090806;
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  border: 0;
  border-radius: 0.125rem;
  background:
    linear-gradient(90deg, rgba(218, 198, 150, 0.28), transparent 34%, rgba(218, 198, 150, 0.18)),
    var(--paper);
  cursor: pointer;
  overflow: hidden;
  white-space: normal;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button__icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

@media (min-width: 721px) {
  .button {
    max-width: none;
    min-width: 13.125rem;
    padding: 0 1.75rem;
  }
}

.button:before,
.button:after {
  width: 1.125rem;
  height: 1.125rem;
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 50%;
  background: var(--ink);
  transform: translateY(-50%);
  pointer-events: none;
}

.button:before {
  left: -0.5625rem;
}

.button:after {
  right: -0.5625rem;
}

.button:not(.button--replay):hover,
.button:not(.button--replay):focus-visible {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.12) 0 0.0625rem, transparent 0.0625rem 0.375rem),
    linear-gradient(90deg, rgba(218, 198, 150, 0.38), transparent 34%, rgba(218, 198, 150, 0.24)),
    var(--paper);
  transform: translateY(-0.225rem) rotate(-1deg);
}

.button:not(.button--replay):active {
  transform: translateY(0) rotate(0deg);
}

.button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.button[hidden] {
  display: none;
}

.button:focus-visible {
  outline: 0.1875rem solid var(--gold);
  outline-offset: 0.25rem;
}

.source-link,
.button--replay {
  color: var(--paper-muted);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.4;
  text-decoration: none;
  opacity: 0.78;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.source-link:hover,
.source-link:focus-visible,
.button--replay:hover,
.button--replay:focus-visible {
  color: var(--paper);
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.source-link:focus-visible {
  outline: 0.1875rem solid var(--gold);
  outline-offset: 0.25rem;
}

/*_______________________________________ SIGNATURE __________________________________________*/

.signature {
  display: inline-flex;
  align-items: center;
  color: var(--paper);
  line-height: 1;
  text-decoration: none;
}

.signature:focus-visible {
  outline: 0.1875rem solid var(--paper);
  outline-offset: 0.375rem;
}

.signature__logo {
  width: 2.625rem;
  height: 2.625rem;
  display: block;
  flex: 0 0 auto;
}

.signature__svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.signature-logo-pupil {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 180ms ease;
}

.signature:focus-visible .signature-logo-pupil,
.signature:hover .signature-logo-pupil {
  transform: translateX(30px);
}

.signature__tagline {
  color: currentColor;
  font-family: var(--font-signature);
  font-size: clamp(0.875rem, 3.2vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  transform: scaleY(1.75);
  transform-origin: left center;
}

.panel--start>.signature--start {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  z-index: 6;
  gap: 0.75rem;
  opacity: 0.88;
}

.signature--start .signature__logo {
  width: 2.375rem;
  height: 2.375rem;
}

@media (min-width: 721px) {
  .signature--start .signature__logo {
    width: 2.75rem;
    height: 2.75rem;
  }
}

.signature--corner {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  left: max(1rem, env(safe-area-inset-left));
  z-index: 6;
  opacity: 0.9;
}

.signature--corner[hidden] {
  display: none;
}

.signature--corner .signature__logo {
  width: 2.375rem;
  height: 2.375rem;
}

@media (min-width: 721px) {
  .signature--corner .signature__logo {
    width: 2.75rem;
    height: 2.75rem;
  }
}

/*________________________________________ OPTIONS __________________________________________*/

.options-panel {
  width: min(15rem, calc(100vw - 2rem));
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 6;
  display: grid;
  gap: 0.625rem;
  color: var(--paper);
}

.options-panel[hidden] {
  display: none;
}

.volume-control {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(5.5rem, 1fr) 2.375rem;
  gap: 0.625rem;
  align-items: center;
}

@media (min-width: 721px) {
  .volume-control {
    grid-template-columns: auto minmax(6rem, 1fr) 2.625rem;
  }
}

.volume-control__label,
.volume-control__value,
.time-format__label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.volume-control__label {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (min-width: 721px) {
  .volume-control__label {
    width: auto;
    height: auto;
    position: static;
    overflow: visible;
    clip: auto;
    white-space: normal;
  }
}

.volume-control__value {
  color: var(--paper-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.volume-control__range {
  width: 100%;
  accent-color: var(--paper);
  cursor: pointer;
}

.volume-control__range::-webkit-slider-thumb {
  cursor: pointer;
}

.volume-control__range::-moz-range-thumb {
  cursor: pointer;
}

.time-format {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto auto;
  align-items: center;
}

.time-format__label {
  margin-right: 0.5rem;
  color: var(--paper-muted);
}

.time-format__option {
  position: relative;
  cursor: pointer;
}

.time-format__option input {
  width: 1px;
  height: 1px;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.time-format__option span {
  min-width: 3rem;
  display: block;
  padding: 0.375rem 0.625rem;
  color: var(--paper-muted);
  text-align: center;
  border: 1px solid rgba(244, 239, 231, 0.28);
}

.time-format__option:first-of-type span {
  border-radius: 999px 0 0 999px;
}

.time-format__option:last-of-type span {
  margin-left: -1px;
  border-radius: 0 999px 999px 0;
}

.time-format__option:hover span,
.time-format__option input:focus-visible+span {
  color: var(--paper);
  border-color: rgba(244, 239, 231, 0.7);
}

.time-format__option input:checked+span {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.time-format__option input:focus-visible+span {
  outline: 0.1875rem solid var(--gold);
  outline-offset: 0.1875rem;
}

/*_______________________________________ COUNTDOWN __________________________________________*/

.panel--countdown {
  background: #050505;
}

.countdown-mark {
  width: min(62vmin, 560px);
  aspect-ratio: 1;
  position: absolute;
  border: 3px solid rgba(244, 239, 231, 0.68);
  border-radius: 50%;
}

.countdown-mark:before,
.countdown-mark:after {
  content: "";
  position: absolute;
  background: rgba(244, 239, 231, 0.45);
}

.countdown-mark:before {
  width: 1px;
  height: 118%;
  left: 50%;
  top: -9%;
}

.countdown-mark:after {
  width: 118%;
  height: 1px;
  left: -9%;
  top: 50%;
}

.countdown-number {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(10rem, 34vmin, 22.5rem);
  line-height: 1;
  text-shadow: 0 10px 44px rgba(0, 0, 0, 0.5);
}

/*_____________________________________ PLAYBACK STATUS ______________________________________*/

.status {
  max-height: 34dvh;
  position: absolute;
  right: max(0.75rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  left: max(0.75rem, env(safe-area-inset-left));
  z-index: 5;
  padding: 0.875rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: flex-start;
  color: #f7f0e4;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: auto;
  backdrop-filter: blur(8px);
}

@media (min-width: 721px) {
  .status {
    max-height: none;
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: max(1rem, env(safe-area-inset-left));
    flex-direction: row;
    align-items: center;
    overflow: visible;
  }
}

.status[hidden] {
  display: none;
}

.status__match,
.status__movie,
.status__details {
  margin: 0;
}

.status__credit[hidden] {
  display: none;
}


.status__credit {
  display: grid;
  gap: 0.875rem;
  align-items: center;
}

.status__credit.has-poster {
  grid-template-columns: auto minmax(0, 1fr);
}

.status__poster {
  width: 3.75rem;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(244, 239, 231, 0.18);
  filter: saturate(0.88) contrast(0.94) brightness(0.86);
}

.status__poster[hidden] {
  display: none;
}

.status__copy {
  min-width: 0;
}

.status__match {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status__movie {
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.status__details {
  margin-top: 0.25rem;
  color: var(--paper-muted);
  font-size: 0.8125rem;
}

.button--replay {
  min-width: 0;
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 0;
  padding: 0;
  flex: 0 0 auto;
  letter-spacing: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.button--replay:before,
.button--replay:after {
  content: none;
}

.status__next {
  flex: 0 0 auto;
  color: var(--paper-muted);
  font-size: 0.75rem;
  text-align: left;
}

@media (min-width: 721px) {
  .status__next {
    text-align: right;
  }
}

.status__next[hidden] {
  display: none;
}

.status__next span {
  text-transform: uppercase;
}

.status__next strong {
  margin-top: 0.1875rem;
  display: block;
  color: var(--paper);
  font-size: 1.375rem;
  font-variant-numeric: tabular-nums;
}

.status__next small {
  display: block;
  margin-top: 0.125rem;
  color: var(--paper-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  text-transform: none;
}

/*_______________________________________ ANIMATIONS __________________________________________*/

@keyframes image-catch {
  0% {
    transform: translate(calc(-50% - 1.25rem), calc(-50% + 0.5625rem)) rotate(-0.48deg) scale(1.012);
  }

  12% {
    transform: translate(calc(-50% + 0.875rem), calc(-50% - 0.6875rem)) rotate(0.34deg) scale(1.01);
  }

  24% {
    transform: translate(calc(-50% - 0.5625rem), calc(-50% - 0.125rem)) rotate(-0.22deg) scale(1.008);
  }

  36% {
    transform: translate(calc(-50% + 1rem), calc(-50% + 0.375rem)) rotate(0.28deg) scale(1.008);
  }

  52% {
    transform: translate(calc(-50% - 0.4375rem), calc(-50% + 0.4375rem)) rotate(-0.16deg) scale(1.005);
  }

  72% {
    transform: translate(calc(-50% + 0.125rem), calc(-50% - 0.0625rem)) rotate(0.04deg) scale(1.001);
  }

  100% {
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
  }
}

@keyframes lamp-flicker {
  0% {
    filter: sepia(0.1) contrast(1.08) saturate(0.86) brightness(0.97);
  }

  45% {
    filter: sepia(0.11) contrast(1.1) saturate(0.84) brightness(1.02);
  }

  100% {
    filter: sepia(0.09) contrast(1.07) saturate(0.88) brightness(0.95);
  }
}

@keyframes end-of-reel {
  0% {
    filter: sepia(0.1) contrast(1.08) saturate(0.86) brightness(0.94);
  }

  45% {
    filter: sepia(0.07) contrast(1.1) saturate(0.96) brightness(0.84);
  }

  100% {
    filter: sepia(0.05) contrast(1.12) saturate(0.92) brightness(0.76);
  }
}

@keyframes poster-scroll-up {
  from {
    transform: translateY(var(--poster-offset, 0));
  }

  to {
    transform: translateY(calc(var(--poster-offset, 0) - 50% - clamp(0.3125rem, 0.85vw, 0.625rem)));
  }
}

@keyframes poster-scroll-down {
  from {
    transform: translateY(calc(var(--poster-offset, 0) - 50% - clamp(0.3125rem, 0.85vw, 0.625rem)));
  }

  to {
    transform: translateY(var(--poster-offset, 0));
  }
}

@keyframes projection-grain {
  0% {
    background-position: 0 0, 0 0;
  }

  25% {
    background-position: 2rem -1rem, 0.08rem 0.04rem;
  }

  50% {
    background-position: -1.4rem 1.8rem, -0.06rem 0.1rem;
  }

  75% {
    background-position: 1rem 1.2rem, 0.12rem -0.08rem;
  }

  100% {
    background-position: 0 0, 0 0;
  }
}

@keyframes lamp-pulse {

  0%,
  100% {
    opacity: 0.2;
  }

  42% {
    opacity: 0.28;
  }

  48% {
    opacity: 0.16;
  }

  53% {
    opacity: 0.3;
  }
}

/*___________________________________ ACCESSIBILITY / MOTION __________________________________*/

@media (prefers-reduced-motion: reduce) {

  .app:before,
  .poster-wall__column,
  .projection__video,
  .projection__noise,
  .projection__video.gate-hit,
  .projection__video.gate-hit+.projection__noise,
  .projection__video.is-ending {
    animation: none;
  }
}