/**
 * Topee preloader - the page-transition curtain.
 *
 * Extracted verbatim from the inline <style> block that used to live inside
 * template-parts/topee-preloader.php. It is a real stylesheet now, so it is
 * cacheable, and a typo in it is a broken rule rather than a PHP parse error
 * that white-screens the site.
 */

#skiper8Curtain {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: #0E1012 !important;
  color: #FFFFFF !important;
  z-index: 9999999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.15s cubic-bezier(0.76, 0, 0.24, 1) !important;
  pointer-events: all !important;
}
#skiper8Curtain.hidden-curtain {
  transform: translateY(-100%) !important;
  pointer-events: none !important;
}
.skiper8-word-box {
  height: auto !important;
  min-height: clamp(56px, 10vh, 90px) !important;
  width: 100% !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* No CSS transitions on logo/words at all: the swap is done purely by toggling
   display, so there is zero fade lag or overlap between them. */
.skiper8-logo {
  position: absolute !important;
  height: clamp(32px, 6vw, 64px) !important;
  width: auto !important;
  display: none !important;
  pointer-events: none !important;
  user-select: none !important;
  /* Source logo is dark-on-transparent; invert so it reads white on the black curtain */
  filter: brightness(0) invert(1) !important;
}
.skiper8-logo.active {
  display: block !important;
}
.skiper8-words {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5em !important;
  flex-wrap: wrap !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}
.skiper8-words.active {
  display: flex !important;
}
.skiper8-word-item {
  font-family: 'Poppins', sans-serif !important;
  font-size: clamp(14px, 2.4vw, 20px) !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.85) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  user-select: none !important;
}
