/* TOP — full-bleed hero with auto cross-fade (BELLROG-like) */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #354438;
}

.hero-viewport {
  position: relative;
  width: 100%;
  min-height: min(85vh, 820px);
  aspect-ratio: 1376 / 768;
  overflow: hidden;
}

@media (max-width: 767px) {
  .hero-viewport {
    min-height: 100svh;
    aspect-ratio: auto;
    height: 100svh;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide picture,
.hero-slide-img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide-img {
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* centered copy over images */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.25rem 4.5rem;
  background: linear-gradient(
    180deg,
    rgba(53, 68, 56, 0.35) 0%,
    rgba(53, 68, 56, 0.55) 45%,
    rgba(53, 68, 56, 0.72) 100%
  );
  pointer-events: none;
  text-align: center;
}

.hero-copy {
  max-width: 44rem;
  color: #F9F6F0;
}

.hero-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(249, 246, 240, 0.9);
}

.hero-title {
  margin: 0 0 1.25rem;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: #F9F6F0;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  line-height: 1.9;
  color: rgba(249, 246, 240, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  pointer-events: auto;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.75rem;
  border-radius: 9999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn--primary {
  background: #C5A059;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-btn--primary:hover {
  background: #A8833F;
  transform: translateY(-2px);
}

.hero-btn--secondary {
  background: rgba(249, 246, 240, 0.95);
  color: #4A5D4E;
}

.hero-btn--secondary:hover {
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}
