/* =========================================================
   THE RIFA EXPERIENCE — SECTION 07

   One cinematic visual statement.
   No cards.
   No timeline.
   No grid.
========================================================= */
/* Mobile */

.navbar__mobile-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.menu-toggle{
    width:44px;
    height:44px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
}

.menu-toggle span{
    width:24px;
    height:2px;
    background:#fff;
    border-radius:5px;
}

/* Desktop */

@media(min-width:900px){

    .navbar__mobile-actions{
        display:none;
    }

}
.experience-wrapper {
    

    height:220vh;

    position:relative;

    background: #081C3B;

}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience{

    position:sticky;

    top:0;

    height:100vh;

}


/* =========================================================
   VIDEO
========================================================= */

.experience__media {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transform: scale(1.02);

}


/* =========================================================
   CINEMATIC SCRIM
========================================================= */

.experience__scrim {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:

        linear-gradient(
            90deg,
            rgba(8, 28, 59, .82) 0%,
            rgba(8, 28, 59, .45) 40%,
            rgba(8, 28, 59, .12) 75%,
            rgba(8, 28, 59, .32) 100%
        ),

        linear-gradient(
            0deg,
            rgba(8, 28, 59, .75) 0%,
            transparent 35%,
            rgba(8, 28, 59, .25) 100%
        );

    pointer-events: none;

}


/* =========================================================
   CONTENT
========================================================= */

.experience__content {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    padding: 100px 6vw;

}


/* =========================================================
   EYEBROW
========================================================= */

.experience__eyebrow {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 45px;

    color: #ffffff;

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: 5px;

    text-transform: uppercase;

}


/* yellow line */

.experience__eyebrow::before {

    content: "";

    width: 70px;

    height: 2px;

    background: #FFC83D;

}


/* =========================================================
   MAIN WORDS
========================================================= */

.experience__words {

    display: flex;

    flex-direction: column;

    width: max-content;

}


/* =========================================================
   WORD
========================================================= */
.experience__word.is-active{

    opacity:1;

    transform:translateY(0);

    filter:blur(0);

}
.experience__word {

    display: block;

    margin: 0;

    color: #fff;

    font-family: var(--font-heading);

    font-size: clamp(5rem, 10vw, 10.5rem);

    font-weight: 900;

    line-height: .78;

    letter-spacing: -7px;

    text-transform: uppercase;

    text-shadow: 0 10px 50px rgba(0,0,0,.25);

    /* Hidden initially */

    opacity: 0;

    transform: translateY(120px);

    filter: blur(12px);

    transition:

        opacity .8s ease,

        transform .8s ease,

        filter .8s ease;

}

.experience__eyebrow{

    opacity:0;

    transform:translateY(40px);

    transition:.6s;

}

.experience__eyebrow.is-active{

    opacity:1;

    transform:translateY(0);

}
.experience__footer{

    opacity:0;

    transform:translateY(60px);

    transition:.7s;

}

.experience__footer.is-active{

    opacity:1;

    transform:translateY(0);

}

/* Give the words a slight editorial offset */

.experience__word:nth-child(2) {

    margin-left: 8vw;

}


.experience__word:nth-child(3) {

    margin-left: 16vw;

}


/* =========================================================
   FOOTER
========================================================= */

.experience__footer {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 50px;

    margin-top: 70px;

    max-width: 1100px;

}


/* =========================================================
   SENTENCE
========================================================= */

.experience__sentence {

    max-width: 570px;

    margin: 0;

    color: #D7E3F2;

    font-size: 1.05rem;

    line-height: 1.8;

}


/* =========================================================
   CTA
========================================================= */

.experience__cta {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 15px;

    padding: 17px 25px;

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(8,28,59,.28);

    backdrop-filter: blur(10px);

    color: #ffffff;

    font-size: .75rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    text-decoration: none;

    transition:

        background .35s ease,

        color .35s ease,

        border-color .35s ease,

        transform .35s ease;

}


.experience__cta::after {

    content: "→";

    font-size: 1.2rem;

    line-height: 1;

    transition: transform .35s ease;

}


.experience__cta:hover {

    background: #FFC83D;

    border-color: #FFC83D;

    color: #081C3B;

    transform: translateY(-3px);

}


.experience__cta:hover::after {

    transform: translateX(5px);

}


/* =========================================================
   DESKTOP CINEMATIC DETAIL
========================================================= */

@media (min-width: 1200px) {

    .experience__word:nth-child(2) {

        margin-left: 7vw;

    }

    .experience__word:nth-child(3) {

        margin-left: 14vw;

    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .experience {

        min-height: 800px;

        height: 800px;

    }


    .experience__content {

        padding: 80px 6vw;

    }


    .experience__eyebrow {

        margin-bottom: 35px;

        letter-spacing: 4px;

    }


    .experience__word {

        font-size: clamp(4rem, 11vw, 7rem);

        letter-spacing: -4px;

    }


    .experience__word:nth-child(2) {

        margin-left: 6vw;

    }


    .experience__word:nth-child(3) {

        margin-left: 12vw;

    }


    .experience__footer {

        align-items: flex-start;

        flex-direction: column;

        gap: 30px;

        margin-top: 55px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .experience {

        min-height: 760px;

        height: 760px;

    }


    .experience__scrim {

        background:

            linear-gradient(
                90deg,
                rgba(8,28,59,.78),
                rgba(8,28,59,.42)
            ),

            linear-gradient(
                0deg,
                rgba(8,28,59,.90),
                transparent 55%
            );

    }


    .experience__content {

        padding: 70px 22px;

    }


    .experience__eyebrow {

        gap: 10px;

        margin-bottom: 35px;

        font-size: .58rem;

        letter-spacing: 3px;

    }


    .experience__eyebrow::before {

        width: 38px;

        height: 1px;

    }


    .experience__word {

        font-size: clamp(3.2rem, 16vw, 5rem);

        line-height: .82;

        letter-spacing: -3px;

    }


    .experience__word:nth-child(2) {

        margin-left: 7vw;

    }


    .experience__word:nth-child(3) {

        margin-left: 14vw;

    }


    .experience__footer {

        margin-top: 45px;

        gap: 25px;

    }


    .experience__sentence {

        max-width: 340px;

        font-size: 1.25rem;

        line-height: 1.7;

    }


    .experience__cta {

        padding: 15px 20px;

        font-size: .65rem;

        letter-spacing: 1.5px;

    }

}