/* =========================================================
   MYFUNADS — FULLSCREEN RADIAL NAVBAR
   Vanilla CSS / no framework
========================================================= */

.mfa-navbar {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    font-family: Inter, Arial, sans-serif;
}

.mfa-menu-trigger {
    position: absolute;
    top: 26px;
    left: 50%;
    width: 72px;
    height: 72px;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.48);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.20), transparent 30%),
        rgba(15,12,14,.74);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    box-shadow:
        0 12px 50px rgba(0,0,0,.22),
        inset 0 1px 1px rgba(255,255,255,.35),
        0 0 0 1px rgba(239,90,70,.08),
        0 0 28px rgba(239,90,70,.07);
    cursor: pointer;
    pointer-events: auto;
    /* the one transition list for every state (open, hover, tuck);
       top is included so the open position glides, not jumps */
    transition:
        transform .6s cubic-bezier(.16,1,.3,1),
        top .6s cubic-bezier(.16,1,.3,1),
        width .6s cubic-bezier(.16,1,.3,1),
        height .6s cubic-bezier(.16,1,.3,1),
        opacity .3s ease,
        box-shadow .6s cubic-bezier(.16,1,.3,1),
        background .6s ease;
}

.mfa-menu-trigger:hover {
    transform: translateX(-50%) scale(1.06);
    box-shadow:
        0 18px 60px rgba(0,0,0,.30),
        0 0 35px rgba(239,90,70,.18),
        inset 0 1px 1px rgba(255,255,255,.42);
}

.mfa-orb-ring {
    position: absolute;
    inset: -7px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    pointer-events: none;
    transition: opacity .35s ease;
}

.mfa-orb-ring-two {
    inset: -14px;
    border-color: rgba(239,90,70,.14);
}

.mfa-orb-core {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.05em;
    transition: color .3s ease;
}

/* close (×) lines exist in both states so they can draw in
   and out instead of popping */
.mfa-orb-core::before,
.mfa-orb-core::after {
    content: "";
    position: absolute;
    width: 22px;
    height: 1px;
    background: #fff;
    border-radius: 10px;
    opacity: 0;
    transform: rotate(0deg) scaleX(.3);
    transition:
        opacity .25s ease,
        transform .55s cubic-bezier(.16,1,.3,1);
}

.mfa-orb-status {
    position: absolute;
    right: 13px;
    bottom: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef5a46;
    box-shadow: 0 0 12px rgba(239,90,70,.9);
    transition: opacity .3s ease;
}

.mfa-orb-menu-label {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 7px 3px 6px;
    border-radius: 999px;
    background: rgba(15,12,14,.62);
    color: rgba(255,255,255,.86);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .26em;
    text-transform: uppercase;
    white-space: nowrap;
    text-indent: .24em;
    transition: opacity .35s ease, transform .55s cubic-bezier(.16,1,.3,1), color .35s ease;
}

.mfa-menu-trigger:hover .mfa-orb-menu-label {
    color: #fff;
    transform: translateX(-50%) translateY(-2px);
}

.mfa-orb-menu-glyph {
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    width: 12px;
    height: 6px;
    transform: translate(-50%,-50%);
    opacity: .0;
    transition: opacity .3s ease;
}

.mfa-orb-menu-glyph::before,
.mfa-orb-menu-glyph::after {
    content: "";
    position: absolute;
    left: 0;
    width: 12px;
    height: 1px;
    background: rgba(255,255,255,.65);
}

.mfa-orb-menu-glyph::before { top: 0; }
.mfa-orb-menu-glyph::after { bottom: 0; }

.mfa-menu-trigger:hover .mfa-orb-menu-glyph {
    opacity: 1;
}

/* =========================================================
   FULLSCREEN OVERLAY
========================================================= */

.mfa-menu-overlay {
    /* centre of the closed orb: the reveal grows out of it */
    --mfa-orb-y: 62px;
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(239,90,70,.075), transparent 24%),
        radial-gradient(circle at 18% 82%, rgba(255,160,80,.07), transparent 25%),
        rgba(4,4,6,.93);
    backdrop-filter: blur(22px) saturate(120%);
    -webkit-backdrop-filter: blur(22px) saturate(120%);
    clip-path: circle(30px at 50% var(--mfa-orb-y));
    /* closing: the circle folds back into the orb, then fades */
    transition:
        clip-path .7s cubic-bezier(.3,0,.15,1),
        opacity .25s ease .45s,
        visibility 0s linear .7s;
}

