/* ==========================================================
   P019011 PROJECT GATEWAY
   POSHESH / FINAL PROJECT ENTRY
   ========================================================== */


.ph-gateway {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    padding-block:
        clamp(110px,11vw,165px);

    background:
        radial-gradient(
            760px 460px at 82% 44%,
            rgba(84,218,228,.085),
            transparent 70%
        ),
        radial-gradient(
            650px 430px at 14% 72%,
            rgba(119,89,223,.065),
            transparent 72%
        ),
        #02080e;
}


/* ----------------------------------------------------------
   TOP LABEL
   ---------------------------------------------------------- */

.ph-gateway-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;

    margin-block-end:
        clamp(34px,5vw,55px);

    direction: ltr;
}


.ph-gateway-meta span {
    color:
        #5d7681;

    font-size:
        .61rem;

    letter-spacing:
        .14em;
}


.ph-gateway-meta strong {
    color:
        rgba(216,170,98,.78);

    font-size:
        .61rem;

    font-weight: 650;

    letter-spacing:
        .14em;
}


/* ----------------------------------------------------------
   MASTER GATE
   ---------------------------------------------------------- */

.ph-gateway-panel {
    position: relative;

    min-height:
        610px;

    display: grid;

    grid-template-columns:
        minmax(300px,.72fr)
        minmax(0,1.28fr);

    overflow: hidden;

    border:
        1px solid rgba(84,211,221,.19);

    border-radius:
        34px;

    background:
        linear-gradient(
            118deg,
            rgba(8,31,44,.98) 0%,
            rgba(5,20,30,.98) 42%,
            rgba(3,12,20,.99) 100%
        );

    box-shadow:
        0 38px 90px rgba(0,0,0,.30);
}


/* energy strike across frame */

.ph-gateway-panel::before {
    content: "";

    position: absolute;

    z-index: 5;

    top: 0;
    inset-inline-end: 11%;

    width:
        270px;

    height:
        2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--ph-cyan),
            #d4ffff,
            var(--ph-violet),
            transparent
        );
}


.ph-gateway-panel::after {
    content: "";

    position: absolute;

    z-index: 1;

    left: 42%;
    top: -20%;

    width:
        1px;

    height:
        145%;

    transform:
        rotate(16deg);

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(84,218,228,.26),
            rgba(119,89,223,.18),
            transparent
        );

    pointer-events: none;
}


/* ----------------------------------------------------------
   SIGNAL SIDE
   ---------------------------------------------------------- */

.ph-gateway-signal {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding:
        clamp(38px,5vw,64px);

    overflow: hidden;

    border-inline-end:
        1px solid rgba(255,255,255,.055);

    background:
        radial-gradient(
            390px 330px at 38% 32%,
            rgba(84,218,228,.075),
            transparent 72%
        );
}


.ph-gateway-signal::before {
    content: "NEXT";

    position: absolute;

    inset-inline-start:
        -10px;

    top: 48%;

    transform:
        translateY(-50%);

    color:
        rgba(229,244,246,.028);

    font-size:
        clamp(7rem,15vw,14rem);

    font-weight:
        900;

    line-height:
        .75;

    letter-spacing:
        -.085em;

    pointer-events: none;
}


.ph-gateway-code {
    position: relative;
    z-index: 2;

    direction: ltr;
}


.ph-gateway-code strong {
    display: block;

    color:
        rgba(216,170,98,.82);

    font-size:
        clamp(5.4rem,10vw,9.6rem);

    font-weight:
        250;

    line-height:
        .72;

    letter-spacing:
        -.07em;
}


.ph-gateway-code span {
    display: block;

    margin-block-start:
        22px;

    color:
        #59727d;

    font-size:
        .60rem;

    letter-spacing:
        .14em;
}


.ph-gateway-signal-bottom {
    position: relative;
    z-index: 2;

    display: grid;

    gap:
        13px;
}


.ph-gateway-signal-line {
    width:
        100%;

    height:
        1px;

    background:
        linear-gradient(
            90deg,
            var(--ph-gold),
            rgba(84,218,228,.44),
            transparent
        );
}


.ph-gateway-signal-bottom small {
    color:
        #5a7580;

    font-size:
        .58rem;

    letter-spacing:
        .11em;
}


