/* SM Luxury Hero v4 — Succession reveal + gold mouse glow */

.smhero-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
  cursor: none;
}

/* ── Video / image ── */
.smhero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 2.4s ease;
  z-index: 1;
}
.smhero-video.smhero-ready { opacity: 1; }

.smhero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.4s ease;
  z-index: 1;
}
.smhero-bg-image.smhero-ready { opacity: 1; }

/* ── Overlays ── */
.smhero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  transition: background 3s ease;
  z-index: 2;
}
.smhero-overlay.smhero-lifted { background: rgba(0,0,0,0.25); }

.smhero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.55) 100%);
  z-index: 3;
  pointer-events: none;
}

/* ── Particles ── */
.smhero-particles {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

/* ── Gold mouse glow layers ── */
.smhero-gold-glow-wide,
.smhero-gold-glow-tight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.4s ease;
}

/* ── Custom cursor dot ── */
.smhero-cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: rgba(212,175,55,0.9);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform 0.22s cubic-bezier(0.22,1,0.36,1), opacity 0.3s;
  mix-blend-mode: screen;
  opacity: 0;
}
.smhero-cursor.smhero-cursor-active { opacity: 1; }
.smhero-cursor.smhero-cursor-btn {
  transform: translate(-50%,-50%) scale(2.4);
  opacity: 0.55;
}

/* ── Content ── */
.smhero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

/* ── SUCCESSION: G mark ── */
.smhero-logo-gmark {
  display: block;
  width: 150px;
  max-width: 35vw;
  margin: 0 auto;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
              transform 1.1s cubic-bezier(0.16,1,0.3,1);
  mix-blend-mode: screen;
}
.smhero-logo-gmark.smhero-show { opacity: 1; transform: scale(1); }

/* ── SUCCESSION: wordmark ── */
.smhero-logo-wordmark {
  display: block;
  width: 480px;
  max-width: 82vw;
  margin-top: 18px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
              transform 1.1s cubic-bezier(0.16,1,0.3,1);
  mix-blend-mode: screen;
}
.smhero-logo-wordmark.smhero-show { opacity: 1; transform: translateY(0); }

/* fallback single logo */
.smhero-logo {
  display: block;
  width: 480px;
  max-width: 82vw;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 1s cubic-bezier(0.16,1,0.3,1),
              transform 1.1s cubic-bezier(0.16,1,0.3,1);
  mix-blend-mode: screen;
}
.smhero-logo.smhero-show { opacity: 1; transform: translateY(0); }

/* ── Dividers ── */
.smhero-line {
  width: 0;
  height: 0.5px;
  background: rgba(255,255,255,0.22);
  margin: 18px 0 16px;
  transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}
.smhero-line.smhero-show { width: 420px; }
.smhero-line-enter { background: linear-gradient(90deg, transparent, rgba(212,175,55,0.35), transparent); }

/* ── Tagline ── */
.smhero-tagline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 13px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  transition: color 1s ease, letter-spacing 1.1s ease;
}
.smhero-tagline.smhero-show {
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.28em;
}

/* ── Nav links ── */
.smhero-nav {
  display: flex;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.smhero-nav a {
  font-size: 18px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.9s ease,
              transform 0.9s cubic-bezier(0.16,1,0.3,1),
              color 0.35s ease,
              text-shadow 0.35s ease;
}
.smhero-nav a.smhero-show {
  opacity: 1;
  transform: translateY(0);
  color: rgba(255,255,255,0.65);
}
.smhero-nav a:hover {
  color: rgba(212,175,55,0.95);
  text-shadow: 0 0 18px rgba(212,175,55,0.45);
}

/* ── Enter button ── */
.smhero-enter-wrap {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 1.1s cubic-bezier(0.22,1,0.36,1),
              transform 1.1s cubic-bezier(0.22,1,0.36,1);
}
.smhero-enter-wrap.smhero-show { opacity: 1; transform: translateY(0); }

.smhero-enter-btn {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 14px 46px;
  background: transparent;
  border: 1px solid rgba(249,249,249,0.18);
  color: rgba(249,249,249,0.72);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 9px;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: none;
  min-width: 140px;
  min-height: 46px;
  transition: border-color 0.45s ease,
              color 0.45s ease,
              box-shadow 0.5s ease;
}
.smhero-enter-btn:hover,
.smhero-enter-btn:focus {
  border-color: rgba(212,175,55,0.88);
  color: #000;
  box-shadow: 0 0 28px rgba(212,175,55,0.2), 0 0 60px rgba(212,175,55,0.08);
  outline: none;
}

/* Liquid gold fill */
.smhero-enter-fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #B8860B 0%, #D4AF37 40%, #F0D060 65%, #D4AF37 100%);
  transform-origin: 50% 50%;
  transform: scale(0);
  transition: transform 0.45s cubic-bezier(0.55,0,0.45,1);
  pointer-events: none;
}
.smhero-enter-btn:hover .smhero-enter-fill,
.smhero-enter-btn:focus .smhero-enter-fill {
  transform: scale(5);
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.smhero-enter-label {
  position: relative;
  z-index: 1;
  display: block;
}

/* ── Scroll hint ── */
.smhero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.smhero-scroll.smhero-show { opacity: 1; }
.smhero-scroll span {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.28);
  text-transform: uppercase;
}
.smhero-scroll-line {
  width: 0.5px;
  height: 30px;
  background: rgba(255,255,255,0.2);
  animation: smheroScrollPulse 2.2s ease-in-out infinite;
}
@keyframes smheroScrollPulse {
  0%,100% { opacity:0.2; transform:scaleY(1); }
  50%      { opacity:0.55; transform:scaleY(1.3); }
}

/* Elementor HTML widget bleed fix */
.elementor-widget-html .smhero-wrap {
  margin-left:  calc(-1 * var(--e-column-margin-left, 0px));
  margin-right: calc(-1 * var(--e-column-margin-right, 0px));
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .smhero-logo-gmark,
  .smhero-logo-wordmark,
  .smhero-logo,
  .smhero-nav a      { transition: opacity 0.3s; transform: none !important; }
  .smhero-line       { transition: width 0.3s; }
  .smhero-tagline    { transition: color 0.3s; }
  .smhero-particles  { display: none; }
  .smhero-scroll-line { animation: none; opacity: 0.35; }
  .smhero-gold-glow-wide,
  .smhero-gold-glow-tight,
  .smhero-cursor     { display: none; }
}

@media (max-width: 768px) {
  .smhero-logo-gmark    { width: 80px; }
  .smhero-logo-wordmark { width: 88vw; }
  .smhero-line.smhero-show { width: 78vw; }
  .smhero-nav { gap: 20px; }
  .smhero-nav a { font-size: 9px; }
  .smhero-gold-glow-wide,
  .smhero-gold-glow-tight,
  .smhero-cursor { display: none; }
  .smhero-wrap { cursor: auto; }
  .smhero-enter-btn { cursor: pointer; }
}
