/* ===== ScrollReveal animation ===== */
/* Only hide elements when JS is active — prevents blank page with JS disabled */
.js-enabled .scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Compliance expandable transition ===== */
#compliance-content {
  transition: opacity 0.5s ease-in-out;
}

#compliance-content.expanded {
  display: block;
  opacity: 1;
}

/* ===== Smooth scroll offset for fixed header ===== */
html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 6rem;
}
