/* ==========================================================
   AL BADI V9
   DESKTOP STICKY HEADER + PREMIUM FOOTER
   ========================================================== */


/* ==========================================================
   DESKTOP STICKY HEADER
   ========================================================== */

@media (min-width: 981px) {

    .albadi-header-stage {
        position: sticky !important;
        top: 0 !important;

        z-index: 1000 !important;

        width: 100% !important;

        transition:
            background-color .28s ease,
            box-shadow .28s ease,
            transform .28s ease !important;
    }

    .albadi-header-stage .site-header.albadi-header-v7j {
        transition:
            min-height .28s ease,
            padding .28s ease,
            background-color .28s ease,
            border-color .28s ease,
            box-shadow .28s ease !important;
    }

    body.albadi-header-scrolled
    .albadi-header-stage {
        background:
            rgba(255,255,255,.94) !important;

        box-shadow:
            0 14px 38px rgba(16,38,34,.10) !important;

        -webkit-backdrop-filter:
            blur(18px) saturate(145%) !important;

        backdrop-filter:
            blur(18px) saturate(145%) !important;
    }

    body.albadi-header-scrolled
    .albadi-header-stage
    .site-header.albadi-header-v7j {
        border-color:
            rgba(18,51,45,.07) !important;
    }

    body.albadi-header-scrolled
    .albadi-header-stage
    .brand-mark {
        transform:
            scale(.94) !important;
    }

    .albadi-header-stage
    .brand-mark {
        transition:
            transform .28s ease !important;
    }

    .albadi-header-stage
    .desktop-nav a {
        position: relative !important;
    }

    .albadi-header-stage
    .desktop-nav a::after {
        content: "" !important;

        position: absolute !important;

        left: 50% !important;
        right: 50% !important;
        bottom: -8px !important;

        height: 2px !important;

        border-radius: 99px !important;

        background:
            #ff6b21 !important;

        transition:
            left .22s ease,
            right .22s ease !important;
    }

    .albadi-header-stage
    .desktop-nav a:hover::after,
    .albadi-header-stage
    .desktop-nav a[aria-current="page"]::after {
        left: 0 !important;
        right: 0 !important;
    }

}


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

.site-footer.albadi-footer-v9 {
    position: relative !important;

    overflow: hidden !important;

    margin: 0 !important;

    padding:
        0 !important;

    color:
        rgba(255,255,255,.86) !important;

    background:
        #071b18 !important;

    isolation:
        isolate !important;
}


/* ambient light */

.albadi-footer-glow {
    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(12px);

    opacity: .16;

    z-index: -1;
}

.albadi-footer-glow--one {
    top: -300px;
    right: -160px;

    background:
        radial-gradient(
            circle,
            rgba(255,107,33,.80) 0%,
            rgba(255,107,33,.12) 43%,
            transparent 70%
        );

    animation:
        albadiFooterFloatOne
        12s ease-in-out infinite alternate;
}

.albadi-footer-glow--two {
    bottom: -340px;
    left: 8%;

    background:
        radial-gradient(
            circle,
            rgba(72,174,134,.72) 0%,
            rgba(72,174,134,.10) 44%,
            transparent 70%
        );

    animation:
        albadiFooterFloatTwo
        15s ease-in-out infinite alternate;
}

@keyframes albadiFooterFloatOne {
    from {
        transform: translate3d(0,0,0);
    }

    to {
        transform: translate3d(-70px,55px,0);
    }
}

@keyframes albadiFooterFloatTwo {
    from {
        transform: translate3d(0,0,0);
    }

    to {
        transform: translate3d(75px,-45px,0);
    }
}


/* shell */

.albadi-footer-shell {
    position: relative;

    width:
        min(1500px, calc(100% - 72px));

    margin:
        0 auto;

    padding:
        76px 0 24px;
}


/* intro */

.albadi-footer-intro {
    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        auto;

    align-items: end;

    gap: 56px;

    padding-bottom:
        54px;
}

.albadi-footer-eyebrow {
    display: block;

    margin-bottom:
        15px;

    color:
        #ff8a4d;

    font-size:
        11px;

    font-weight:
        800;

    letter-spacing:
        .16em;

    text-transform:
        uppercase;
}

