/* ══════════════════════════════════════════════════
   ANIMATIONS — thinkingdcmedia.com
   Layer 1 : Scroll-triggered reveals
   Layer 2 : Decorative accents
   ══════════════════════════════════════════════════ */


/* ─── SCROLL REVEAL ──────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity   0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }
.reveal-d3 { transition-delay: 0.36s; }
.reveal-d4 { transition-delay: 0.48s; }


/* ─── SECTION LABEL UNDERLINE ────────────────────── */

.section-label::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.section-label.in-view::after {
  width: 3.5em;
}


/* ─── SECTION ARROW PULSE ────────────────────────── */

.section-arrow {
  display: inline-block;
  margin-left: 6px;
  animation: arrow-pulse 1.4s ease-in-out infinite;
  transition: scale 0.2s ease;
}

.section-label:hover .section-arrow {
  animation-play-state: paused;
  scale: 1.18;
}

@keyframes arrow-pulse {
  0%, 100% { translate: 0; }
  50%      { translate: 5px; }
}


/* ─── ACCENT LINES ───────────────────────────────── */

.accent-line {
  display: block;
  height: 2px;
  width: 0;
  background: var(--accent);
  margin: 0;
  transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.accent-line.in-view {
  width: 64px;
}
