:root {
    --sjk-black: #111111;
    --sjk-dark: #292929;
    --sjk-muted: #666666;
    --sjk-border: #e6e6e6;
    --sjk-white: #ffffff;
    --sjk-soft: #f7f7f7;
}

.sjk-header,
.sjk-header * {
    box-sizing: border-box;
}

.sjk-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--sjk-border);

    color: var(--sjk-black);

    font-family:
        "Manrope",
        "Noto Sans Telugu",
        Arial,
        sans-serif;
}

body.sjk-menu-open {
    overflow: hidden;
}


/* =========================================
   HEADER INNER
========================================= */

.sjk-header__inner {
    width: min(100%, 1440px);
    min-height: 84px;

    margin: 0 auto;
    padding: 11px 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 34px;
}


/* =========================================
   BRAND
========================================= */

.sjk-brand {
    flex: 0 1 auto;

    display: flex;
    align-items: center;

    min-width: 0;

    gap: 10px;

    color: inherit;
    text-decoration: none;
}

.sjk-brand__logo {
    display: block;

    width: 56px;
    height: 56px;

    flex: 0 0 56px;

    object-fit: contain;
}

.sjk-brand__identity {
    display: grid;
    gap: 4px;

    min-width: 0;
}

.sjk-brand__name {
    display: flex;
    align-items: baseline;

    gap: 5px;

    white-space: nowrap;

    line-height: 1;
}

.sjk-brand__primary {
    color: var(--sjk-black);

    font-size: 16px;
    font-weight: 900;

    letter-spacing: -.02em;
}

.sjk-brand__secondary {
    color: #333333;

    font-size: 15px;
    font-weight: 600;

    letter-spacing: -.01em;
}

.sjk-brand__legal {
    color: #555555;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: .04em;
}

.sjk-brand__tagline {
    color: var(--sjk-muted);

    font-size: 7.5px;
    font-weight: 600;

    line-height: 1.2;

    letter-spacing: .12em;

    white-space: nowrap;
}


/* =========================================
   I18N
========================================= */

.i18n {
    display: inline-grid;
    grid-template-areas: "label";

    align-items: center;
    justify-items: start;
}

.i18n > [data-lang] {
    grid-area: label;
}

.i18n > [data-lang="te"] {
    visibility: hidden;
    opacity: 0;

    pointer-events: none;
}

[data-language="te"] .i18n > [data-lang="en"] {
    visibility: hidden;
    opacity: 0;

    pointer-events: none;
}

[data-language="te"] .i18n > [data-lang="te"] {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}


/* =========================================
   DESKTOP NAV
========================================= */

.sjk-nav {
    display: flex;
    align-items: center;

    gap: 28px;

    min-width: 0;
}

.sjk-nav__link {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 36px;

    padding: 0;

    border: 0;

    background: transparent;
    color: var(--sjk-black);

    cursor: pointer;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    letter-spacing: .06em;

    text-decoration: none;
    white-space: nowrap;

    transition: color .2s ease;
}

.sjk-nav__link::after {
    position: absolute;

    right: 0;
    bottom: 3px;
    left: 0;

    height: 1px;

    background: var(--sjk-black);

    content: "";

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .2s ease;
}

.sjk-nav__link:hover::after,
.sjk-nav__link:focus-visible::after {
    transform: scaleX(1);
}

.sjk-nav__link:hover {
    color: #000000;
}


/* =========================================
   LOGIN
========================================= */

.sjk-login {
    position: relative;

    display: flex;
    align-items: center;
}

.sjk-login__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 14px;

    border: 1px solid var(--sjk-black);

    background: var(--sjk-black);
    color: #ffffff;

    cursor: pointer;

    font: inherit;
    font-size: 11px;
    font-weight: 800;

    letter-spacing: .06em;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.sjk-login__button:hover {
    background: #292929;
    border-color: #292929;
}

.sjk-login__arrow {
    width: 13px;
    height: 13px;

    margin-left: 5px;

    transition: transform .2s ease;
}

.sjk-login__button[aria-expanded="true"] .sjk-login__arrow,
.sjk-mobile__login > button[aria-expanded="true"] .sjk-login__arrow {
    transform: rotate(180deg);
}


/* =========================================
   LOGIN DROPDOWN
========================================= */

.sjk-login__dropdown {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    z-index: 1100;

    width: 175px;

    padding: 7px;

    border: 1px solid var(--sjk-border);

    background: #ffffff;

    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);

    opacity: 0;

    transform: translateY(-7px);

    transition:
        opacity .18s ease,
        transform .18s ease;
}

.sjk-login__dropdown.is-open {
    opacity: 1;

    transform: translateY(0);
}

.sjk-login__dropdown[hidden] {
    display: none;
}

.sjk-login__dropdown button {
    display: block;

    width: 100%;

    padding: 12px;

    border: 0;

    background: transparent;
    color: var(--sjk-black);

    cursor: pointer;

    font: inherit;
    font-size: 10px;
    font-weight: 800;

    letter-spacing: .07em;

    text-align: left;
}

.sjk-login__dropdown button:hover {
    background: var(--sjk-soft);
}


/* =========================================
   CONTROLS
========================================= */

.sjk-controls {
    display: flex;
    align-items: center;

    gap: 10px;

    flex: 0 0 auto;
}


/* LANGUAGE */

