/* ==========================================================================
   Hero — gambar full-screen, judul serif besar di kiri bawah,
   indikator "scroll to discover"
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gelap tipis di atas (agar nav terbaca) dan di bawah (agar judul terbaca) */
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(var(--ink-rgb) / 0.45) 0%,
    rgb(var(--ink-rgb) / 0.08) 26%,
    rgb(var(--ink-rgb) / 0) 46%,
    rgb(var(--ink-rgb) / 0.55) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 9vh;
  box-sizing: border-box;
}

.hero__title {
  max-width: 900px;
  margin: 0 0 30px;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5.2vw, 4.5rem);
  line-height: 1.14;
  color: #fff;
  text-shadow: 0 2px 26px rgb(var(--ink-rgb) / 0.35);
}

/* --- Indikator scroll --- */
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.hero__scroll-dot {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgb(var(--gold-rgb) / 0.22);
  animation: hero-scroll-pulse 2.2s ease-in-out infinite;
}

.hero__scroll-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.9);
  transition: color 0.3s ease;
}

.hero__scroll:hover .hero__scroll-label {
  color: var(--gold);
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(3px);
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-dot {
    animation: none;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: 70vh;
    min-height: 70svh;
  }

  .hero__inner {
    padding-bottom: 8vh;
  }

  .hero__title {
    margin-bottom: 24px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 62vh;
    min-height: 62svh;
  }

  .hero__inner {
    padding-bottom: 6vh;
  }
}
