/* Bloque S01 · Apertura — Sumate */

.sumate-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Fondo del hero — capa de video (bandera del club flameando sobre la obra). inset vertical
   negativo: la sobredimensiona para que el data-parallax NUNCA deje huecos en los bordes.
   El poster va como background de fallback (se ve mientras el video carga y en reduced-motion). */
.sumate-hero__bg {
  position: absolute;
  inset: -16% 0;
  background: #0C0C0A url('/assets/videos/founder-hero-poster.webp') center/cover no-repeat;
}
.sumate-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sumate-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(110% 90% at 28% 20%, rgba(170,246,230,.10), transparent 60%),
    linear-gradient(180deg, rgba(12,12,10,.6) 0%, rgba(12,12,10,.35) 34%, rgba(12,12,10,.9) 84%, #0C0C0A 100%);
}

.sumate-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;   /* fija el ancho para alinear al gutter (igual que el hero de Home) */
  padding-bottom: clamp(40px, 6vw, 72px);
}

.sumate-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font: 500 var(--fs-kicker)/1.4 var(--font-label);
  letter-spacing: var(--ls-kicker);
  text-transform: uppercase;
  color: var(--color-aqua);
}
.sumate-hero__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-red-marine);
  animation: psl-pulse 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

.sumate-hero__headline {
  margin: 0;
  font: 800 var(--fs-hero)/0.92 var(--font-hero);   /* Ferryman */
  letter-spacing: -.01em;
  max-width: 16ch;
  text-wrap: balance;
}
.sumate-hero__accent { color: var(--color-aqua); }

.sumate-hero__subhead {
  margin: 30px 0 0;
  max-width: 54ch;
  font: 400 var(--fs-body-lg)/1.55 var(--font-body);
  color: var(--color-text-muted);
}

.sumate-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* barra separadora — degradado de marca ANIMADO que fluye (mismo que el hero de la Home) */
.sumate-hero__divider {
  position: relative;
  z-index: 2;
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg,
    var(--color-aqua), var(--color-red-marine), var(--color-aqua),
    var(--color-red-marine), var(--color-aqua));
  background-size: 200% 100%;
  animation: psl-grad-flow 5s linear infinite;
}

/* ============================================================
   Coreografía de entrada AL CARGAR (misma cascada del hero de la Home).
   Gateada bajo .psl-motion (la pone motion.js) → sin JS todo queda visible.
   ============================================================ */
.psl-motion .sumate-hero__eyebrow,
.psl-motion .sumate-hero__headline,
.psl-motion .sumate-hero__subhead,
.psl-motion .sumate-hero__ctas {
  opacity: 0;
  animation: psl-hero-in var(--dur-reveal) var(--ease-out-soft) both;
}
.psl-motion .sumate-hero__eyebrow  { animation-delay: 0ms; }
.psl-motion .sumate-hero__headline { animation-delay: 180ms; }
.psl-motion .sumate-hero__subhead  { animation-delay: 270ms; }
.psl-motion .sumate-hero__ctas     { animation-delay: 360ms; }

/* Divider: se dibuja de izq→der al cargar Y sigue fluyendo el degradado — como en la Home */
.psl-motion .sumate-hero__divider {
  transform: scaleX(0);
  transform-origin: left center;
  animation: psl-draw-x var(--dur-reveal) var(--ease-out-expo) 450ms both,
             psl-grad-flow 5s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .sumate-hero__dot { animation: none; }
  /* sin video en reduced-motion: se muestra el poster (background de .sumate-hero__bg) */
  .sumate-hero__video { display: none; }
  .sumate-hero__eyebrow,
  .sumate-hero__headline,
  .sumate-hero__subhead,
  .sumate-hero__ctas {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .sumate-hero__divider { animation: none !important; transform: none !important; }
}
