body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

.site-bg {
  background-color: #f6f7fa;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(201, 165, 106, 0.28) 0, rgba(201, 165, 106, 0) 50%),
    radial-gradient(circle at 88% 12%, rgba(36, 52, 77, 0.22) 0, rgba(36, 52, 77, 0) 56%),
    radial-gradient(circle at 50% 92%, rgba(22, 38, 60, 0.18) 0, rgba(22, 38, 60, 0) 58%);
  background-size: 240% 240%;
  background-attachment: fixed;
}

.brand-gradient {
  background: linear-gradient(135deg, #16263c 0%, #24344d 55%, #c9a56a 100%);
}

/*
 * Homepage hero — optional rotating project photos + navy wash for readability.
 */
.hero-home {
  background-color: #16263c;
  box-shadow: 0 20px 50px -12px rgba(22, 38, 60, 0.35);
}

.hero-home-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide-a,
.hero-slide-b {
  position: absolute;
  inset: 0;
  background-color: #16263c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide-a.is-visible,
.hero-slide-b.is-visible {
  opacity: 1;
}

.hero-home-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(22, 38, 60, 0.92) 0%,
    rgba(22, 38, 60, 0.85) 40%,
    rgba(36, 52, 77, 0.78) 68%,
    rgba(22, 38, 60, 0.55) 100%
  );
}

/* Fallback when no project images are on disk: same navy wash as before */
.hero-home--static {
  background-image: linear-gradient(
    115deg,
    rgba(22, 38, 60, 0.96) 0%,
    rgba(22, 38, 60, 0.88) 42%,
    rgba(36, 52, 77, 0.75) 70%,
    rgba(201, 165, 106, 0.22) 100%
  );
  background-repeat: no-repeat;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide-a,
  .hero-slide-b {
    transition-duration: 0.01ms;
  }
}
