/* Lekka warstwa ruchu — bez kursora, cząsteczek i szumu */

.accent-italic,
h1 em,
h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

h1 em,
h2 em,
.accent-italic {
  color: var(--accent-strong);
}

.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.split-word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: wordIn 0.7s var(--ease) forwards;
}

@keyframes wordIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.slide-content {
  z-index: 3;
}

.slide-overlay {
  z-index: 1;
}

.site-header {
  transition: background 0.35s ease, border-color 0.35s ease;
}

.nav-wrap {
  transition: height 0.35s var(--ease);
}

.site-header.is-compact {
  background: rgba(3, 7, 12, 0.92);
  border-bottom-color: rgba(0, 160, 227, 0.22);
}

.site-header.is-compact .nav-wrap {
  height: 3.55rem;
}

@media (prefers-reduced-motion: reduce) {
  .split-word > span {
    animation: none;
    transform: none;
    opacity: 1;
  }
}