.albadi-footer-intro h2 {
    max-width:
        720px;

    margin:
        0;

    color:
        #fff;

    font-family:
        Georgia, "Times New Roman", serif;

    font-size:
        clamp(44px,5vw,78px);

    font-weight:
        500;

    line-height:
        .92;

    letter-spacing:
        -.055em;
}

.albadi-footer-intro h2 em {
    display: block;

    color:
        rgba(255,255,255,.54);

    font-style:
        normal;
}

.albadi-footer-intro__copy > p {
    max-width:
        620px;

    margin:
        24px 0 0;

    color:
        rgba(255,255,255,.60);

    font-size:
        14px;

    line-height:
        1.75;
}


/* plan CTA */

.albadi-footer-plan {
    display: flex;

    align-items: center;

    gap: 28px;

    min-width:
        290px;

    padding:
        17px 18px 17px 22px;

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

    border-radius:
        999px;

    color:
        #fff;

    text-decoration:
        none;

    background:
        rgba(255,255,255,.055);

    transition:
        transform .25s ease,
        background-color .25s ease,
        border-color .25s ease;
}

.albadi-footer-plan span {
    display: flex;

    flex-direction: column;

    gap: 2px;
}

.albadi-footer-plan small {
    color:
        rgba(255,255,255,.48);

    font-size:
        10px;

    text-transform:
        uppercase;

    letter-spacing:
        .08em;
}

.albadi-footer-plan strong {
    color:
        #fff;

    font-size:
        14px;
}

.albadi-footer-plan b {
    display: grid;

    place-items: center;

    width: 46px;
    height: 46px;

    margin-left: auto;

    border-radius:
        50%;

    background:
        #ff6b21;

    color:
        #fff;

    font-size:
        18px;

    transition:
        transform .25s ease;
}

.albadi-footer-plan:hover {
    transform:
        translateY(-3px);

    background:
        rgba(255,255,255,.085);

    border-color:
        rgba(255,255,255,.24);
}

.albadi-footer-plan:hover b {
    transform:
        rotate(45deg);
}


/* divider */

.albadi-footer-divider {
    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.04),
            rgba(255,255,255,.18),
            rgba(255,255,255,.04)
        );
}


/* body grid */

.albadi-footer-grid {
    display: grid;

    grid-template-columns:
        minmax(340px,1.25fr)
        minmax(420px,1fr);

    gap:
        clamp(70px,10vw,160px);

    padding:
        56px 0 54px;
}


/* brand */

.albadi-footer-logo {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    color:
        #fff;

    text-decoration:
        none;
}

.albadi-footer-logo__mark {
    display: grid;

    place-items: center;

    width: 49px;
    height: 49px;

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

    border-radius:
        50%;

    background:
        rgba(255,255,255,.06);

    color:
        #ff8a4d;

    font-size:
        12px;

    font-weight:
        900;

    letter-spacing:
        .06em;
}

.albadi-footer-logo > span:last-child {
    display: flex;

    flex-direction: column;
}

.albadi-footer-logo strong {
    color:
        #fff;

    font-size:
        20px;

    line-height:
        1;
}

.albadi-footer-logo small {
    margin-top:
        5px;

    color:
        rgba(255,255,255,.48);

    font-size:
        10px;

    letter-spacing:
        .14em;

    text-transform:
        uppercase;
}

.albadi-footer-brand > p {
    max-width:
        520px;

    margin:
        25px 0 30px;

    color:
        rgba(255,255,255,.56);

    font-size:
        13px;

    line-height:
        1.7;
}


/* contact cards */

.albadi-footer-contact {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap:
        10px;
}

.albadi-footer-contact > a,
.albadi-footer-contact > div {
    display: flex;

    flex-direction: column;

    gap: 7px;

    min-width: 0;

    padding:
        16px;

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

    border-radius:
        12px;

    background:
        rgba(255,255,255,.035);

    color:
        #fff;

    text-decoration:
        none;

    transition:
        transform .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}

.albadi-footer-contact > a:hover {
    transform:
        translateY(-3px);

    border-color:
        rgba(255,107,33,.42);

    background:
        rgba(255,255,255,.065);
}

.albadi-footer-contact small {
    color:
        rgba(255,255,255,.42);

    font-size:
        9px;

    font-weight:
        800;

    letter-spacing:
        .08em;

    text-transform:
        uppercase;
}

