/* ═══════════════════════════════════════════════
   EFFECTS.CSS — Preloader, GSAP States, Motion
   OkaneGroup Theme v1.0.0
   ═══════════════════════════════════════════════ */

/* ═══ PRELOADER / WIPE REVEAL ═══ */
.loader-screen {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  background: var(--ok-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-wipe-container {
  position: relative;
  transform: scaleX(1.2);
  transform-origin: center;
}

.loader-ghost {
  font-family: var(--ok-font-display);
  font-weight: 600;
  font-size: clamp(52px, 12vw, 140px);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(225, 216, 203, 0.06);
  user-select: none;
}

.loader-reveal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 100% 0 0);
  font-family: var(--ok-font-display);
  font-weight: 600;
  font-size: clamp(52px, 12vw, 140px);
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(
    to bottom,
    rgba(225, 216, 203, 1) 30%,
    rgba(225, 216, 203, 0.3) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

.loader-cursor {
  position: absolute;
  top: -8%;
  height: 116%;
  width: 2px;
  background: var(--ok-cream);
  left: 0%;
  opacity: 0;
  border-radius: 1px;
  box-shadow:
    0 0 12px rgba(225, 216, 203, 1),
    0 0 25px rgba(225, 216, 203, 0.3),
    0 0 50px rgba(225, 216, 203, 0.1);
}

.loader-percent {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ok-font-primary);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(225, 216, 203, 0.15);
}

/* ═══ GSAP INITIAL STATES — elements hidden before reveal ═══ */
.hero-nav { opacity: 0; }
.hero-breadcrumb { opacity: 0; }
.hero-okane-text { opacity: 0; }
.hero-subtitle { opacity: 0; }
.hero-bg { transform: scale(1.2); }
