/* Base styles (Tailwind utilities are loaded from the CDN in header.php) */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #ffffff;
  color: #171717;
  font-family: Arial, Helvetica, sans-serif;
}

/* Reveal-on-scroll (mirrors the original framer-motion fade/slide in) */
/* Content stays visible unless site.js is running, so nothing can get stuck hidden */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Floating particles on the About pages */
.particles { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.particles span {
  position: absolute; width: 8px; height: 8px; border-radius: 9999px;
  background: #60a5fa; opacity: .2;
  animation: floaty 9s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -40px); }
}

.toast { animation: toastIn .3s ease, toastOut .4s ease 4.5s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); visibility: hidden; } }

.dropdown.open .dd-chev { transform: rotate(180deg); }
