body {
  font-family: Barlow, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Fix hero swipe bug - stops horizontal scroll */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-out forwards;
}

.site-logo {
  height: 30px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

@media (hover: none) {
  #slideshow-bottom-controls {
    opacity: 1 !important;
  }
}

@media (max-width: 1023px) {
  #prev-btn,
  #next-btn {
    display: none !important;
  }
}

blockquote {
  margin-top: 10px;
  margin-bottom: 10px;
}

.txt-space {
  height: 1.2em;
}

/* ===== HERO SYSTEM ===== */
.hero-media {
  position: relative;
  overflow: hidden; /* Fix hero swipe bug - clips blurred edges */
  width: 100%;
  height: 100%;
  background: #0a0a0a;
}

.hero-blur,
.hero-main {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-blur {
  object-fit: cover;
  filter: blur(14px) brightness(0.6);
  transform: scale(1.15);
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.hero-main {
  object-position: center;
  z-index: 1;
  transition: opacity 0.25s ease;
}

.hero-portrait .hero-main {
  object-fit: contain;
}

.hero-landscape .hero-main {
  object-fit: cover;
}

.hero-portrait .hero-blur {
  opacity: 1;
}

.hero-landscape .hero-blur {
  opacity: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-blur {
    filter: brightness(0.6);
    transform: none;
    transition: none;
  }
  .hero-main {
    transition: none;
  }
}