.sjk-language {
    display: inline-flex;
    align-items: center;

    padding: 2px;

    border: 1px solid #dddddd;

    border-radius: 999px;

    background: #ffffff;
}

.sjk-language button {
    min-height: 29px;

    padding: 0 8px;

    border: 0;

    border-radius: 999px;

    background: transparent;
    color: var(--sjk-black);

    cursor: pointer;

    font: inherit;
    font-size: 9px;
    font-weight: 800;

    white-space: nowrap;
}

.sjk-language button[aria-pressed="true"] {
    background: var(--sjk-black);
    color: #ffffff;
}


/* =========================================
   MOBILE MENU BUTTON
========================================= */

.sjk-menu-toggle {
    display: none;

    width: 39px;
    height: 37px;

    flex: 0 0 39px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    padding: 0;

    border: 1px solid #dddddd;

    background: #ffffff;
    color: var(--sjk-black);

    cursor: pointer;
}

.sjk-menu-toggle span {
    display: block;

    width: 18px;
    height: 1.5px;

    background: currentColor;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.sjk-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.sjk-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.sjk-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* =========================================
   MOBILE PANEL
========================================= */

.sjk-mobile {
    display: none;
}


/* =========================================
   FOCUS
========================================= */

.sjk-nav__link:focus-visible,
.sjk-login__button:focus-visible,
.sjk-language button:focus-visible,
.sjk-menu-toggle:focus-visible,
.sjk-login__dropdown button:focus-visible,
.sjk-mobile__nav a:focus-visible,
.sjk-mobile__login > button:focus-visible,
.sjk-mobile__login-menu button:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 640px) {

    .sjk-header__inner {
        min-height: 76px;

        padding: 8px 12px;

        gap: 6px;

        justify-content: space-between;
    }

    .sjk-brand {
        flex: 1 1 auto;

        min-width: 0;

        gap: 6px;
    }

    .sjk-brand__logo {
        width: 45px;
        height: 45px;

        flex-basis: 45px;
    }

    .sjk-brand__identity {
        flex: 1 1 auto;

        min-width: 0;

        overflow: visible;

        gap: 3px;
    }

    .sjk-brand__name {
        gap: 3px;

        width: max-content;
        max-width: none;

        white-space: nowrap;
    }

    .sjk-brand__primary {
        font-size: 9.2px;
    }

    .sjk-brand__secondary {
        font-size: 8.8px;
    }

    .sjk-brand__legal {
        font-size: 6.5px;
    }

    .sjk-brand__tagline {
        font-size: 5.9px;

        letter-spacing: .025em;

        white-space: nowrap;
    }

    /* Hide desktop navigation */
    .sjk-nav {
        display: none;
    }

    .sjk-controls {
        gap: 5px;
    }

    .sjk-language button {
        min-height: 27px;

        padding: 0 6px;

        font-size: 8px;
    }

    /* Show hamburger */
    .sjk-menu-toggle {
        display: inline-flex;
    }

    /* Mobile navigation */
    .sjk-mobile {
        position: fixed;

        top: var(--sjk-header-height, 76px);

        right: 0;
        left: 0;

        z-index: 999;

        display: block;

        max-height:
            calc(100dvh - var(--sjk-header-height, 76px));

        overflow-y: auto;

        background: #ffffff;

        border-bottom: 1px solid var(--sjk-border);

        box-shadow:
            0 18px 35px rgba(0, 0, 0, .10);

        opacity: 0;
        visibility: hidden;

        pointer-events: none;

        transform: translateY(-8px);

        transition:
            opacity .2s ease,
            transform .2s ease,
            visibility .2s ease;
    }

    .sjk-mobile.is-open {
        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform: translateY(0);
    }

    .sjk-mobile__nav {
        width: min(100%, 680px);

        margin: 0 auto;

        padding: 8px 16px 25px;
    }

    .sjk-mobile__nav > a,
    .sjk-mobile__login > button {
        display: flex;

        align-items: center;
        justify-content: space-between;

        width: 100%;

        min-height: 53px;

        border: 0;

        border-bottom: 1px solid var(--sjk-border);

        background: transparent;
        color: var(--sjk-black);

        cursor: pointer;

        font: inherit;

        font-size: 12px;

        font-weight: 800;

        letter-spacing: .06em;

        text-align: left;

        text-decoration: none;
    }

    .sjk-mobile__login-menu {
        padding: 12px 14px;

        border-bottom: 1px solid var(--sjk-border);

        background: #fafafa;
    }

    .sjk-mobile__login-menu button {
        display: block;

        width: 100%;

        padding: 7px 0;

        border: 0;

        background: transparent;

        color: var(--sjk-black);

        cursor: pointer;

        font: inherit;

        font-size: 11px;

        font-weight: 700;

        text-align: left;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 380px) {

    .sjk-header__inner {
        padding-right: 8px;
        padding-left: 8px;
    }

    .sjk-brand__logo {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .sjk-brand__primary {
        font-size: 8.5px;
    }

    .sjk-brand__secondary {
        font-size: 8.2px;
    }

    .sjk-brand__legal {
        font-size: 6px;
    }

    .sjk-brand__tagline {
        font-size: 5.5px;
    }

    .sjk-language button {
        padding: 0 5px;

        font-size: 7.5px;
    }

    .sjk-menu-toggle {
        width: 36px;
        height: 35px;

        flex-basis: 36px;
    }
}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .sjk-header *,
    .sjk-header *::before,
    .sjk-header *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}