
/* ABOUT — desvanecimiento alfa de arriba abajo */

@media (prefers-reduced-motion: no-preference) {

  /* Entrada superior */
  .about-page:not(.privilege-page) .about-story > .about-eyebrow,
  .about-page:not(.privilege-page) .about-story > h1 {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 45%,
      transparent 65%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 45%,
      transparent 65%,
      transparent 100%
    );
    -webkit-mask-size: 100% 300%;
    mask-size: 100% 300%;
    animation: bio-top-reveal 2.3s
      cubic-bezier(.45, 0, .25, 1) both;
  }

  .about-page:not(.privilege-page) .about-story > h1 {
    animation-delay: .35s;
  }

  @keyframes bio-top-reveal {
    from {
      -webkit-mask-position: 0 100%;
      mask-position: 0 100%;
    }
    to {
      -webkit-mask-position: 0 0%;
      mask-position: 0 0%;
    }
  }

  /* Párrafos y cierre */
  .about-page:not(.privilege-page) .about-copy > p.bio-reveal,
  .about-page:not(.privilege-page) .about-ending > p.bio-reveal {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 45%,
      transparent 65%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      #000 45%,
      transparent 65%,
      transparent 100%
    );
    -webkit-mask-size: 100% 300%;
    mask-size: 100% 300%;
    animation: bio-soft-reveal 2.8s
      cubic-bezier(.45, 0, .25, 1) both;
  }

  @keyframes bio-soft-reveal {
    from {
      -webkit-mask-position: 0 100%;
      mask-position: 0 100%;
    }
    to {
      -webkit-mask-position: 0 0%;
      mask-position: 0 0%;
    }
  }

  /* Evitar destellos antes de empezar */
  .about-page:not(.privilege-page) .bio-reveal-pending:not(.bio-reveal) {
    visibility: hidden;
  }
}


/* ABOUT — el primer párrafo espera al título */

@media (prefers-reduced-motion: no-preference) {
  .about-page:not(.privilege-page)
  .about-copy > p.about-intro.bio-reveal {
    animation-delay: 1.2s;
  }
}
