[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.anchor {
  scroll-margin-top: 7.5rem;
}

.nav-link.is-active {
  color: #f2de00;
}

.nav-link.is-active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 0.3rem;
  background: #f2de00;
  border-radius: 999px;
}

#mobile-menu a.is-active {
  color: #f2de00;
}

#mobile-menu a.is-active::after {
  display: none;
}

.zoom {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(28, 22, 22, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1080px, 100%);
  max-height: 86vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 3rem;
  height: 3rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

:focus-visible {
  outline: 2px solid #f2de00;
  outline-offset: 3px;
}
