/* Hero typography + video — Bribal */

.hero-title {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  flex-direction: column;
  gap: 0.15em;
}

.hero-title-line {
  display: block;
}

.hero-title-line--accent {
  color: var(--gold-bright, #e8d4a8);
  font-weight: 500;
  font-style: normal;
}

.hero-media {
  overflow: hidden;
  background: #060508 center / cover no-repeat;
  /* poster fallback when video is hidden */
  background-image: url("assets/hero.jpg");
}

/* Full-bleed video cover (same as former img) */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  border: 0;
  /* No Ken Burns — motion is in the video itself */
  animation: none;
  transform: none;
  pointer-events: none;
}

/* Soft light sweep over video */
@keyframes hero-shine {
  0% {
    transform: translateX(-120%) skewX(-18deg);
    opacity: 0;
  }
  12% {
    opacity: 0.28;
  }
  28% {
    transform: translateX(120%) skewX(-18deg);
    opacity: 0;
  }
  100% {
    transform: translateX(120%) skewX(-18deg);
    opacity: 0;
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 40%,
    rgba(232, 212, 168, 0.1) 48%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(232, 212, 168, 0.08) 52%,
    transparent 60%,
    transparent 100%
  );
  animation: hero-shine 32s ease-in-out infinite;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

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

  .hero-media {
    background-image: url("assets/hero.jpg");
    background-size: cover;
    background-position: center 40%;
  }

  .hero-media::after {
    animation: none;
    opacity: 0;
  }
}

/* Hero title v2 */
.hero-title {
  font-family: "Cinzel Decorative", "Cinzel", Georgia, serif;
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-shadow:
    0 2px 0 rgba(6, 5, 8, 0.9),
    0 8px 28px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(196, 165, 116, 0.2);
  position: relative;
  padding-bottom: 0.55em;
}

.hero-title-line--accent {
  font-weight: 900;
  letter-spacing: 0.12em;
  background: linear-gradient(
    105deg,
    #a88652 0%,
    #e8d4a8 35%,
    #c4a574 55%,
    #f0e2c0 75%,
    #a88652 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55));
}

.hero-title::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 2px;
  margin-top: 0.65em;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #c4a574 20%,
    #e8d4a8 50%,
    #c4a574 80%,
    transparent 100%
  );
  opacity: 0.9;
}
