        /* Niyyah signature logo colours */
        .niyyah-custom-page .logo b,
        .niyyah-custom-page .footer-home-link b {
            color: #c6b383;
            font-weight: 800;
        }

        .niyyah-custom-page .logo span,
        .niyyah-custom-page .footer-home-link span {
            color: #c6b383;
            font-weight: 900;
        }

        /* Normal letter spacing for the main navigation */
        .niyyah-custom-page header nav a {
            letter-spacing: normal;
            text-decoration: none;
        }


        /* Responsive navigation */
        .niyyah-custom-page header.niyyah-header {
            position: relative;
            z-index: 1000;
        }

        .niyyah-custom-page .mobile-menu-toggle,
        .niyyah-custom-page .mobile-build-link {
            display: none;
        }

        .niyyah-custom-page .mobile-menu-toggle {
            border: 0;
            cursor: pointer;
        }

        @media (max-width: 768px) {
            .niyyah-custom-page header.niyyah-header {
                box-sizing: border-box;
                width: 100%;
                min-width: 0;
                padding: 16px 20px;
                display: flex;
                align-items: center;
                justify-content: space-between;
                flex-wrap: wrap;
                gap: 12px;
            }

            .niyyah-custom-page header.niyyah-header .logo {
                display: inline-block;
                flex: 0 0 auto;
                margin: 0;
                font-size: 29px;
                line-height: 1;
                text-decoration: none;
            }

            .niyyah-custom-page .mobile-menu-toggle {
                display: flex;
                width: 44px;
                height: 44px;
                flex: 0 0 44px;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 6px;
                padding: 0;
                margin: 0 0 0 auto;
                border: 1px solid rgba(23, 23, 19, 0.18);
                border-radius: 50%;
                background: transparent;
                color: #171713;
            }

            .niyyah-custom-page .mobile-menu-toggle span {
                display: block;
                width: 18px;
                height: 1.5px;
                background: #171713;
                transition: transform 0.2s ease;
            }

            .niyyah-custom-page .mobile-menu-toggle[aria-expanded="true"] span:first-child {
                transform: translateY(3.75px) rotate(45deg);
            }

            .niyyah-custom-page .mobile-menu-toggle[aria-expanded="true"] span:last-child {
                transform: translateY(-3.75px) rotate(-45deg);
            }

            .niyyah-custom-page header.niyyah-header > nav {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                box-sizing: border-box;
                width: 100%;
                margin: 0;
                padding: 14px 20px 22px;
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                background: #f4efe3;
                border-top: 1px solid rgba(23, 23, 19, 0.12);
                box-shadow: 0 12px 24px rgba(23, 23, 19, 0.08);
            }

            .niyyah-custom-page header.niyyah-header > nav.is-open {
                display: flex;
            }

            .niyyah-custom-page header.niyyah-header > nav > a:not(.pill) {
                display: block;
                padding: 15px 0;
                margin: 0;
                border-bottom: 1px solid rgba(23, 23, 19, 0.10);
                color: #171713;
                font-size: 15px;
                line-height: 1.4;
                letter-spacing: normal;
                text-decoration: none;
            }

            .niyyah-custom-page header.niyyah-header .desktop-build-link {
                display: none;
            }

            .niyyah-custom-page header.niyyah-header > nav > .mobile-build-link {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                box-sizing: border-box;
                width: 100%;
                margin: 18px 0 0;
                padding: 14px 18px;
                border-radius: 999px;
                background: #c6b383;
                color: #171713;
                text-align: center;
                text-decoration: none;
            }
        }

        /* IT Solutions page: keep typography consistent across breakpoints. */
        .ny-it-page .it-hero h1 {
            font-weight: 600;
        }

        .ny-it-page .it-section h2,
        .ny-it-page .it-cta h2 {
            font-weight: 500;
        }

        .ny-it-page .it-services h3,
        .ny-it-page .it-process h3,
        .ny-it-page .it-principles h3 {
            font-weight: 600;
        }

        .niyyah-custom-page .niyyah-header .logo {
            font-weight: 700;
            letter-spacing: -2px;
        }

        .niyyah-custom-page .niyyah-header nav a {
            font-weight: 600;
            letter-spacing: normal;
        }

        .niyyah-custom-page .mobile-build-link {
            font-weight: 700;
        }

        @media (max-width: 768px) {
            .niyyah-custom-page header.niyyah-header {
                position: sticky;
                top: 0;
                isolation: isolate;
                background: #f4efe3;
            }

            .niyyah-custom-page header.niyyah-header > nav#niyyah-mobile-nav {
                z-index: 1001;
                max-height: calc(100svh - 76px);
                overflow-y: auto;
            }

            .niyyah-custom-page header.niyyah-header > nav#niyyah-mobile-nav > a:not(.pill) {
                font-family: "DM Sans", sans-serif;
                font-size: 14px;
                font-weight: 600;
                line-height: 1.5;
                text-transform: uppercase;
            }

            .niyyah-custom-page header.niyyah-header .mobile-menu-toggle {
                min-width: 44px;
                min-height: 44px;
                touch-action: manipulation;
            }

            /* Keep the desktop font weights; responsive rules change size/layout only. */
            .ny-it-page .it-hero h1 {
                font-weight: 600;
            }

            .ny-it-page .it-section h2,
            .ny-it-page .it-cta h2 {
                font-weight: 500;
            }

            .ny-it-page .it-services h3,
            .ny-it-page .it-process h3,
            .ny-it-page .it-principles h3 {
                font-weight: 600;
            }
        }

