/* CertifiedPrivateTutor.com — hand-written overrides on top of Tailwind.
   Kept intentionally small: one orchestrated entrance animation for the
   hero seal, plus accessibility & focus-state polish. Everything else is
   utility classes in the markup. */

@media (prefers-reduced-motion: no-preference) {
  .seal-stamp {
    animation: seal-stamp 900ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: 150ms;
  }
  .hero-copy > * {
    animation: fade-up 700ms ease-out both;
  }
  .hero-copy > *:nth-child(2) { animation-delay: 90ms; }
  .hero-copy > *:nth-child(3) { animation-delay: 180ms; }
  .hero-copy > *:nth-child(4) { animation-delay: 270ms; }
}

@keyframes seal-stamp {
  0%   { transform: scale(1.6) rotate(-8deg); opacity: 0; }
  60%  { transform: scale(0.96) rotate(2deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes fade-up {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Visible keyboard focus ring everywhere, overriding Tailwind's reset */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #B08947;
  outline-offset: 2px;
}

.rule {
  background-image: repeating-linear-gradient(to right, #12181F1a 0, #12181F1a 6px, transparent 6px, transparent 12px);
  height: 1px;
}

/* Reverse-embossed (debossed) card — logo pressed into the parchment */
.deboss {
  box-shadow:
    inset 0 2px 6px rgba(18, 24, 31, 0.14),
    inset 0 -2px 5px rgba(255, 255, 255, 0.9),
    0 1px 2px rgba(18, 24, 31, 0.05);
}

/* Popular Curriculums — infinite logo marquee */
.curriculum-carousel {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.curriculum-track {
  width: max-content;
  animation: curriculum-scroll 30s linear infinite;
}
.curriculum-carousel:hover .curriculum-track {
  animation-play-state: paused;
}
@keyframes curriculum-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