.mfa-navbar.is-open .mfa-menu-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    /* just past the farthest corner (50vw + 100vh ≥ that distance),
       so the eased reveal is spent on screen, not off it */
    clip-path: circle(calc(50vw + 100vh) at 50% var(--mfa-orb-y));
    transition:
        clip-path 1.1s cubic-bezier(.55,0,.1,1),
        opacity .3s ease;
}

.mfa-navbar.is-open .mfa-menu-trigger {
    z-index: 100004;
    width: 58px;
    height: 58px;
    top: 25px;
    transform: translateX(-50%) rotate(90deg);
    background: rgba(255,255,255,.10);
}

.mfa-navbar.is-open .mfa-orb-ring {
    opacity: 0;
}

.mfa-navbar.is-open .mfa-orb-status,
.mfa-navbar.is-open .mfa-orb-menu-label,
.mfa-navbar.is-open .mfa-orb-menu-glyph {
    opacity: 0;
    pointer-events: none;
}

.mfa-navbar.is-open .mfa-orb-core {
    color: transparent;
}

.mfa-navbar.is-open .mfa-orb-core::before,
.mfa-navbar.is-open .mfa-orb-core::after {
    opacity: 1;
    transition-delay: .1s;
}

.mfa-navbar.is-open .mfa-orb-core::before {
    transform: rotate(45deg) scaleX(1);
}

.mfa-navbar.is-open .mfa-orb-core::after {
    transform: rotate(-45deg) scaleX(1);
}

/* =========================================================
   BACKGROUND DETAILS
========================================================= */

.mfa-menu-noise {
    position: absolute;
    inset: 0;
    opacity: .055;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1.5px),
        radial-gradient(circle at 70% 60%, #fff 0 1px, transparent 1.5px),
        radial-gradient(circle at 35% 80%, #fff 0 1px, transparent 1.5px);
    background-size: 190px 190px, 250px 250px, 310px 310px;
}

.mfa-menu-glow {
    position: absolute;
    width: 38vw;
    height: 38vw;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .22;
    pointer-events: none;
}

.mfa-menu-glow-one {
    left: -16vw;
    bottom: -20vw;
    background: rgba(239,90,70,.20);
}

.mfa-menu-glow-two {
    right: -18vw;
    top: -18vw;
    background: rgba(255,170,80,.14);
}

/* =========================================================
   TOP / FOOTER
========================================================= */

.mfa-menu-topline,
.mfa-menu-footer {
    position: absolute;
    left: 38px;
    right: 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,.45);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-12px);
    /* base = closing (quick, no delay); .is-open = entrance */
    transition: opacity .2s ease, transform .3s ease;
}

.mfa-menu-topline {
    top: 34px;
}

.mfa-menu-footer {
    bottom: 30px;
}

.mfa-navbar.is-open .mfa-menu-topline,
.mfa-navbar.is-open .mfa-menu-footer {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity .45s ease .3s,
        transform .7s cubic-bezier(.16,1,.3,1) .3s;
}

.mfa-menu-close {
    position: absolute;
    top: 28px;
    right: 32px;
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: rgba(255,255,255,.05);
    cursor: pointer;
    z-index: 5;
}

.mfa-menu-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 17px;
    height: 1px;
    background: #fff;
}

.mfa-menu-close span:first-child { transform: translate(-50%,-50%) rotate(45deg); }
.mfa-menu-close span:last-child { transform: translate(-50%,-50%) rotate(-45deg); }

/* =========================================================
   RADIAL SYSTEM
========================================================= */

.mfa-radial-system {
    position: absolute;
    left: 50%;
    top: 54%;
    width: min(780px, 84vw);
    aspect-ratio: 1;
    transform: translate(-50%,-50%);
}

.mfa-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%,-50%) scale(.55);
    opacity: 0;
    border: 1px solid rgba(255,255,255,.10);
    transition:
        transform .5s cubic-bezier(.4,0,.2,1),
        opacity .3s ease;
}

.mfa-orbit-outer {
    width: 92%;
    height: 92%;
    border-color: rgba(239,90,70,.17);
}

.mfa-orbit-middle {
    width: 67%;
    height: 67%;
    border-color: rgba(255,255,255,.14);
}

