#hero {
  position: relative;
  width: 100%;
  height: 100dvh;       /* dynamic — shrinks when Safari address bar appears  */
  min-height: 100vh;    /* fallback for older browsers                        */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

/* ── Background Video ── */
.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

/* ── Fallback Carousel ── */
.hero-carousel-fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.fallback-slide {
  width: 100%;
  height: 100%;
}

/* ── Hero Content ── */
/* Desktop: logo hangs down 7rem from navbar top (navbar is 6rem tall),
   so total offset = 6rem navbar + logo overhang ~ 9rem clearance needed  */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 100%;
  max-width: 900px;
  padding: 9rem 2rem 3rem;
}

.hero-text-pod {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--gold, #e8b84b);
  margin: 0 auto 2rem auto;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── Buttons ── */
.btn-solid {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--gold);
  padding: 0.85rem 2rem;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  display: inline-block;
}
.btn-solid:hover {
  background: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196,136,42,0.35);
}

.btn-ghost {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  background: transparent;
  border: 1px solid rgba(242,237,228,0.35);
  padding: 0.85rem 2rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: rgba(242,237,228,0.7);
  background: rgba(242,237,228,0.06);
  transform: translateY(-2px);
}

/* ── Animation ── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Tablet (769px – 1024px) ── */
@media (max-width: 1024px) {
  .hero-content {
    padding-top: 8rem;
  }
}

/* ── Mobile (≤ 820px) ──
   Navbar drops to hamburger mode; logo shrinks to 4rem (per navbar.css).
   Logo still has top:7rem offset so it hangs ~3rem below its natural position.
   Navbar height = 6rem, logo img = 4rem → bottom of logo ≈ 6rem + 3rem = 9rem.
   Give content 10rem top padding to safely clear it on all phones.          */
@media (max-width: 820px) {
  #hero {
    height: 100svh;                      /* small viewport height — ignores browser chrome */
    min-height: -webkit-fill-available; /* iOS Safari specific fallback                   */
  }

  .hero-content {
    padding: 10rem 1.5rem 4rem;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .hero-content {
    padding: 10rem 1.2rem 3rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }
}

/* ── Very small phones (≤ 380px) ── */
@media (max-width: 380px) {
  .hero-content {
    padding: 9rem 1rem 2.5rem;
  }

  .hero-title {
    font-size: 1.75rem;
  }
}
