/* ===== HOME HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ls-navy-deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2a3a 0%, #0a1520 40%, #15232f 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.05) 0%, transparent 50%);
}
/* YouTube Video Background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100vh;
  min-width: 177.78vh; /* 16:9 inverse */
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(15,26,38,0.75) 0%, rgba(10,21,32,0.65) 50%, rgba(15,26,38,0.75) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(201,169,110,0.03)' stroke-width='0.5'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 860px;
  padding: 0 24px;
  animation: heroFadeIn 1.2s ease-out;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--ls-gold);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--ls-white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.hero h1 strong { font-weight: 600; color: var(--ls-gold); }
.hero-sub {
  font-size: 1rem;
  color: #ffffff;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
  font-weight: 300;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
}
.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 6px 16px;
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: 2px;
  font-weight: 500;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  display: block;
  width: 24px; height: 40px;
  border: 2px solid rgba(201,169,110,0.4);
  border-radius: 12px;
  position: relative;
}
.hero-scroll span::after {
  content: '';
  width: 3px; height: 8px;
  background: var(--ls-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 0.9rem; }
  .hero-tags { gap: 6px; }
  .hero-tag { font-size: 0.65rem; padding: 5px 12px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; }
  .hero-scroll { bottom: 24px; }
}

/* Compact hero for inner pages that use the image-style hero */
.hero.hero-sm {
  height: auto;
  min-height: 0;
  padding: calc(var(--header-offset) + 63px) 0 90px;
}
.hero.hero-sm h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero.hero-sm .hero-sub { margin-bottom: 0; }

/* Home hero: content, photo and video start below the fixed header, and the hero grows with its
   content on short screens instead of cropping it */
.hero:not(.hero-sm) { padding: calc(var(--header-offset) + 40px) 0 104px; }
.hero:not(.hero-sm) > .hero-media,
.hero:not(.hero-sm) > .hero-overlay { top: var(--header-offset); }

/* Home hero photo (LCP image) — replaces the old background video */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
/* Muted loop over the photo, loaded and faded in by js/main.js */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video.is-playing { opacity: 1; }
.hero-video-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15,26,38,0.55);
  border: 1px solid rgba(201,169,110,0.5);
  color: var(--ls-gold-light);
  cursor: pointer;
}
.hero-video-toggle:hover { color: var(--ls-white); border-color: var(--ls-gold); }
.hero-video-toggle:focus-visible { outline: 2px solid var(--ls-gold); outline-offset: 3px; }
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle .icon-play, .hero-video-toggle.is-paused .icon-pause { display: none; }
.hero-video-toggle.is-paused .icon-play { display: block; }
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-video-toggle { display: none; }
}
@media (max-width: 768px) {
  .hero.hero-sm { padding: calc(var(--header-offset) + 28px) 0 60px; }
}
