/* ═══════════════════════════════════════════════════════════
   HERO — supports video bg + image bg + advisory diamond
   ═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

/* Background container */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(255, 255, 255, .05), transparent);
}

/* Image background */
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Video background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Gradient scrim overlay */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.60) 0%,
      rgba(0, 0, 0, 0.30) 40%,
      var(--color-bg) 100%);
}

/* ── Flanking Right-Side Tiger Character ─────────────── */
.hero__tiger-flank {
  position: absolute;
  right: max(2vw, calc(50% - 750px));
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: 85%;
  max-height: 820px;
}

.hero__tiger-flank-img {
  height: 100%;
  width: auto;
  max-width: 520px;
  object-fit: contain;
  object-position: bottom right;
  opacity: 0.85;
  filter: contrast(1.08) brightness(0.92) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  /* Fade smoothly into dark background at the base and subtly on left */
  mask-image: linear-gradient(to top, transparent 0%, black 18%, black 100%),
    linear-gradient(to right, transparent 0%, black 15%, black 100%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 18%, black 100%),
    linear-gradient(to right, transparent 0%, black 15%, black 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  animation: tigerFadeIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tigerFadeIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 0.85;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1200px) {
  .hero__tiger-flank {
    right: -20px;
    height: 72%;
    opacity: 0.75;
  }

  .hero__tiger-flank-img {
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .hero__tiger-flank {
    right: -30px;
    height: 55%;
    opacity: 0.7;
  }

  .hero__tiger-flank-img {
    max-width: 340px;
  }
}

@media (max-width: 600px) {
  .hero__tiger-flank {
    display: flex;
    right: -10px;
    bottom: 0;
    height: 40vh;
    max-height: 340px;
    opacity: 0.82;
    z-index: 1;
  }

  .hero__tiger-flank-img {
    height: 100%;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    object-position: bottom right;
    filter: contrast(1.1) brightness(0.9) drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9));
    mask-image: linear-gradient(to top, transparent 0%, black 15%, black 100%),
                linear-gradient(to right, transparent 0%, black 20%, black 100%);
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%, black 100%),
                        linear-gradient(to right, transparent 0%, black 20%, black 100%);
  }
}

@media (max-width: 420px) {
  .hero__tiger-flank {
    right: -15px;
    height: 36vh;
    max-height: 290px;
  }

  .hero__tiger-flank-img {
    max-width: 215px;
  }
}

/* Content area */
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  box-sizing: border-box;
}

/* Animated reveal — staggered entrance */
.hero__content>* {
  opacity: 0;
  transform: translateY(36px);
  animation: heroReveal 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__content>*:nth-child(1) {
  animation-delay: 0.1s;
}

.hero__content>*:nth-child(2) {
  animation-delay: 0.25s;
}

.hero__content>*:nth-child(3) {
  animation-delay: 0.4s;
}

.hero__content>*:nth-child(4) {
  animation-delay: 0.55s;
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* Tag pill */
.hero__tag {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 20px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .97);
  border: 1px solid var(--border-medium);
}

/* Title */
.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(32px, 8vw, 70px);
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

/* Subtitle / Desc */
.hero__desc {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: rgba(255, 255, 255, .85);
  max-width: 680px;
  margin: 0 auto 40px;
  font-weight: 400;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Hero buttons */
.hero__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

/* Hero bottom info */
.hero__bottom {
  position: relative;
  z-index: 2;
  margin-top: 60px;
  text-align: center;
}

.hero__sub-label {
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 4px
}

.hero__sub-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .4)
}

/* Advisory Hero Diamond */
.hero__diamond-gem {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
  width: 200px;
  height: 200px;
  opacity: .25;
}

.hero__diamond-gem img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

/* ── Advisory hero bottom gradient ──────────────────────── */
.hero__bottom-scrim {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 60%, var(--color-bg) 100%);
  pointer-events: none;
  z-index: 1;
}