:root {
  --boot-bg: #f8f6f2;
  --boot-accent: #d4a84b;
}

html,
body {
  margin: 0;
  min-height: 100vh;
  background: var(--boot-bg);
}

#boot-shell {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--boot-bg);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.boot-shell-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.boot-shell-logo-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.boot-shell-logo {
  display: block;
  width: min(56vw, 250px);
  height: auto;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.18));
  animation: boot-logo-fade-in 0.4s ease-out both;
}

#boot-shell.boot-shell--hidden .boot-shell-logo,
#boot-shell.boot-overlay--hidden .boot-shell-logo {
  animation: boot-logo-fade-out 0.28s ease-out forwards;
}

@keyframes boot-logo-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes boot-logo-fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.boot-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#boot-shell.boot-shell--hidden,
#boot-shell.boot-overlay--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #boot-shell {
    transition: none;
  }

  .boot-shell-logo {
    animation: none;
  }

  .boot-shell-logo {
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.16));
  }
}
