/* ─── Scroll Reveal ──────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Hero Entrance ──────────────────────────────────────────────────────── */
.hero-content .label {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}
.hero-content h1 {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.hero-content p {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
.hero-actions {
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Nav fade-in ────────────────────────────────────────────────────────── */
#nav {
  animation: navIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}
@keyframes navIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Pulse ring on accent dots (timeline) ───────────────────────────────── */
.timeline-item::after {
  content: '';
  position: absolute;
  left: -38px; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--accent);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.3s;
}
.timeline-item:hover::after {
  opacity: 0.4;
  transform: scale(1);
}

/* ─── Award badge pop ────────────────────────────────────────────────────── */
.award-badge {
  transition: transform 0.2s, box-shadow 0.2s;
}
.award-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ─── Card stagger for grid-3 ────────────────────────────────────────────── */
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.07s; }
.service-card:nth-child(3) { transition-delay: 0.14s; }
.service-card:nth-child(4) { transition-delay: 0.21s; }
.service-card:nth-child(5) { transition-delay: 0.28s; }
.service-card:nth-child(6) { transition-delay: 0.35s; }
.service-card:nth-child(7) { transition-delay: 0.42s; }
.pillar:nth-child(1) { transition-delay: 0s; }
.pillar:nth-child(2) { transition-delay: 0.1s; }
.pillar:nth-child(3) { transition-delay: 0.2s; }
.skill-group:nth-child(1) { transition-delay: 0s; }
.skill-group:nth-child(2) { transition-delay: 0.1s; }
.skill-group:nth-child(3) { transition-delay: 0.2s; }
