@property --preloader-radius {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

.preloader {
  position: fixed;
  z-index: 2147483646;
  inset: 0;
  --preloader-radius: 0px;
  pointer-events: none;
}

.preloader__veil {
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  -webkit-mask-image: radial-gradient(
    circle at var(--preloader-origin-x, 50%) var(--preloader-origin-y, 50%),
    transparent 0,
    transparent var(--preloader-radius),
    #000 calc(var(--preloader-radius) + 1px)
  );
  mask-image: radial-gradient(
    circle at var(--preloader-origin-x, 50%) var(--preloader-origin-y, 50%),
    transparent 0,
    transparent var(--preloader-radius),
    #000 calc(var(--preloader-radius) + 1px)
  );
  transition: --preloader-radius 3s cubic-bezier(.45, 0, .15, 1);
}

.preloader__mark {
  position: fixed;
  z-index: 1;
  display: none;
  width: 0;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  opacity: 1;
}

.preloader__pupil {
  position: fixed;
  z-index: 2;
  display: none;
  width: 0;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%) translate3d(var(--hero-pupil-x, 0px), var(--hero-pupil-y, 0px), 0);
  pointer-events: none;
}

.preloader__byline-copy,
.preloader__byline-copy *,
.preloader__motto-copy {
  color: var(--text-light) !important;
  transition: color 3s cubic-bezier(.45, 0, .15, 1);
}

.preloader__byline-copy {
  position: fixed !important;
  z-index: 2;
  margin: 0 !important;
  pointer-events: none;
  visibility: visible !important;
  opacity: 0;
  transition: opacity 450ms ease;
}

.preloader.is-ready .preloader__byline-copy {
  opacity: 1;
}

.preloader__motto-copy {
  position: fixed !important;
  z-index: 2;
  margin: 0 !important;
  pointer-events: none;
  text-align: center;
  visibility: visible !important;
  opacity: 0;
  transition: opacity 450ms ease, color 3s cubic-bezier(.45, 0, .15, 1);
}



.preloader.is-ready .preloader__motto-copy {
  opacity: 1;
}

.preloader.is-revealing .preloader__byline-copy,
.preloader.is-revealing .preloader__byline-copy *,
.preloader.is-revealing .preloader__motto-copy {
  color: var(--text) !important;
}
