/* AK Agency — Header stable V3 */

.ak-skip-link {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 99999;
    transform: translateY(-180%);
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #050608;
}

.ak-skip-link:focus {
    transform: translateY(0);
}

.ak-header {
    position: relative;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 82px;
    margin: 0;
    background: rgba(5, 6, 8, .94);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: background .2s ease, box-shadow .2s ease;
}

body.admin-bar .ak-header {
    top: 32px;
}

.ak-header.is-scrolled {
    background: rgba(5, 6, 8, .985);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}

.ak-header__inner {
    width: min(calc(100% - 40px), 1240px);
    height: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(190px, auto) 1fr minmax(220px, auto);
    align-items: center;
    gap: 28px;
}

.ak-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    min-width: max-content;
    color: #fff;
    text-decoration: none;
}

.ak-header__logo {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255, 191, 126, .45);
    border-radius: 13px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 46%),
        linear-gradient(135deg, #ff8d27, #ff5b00);
    color: #160700;
    font-size: 14px;
    font-weight: 950;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .34),
        0 12px 28px rgba(255, 100, 8, .22);
}

.ak-header__name {
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .16em;
}

.ak-header__nav {
    justify-self: center;
    min-width: 0;
}

.ak-header__nav-list,
.ak-header__nav .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(17px, 1.8vw, 32px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.ak-header__nav-list li,
.ak-header__nav .menu li {
    margin: 0;
    padding: 0;
}

.ak-header__nav-list a,
.ak-header__nav .menu a {
    position: relative;
    display: inline-flex;
    padding: 13px 0;
    color: #c9cdd4;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s ease;
}

.ak-header__nav-list a::after,
.ak-header__nav .menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8a22, #ff5b00);
    transition: right .24s ease;
}

.ak-header__nav-list a:hover,
.ak-header__nav-list a:focus-visible,
.ak-header__nav .menu a:hover,
.ak-header__nav .menu a:focus-visible {
    color: #fff;
}

.ak-header__nav-list a:hover::after,
.ak-header__nav-list a:focus-visible::after,
.ak-header__nav .menu a:hover::after,
.ak-header__nav .menu a:focus-visible::after {
    right: 0;
}

.ak-header__cta,
.ak-mobile-menu__cta {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid rgba(255, 190, 120, .46);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06) 34%, transparent 56%),
        linear-gradient(135deg, #ff8d27 0%, #ff6908 52%, #f14800 100%);
    color: #170700 !important;
    font-weight: 900;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .38),
        0 15px 34px rgba(255, 100, 8, .25);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.ak-header__cta {
    justify-self: end;
    min-width: 220px;
    min-height: 50px;
    padding: 0 18px;
    font-size: 13px;
}

.ak-header__cta::before,
.ak-mobile-menu__cta::before {
    content: "";
    position: absolute;
    top: -35%;
    left: -45%;
    width: 30%;
    height: 170%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .65), transparent);
    transform: skewX(-22deg);
    transition: left .65s ease;
}

.ak-header__cta:hover,
.ak-mobile-menu__cta:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .42),
        0 20px 42px rgba(255, 100, 8, .34);
}

.ak-header__cta:hover::before,
.ak-mobile-menu__cta:hover::before {
    left: 120%;
}

.ak-header__cta-arrow {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 22px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 50%;
    background: rgba(255, 255, 255, .24);
    font-size: 14px;
}

.ak-header__burger {
    display: none !important;
    appearance: none;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    box-shadow: none;
    cursor: pointer;
}

.ak-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 99px;
    background: #fff;
}

.ak-mobile-menu {
    position: relative;
    inset: 0;
    z-index: 1200;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 20px;
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 100, 8, .18), transparent 24rem),
        #050608;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

.ak-mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.ak-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ak-mobile-menu__close {
    position: relative;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    box-shadow: none;
    cursor: pointer;
}

.ak-mobile-menu__close span {
    position: absolute;
    left: 13px;
    top: 22px;
    width: 21px;
    height: 2px;
    border-radius: 99px;
    background: #fff;
}

.ak-mobile-menu__close span:first-child {
    transform: rotate(45deg);
}

.ak-mobile-menu__close span:last-child {
    transform: rotate(-45deg);
}

.ak-mobile-menu__body {
    width: min(100%, 720px);
    margin: auto;
    padding: 30px 0;
}

.ak-mobile-menu__eyebrow {
    margin: 0 0 20px;
    color: #ff8a22;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.ak-mobile-menu__list,
.ak-mobile-menu .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: ak-mobile-nav;
}

.ak-mobile-menu__list li,
.ak-mobile-menu .menu li {
    counter-increment: ak-mobile-nav;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.ak-mobile-menu__list a,
.ak-mobile-menu .menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 70px;
    color: #fff;
    font-size: clamp(28px, 8vw, 52px);
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
}

.ak-mobile-menu__list a::after,
.ak-mobile-menu .menu a::after {
    content: "0" counter(ak-mobile-nav);
    color: #666d78;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.ak-mobile-menu__cta {
    width: 100%;
    min-height: 58px;
    margin-top: 28px;
    padding: 0 22px;
}

.ak-mobile-menu__note {
    margin: 16px 0 0;
    color: #9da3ad;
    font-size: 13px;
    text-align: center;
}

body.ak-menu-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .ak-header {
        height: 74px;
    }

    body.admin-bar .ak-header {
        top: 46px;
    }

    .ak-header__inner {
        width: min(calc(100% - 30px), 1240px);
        grid-template-columns: 48px 1fr 48px;
        gap: 10px;
    }

    .ak-header__burger {
        display: block !important;
        grid-column: 1;
        justify-self: start;
    }

    .ak-header__brand {
        grid-column: 2;
        justify-self: center;
    }

    .ak-header__nav,
    .ak-header__cta {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .ak-header__inner {
        width: calc(100% - 24px);
    }

    .ak-header__logo {
        width: 38px;
        height: 38px;
    }

    .ak-header__name {
        font-size: 12px;
    }

    .ak-mobile-menu {
        padding: 16px;
    }

    .ak-mobile-menu__list a,
    .ak-mobile-menu .menu a {
        min-height: 64px;
    }
}
