/* ============================================
   Diamond Arch — Animation helpers
   ============================================ */

.glass-shine {
  position: relative;
  overflow: hidden;
}
.glass-shine::before {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 2;
}
.glass-shine:hover::before {
  animation: shineSweep 1.1s ease forwards;
}
@keyframes shineSweep {
  to { left: 140%; }
}

.magnetic { display: inline-flex; }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: scale(0);
  animation: rippleOut 0.6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleOut {
  to { transform: scale(4); opacity: 0; }
}

.leaf {
  position: absolute;
  width: 10px; height: 10px;
  background: var(--olive);
  border-radius: 0 70% 0 70%;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.skeleton {
  background: linear-gradient(90deg, #ebe6dc 25%, #f5f2ea 50%, #ebe6dc 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s ease infinite;
  border-radius: 12px;
}
@keyframes skeleton {
  to { background-position: -200% 0; }
}

.img-reveal {
  clip-path: inset(0 100% 0 0);
}

.pin-spacer-note { /* ScrollTrigger spacer handled by GSAP */ }

.progress-ring {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.3s;
}

.hover-glow:hover {
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(197, 157, 95, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.4);
}

.tilt-card { transform-style: preserve-3d; }

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9980;
  background: var(--forest);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}
