html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

.font-display {
  font-family: 'Oswald', sans-serif;
}

/* header active section highlight */
.nav-link.is-active {
  color: #ECEAE6;
}

/* filter chips */
.filter-chip.is-active {
  background: #C86A34;
  border-color: #C86A34;
  color: #101113;
}

/* fade-up on scroll reveal (fallback if AOS unavailable) */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* toast */
.toast {
  border-radius: 4px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: toast-in 0.25s ease;
  border: 1px solid #33383E;
}
.toast.toast-success {
  background: #1c2e22;
  color: #ECEAE6;
  border-color: #2f6b45;
}
.toast.toast-error {
  background: #2e2019;
  color: #ECEAE6;
  border-color: #C86A34;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

/* form field error state */
.form-field.has-error {
  border-color: #C86A34 !important;
}

/* lightbox */
#lightbox .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#lightbox .swiper-slide img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid #33383E;
}
#lightbox .swiper-button-prev,
#lightbox .swiper-button-next {
  color: #ECEAE6;
}
#lightbox.is-visible {
  display: block;
}
#lightbox {
  opacity: 0;
  transition: opacity 0.3s ease;
}
#lightbox.is-visible {
  opacity: 1;
}

.lightbox-caption {
  text-align: center;
  margin-top: 20px;
}
.lightbox-caption .lb-type {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C86A34;
  margin-bottom: 6px;
}
.lightbox-caption .lb-title {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 24px;
  color: #ECEAE6;
  margin-bottom: 8px;
}
.lightbox-caption .lb-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #9A9E9F;
  max-width: 520px;
  margin: 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal] {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* keyboard focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #C86A34;
  outline-offset: 2px;
}
