/* ── GSAP / Animation helper states ── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
}

.stagger-child {
  opacity: 0;
  transform: translateY(30px);
}

/* Gold underline draw */
.gold-underline {
  position: relative;
  display: inline-block;
}
.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  border-radius: 2px;
}
.gold-underline.drawn::after {
  transition: width 0.7s cubic-bezier(0.77, 0, 0.175, 1);
  width: 100%;
}

/* Connector line draw */
.connector-line {
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}

/* Counter number */
.counter { display: inline-block; }

/* Nav compact state */
.nav-compact .nav-inner { height: 56px; }
.nav-compact .nav-logo img { height: 36px; }

/* Page transition */
.page-enter {
  animation: fadeUp 0.5s ease both;
}

/* Loading spinner */
.spinner {
  width: 22px; height: 22px;
  border: 2.5px solid rgba(255,255,255,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Upload progress */
.upload-progress {
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
  display: none;
}
.upload-progress.active { display: block; }
.upload-progress-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
  width: 0;
}