.mfa-orbit-inner {
    width: 42%;
    height: 42%;
    border-color: rgba(239,90,70,.20);
}

.mfa-navbar.is-open .mfa-orbit {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
    transition:
        transform 1.2s cubic-bezier(.16,1,.3,1) .1s,
        opacity .7s ease .1s;
}

.mfa-radial-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40%;
    height: 1px;
    transform-origin: 0 50%;
    background: linear-gradient(90deg, rgba(239,90,70,.24), rgba(255,255,255,.07), transparent);
    opacity: 0;
    transform: rotate(var(--line-angle)) scaleX(0);
    transition:
        opacity .25s ease,
        transform .4s cubic-bezier(.4,0,.2,1);
}

.mfa-line-1 { --line-angle: -90deg; }
.mfa-line-2 { --line-angle: -30deg; }
.mfa-line-3 { --line-angle: 30deg; }
.mfa-line-4 { --line-angle: 90deg; }
.mfa-line-5 { --line-angle: 150deg; }
.mfa-line-6 { --line-angle: 210deg; }

.mfa-navbar.is-open .mfa-radial-line {
    opacity: 1;
    transform: rotate(var(--line-angle)) scaleX(1);
    transition:
        opacity .6s ease .3s,
        transform 1.1s cubic-bezier(.16,1,.3,1) .3s;
}

/* =========================================================
   CENTRAL CORE
========================================================= */

.mfa-radial-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 170px;
    height: 170px;
    transform: translate(-50%,-50%) scale(.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,.10), transparent 35%),
        rgba(12,11,14,.80);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.18),
        0 20px 80px rgba(0,0,0,.42),
        0 0 50px rgba(239,90,70,.10);
    opacity: 0;
    transition:
        opacity .25s ease,
        transform .4s cubic-bezier(.4,0,.2,1);
}

.mfa-navbar.is-open .mfa-radial-core {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1);
    transition:
        opacity .6s ease .3s,
        transform 1.1s cubic-bezier(.16,1,.3,1) .3s;
}

.mfa-core-halo {
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    border: 1px solid rgba(239,90,70,.18);
    box-shadow: 0 0 45px rgba(239,90,70,.08);
}

/* Official round logo (dp-logo.png, a circular mark on a black
   square). Contained in the circle; the round crop removes the
   square corners without distorting the mark. */
.mfa-core-image {
    position: absolute;
    inset: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    border-radius: 50%;
    object-fit: contain;
    background: #000;
}

.mfa-core-image:not([src]) {
    visibility: hidden;
}

/* =========================================================
   RADIAL ITEMS
========================================================= */

.mfa-radial-nav {
    position: absolute;
    inset: 0;
}