.ph-gateway-signal-bottom strong {
    color:
        #cbdadd;

    font-size:
        .84rem;

    font-weight:
        600;

    line-height:
        1.7;
}


/* ----------------------------------------------------------
   CTA SIDE
   ---------------------------------------------------------- */

.ph-gateway-content {
    position: relative;

    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        clamp(44px,7vw,92px);
}


.ph-gateway-kicker {
    color:
        var(--ph-cyan);

    font-size:
        .61rem;

    font-weight:
        750;

    letter-spacing:
        .14em;
}


.ph-gateway-content h2 {
    max-width:
        780px;

    margin:
        16px 0 22px;

    color:
        #f4f8f9;

    font-size:
        clamp(2.7rem,5.3vw,5.2rem);

    line-height:
        1.16;

    letter-spacing:
        -.045em;
}


.ph-gateway-content h2 span {
    color:
        var(--ph-cyan);
}


.ph-gateway-content > p {
    max-width:
        690px;

    margin:
        0;

    color:
        #8ca2ac;

    font-size:
        clamp(.86rem,1.05vw,.98rem);

    line-height:
        2.1;
}


/* CTA actions */

.ph-gateway-actions {
    display: flex;
    flex-wrap: wrap;

    gap:
        12px;

    margin-block-start:
        36px;
}


.ph-gateway-primary,
.ph-gateway-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height:
        48px;

    padding:
        0 20px;

    border-radius:
        10px;

    text-decoration:
        none;

    font-size:
        .78rem;

    font-weight:
        700;
}


.ph-gateway-primary {
    color:
        #041016;

    background:
        linear-gradient(
            100deg,
            #5bdce4,
            #8ce9e9
        );

    box-shadow:
        0 12px 35px rgba(84,218,228,.10);
}


.ph-gateway-secondary {
    color:
        #b5c7cd;

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

    background:
        rgba(5,18,27,.68);
}


/* ----------------------------------------------------------
   CONTACT RAIL
   ---------------------------------------------------------- */

.ph-gateway-contact {
    display: grid;

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

    gap:
        1px;

    margin-block-start:
        42px;

    overflow: hidden;

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

    border-radius:
        13px;

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


.ph-gateway-contact a {
    display: grid;

    gap:
        6px;

    padding:
        15px 17px;

    color:
        inherit;

    text-decoration:
        none;

    background:
        rgba(3,14,22,.88);
}


.ph-gateway-contact small {
    direction: ltr;

    color:
        #536d78;

    font-size:
        .53rem;

    letter-spacing:
        .10em;
}


.ph-gateway-contact strong {
    color:
        #b8cbd0;

    font-size:
        .71rem;

    font-weight:
        600;
}


/* ----------------------------------------------------------
   BOTTOM ENERGY / BRAND LINE
   ---------------------------------------------------------- */

.ph-gateway-footerline {
    display: grid;

    grid-template-columns:
        1fr auto;

    gap:
        30px;

    align-items: center;

    margin-block-start:
        28px;

    direction:
        ltr;
}


.ph-gateway-footerline::before {
    content: "";

    height:
        1px;

    background:
        linear-gradient(
            90deg,
            rgba(216,170,98,.34),
            rgba(84,218,228,.36),
            rgba(119,89,223,.28),
            transparent
        );
}


.ph-gateway-footerline span {
    color:
        #516b76;

    font-size:
        .55rem;

    letter-spacing:
        .12em;
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width:950px) {

    .ph-gateway-panel {
        grid-template-columns:
            1fr;
    }


    .ph-gateway-signal {
        min-height:
            330px;

        border-inline-end:
            0;

        border-bottom:
            1px solid rgba(255,255,255,.055);
    }


    .ph-gateway-panel::after {
        display:
            none;
    }

}


@media (max-width:650px) {

    .ph-gateway-meta {
        align-items:
            flex-start;

        flex-direction:
            column;
    }


    .ph-gateway-signal {
        min-height:
            280px;

        padding:
            32px 26px;
    }


    .ph-gateway-content {
        padding:
            42px 24px;
    }


    .ph-gateway-content h2 {
        font-size:
            clamp(2.35rem,12vw,3.7rem);
    }


    .ph-gateway-contact {
        grid-template-columns:
            1fr;
    }


    .ph-gateway-footerline {
        grid-template-columns:
            1fr;
    }

}


/* END P019011 PROJECT GATEWAY */
