/* Home hero only — 90vh */
.hero:has(.hp) {
  height: 90vh;
  max-height: calc(100dvh - 120px);
  min-height: 0;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 92% -8%, rgba(19, 99, 223, 0.08), transparent 58%),
    radial-gradient(700px 480px at 0% 100%, rgba(6, 40, 61, 0.05), transparent 62%),
    #ffffff;
}

.hero:has(.hp)::before { display: none; }

.hero:has(.hp) .hero-grid {
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 16px 0 20px;
}

.hero:has(.hp) .hero-kicker { color: #1363DF; }
.hero:has(.hp) .hero-lead { color: #06283D; }

.hero:has(.hp) .hero-pills span {
  background: #ffffff;
  border-color: transparent;
  color: #06283D;
}

.hero:has(.hp) .btn-outline {
  background: #ffffff;
  border-color: #1363DF;
}

.hero:has(.hp) .hero-visual {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
}

.hp {
  width: min(100%, 440px);
  height: min(72%, 380px);
  max-height: 380px;
  margin-left: auto;
}

.hp-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 86% 8%, rgba(19, 99, 223, 0.22), transparent 42%),
    linear-gradient(165deg, #1363DF 0%, #06283D 100%);
  box-shadow:
    0 28px 60px -28px rgba(6, 40, 61, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hp-shot {
  position: absolute;
  inset: 12px 12px 48px;
  margin: 0;
  display: block;
  padding: 0;
  background: #0b1220;
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.28);
}

.hp-shot:first-child { opacity: 1; }

.hp-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hp-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}

.hp-caption {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.hp-caption b {
  font-family: var(--font-body, Manrope, sans-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #fff;
  margin-right: 8px;
}

.hp-dots {
  display: flex;
  gap: 7px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hp-dots li {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: width 0.4s ease, background 0.4s ease;
}

.hp-dots li.is-on {
  background: #1363DF;
  width: 18px;
}

@media (max-width: 900px) {
  .hero:has(.hp) {
    height: auto;
    max-height: none;
    min-height: 0;
  }
  .hero:has(.hp) .hero-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: 18px;
    padding: 16px 0 24px;
  }
  .hp {
    width: min(100%, 360px);
    height: 280px;
    max-height: 280px;
    margin: 0 auto;
  }
  .hp-caption { font-size: 18px; }
}