.albadi-footer-contact strong {
    overflow-wrap:
        anywhere;

    color:
        rgba(255,255,255,.88);

    font-size:
        11px;

    line-height:
        1.4;
}


/* navigation */

.albadi-footer-nav {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap:
        60px;
}

.albadi-footer-nav > div {
    display: flex;

    flex-direction: column;

    align-items:
        flex-start;

    gap:
        13px;
}

.albadi-footer-nav strong {
    margin-bottom:
        7px;

    color:
        rgba(255,255,255,.40);

    font-size:
        10px;

    font-weight:
        800;

    letter-spacing:
        .14em;

    text-transform:
        uppercase;
}

.albadi-footer-nav a {
    position: relative;

    color:
        rgba(255,255,255,.82);

    font-size:
        13px;

    text-decoration:
        none;

    transition:
        color .2s ease,
        transform .2s ease;
}

.albadi-footer-nav a::before {
    content: "";

    position: absolute;

    top: 50%;
    left: -14px;

    width: 5px;
    height: 5px;

    border-radius:
        50%;

    background:
        #ff6b21;

    opacity: 0;

    transform:
        translate(-5px,-50%);

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.albadi-footer-nav a:hover {
    color:
        #fff;

    transform:
        translateX(8px);
}

.albadi-footer-nav a:hover::before {
    opacity: 1;

    transform:
        translate(0,-50%);
}


/* bottom */

.albadi-footer-bottom {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

    padding:
        22px 0;

    border-top:
        1px solid rgba(255,255,255,.08);

    color:
        rgba(255,255,255,.42);

    font-size:
        10px;
}

.albadi-footer-made {
    display: inline-flex;

    align-items: center;

    gap: 5px;
}

.albadi-footer-made a {
    color:
        rgba(255,255,255,.76);

    text-decoration:
        none;

    transition:
        color .2s ease;
}

.albadi-footer-made a:hover {
    color:
        #ff8a4d;
}


/* giant editorial wordmark */

.albadi-footer-wordmark {
    overflow: hidden;

    height:
        clamp(76px,10vw,145px);

    margin-top:
        4px;

    color:
        rgba(255,255,255,.035);

    font-size:
        clamp(110px,16vw,235px);

    font-weight:
        900;

    line-height:
        .72;

    letter-spacing:
        -.075em;

    white-space:
        nowrap;

    user-select:
        none;

    pointer-events:
        none;

    transform:
        translateY(15%);
}


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

@media (max-width: 980px) {

    .albadi-footer-shell {
        width:
            min(100% - 36px, 760px);

        padding-top:
            58px;
    }

    .albadi-footer-intro {
        grid-template-columns:
            1fr;

        align-items:
            start;

        gap:
            32px;
    }

    .albadi-footer-plan {
        min-width:
            min(100%,320px);
    }

    .albadi-footer-grid {
        grid-template-columns:
            1fr;

        gap:
            48px;
    }

    .albadi-footer-contact {
        grid-template-columns:
            1fr;
    }

}


@media (max-width: 620px) {

    .albadi-footer-shell {
        width:
            calc(100% - 28px);

        padding-top:
            48px;
    }

    .albadi-footer-intro {
        padding-bottom:
            40px;
    }

    .albadi-footer-intro h2 {
        font-size:
            clamp(42px,13vw,60px);
    }

    .albadi-footer-plan {
        width:
            100%;

        min-width:
            0;
    }

    .albadi-footer-grid {
        padding:
            42px 0;
    }

    .albadi-footer-nav {
        gap:
            30px;
    }

    .albadi-footer-bottom {
        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            8px;
    }

    .albadi-footer-wordmark {
        height:
            66px;

        font-size:
            92px;
    }

}


/* accessibility / stability */

@media (prefers-reduced-motion: reduce) {

    .albadi-footer-glow--one,
    .albadi-footer-glow--two {
        animation:
            none !important;
    }

    .albadi-footer-plan,
    .albadi-footer-plan b,
    .albadi-footer-nav a,
    .albadi-footer-contact > a,
    .albadi-header-stage,
    .albadi-header-stage * {
        transition:
            none !important;
    }

}
