/* Keep body > main below #header (no fixed overlay on hero). */
body > #site-header {
  display: block;
  position: relative;
  z-index: 100;
}

body.page-home #header.header,
body #header.header {
  position: sticky !important;
  top: 0;
  left: auto;
  right: auto;
  width: 100%;
}

body > main {
  position: relative;
  z-index: 1;
}

/* Portfolio iframe: reveal animations stay at opacity:0 without IO — force content visible. */
html.is-embedded-preview .reveal,
.page-home .reveal,
.reveal.visible,
.reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}
