/* ===================================================================
   Curved hero shell — video frame + slow text reveal
   =================================================================== */

.hero.hero--curved {
  position: relative;
  min-height: auto;
  padding: 10px;
  background: #ffffff;
  color: #ffffff;
  overflow: visible;
}

@media (min-width: 769px) {
  .hero.hero--curved {
    padding: 12px 14px 16px;
  }
}

@media (min-width: 1281px) {
  .hero.hero--curved {
    padding: 14px 18px 18px;
  }
}

.hero--curved .hero-stage {
  width: 100%;
  max-width: none;
  margin: 0 auto;
}

.hero--curved .hero-shell {
  position: relative;
  isolation: isolate;
  min-height: min(90vh, 940px);
  border-radius: clamp(40px, 6.5vw, 80px);
  overflow: hidden;
  background: #0a1018;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 24px 80px rgba(17, 26, 74, 0.12);
}

.hero--curved .hero-shell-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--curved .hero-shell-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
}

.hero--curved .hero-shell-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.42) 0%, rgba(8, 12, 20, 0.18) 34%, rgba(8, 12, 20, 0.55) 100%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(0, 0, 0, 0.35), transparent 62%);
}

/* ── Hero content ── */
.hero--curved .hero-shell-body {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding:
    clamp(120px, 18vh, 180px)
    clamp(20px, 4vw, 48px)
    clamp(28px, 5vw, 52px);
}

.hero--curved .hero-carousel-wrap {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(760px, 100%);
  max-width: 100%;
  touch-action: pan-y;
}

.hero--curved .hero-slide-content {
  text-align: left;
  align-items: flex-start;
}

.hero--curved .hero-slide-kicker,
.hero--curved .hero-slide-title,
.hero--curved .hero-slide-lead,
.hero--curved .hero-accent {
  color: #ffffff;
}

.hero--curved .hero-slide-kicker {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero--curved .hero-slide h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.8vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  max-width: 22ch;
}

.hero--curved .hero-accent {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #ffffff;
}

.hero--curved .hero-slide-lead {
  max-width: 520px;
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

/* Slow reveal */
.hero--curved .hero-slide-content > * {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
}

.hero--curved .hero-slide.is-active .hero-slide-content > *,
.hero--curved.in .hero-slide.is-active .hero-slide-content > * {
  animation: heroCurvedReveal 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero--curved .hero-slide.is-entering .hero-slide-content > * {
  animation: heroCurvedReveal 1.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero--curved .hero-slide.is-exiting .hero-slide-content > * {
  animation: heroCurvedHide 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero--curved .hero-slide-kicker { animation-delay: 0.08s !important; }
.hero--curved .hero-slide h1 { animation-delay: 0.22s !important; }
.hero--curved .hero-slide-lead { animation-delay: 0.38s !important; }

@keyframes heroCurvedReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes heroCurvedHide {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-14px);
    filter: blur(8px);
  }
}

.hero--curved .hero-slide.is-exiting .hero-slide-content,
.hero--curved .hero-slide.is-entering .hero-slide-content,
.hero--curved.in .hero-slide.is-active .hero-slide-content {
  animation: none !important;
  clip-path: none !important;
  filter: none !important;
}

.hero--curved .hero-dot {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.hero--curved .hero-dot.is-active {
  background: #ffffff;
  transform: none;
}

.hero--curved .hero-actions {
  position: relative;
  left: auto;
  bottom: auto;
  width: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  opacity: 0;
  animation: heroCurvedReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.hero--curved .hero-cta {
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.hero--curved .hero-cta--primary {
  background: #ffffff;
  color: #111a4a;
  border: 1px solid #ffffff;
}

.hero--curved .hero-cta--primary:hover {
  background: rgba(255, 255, 255, 0.92);
  transform: translateY(-1px);
}

.hero--curved .hero-cta--secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.42);
}

.hero--curved .hero-cta--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 768px) {
  .hero--curved .hero-shell {
    min-height: min(86vh, 780px);
    border-radius: 36px;
  }

  .hero--curved .hero-shell-body {
    padding-top: 108px;
  }

  .hero--curved .hero-slide h1 {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero--curved .hero-slide-content > *,
  .hero--curved .hero-actions {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none !important;
  }
}
