/* ==========================================================
   P019014 FINAL SHELL POLISH
   Header + Footer only
   ========================================================== */


/* ==========================================================
   HEADER
   ========================================================== */

.ph-header {
    position: relative;
    z-index: 20;

    border-bottom:
        1px solid rgba(91,214,224,.11);

    background:
        radial-gradient(
            420px 100px at 82% 0%,
            rgba(84,218,228,.055),
            transparent 72%
        ),
        linear-gradient(
            180deg,
            #031019,
            #02080e
        );
}


.ph-header::before {
    content: "";

    position: absolute;

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

    width: 180px;
    height: 1px;

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


.ph-header-inner {
    min-height: 92px;
}


.ph-brand {
    gap: 14px;
}


.ph-brand-mark {
    width: 44px;
    height: 44px;

    border-color:
        rgba(84,218,228,.38);

    border-radius: 13px;

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(84,218,228,.12),
            transparent 62%
        ),
        linear-gradient(
            145deg,
            rgba(84,218,228,.08),
            rgba(119,89,223,.07)
        );
}


.ph-brand-mark::after {
    content: "";

    position: absolute;

    inset: 7px;

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

    border-radius: 8px;
}


.ph-brand-copy strong {
    font-size: 1.08rem;

    letter-spacing: .17em;
}


.ph-brand-copy small {
    color: #8096a0;
}


.ph-nav a {
    position: relative;

    padding-block: 10px;

    color: #9aadb5;
}


.ph-nav a::after {
    content: "";

    position: absolute;

    right: 50%;
    bottom: 3px;

    width: 0;
    height: 1px;

    transform: translateX(50%);

    background:
        linear-gradient(
            90deg,
            var(--ph-cyan),
            var(--ph-violet)
        );

    transition:
        width 160ms ease;
}


.ph-nav a:hover::after {
    width: 22px;
}


.ph-header-cta {
    min-height: 46px;

    padding-inline: 21px;

    border-color:
        rgba(91,220,230,.42);

    border-radius: 11px;

    background:
        linear-gradient(
            110deg,
            rgba(61,195,207,.10),
            rgba(115,86,218,.07)
        );
}


.ph-header-cta:hover {
    border-color:
        rgba(105,227,235,.62);

    color: #fff;
}


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

.ph-end {
    position: relative;

    padding-block:
        clamp(58px,6vw,82px)
        34px;

    overflow: hidden;

    border-top:
        1px solid rgba(84,218,228,.11);

    background:
        radial-gradient(
            620px 220px at 12% 0%,
            rgba(119,89,223,.05),
            transparent 72%
        ),
        radial-gradient(
            620px 220px at 88% 0%,
            rgba(84,218,228,.055),
            transparent 72%
        ),
        #02070d;

    color: #718792;
}


.ph-end::before {
    content: "";

    position: absolute;

    top: 0;
    inset-inline-start: 8%;

    width: 220px;
    height: 1px;

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


.ph-end-inner {
    display: block;
}


.ph-end-main {
    display: grid;

    grid-template-columns:
        minmax(230px,.7fr)
        minmax(280px,1.15fr)
        minmax(260px,.85fr);

    gap:
        clamp(38px,6vw,90px);

    align-items: start;
}


.ph-end-brand {
    display: flex;
    align-items: center;

    gap: 14px;

    color: inherit;

    text-decoration: none;
}


.ph-end-brand-mark {
    position: relative;

    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    border:
        1px solid rgba(84,218,228,.30);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(84,218,228,.08),
            rgba(119,89,223,.06)
        );
}


.ph-end-brand-mark::before {
    content: "";

    position: absolute;

    width: 14px;
    height: 14px;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%)
        rotate(45deg);

    border:
        2px solid var(--ph-cyan);

    border-left-color:
        var(--ph-violet);
}


.ph-end-brand-copy {
    display: grid;

    gap: 5px;
}


.ph-end-brand-copy strong {
    color: #edf5f7;

    font-size: .95rem;

    letter-spacing: .16em;
}


.ph-end-brand-copy small {
    color: #617b86;

    font-size: .62rem;

    letter-spacing: .06em;
}


.ph-end-statement {
    max-width: 480px;

    margin: 0;

    color: #8096a0;

    font-size: .82rem;

    line-height: 2;
}


.ph-end-statement strong {
    color: #c7d6da;

    font-weight: 650;
}


.ph-end-nav {
    display: grid;

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

    gap:
        13px 26px;
}


.ph-end-nav a {
    color: #8499a2;

    font-size: .75rem;

    text-decoration: none;
}


.ph-end-nav a:hover {
    color: #ddecf0;
}


.ph-end-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-block-start:
        clamp(42px,5vw,60px);

    padding-block-start:
        22px;

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

    direction: ltr;
}


.ph-end-bottom span {
    color: #526b76;

    font-size: .58rem;

    letter-spacing: .10em;
}


.ph-end-bottom strong {
    color: #718993;

    font-size: .58rem;

    font-weight: 600;

    letter-spacing: .10em;
}


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

@media (max-width:860px) {

    .ph-header-inner {
        min-height: 78px;
    }

    .ph-nav {
        display: none;
    }

    .ph-end-main {
        grid-template-columns:
            1fr 1fr;
    }

    .ph-end-statement {
        grid-column:
            1 / 3;
    }

}


@media (max-width:560px) {

    .ph-brand-copy small {
        display: none;
    }

    .ph-brand-mark {
        width: 40px;
        height: 40px;
    }

    .ph-header-cta {
        min-height: 41px;

        padding-inline: 14px;

        font-size: .72rem;
    }

    .ph-end-main {
        grid-template-columns:
            1fr;
    }

    .ph-end-statement {
        grid-column:
            auto;
    }

    .ph-end-nav {
        max-width: 300px;
    }

    .ph-end-bottom {
        align-items: flex-start;

        flex-direction: column;
    }

}


/* END P019014 FINAL SHELL POLISH */
