/* ===========================================================================
   nova-loader.css — Nova real preloader for WordPress + Elementor.
   The wordmark fills left→right with genuine asset-load progress, then the whole
   overlay cross-fades into the live hero. Position .ld-logo to match your hero
   wordmark for a zero-movement hand-off (see SETUP.md §7).
   NOTE: the cover rules (#nova-loader background/z-index) are ALSO inlined in
   <head> by functions.php so the overlay paints before this file loads.
   =========================================================================== */
.cky-consent-container {
  transition: transform .6s cubic-bezier(.22, 1, .36, 1) .35s !important;
  will-change: transform;
}
html:not(.nova-loaded) .cky-consent-container { transform: translateY(130%) !important; }  /* off-screen */
html.nova-loaded       .cky-consent-container { transform: translateY(0)     !important; }  /* slid in */

.ld {
  position: fixed;
  inset: 0;
  z-index: 100000;
  opacity: 1;
  transition: opacity .65s ease;       /* the cross-fade into the live hero */
}
.ld.done { opacity: 0; pointer-events: none; }

/* same red as the hero (shown while everything loads) — no colour break on reveal */
.ld-bg { position: absolute; inset: 0; background: #AF081A; }

/* .ld-logo mirrors the hero wordmark's position so the logo doesn't move on reveal */
.ld-logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(240px, 34vw, 620px);
}
.ld-mark {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.2));
}
.ld-descriptor {          /* same box metrics as the hero descriptor, but invisible */
  font-size: 1vw;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: center;
  letter-spacing: 5px;
  visibility: hidden;
}

/* progress read-out in the Bitcount face, tucked just below the mark */
.ld-count {
  position: absolute;
  left: 50%;
  top: calc(50% + clamp(64px, 11vw, 140px));
  transform: translateX(-50%);
  font-family: "Bitcount Single", monospace;
  font-size: .95rem;
  letter-spacing: .35em;
  color: rgba(255, 255, 255, .82);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ld-pct { opacity: .55; margin-left: .12em; }

@media (prefers-reduced-motion: reduce) {
  .ld { transition: opacity .3s ease; }
  .ld-count { display: none; }         /* no ticking counter */
}