Write a sequence for me?

Hello. I’m totally fine on hardware, soldering and initial configurations, but I’m incredibly dense when t comes to writing any patterns. I attempted to use AI to help at one point and it was helpful in writing some code that I was then able to edit for it to actually work, but this is a bad stopgap for me on a project with a deadline.

I have a 2832 strand that has a hall sensor trigger. I have everything setup, the trigger does advance my pattern, but I need to make a completely new pattern for a client, and I just can’t get it done.

In theory it’s quite simple, but I can’t make it happen!

When nothing is triggered by the hall sensor, all LEDS should be static amber at 50% intensity.
Upon first trigger:

change to red and step in 10% intensity bumps to 100%
then orange same increment
then yellow same increment
then green
then blue
then purple

After that a flashing rainbow for 10 seconds and then fade back to beginning amber look.

The sensor triggers need to be within 5 seconds or the whole loop just resets to amber also.

Help please!