/* nav */
header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    padding-top: env(safe-area-inset-top, 0px);
    transition: background .4s, backdrop-filter .4s, border-color .4s;
    border-bottom: 1px solid transparent
}

header.s {
    background: #090e1acc;
    backdrop-filter: blur(14px);
    border-color: var(--ln)
}

.nv {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    transition: height .4s
}

header.s .nv {
    height: 56px
}

.logo {
    font-weight: 800;
    text-decoration: none;
    display: flex;
    gap: 10px;
    align-items: center
}

.logo b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--ac);
    border-radius: 8px;
    font-size: .8rem;
    color: var(--ac)
}

nav.dt {
    display: none;
    gap: 4px
}

nav.dt a {
    padding: 8px 12px;
    font-size: .88rem;
    color: var(--mut);
    text-decoration: none;
    position: relative
}

nav.dt a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--ac);
    transform: scaleX(0);
    transition: transform .35s var(--ease)
}

nav.dt a:hover,
nav.dt a[aria-current] {
    color: var(--ink)
}

nav.dt a:hover::after,
nav.dt a[aria-current]::after {
    transform: scaleX(1)
}

.nr {
    display: flex;
    gap: 10px;
    align-items: center
}

.nr .btn {
    min-height: 40px;
    font-size: .85rem;
    display: none
}

.bg {
    width: 46px;
    height: 46px;
    border: 1px solid var(--ln);
    border-radius: 50%;
    background: none;
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center
}

.bg span {
    width: 18px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 6px currentColor;
    transform: translateY(-3px)
}

@media(min-width:1180px) {
    nav.dt {
        display: flex
    }

    .bg {
        display: none
    }

    .nr .btn {
        display: inline-flex
    }
}

#dr {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 24px 28px;
    clip-path: circle(0 at calc(100% - 44px) 44px);
    transition: clip-path .7s var(--ease);
    visibility: hidden
}

#dr.o {
    clip-path: circle(150% at calc(100% - 44px) 44px);
    visibility: visible
}

#dr a {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    font-weight: 800;
    text-decoration: none;
    padding: 6px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: .6s var(--ease);
    transition-delay: calc(var(--i)*60ms + 200ms)
}

#dr.o a {
    opacity: 1;
    transform: none
}

#dx {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 20px
}