/* Motion is an enhancement. No animation rule hides page content. */
body.modernit .reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 2px;
  background: #a2d743;
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}
body.modernit .site-header {
  transition: box-shadow 240ms ease, background-color 240ms ease;
}
body.modernit .site-header.is-scrolled {
  box-shadow: 0 8px 28px #07170d10;
}
body.modernit .service-row { position: relative; isolation: isolate; }
body.modernit .service-row::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(250px circle at var(--spot-x, 50%) var(--spot-y, 50%), #c9f36b22, transparent 80%);
  opacity: 0;
  transition: opacity 220ms ease;
  z-index: -1;
  pointer-events: none;
}
body.modernit .service-row.has-spotlight::after { opacity: 1; }
body.modernit :is(.button, .nav-contact, .text-link, .service-row) .icon {
  transition: transform 240ms cubic-bezier(.22,1,.36,1);
}
body.modernit .service-row .round-arrow {
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
body.modernit .service-row:is(:hover, :focus-visible) .round-arrow {
  background: #c9f36b;
  color: #15231b;
  border-color: #c9f36b;
}
body.modernit :is(.button, .nav-contact, .text-link):is(:hover, :focus-visible) > .icon,
body.modernit .service-row:is(:hover, :focus-visible) .round-arrow .icon {
  transform: translate(2px, -2px);
}
body.modernit .footer-services a {
  transition: color 180ms ease, translate 180ms ease;
}
body.modernit .footer-services a:hover { translate: 3px 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.modernit *, body.modernit *::before, body.modernit *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body.modernit .service-row::after { display: none; }
  body.modernit .reading-progress { display: none; }
}
