/* =========================================================
   PMAI LAB — PREMIUM NAVBAR
   File: assets/css/navbar.css
   Version: 2.0
========================================================= */


/* =========================================================
   NAVBAR
   PMAI LAB — FIXED/STICKY TOP NAVIGATION
   ========================================================= */

.navbar {
    position: sticky;
    position: -webkit-sticky;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 9999;

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter:
        blur(18px);

    -webkit-backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid
        rgba(226, 232, 240, 0.85);

    box-shadow:
        0 4px 20px
        rgba(15, 23, 42, 0.05);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* =========================================================
   NAVBAR CONTAINER
========================================================= */

.navbar-container {

    width: min(
        calc(100% - 40px),
        1240px
    );

    min-height: 78px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* =========================================================
   PREMIUM LOGO
========================================================= */

.navbar-logo {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    height: 50px;

    text-decoration: none;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


.navbar-logo:hover {

    transform:
        translateY(-1px);

    opacity: 0.95;

}


/* =========================================================
   LOGO SYMBOL
========================================================= */

.logo-symbol {

    position: relative;

    width: 44px;

    height: 44px;

    flex:
        0 0 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 6px;

    border:
        1px solid rgba(37, 99, 235, 0.12);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(239, 246, 255, 0.95),
            rgba(248, 250, 252, 0.95)
        );

    box-shadow:
        0 6px 18px rgba(
            37,
            99,
            235,
            0.08
        );

    overflow: hidden;

}


.logo-symbol::after {

    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.7),
            transparent
        );

    pointer-events: none;

}


.logo-symbol svg {

    position: relative;

    z-index: 2;

    width: 100%;

    height: 100%;

    display: block;

}


/* =========================================================
   LOGO TEXT
========================================================= */

.logo-text {

    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;

    line-height: 1.1;

}


/* =========================================================
   LOGO MAIN
========================================================= */

.logo-main {

    display: block;

    color:
        #0f172a;

    font-size:
        1.22rem;

    font-weight:
        850;

    letter-spacing:
        -0.035em;

    white-space:
        nowrap;

}


/* =========================================================
   LOGO ACCENT
========================================================= */

.logo-main .accent {

    background:
        linear-gradient(
            135deg,
            #2563eb 0%,
            #6366f1 50%,
            #7c3aed 100%
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

    color:
        transparent;

}


/* =========================================================
   LOGO SUBTITLE
========================================================= */

.logo-sub {

    display: block;

    margin-top:
        4px;

    color:
        #64748b;

    font-size:
        0.60rem;

    font-weight:
        650;

    letter-spacing:
        0.075em;

    text-transform:
        uppercase;

    white-space:
        nowrap;

}


/* =========================================================
   NAVIGATION MENU
========================================================= */

.nav-menu {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 3px;

    margin: 0;

    padding: 0;

    list-style: none;

}


/* =========================================================
   NAVIGATION ITEMS
========================================================= */

.nav-menu li {

    position: relative;

}


/* =========================================================
   NAVIGATION LINKS
========================================================= */

.nav-menu a {

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding:
        8px 12px;

    border-radius:
        9px;

    color:
        #334155;

    font-size:
        0.88rem;

    font-weight:
        650;

    letter-spacing:
        -0.01em;

    text-decoration:
        none;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;

}


/* =========================================================
   NAVIGATION HOVER
========================================================= */

.nav-menu a:hover {

    color:
        #2563eb;

    background:
        #f1f5f9;

    transform:
        translateY(-1px);

}


/* =========================================================
   ACTIVE PAGE
========================================================= */

.nav-menu a.active {

    color:
        #2563eb;

    background:
        rgba(
            37,
            99,
            235,
            0.07
        );

}


/* =========================================================
   ACTIVE PAGE INDICATOR
========================================================= */

.nav-menu a.active::after {

    content: "";

    position: absolute;

    left:
        12px;

    right:
        12px;

    bottom:
        3px;

    height:
        2px;

    border-radius:
        999px;

    background:
        linear-gradient(
            90deg,
            #2563eb,
            #7c3aed
        );

}


/* =========================================================
   SEMINAR CTA
========================================================= */

.nav-menu a.nav-cta {

    min-height:
        42px;

    margin-left:
        7px;

    padding:
        9px 17px;

    border:
        1px solid
        #0b1f3a;

    border-radius:
        10px;

    background:
        #0b1f3a;

    color:
        #ffffff;

    box-shadow:
        0 6px 18px
        rgba(
            11,
            31,
            58,
            0.12
        );

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;

}


.nav-menu a.nav-cta:hover {

    background:
        #2563eb;

    border-color:
        #2563eb;

    color:
        #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 24px
        rgba(
            37,
            99,
            235,
            0.20
        );

}


/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width:
        44px;

    height:
        44px;

    align-items:
        center;

    justify-content:
        center;

    flex-shrink:
        0;

    padding:
        0;

    border:
        1px solid
        #e2e8f0;

    border-radius:
        10px;

    background:
        #ffffff;

    color:
        #0f172a;

    cursor:
        pointer;

    font-size:
        1.35rem;

    line-height:
        1;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;

}