.mfa-radial-item {
    --distance: 295px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 126px;
    min-height: 112px;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    gap: 5px;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 20px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.12),
        0 18px 50px rgba(0,0,0,.22);
    opacity: 0;
    pointer-events: none;
    transform:
        translate(-50%,-50%)
        rotate(var(--angle))
        translateY(-72px)
        rotate(calc(var(--angle) * -1))
        scale(.68);
    /* closing: quick and together. Hover transitions never wait
       on the entrance stagger (--d is used only when opening). */
    transition:
        opacity .25s ease,
        transform .45s cubic-bezier(.4,0,.2,1),
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.mfa-navbar.is-open .mfa-radial-item {
    opacity: 1;
    pointer-events: auto;
    transform:
        translate(-50%,-50%)
        rotate(var(--angle))
        translateY(calc(var(--distance) * -1))
        rotate(calc(var(--angle) * -1))
        scale(1);
    transition:
        opacity .55s ease var(--d),
        transform 1.05s cubic-bezier(.16,1,.3,1) var(--d),
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.mfa-radial-item:nth-child(1) { --d: .38s; }
.mfa-radial-item:nth-child(2) { --d: .44s; }
.mfa-radial-item:nth-child(3) { --d: .50s; }
.mfa-radial-item:nth-child(4) { --d: .56s; }
.mfa-radial-item:nth-child(5) { --d: .62s; }
.mfa-radial-item:nth-child(6) { --d: .68s; }

.mfa-radial-item:hover {
    border-color: rgba(239,90,70,.55);
    background:
        linear-gradient(145deg, rgba(239,90,70,.15), rgba(255,255,255,.035));
    box-shadow:
        inset 0 1px 1px rgba(255,255,255,.18),
        0 20px 65px rgba(0,0,0,.32),
        0 0 28px rgba(239,90,70,.12);
}

.mfa-item-index {
    color: rgba(255,255,255,.30);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
}

.mfa-item-icon {
    grid-column: 1 / -1;
    align-self: center;
    color: #ef5a46;
    font-size: 21px;
    line-height: 1;
}

.mfa-item-label {
    align-self: end;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .02em;
}

.mfa-item-arrow {
    align-self: end;
    color: rgba(255,255,255,.5);
    font-size: 13px;
    transition: transform .3s ease, color .3s ease;
}

.mfa-radial-item:hover .mfa-item-arrow {
    color: #fff;
    transform: translate(2px,-2px);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {
    .mfa-radial-system {
        width: min(680px, 92vw);
    }

    .mfa-radial-item {
        --distance: 240px;
        width: 112px;
        min-height: 100px;
    }
}

@media (max-width: 650px) {
    .mfa-menu-topline,
    .mfa-menu-footer {
        left: 20px;
        right: 20px;
        font-size: 9px;
    }

    .mfa-menu-topline span:last-child {
        display: none;
    }

    .mfa-radial-system {
        width: 92vw;
        top: 52%;
    }

    .mfa-radial-item {
        --distance: 35vw;
        width: 104px;
        min-height: 92px;
        padding: 12px;
        border-radius: 16px;
    }

    .mfa-radial-core {
        width: 125px;
        height: 125px;
    }

    .mfa-item-label {
        font-size: 10px;
    }

    .mfa-menu-trigger {
        width: 62px;
        height: 62px;
        top: 18px;
    }

    /* reveal origin follows the smaller orb (18px + 62px / 2) */
    .mfa-menu-overlay {
        --mfa-orb-y: 49px;
    }
}

/* Narrowest phones: slightly smaller items and core so the
   ring of destinations keeps clear of the screen edges and
   of the centre logo. */
@media (max-width: 380px) {
    .mfa-radial-item {
        --distance: 34vw;
        width: 90px;
        min-height: 84px;
        padding: 10px;
    }

    .mfa-radial-core {
        width: 96px;
        height: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mfa-menu-overlay,
    .mfa-menu-trigger,
    .mfa-orb-ring,
    .mfa-orb-status,
    .mfa-orb-core,
    .mfa-orb-core::before,
    .mfa-orb-core::after,
    .mfa-orbit,
    .mfa-radial-line,
    .mfa-radial-core,
    .mfa-radial-item,
    .mfa-menu-topline,
    .mfa-menu-footer {
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
        animation-duration: .01ms !important;
    }
}


/* =========================================================
   HOME WORDMARK (left) + LOGIN (right)
   Same dark glass as the menu orb so they read on both the
   dark hero and the light sections; mirrored around the orb.
========================================================= */

.mfa-brand-link,
.mfa-login-link {
    position: absolute;
    top: 40px;
    left: 38px;
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(15,12,14,.8);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    box-shadow:
        0 12px 40px rgba(0,0,0,.18),
        inset 0 1px 1px rgba(255,255,255,.25);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.03em;
    text-decoration: none;
    pointer-events: auto;
    transition:
        transform .45s cubic-bezier(.16,1,.3,1),
        box-shadow .45s ease;
}

/* Official wordmark (assets/images/logo-1200.webp, artwork on
   black). Shown at its natural proportions; the pill clips the
   artwork's empty black margin. The fixed navbar isolates
   blending from the page, so a luminance mask (the same file,
   stacked three times so the orange stays solid) turns the
   black transparent and the pill keeps the Login pill's glass;
   screen blending then keeps dark tones from dimming it. */
.mfa-brand-link {
    padding: 2px;
    overflow: hidden;
}

.mfa-brand-logo {
    display: block;
    flex-shrink: 0;
    width: auto;
    max-width: none;            /* keep natural proportions (global img rule caps at 100%) */
    height: 54px;
    /* centre the artwork's visible area in the 44px pill */
    margin: 10px 0 0 -4px;
    object-fit: contain;
    mix-blend-mode: screen;
    mask-image:
        url("../assets/images/logo-1200.webp"),
        url("../assets/images/logo-1200.webp"),
        url("../assets/images/logo-1200.webp");
    mask-mode: luminance;
    mask-origin: content-box;   /* line up with the artwork, not the padding */
    mask-clip: content-box;
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    pointer-events: none;
    padding: 5px;
}

.mfa-login-link {
    left: auto;
    right: 38px;
    gap: 8px;
    padding: 0 18px 0 14px;
    font-weight: 800;
    letter-spacing: .01em;
}

.mfa-login-link svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: #f47b20;
}

.mfa-login-link.is-current {
    border-color: rgba(244,123,32,.65);
}

.mfa-brand-link:hover,
.mfa-login-link:hover {
    transform: translateY(-2px);
    box-shadow:
        0 16px 46px rgba(0,0,0,.26),
        0 0 26px rgba(244,123,32,.16),
        inset 0 1px 1px rgba(255,255,255,.3);
}

.mfa-brand-link:active,
.mfa-login-link:active,
.mfa-menu-trigger:active {
    transition-duration: .12s;
}

.mfa-brand-link:active,
.mfa-login-link:active {
    transform: translateY(0) scale(.97);
}

@media (max-width: 650px) {
    .mfa-brand-link,
    .mfa-login-link {
        top: 25px;
        height: 44px;
        font-size: 12px;
    }

    .mfa-brand-link {
        left: 16px;
        padding: 0;
    }

    /* no wider than the old text pill, so it clears the menu orb */
    .mfa-brand-logo {
        height: 42px;
        margin: 8px 0 0 -5px;
    }

    .mfa-login-link {
        right: 16px;
        gap: 6px;
        padding: 0 14px 0 12px;
    }
}

/* narrowest phones: a little smaller, for room beside the orb */
@media (max-width: 360px) {
    .mfa-brand-logo {
        height: 39px;
        margin: 7px 0 0 -5px;
    }
}

/* =========================================================
   CURRENT PAGE + KEYBOARD FOCUS
========================================================= */

.mfa-radial-item.is-current {
    border-color: rgba(244,123,32,.6);
    background:
        linear-gradient(145deg, rgba(244,123,32,.18), rgba(255,255,255,.04));
}

.mfa-radial-item.is-current .mfa-item-index {
    color: #f47b20;
}

.mfa-menu-trigger:focus-visible,
.mfa-brand-link:focus-visible,
.mfa-login-link:focus-visible,
.mfa-radial-item:focus-visible {
    outline: 2px solid #f47b20;
    outline-offset: 4px;
}


/* =========================================================
   TUCK ON SCROLL
   js/navbar.js toggles .is-tucked while scrolling down so
   the fixed pill and orb don't sit over headings, buttons
   and forms; they return on scroll-up, near the top, or
   when anything in the navbar receives keyboard focus.
========================================================= */

/* (the menu trigger's transition list lives in its main rule) */

.mfa-brand-link,
.mfa-login-link {
    transition:
        transform .45s cubic-bezier(.16,1,.3,1),
        translate .45s cubic-bezier(.16,1,.3,1),
        opacity .3s ease,
        box-shadow .45s ease,
        visibility 0s linear;
}

.mfa-navbar.is-tucked:not(.is-open) .mfa-menu-trigger {
    transform: translateX(-50%) translateY(-150%);
    opacity: 0;
    pointer-events: none;
}

/* menu overlay open: the pills fade as the reveal starts, then
   leave the focus order (visibility flips after the fade) */
.mfa-navbar.is-open .mfa-brand-link,
.mfa-navbar.is-open .mfa-login-link {
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .25s ease,
        visibility 0s linear .25s;
}

.mfa-navbar.is-tucked:not(.is-open) .mfa-brand-link,
.mfa-navbar.is-tucked:not(.is-open) .mfa-login-link {
    translate: 0 -160%;
    opacity: 0;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .mfa-brand-link,
    .mfa-login-link {
        transition-duration: .01ms !important;
    }
}


/* Page scroll lock while the navigation takeover is open */
html.mfa-nav-open,
body.mfa-nav-open {
    overflow: hidden !important;
}

/* keep the layout width while locked: js/navbar.js measures the
   scrollbar into --mfa-scrollbar, so the page behind the opening
   menu and the centred orb don't shift sideways (0px where
   scrollbars overlay the page, e.g. phones and macOS) */
html.mfa-nav-open body {
    padding-right: var(--mfa-scrollbar, 0px);
}

html.mfa-nav-open .mfa-navbar {
    right: var(--mfa-scrollbar, 0px);
}
