/*
 * FLT PUBLIC SHELL V1
 *
 * Canonical header/navigation/footer presentation for the
 * main public FLT ecosystem.
 *
 * Homepage visual language is the presentation reference.
 */

:root {
    --flt-public-charcoal:#101820;
    --flt-public-deep:#050b10;
    --flt-public-gold:#d7b56d;
    --flt-public-teal:#00a7b5;
    --flt-public-white:#f7f8fa;
    --flt-public-muted:#a9b2b9;
    --flt-public-line:rgba(215,181,109,.34);
    --flt-public-shell:1510px;
    --flt-public-header-height:82px;
    --flt-public-header-height-mobile:72px;
}

body.flt-public-shell-active {
    --flt-public-main-offset:var(--flt-public-header-height);
}

body.flt-public-shell-active.menu-open {
    overflow:hidden;
}

body.flt-public-shell-active > main {
    padding-top:var(--flt-public-main-offset);
}

body.flt-public-shell-active.flt-public-home > main {
    padding-top:0;
}

.site-header,
.site-footer,
.site-header *,
.site-footer * {
    box-sizing:border-box;
}

.site-header {
    position:fixed;
    inset:0 0 auto;
    z-index:1000;

    border-bottom:1px solid rgba(215,181,109,.22);

    background:rgba(3,9,13,.94);
    backdrop-filter:blur(16px);
}

.site-header .shell,
.site-footer .shell {
    width:min(
        calc(100% - 48px),
        var(--flt-public-shell)
    );
    margin-inline:auto;
}

.header-inner {
    min-height:var(--flt-public-header-height);

    display:flex;
    align-items:center;
    gap:26px;
}

.brand-lockup {
    display:inline-flex;
    align-items:center;
    gap:13px;

    flex:0 0 auto;

    color:inherit;
    text-decoration:none;
}

.brand-lockup .dynamic-logo {
    display:block;
    width:auto;
    height:var(--logo-height,58px);
    max-width:100%;
    object-fit:contain;
}

.brand-lockup > span {
    display:grid;
    line-height:1;
}

.brand-lockup strong {
    color:var(--flt-public-white);

    font-size:18px;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.brand-lockup small {
    margin-top:7px;

    color:var(--flt-public-gold);

    font-size:9px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.main-nav {
    display:flex;
    align-items:center;
    justify-content:center;

    gap:clamp(16px,1.75vw,31px);

    margin-left:auto;
}

.main-nav a {
    position:relative;

    padding:31px 0 27px;

    color:#e8ecef;
    text-decoration:none;

    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    line-height:1.2;
    text-transform:uppercase;
}

.main-nav a::after {
    position:absolute;
    right:100%;
    bottom:19px;
    left:0;

    height:2px;

    content:"";

    background:var(--flt-public-gold);

    transition:right .2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
    right:0;
}

.header-cta {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-height:46px;
    padding:0 23px;

    border-radius:4px;

    background:linear-gradient(
        135deg,
        #e7c478,
        #b88932
    );

    color:#0a0d10;
    text-decoration:none;

    font-size:11px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.menu-toggle {
    display:none;

    margin-left:auto;
    padding:8px;

    border:0;
    background:transparent;

    cursor:pointer;
}

.menu-toggle > span {
    display:block;

    width:27px;
    height:2px;
    margin:6px 0;

    background:#fff;

    transform-origin:center;

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

.sr-only {
    position:absolute !important;

    width:1px !important;
    height:1px !important;

    padding:0 !important;
    margin:-1px !important;

    overflow:hidden !important;

    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;

    border:0 !important;
}

.site-footer {
    clear:both;

    border-top:1px solid var(--flt-public-line);

    background:#03080c;
}

.site-footer .footer-grid {
    display:grid;

    grid-template-columns:
        1.25fr
        1fr
        .82fr
        1.18fr;

    gap:38px;

    padding-block:42px;
}

.site-footer .footer-brand {
    align-self:start;
}

.site-footer h3 {
    margin:0 0 12px;

    color:var(--flt-public-teal);

    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.site-footer .footer-links,
.site-footer .footer-contact {
    display:grid;
    gap:7px;
}

.site-footer .footer-links a,
.site-footer .footer-contact a,
.site-footer .footer-contact span {
    color:#aeb7bd;
    text-decoration:none;

    font-size:12px;
    line-height:1.5;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color:var(--flt-public-gold);
}

.site-footer .footer-bottom {
    min-height:55px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:24px;

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

    color:#78848c;

    font-size:10px;
    letter-spacing:.02em;
    text-transform:uppercase;
}

@media (max-width:1220px) {
    .main-nav {
        gap:14px;
    }

    .main-nav a {
        font-size:9px;
    }

    .brand-lockup strong {
        font-size:15px;
    }
}

@media (max-width:960px) {
    body.flt-public-shell-active {
        --flt-public-main-offset:
            var(--flt-public-header-height-mobile);
    }

    .site-header {
        background:rgba(3,9,13,.98);
    }

    .header-inner {
        min-height:
            var(--flt-public-header-height-mobile);
    }

    .menu-toggle {
        display:block;
    }

    .main-nav {
        position:fixed;

        inset:
            var(--flt-public-header-height-mobile)
            0
            auto;

        height:calc(
            100dvh -
            var(--flt-public-header-height-mobile)
        );

        display:grid;
        align-content:start;

        gap:0;

        margin:0;
        padding:
            22px
            25px
            calc(100px + env(safe-area-inset-bottom));

        overflow-x:hidden;
        overflow-y:auto;

        background:#050c11;

        visibility:hidden;
        opacity:0;
        pointer-events:none;

        transform:translateX(100%);

        transition:
            transform .25s ease,
            opacity .18s ease,
            visibility 0s linear .25s;
    }

    .main-nav.open {
        visibility:visible;
        opacity:1;
        pointer-events:auto;

        transform:none;

        transition:
            transform .25s ease,
            opacity .18s ease,
            visibility 0s;
    }

    .main-nav a {
        padding:15px 0;

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

        font-size:14px;
    }

    .main-nav a::after {
        display:none;
    }

    .main-nav a.active {
        color:var(--flt-public-gold);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform:translateY(8px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity:0;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform:translateY(-8px) rotate(-45deg);
    }

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

@media (max-width:650px) {
    .site-header .shell,
    .site-footer .shell {
        width:min(
            calc(100% - 28px),
            var(--flt-public-shell)
        );
    }

    .brand-lockup > span {
        display:none;
    }

    .header-cta {
        min-height:42px;
        padding:0 14px;
    }

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

    .site-footer .footer-bottom {
        flex-direction:column;
        justify-content:center;

        padding-block:17px;

        text-align:center;
    }
}

@media (prefers-reduced-motion:reduce) {
    .main-nav,
    .menu-toggle > span,
    .main-nav a::after {
        transition:none;
    }
}

/* FLT PUBLIC SHELL ACCESSIBILITY */
.skip-link {
    position:fixed;
    top:-70px;
    left:16px;
    z-index:3000;

    padding:10px 14px;

    background:var(--flt-public-gold);
    color:#111;

    font-weight:800;
    text-decoration:none;
}

.skip-link:focus {
    top:16px;
}
