/* Archwares boot loader — once per session curtain */
html.arch-booting,
html.arch-booting body {
  background: #000;
}

html.arch-booting body {
  overflow: hidden;
}

.arch-boot {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  pointer-events: all;
  color: #fff;
  isolation: isolate;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.arch-boot__curtain {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 0;
}

.arch-boot__brand {
  position: relative;
  z-index: 1;
  width: min(112px, 28vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.arch-boot__logo {
  width: 62%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.arch-boot__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.arch-boot__ring-track,
.arch-boot__ring-prog {
  fill: none;
  stroke-width: 2.25;
  stroke-linecap: round;
}

.arch-boot__ring-track {
  stroke: rgba(255, 255, 255, 0.14);
}

.arch-boot__ring-prog {
  stroke: #f3f3f3;
  stroke-dasharray: 276.46;
  stroke-dashoffset: 276.46;
  transition: stroke-dashoffset 0.2s linear;
}

.arch-boot.is-ready .arch-boot__brand {
  opacity: 0;
  transform: translate3d(0, -10px, 0) scale(0.96);
}

.arch-boot.is-lifting {
  transform: translate3d(0, -105%, 0);
  transition: transform 0.95s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .arch-boot__brand,
  .arch-boot__ring-prog,
  .arch-boot.is-lifting {
    transition: none !important;
  }
}