.menu-toggle:hover {

    border-color:
        #bfdbfe;

    background:
        #eff6ff;

    color:
        #2563eb;

    transform:
        translateY(-1px);

}


/* =========================================================
   MENU BUTTON FOCUS
========================================================= */

.menu-toggle:focus-visible {

    outline:
        3px solid
        rgba(
            37,
            99,
            235,
            0.25
        );

    outline-offset:
        3px;

}


/* =========================================================
   TABLET NAVIGATION
========================================================= */

@media (max-width: 1150px) {

    .navbar-container {

        width:
            min(
                calc(100% - 32px),
                1240px
            );

        gap:
            18px;

    }


    .nav-menu {

        gap:
            1px;

    }


    .nav-menu a {

        padding:
            8px 8px;

        font-size:
            0.82rem;

    }


    .nav-menu a.nav-cta {

        padding:
            8px 12px;

        margin-left:
            4px;

    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 900px) {

    .navbar-container {

        min-height:
            72px;

    }


    .menu-toggle {

        display:
            inline-flex;

    }


    .nav-menu {

        position:
            absolute;

        top:
            72px;

        left:
            0;

        right:
            0;

        width:
            100%;

        display:
            none;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            4px;

        padding:
            14px 18px 20px;

        background:
            rgba(
                255,
                255,
                255,
                0.98
            );

        backdrop-filter:
            blur(18px);

        -webkit-backdrop-filter:
            blur(18px);

        border-bottom:
            1px solid
            #e2e8f0;

        box-shadow:
            0 18px 35px
            rgba(
                15,
                23,
                42,
                0.10
            );

    }


    .nav-menu.show {

        display:
            flex;

    }


    .nav-menu li {

        width:
            100%;

    }


    .nav-menu a {

        width:
            100%;

        min-height:
            46px;

        justify-content:
            flex-start;

        padding:
            11px 13px;

        border-radius:
            9px;

        font-size:
            0.94rem;

    }


    .nav-menu a:hover {

        transform:
            none;

    }


    .nav-menu a.active {

        background:
            #eff6ff;

    }


    .nav-menu a.active::after {

        left:
            auto;

        right:
            13px;

        bottom:
            50%;

        width:
            5px;

        height:
            5px;

        transform:
            translateY(50%);

        border-radius:
            50%;

    }


    .nav-menu a.nav-cta {

        justify-content:
            center;

        margin:
            8px 0 0;

        padding:
            12px 16px;

    }

}


/* =========================================================
   SMALL TABLET / LARGE MOBILE
========================================================= */

@media (max-width: 600px) {

    .navbar-container {

        width:
            min(
                calc(100% - 28px),
                1240px
            );

    }


    .logo-symbol {

        width:
            40px;

        height:
            40px;

        flex-basis:
            40px;

    }


    .logo-main {

        font-size:
            1.05rem;

    }


    .logo-sub {

        font-size:
            0.53rem;

        letter-spacing:
            0.055em;

    }


    .nav-menu {

        top:
            72px;

        padding:
            12px 14px 18px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .navbar-container {

        min-height:
            68px;

    }


    .logo-symbol {

        width:
            37px;

        height:
            37px;

        flex-basis:
            37px;

        padding:
            5px;

        border-radius:
            10px;

    }


    .logo-text {

        max-width:
            190px;

    }


    .logo-main {

        font-size:
            0.94rem;

    }


    .logo-sub {

        margin-top:
            3px;

        font-size:
            0.48rem;

    }


    .menu-toggle {

        width:
            40px;

        height:
            40px;

    }


    .nav-menu {

        top:
            68px;

    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.navbar a:focus-visible {

    outline:
        3px solid
        rgba(
            37,
            99,
            235,
            0.25
        );

    outline-offset:
        3px;

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .navbar,
    .navbar-logo,
    .nav-menu a,
    .nav-menu a.nav-cta,
    .menu-toggle {

        transition:
            none;

    }

}


/* =========================================================
   PMAI LAB — ROTATING PYRAMID LOGO
========================================================= */

.navbar-logo {
    --pyramid-base: 42px;
    --pyramid-height: 48px;
    --pyramid-slant: 52.39px;
    --pyramid-angle: 23.63deg;

    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 54px;
    flex-shrink: 0;

    text-decoration: none;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================================================
   PYRAMID AREA
========================================================= */

.navbar-pyramid-scene {
    position: relative;

    width: 58px;
    height: 54px;

    flex: 0 0 58px;

    perspective: 500px;
    perspective-origin: 50% 43%;

    overflow: visible;
}


/* Soft shadow */

.navbar-pyramid-shadow {
    position: absolute;

    width: 34px;
    height: 6px;

    left: 50%;
    bottom: 2px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(15, 43, 78, 0.12);

    filter: blur(3px);
}


/* =========================================================
   COMPLETE PYRAMID
========================================================= */

.navbar-pyramid {
    position: absolute;

    left: 50%;
    top: 48%;

    width: 0;
    height: 0;

    transform-style: preserve-3d;

    animation:
        navbarPyramidRotate
        12s
        linear
        infinite;
}


/* =========================================================
   FACE HOLDERS
========================================================= */

.navbar-pyramid-holder {
    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 0;

    transform-style: preserve-3d;
}


/* =========================================================
   PYRAMID FACES
========================================================= */

.navbar-pyramid-face {
    position: absolute;

    width: var(--pyramid-base);
    height: var(--pyramid-slant);

    left: calc(var(--pyramid-base) / -2);
    top: calc(var(--pyramid-slant) * -1);

    clip-path: polygon(
        50% 0%,
        0% 100%,
        100% 100%
    );

    transform-origin: 50% 100%;

    border: none;

    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}


/* =========================================================
   FRONT FACE
========================================================= */

.pyramid-front {
    transform:
        translate3d(
            0,
            calc(var(--pyramid-height) / 2),
            calc(var(--pyramid-base) / 2)
        )
        rotateX(var(--pyramid-angle));
}

.pyramid-front .navbar-pyramid-face {
    background:
        linear-gradient(
            145deg,
            #4db4ef 0%,
            #238edc 45%,
            #1769d2 100%
        );
}


/* =========================================================
   BACK FACE
========================================================= */

.pyramid-back {
    transform:
        translate3d(
            0,
            calc(var(--pyramid-height) / 2),
            calc(var(--pyramid-base) / -2)
        )
        rotateX(
            calc(var(--pyramid-angle) * -1)
        );
}

.pyramid-back .navbar-pyramid-face {
    background:
        linear-gradient(
            145deg,
            #102b4e 0%,
            #185794 52%,
            #1769d2 100%
        );
}


/* =========================================================
   RIGHT FACE
========================================================= */

.pyramid-right {
    transform:
        translate3d(
            calc(var(--pyramid-base) / 2),
            calc(var(--pyramid-height) / 2),
            0
        )
        rotateY(90deg)
        rotateX(var(--pyramid-angle));
}

.pyramid-right .navbar-pyramid-face {
    background:
        linear-gradient(
            145deg,
            #18c7c8 0%,
            #0ea4b5 48%,
            #1676c8 100%
        );
}


/* =========================================================
   LEFT FACE
========================================================= */

.pyramid-left {
    transform:
        translate3d(
            calc(var(--pyramid-base) / -2),
            calc(var(--pyramid-height) / 2),
            0
        )
        rotateY(-90deg)
        rotateX(var(--pyramid-angle));
}

.pyramid-left .navbar-pyramid-face {
    background:
        linear-gradient(
            145deg,
            #102b4e 0%,
            #135d91 50%,
            #0c8f9d 100%
        );
}


/* =========================================================
   PYRAMID BASE
========================================================= */

.navbar-pyramid-base {
    position: absolute;

    width: var(--pyramid-base);
    height: var(--pyramid-base);

    left: calc(var(--pyramid-base) / -2);
    top: calc(var(--pyramid-base) / -2);

    background:
        linear-gradient(
            135deg,
            #1769d2,
            #12b8c4
        );

    transform:
        translateY(
            calc(var(--pyramid-height) / 2)
        )
        rotateX(90deg);

    opacity: 0.88;

    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}


/* =========================================================
   ROTATION
========================================================= */

@keyframes navbarPyramidRotate {

    from {
        transform:
            rotateX(-13deg)
            rotateY(0deg);
    }

    to {
        transform:
            rotateX(-13deg)
            rotateY(360deg);
    }
}


/* =========================================================
   BRAND TEXT AREA
========================================================= */

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin-left: -3px;

    min-width: 0;
}


.navbar-brand-line {
    display: flex;
    align-items: baseline;

    line-height: 1;

    white-space: nowrap;
}


/* =========================================================
   PMAI
========================================================= */

.navbar-pmai {
    font-size: 1.28rem;
    font-weight: 800;

    letter-spacing: 0.045em;

    background:
        linear-gradient(
            90deg,
            #102b4e 0%,
            #175ba5 52%,
            #1787ca 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}


/* =========================================================
   LAB
========================================================= */

.navbar-lab {
    margin-left: 7px;

    font-size: 1.28rem;
    font-weight: 800;

    letter-spacing: 0.035em;

    background:
        linear-gradient(
            90deg,
            #087f8c 0%,
            #0ba4ae 45%,
            #17c1c2 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}


/* =========================================================
   SMALL LINE BELOW TEXT
========================================================= */

.navbar-logo-line {
    width: 58px;
    height: 2px;

    margin-top: 6px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            #1769d2,
            #12b8c4
        );
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .navbar-logo {
        --pyramid-base: 38px;
        --pyramid-height: 43px;
        --pyramid-slant: 47px;
        --pyramid-angle: 23.84deg;

        height: 48px;
    }

    .navbar-pyramid-scene {
        width: 52px;
        height: 50px;

        flex-basis: 52px;
    }

    .navbar-pmai,
    .navbar-lab {
        font-size: 1.08rem;
    }

    .navbar-lab {
        margin-left: 6px;
    }

    .navbar-logo-line {
        width: 50px;
        margin-top: 5px;
    }
}


@media (max-width: 420px) {

    .navbar-logo {
        --pyramid-base: 34px;
        --pyramid-height: 39px;
        --pyramid-slant: 42.54px;
        --pyramid-angle: 23.56deg;

        height: 44px;
    }

    .navbar-pyramid-scene {
        width: 47px;
        height: 46px;

        flex-basis: 47px;
    }

    .navbar-pmai,
    .navbar-lab {
        font-size: 0.96rem;
    }

    .navbar-lab {
        margin-left: 5px;
    }

    .navbar-logo-line {
        width: 44px;
        margin-top: 4px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .navbar-pyramid {
        animation: none;

        transform:
            rotateX(-13deg)
            rotateY(35deg);
    }
}
/* =========================================================
   PMAI LAB — ROTATING PYRAMID LOGO
========================================================= */

.navbar-logo {
    --pyramid-base: 42px;
    --pyramid-height: 48px;
    --pyramid-slant: 52.39px;
    --pyramid-angle: 23.63deg;

    display: inline-flex;
    align-items: center;
    gap: 0;
    height: 54px;
    flex-shrink: 0;

    text-decoration: none;

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;
}


/* PYRAMID AREA */

.navbar-pyramid-scene {
    position: relative;

    width: 58px;
    height: 54px;

    flex: 0 0 58px;

    perspective: 500px;
    perspective-origin: 50% 43%;

    overflow: visible;
}


/* SHADOW */

.navbar-pyramid-shadow {
    position: absolute;

    width: 34px;
    height: 6px;

    left: 50%;
    bottom: 2px;

    transform: translateX(-50%);

    border-radius: 50%;

    background: rgba(22, 50, 92, 0.13);

    filter: blur(3px);
}


/* COMPLETE PYRAMID */

.navbar-pyramid {
    position: absolute;

    left: 50%;
    top: 48%;

    width: 0;
    height: 0;

    transform-style: preserve-3d;

    animation:
        navbarPyramidRotate
        12s
        linear
        infinite;
}


/* FACE HOLDERS */

.navbar-pyramid-holder {
    position: absolute;

    left: 0;
    top: 0;

    width: 0;
    height: 0;

    transform-style: preserve-3d;
}


/* PYRAMID FACES */

.navbar-pyramid-face {
    position: absolute;

    width: var(--pyramid-base);
    height: var(--pyramid-slant);

    left: calc(var(--pyramid-base) / -2);
    top: calc(var(--pyramid-slant) * -1);

    clip-path: polygon(
        50% 0%,
        0% 100%,
        100% 100%
    );

    transform-origin: 50% 100%;

    border: none;

    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}


/* FRONT FACE */

.pyramid-front {
    transform:
        translate3d(
            0,
            calc(var(--pyramid-height) / 2),
            calc(var(--pyramid-base) / 2)
        )
        rotateX(var(--pyramid-angle));
}

.pyramid-front .navbar-pyramid-face {
    background: linear-gradient(
        145deg,
        #93c5fd 0%,
        #60a5fa 42%,
        #2563eb 100%
    );
}


/* BACK FACE */

.pyramid-back {
    transform:
        translate3d(
            0,
            calc(var(--pyramid-height) / 2),
            calc(var(--pyramid-base) / -2)
        )
        rotateX(
            calc(var(--pyramid-angle) * -1)
        );
}

.pyramid-back .navbar-pyramid-face {
    background: linear-gradient(
        145deg,
        #16325c 0%,
        #1e4f91 50%,
        #1d4ed8 100%
    );
}


/* RIGHT FACE */

.pyramid-right {
    transform:
        translate3d(
            calc(var(--pyramid-base) / 2),
            calc(var(--pyramid-height) / 2),
            0
        )
        rotateY(90deg)
        rotateX(var(--pyramid-angle));
}

.pyramid-right .navbar-pyramid-face {
    background: linear-gradient(
        145deg,
        #60a5fa 0%,
        #3b82f6 48%,
        #1d4ed8 100%
    );
}


/* LEFT FACE */

.pyramid-left {
    transform:
        translate3d(
            calc(var(--pyramid-base) / -2),
            calc(var(--pyramid-height) / 2),
            0
        )
        rotateY(-90deg)
        rotateX(var(--pyramid-angle));
}

.pyramid-left .navbar-pyramid-face {
    background: linear-gradient(
        145deg,
        #16325c 0%,
        #245b9e 52%,
        #3b82f6 100%
    );
}


/* PYRAMID BASE */

.navbar-pyramid-base {
    position: absolute;

    width: var(--pyramid-base);
    height: var(--pyramid-base);

    left: calc(var(--pyramid-base) / -2);
    top: calc(var(--pyramid-base) / -2);

    background: linear-gradient(
        135deg,
        #1d4ed8,
        #60a5fa
    );

    transform:
        translateY(
            calc(var(--pyramid-height) / 2)
        )
        rotateX(90deg);

    opacity: 0.88;

    backface-visibility: visible;
    -webkit-backface-visibility: visible;
}


/* ROTATION */

@keyframes navbarPyramidRotate {

    from {
        transform:
            rotateX(-13deg)
            rotateY(0deg);
    }

    to {
        transform:
            rotateX(-13deg)
            rotateY(360deg);
    }
}


/* BRAND TEXT AREA */

.navbar-brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    margin-left: -3px;

    min-width: 0;
}


.navbar-brand-line {
    display: flex;
    align-items: baseline;

    line-height: 1;

    white-space: nowrap;
}


/* PMAI */

.navbar-pmai {
    font-size: 1.28rem;
    font-weight: 800;

    letter-spacing: 0.045em;

    background: linear-gradient(
        90deg,
        #16325c 0%,
        #1e4f91 50%,
        #2563eb 100%
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}


/* LAB */

.navbar-lab {
    margin-left: 7px;

    font-size: 1.28rem;
    font-weight: 800;

    letter-spacing: 0.035em;

    background: linear-gradient(
        90deg,
        #2563eb 0%,
        #3b82f6 55%,
        #60a5fa 100%
    );

    background-clip: text;
    -webkit-background-clip: text;

    color: transparent;
    -webkit-text-fill-color: transparent;
}


/* LINE BELOW TEXT */

.navbar-logo-line {
    width: 58px;
    height: 2px;

    margin-top: 6px;

    border-radius: 20px;

    background: linear-gradient(
        90deg,
        #2563eb,
        #60a5fa
    );
}


/* MOBILE */

@media (max-width: 600px) {

    .navbar-logo {
        --pyramid-base: 38px;
        --pyramid-height: 43px;
        --pyramid-slant: 47px;
        --pyramid-angle: 23.84deg;

        height: 48px;
    }

    .navbar-pyramid-scene {
        width: 52px;
        height: 50px;

        flex-basis: 52px;
    }

    .navbar-pmai,
    .navbar-lab {
        font-size: 1.08rem;
    }

    .navbar-lab {
        margin-left: 6px;
    }

    .navbar-logo-line {
        width: 50px;
        margin-top: 5px;
    }
}


@media (max-width: 420px) {

    .navbar-logo {
        --pyramid-base: 34px;
        --pyramid-height: 39px;
        --pyramid-slant: 42.54px;
        --pyramid-angle: 23.56deg;

        height: 44px;
    }

    .navbar-pyramid-scene {
        width: 47px;
        height: 46px;

        flex-basis: 47px;
    }

    .navbar-pmai,
    .navbar-lab {
        font-size: 0.96rem;
    }

    .navbar-lab {
        margin-left: 5px;
    }

    .navbar-logo-line {
        width: 44px;
        margin-top: 4px;
    }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

    .navbar-pyramid {
        animation: none;

        transform:
            rotateX(-13deg)
            rotateY(35deg);
    }
}

/* =========================================================
   MOBILE MENU ICON
========================================================= */

.menu-icon {

    display: block;

    font-size: 1.45rem;

    line-height: 1;

    font-weight: 700;

    pointer-events: none;

}


/* =========================================================
   MOBILE MENU BUTTON — OPEN STATE
========================================================= */

.menu-toggle.active .menu-icon {

    font-size: 0;

}


.menu-toggle.active .menu-icon::after {

    content: "×";

    font-size: 1.65rem;

    line-height: 1;

    display: block;

}


/* =========================================================
   MOBILE MENU — MAKE SURE IT IS ABOVE CONTENT
========================================================= */

@media (max-width: 900px) {

    .nav-menu {

        z-index: 100000;

    }

}
