@media (max-width:1460px) {
    .header-main {
        padding: 30px 20px;
    }

    .top-section {
        padding-top: 200px;
    }

    .top-section h1 {
        font-size: 50px;
        margin: 0 0 30px 0;
        line-height: 50px;
    }

    .about-section h2 {
        max-width: 460px
    }

    .project-list-section {
        padding-bottom: 220px;
    }

    .contact-page .inner-area h3 {
        font-size: 60px;
        line-height: 60px;
    }

    .mainproject-section .project-photo {
        height: auto
    }

    .mainproject-section .content-right h2 {
        font-size: 32px;
        line-height: 32px;
        margin: 0 0 110px 0;
    }

    .studio-top-section .inner-area h2,
    .studio-top-section .content-area .lefttitle,
    .studio-top-section .content-area p {
        font-size: 18px
    }

    .studio-top-section .inner-area h1 {
        font-size: 50px;
        line-height: 50px
    }

    .service-section .service-block .number {
        font-size: 120px
    }

    .service-section .service-block p {
        font-size: 18px
    }

    .service-section .service-block h3 {
        font-size: 18px
    }

    .service-section .service-block li {
        font-size: 18px
    }

    .service-section .service-block .service-content .service-photo {
        height: 460px;
        margin-top: 120px;
    }

    .service-section .service-block li ol li {
        font-size: 18px
    }
}

@media (min-width: 768px) and (max-width: 1024px) {

    .o-scroll {
        overflow: scroll;
    }

    .header-main {
        padding: 30px 20px;
    }

    .top-section {
        padding-top: 200px;
    }

    .top-section h1 {
        font-size: 50px;
        margin: 0 0 30px 0;
    }

    .about-section h2 {
        max-width: 460px
    }

    .project-list-section {
        padding-bottom: 220px;
    }

    .project-block {
        margin-bottom: 80px;
    }

    .project-block h2 {
        font-size: 16px
    }

    .about-section .content-area {
        display: block;
    }

    .about-section .half {
        width: 100%;
        margin: 0 0 150px 0
    }

    .about-section p {
        margin: 0 0 150px 0
    }

    .contact-page {
        margin: 100px 0 0 0
    }

    .contact-page .inner-area {
        flex-wrap: wrap;
    }

    .contact-page .inner-area .small-part {
        width: 50%;
        margin-bottom: 80px
    }

    .contact-page .inner-area .large-part {
        width: 100%
    }

    .contact-page .inner-area h3 {
        font-size: 40px;
        line-height: 40px
    }

    .contact-page .inner-area ul.link {
        margin: 0 0 200px 0
    }


    .awards-section {
        margin: 0 0 125px 0
    }

    .awards-section h2 {
        font-size: 32px;
        margin: 0 0 40px 0
    }

    .awards-section .awards-list-1 .awrd-logo img {
        width: 160px;
        height: 50px;
    }

    .awards-section h3 {
        font-size: 16px;
        margin: 40px 0 50px 0
    }

    .awards-section .awards-list-2 {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 50px;
    }

    .awards-section .awards-list-2 .awrd-logo img {
        width: 140px;
        height: 50px;
    }

    .studio-top-section {
        margin: 80px 0 60px 0
    }

    .studio-top-section .inner-area {
        display: block;
        border-top: none;
        padding-top: 0;
        padding-bottom: 60px;
    }

    .studio-top-section .inner-area .small-part {
        width: 100%;
        margin-bottom: 46px;
        width: 134px
    }

    .studio-top-section .inner-area .large-part {
        width: 100%;
        border-top: #A6A6A6 1px solid;
        padding-top: 14px
    }

    .studio-top-section .inner-area h2 {
        font-size: 16px
    }

    .studio-top-section .content-area p {
        font-size: 16px;
        width: 90%
    }

    .studio-top-section .content-area {
        display: block;
        padding-bottom: 70px;
    }

    .studio-top-section .content-area .rightside {
        width: 100%;
        padding-left: 50px
    }

    .studio-top-section .content-area .lefttitle {
        width: 100%;
        font-size: 16px;
        padding-left: 50px;
        margin-bottom: 35px
    }

    .mainproject-section .d-flex {
        display: block !important;
        padding-top: 15px;
        padding-bottom: 160px;
        border-bottom: none
    }

    .mainproject-section .project-photo {
        width: 100%;
        height: 400px;
        margin: 0 0 20px 0
    }

    .mainproject-section .content-right {
        width: 100%;
        padding: 0px
    }

    .mainproject-section .content-right h2 {
        font-size: 32px;
        line-height: 32px;
        margin: 0 0 50px 0;
    }

    .mainproject-section .content-right a {
        font-size: 16px
    }

    .service-section h2 {
        font-size: 16px;
        margin: 0px 0 8px 0
    }

    .service-section .service-block:first-child {
        border-top: #A6A6A6 1px solid;
        flex-wrap: wrap;
    }

    .service-section .service-block {
        border-top: #A6A6A6 1px solid;
        flex-wrap: wrap;
    }

    .service-section .service-block {
        padding-top: 35px !important;
        padding-bottom: 130px
    }

    .service-section .service-block .number {
        font-size: 58px;
        width: 40%
    }

    .service-section .service-block .service-highlight {
        width: 60%
    }

    .service-section .service-block h3 {
        font-size: 16px;
    }

    .service-section .service-block li {
        font-size: 16px;
    }

    .service-section .service-block li ol {
        padding-left: 18px
    }

    .service-section .service-block li ol li {
        font-size: 16px;
    }

    .service-section .service-block .service-content {
        width: 100%;
        padding-top: 50px
    }

    .service-section .service-block p {
        font-size: 16px;
        width: 100%
    }

    .service-section .service-block .service-content .service-photo {
        margin-top: 20px;
        height: 400px
    }

    .service-section .service-block a.link {
        font-size: 16px
    }

    .service-section .service-block a.link .icon {
        width: 12px
    }

    .mainproject-section .content-right a {
        position: relative;
    }
}

/* White Page Styles */
html,
body {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #000000 !important;
}

.header-main ul.main-menu li a {
    font-weight: 400 !important;
    font-style: normal !important;
    font-size: 18px;
    line-height: 100% !important;
    letter-spacing: 0% !important;
    color: #ffffff !important;
}

header {
    mix-blend-mode: difference !important;
}



h1:not(header *),
h2:not(header *):not(.contact-info h2):not(.service-section h2):not(.o-title h2):not(.nk-case-h),
h4:not(header *),
h5:not(header *),
h6:not(header *),
p:not(header *),
a:not(header *):not(#footer_sec *):not(.contact-info a.policy-link):not(.o-title_line *),
li:not(header *),
/* .o-title_line:not(header *), */
.service-section .service-block .number {
    color: #000000 !important;
}

.about-section p span,
.project-block h2 span {
    color: #A6A6A6 !important;
}

#footer_sec h2,
#footer_sec a,
#footer_sec p,
#footer_sec .o-title_line {
    color: #ffffff !important;
}

#footer_sec a:hover {
    color: #A6A6A6 !important;
}

/* Contact Form Styles */
.contact-form-container {
    width: 100%;
    max-width: 600px;
    margin-top: 40px;
}

.nirakaar-contact-form .form-group {
    margin-bottom: 25px;
    position: relative;
}

.nirakaar-contact-form input[type="text"],
.nirakaar-contact-form input[type="email"],
.nirakaar-contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 0.5px solid #A6A6A6;
    color: #CECECE;
    padding: 10px 0;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.nirakaar-contact-form input::placeholder,
.nirakaar-contact-form textarea::placeholder {
    color: #CECECE;
}

.nirakaar-contact-form input:focus,
.nirakaar-contact-form textarea:focus {
    border-bottom-color: #A6A6A6;
}

.nirakaar-contact-form .phone-group {
    display: flex;
    gap: 15px;
}

.nirakaar-contact-form .phone-group .nk-custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 140px;
}

.nirakaar-contact-form .phone-group .nk-custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.nirakaar-contact-form .phone-group .nk-custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 16px !important;
    color: #CECECE;
    background: transparent !important;
    cursor: pointer;
    border: none !important;
    border-bottom: 0.5px solid #A6A6A6 !important;
    border-radius: 0 !important;
    height: 54px;
}

.nirakaar-contact-form .phone-group .nk-custom-select.open .nk-custom-select__trigger {
    border-bottom-color: #CECECE !important;
}

@media (max-width: 767px) {
    .contact-info .first-part {
        width: 100%;
        margin-bottom: 120px;
    }
}

.nirakaar-contact-form .phone-group .arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.nirakaar-contact-form .phone-group .arrow::before,
.nirakaar-contact-form .phone-group .arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 1.5px;
    height: 8px;
    transition: all 0.5s;
    background-color: #A6A6A6;
}

.nirakaar-contact-form .phone-group .arrow::before {
    left: -2px;
    transform: rotate(-45deg);
}

.nirakaar-contact-form .phone-group .arrow::after {
    left: 2px;
    transform: rotate(45deg);
}

.nk-custom-select.open .arrow::before {
    transform: rotate(45deg);
}

.nk-custom-select.open .arrow::after {
    transform: rotate(-45deg);
}

.nirakaar-contact-form .phone-group .nk-custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 0.5px solid #A6A6A6;
    border-top: 0;
    background: #000;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.nk-custom-select.open .nk-custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.nirakaar-contact-form .phone-group .nk-custom-option {
    position: relative;
    display: block;
    padding: 12px 15px;
    font-size: 14px;
    color: #CECECE;
    background-color: white;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 0.5px solid #222;
}

.nirakaar-contact-form .phone-group .nk-custom-option:last-child {
    border-bottom: 0;
}

.nirakaar-contact-form .phone-group .nk-custom-option:hover {
    background-color: white;
    color: #000;
}

.nirakaar-contact-form .phone-group .nk-custom-option.selected {
    color: #000000;
    background-color: #CECECE;
}

/* Custom scrollbar */
.nk-custom-options::-webkit-scrollbar {
    width: 3px;
}

.nk-custom-options::-webkit-scrollbar-track {
    background: #CECECE;
}

.nk-custom-options::-webkit-scrollbar-thumb {
    background: #444;
}

.nirakaar-contact-form .phone-group input[name="contact_number"] {
    flex: 1;
}

.nirakaar-contact-form .challenges-group {
    margin-top: 40px;
    margin-bottom: 30px;
}

.nirakaar-contact-form .challenges-title {
    font-weight: 400;
    font-style: normal;
    font-size: 16px !important;
    line-height: 125% !important;
    letter-spacing: 0%;
    color: #CECECE !important;
    margin-bottom: 20px !important;
}

.nirakaar-contact-form .checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    color: #CECECE;
    user-select: none;
}

.nirakaar-contact-form .checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.nirakaar-contact-form .checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 16px;
    width: 16px;
    border: 0.3px solid #A6A6A6;
    background-color: transparent;
}

.nirakaar-contact-form .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 3px;
    top: 3px;
    width: 9px;
    height: 9px;
    background-color: #CECECE;
}

.nirakaar-contact-form .checkbox-container:hover input~.checkmark {
    border-color: #A6A6A6;
}

.nirakaar-contact-form .checkbox-container input:checked~.checkmark:after {
    display: block;
}

.nirakaar-contact-form .checkbox-container input:checked~.checkmark {
    background-color: transparent;
    border: 0.3px solid #A6A6A6;
}

.nirakaar-contact-form .other-textarea-group textarea {
    height: 80px;
    resize: none;
    border: 0.5px solid #A6A6A6;
    padding: 15px;
    background: transparent;
    border-radius: 0;
    font-size: 18px;
}

.nirakaar-contact-form .other-textarea-group textarea:focus {
    border: 0.5px solid #A6A6A6;
}

.nirakaar-contact-form .form-submit {
    margin-top: 40px;
}

.nirakaar-contact-form .submit-btn {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #000000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nirakaar-contact-form .submit-btn:hover {
    opacity: 0.8;
}

.nirakaar-contact-form .submit-message {
    font-weight: 400;
    font-style: normal;
    font-size: 14px !important;
    line-height: 125%;
    letter-spacing: 0%;
    color: #CECECE !important;
    margin-top: 15px !important;
}

/* Remove fixed header on contact page */
body.page-template-page-contact header.dl-sections.fixed,
body.page-template-page-contact header.dl-sections {
    position: absolute !important;
}

/* =============================================
   HAMBURGER BUTTON
   ============================================= */
.nk-hamburger {
    display: none;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nk-hamburger svg path {
    stroke: white;
}

/* =============================================
   MOBILE MENU OVERLAY
   ============================================= */
.nk-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    /* border: 1px solid #A6A6A6; */
    z-index: 99999;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    padding: 0 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

.nk-mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Header row: logo + close */
.nk-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0 20px 0;
    flex-shrink: 0;
}

.nk-mobile-menu__logo a {
    display: block;
}

.nk-mobile-menu__close {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

/* Divider line — acts as the header bottom border */
.nk-mobile-menu__divider {
    width: 100%;
    height: 1px;
    background: #A6A6A6;
    flex-shrink: 0;
}

/* Body: nav links stacked, Start a Project below — all centered */
.nk-mobile-menu__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    gap: 30px;
}

.nk-mobile-menu__nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nk-mobile-menu__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nk-mobile-menu__nav ul li {
    margin-bottom: 4px;
}

.nk-mobile-menu__nav ul li:last-child {
    margin-bottom: 0;
}

.nk-mobile-menu__nav ul li a {
    font-weight: 400;
    font-style: normal;
    font-size: 28px;
    line-height: 100%;
    letter-spacing: 0%;
    text-transform: uppercase;
    color: #000000;
    display: block;
    text-decoration: none;
    transition: opacity 0.2s ease;
    padding: 12px 0;
}

.nk-mobile-menu__nav ul li a:hover {
    opacity: 0.5;
}

.nk-start-project {
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #000000 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s ease;
}

.nk-start-project:hover {
    opacity: 0.6;
}


/* Ensure Reach out and logo are visible together in the footer and fill the screen */
.contact-info {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding-top: 8vh !important;
    padding-bottom: 4vh !important;
}

.contact-info svg,
.contact-info img {
    max-height: 40vh !important;
    /* width: auto !important; */
    margin: 0 auto;
}

/* .contact-info .d-flex {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
} */

/* =============================================
   RESPONSIVE: show hamburger on mobile only
   ============================================= */
@media (max-width: 767px) {

    /* Hide desktop nav */
    .header-main ul.main-menu {
        display: none !important;
    }

    /* Show hamburger */
    .nk-hamburger {
        display: flex !important;
    }

    /* Show overlay as flex when open */
    .nk-mobile-menu {
        display: flex;
    }

    /* Prevent body scroll when menu open */
    body.nk-menu-open {
        overflow: hidden;
    }

    .o-scroll {
        overflow: scroll;
    }

    .dl-sections {
        padding: 0 10px
    }

    .service-section {
        padding-top: 40px;
    }

    .header-main {
        padding: 30px 20px 30px 10px;
    }

    .header-main ul.main-menu li {
        margin-left: 30px;
    }

    .header-main ul.main-menu li a {
        font-size: 10px !important;
    }

    .header-main .logo {
        width: 130px;
    }

    .header-main .logo a {
        display: block;
    }

    .header-main .logo img {
        width: 100%;
        display: block;
    }

    .top-section {
        padding-top: 30px;
    }

    .top-section h1 {
        font-size: 28px;
        margin: 0 0 25px 0;
        line-height: 30px;
    }

    .top-section .img-area {
        height: auto
    }

    .about-section {
        margin: 50px 0 0 0
    }

    .about-section h2 {
        max-width: 460px;
        font-size: 14px;
    }

    .project-list-section {
        padding-bottom: 180px;
    }

    .project-list-section ul.list-area li {
        width: 100%;
    }

    .project-list-section ul.list-area li.full .project-block .project-img {
        height: auto
    }

    .project-block {
        margin-bottom: 60px;
    }

    .project-block .project-img {
        height: auto
    }

    .project-block .project-img img {
        position: relative;
        width: 100% !important;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .project-block h2 {
        font-size: 14px
    }


    .about-section .content-area {
        display: block;
        padding-bottom: 0px
    }

    .about-section .half {
        width: 100%;
        margin: 0 0 150px 0
    }

    .about-section p {
        margin: 0 0 100px 0;
        font-size: 14px !important;
    }

    .contact-section h2 {
        padding-top: 16px;
        padding-bottom: 114px;
        font-size: 16px !important;
    }

    .policy-mobile {
        display: none !important;
    }

    .policy-desktop {
        display: block !important;
    }

    .contact-info {
        min-height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding-top: 6vh !important;
        padding-bottom: 4vh !important
    }

    .contact-info .d-flex {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0 !important
    }

    .contact-info .d-flex .leftside {
        display: block;
        width: 100%
    }

    /* Second-row: Online + Privacy Policy side-by-side */
    .contact-info .second-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        margin-top: 50px;
    }

    .contact-info .second-part {
        width: auto;
    }

    .contact-info h2 {
        font-size: 14px
    }

    .contact-info p {
        font-size: 14px
    }

    .contact-info a {
        font-size: 14px
    }

    .policy-mobile {
        display: inline-block !important;
    }

    .policy-desktop {
        display: none !important;
    }

    .contact-page {
        margin: 130px 0 0 0
    }

    .contact-page .inner-area {
        flex-wrap: wrap;
    }

    .contact-page .inner-area .small-part {
        width: 100%;
        margin-bottom: 60px
    }

    .contact-page .inner-area .large-part {
        width: 100%
    }

    .contact-page .inner-area h3 {
        font-size: 28px;
        line-height: 28px;
        margin: 0px 0px 80px 0px
    }

    .contact-page .inner-area ul.link {
        margin: 0 0 200px 0
    }

    .contact-page .inner-area h2 {
        font-size: 14px;
        line-height: 16px
    }

    .contact-page .inner-area a {
        font-size: 14px;
        line-height: 20px
    }

    .contact-page .inner-area h4 {
        font-size: 14px;
    }

    .contact-page .inner-area ul.link li a {
        font-size: 14px
    }

    .studio-top-section {
        margin: 80px 0 60px 0
    }

    .studio-top-section .inner-area {
        display: block;
        border-top: none;
        padding-top: 0;
        padding-bottom: 60px;
    }

    .studio-top-section .inner-area .small-part {
        width: 100%;
        margin-bottom: 46px;
        width: 134px
    }

    .studio-top-section .inner-area .large-part {
        width: 100%;
        border-top: #A6A6A6 1px solid;
        padding-top: 14px
    }

    .studio-top-section .inner-area h2 {
        font-size: 14px !important;
    }

    .studio-top-section .content-area p {
        font-size: 14px !important;
        width: 90%
    }

    .studio-top-section .content-area {
        display: block;
        padding-bottom: 70px;
    }

    .studio-top-section .content-area .rightside {
        width: 100%;
        padding-left: 0px
    }

    .studio-top-section .content-area .lefttitle {
        width: 100%;
        font-size: 14px !important;
        padding-left: 0px;
        margin-bottom: 35px
    }

    .awards-section {
        margin: 0 0 125px 0
    }

    .awards-section h2 {
        font-size: 28px;
        margin: 0 0 40px 0
    }

    .awards-section .awards-list-1 {
        flex-wrap: wrap;
        align-items: flex-end;
        row-gap: 50px;
    }

    .awards-section .awards-list-1 .awrd-logo {
        width: 50%;
        text-align: left;
    }

    .awards-section .awards-list-1 .awrd-logo:nth-child(2) {
        text-align: right;
    }

    .awards-section .awards-list-1 .awrd-logo.award-3 {
        width: 100%;
    }

    .awards-section .awards-list-1 .awrd-logo img {
        width: 200px;
        height: 90px;
        object-position: left bottom;
    }

    .awards-section .awards-list-1 .awrd-logo:nth-child(2) img {
        object-position: right bottom;
    }

    .award-3 img {
        width: 200px !important;
        height: 90px !important;
    }

    .awards-section h3 {
        font-size: 14px;
        margin: 40px 0 50px 0
    }

    .awards-section .awards-list-2 {
        flex-wrap: wrap;
        align-items: center;
        row-gap: 50px;
    }

    .awards-section .awards-list-2 .awrd-logo {
        width: 50%;
        text-align: left;
    }

    .awards-section .awards-list-2 .awrd-logo:nth-child(even) {
        text-align: right;
    }

    .awards-section .awards-list-2 .awrd-logo img {
        width: 200px;
        height: 80px;
        object-position: left;
    }

    .awards-section .awards-list-2 .awrd-logo:nth-child(even) img {
        object-position: right;
    }

    .mainproject-section .d-flex {
        display: block !important;
        padding-top: 15px;
        padding-bottom: 160px;
        border-bottom: none
    }

    .mainproject-section .project-photo {
        width: 100%;
        margin: 0 0 20px 0
    }

    .mainproject-section .content-right {
        width: 100%;
        padding: 0px
    }

    .mainproject-section .content-right h2 {
        font-size: 28px;
        line-height: 28px;
        margin: 0 0 50px 0;
    }

    .mainproject-section .content-right a {
        font-size: 16px
    }

    .privacy-page {
        margin: 80px 0 0px 0;
    }

    .privacy-page .inner-area {
        display: block;
    }

    .privacy-page .inner-area .leftside {
        width: 100%
    }

    .privacy-page .inner-area .rightside {
        width: 100%;
        padding: 0px
    }

    .privacy-page .inner-area .point-area ul li {
        width: 100%;
        font-size: 14px
    }

    .privacy-page .inner-area .leftside h1 {
        font-size: 28px;
        margin: 0 0 50px 0
    }

    .privacy-page .inner-area .rightside p {
        font-size: 14px
    }

    .privacy-page .inner-area .full-info-area p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .privacy-page .inner-area .full-info-area p span {
        margin-bottom: 20px;
    }

    .privacy-page .inner-area .point-area h3 {
        font-size: 14px;
        margin-bottom: 20px
    }

    .privacy-page .inner-area .last-section h3 {
        font-size: 14px;
        margin-bottom: 20px
    }

    .privacy-page .inner-area .last-section p {
        font-size: 14px
    }

    .service-section h2 {
        font-size: 16px;
        margin: 0px 0 8px 0
    }

    .service-section .service-block:first-child {
        border-top: #A6A6A6 1px solid;
        flex-wrap: wrap;
    }

    .service-section .service-block {
        border-top: #A6A6A6 1px solid;
        flex-wrap: wrap;
    }

    .service-section .service-block {
        padding-top: 35px !important;
        padding-bottom: 130px
    }

    .service-section .service-block .number {
        font-size: 60px;
        width: 40%
    }

    .service-section .service-block .service-highlight {
        width: 60%
    }

    .service-section .service-block h3 {
        font-size: 14px;
    }

    .service-section .service-block li {
        font-size: 14px;
    }

    .service-section .service-block li ol {
        padding-left: 18px
    }

    .service-section .service-block li ol li {
        font-size: 14px;
    }

    .service-section .service-block .service-content {
        width: 100%;
        padding-top: 50px
    }

    .service-section .service-block p {
        font-size: 14px;
        width: 100%
    }

    .service-section .service-block .service-content .service-photo {
        margin-top: 20px;
        height: 220px
    }

    .service-section .service-block a.link {
        font-size: 14px
    }

    .service-section .service-block a.link .icon {
        width: 12px
    }

    .studio-top-section .inner-area h1 {
        font-size: 28px;
        line-height: 28px
    }

    .mainproject-section .content-right a {
        position: relative;
    }

    .contact-page .inner-area p {
        font-size: 14px !important;
    }

    .hide_in_mobile {
        display: none !important;
    }

    .show_in_mobile {
        display: block !important;
    }

    .contact-page .inner-area .small-part.nopad {
        margin-bottom: 0px;
    }

    section#footer_sec {
        margin-top: 400px;
    }

    section.dl-sections.project-info-section .d-flex {
        display: inline-block !important;
    }

    .project-info-section h2 {
        font-size: 28px;
        line-height: 30px;
        margin: 30px 0 30px 0;
    }

    .project-info-section .lefside {
        width: 100%;
        margin-bottom: 30px;
    }

    .project-info-section .rightside {
        width: 100%;
        display: inline-block;
        justify-content: flex-end;
    }

    .project-info-section .client-area {
        width: 49%;
        display: inline-block;
        vertical-align: top;
    }

    .project-info-section .info-area,
    .project-info-section .info-area ul li,
    .project-info-section p,
    .challenge-section h2,
    .challenge-section p {
        font-size: 14px;
    }

    section.dl-sections.challenge-section .d-flex {
        padding-top: 50px;
        padding-bottom: 50px;
        display: inline-block !important;
    }

    .single-projects .work-top-section {
        padding: 0px !important;
    }

    .challenge-section .rightside,
    .challenge-section .lefside {
        width: 100%;
    }

    .challenge-section h2 {
        margin: 0 0 45px 0;
    }

    .iframe-wrapper.landscape {
        padding-top: 60.35%;
    }

    .browse-more-section ul.project-list li {
        width: 100%;
    }

    .browse-more-section ul.project-list li .project-img {
        width: 100%;
        height: inherit;
        overflow: auto;
        position: relative;
    }

    .browse-more-section ul.project-list li .project-img img {
        position: relative;
    }

    .browse-more-section h2 {
        margin: 200px 0 65px 0;
    }

    .contact-info .d-flex {
        border-bottom: none !important;
    }

    .cursor {
        display: none !important;
    }

    .nirakaar-contact-form input[type="text"],
    .nirakaar-contact-form input[type="email"],
    .nirakaar-contact-form textarea {
        font-size: 14px !important;
    }

    .nirakaar-contact-form input::placeholder,
    .nirakaar-contact-form textarea::placeholder {
        color: #CECECE;
    }

    .nirakaar-contact-form .checkbox-container {
        font-size: 14px !important;
    }

    .nirakaar-contact-form .submit-btn {
        font-size: 16px !important;
    }

    .nirakaar-contact-form .phone-group .nk-custom-select__trigger {
        font-size: 14px !important;
        height: 40px !important;
    }

    .nk-custom-select-wrapper {
        width: 95px !important;
    }
}

/* =============================================
   Lenis Smooth Scroll Core Styles
   ============================================= */
html.lenis,
html.lenis body {
    height: auto;
}

html {
    scroll-behavior: auto !important;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis-stopped {
    overflow: hidden;
}

.lenis-scrolling iframe {
    pointer-events: none;
}

/* GPU-Accelerated Smooth Custom Cursor to prevent Chrome/Blink flicker */
.cursor {
    top: 0 !important;
    left: 0 !important;
    will-change: transform;
    transform: translate3d(calc(var(--cursor-x, -100px) - 15px), calc(var(--cursor-y, -100px) - 15px), 0) scale(var(--cursor-scale, 1));
    transition: transform 0.08s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

/* Smooth opacity fade for site-logo to prevent layout shifts */
#site-logo {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Services dropdown in the desktop header (hidden on mobile via main-menu rule) */
.header-main ul.main-menu li.has-dropdown {
    position: relative;
}

.header-main ul.main-menu li.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-main ul.main-menu .nk-chevron {
    width: 13px;
    height: 8px;
    flex: none;
    transition: transform 0.2s ease;
}

/* The header uses mix-blend-mode: difference, so the panel colour is inverted:
   #090909 renders as #f6f6f6 on the white page, and white text renders as grey */
.header-main ul.main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    isolation: isolate;
    margin: 0;
    padding: 22px;
    list-style: none;
    min-width: 229px;
    white-space: nowrap;
}

.header-main ul.main-menu .sub-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #090909;
    filter: blur(2.5px);
}

/* Invisible bridge over the gap between the link and the panel, so the pointer never leaves :hover */
.header-main ul.main-menu .sub-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 40px;
}

.header-main ul.main-menu .sub-menu li {
    margin: 0 0 15px;
}

.header-main ul.main-menu .sub-menu li:last-child {
    margin-bottom: 0;
}

.header-main ul.main-menu .sub-menu li a {
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.header-main ul.main-menu li.has-dropdown:hover > .sub-menu,
.header-main ul.main-menu li.has-dropdown:has(:focus-visible) > .sub-menu,
.header-main ul.main-menu li.has-dropdown.is-open > .sub-menu {
    display: block;
}

.header-main ul.main-menu li.has-dropdown:hover .nk-chevron,
.header-main ul.main-menu li.has-dropdown:has(:focus-visible) .nk-chevron,
.header-main ul.main-menu li.has-dropdown.is-open .nk-chevron {
    transform: rotate(180deg);
}

/* =============================================
   INNER PAGES: Work, Blog, service detail pages
   ============================================= */
.nk-page {
    padding: 230px 19px 120px;
    color: #000000;
}

.nk-page a {
    color: #000000;
    text-decoration: none;
}

.nk-page-title {
    font-size: 80px;
    line-height: 0.996;
    font-weight: 400;
    margin: 0 0 30px;
    max-width: 1200px;
}

.nk-page-sub {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 0 60px;
    max-width: 740px;
}

.nk-page-visual {
    height: 600px;
    background: #d9d9d9;
    margin: 40px 0 80px;
}

.nk-page-block {
    margin-bottom: 100px;
}

.nk-page-h2 {
    font-size: 50px;
    line-height: 0.996;
    font-weight: 400;
    margin: 0;
    max-width: 900px;
}

.nk-section-title {
    font-size: 30px;
    line-height: 45px;
    font-weight: 400;
    margin: 0 0 30px;
}

.nk-section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.nk-link {
    font-size: 22px;
    letter-spacing: 3.08px;
    text-transform: uppercase;
    text-decoration: underline;
}

.nk-approach {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.nk-approach li {
    border-top: 1px solid #000000;
    padding-top: 20px;
}

.nk-num {
    display: block;
    font-size: 40px;
    line-height: 1.246;
    margin-bottom: 20px;
}

.nk-step-title {
    font-size: 22px;
    line-height: 26px;
    font-weight: 400;
    text-transform: uppercase;
    margin: 0 0 14px;
}

.nk-step-text {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
    max-width: 420px;
}

.nk-deliverables {
    list-style: none;
    margin: 0;
    padding: 0;
    columns: 2;
}

.nk-deliverables li {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #000000;
    padding: 14px 0;
    break-inside: avoid;
}

.nk-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
}

.nk-card {
    display: block;
}

.nk-card img,
.nk-card-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1.4;
    object-fit: cover;
    background: #d9d9d9;
}

.nk-card-title {
    display: block;
    font-size: 22px;
    line-height: 26px;
    margin-top: 14px;
}

.nk-card-meta {
    display: block;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.5);
}

.nk-cards--work {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 120px;
}

.nk-list {
    border-bottom: 1px solid #000000;
}

.nk-list-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 40px;
    border-top: 1px solid #000000;
    padding: 24px 0;
}

.nk-list-date {
    flex: none;
    width: 140px;
    font-size: 18px;
    color: rgba(0, 0, 0, 0.5);
}

.nk-list-title {
    font-size: 30px;
    line-height: 36px;
}

.nk-empty {
    font-size: 22px;
    color: rgba(0, 0, 0, 0.5);
}

.nk-cta {
    border-top: 1px solid #000000;
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
}

.nk-cta-title {
    font-size: 50px;
    line-height: 0.996;
    margin: 0;
    max-width: 700px;
}

.nk-cta-link {
    font-size: 22px;
    letter-spacing: 3.08px;
    text-transform: uppercase;
    text-decoration: underline;
    white-space: nowrap;
}

@media (max-width: 767px) {
    .nk-page {
        padding: 150px 10px 80px;
    }

    .nk-page-title {
        font-size: 40px;
        line-height: 44px;
    }

    .nk-page-sub {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 40px;
    }

    .nk-page-visual {
        height: 260px;
        margin: 30px 0 50px;
    }

    .nk-page-h2 {
        font-size: 32px;
        line-height: 36px;
    }

    .nk-approach,
    .nk-cards,
    .nk-cards--work,
    .nk-deliverables {
        grid-template-columns: 1fr;
        columns: 1;
    }

    .nk-step-title,
    .nk-step-text,
    .nk-deliverables li {
        font-size: 18px;
        line-height: 22px;
    }

    .nk-cta {
        grid-template-columns: 1fr;
    }

    .nk-cta-title {
        font-size: 32px;
        line-height: 36px;
    }

    .nk-list-title {
        font-size: 20px;
        line-height: 26px;
    }

    .nk-list-row {
        flex-direction: column;
        gap: 8px;
    }

    .nk-list-date {
        width: auto;
    }
}

/* Home */
.nk-page-visual--hero {
    height: 1060px;
    overflow: hidden;
}

.nk-page-visual--hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nk-intro p {
    font-size: 22px;
    line-height: 26px;
    margin: 0;
    max-width: 1100px;
}

.nk-stats {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
}

.nk-stat-value {
    display: block;
    font-size: 50px;
    line-height: 1.2;
}

.nk-stat-label {
    display: block;
    font-size: 22px;
    color: rgba(0, 0, 0, 0.5);
}

.nk-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.nk-testimonial {
    margin: 0;
}

.nk-testimonial blockquote {
    margin: 0 0 20px;
    font-size: 18px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.5);
}

.nk-testimonial figcaption {
    display: flex;
    flex-direction: column;
    font-size: 14px;
}

.nk-testimonial-role {
    color: rgba(0, 0, 0, 0.5);
    font-size: 12px;
}

.nk-cta-muted {
    color: rgba(0, 0, 0, 0.5);
}

/* Services hub */
.nk-hub-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nk-hub-list li {
    border-top: 1px solid #000000;
}

.nk-hub-list li:last-child {
    border-bottom: 1px solid #000000;
}

.nk-hub-list a {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: 20px;
    align-items: center;
    padding: 22px 0;
}

.nk-hub-num {
    font-size: 40px;
    line-height: 1.2;
}

.nk-hub-name {
    font-size: 22px;
    text-transform: uppercase;
}

.nk-hub-desc {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
}

.nk-hub-who .nk-page-sub {
    margin-top: 30px;
}

.nk-faq {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nk-faq li {
    border-top: 1px solid #000000;
    padding: 22px 0;
}

.nk-faq-q {
    font-size: 22px;
    text-transform: uppercase;
    margin: 0;
}

.nk-faq-a {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    margin: 14px 0 0;
    max-width: 700px;
}

/* About */
.nk-page-sub--long {
    max-width: 1000px;
}

.nk-about-rows {
    margin-bottom: 100px;
}

.nk-about-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    border-top: 1px solid #000000;
    padding: 30px 0;
}

.nk-label {
    font-size: 22px;
    margin: 0;
}

.nk-about-text {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

.nk-about-summary {
    font-size: 22px;
    line-height: 26px;
    margin: 0;
    max-width: 1000px;
}

.nk-awards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 40px;
}

.nk-awards li {
    border-top: 1px solid #000000;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
}

.nk-award-title {
    font-size: 22px;
}

.nk-award-meta {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.5);
}

.nk-team {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.nk-team-photo {
    height: 239px;
    background: #d9d9d9;
    margin-bottom: 14px;
}

.nk-team-name {
    font-size: 22px;
    margin: 0;
}

.nk-team-role {
    font-size: 18px;
    color: rgba(0, 0, 0, 0.5);
    margin: 4px 0 0;
}

/* Contact (Figma 18:2401) */
.nk-contact {
    padding-bottom: 60px;
}

.nk-contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    border-top: 1px solid #000000;
    padding-top: 40px;
    margin-bottom: 120px;
}

.nk-contact-info .nk-label {
    margin-bottom: 14px;
}

.nk-contact-link {
    display: block;
    font-size: 22px;
    line-height: 26px;
    text-decoration: underline;
    color: #000000;
    margin-bottom: 8px;
}

.nk-contact-person {
    font-size: 18px;
    line-height: 22px;
    color: #cecece;
    margin: 30px 0 0;
}

.nk-contact-person a {
    color: #cecece;
    text-decoration: none;
}

.nk-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 40px;
}

.nk-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.nk-field--wide {
    grid-column: 1 / -1;
}

.nk-field-label {
    font-size: 14px;
    color: #a6a6a6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nk-form input[type="text"],
.nk-form input[type="email"],
.nk-form select,
.nk-form textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #000000;
    border-radius: 0;
    padding: 10px 0;
    font-family: inherit;
    font-size: 18px;
    color: #000000;
    outline: none;
    box-shadow: none;
}

.nk-form input::placeholder,
.nk-form textarea::placeholder {
    color: #cecece;
    opacity: 1;
}

.nk-form select:invalid {
    color: #cecece;
}

.nk-form textarea {
    resize: vertical;
}

.nk-form .phone-group {
    display: flex;
    gap: 16px;
    align-items: flex-end;
}

.nk-form .phone-group input[type="text"] {
    flex: 1;
}

.nk-submit {
    background: none;
    border: 0;
    padding: 0;
    margin-top: 40px;
    font-family: inherit;
    font-size: 22px;
    letter-spacing: 3.08px;
    text-decoration: underline;
    color: #000000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nk-submit:disabled {
    opacity: 0.5;
    cursor: default;
}

.nk-form .submit-message {
    font-size: 18px;
    color: #cecece;
    margin: 16px 0 0;
}

.nk-careers {
    border-top: 1px solid #000000;
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.nk-careers-title {
    font-size: 50px;
    line-height: 0.996;
    font-weight: 400;
    margin: 0 0 40px;
}

.nk-careers-roles ul {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.nk-careers-roles li a {
    font-size: 22px;
    line-height: 36px;
    color: #a6a6a6;
    text-decoration: none;
}

@media (max-width: 767px) {
    .nk-contact-grid,
    .nk-careers,
    .nk-form-grid {
        grid-template-columns: 1fr;
    }

    .nk-careers-title {
        font-size: 32px;
        line-height: 36px;
    }

    .nk-form .phone-group {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Contact page: matches Figma 18:2401 (columns 25% / 25% / 50%) */
.nk-contact-grid,
.nk-careers {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 0 40px;
}

.nk-contact-grid {
    border-top: 1px solid #cecece;
    padding-top: 40px;
    margin-bottom: 120px;
}

.nk-contact-col .nk-label {
    margin: 0;
}

.nk-contact-col .nk-contact-link {
    margin-bottom: 6px;
}

.nk-contact-person {
    font-size: 18px;
    color: #cecece;
    margin: 30px 0 0;
}

.nk-contact-form-wrap {
    max-width: 520px;
}

.nk-form {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.nk-form input[type="text"],
.nk-form input[type="email"],
.nk-form select {
    border-bottom: 1px solid #cecece;
    padding: 6px 0 8px;
}

.nk-form input[type="text"]::placeholder,
.nk-form input[type="email"]::placeholder {
    color: #cecece;
}

.nk-form select:invalid,
.nk-form select option[disabled] {
    color: #cecece;
}

.nk-phone-row {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.nk-phone-row .nk-custom-select-wrapper {
    position: relative;
    flex: none;
    width: 110px;
}

.nk-phone-row input[type="text"] {
    flex: 1;
    min-width: 0;
    border-bottom: 1px solid #cecece;
    padding: 6px 0 8px;
    font-size: 18px;
}

.nk-phone-row .nk-custom-select {
    position: relative;
}

.nk-phone-row .nk-custom-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #cecece;
    padding: 6px 0 8px;
    font-size: 18px;
    cursor: pointer;
}

.nk-phone-row .nk-custom-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    width: 220px;
    max-height: 260px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cecece;
    padding: 6px 0;
}

.nk-phone-row .nk-custom-select.open .nk-custom-options {
    display: block;
}

.nk-phone-row .nk-custom-option {
    display: block;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
}

.nk-phone-row .nk-custom-option:hover,
.nk-phone-row .nk-custom-option.selected {
    background: #f6f6f6;
}

.nk-submit {
    margin-top: 30px;
}

.nk-careers {
    border-top: 1px solid #cecece;
    padding-top: 40px;
}

.nk-careers .nk-contact-col .nk-label {
    margin: 0;
}

.nk-careers-main {
    grid-column: 3;
}

.nk-careers-main .nk-label {
    margin: 60px 0 14px;
}

.nk-careers-roles {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nk-careers-roles li a {
    font-size: 22px;
    line-height: 36px;
    color: #a6a6a6;
    text-decoration: none;
}

@media (max-width: 767px) {
    .nk-contact-grid,
    .nk-careers {
        grid-template-columns: 1fr;
    }

    .nk-careers-main {
        grid-column: 1;
    }

    .nk-phone-row {
        flex-direction: column;
        align-items: stretch;
    }

    .nk-phone-row .nk-custom-select-wrapper {
        width: 100%;
    }
}

/* Figma frame canvas (pixel copy). The frame is 1920px wide and scaled to the viewport. */
.fx-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.fx-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 1920px;
    height: 2380px;
    transform-origin: 0 0;
}

.fx-t,
.fx-line,
.fx-arrow,
.fx-submit,
.fx-input,
.fx-country,
.fx-list,
.fx-form,
.fx-canvas .submit-message {
    position: absolute;
    margin: 0;
}

.fx-t {
    font-family: 'Lens Grotesk', sans-serif;
    font-size: 22px;
    line-height: 1.246;
    white-space: nowrap;
    color: #000000;
}

.fx-hero {
    font-size: 80px;
    line-height: 0.996;
    width: 1377px;
    white-space: normal;
}

.fx-sub {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    width: 459px;
    white-space: normal;
}

.fx-display {
    font-size: 50px;
    line-height: 0.996;
    width: 800px;
    white-space: normal;
}

/* Figma draws 0.5px and 0.8px strokes as two faint pixel rows; a single 1px row looks too heavy, so draw two soft rows */
.nk-services-canvas .fx-line-rule .fx-line-in,
.nk-service-canvas .fx-line-rule .fx-line-in,
.nk-about-canvas .fx-line-rule .fx-line-in,
.nk-contact-canvas .fx-line-rule .fx-line-in,
.nk-work-canvas .fx-line-rule .fx-line-in,
.nk-blog-canvas .fx-line-rule .fx-line-in {
    top: -1px;
    bottom: -1px;
}

.nk-services-canvas .fx-line-rule img,
.nk-service-canvas .fx-line-rule img,
.nk-about-canvas .fx-line-rule img,
.nk-contact-canvas .fx-line-rule img,
.nk-work-canvas .fx-line-rule img,
.nk-blog-canvas .fx-line-rule img {
    opacity: 0.37;
    height: 2px;
}

.nk-services-canvas .fx-line-hair .fx-line-in,
.nk-service-canvas .fx-line-hair .fx-line-in {
    top: -1px !important;
    bottom: -1px !important;
}

.nk-services-canvas .fx-line-hair img,
.nk-service-canvas .fx-line-hair img {
    opacity: 0.25;
    height: 2px;
}

.nk-services-canvas .fx-line-contact .fx-line-in,
.nk-service-canvas .fx-line-contact .fx-line-in {
    top: -1px !important;
    bottom: -1px !important;
}

.nk-services-canvas .fx-line-contact img,
.nk-service-canvas .fx-line-contact img {
    opacity: 0.5;
    height: 2px;
}

/* Figma's arrow strokes straddle a pixel boundary; this matches how it anti-aliases them */
.nk-service-canvas .fx-arrow-in img {
    transform: translate(-0.4px, 0.35px);
}

/* The packaging arrow is a different vector, so its stroke straddles the pixel grid differently */
.nk-service-packaging-design .fx-arrow-in img {
    transform: translate(-0.4px, 0.7px);
}

.nk-services-canvas .fx-arrow-cta img {
    transform: translate(-0.4px, 0.6px);
}

/* Figma places the hero and 50px headings 1px lower than the line box alone gives */
.nk-services-canvas .fx-hero,
.nk-service-canvas .fx-hero,
.nk-service-canvas .fx-display {
    margin-top: 1px;
}

.fx-careers-title {
    width: 430px;
}

.fx-careers-title span {
    display: block;
}

.fx-careers-title span + span {
    margin-top: 90px;
}

.fx-black {
    color: #000000;
}

.fx-link {
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    color: #000000;
}

.fx-grey18 {
    font-size: 18px;
    line-height: 1.246;
    color: #cecece;
}

.fx-form {
    left: 0;
    top: 0;
    width: 1920px;
    height: 2380px;
}

.fx-line {
    height: 0;
}

.fx-line-in {
    position: absolute;
    top: -0.4px;
    bottom: -0.4px;
    left: 0;
    right: 0;
}

.fx-line-in img,
.fx-arrow-in img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

.fx-input {
    height: 34px;
    padding: 0 0 14px;
    border: 0;
    border-radius: 0;
    background: transparent;
    outline: none;
    box-shadow: none;
    font-family: 'Lens Grotesk', sans-serif;
    font-size: 18px;
    line-height: 22px;
    color: #000000;
    box-sizing: border-box;
}

.fx-input::placeholder {
    color: #cecece;
    opacity: 1;
}

.fx-select {
    -webkit-appearance: none;
    appearance: none;
    color: #cecece;
    cursor: pointer;
}

.fx-select.is-empty {
    color: #cecece;
}

.fx-select option {
    color: #000000;
}

.fx-country {
    height: 34px;
}

.fx-country .nk-custom-select {
    position: relative;
    height: 34px;
}

.fx-country .nk-custom-select__trigger {
    height: 34px;
    padding-bottom: 13px;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 22px;
    color: #cecece;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.fx-country .nk-custom-options {
    display: none;
    position: absolute;
    top: 34px;
    left: 0;
    width: 220px;
    max-height: 260px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cecece;
    padding: 6px 0;
    z-index: 30;
}

.fx-country .nk-custom-select.open .nk-custom-options {
    display: block;
}

.fx-country .nk-custom-option {
    display: block;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    color: #000000;
}

.fx-country .nk-custom-option:hover,
.fx-country .nk-custom-option.selected {
    background: #f6f6f6;
}

.fx-submit {
    left: 969px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    font-family: 'Lens Grotesk', sans-serif;
    font-size: 22px;
    line-height: 1.246;
    letter-spacing: 3.08px;
    color: #000000;
    cursor: pointer;
}

.fx-submit:disabled {
    opacity: 0.5;
    cursor: default;
}

.fx-arrow {
    overflow: visible;
}

.fx-arrow-in {
    position: absolute;
    top: -5.05%;
    right: -5%;
    bottom: -3.58%;
    left: -3.52%;
}

.fx-caret .fx-arrow-in {
    top: -8.33%;
    right: -4.17%;
    bottom: -8.33%;
    left: -4.17%;
}

.fx-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Lens Grotesk', sans-serif;
    font-size: 22px;
    line-height: 1.246;
}

.fx-list li {
    white-space: nowrap;
}

.fx-list a {
    color: #a6a6a6 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 0.5px;
    text-decoration-color: rgba(0, 0, 0, 0.55);
    text-underline-offset: 4px;
    text-decoration-skip-ink: none;
}

.fx-link {
    color: #000000 !important;
}

/* Services hub (Figma 18:1739) */
.fx-num {
    font-size: 50px;
    line-height: 1.246;
}

.fx-name {
    font-size: 22px;
    line-height: 1.246;
    text-decoration: none;
}

.fx-desc {
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5);
    white-space: normal;
}

/* Services FAQ accordion: whole row is the toggle, the icon is a + that turns into an x when open */
.fx-faq-hit {
    position: absolute;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.fx-faq-hit:focus-visible {
    outline: 1px solid #000000;
    outline-offset: -1px;
}

.fx-faq-icon {
    position: absolute;
    left: 1281px;
    top: 21px;
    width: 20px;
    height: 20px;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fx-faq-icon::before,
.fx-faq-icon::after {
    content: "";
    position: absolute;
    background: #000000;
}

.fx-faq-icon::before {
    left: 0;
    right: 0;
    top: calc(50% - 0.75px);
    height: 1.5px;
}

.fx-faq-icon::after {
    top: 0;
    bottom: 0;
    left: calc(50% - 0.75px);
    width: 1.5px;
}

.fx-faq-hit.is-open .fx-faq-icon {
    transform: rotate(45deg);
}

.fx-faq-a {
    opacity: 0;
    visibility: hidden;
    translate: 0 16px;
    transition: opacity 0.8s ease, translate 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s;
}

.fx-faq-a.is-open {
    opacity: 1;
    visibility: visible;
    translate: 0 0;
}

.fx-faq-q {
    font-size: 22px;
    line-height: 27px;
    text-transform: uppercase;
}

.fx-cta-link {
    font-size: 22px;
    letter-spacing: 3.08px;
    text-transform: uppercase;
    text-decoration: underline;
}

.fx-grey-block {
    position: absolute;
    background: #d9d9d9;
}

.fx-arrow-flat {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

/* The Figma underline is the separate 197px vector, so the text itself has none */
.nk-services-canvas .fx-cta-link {
    text-decoration: none;
}

.fx-arrow-list {
    top: -5.88%;
    right: -5.83%;
    bottom: -4.18%;
    left: -4.1%;
}

/* Figma prototype embed on the Contact page */
.nk-embed {
    padding: 0 19px 60px;
}

.nk-embed iframe {
    display: block;
    max-width: 100%;
}

/* Hide the page scrollbar (scrolling still works) */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* Desktop navbar, placed at the Figma header coordinates (frame 1920px wide, scaled with the viewport) */
@media (min-width: 768px) {
    /* Same behaviour on every page: the navbar overlays the page from y=0 (as in the Figma frames)
       instead of pushing the content down on some pages and overlaying it on others */
    header.dl-sections {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2;
    }

    .header-main {
        position: relative !important;
        height: calc(var(--nk-vw) * 80 / 1920);
        padding: 0 !important;
    }

    .header-main .logo {
        position: absolute;
        left: calc(var(--nk-vw) * 19 / 1920);
        top: calc(var(--nk-vw) * 50 / 1920);
        width: calc(var(--nk-vw) * 130 / 1920);
    }

    .header-main .logo a {
        display: block;
    }

    .header-main .logo svg {
        display: block;
        width: 100%;
        height: auto;
    }

    .header-main ul.main-menu {
        position: static;
        display: block;
        margin: 0;
        padding: 0;
    }

    .header-main ul.main-menu > li {
        position: absolute;
        top: calc(var(--nk-vw) * 50 / 1920);
        margin: 0 !important;
        list-style: none;
    }

    .header-main ul.main-menu li a {
        font-family: 'Lens Grotesk', sans-serif !important;
        font-weight: 400 !important;
        font-size: calc(var(--nk-vw) * 18 / 1920) !important;
        line-height: normal !important;
        letter-spacing: 0 !important;
        white-space: nowrap;
    }

    .header-main ul.main-menu > li:nth-child(1) { left: calc(var(--nk-vw) * 1405 / 1920); }
    .header-main ul.main-menu > li:nth-child(2) { left: calc(var(--nk-vw) * 1502 / 1920); }
    .header-main ul.main-menu > li:nth-child(3) { left: calc(var(--nk-vw) * 1641 / 1920); }
    .header-main ul.main-menu > li:nth-child(4) { left: calc(var(--nk-vw) * 1745 / 1920); }
    .header-main ul.main-menu > li:nth-child(5) { left: calc(var(--nk-vw) * 1836 / 1920); }

    .header-main ul.main-menu > li.has-dropdown {
        position: absolute;
    }

    .header-main ul.main-menu li.has-dropdown > a {
        gap: calc(var(--nk-vw) * 6 / 1920);
    }

    .header-main ul.main-menu .nk-chevron {
        width: calc(var(--nk-vw) * 12 / 1920);
        height: calc(var(--nk-vw) * 6 / 1920);
    }

    /* Services panel: Figma 18:1641, 229 x 288 at (1479, 91); the nav item sits at (1502, 50) */
    .header-main ul.main-menu .sub-menu {
        top: calc(var(--nk-vw) * 41 / 1920);
        left: calc(var(--nk-vw) * -23 / 1920);
        width: calc(var(--nk-vw) * 229 / 1920);
        height: calc(var(--nk-vw) * 288 / 1920);
        box-sizing: border-box;
        padding: calc(var(--nk-vw) * 22 / 1920);
        min-width: 0;
    }

    .header-main ul.main-menu .sub-menu li {
        position: static;
        margin: 0 0 calc(var(--nk-vw) * 15 / 1920) !important;
        line-height: calc(var(--nk-vw) * 22 / 1920);
    }

    .header-main ul.main-menu .sub-menu li:last-child {
        margin-bottom: 0 !important;
    }

    .header-main ul.main-menu .sub-menu li a {
        font-family: 'Lens Grotesk', sans-serif !important;
        font-weight: 400 !important;
        letter-spacing: -0.02em !important;
        font-size: calc(var(--nk-vw) * 16 / 1920) !important;
        line-height: calc(var(--nk-vw) * 22 / 1920) !important;
        color: rgba(255, 255, 255, 0.5) !important;
    }
}

@media (max-width: 767px) {
    .nk-page-visual--hero {
        height: 360px;
    }

    .nk-stats {
        gap: 30px;
        flex-wrap: wrap;
    }

    .nk-stat-value {
        font-size: 36px;
    }

    .nk-testimonials,
    .nk-about-row,
    .nk-awards,
    .nk-team {
        grid-template-columns: 1fr;
    }

    .nk-hub-list a {
        grid-template-columns: 50px 1fr;
    }

    .nk-hub-desc {
        grid-column: 2;
        font-size: 18px;
        line-height: 22px;
    }

    .nk-hub-name,
    .nk-faq-q,
    .nk-faq-a,
    .nk-about-text,
    .nk-label,
    .nk-intro p,
    .nk-award-title {
        font-size: 18px;
        line-height: 22px;
    }
}

/* =============================================
   HOME: spacing, type and borders from Figma "Home Page" (1920px frame)
   ============================================= */
.nk-link::after,
.nk-cta-link::after {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13.0224 12.9172' fill='none'%3E%3Cpath d='M12.4224 0.6L0.422322 12.491M0.422322 0.6H12.4224V12.2728' stroke='black' stroke-width='1.2' stroke-miterlimit='10'/%3E%3C/svg%3E") no-repeat center / contain;
}

.nk-link,
.nk-cta-link {
    text-decoration-thickness: 0.5px;
    text-decoration-skip-ink: none;
    line-height: 1.246;
}

.nk-cta-visual {
    background: #d9d9d9;
    height: 260px;
}

.nk-testimonial-company {
    color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home {
        padding-top: calc(296 * var(--u));
    }

    .nk-home .nk-page-title {
        max-width: calc(1377 * var(--u));
        margin-left: calc(-5 * var(--u));
        margin-bottom: calc(38 * var(--u));
    }

    .nk-home .nk-page-sub {
        max-width: calc(1022 * var(--u));
        margin-bottom: calc(57 * var(--u));
        color: rgba(0, 0, 0, 0.5) !important;
    }

    .nk-home .nk-page-visual--hero {
        height: calc(1060 * var(--u));
        margin: 0 0 calc(55 * var(--u)) calc(3 * var(--u));
    }

    .nk-home .nk-intro {
        margin-bottom: calc(323 * var(--u));
    }

    .nk-home .nk-intro p {
        font-size: calc(22 * var(--u));
        line-height: calc(27 * var(--u));
        max-width: calc(611 * var(--u));
        padding-left: calc(3 * var(--u));
    }

    .nk-home .nk-stats {
        gap: calc(168 * var(--u));
        padding-left: calc(22 * var(--u));
        margin-bottom: calc(172 * var(--u));
    }

    .nk-home .nk-stat {
        display: flex;
        flex-direction: column-reverse;
        font-size: calc(23.939 * var(--u));
        line-height: calc(35.909 * var(--u));
    }

    .nk-home .nk-stat-value,
    .nk-home .nk-stat-label {
        font-size: calc(23.939 * var(--u));
        line-height: calc(35.909 * var(--u));
    }

    .nk-home .nk-stat-value {
        margin-top: calc(6 * var(--u));
    }

    /* Figma's rule is 0.5px black, drawn as one crisp #7f7f7f pixel row; +0.8px keeps the cards where the old 2px rule had them */
    .nk-home .nk-section-head {
        align-items: flex-start;
        padding-bottom: calc(23 * var(--u));
        border-bottom: 0.5px solid #7f7f7f;
        margin-bottom: calc(55 * var(--u) + 0.8px);
    }

    .nk-home .nk-section-head .nk-section-title {
        margin: 0;
        padding-left: 0;
    }

    .nk-home .nk-section-head .nk-link {
        margin-top: calc(7 * var(--u));
        padding-right: calc(2 * var(--u));
    }

    .nk-home .nk-cards {
        grid-template-columns: calc(928 * var(--u)) calc(930 * var(--u));
        margin-top: calc(-1 * var(--u));
        gap: calc(110 * var(--u)) calc(20 * var(--u));
        padding-left: calc(3 * var(--u));
        margin-bottom: calc(337 * var(--u));
    }

    .nk-home .nk-cards .nk-card.nk-card--full {
        grid-column: 1 / -1;
    }

    .nk-home .nk-card img,
    .nk-home .nk-card-placeholder {
        aspect-ratio: auto;
        height: calc(660 * var(--u));
    }

    .nk-home .nk-cards .nk-card.nk-card--full img,
    .nk-home .nk-cards .nk-card.nk-card--full .nk-card-placeholder {
        height: calc(1060 * var(--u));
    }

    .nk-home .nk-card-title {
        display: block;
        width: max-content;
        margin-top: calc(15 * var(--u));
        margin-left: -1px;
        font-size: calc(18 * var(--u));
        line-height: calc(22 * var(--u));
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        text-decoration-skip-ink: none;
    }

    .nk-home .nk-card-meta {
        max-width: calc(448 * var(--u));
        margin-top: calc(9 * var(--u));
        font-size: calc(18 * var(--u));
        line-height: calc(22 * var(--u));
        color: #a6a6a6;
    }

    .nk-home .nk-testimonial-sec {
        display: grid;
        grid-template-columns: calc(742 * var(--u)) 1fr;
        align-items: start;
        margin-bottom: calc(466 * var(--u));
    }

    .nk-home .nk-testimonial-sec .nk-section-title {
        font-size: calc(40 * var(--u));
        line-height: 1.246;
        margin: 0;
    }

    .nk-home .nk-testimonials {
        grid-template-columns: repeat(3, calc(247 * var(--u)));
        gap: calc(176 * var(--u));
        margin-top: calc(2 * var(--u));
    }

    .nk-home .nk-testimonial {
        display: flex;
        flex-direction: column-reverse;
        height: calc(302 * var(--u));
    }

    .nk-home .nk-testimonial blockquote {
        margin: 0;
        font-size: calc(16 * var(--u));
        line-height: calc(20 * var(--u));
    }

    .nk-home .nk-testimonial figcaption {
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: calc(10 * var(--u));
        align-content: start;
        height: calc(40 * var(--u));
        margin-bottom: auto;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.5);
        font-size: calc(14 * var(--u));
        line-height: 1.246;
        box-sizing: content-box;
    }

    .nk-home .nk-testimonial-role {
        grid-column: 1;
        grid-row: 2;
        font-size: calc(12 * var(--u));
    }

    .nk-home .nk-testimonial-name {
        grid-column: 1;
        grid-row: 1;
    }

    .nk-home .nk-testimonial-company {
        grid-column: 2;
        grid-row: 1;
        font-size: calc(14 * var(--u));
        text-align: right;
    }

    .nk-home .nk-cta {
        display: grid;
        grid-template-columns: calc(949 * var(--u)) 1fr;
        grid-template-rows: auto 1fr;
        column-gap: calc(120 * var(--u));
        row-gap: 0;
        margin: 0 0 calc(145 * var(--u)) 0;
        /* Figma's 0.8px #a6a6a6 rule, drawn as one crisp #b8b8b8 row; +0.8px keeps the content where the old 2px rule had it */
        padding-top: calc(39 * var(--u) + 0.8px);
        border-top: 0.5px solid #b8b8b8;
    }

    .nk-home .nk-cta-visual {
        grid-column: 1;
        grid-row: 1 / 3;
        height: calc(508 * var(--u));
    }

    .nk-home .nk-cta-title {
        grid-column: 2;
        grid-row: 1;
        margin-top: calc(-3 * var(--u));
        max-width: calc(576 * var(--u));
        font-size: calc(50 * var(--u));
        line-height: calc(54 * var(--u));
    }

    .nk-home .nk-cta-muted {
        display: block;
        margin-top: calc(26 * var(--u));
        font-size: calc(26 * var(--u));
        line-height: calc(30 * var(--u));
    }

    .nk-home .nk-cta-link {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        justify-self: start;
        margin-bottom: 0;
    }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-stat:nth-child(1) { width: calc(240 * var(--u)); }
    .nk-home .nk-stat:nth-child(2) { width: calc(269 * var(--u)); }
    .nk-home .nk-stats { gap: 0; }
}

/* Home: client logos, testimonial arrows (Figma "Home Page") */
.nk-logos,
.nk-testimonial-arrows {
    display: none;
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-intro {
        position: relative;
    }

    .nk-home .nk-logos {
        display: block;
        position: absolute;
        top: calc(13 * var(--u));
        left: calc(71.62% - 60 * var(--u));
        width: calc(435 * var(--u));
        height: calc(645 * var(--u));
        pointer-events: none;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
        mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 96%, transparent 100%);
    }

    /* Five logos are visible at once; the second set makes the loop seamless */
    .nk-home .nk-logos-track {
        display: flex;
        flex-direction: column;
        will-change: transform;
        animation: nk-logos-scroll 10s linear infinite;
    }

    .nk-home .nk-logo-slot {
        flex: none;
        display: flex;
        align-items: center;
        justify-content: center;
        height: calc(129 * var(--u));
    }

    .nk-home .nk-logo {
        display: block;
        max-width: none;
        height: auto;
        filter: brightness(0);
        opacity: 0.15;
        will-change: transform, opacity;
        transition: none !important;
    }

    /* Figma widths per logo */
    .nk-home .nk-logo--fitelo { width: calc(103.6 * var(--u)); }
    .nk-home .nk-logo--lidebytes { width: calc(168.8 * var(--u)); }
    .nk-home .nk-logo--evonith { width: calc(200 * var(--u)); }
    .nk-home .nk-logo--renforce { width: calc(168.4 * var(--u)); }
    .nk-home .nk-logo--aerofit { width: calc(138.4 * var(--u)); }

    @keyframes nk-logos-scroll {
        from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(0, -50%, 0); }
    }

    @media (prefers-reduced-motion: reduce) {
        .nk-home .nk-logos-track { animation: none; }
    }

    .nk-home .nk-testimonials {
        position: relative;
    }

    .nk-home .nk-testimonial-arrows {
        display: flex;
        position: absolute;
        right: 0;
        top: calc(379 * var(--u));
        gap: calc(27 * var(--u));
    }

    .nk-home .nk-testimonial-arrows img {
        display: block;
        width: calc(21.7 * var(--u));
        height: calc(14.8 * var(--u));
    }

    .nk-home .nk-testimonial-arrows .nk-arrow-prev {
        transform: scaleX(-1);
    }

    /* Footer (Figma): 0.8px #a6a6a6 lines, calc(18 * var(--u)) text, wordmark full width */
    .contact-info {
        min-height: 100vh !important;
        width: 100% !important;
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 0 0 calc(20 * var(--u)) !important;
    }

    /* each 0.8px #a6a6a6 line is drawn as one crisp #b8b8b8 row (0.5px snaps to one device pixel) */
    .contact-info .d-flex {
        border-top: 0.5px solid #b8b8b8 !important;
        border-bottom: 0.5px solid #b8b8b8 !important;
        padding: calc(17 * var(--u)) calc(19 * var(--u)) 0 !important;
        height: calc(366 * var(--u));
        margin: 0 !important;
    }

    .contact-info .d-flex .leftside {
        width: auto;
    }

    .contact-info .first-part {
        width: calc(512 * var(--u));
    }

    .contact-info .second-part {
        width: auto;
    }

    .contact-info svg,
    .contact-info img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none !important;
        margin: 0;
        padding: 0 calc(19 * var(--u));
    }
}

/* Home project cards: image wrapper */
.nk-card-img {
    display: block;
    overflow: hidden;
    position: relative;
}

.nk-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-card-img {
        height: calc(660 * var(--u));
        background: #d9d9d9;
    }

    .nk-home .nk-cards .nk-card.nk-card--full .nk-card-img {
        height: calc(1060 * var(--u));
    }

    .nk-home .nk-card-img img {
        height: 100%;
        aspect-ratio: auto;
    }

    .nk-home .nk-cards .nk-card:nth-child(n) .nk-card-img--crop img {
        position: absolute;
        left: -0.745%;
        top: -131.32%;
        width: 100.745%;
        height: 267.83%;
        max-width: none;
    }
}

/* At the top of every page except single projects: header over white is drawn as plain black text.
   The difference blend renders the same text heavier than Figma. The blend returns once the header turns fixed. */
@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    body:not(.single-projects) header:not(.fixed) {
        mix-blend-mode: normal !important;
    }

    body:not(.single-projects) header:not(.fixed) .header-main ul.main-menu li a {
        color: #000000 !important;
    }

    body:not(.single-projects) header:not(.fixed) .logo svg path {
        fill: #000000 !important;
    }

    body:not(.single-projects) header:not(.fixed) .nk-chevron,
    body:not(.single-projects) header:not(.fixed) .nk-chevron path {
        stroke: #000000;
    }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .header-main ul.main-menu > li {
        top: calc(var(--nk-vw) * 48 / 1920);
        /* The item box inherits a 1.5 line-height from the unscaled body size; scale it so the link sits at Figma's y at every width */
        font-size: calc(var(--nk-vw) * 18 / 1920);
    }

    .header-main ul.main-menu .nk-chevron {
        width: calc(14 * var(--u));
        height: calc(8 * var(--u));
    }

    .header-main ul.main-menu li.has-dropdown > a {
        gap: calc(7 * var(--u));
    }
}

/* Home: type scaled with the 1920px Figma frame (--u = var(--nk-vw) / 1920) */
@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-page-title { font-size: calc(80 * var(--u)); line-height: 0.996; }
    .nk-home .nk-page-sub { font-size: calc(22 * var(--u)); line-height: calc(26 * var(--u)); }
    .nk-home .nk-intro p { font-size: calc(22 * var(--u)); line-height: calc(27 * var(--u)); }
    .nk-home .nk-stat,
    .nk-home .nk-stat-value,
    .nk-home .nk-stat-label { font-size: calc(23.939 * var(--u)); line-height: calc(35.909 * var(--u)); }
    .nk-home .nk-section-title { font-size: calc(30 * var(--u)); line-height: calc(45 * var(--u)); }
    .nk-home .nk-link,
    .nk-home .nk-cta-link { font-size: calc(22 * var(--u)); letter-spacing: calc(3.08 * var(--u)); }
    .nk-home .nk-link::after,
    .nk-home .nk-cta-link::after { width: calc(13 * var(--u)); height: calc(13 * var(--u)); margin-left: calc(12 * var(--u)); }
    .nk-home .nk-card-title { font-size: calc(18 * var(--u)); }
    .nk-home .nk-card-meta { font-size: calc(18 * var(--u)); line-height: calc(22 * var(--u)); }
    .nk-home .nk-testimonial-sec .nk-section-title { font-size: calc(40 * var(--u)); }
    .nk-home .nk-testimonial figcaption { font-size: calc(14 * var(--u)); }
    .nk-home .nk-testimonial-role { font-size: calc(12 * var(--u)); }
    .nk-home .nk-testimonial-company { font-size: calc(14 * var(--u)); }
    .nk-home .nk-testimonial blockquote { font-size: calc(16 * var(--u)); line-height: calc(20 * var(--u)); }
    .nk-home .nk-cta-title { font-size: calc(50 * var(--u)); line-height: calc(54 * var(--u)); }
    .nk-home .nk-cta-muted { font-size: calc(26 * var(--u)); line-height: calc(30 * var(--u)); }
    .nk-home .nk-page { overflow-x: clip; }

    .contact-info h2,
    .contact-info a { font-size: calc(18 * var(--u)); }
    .header-main .logo,
    .header-main .logo svg { width: calc(130 * var(--u)); }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home {
        padding-right: calc(19 * var(--u));
        padding-bottom: calc(120 * var(--u));
        padding-left: calc(19 * var(--u));
    }
}

/* Figma pixel alignment, Home (1920px frame) */
@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-card-meta { margin-left: -1px; }
    .nk-home .nk-cta-muted { margin-left: -1px; }
    .nk-home .nk-testimonial-arrows { right: -2px; }
    .nk-home .nk-cards .nk-card.nk-card--full { width: calc(1880 * var(--u)); }
    .nk-home .nk-page-visual--hero { margin-right: -1px; }
}

/* Figma underlines: 2px #bfbfbf bar below the text, not the browser underline */
@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-link,
    .nk-home .nk-cta-link,
    .nk-home .nk-card-title {
        text-decoration: none;
        background-image: linear-gradient(#bfbfbf, #bfbfbf);
        background-repeat: no-repeat;
        background-size: 100% 2px;
    }

    .nk-home .nk-link,
    .nk-home .nk-cta-link {
        display: inline-block;
        padding-bottom: 2px;
        margin-bottom: -2px;
        background-position: 0 calc(27 * var(--u));
        background-size: calc(100% - 25 * var(--u)) 2px;
    }

    .nk-home .nk-link { padding-right: 0; margin-top: 7px; }
    .nk-home .nk-link::after { margin-left: calc(13 * var(--u)); vertical-align: 2px; }
    .nk-home .nk-cta-link { margin-left: -1px; }
    .nk-home .nk-cta-link::after { margin-left: calc(11 * var(--u)); vertical-align: 2px; }

    .nk-home .nk-card-title {
        width: fit-content;
        padding-bottom: 2px;
        margin-bottom: -2px;
        background-position: 0 calc(22 * var(--u));
    }

    .nk-home .nk-section-head .nk-section-title { margin-left: -4px; }
    .nk-home .nk-testimonial blockquote { margin-bottom: 1px; }

    .contact-info .d-flex { margin-left: 1px !important; }
    /* +0.8px keeps the text where it sat under the old 2px top rule */
    .contact-info .d-flex { padding-top: calc(16 * var(--u) + 0.8px) !important; }
    .contact-info .rightside { margin-top: -3px; margin-right: 1px; }
    .contact-info img,
    .contact-info svg { margin-left: 1px; width: calc(100% - 1px); }
    .nk-home .nk-cta { margin-bottom: calc(146 * var(--u)); }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-testimonial-arrows { right: calc(46.5 * var(--u)); top: calc(378.5 * var(--u)); }
    .nk-home .nk-cta-link { letter-spacing: 3.08px; }
    .nk-home .nk-cta-link::after { margin-left: calc(12 * var(--u)); }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-cta-link { background-position: 0 calc(26 * var(--u)); background-size: calc(100% - 26 * var(--u)) 2px; }
    .nk-home .nk-cta-link::after { margin-left: calc(10 * var(--u)); }

    .nk-home .nk-link { margin-right: -2px; background-position: 0 calc(26 * var(--u)); background-size: calc(100% - 29 * var(--u)) 2px; }
    .nk-home .nk-link::after { margin-left: calc(14 * var(--u)); }
}

/* Figma pixel alignment: testimonial rule, name, role, company; CTA arrow */
@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-testimonial figcaption {
        border-bottom: 0;
        background-image: linear-gradient(#e0e0e0, #e0e0e0);
        background-repeat: no-repeat;
        background-size: calc(244 * var(--u)) 2px;
        background-position: 1px 100%;
    }

    .nk-home .nk-testimonial-name { padding-left: 1px; }
    .nk-home .nk-testimonial-role { position: relative; top: -1px; }
    .nk-home .nk-testimonial-company { margin-right: 1px; }

    .nk-home .nk-link::after,
    .nk-home .nk-cta-link::after {
        width: calc(12 * var(--u));
        height: calc(11.89 * var(--u));
    }

    .nk-home .nk-cta-link::after { margin-left: calc(11 * var(--u)); }
    .nk-home .nk-link::after { margin-left: calc(15 * var(--u)); }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .nk-home .nk-link { margin-right: 0; background-position: 1px calc(26 * var(--u)); }
    .nk-home .nk-link::after { margin-left: calc(13 * var(--u)); }
}

@media (min-width: 1025px) {
    .nk-home .nk-stat:nth-child(3) .nk-stat-value { margin-left: -1px; }
}

/* Navbar (Figma): open Services panel is #f6f6f6 with 50% black items; chevron stays pointing down */
@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    body:not(.single-projects) header:not(.fixed) .header-main ul.main-menu .sub-menu::before {
        background: #f6f6f6;
    }

    body:not(.single-projects) header:not(.fixed) .header-main ul.main-menu .sub-menu li a {
        color: rgba(0, 0, 0, 0.5) !important;
    }

    .header-main ul.main-menu li.has-dropdown:hover .nk-chevron,
    .header-main ul.main-menu li.has-dropdown:has(:focus-visible) .nk-chevron,
    .header-main ul.main-menu li.has-dropdown.is-open .nk-chevron {
        transform: none;
    }

    .header-main ul.main-menu .sub-menu {
        min-width: calc(229 * var(--u));
        padding: calc(22 * var(--u));
    }

    .header-main ul.main-menu .sub-menu li { margin-bottom: calc(15 * var(--u)); }
    .header-main ul.main-menu .sub-menu li a { font-size: calc(16 * var(--u)) !important; line-height: calc(22 * var(--u)) !important; }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .header-main ul.main-menu .nk-chevron { width: calc(12.7071 * var(--u)); height: calc(6.8536 * var(--u)); }
    .header-main ul.main-menu .sub-menu { top: calc(100% + 2px); padding-bottom: calc(24 * var(--u)); }
    .header-main ul.main-menu .sub-menu li a { letter-spacing: 0 !important; }
}

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    .header-main ul.main-menu li.has-dropdown > a { gap: calc(6 * var(--u)); }
    .header-main ul.main-menu .nk-chevron { position: relative; top: 2px; }
    .header-main ul.main-menu .sub-menu { top: calc(100% + 8px); padding-top: calc(30 * var(--u)); padding-bottom: calc(22 * var(--u)); }
}

@media (min-width: 1025px) {
    .header-main ul.main-menu .sub-menu { top: calc(100% + 14px); padding-top: calc(24 * var(--u)); padding-bottom: calc(25 * var(--u)); }
}

@media (min-width: 1025px) {
    .header-main ul.main-menu .sub-menu { top: calc(100% + 15px); padding-top: calc(23 * var(--u)); padding-bottom: calc(28 * var(--u)); }
}


/* Contact dividers use the shared two-row rule (.fx-line-rule), see above */


/* Work page (Figma 18:1977) */
.nk-work-canvas .fx-canvas {
    height: auto;
    min-height: 1100px;
    padding-bottom: 267px;
}

.fx-work-tab {
    padding: 0;
    border: 0;
    background: none;
    font-size: 18px;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 2; /* stay above .nk-work-body, which overlaps the tab row and would swallow clicks */
}

.fx-work-tab.is-active {
    font-size: 22px;
    line-height: 18px;
    color: #000000;
}

.nk-work-body {
    position: relative;
    padding-top: 955px;
}

.nk-work-grid {
    display: grid;
    grid-template-columns: 928px 930px;
    column-gap: 20px;
    row-gap: 186px;
    margin-left: 22px;
}

.nk-work-card {
    position: relative;
    display: block;
    color: #000000;
    text-decoration: none;
}

.nk-work-img {
    display: block;
    height: 660px;
    background: #d9d9d9;
}

.nk-work-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nk-work-name {
    position: absolute;
    left: -1px;
    top: 675px;
    font-size: 18px;
    line-height: 1.246;
    text-decoration: underline !important;
    text-decoration-thickness: 0.5px;
    text-decoration-color: rgba(0, 0, 0, 0.55);
    text-underline-offset: 4px;
    text-decoration-skip-ink: none;
}

.nk-work-meta {
    position: absolute;
    left: -1px;
    top: 706px;
    width: 448px;
    font-size: 18px;
    line-height: 22px;
    color: #a6a6a6;
}

.nk-work-card[hidden],
.nk-work-empty[hidden] {
    display: none;
}

.nk-work-empty {
    position: static;
    grid-column: 1 / -1;
}

.nk-work-cta {
    position: relative;
    height: 548px;
    margin-top: 462px;
}

.nk-work-cta .fx-cta-link {
    text-decoration: underline !important;
    text-decoration-thickness: 0.5px;
    text-decoration-color: rgba(0, 0, 0, 0.55);
    text-underline-offset: 4px;
    text-decoration-skip-ink: none;
}


/* Work page: first row and row pitch measured from Figma 18:1977 (images at y 938 and 1800) */
.nk-work-canvas .nk-work-body {
    padding-top: 938px;
}

.nk-work-canvas .nk-work-grid {
    row-gap: 202px;
}

/* Blog page: reuses the Work canvas, grid and card styles */
.nk-blog-canvas .nk-work-body {
    padding-top: 823px;
}

/* Blog list page (Figma 18:2058) */
.nk-blog-canvas .fx-canvas {
    height: auto;
    min-height: 1100px;
    padding-bottom: 460px;
}

.nk-blog-body {
    position: relative;
    padding-top: 823px;
}

.nk-blog-grid {
    display: grid;
    grid-template-columns: 928px 930px;
    column-gap: 20px;
    row-gap: 203px;
    margin-left: 22px;
}

.nk-blog-card {
    position: relative;
    display: block;
    color: #000000;
    text-decoration: none;
}

.nk-blog-img {
    display: block;
    height: 660px;
    background: #d9d9d9;
}

.nk-blog-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nk-blog-cap {
    position: absolute;
    left: -1px;
    top: 675px;
    width: 473px;
    display: block;
}

.nk-blog-name {
    display: inline-block;
    font-size: 18px;
    line-height: 1.246;
    text-decoration: underline !important;
    text-decoration-thickness: 0.5px;
    text-decoration-color: rgba(0, 0, 0, 0.55);
    text-underline-offset: 4px;
    text-decoration-skip-ink: none;
}

.nk-blog-desc {
    display: block;
    font-size: 18px;
    color: #a6a6a6;
    margin-top: 8px;
    line-height: 22px;
    width: 448px;
}

/* Work / Blog underlines: Figma's 0.5px line renders as two 25% grey rows, so draw it that way */
.nk-work-name,
.nk-blog-name,
.nk-work-cta .fx-cta-link {
    text-decoration: none !important;
}

.nk-work-name::after,
.nk-blog-name::after,
.nk-work-cta .fx-cta-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 22px;
    height: 2px;
    background: #bfbfbf;
}

.nk-blog-name {
    position: relative;
}

.nk-work-cta .fx-cta-link::after {
    top: 26px;
    right: 3px;
}

/* Blog labels: Figma underline is 0.5px, black, at the font's default offset */
.nk-blog-canvas .nk-work-name {
    text-decoration-thickness: 0.5px;
    text-decoration-color: currentColor;
    text-underline-offset: auto;
}

/* Single blog post (Figma 18:2123). Every size is the 1920px frame value times --u, so the page scales with the viewport like the prototype. */
.nk-post {
    --u: calc(var(--nk-vw) / 1920);
    font-family: 'Lens Grotesk', sans-serif;
    color: #000;
    padding: calc(252 * var(--u)) calc(19 * var(--u)) calc(351 * var(--u));
}

.nk-post-back {
    padding: 0 0 calc(34 * var(--u)) calc(42 * var(--u));
    border-bottom: 0.8px solid rgba(0, 0, 0, 0.15);
}

.nk-post-back a {
    display: inline-flex;
    align-items: center;
    gap: calc(20 * var(--u));
    font-size: calc(22 * var(--u));
    line-height: 1.246;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: underline;
    text-decoration-thickness: 0.5px;
    color: #000;
}

.nk-post-back img {
    width: calc(23 * var(--u));
    height: auto;
    transform: scaleX(-1);
}

.nk-post-hero {
    margin: calc(53 * var(--u)) 0 0 calc(3 * var(--u));
}

.nk-post-hero img {
    display: block;
    width: 100%;
    aspect-ratio: 1880 / 1060;
    object-fit: cover;
}

.nk-post-body {
    display: flex;
    margin-top: calc(93 * var(--u));
}

.nk-post-meta {
    flex: 0 0 37.5%;
    padding-left: calc(8 * var(--u));
}

.nk-post .nk-post-meta p {
    margin: 0;
    font-size: calc(22 * var(--u));
    line-height: calc(26 * var(--u));
    color: #a6a6a6 !important;
}

.nk-post-main {
    flex: 0 1 calc(1052 * var(--u));
    max-width: calc(1052 * var(--u));
    padding-left: calc(6 * var(--u));
}

.nk-post-title {
    max-width: calc(641 * var(--u));
    margin: calc(-6 * var(--u)) 0 calc(66 * var(--u)) calc(-4 * var(--u));
    font-size: calc(50 * var(--u));
    line-height: calc(55 * var(--u));
    font-weight: 400;
}

.nk-post-content,
.nk-post-content p {
    font-size: calc(22 * var(--u));
    line-height: 1.246;
}

.nk-post-content p {
    margin: 0 0 calc(40 * var(--u));
}

.nk-post-content img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .nk-post { --u: 1px; padding: 110px 16px 60px; }
    .nk-post-back a { font-size: 16px; gap: 12px; }
    .nk-post-back { padding-left: 0; }
    .nk-post-hero { margin: 24px 0 0; }
    .nk-post-hero img { aspect-ratio: 4 / 5; }
    .nk-post-body { flex-direction: column; margin-top: 32px; gap: 24px; }
    .nk-post-meta { flex: none; padding: 0; }
    .nk-post .nk-post-meta p { font-size: 16px; line-height: 20px; }
    .nk-post-main { flex: none; max-width: none; padding-left: 0; }
    .nk-post-title { font-size: 32px; line-height: 36px; margin: 0 0 28px; max-width: none; }
    .nk-post-content, .nk-post-content p { font-size: 18px; }
    .nk-post-content p { margin-bottom: 28px; }
}

@media (min-width: 1025px) {
    .nk-home .nk-stat:nth-child(1) .nk-stat-value { margin-left: 3px; }
    .nk-home .nk-stat:nth-child(2) .nk-stat-value { margin-left: 2px; }
}

/* Forced line break in the home intro, mobile only (Figma 18:232) */
.nk-br-m {
    display: none;
}

/* =============================================
   MOBILE HOME (Figma "Mobile Home Page", 360px frame, node 18:231)
   Every value below is taken from the Figma frame; y values in comments are page offsets.
   ============================================= */
@media (max-width: 767px) {
    /* Header: logo 130x24.1 at (10,30), hamburger 16.7x14.5 at (333.4,38) */
    .header-main {
        position: relative;
        height: 0;
        padding: 0 !important;
    }

    .header-main .logo {
        position: absolute;
        left: 10px;
        top: 30px;
        width: 130px;
    }

    .header-main .logo svg {
        display: block;
        width: 130px;
        height: 24.11px;
    }

    .nk-hamburger {
        position: absolute;
        right: 9.86px;
        top: 38px;
        width: 16.71px;
        height: 14.5px;
    }

    .nk-hamburger svg {
        display: block;
        width: 16.71px;
        height: 14.5px;
    }

    .nk-home.nk-page {
        padding: 117px 10px 0;
    }

    /* Hero: title y117, sub y213, image y300 (340x210) */
    .nk-home .nk-page-title {
        font-size: 28px;
        line-height: 0.996;
        width: 272px;
        margin: 0 0 12.34px;
    }

    .nk-home .nk-page-title br {
        display: none;
    }

    .nk-home .nk-page-sub {
        font-size: 14px;
        line-height: 16px;
        width: 334px;
        height: 87px;
        margin: 0;
        color: rgba(0, 0, 0, 0.5);
    }

    .nk-home .nk-intro p .nk-br-m {
        display: inline;
    }

    .nk-home .nk-page-visual--hero {
        height: 210px;
        margin: 0;
        background: #d9d9d9;
    }

    /* Intro: text y540, logo stack y741 (150x246 at x101.6), stats y1118 */
    .nk-home .nk-intro {
        position: relative;
        height: 608px;
        margin: 0;
    }

    .nk-home .nk-intro p {
        position: absolute;
        top: 30px;
        left: 0;
        width: 340px;
        max-width: none;
        font-size: 14px;
        line-height: 16px;
        color: #000000;
    }

    .nk-home .nk-logos {
        display: block;
        position: absolute;
        top: 231px;
        left: 91.57px;
        width: 149.86px;
        height: 245.97px;
        pointer-events: none;
    }

    .nk-home .nk-logos-track {
        position: relative;
        display: block;
        height: 100%;
        animation: none;
    }

    .nk-home .nk-logo-slot {
        display: block;
    }

    .nk-home .nk-logo-slot:nth-child(n+6) {
        display: none;
    }

    .nk-home .nk-logo {
        position: absolute;
        display: block;
        height: auto;
        max-width: none;
        filter: brightness(0);
        transform: none !important;
    }

    .nk-home .nk-logo--fitelo { left: 53px; top: 0; width: 49.3px; opacity: 0.3 !important; }
    .nk-home .nk-logo--lidebytes { left: 39.3px; top: 55.4px; width: 80.3px; opacity: 0.3 !important; }
    .nk-home .nk-logo--evonith { left: 0; top: 111.6px; width: 149.86px; opacity: 1 !important; }
    .nk-home .nk-logo--renforce { left: 39.3px; top: 178.7px; width: 80.2px; opacity: 0.3 !important; }
    .nk-home .nk-logo--aerofit { left: 49.7px; top: 232.4px; width: 65.9px; opacity: 0.3 !important; }

    /* Stats: labels 14px at y1118, values 12px at y1142.3; columns at x10 / x145 / x296 */
    .nk-home .nk-stats {
        position: relative;
        display: block;
        height: 46.85px;
        margin: 0;
        gap: 0;
    }

    .nk-home .nk-stat {
        position: absolute;
        top: 0;
        width: auto !important;
        margin: 0;
    }

    .nk-home .nk-stat:nth-child(1) { left: 0; }
    .nk-home .nk-stat:nth-child(2) { left: 135px; }
    .nk-home .nk-stat:nth-child(3) { left: 286.58px; }

    .nk-home .nk-stat-label {
        display: block;
        font-size: 14px;
        line-height: 20.745px;
        color: rgba(0, 0, 0, 0.5);
    }

    .nk-home .nk-stat-value {
        position: absolute;
        top: 25.26px;
        left: 1.84px;
        font-size: 12px;
        line-height: 20.745px;
        color: #000000;
        margin: 0 !important;
        white-space: nowrap;
    }

    .nk-home .nk-stat:nth-child(2) .nk-stat-value { left: 1px; }
    .nk-home .nk-stat:nth-child(3) .nk-stat-value { left: -0.58px; }

    /* Selected work: heading y1273, rule y1308, first card y1332 */
    .nk-home #Work {
        margin: 0;
        padding-top: 108.15px;
    }

    .nk-home .nk-section-head {
        position: relative;
        display: block;
        height: 36px;
        margin-bottom: -1px;
        border-bottom: 2px solid #bfbfbf;
        margin-left: 1px;
        width: 339px;
    }

    .nk-home .nk-section-head .nk-section-title {
        position: absolute;
        left: -1px;
        top: 0;
        margin: 0;
        font-size: 16px;
        line-height: 20px;
        white-space: nowrap;
    }

    .nk-home .nk-link {
        position: absolute;
        left: 273px;
        top: -1px;
        margin: 0;
        padding: 0;
        font-size: 10px;
        line-height: 12px;
        letter-spacing: 1.4px;
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        background: none;
        white-space: nowrap;
    }

    .nk-home .nk-link::after,
    .nk-home .nk-cta-link::after {
        width: 5px;
        height: 5px;
        margin-left: 0;
        vertical-align: 2px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5.002 4.96158' fill='none'%3E%3Cpath d='M4.77154 0.230464L0.162217 4.79788' stroke='black' stroke-width='0.460927' stroke-miterlimit='10'/%3E%3Cpath d='M0.162217 0.230464H4.77154V4.71407' stroke='black' stroke-width='0.460927' stroke-miterlimit='10'/%3E%3C/svg%3E");
    }

    .nk-home .nk-link::after {
        margin-left: 4px;
    }

    .nk-home .nk-cards {
        display: block;
        margin-top: 24px;
    }

    .nk-home .nk-card {
        display: block;
        width: 340px !important;
        height: 296px;
        margin: 0 0 50px;
    }

    .nk-home .nk-cards .nk-card:nth-child(even) {
        height: 327px;
    }

    .nk-home .nk-card-img,
    .nk-home .nk-cards .nk-card.nk-card--full .nk-card-img {
        display: block;
        width: 340px;
        height: 250px;
        background: #d9d9d9;
    }

    .nk-home .nk-cards .nk-card:nth-child(odd) .nk-card-img {
        height: 251px;
    }

    .nk-home .nk-card-img img,
    .nk-home .nk-card-img--crop img,
    .nk-home .nk-cards .nk-card:nth-child(n) .nk-card-img--crop img {
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
    }

    .nk-home .nk-card-title {
        display: block;
        width: fit-content;
        margin: 7px 0 4.56px -1px;
        padding: 0;
        font-size: 14px;
        line-height: 1.246;
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        text-decoration-skip-ink: none;
        background: none;
    }

    .nk-home .nk-card-meta {
        display: block;
        width: 265px;
        margin: 0 0 0 -1px;
        font-size: 14px;
        line-height: 16px;
        color: rgba(0, 0, 0, 0.5);
    }

    /* Testimonial: heading y3274, name y3364, rule y3404, quote y3598, arrows y3696 */
    .nk-home .nk-testimonial-sec {
        margin: 0;
        padding-top: 150px;
    }

    .nk-home .nk-testimonial-sec .nk-section-title {
        margin: 0 0 70px;
        font-size: 16px;
        line-height: 20px;
    }

    .nk-home .nk-testimonials {
        position: relative;
        display: block;
        height: 346.1px;
    }

    .nk-home .nk-testimonial:nth-child(n+2) {
        display: none;
    }

    .nk-home .nk-testimonial {
        display: flex;
        flex-direction: column;
    }

    .nk-home .nk-testimonial figcaption {
        order: -1;
        position: relative;
        display: block;
        width: 339px;
        height: 40.5px;
        margin-left: 1px;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.5);
        font-size: 14px;
        line-height: 1.246;
    }

    .nk-home .nk-testimonial-name {
        display: block;
        padding: 0;
        color: #000000;
        font-size: 14px;
        line-height: 1.246;
    }

    .nk-home .nk-testimonial-role {
        position: relative;
        top: 0;
        display: block;
        margin-left: -1px;
        font-size: 12px;
        line-height: 1.246;
        color: rgba(0, 0, 0, 0.5);
    }

    .nk-home .nk-testimonial-company {
        position: absolute;
        left: 253px;
        top: 0;
        margin: 0;
        font-size: 14px;
        line-height: 1.246;
        white-space: nowrap;
        color: rgba(0, 0, 0, 0.5);
    }

    .nk-home .nk-testimonial blockquote {
        width: 340px;
        margin: 193.5px 0 0;
        font-size: 14px;
        line-height: 16px;
        color: rgba(0, 0, 0, 0.5);
    }

    .nk-home .nk-testimonial-arrows {
        display: flex;
        position: absolute;
        top: 332px;
        right: 0;
        gap: 26.7px;
    }

    .nk-home .nk-testimonial-arrows img {
        display: block;
        width: 21.2px;
        height: 14.1px;
    }

    .nk-home .nk-testimonial-arrows .nk-arrow-prev {
        transform: scaleX(-1);
    }

    /* CTA: rule y3820, grey box y3834 (340x220), title y4068, link y4275 */
    .nk-home .nk-cta {
        display: block;
        position: relative;
        height: 469px;
        margin: 110px 0 300px 1px;
        padding: 0;
        border-top: 1px solid #a6a6a6;
        width: 340px;
    }

    .nk-home .nk-cta-visual {
        height: 220px;
        margin: 13px 0 0 -2px;
        background: #d9d9d9;
    }

    .nk-home .nk-cta-title {
        position: absolute;
        left: -2px;
        top: 247px;
        width: 340px;
        margin: 0;
        font-size: 28px;
        line-height: 0.996;
    }

    .nk-home .nk-cta-muted {
        display: none;
    }

    .nk-home .nk-cta-link {
        position: absolute;
        left: -1px;
        top: 454px;
        font-size: 10px;
        line-height: 12px;
        letter-spacing: 1.4px;
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        background: none;
        margin: 0;
    }

    .nk-home .nk-cta-link::after {
        margin-left: 6px;
    }

    .nk-home .nk-page-sub {
        color: rgba(0, 0, 0, 0.5) !important;
    }

    /* Footer: rule y4589, Reach out y4596, Online y4727, wordmark y5132 (340 wide) */
    .contact-info {
        min-height: 100vh !important;
        min-height: 100svh !important;
        width: 100% !important;
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        padding: 0 10px 10px !important;
    }

    .contact-info .d-flex {
        display: block;
        position: relative;
        width: 100%;
        border-top: 1px solid #a6a6a6 !important;
        border-bottom: 0 !important;
        padding: 6px 0 0 !important;
        margin: 0 !important;
    }

    .contact-info .d-flex .leftside {
        display: block;
        width: 100%;
    }

    .contact-info .first-part {
        margin-bottom: 0;
    }

    .contact-info .second-row {
        position: relative;
        display: block;
        margin-top: 78.7px;
    }

    .contact-info h2,
    .contact-info a,
    .contact-info .o-title_line {
        font-size: 14px !important;
        line-height: 1.246 !important;
    }

    .contact-info h2.o-title_line {
        color: #a6a6a6;
    }

    .contact-info a.o-title_line {
        display: block;
        color: #000000;
        width: fit-content;
    }

    .contact-info .policy-mobile {
        position: absolute;
        right: 0;
        top: 0;
        color: #a6a6a6;
    }

    .contact-info > img,
    .contact-info > svg {
        display: block;
        width: 100%;
        height: auto;
        max-height: none !important;
        margin: 0;
    }
}

/* =============================================
   MOBILE MENU (Figma working copy W3v8p…, two 360x655 "menu" frames: Services closed and open)
   Header row: logo 97x18 at y18, close at y23, rule at y53.
   Open: Work y86, Services y139 (sub links from y199, 28px pitch), About y410, Blog y473, Contact y537, Start a Project y597.
   Closed: About y192, Blog y255, Contact y319, Start a Project y379.
   ============================================= */
@media (max-width: 767px) {
    .nk-mobile-menu {
        padding: 0;
        overflow: hidden;
    }

    .nk-mobile-menu__header {
        position: relative;
        height: 53px;
        padding: 0;
    }

    .nk-mobile-menu__logo {
        position: absolute;
        left: 10px;
        top: 18px;
    }

    .nk-mobile-menu__logo svg {
        display: block;
        width: 97.05px;
        height: 18px;
    }

    .nk-mobile-menu__close {
        position: absolute;
        right: 9.3px;
        top: 23px;
        width: 12.71px;
        height: 12.71px;
    }

    .nk-mobile-menu__close svg {
        display: block;
        width: 12.71px;
        height: 12.71px;
    }

    .nk-mobile-menu__divider {
        width: 340px;
        height: 2px;
        margin: -1px 0 0 10px;
        background: #d2d2d2;
    }

    .nk-mobile-menu__body {
        display: block;
        flex: none;
        padding: 32px 0 0 10px;
        gap: 0;
    }

    .nk-mobile-menu__nav {
        display: block;
    }

    .nk-mobile-menu__nav ul {
        text-align: left;
    }

    .nk-mobile-menu__nav ul li {
        margin: 0;
    }

    .nk-mobile-menu__nav ul li a {
        padding: 0;
        font-size: 28px;
        line-height: 35px;
        width: fit-content;
    }

    .nk-mobile-menu__nav > ul > li:nth-child(1) { margin-bottom: 18px; }
    .nk-mobile-menu__nav > ul > li:nth-child(3) { margin-bottom: 28px; }
    .nk-mobile-menu__nav > ul > li:nth-child(4) { margin-bottom: 29px; }

    .nk-mobile-menu__chevron {
        display: block;
        flex: none;
        width: 18px;
        height: 9px;
        margin: 13px 0 0 14px;
    }

    .nk-mobile-menu__nav ul.nk-mobile-menu__sub {
        margin: 25px 0 25px;
        padding: 0;
    }

    .nk-mobile-menu__nav ul.nk-mobile-menu__sub li {
        margin: 0 0 10px;
    }

    .nk-mobile-menu__nav ul.nk-mobile-menu__sub li:last-child {
        margin-bottom: 0;
    }

    .nk-mobile-menu__nav ul.nk-mobile-menu__sub li a:not(#nk-x):not(#nk-y) {
        font-size: 14px;
        line-height: 18px;
        text-transform: none;
        color: rgba(0, 0, 0, 0.5) !important;
    }

    .nk-start-project {
        display: flex;
        align-items: center;
        gap: 0;
        margin-top: 25px;
        font-size: 14px;
        line-height: 18px;
    }

    .nk-start-project svg {
        display: block;
        margin: 0 0 0 8px;
    }
}

/* =============================================
   MOBILE CANVAS PAGES (Figma 360px frames)
   Elements carry their mobile position as --ml / --mt / --mw / --mh (see nk_fx_m() in inc/figma-canvas.php).
   ============================================= */
.nk-m-only {
    display: none;
}

@media (max-width: 767px) {
    .fx-canvas [style*="--mt"] {
        left: var(--ml) !important;
        top: var(--mt) !important;
    }

    .fx-canvas [style*="--mw"] {
        width: var(--mw) !important;
    }

    .fx-canvas [style*="--mh"] {
        height: var(--mh) !important;
    }

    .fx-canvas .fx-line-in {
        top: -0.5px !important;
        bottom: -0.5px !important;
    }

    .nk-m-only {
        display: block;
    }
}

/* Contact (Figma "Mobile Contact Page", node 18:419): canvas ends at the footer rule, y1835 */
@media (max-width: 767px) {
    .nk-contact-canvas .fx-canvas,
    .nk-contact-canvas .fx-form {
        width: 360px;
        height: 1835px;
    }

    .nk-contact-canvas .fx-t {
        font-size: 14px;
        line-height: 1.246;
    }

    .nk-contact-canvas .fx-hero {
        font-size: 28px;
        line-height: 0.996;
    }

    .nk-contact-canvas .fx-hero br {
        display: none;
    }

    .nk-contact-canvas .fx-sub {
        line-height: 16px;
        white-space: nowrap;
    }

    .nk-contact-canvas .fx-section-label {
        line-height: 100% !important;
    }

    .nk-contact-canvas .fx-link {
        text-underline-position: from-font;
        text-decoration-thickness: from-font;
    }

    .nk-contact-canvas .nk-m-only {
        color: #a6a6a6;
    }

    .nk-contact-canvas .fx-display {
        font-size: 28px;
        line-height: 0.996;
    }

    .nk-contact-canvas .fx-careers-title span + span {
        margin-top: 60.2px;
    }

    .nk-contact-canvas .fx-list {
        font-size: 14px;
        line-height: 1.246;
    }

    .nk-contact-canvas .fx-list a {
        text-decoration: none !important;
    }

    .nk-contact-canvas .fx-input {
        height: 25.15px;
        padding: 0;
        font-size: 14px;
        line-height: 17.44px;
    }

    .nk-contact-canvas .fx-country,
    .nk-contact-canvas .fx-country .nk-custom-select {
        height: 25.15px;
    }

    .nk-contact-canvas .fx-country .nk-custom-select__trigger {
        height: 25.15px;
        padding: 0 0 0 0;
        font-size: 14px;
        line-height: 17.44px;
        align-items: flex-start;
    }

    .nk-contact-canvas .fx-country .nk-custom-options {
        top: 25.15px;
        width: 200px;
    }

    .nk-contact-canvas .fx-country .nk-custom-option {
        font-size: 14px;
    }

    .nk-contact-canvas .fx-submit {
        height: 20px;
        font-size: 16px;
        line-height: 1.246;
        letter-spacing: 2.24px;
    }

    .nk-contact-canvas .submit-message {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .nk-contact-canvas .fx-line img[src*="f8bb5"] {
        height: 100%;
        margin-top: 0;
        opacity: 1;
    }
}

/* Work (Figma "Mobile Work Page", node 18:497): canvas ends at the footer rule, y2896 */
@media (max-width: 767px) {
    .nk-work-canvas .fx-canvas {
        width: 360px;
        height: auto !important;
        min-height: 0;
        padding: 0;
    }

    .nk-work-canvas .fx-t {
        font-size: 14px;
        line-height: 16px;
    }

    .nk-work-canvas .fx-hero {
        font-size: 28px;
        line-height: 0.996;
    }

    .nk-work-canvas .fx-sub {
        height: 37px;
    }

    .nk-work-canvas .fx-work-tab,
    .nk-work-canvas .fx-work-tab.is-active {
        font-size: 14px;
        line-height: 16px;
    }

    .nk-work-canvas .fx-line-in {
        top: -1px !important;
        bottom: auto !important;
        height: 2px;
        background: #e9e9e9;
    }

    .nk-work-body {
        padding-top: 622px;
    }

    .nk-work-grid {
        display: block;
        margin-left: 10px;
    }

    .nk-work-card {
        width: 340px;
        height: 296px;
        margin: 0 0 50px;
    }

    .nk-work-grid .nk-work-card.is-even {
        height: 327px;
    }

    .nk-work-img {
        width: 340px;
        height: 251px;
    }

    .nk-work-card.is-even .nk-work-img {
        height: 250px;
    }

    .nk-work-name,
    .nk-work-canvas .nk-work-name {
        left: -1px;
        top: 258px;
        font-size: 14px;
        line-height: 1.246;
        text-decoration: underline !important;
        text-decoration-thickness: 0.5px;
        text-decoration-color: currentColor;
        text-underline-offset: auto;
        text-decoration-skip-ink: none;
        color: #000000;
    }

    .nk-work-card.is-even .nk-work-name {
        top: 257px;
    }

    .nk-work-meta {
        left: -1px;
        top: 280px;
        width: 340px;
        font-size: 14px;
        line-height: 16px;
        color: rgba(0, 0, 0, 0.5);
    }

    .nk-work-card.is-even .nk-work-meta {
        top: 279px;
        width: 265px;
    }

    .nk-work-name::after,
    .nk-work-cta .fx-cta-link::after {
        display: none;
    }

    .nk-work-cta {
        height: 769px;
        margin-top: 109px;
    }

    .nk-work-cta .fx-cta-link {
        font-size: 10px;
        line-height: 12px;
        letter-spacing: 1.4px;
        text-decoration: underline !important;
        text-decoration-thickness: 0.5px;
        text-decoration-color: currentColor;
        text-underline-offset: auto;
    }
}

/* Blog list (Figma "Mobile Blog Page", node 18:569): canvas ends at the footer rule, y1904 */
@media (max-width: 767px) {
    .nk-blog-canvas .fx-canvas {
        width: 360px;
        height: 1904px;
        min-height: 0;
        padding: 0;
    }

    .nk-blog-canvas .fx-t {
        font-size: 14px;
        line-height: 16px;
    }

    .nk-blog-canvas .fx-hero {
        font-size: 28px;
        line-height: 0.996;
        letter-spacing: 0;
    }

    .nk-blog-canvas .fx-sub {
        letter-spacing: 0;
    }

    .nk-blog-canvas .fx-line-in {
        top: -1px !important;
        bottom: auto !important;
        height: 2px;
        background: #e9e9e9;
    }

    .nk-blog-body {
        padding-top: 399px;
    }

    .nk-blog-grid {
        display: block;
        margin-left: 10px;
    }

    .nk-blog-card {
        width: 340px;
        height: 296px;
        margin: 0 0 50px;
    }

    .nk-blog-grid .nk-blog-card:nth-child(even) {
        height: 327px;
    }

    .nk-blog-img {
        width: 340px;
        height: 251px;
    }

    .nk-blog-card:nth-child(even) .nk-blog-img {
        height: 250px;
    }

    .nk-blog-cap {
        left: -1px;
        top: 258px;
        width: 340px;
    }

    .nk-blog-card:nth-child(even) .nk-blog-cap {
        top: 257px;
    }

    .nk-blog-name {
        font-size: 14px;
        line-height: 1.246;
        color: #000000;
        text-decoration: underline !important;
        text-decoration-thickness: 0.5px;
        text-decoration-color: currentColor;
        text-underline-offset: auto;
    }

    .nk-blog-name::after {
        display: none;
    }

    .nk-blog-desc,
    .nk-blog-card .nk-blog-desc {
        width: 340px !important;
        margin-top: 4.56px;
        font-size: 14px;
        line-height: 16px;
        color: rgba(0, 0, 0, 0.5);
    }

    .nk-blog-card:nth-child(even) .nk-blog-desc {
        width: 265px !important;
    }
}

/* Blog post (Figma "Mobile Blog Page" detail, node 18:623): footer rule at y1275 */
@media (max-width: 767px) {
    .nk-post {
        padding: 203px 10px 109px;
        min-height: 1275px;
        box-sizing: border-box;
    }

    .nk-post-back {
        position: relative;
        height: 37px;
        margin-bottom: -1px;
        padding: 0;
        border-bottom: 2px solid #e9e9e9;
    }

    .nk-post-back a {
        display: block;
        position: static;
        font-size: 10px;
        line-height: 12px;
        letter-spacing: 1.4px;
        gap: 0;
    }

    .nk-post-back img {
        position: absolute;
        left: 0;
        top: 2px;
        width: 13px;
        height: 8.7px;
    }

    .nk-post-back span {
        display: block;
        position: relative;
        margin-left: 19px;
        width: fit-content;
        text-decoration: none;
    }

    .nk-post-back span::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 15px;
        height: 2px;
        background: #bfbfbf;
    }

    .nk-post-hero {
        margin: 24px 0 0;
    }

    .nk-post-hero img {
        height: 210px;
        aspect-ratio: auto;
    }

    .nk-post-body {
        display: block;
        margin: 20px 0 0 -1px;
    }

    .nk-post-meta {
        width: 165px;
        padding: 0;
    }

    .nk-post .nk-post-meta p {
        font-size: 14px;
        line-height: 16px;
    }

    .nk-post-main {
        padding: 0;
        max-width: none;
    }

    .nk-post-title {
        width: 325px;
        margin: 53px 0 60px;
        font-size: 16px;
        line-height: 20px;
    }

    .nk-post-content,
    .nk-post-content p {
        font-size: 14px;
        line-height: 16px;
    }

    .nk-post-content {
        width: 341px;
    }

    .nk-post-content p {
        margin: 0 0 20px;
    }
}

/* About (Figma "Mobile About", node 18:667): canvas ends at the footer rule, y5810 */
@media (max-width: 767px) {
    .fx-canvas [style*="--lh"] {
        line-height: var(--lh) !important;
    }

    .nk-about-canvas .fx-canvas,
    .nk-about-canvas .fx-form {
        width: 360px;
        height: 5810px !important;
    }

    .nk-about-canvas .fx-t:not([style*="--lh"]) {
        font-size: 14px !important;
        line-height: 16px !important;
    }

    .nk-about-canvas .fx-t[style*="--lh"] {
        font-size: 14px !important;
    }

    .nk-about-canvas .fx-t.fx-hero[style] {
        font-size: 28px !important;
        line-height: 0.996 !important;
    }

    .nk-about-canvas .fx-t br,
    .nk-about-canvas .nk-ab-d {
        display: none;
    }

    .nk-about-canvas .fx-t[style*="--mw"] {
        white-space: normal;
    }

    .nk-about-canvas .fx-t.nk-ab-s {
        font-size: 10px !important;
    }

    .nk-about-canvas .fx-t.nk-ab-s:not([style*="--lh"]) {
        line-height: 1.246 !important;
    }

    .nk-about-canvas .fx-t.fx-cta-link[style] {
        font-size: 10px !important;
        line-height: 12px !important;
        letter-spacing: 1.4px;
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        text-decoration-skip-ink: none;
    }

    .nk-about-canvas .fx-line-contact {
        display: none;
    }

    .nk-about-canvas .fx-line-in {
        top: -0.25px !important;
        bottom: auto !important;
        height: 0.5px;
    }

    .nk-about-canvas .fx-line-in img {
        height: 100%;
    }
}

/* Services hub (Figma "Mobile Services hub page", node 18:879): canvas ends at the footer rule, y3782 */
@media (max-width: 767px) {
    .fx-canvas [style*="--fs"] {
        font-size: var(--fs) !important;
    }

    .nk-services-canvas .fx-canvas {
        width: 360px;
        height: 3782px !important;
    }

    .nk-services-canvas .fx-t {
        font-size: 14px;
        line-height: 16px;
    }

    .nk-services-canvas .fx-t.fx-hero {
        font-size: 28px;
        line-height: 0.996;
    }

    .nk-services-canvas .fx-t.fx-num {
        font-size: 25px;
        line-height: 1.246;
    }

    .nk-services-canvas .fx-t.fx-display {
        font-size: 26px;
        line-height: 0.996;
    }

    .nk-services-canvas .fx-t.fx-faq-q {
        font-size: 14px;
        line-height: 20px;
    }

    .nk-services-canvas .fx-faq-icon {
        left: 327.8px;
        top: 10px;
        width: 13.44px;
        height: 13.44px;
    }

    .nk-services-canvas .fx-faq-icon::before {
        top: calc(50% - 0.5px);
        height: 1px;
    }

    .nk-services-canvas .fx-faq-icon::after {
        left: calc(50% - 0.5px);
        width: 1px;
    }

    .nk-services-canvas .fx-t.fx-cta-link {
        font-size: 10px;
        line-height: 12px;
        letter-spacing: 1.4px;
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        text-decoration-skip-ink: none;
    }

    .nk-services-canvas .fx-line-contact {
        display: none;
    }

    .nk-services-canvas .fx-line-in {
        top: -1px !important;
        bottom: auto !important;
        height: 2px;
        background: #e9e9e9;
    }

    .nk-services-canvas .fx-line-in img {
        display: none;
    }
}

/* Service detail pages (Figma 360px frames): canvas ends at the footer rule, y = --mfh */
@media (max-width: 767px) {
    .nk-service-canvas .fx-canvas {
        width: 360px;
        height: var(--mfh) !important;
    }

    /* .nk-tg tablet groups are not items: the items inside them follow the same rule */
    .nk-service-canvas .fx-canvas > :not([style*="--mt"], .nk-tg),
    .nk-service-canvas .fx-canvas .nk-tg > :not([style*="--mt"], .nk-tg, .fx-shift) {
        display: none !important;
    }

    .nk-service-canvas .fx-t {
        font-size: 14px;
        line-height: 16px;
    }

    .nk-service-canvas .fx-t.fx-hero {
        font-size: 28px;
        line-height: 0.996;
    }

    /* The desktop 1px nudge does not exist in the 360px frames */
    .nk-services-canvas .fx-hero,
    .nk-service-canvas .fx-hero,
    .nk-service-canvas .fx-display {
        margin-top: 0;
    }

    /* Figma wraps the closing statement before "it"; the browser fits it on the line at the full 340px */
    .nk-service-canvas .fx-t.fx-display[style*="--mw"] {
        width: 312px !important;
    }

    .nk-service-canvas .fx-t br {
        display: none;
    }

    .nk-service-canvas .fx-t[style*="--mw"] {
        white-space: normal;
    }

    .nk-service-canvas .fx-t.nk-m-link {
        font-size: 10px !important;
        line-height: 12px !important;
        letter-spacing: 1.4px !important;
        color: #000000;
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        text-decoration-skip-ink: none;
    }

    .nk-service-canvas .fx-t.fx-link {
        text-decoration: underline;
        text-decoration-thickness: 0.5px;
        text-decoration-color: currentColor;
        text-underline-offset: auto;
    }

    .nk-service-canvas .fx-line-in {
        top: -1px !important;
        bottom: auto !important;
        height: 2px;
        background: #e9e9e9;
    }

    .nk-service-canvas .fx-line-in img {
        display: none;
    }

    .nk-service-canvas .fx-line[style*="--ml:11px"] .fx-line-in {
        top: -0.5px !important;
        height: 1px;
        background: #a6a6a6;
    }

    .nk-service-canvas .fx-grey-block[style*="--mh:210px"] {
        background: #d9d9d9 url("../images/home/hero.png") center / cover no-repeat;
    }
}

/* Home card copy: desktop text by default, the 360px frame's text on mobile */
.nk-home .nk-card .nk-mc {
    display: none !important;
}

@media (max-width: 767px) {
    .nk-home .nk-card .nk-dc {
        display: none !important;
    }

    .nk-home .nk-card .nk-mc {
        display: block !important;
    }
}

/* Home cards on mobile use the images from the Figma frame (Rectangle 45 and 46) */
@media (max-width: 767px) {
    .nk-home .nk-cards .nk-card:nth-child(odd) .nk-card-img {
        background: #d9d9d9 url("../images/home/m-card-namo.jpg") 0 -58.2px / 100% 168.78% no-repeat;
    }

    .nk-home .nk-cards .nk-card:nth-child(even) .nk-card-img {
        background: #d9d9d9 url("../images/figma/work/04c76.png") center / cover no-repeat;
    }

    .nk-home .nk-card-img img {
        display: none;
    }
}

/* Service pages: project cards use different images and copy in the 360px frames */
.nk-dm-m { display: none; }

@media (max-width: 767px) {
    .nk-dm-d { display: none; }
    .nk-dm-m { display: inline; }

    .nk-m-namo {
        height: 168.78% !important;
        margin-top: -58.2px;
        object-fit: fill !important;
    }
}

/* Desktop navbar: every size and offset follows the 1920px Figma frame at the exact viewport ratio (no 0.7px floor),
   so the logo, links and Services panel keep Figma's proportions at laptop widths too. */
@media (min-width: 1025px) {
    .header-main { --hs: calc(var(--nk-vw) / 1920); }

    .header-main .logo,
    .header-main .logo svg { width: calc(130 * var(--hs)); }

    .header-main ul.main-menu .nk-chevron {
        width: calc(12.7071 * var(--hs));
        height: calc(6.8536 * var(--hs));
        top: calc(2 * var(--hs));
    }

    .header-main ul.main-menu li.has-dropdown > a { gap: calc(6 * var(--hs)); }

    .header-main ul.main-menu .sub-menu {
        top: calc(100% + 15 * var(--hs));
        min-width: 0;
        padding: calc(23 * var(--hs)) calc(22 * var(--hs)) calc(28 * var(--hs));
    }

    .header-main ul.main-menu .sub-menu li { margin-bottom: calc(15 * var(--hs)) !important; font-size: calc(16 * var(--hs)); line-height: calc(22 * var(--hs)); }
    .header-main ul.main-menu .sub-menu li:last-child { margin-bottom: 0 !important; }

    .header-main ul.main-menu .sub-menu li a {
        font-size: calc(16 * var(--hs)) !important;
        line-height: calc(22 * var(--hs)) !important;
    }
}

/* Mobile underlines (Figma 360px frames). Figma draws each underline as a detached bar below the text, not as a text decoration:
   10px caps links get 2 rows of #bfbfbf at +16px; 14px names get one 50%-black row at +18px. */
@media (max-width: 767px) {
    :is(body, .fx-wrap, .nk-home, .nk-page) :is(.nk-m-link, .nk-link, .nk-cta-link, .fx-cta-link, .nk-card-title, .nk-work-name, .nk-blog-name, .fx-link, .fx-link *) {
        text-decoration: none !important;
    }

    .nk-link,
    .nk-cta-link,
    .nk-card-title,
    .nk-blog-name {
        position: relative;
    }

    .nk-work-name::after,
    .nk-blog-name::after,
    .fx-cta-link::after {
        display: none;
    }

    .nk-m-link::before,
    .nk-link::before,
    .nk-cta-link::before,
    .fx-cta-link::before,
    .nk-card-title::before,
    .nk-work-name::before,
    .nk-blog-name::before,
    .fx-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 17px;
        width: 100%;
        height: 1px;
        background: #7f7f7f;
        pointer-events: none;
    }

    /* 10px caps links: View all, Contact us */
    .nk-m-link::before,
    .nk-link::before,
    .nk-cta-link::before,
    .fx-cta-link::before {
        top: 16px;
        width: calc(100% - 1.4px);
        height: 2px;
        background: #bfbfbf;
    }

    /* Home links hold the text and an arrow, so use the text's own width */
    .nk-link::before { width: 56.6px; }
    .nk-cta-link::before { width: 77.6px; }

    /* Service pages: View all is two flat #bfbfbf rows at +15px, Contact us lands on a half pixel (#9f9f9f / #dfdfdf) */
    .nk-service-canvas .nk-m-link::before { top: 15px; }
    .nk-service-canvas .nk-m-link.fx-black::before,
    .nk-service-canvas .fx-cta-link::before,
    .nk-about-canvas .fx-cta-link::before {
        top: 15px;
        background: linear-gradient(#9f9f9f 50%, #dfdfdf 50%);
    }

    .nk-link::before,
    .nk-cta-link::before,
    .fx-cta-link::before { top: 15px; }

    /* Project names on service pages (Namo Monk, Cord) */
    .nk-service-canvas .fx-link::before { top: 17px; }

    .nk-home .nk-card-title::before { top: 17px; }

    /* Contact page links sit on fractional positions, so each bar has its own row */
    .nk-contact-canvas .fx-link::before { width: 100%; background: #5f5f5f; }
    .nk-contact-canvas .fx-link[style*="--mt:932.23px"]::before { top: 16px; }
    .nk-contact-canvas .fx-link[style*="--mt:949.67px"]::before { top: 15px; }
    .nk-contact-canvas .fx-link[style*="--mt:1469px"]::before {
        top: 15px;
        height: 2px;
        background: linear-gradient(#bfbfbf 50%, #7f7f7f 50%);
    }
}

/* Mobile: the caps links and project names render 1px higher than in Figma. The padding moves the text but not the bar,
   which is placed from the padding edge. */
@media (max-width: 767px) {
    .nk-m-link,
    .nk-link,
    .nk-cta-link,
    .fx-cta-link,
    .nk-service-canvas .fx-link {
        padding-top: 1px;
    }
    .nk-home .nk-link,
    .nk-home .nk-card-title {
        padding-top: 1px !important;
    }
}

/* Underlines are hidden by default and animate in on hover.
   Three mechanisms exist above, so each gets its own treatment:
   1. text-decoration lines: colour fades in
   2. home desktop gradient bars: bar grows from the left
   3. ::before / ::after bars (mobile, work, blog): bar scales in from the left */
:root { --nk-ul-ease: 0.35s cubic-bezier(0.22, 1, 0.36, 1); }

/* 1. text-decoration underlines */
.nk-link,
.nk-cta-link,
.nk-m-link,
.nk-card-title,
.nk-contact-link,
.nk-submit,
.nk-post-back a,
.nk-work-name,
.nk-blog-name,
.fx-link,
.fx-cta-link,
.fx-list a {
    text-decoration-color: transparent !important;
    transition: text-decoration-color var(--nk-ul-ease);
}

.nk-link:hover,
.nk-cta-link:hover,
.nk-m-link:hover,
.nk-card-title:hover,
.nk-contact-link:hover,
.nk-submit:hover,
.nk-post-back a:hover,
.nk-work-name:hover,
.nk-blog-name:hover,
.fx-link:hover,
.fx-cta-link:hover,
.fx-list a:hover,
a:hover .nk-card-title,
a:hover .nk-work-name,
a:hover .nk-blog-name {
    text-decoration-color: currentColor !important;
}

/* 2. home desktop: gradient bar grows from the left (sizes mirror the rules above) */
@media (min-width: 1025px) {
    .nk-home .nk-link,
    .nk-home .nk-cta-link,
    .nk-home .nk-card-title {
        background-size: 0 2px;
        transition: background-size var(--nk-ul-ease);
    }

    .nk-home .nk-link:hover,
    .nk-home a:hover .nk-link { background-size: calc(100% - 29 * var(--u)) 2px; }

    .nk-home .nk-cta-link:hover,
    .nk-home a:hover .nk-cta-link { background-size: calc(100% - 26 * var(--u)) 2px; }

    .nk-home .nk-card-title:hover,
    .nk-home a:hover .nk-card-title { background-size: 100% 2px; }
}

/* Home tablet: neither the desktop bar nor the mobile ::before applies, and `.nk-page a`
   strips the text underline, so restore it for the colour fade in (1) to act on.
   Card titles get the card bar instead (end of file). */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-home .nk-link,
    .nk-home .nk-cta-link {
        text-decoration-line: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 6px;
        text-decoration-skip-ink: none;
    }
}

/* 3. bar pseudo-elements: scale in from the left */
.nk-work-name::after,
.nk-blog-name::after,
.nk-work-cta .fx-cta-link::after {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--nk-ul-ease);
}

.nk-work-name:hover::after,
.nk-blog-name:hover::after,
.nk-work-cta .fx-cta-link:hover::after,
a:hover .nk-work-name::after,
a:hover .nk-blog-name::after {
    transform: scaleX(1);
}

@media (max-width: 767px) {
    .nk-m-link::before,
    .nk-link::before,
    .nk-cta-link::before,
    .fx-cta-link::before,
    .nk-card-title::before,
    .nk-work-name::before,
    .nk-blog-name::before,
    .fx-link::before {
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--nk-ul-ease);
    }

    .nk-m-link:hover::before,
    .nk-link:hover::before,
    .nk-cta-link:hover::before,
    .fx-cta-link:hover::before,
    .nk-card-title:hover::before,
    .nk-work-name:hover::before,
    .nk-blog-name:hover::before,
    .fx-link:hover::before,
    a:hover .nk-card-title::before,
    a:hover .nk-work-name::before,
    a:hover .nk-blog-name::before {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    :root { --nk-ul-ease: 0s; }
}

/* Testimonial slider: the track slides inside a clipped viewport (desktop) */
@media (min-width: 1025px) {
    .nk-home .nk-testimonials { display: block; min-width: 0; }

    .nk-home .nk-testimonial-viewport { overflow: hidden; }

    .nk-home .nk-testimonial-track {
        display: flex;
        gap: calc(176 * var(--u));
        transform: translateX(var(--nk-ts, 0px));
        /* No will-change: it keeps the quotes on a GPU layer and blurs them; the transition promotes them only while sliding */
        transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1);
    }

    .nk-home .nk-testimonial { flex: 0 0 calc(247 * var(--u)); }

    .nk-home .nk-testimonial-arrows img { cursor: pointer; transition: opacity 0.3s ease; }
    .nk-home .nk-testimonial-arrows img:hover { opacity: 0.5; }
}

@media (prefers-reduced-motion: reduce) {
    .nk-home .nk-testimonial-track { transition: none; }
}

/* Testimonials on mobile: one card at a time, the arrows pick which */
@media (max-width: 767px) {
    .nk-home .nk-testimonial.is-current { display: flex; }
    .nk-home .nk-testimonial.is-hidden { display: none; }
    .nk-home .nk-testimonial.nk-fade-in { animation: nk-fade-in 0.8s ease both; }
    .nk-home .nk-testimonial-arrows img { cursor: pointer; }
}

@keyframes nk-fade-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .nk-home .nk-testimonial.nk-fade-in { animation: none; }
}

/* Footer on tablets: fill the screen, wordmark spans the full width */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-info {
        width: 100% !important;
        float: none !important;
    }

    .contact-info > img,
    .contact-info > svg {
        width: 100%;
        height: auto;
        max-height: none !important;
        margin: 0;
    }
}

/* Typography line reveal: each rendered line sits in a clipping mask, lines are moved by custom.js.
   No will-change on the lines: a permanent GPU layer per line blurs text at Windows display scaling
   (125%, 150%); GSAP promotes a line only while it moves. */
.nk-line {
    display: block;
    overflow: hidden;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}

.nk-line-in {
    display: block;
}

/* Line progress for rules drawn by pseudo-elements: custom.js sets --nk-lp (0 to 1) on the host */
.nk-rule-before::before,
.nk-rule-after::after {
    scale: var(--nk-lp, 1) 1;
    transform-origin: left center;
}

/* Footer email and phone: plain text in the Figma footer, no underline */
.contact-info a[href^="mailto:"],
.contact-info a[href^="tel:"] {
    width: max-content;
    max-width: 100%;
}

/* Footer height on desktop: Figma's footer is about 953px tall at 1920, not one screen tall */
@media (min-width: 1025px) {
    .contact-info {
        min-height: calc(953 * calc(var(--nk-vw) / 1920)) !important;
    }
}

/* Contact page: email and phone links keep their underline at all times (it used to appear only on hover).
   Same 1px strip as the footer, so the line-progress effect draws it too. */
.nk-contact-canvas .fx-link[href^="mailto:"],
.nk-contact-canvas .fx-link[href^="tel:"] {
    text-decoration: none !important;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 100% 1px;
    background-position: 0 1.1em;
}

.nk-contact-canvas .fx-link[href^="mailto:"]::before,
.nk-contact-canvas .fx-link[href^="tel:"]::before {
    display: none !important;
}

/* =============================================
   HOME intro, new Figma "Home Page": text + Clutch badge on the left, stats on the right,
   then a full-width strip of client logos that scrolls sideways
   ============================================= */
.nk-clutch {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 32px;
    color: #000000;
    text-decoration: none !important;
}

.nk-clutch:hover { color: #000000; }

.nk-clutch-mark {
    flex: none;
    width: 49px;
    height: 49px;
}

.nk-clutch-text {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 14px;
    font-size: 22px;
    line-height: 27px;
}

.nk-clutch-rating { color: rgba(0, 0, 0, 0.5); }

.nk-clutch-stars {
    display: flex;
    gap: 9.1px;
    flex-basis: 100%;
    margin: 1px 0 0 1px;
}

.nk-clutch-stars svg {
    width: 14.92px;
    height: 13.86px;
    fill: #000000;
}

/* the 6th logo has no slot in the stacked mobile / tablet layouts */
.nk-home .nk-logo--goenka { display: none; }

@media (min-width: 1025px) {
    :root { --u: calc(var(--nk-vw) / 1920); }

    /* p y1691, badge y1784, stats y1697 (x1324 to x1907), logos y2111, "Selected work" y2659 */
    .nk-home .nk-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "text   stats"
            "badge  stats"
            "logos  logos";
        align-items: start;
        margin-bottom: calc(475 * var(--u));
    }

    .nk-home .nk-intro p { grid-area: text; }

    .nk-home .nk-clutch {
        grid-area: badge;
        gap: calc(14 * var(--u));
        margin-top: calc(39 * var(--u));
        justify-self: start;
    }

    .nk-home .nk-clutch-mark { width: calc(49 * var(--u)); height: calc(49 * var(--u)); }

    .nk-home .nk-clutch-text {
        column-gap: calc(14 * var(--u));
        font-size: calc(22 * var(--u));
        line-height: calc(27 * var(--u));
    }

    .nk-home .nk-clutch-stars { gap: calc(9.1 * var(--u)); margin: calc(1 * var(--u)) 0 0 calc(1 * var(--u)); }
    .nk-home .nk-clutch-stars svg { width: calc(14.92 * var(--u)); height: calc(13.86 * var(--u)); }

    .nk-home .nk-intro .nk-stats {
        grid-area: stats;
        justify-self: end;
        margin: calc(6 * var(--u)) calc(1 * var(--u)) 0 0;
        padding-left: 0;
    }

    .nk-home .nk-intro .nk-stat:nth-child(1) { width: calc(236 * var(--u)); }
    .nk-home .nk-intro .nk-stat:nth-child(2) { width: calc(263 * var(--u)); }

    /* the strip runs edge to edge; the first logo starts 41px off the left edge, as in Figma */
    .nk-home .nk-logos {
        grid-area: logos;
        position: static;
        width: var(--nk-vw);
        height: calc(73 * var(--u));
        margin: calc(278 * var(--u)) 0 0 calc(50% - var(--nk-vw) / 2);
        overflow: hidden;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .nk-home .nk-intro { position: static; }

    .nk-home .nk-logos-track {
        flex-direction: row;
        width: max-content;
        height: 100%;
        margin-left: calc(-41 * var(--u));
        animation: nk-logos-x 45s linear infinite;
    }

    .nk-home .nk-logo-slot {
        height: 100%;
        padding-right: calc(165 * var(--u));
    }

    /* the SVGs already carry Figma's 50% grey, so no extra opacity or filter */
    .nk-home .nk-logo {
        display: block;
        opacity: 1;
        filter: none;
        transform: none;
    }

    .nk-home .nk-logo--goenka { width: calc(249.45 * var(--u)); }
    .nk-home .nk-logo--renforce { width: calc(241 * var(--u)); }
    .nk-home .nk-logo--evonith { width: calc(244.38 * var(--u)); }
    .nk-home .nk-logo--lidebytes { width: calc(218.66 * var(--u)); }
    .nk-home .nk-logo--aerofit { width: calc(135.75 * var(--u)); }
    .nk-home .nk-logo--fitelo { width: calc(89 * var(--u)); }

    @keyframes nk-logos-x {
        from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(-50%, 0, 0); }
    }
}

@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
    .nk-home .nk-logos-track { animation: none; }
}

/* Mobile: the stats moved into the intro, so pin them where the separate block used to sit */
@media (max-width: 767px) {
    .nk-home .nk-intro { margin-bottom: 46.85px; }

    .nk-home .nk-intro .nk-stats {
        position: absolute;
        top: 608px;
        left: 0;
        right: 0;
    }

    /* six logos now: the loop copy starts at slot 7, and Goenka has no slot in the mobile stack */
    .nk-home .nk-logo-slot:nth-child(6) { display: block; }
    .nk-home .nk-logo-slot:nth-child(n+7),
    .nk-home .nk-logo-slot:has(.nk-logo--goenka) { display: none; }

    .nk-home .nk-clutch {
        position: absolute;
        top: 112px;
        left: 0;
        gap: 10px;
        margin: 0;
    }

    .nk-home .nk-clutch-mark { width: 34px; height: 34px; }
    .nk-home .nk-clutch-text { column-gap: 8px; font-size: 14px; line-height: 17px; }
    .nk-home .nk-clutch-stars { gap: 6px; }
    .nk-home .nk-clutch-stars svg { width: 10px; height: 9.3px; }
}

/* Tablet: the stats now follow the badge inside the intro, so give them their own space */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-home .nk-intro .nk-stats { margin: 64px 0 0; }
}

/* =============================================
   ABOUT, new Figma "About" (node 34:3135): award captions, Behance wordmarks, workshop captions
   ============================================= */
.nk-about-canvas .nk-ab-cap,
.nk-about-canvas .nk-ab-wcap {
    text-align: center;
    white-space: normal;
}

/* Figma fills each logo box with the image from the top; only IIT Delhi's file is taller,
   so its bottom rule and subtitle line fall outside the box */
.nk-about-canvas .nk-ab-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* IIM Calcutta: Figma shows the emblem only; the file also has the name, so crop to the emblem */
.nk-about-canvas .nk-ab-logo--emblem { overflow: hidden; }

.nk-about-canvas .nk-ab-logo--emblem img {
    position: absolute;
    left: -3.17px;
    top: -1.9px;
    width: 285.1px;
    height: 107.06px;
    max-width: none;
}

@media (max-width: 767px) {
    /* the 360px frame has no room for these; mobile keeps its earlier layout */
    .nk-about-canvas .nk-ab-wcap { display: none; }

    .nk-about-canvas .nk-ab-logo--emblem { overflow: visible; }
    .nk-about-canvas .nk-ab-logo--emblem img {
        position: static;
        width: 100%;
        height: 100%;
    }
}

/* Footer dividers: Figma runs the two rules from x19 to x1901, not edge to edge.
   Inset the box and drop the inner side padding so the text keeps its position. */
@media (min-width: 1025px) {
    .contact-info .d-flex {
        margin: 0 calc(19 * calc(var(--nk-vw) / 1920)) !important;
        padding-left: 1px !important;
        padding-right: 0 !important;
    }
}

/* About hero: Figma sets the 80px title on an exact 80px line, so the three lines do not drift */
@media (min-width: 768px) {
    .nk-about-canvas .fx-t.fx-hero { line-height: 80px; }
}


/* Work and Blog dividers on phones: a solid 0.5px line so they stay visible when scaled */
@media (max-width: 767px) {
    .nk-work-canvas .fx-line-in,
    .nk-blog-canvas .fx-line-in {
        top: -0.25px;
        bottom: auto;
        height: 0.5px;
        background: #8c8c8c;
    }

    .nk-work-canvas .fx-line-in img,
    .nk-blog-canvas .fx-line-in img {
        display: none;
    }
}

/* Footer: every page uses the Home footer (Figma 60:36) height and wordmark bottom gap (desktop).
   The wordmark runs from x19 to x1900. */
@media (min-width: 1025px) {
    .contact-info img,
    .contact-info svg {
        padding: 0 !important;
    }

    .contact-info {
        min-height: calc(954 * calc(var(--nk-vw) / 1920)) !important;
        padding-bottom: calc(18 * calc(var(--nk-vw) / 1920)) !important;
    }
}

/* Home cards: Figma places the Cord image 1px higher, and the Cord Typeface image 0.2% larger */
@media (min-width: 1025px) {
    .nk-home .nk-cards .nk-card:nth-child(3n+1) .nk-card-img img { object-position: 50% 50.75%; }
    .nk-home .nk-cards .nk-card:nth-child(3n+2) .nk-card-img img { transform: scale(1.0022); }
}

/* Figma match (Home): footer labels are Regular, wordmark spans the 1882px content width */
@media (min-width: 1025px) {
    #footer_sec .contact-info h2.o-title_line,
    .contact-info h2.o-title_line { font-weight: 400; }
    .contact-info > img,
    .contact-info > svg:last-child {
        width: calc(1882 * var(--u)) !important;
        height: calc(349 * var(--u)) !important;
        max-height: none !important;
        object-fit: fill;
        max-width: none;
        margin-left: calc(19 * var(--u)) !important;
        margin-right: 0 !important;
    }
}

/* Clutch badge uses the Figma logo image and a single five-star graphic */
.nk-clutch-stars { display: block; flex: 0 0 auto; width: 111px; height: auto; gap: 0; margin-right: 100%; }
@media (min-width: 1025px) {
    .nk-home .nk-clutch-stars { flex: 0 0 auto; width: calc(111 * var(--u)); height: auto; margin: calc(1 * var(--u)) 100% 0 calc(1 * var(--u)); }
}
@media (max-width: 1024px) {
    .nk-home .nk-clutch-stars { width: 74.4px; }
}

/* Blog desktop alignment to Figma 18:2058 / 18:2123 */
@media (min-width: 768px) {
    /* Parent line-height pushed the card label 3px low; Figma label top is at y1498 */
    .nk-blog-cap {
        line-height: 22px;
    }

    /* Back link: arrow starts at x19 (frame edge) and only the word BACK is underlined */
    .nk-post-back {
        padding-left: 0;
    }

    .nk-post-back a {
        text-decoration: none;
    }

    .nk-post-back span {
        position: relative;
    }

    .nk-post-back span::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: calc(25 * var(--u));
        height: 2px;
        background: #bfbfbf;
    }
}

/* Services hub (Figma 34:3013): FAQ + / x icons are 1px grey lines, 2px lower than before;
   the footer wordmark has no padding */
@media (min-width: 1025px) {
    .nk-services-canvas .fx-faq-icon { top: 23px; }
    .nk-services-canvas .fx-faq-icon::before,
    .nk-services-canvas .fx-faq-icon::after { background: #535353; }
    .nk-services-canvas .fx-faq-icon::before { top: calc(50% - 0.5px); height: 1px; }
    .nk-services-canvas .fx-faq-icon::after { left: calc(50% - 0.5px); width: 1px; }

    body.page-template-page-services .contact-info > img {
        padding: 0 !important;
    }
}

/* Contact form underlines: Figma draws the field rules 1px tall (#d2d2d2 on white) and the phone-row rules
   as two soft #e9e9e9 rows, not the 2px #dedede rule used elsewhere */
.nk-contact-canvas .fx-line img[src*="149d5"] {
    opacity: 0.5;
    height: 1px;
}

.nk-contact-canvas .fx-line img[src*="6e1cc"],
.nk-contact-canvas .fx-line img[src*="8d310"] {
    opacity: 0.25;
}

/* Careers headline: Figma lines sit exactly 50px apart; 49.8px rounded the last line 1px up */
@media (min-width: 1025px) {
    .nk-contact-canvas .fx-careers-title { line-height: 50px; margin-top: -1px; }
    .nk-contact-canvas .fx-careers-title span + span { margin-top: 89.6px; }
}

/* Submit underline: same hover progress as the Work page links (bar scales in from the left with --nk-ul-ease);
   colour is Figma's #7f7f7f */
.nk-contact-canvas .fx-line img[src*="45c48"] {
    opacity: 0.5;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform var(--nk-ul-ease);
}

.nk-contact-canvas .fx-canvas:has(.fx-submit:hover, .fx-submit:focus-visible) .fx-line img[src*="45c48"] {
    transform: scaleX(1);
}

/* Work filter with no projects: same style as the page subtitle */
.nk-work-grid .nk-work-empty {
    margin: 0 0 0 -3px;
    font-size: 22px;
    line-height: 26px;
    color: rgba(0, 0, 0, 0.5) !important;
}

/* Figma underline checks (desktop) */
@media (min-width: 1025px) {
    /* About CONTACT US: same 2px #7f7f7f vector as the Services hub; the text itself has no underline */
    .nk-about-canvas .fx-cta-link { text-decoration: none; }
    .nk-about-canvas .fx-line-contact .fx-line-in { top: -1px !important; bottom: -1px !important; }
    .nk-about-canvas .fx-line-contact img { opacity: 0.5; height: 2px; }

    /* Post BACK: the underline stops at the last letter, not after its trailing letter-spacing */
    .nk-post-back span::after { right: 0.14em; }
}

/* Home grey text weight: Chrome draws light grey text heavier than Figma does */
@media (min-width: 1025px) {
    /* Card details: #afafaf in Chrome matches the visual weight of Figma's #a6a6a6 */
    .nk-home .nk-card-meta { color: #afafaf; }
}

/* Card hover, the same on every page: hovering the image, name or caption grows a 2px #bfbfbf bar from the left,
   5px below the name's baseline (Home, Work and Blog already do this on desktop). Mobile keeps the 1px bar from the 360px frames. */

/* Home tablet: the bar sits under the 26px line box */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-home .nk-card-title {
        width: fit-content;
        padding-bottom: 2px;
        margin-bottom: -2px;
        background: linear-gradient(#bfbfbf, #bfbfbf) no-repeat 0 26px / 0 2px;
        transition: background-size var(--nk-ul-ease);
    }

    .nk-home a:hover .nk-card-title { background-size: 100% 2px; }
}

/* Service-page project names: a bar like the Work names instead of a text underline */
@media (min-width: 768px) {
    .nk-service-canvas .fx-link { text-decoration: none !important; }

    .nk-service-canvas .fx-link::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 22px;
        height: 2px;
        background: #bfbfbf;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--nk-ul-ease);
    }

    .nk-service-canvas .fx-link:hover::after,
    .nk-service-canvas .nk-fx-card-img:hover + .fx-link::after,
    .nk-service-canvas .fx-link:has(+ .fx-t:hover)::after { transform: scaleX(1); }
}

@media (max-width: 767px) {
    .nk-service-canvas .nk-fx-card-img:hover + .fx-link::before,
    .nk-service-canvas .fx-link:has(+ .fx-t:hover)::before { transform: scaleX(1); }
}

/* Navbar hover: Bootstrap's instant a:hover underline is replaced by a bar in the text colour that grows from the left.
   Sized in em so it follows the navbar's viewport scaling: 2px thick at the 18px Figma size, 5px below the baseline. */
@media (min-width: 768px) {
    .header-main ul.main-menu li a {
        position: relative;
        text-decoration: none;
    }

    .header-main ul.main-menu li a::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: max(1px, calc(2em / 18));
        background: currentColor;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--nk-ul-ease);
        pointer-events: none;
    }

    /* Services: stop at the text, before the 6px gap and 12.7px chevron */
    .header-main ul.main-menu li.has-dropdown > a::after { right: calc(18.7071em / 18); }

    /* Services follows its <li>: once the panel opens, the panel's hover bridge covers the link itself */
    .header-main ul.main-menu li a:hover::after,
    .header-main ul.main-menu li.has-dropdown:hover > a::after { transform: scaleX(1); }
}

/* Services link sits above the dropdown's hover bridge (.sub-menu::after), which otherwise covers the word and swallows the click */
@media (min-width: 768px) {
    .header-main ul.main-menu li.has-dropdown > a { z-index: 1; }
}

/* Work/Blog card and post-hero videos: the Featured Image underneath shows until the video plays; phones keep the image */
.nk-work-img,
.nk-blog-img,
.nk-post-hero {
    position: relative;
}

.nk-media-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nk-media-video.is-playing {
    opacity: 1;
}

@media (max-width: 767px) {
    .nk-media-video {
        display: none;
    }
}

/* Phones: the header has no height, so the page content that follows it (positioned, starting at y=0) paints over it
   and takes the hamburger tap. Lift it above the content, as the desktop header does. */
@media (max-width: 767px) {
    header.dl-sections {
        position: relative;
        z-index: 2;
    }
}

/* Services FAQ: compact accordion, one answer open at a time. Rows stack in normal flow: a closed row is only its
   question, and the open answer grows its row (beside the question on desktop, below it on phones).
   The whole row is the toggle; padding-top keeps the + / x icon 3px below the question top as in Figma. */
.fx-faq {
    position: absolute;
}

.fx-faq-item {
    position: relative;
    display: grid;
    grid-template-columns: 369px 532px;
    column-gap: 190px;
    align-items: start;
    padding: 20px 0 30px;
}

.fx-faq .fx-t {
    position: static;
    white-space: normal;
}

.fx-faq-hit {
    inset: 0;
}

.fx-faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease, translate 0.8s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.8s;
}

.fx-faq-a.is-open {
    grid-template-rows: 1fr;
}

/* The extra bottom room keeps descenders of the last line out of the clip */
.fx-faq-a > .fx-sub {
    width: auto;
    overflow: hidden;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}

@media (max-width: 767px) {
    .nk-services-canvas .fx-canvas {
        height: 3555px !important;
    }

    .fx-faq-item {
        grid-template-columns: 100%;
        padding: 8px 0 20px;
    }

    .fx-faq-item .fx-faq-q {
        width: 268px;
    }

    /* The 12px gap above the answer goes with it, so a closed row keeps none */
    .fx-faq-a > .fx-sub {
        width: 288px;
        transition: padding-top 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .fx-faq-a.is-open > .fx-sub {
        padding-top: 12px;
    }
}

/* Phones: the 360px frames show these underlines at all times, and a phone has no hover to reveal them.
   With motion allowed they appear when their link's text wipe-in ends (the wipe clips them until then). */
@media (max-width: 767px) {
    .nk-m-link::before,
    .nk-link::before,
    .nk-cta-link::before,
    .fx-cta-link::before,
    .nk-card-title::before,
    .nk-work-name::before,
    .nk-blog-name::before,
    .fx-link::before {
        transform: none;
    }

    .nk-contact-canvas .fx-line img[src*="45c48"] {
        transform: none;
    }

    /* The desktop .nk-work-canvas rule (938px) outranks the mobile .nk-work-body one; Figma 18:497 has the first card at y622 */
    .nk-work-canvas .nk-work-body {
        padding-top: 622px;
    }
}

/* Home on phones: laid out at the 360px Figma width and scaled to the screen, like the .fx-canvas pages.
   The script after </main> in page-home.php sets --nk-hs (screen / 360) and --nk-hh (unscaled height);
   the bottom margin adds back the height the scale adds, and flow-root keeps the CTA's bottom margin inside main so it scales too.
   Screen only: print never re-runs the script, so its scale would come from the screen width.
   overflow-x: the testimonial slide-in starts 16px to the right and would let the page scroll sideways. */
@media screen and (max-width: 767px) {
    .nk-home.nk-page {
        display: flow-root;
        width: 360px;
        overflow-x: clip;
        transform: scale(var(--nk-hs, 1));
        transform-origin: 0 0;
        margin-bottom: calc(var(--nk-hh, 0px) * (var(--nk-hs, 1) - 1));
    }
}

@media (max-width: 767px) {
    /* Box matches the 130x25 viewBox, so the wordmark is drawn at Figma's 130x24.11 instead of shrunk to fit */
    .header-main .logo svg {
        height: 25px;
    }

    .nk-mobile-menu__logo svg {
        height: 18.66px;
    }

    /* Figma Rectangle 24 is 340 wide from x9; the -2px margin had stretched it to 342 */
    .nk-home .nk-cta-visual {
        width: 340px;
    }

    /* Figma's arrow sits at x97; Chrome sets "Contact us" 2.2px narrower than Figma's 81px box */
    .nk-home .nk-cta-link::after {
        margin-left: 8.2px;
    }
}

/* Contact SUBMIT underline on phones: Figma has one #7f7f7f row at y859; the 2px image box from y858.72 smeared it over two rows */
@media (max-width: 767px) {
    .nk-contact-canvas .fx-line-rule:has(img[src*="45c48"]) .fx-line-in {
        top: -0.23px !important;
        bottom: auto !important;
        height: 1px;
        background: #7f7f7f;
    }

    /* The 0.8px stroke only half-covers the row; the strip above paints it at full strength.
       Same :has() condition, so a browser without :has() keeps the original line instead of losing both */
    .nk-contact-canvas .fx-line-rule:has(img[src*="45c48"]) img {
        visibility: hidden;
    }
}

/* Footer on phones, every page: Figma's footer runs 616px from its top rule to the frame bottom (wordmark 10px above it).
   100svh made it as tall as the screen instead (800px on an 800px-tall phone). */
@media (max-width: 767px) {
    .contact-info {
        min-height: 616px !important;
    }
}

/* Buttons, the same on every page (desktop and tablet): no underline at rest, and on hover or keyboard focus a 2px #bfbfbf bar
   grows from the left under the label (not the arrow), as on the Home View all / Contact us. Same bar as the Work Contact us;
   on the 1920px canvas pages it scales with the frame. Phones keep their own underline rules. */
@media (min-width: 768px) {
    /* The Figma underline vectors that follow these labels are replaced by the hover bar */
    .fx-canvas .fx-cta-link + .fx-line,
    .fx-canvas .nk-m-link + .fx-line,
    .nk-contact-canvas .fx-line:has(img[src*="45c48"]) {
        display: none;
    }

    .fx-canvas .fx-cta-link,
    .fx-canvas .nk-m-link {
        text-decoration: none !important;
    }

    .fx-canvas .fx-cta-link::after,
    .fx-canvas .nk-m-link::after,
    .fx-submit::after {
        content: '';
        position: absolute;
        left: 0;
        right: 3px;
        top: 26px;
        height: 2px;
        background: #bfbfbf;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--nk-ul-ease);
        pointer-events: none;
    }

    /* The 30px button centres its 27.4px line, so the bar sits 1px lower than on a link */
    .fx-submit::after {
        top: 27px;
    }

    .fx-canvas :is(.fx-cta-link, .nk-m-link):is(:hover, :focus-visible)::after,
    .fx-submit:not(:disabled):is(:hover, :focus-visible)::after {
        transform: scaleX(1);
    }

    /* Blog post BACK: its bar under the word now waits for hover too */
    .nk-post-back span::after {
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--nk-ul-ease);
    }

    .nk-post-back a:is(:hover, :focus-visible) span::after {
        transform: scaleX(1);
    }

    /* 404 Back to home page: the bar sits under the label at the Home ratio (26px below the top of 22px text) */
    .page-404 .btn span {
        position: relative;
        display: inline-block;
        line-height: 1.246;
    }

    .page-404 .btn span::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: calc(26em / 22);
        height: 2px;
        background: #bfbfbf;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--nk-ul-ease);
    }

    .page-404 .btn:is(:hover, :focus-visible) span::after {
        transform: scaleX(1);
    }
}

/* Home on tablets: the same growing bar as desktop instead of a fading text underline
   (arrow 13px + 12px gap + 3px trailing letter-spacing are left out of the bar) */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-home .nk-link,
    .nk-home .nk-cta-link {
        text-decoration-line: none;
        padding-bottom: 2px;
        margin-bottom: -2px;
        background: linear-gradient(#bfbfbf, #bfbfbf) no-repeat 0 26px / 0 2px;
        transition: background-size var(--nk-ul-ease);
    }

    .nk-home .nk-link:is(:hover, :focus-visible),
    .nk-home .nk-cta-link:is(:hover, :focus-visible) {
        background-size: calc(100% - 28px) 2px;
    }
}

/* Grey text weight (desktop): Chrome draws Figma's #a6a6a6 text about 12% heavier than Figma, at 100% and 125%
   display scaling alike. #afafaf matches Figma's weight, as on the Home card details. */
@media (min-width: 1025px) {
    .fx-canvas .fx-t[style*="color:#a6a6a6"],
    .nk-work-meta,
    .nk-blog-desc,
    .nk-post .nk-post-meta p,
    .contact-info h2,
    .contact-info a.policy-link {
        color: #afafaf !important;
    }

    /* Contact careers roles: their colour is inline (it has to beat the global black link rule), read from this */
    .fx-list {
        --nk-list-grey: #afafaf;
    }
}

/* Footer and Home CTA rules (desktop): Chrome snaps borders and boxes to whole CSS pixels, so at 125% display scaling
   the rule was 1.25 screen pixels (a dark row plus a faint one, heavier than Figma). A calc(1 * var(--u)) gradient
   strip is not snapped: it carries one screen row of #b8b8b8 at 100% and 125%, Figma's 0.8px #a6a6a6 stroke.
   The borders stay (transparent) so nothing moves; custom.js draws the bars in from the left like the other rules. */
@media (min-width: 1025px) {
    .contact-info .d-flex,
    .nk-home .nk-cta {
        position: relative;
        border-top-color: transparent !important;
    }

    .contact-info .d-flex {
        border-bottom-color: transparent !important;
    }

    .contact-info .d-flex::before,
    .contact-info .d-flex::after,
    .nk-home .nk-cta::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: -1px;
        height: 1px;
        background: linear-gradient(#b8b8b8, #b8b8b8) left top / 100% calc(1 * var(--u)) no-repeat;
        pointer-events: none;
    }

    .contact-info .d-flex::after {
        top: 100%;
    }
}

/* Phones, Figma 360px frames */
@media (max-width: 767px) {
    /* Contact form: Chrome centres field text in the 25.15px box (3.86px down); Figma sets it at the field top */
    .nk-contact-canvas .fx-input {
        padding-bottom: 7.71px;
    }

    /* About: the Workshops heading is 50% black in Figma 18:691 (Awards stays black) */
    .nk-about-canvas .fx-t[style*="--mt:2889px"] {
        color: rgba(0, 0, 0, 0.5);
    }

    /* Service pages: the intro line and closing statement use their Figma box widths (--mw from the layout files) */
    .nk-service-canvas .fx-t.fx-display[style*="--mw"] {
        width: var(--mw) !important;
    }

    /* Service project captions are 50% black in the 360px frames (the inline #a6a6a6 is the desktop colour) */
    .nk-service-canvas .fx-t.fx-link + .fx-t {
        color: rgba(0, 0, 0, 0.5) !important;
    }
}

/* Phones: Figma's project-name boxes, and the underline drawn under them, run about 4px past where Chrome ends the text
   (Namo Monk 83px vs 79px, Cord 36px vs 32px), on Home, Work, Blog and the service pages alike */
@media (max-width: 767px) {
    .nk-card-title::before,
    .nk-work-name::before,
    .nk-blog-name::before,
    .nk-service-canvas .fx-link::before {
        width: calc(100% + 4px);
    }
}

/* Phone rules heavier than Figma (360px frames). The testimonial rule is Figma's 0.5px 50% black stroke, which Chrome
   paints as a full 1px row (twice the weight); the Work / Blog rule was a #8c8c8c row where Figma has two #e9e9e9 rows.
   They stay single solid rows, lightened to Figma's weight; the contact field rules likewise. */
@media (max-width: 767px) {
    .nk-home .nk-testimonial figcaption {
        border-bottom-color: rgba(0, 0, 0, 0.25);
    }

    .nk-work-canvas .fx-line-in,
    .nk-blog-canvas .fx-line-in {
        background: #d3d3d3;
    }

    .nk-contact-canvas .fx-line img[src*="149d5"] {
        opacity: 0.37;
    }

    .nk-contact-canvas .fx-line img[src*="6e1cc"],
    .nk-contact-canvas .fx-line img[src*="8d310"] {
        opacity: 0.12;
    }
}

/* About on phones: the 360px frame (18:667) has no rule above "Workshops and Involment With"; desktop keeps its rule at y3278 */
@media (max-width: 767px) {
    .nk-about-canvas .fx-line-rule[style*="--mt:2865px"] {
        display: none;
    }
}

/* Contact phone row (country code + number): same rule weight as the other fields, by request.
   Figma draws these two as softer double rows, which read thicker next to the single-row field rules. */
.nk-contact-canvas .fx-line img[src*="6e1cc"],
.nk-contact-canvas .fx-line img[src*="8d310"] {
    opacity: 0.5;
    height: 1px;
}

@media (max-width: 767px) {
    .nk-contact-canvas .fx-line img[src*="6e1cc"],
    .nk-contact-canvas .fx-line img[src*="8d310"] {
        opacity: 0.37;
    }
}

/* Contact field underlines and full-width dividers (desktop/tablet): same as the Home dividers, by request
   (1 screen px of #7f7f7f, not Figma's light grey). The SVGs shrank below one screen pixel in the scaled canvas
   and faded or vanished at most widths. Heights inside the canvas round to whole canvas px, so draw 1px and
   stretch it by 1 / --fx-s (the canvas scale, set by the page script): transforms are not rounded. */
@media (min-width: 768px) {
    .nk-contact-canvas .fx-line img[src*="149d5"],
    .nk-contact-canvas .fx-line img[src*="6e1cc"],
    .nk-contact-canvas .fx-line img[src*="8d310"],
    .nk-contact-canvas .fx-line img[src*="f8bb5"] {
        visibility: hidden;
    }

    .nk-contact-canvas .fx-line:has(img[src*="149d5"], img[src*="6e1cc"], img[src*="8d310"], img[src*="f8bb5"]) .fx-line-in {
        bottom: auto;
        height: 1px;
        background: #7f7f7f;
        transform: scaleY(calc(1 / var(--fx-s, 1)));
        transform-origin: 0 0;
    }
}

/* Mobile menu overlay (Figma working copy "menu" frames). The rule spans the screen less 10px each side, so it still reaches the
   close button on phones wider than 360. Icons are drawn at Figma's boxes: the close X and arrow are offset by
   sub-pixel transforms (Chrome rounds box positions, which blurred one X stroke and moved the arrow 1.5px up),
   the chevron box is its 19.06 x 10.28 viewBox (an 18 x 9 box shrank it), and the arrow's right stroke sits on
   its box edge, so it is not clipped. Open, the menu is 615px tall: on shorter screens (browser bars) it
   scrolls instead of cutting off "Start a Project" (data-lenis-prevent in header.php lets touch reach it).
   Like the pages, the 360px layout is scaled to the screen width (--nk-ms is set in custom.js).
   Services opens and closes its sub links (starts closed, as the Figma prototype does); closed, About sits
   18px below Services, open the list has 25px above and below. */
@media (max-width: 767px) {
    .nk-mobile-menu {
        width: 360px;
        height: calc(100% / var(--nk-ms, 1));
        transform: translateY(-10px) scale(var(--nk-ms, 1));
        transform-origin: 0 0;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .nk-mobile-menu.is-open {
        transform: translateY(0) scale(var(--nk-ms, 1));
    }

    .nk-mobile-menu__divider {
        width: calc(100% - 20px);
    }

    .nk-mobile-menu__close svg {
        transform: translate(-0.3536px, -0.3536px);
    }

    .nk-mobile-menu__toggle {
        display: flex;
        align-items: flex-start;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        font: inherit;
        font-size: 28px;
        line-height: 35px;
        letter-spacing: 0;
        text-align: left;
        text-transform: uppercase;
        color: #000000;
        cursor: pointer;
        transition: opacity 0.2s ease;
    }

    .nk-mobile-menu__chevron {
        width: 19.06px;
        height: 10.28px;
        margin: 12.47px 0 0 13.7px;
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .nk-mobile-menu__toggle[aria-expanded="true"] .nk-mobile-menu__chevron {
        transform: none;
    }

    /* Grid rows animate from 0 to the list's own height; hidden links leave the tab order once closed */
    .nk-mobile-menu__sub-wrap {
        display: grid;
        grid-template-rows: 0fr;
        margin: 0 0 18px;
        visibility: hidden;
        transition: grid-template-rows 0.3s ease, margin 0.3s ease, visibility 0s 0.3s;
    }

    .nk-mobile-menu__toggle[aria-expanded="true"] + .nk-mobile-menu__sub-wrap {
        grid-template-rows: 1fr;
        margin: 25px 0;
        visibility: visible;
        transition: grid-template-rows 0.3s ease, margin 0.3s ease;
    }

    .nk-mobile-menu__nav ul.nk-mobile-menu__sub {
        min-height: 0;
        margin: 0;
        overflow: hidden;
    }

    .nk-start-project svg {
        overflow: visible;
        transform: translate(0.17px, 1.52px);
    }
}

@media (max-width: 767px) and (hover: hover) {
    .nk-mobile-menu__toggle:hover {
        opacity: 0.5;
    }
}

/* Mobile Home 360 pass (Figma working copy, "Mobile Home Page" 360x4995). Icons are drawn at Figma's own boxes;
   a box that was squeezed to Figma's vector size shrank the strokes inside it. */
@media (max-width: 767px) {
    /* Intro: badge y601, stats y705, logo row y871, "Selected work" y1064 (209px higher than the old frame) */
    .nk-home .nk-intro {
        height: 399px;
    }

    .nk-home .nk-intro .nk-stats {
        top: 195px;
    }

    /* Clutch badge is the desktop badge at 26/49: 26px mark, 11.7px text, 58.9px stars */
    .nk-home .nk-clutch {
        top: 91px;
        gap: 7.43px;
    }

    .nk-home .nk-clutch-mark {
        width: 26px;
        height: 26px;
    }

    .nk-home .nk-clutch-text {
        column-gap: 7.43px;
        font-size: 11.7px;
        line-height: 14.33px;
    }

    /* Figma's baseline is y613; moving the words alone keeps the stars on y615.9 */
    .nk-home .nk-clutch-name,
    .nk-home .nk-clutch-rating {
        position: relative;
        top: 1.05px;
    }

    .nk-home .nk-clutch-stars {
        width: 58.9px;
        margin: 0.53px 100% 0 0.53px;
    }

    /* Logos: the desktop strip at 0.4473 scale, edge to edge, scrolling sideways; Evonith starts at x-19.2 as in Figma */
    .nk-home .nk-logos {
        top: 361.1px;
        left: -10px;
        width: 360px;
        height: 32.65px;
        overflow: hidden;
    }

    .nk-home .nk-logos-track {
        display: flex;
        flex-direction: row;
        width: max-content;
        height: 100%;
        margin-left: -386.18px;
        animation: nk-logos-x 45s linear infinite;
    }

    .nk-home .nk-logos .nk-logo-slot {
        display: flex;
        flex: none;
        align-items: center;
        height: 100%;
        padding-right: 73.81px;
    }

    /* The SVGs carry Figma's 50% grey, so drop the stacked layout's filter and fades */
    .nk-home .nk-logos .nk-logo {
        position: static;
        display: block;
        filter: none;
        opacity: 1 !important;
    }

    .nk-home .nk-logos .nk-logo--goenka { width: 111.58px; }
    .nk-home .nk-logos .nk-logo--renforce { width: 107.8px; }
    .nk-home .nk-logos .nk-logo--evonith { width: 109.31px; }
    .nk-home .nk-logos .nk-logo--lidebytes { width: 97.81px; }
    .nk-home .nk-logos .nk-logo--aerofit { width: 60.72px; }
    .nk-home .nk-logos .nk-logo--fitelo { width: 39.81px; }

    /* The desktop keyframes live inside its own media query */
    @keyframes nk-logos-x {
        from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(-50%, 0, 0); }
    }

    /* Hamburger: the 17 x 15 SVG at its own size from (333.43, 37.25) puts the 1.5px bars on Figma's y38 / 44.5 / 51
       (all mobile frames place it there); squeezed to 16.71 x 14.5 they sat up to 0.75px low and thinner */
    .nk-hamburger {
        top: 37.25px;
        right: 9.57px;
        width: 17px;
        height: 15px;
    }

    .nk-hamburger svg {
        width: 17px;
        height: 15px;
    }

    /* The 1px padding above the card titles pushed the subtext 1px below Figma's title + 22px */
    .nk-home .nk-card-meta {
        margin-top: -1px;
    }

    /* Figma's name / company baseline is y3169 and the role's y3184; the rule under them stays put */
    .nk-home .nk-testimonial-name {
        position: relative;
        top: 1.06px;
    }

    .nk-home .nk-testimonial-company {
        top: 1.06px;
    }

    .nk-home .nk-testimonial-role {
        top: 0.62px;
    }

    /* Testimonial arrows: the 21.66 x 14.82 SVGs include the stroke overflow, so a 21.2 x 14.1 box flattened the heads.
       The box sits on a whole pixel and the transform lifts it half a pixel (Chrome rounds image boxes, not transforms),
       which splits the shaft over two rows as in Figma. */
    .nk-home .nk-testimonial-arrows {
        top: 332.06px;
        right: -0.48px;
        gap: 26.67px;
    }

    .nk-home .nk-testimonial-arrows img {
        width: 21.66px;
        height: 14.82px;
        transform: translateY(-0.5px);
    }

    .nk-home .nk-testimonial-arrows .nk-arrow-prev {
        transform: translateY(-0.5px) scaleX(-1);
    }

    /* Link arrows at Figma's boxes: View all 5 x 4.96 at (344.84, 1275.77), Contact us 5.48 x 5.43 at (96.83, 4278.75) */
    .nk-home .nk-link::after {
        margin-left: 3.11px;
        vertical-align: 1.17px;
    }

    .nk-home .nk-cta-link::after {
        width: 5.48px;
        height: 5.43px;
        margin-left: 8.05px;
        vertical-align: 0.85px;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .nk-home .nk-logos-track {
        animation: none;
    }
}

/* Mobile footer, all pages: every Figma copy frame sets the footer text on a 17px pitch (14px at 1.246, rounded)
   with the first baseline 21px below the rule; 1.246 in the browser drifted the lines 0.44px per row. */
@media (max-width: 767px) {
    .contact-info h2,
    .contact-info a,
    .contact-info .o-title_line {
        line-height: 17px !important;
    }

    .contact-info .d-flex {
        padding-top: 6.97px !important;
    }

    .contact-info .second-row {
        margin-top: 80.03px;
    }
}

/* Mobile Brand Positioning (Figma copy) pass */
@media (max-width: 767px) {
    /* Deliverables in the Figma copy: numbers at x 9, names at x 66 and the dividers the full 340px from x 10.
       nk_fx_deliverables() (shared) still writes the old frame's 89 / 146 and 90 + 260px, so override them here. */
    .nk-service-brand-positioning .fx-t[style*="--ml:89px"] {
        --ml: 9px !important;
    }

    .nk-service-brand-positioning .fx-t[style*="--ml:146px"] {
        --ml: 66px !important;
    }

    .nk-service-brand-positioning :is(.fx-line[style*="--ml:90px"], .fx-line[style*="--ml: 90px"]) {
        --ml: 10px !important;
        --mw: 340px !important;
    }
}
/* end Mobile Brand Positioning (Figma copy) pass */


/* Mobile Blog list (Figma copy) pass */
@media (max-width: 767px) {
    /* Figma copy sets the 28px intro on exact 28px lines (tops 113 / 141 / 169) */
    .nk-blog-canvas .fx-hero {
        line-height: 28px;
    }

    /* The caption inherited the body's taller line, which sat the 14px name 6px low;
       Figma puts the name 7px under the image and the description 21px under the name */
    .nk-blog-canvas .nk-blog-cap {
        font-size: 14px;
        line-height: 1.246;
    }

    /* The name glyphs sit 1px high on the 17.44px line; the padding lowers them (and so the description) but not the bar,
       which is placed from the padding edge, so the description gap gives the 1px back */
    .nk-blog-canvas .nk-blog-name {
        padding-top: 1px;
    }

    .nk-blog-canvas .nk-blog-card .nk-blog-desc {
        margin-top: 3.56px;
    }

    /* Figma's name underline is a single #767676 row */
    .nk-blog-canvas .nk-blog-name::before {
        background: #767676;
    }

    /* Footer rule stays at Figma's y1904 with up to four cards; more cards push it down
       instead of running under the footer, keeping Figma's 59px below the last card's gap */
    .nk-blog-canvas .fx-canvas {
        height: auto;
        min-height: 1904px;
    }

    .nk-blog-canvas .nk-blog-body {
        padding-bottom: 59px;
    }
}
/* end Mobile Blog list (Figma copy) pass */

/* Mobile Packaging Design (Figma copy) pass */
@media (max-width: 767px) {
    /* The line script rewrites a rule's style attribute with a space after each colon, so rule selectors match both forms.
       Deliverables: the Figma copy sets numbers at x9, names at x66 and full-width dividers (x10, 340px);
       nk_fx_deliverables() still writes the old frame's x89 / x146 / x90 260px */
    .nk-service-packaging-design .fx-t[style*="--ml:89px"] {
        --ml: 9px !important;
    }

    .nk-service-packaging-design .fx-t[style*="--ml:146px"] {
        --ml: 66px !important;
    }

    .nk-service-packaging-design :is(.fx-line[style*="--ml:90px"], .fx-line[style*="--ml: 90px"]) {
        --ml: 10px !important;
        --mw: 340px !important;
    }

    /* The desktop arrow nudge puts the 5px mobile arrows 0.7px low and 0.4px left of Figma */
    .nk-service-packaging-design .fx-arrow-in img {
        transform: none;
    }
}
/* end Mobile Packaging Design (Figma copy) pass */

/* Mobile Brand design (Figma copy) pass */
@media (max-width: 767px) {
    /* The line script rewrites a rule's style attribute with a space after each colon, so rule selectors match both forms.
       Deliverables: the Figma copy sets numbers at x9, names at x66 and full-width dividers (x10, 340px);
       nk_fx_deliverables() (shared) still writes the old frame's x89 / x146 / x90 260px.
       Selectors use the desktop styles (numbers 26px grey, names at left 1012, dividers 1052 wide), so they keep
       matching whatever mobile values the helper writes */
    .nk-service-brand-design .fx-t[style*="font-size:26px;color:rgba(0,0,0,0.5)"] {
        --ml: 9px !important;
    }

    .nk-service-brand-design .fx-t[style*="left:1012px"] {
        --ml: 66px !important;
    }

    .nk-service-brand-design :is(.fx-line[style*="width:1052px"], .fx-line[style*="width: 1052px"]) {
        --ml: 10px !important;
        --mw: 340px !important;
    }

    /* The desktop arrow nudge puts the 5px mobile arrows 0.4px left and 0.35px low of Figma */
    .nk-service-brand-design .fx-arrow-in img {
        transform: none;
    }
}
/* end Mobile Brand design (Figma copy) pass */

/* Mobile Creative Retainer (Figma copy) pass */
@media (max-width: 767px) {
    /* The line script rewrites a rule's style attribute with a space after each colon, so rule selectors match both forms.
       Deliverables: the Figma copy sets numbers at x9, names at x66 and full-width dividers (x10, 340px);
       nk_fx_deliverables() (shared) still writes the old frame's x89 / x146 / x90 260px */
    .nk-service-creative-retainer .fx-t[style*="--ml:89px"] {
        --ml: 9px !important;
    }

    .nk-service-creative-retainer .fx-t[style*="--ml:146px"] {
        --ml: 66px !important;
    }

    .nk-service-creative-retainer :is(.fx-line[style*="--ml:90px"], .fx-line[style*="--ml: 90px"]) {
        --ml: 10px !important;
        --mw: 340px !important;
    }

    /* The desktop arrow nudge puts the 5px mobile arrows 0.4px left and 0.35px low of Figma */
    .nk-service-creative-retainer .fx-arrow-in img {
        transform: none;
    }
}
/* end Mobile Creative Retainer (Figma copy) pass */

/* Mobile Work (Figma copy) pass */
/* Work on phones, measured against the working-copy 360px frame (Mobile Work Page, 360 x 3513) */
@media (max-width: 767px) {
    /* Project names sit 1px lower than Chrome puts them (Figma baseline +14, bar at +17 stays put):
       the padding moves the text, not the bar, which is placed from the padding edge */
    .nk-work-canvas .nk-work-name {
        padding-top: 1px;
    }

    /* Card text follows the image in flow, so every card keeps Figma's offsets (image, name +7, description box +29,
       next image 50px below the last description line) whatever the stored copy's line count. The old fixed card
       heights (296 / 327) only fit Figma's own 1-line and 3-line descriptions. The name stays absolute at +7. */
    .nk-work-canvas .nk-work-grid .nk-work-card {
        height: auto;
    }

    .nk-work-canvas .nk-work-card .nk-work-meta {
        position: relative;
        display: block;
        top: auto;
        margin-top: 29px;
    }

    /* The rule above the closing block is a 1px #a5a5a5 stroke centred on the block top (y2126.5 to 2127.5),
       twice the weight of the 0.5px filter-tab rule */
    .nk-work-canvas .nk-work-cta .fx-line-in {
        top: -0.5px !important;
        height: 1px;
        background: #a6a6a6;
    }
}
/* end Mobile Work (Figma copy) pass */

/* Mobile Services hub (Figma copy) pass */
/* Services hub at 360px (Figma working copy "Mobile Services hub page"): the FAQ keeps the frame's full-height rows,
   so the canvas ends at the footer rule, y3782, not at the compact-accordion height */
@media (max-width: 767px) {
    .nk-services-canvas .fx-canvas {
        height: 3782px !important;
    }

    /* Rows sit 139px apart: 99px from a question's last line to the next question. Margin, not padding,
       so the empty space is not part of the row's tap target. */
    .nk-services-canvas .fx-faq-item {
        padding-bottom: 0;
        margin-bottom: 91px;
    }

    /* The open answer starts 45px below its question, and its row is 96px taller than a closed one */
    .nk-services-canvas .fx-faq-a.is-open > .fx-sub {
        padding-top: 47px;
    }

    .nk-services-canvas .fx-faq-a.is-open {
        margin-bottom: 1px;
    }

    .nk-services-canvas .fx-faq-icon::before,
    .nk-services-canvas .fx-faq-icon::after {
        background: #3a3a3a;
    }

    /* The open x sits 2px lower against its question than the closed + does */
    .nk-services-canvas .fx-faq-hit.is-open .fx-faq-icon {
        transform: translateY(2px) rotate(45deg);
    }

    /* The desktop sub-pixel nudge puts the 5px arrow 0.6px low and 0.4px left of the frame's arrow */
    .nk-services-canvas .fx-arrow-cta img {
        transform: none;
    }
}
/* end Mobile Services hub (Figma copy) pass */


/* Mobile Blog post (Figma copy) pass */
/* Blog post on phones, measured against the working-copy 360px frame (Mobile Blog Page-1, 360 x 1891) */
@media (max-width: 767px) {
    /* BACK: Figma's baseline is 1px lower (y213); the bar under it stays at y218 */
    .nk-post .nk-post-back span {
        top: 1px;
    }

    /* The bar stops at the K, not after its trailing letter-spacing (Figma x29 to x61.3) */
    .nk-post .nk-post-back span::after {
        top: 14px;
        right: 0.14em;
    }

    /* The footer rule sits 109px below the last line of text (y1166 to y1275); the last paragraph's
       20px gap added to that */
    .nk-post .nk-post-content > :last-child {
        margin-bottom: 0;
    }
}
/* end Mobile Blog post (Figma copy) pass */

/* Mobile Contact (Figma copy) pass */
/* Figma working-copy "Mobile Contact Page" (360 x 2570): form rows 41px apart, so the canvas now ends at the footer rule, y1954 */
@media (max-width: 767px) {
    .nk-contact-canvas .fx-canvas,
    .nk-contact-canvas .fx-form {
        height: 1954px;
    }

    /* Careers roles sit 17px apart in Figma (1.246 gave 17.44) */
    .nk-contact-canvas .fx-list {
        line-height: 17px;
    }

    /* The form box spans the whole canvas (its fields are placed in canvas coordinates) and sat on top of the
       business email and phone links, so they could not be tapped: only the fields themselves take taps */
    .nk-contact-canvas .fx-form {
        pointer-events: none;
    }

    .nk-contact-canvas .fx-form > * {
        pointer-events: auto;
    }
}
/* end Mobile Contact (Figma copy) pass */

/* Mobile About (Figma copy) pass */
/* About on phones, measured against the working-copy 360px frame (Mobile About, 360 x 6613).
   Positions live in page-about.php (--ml/--mt/...); these rules cover what the variables cannot. */
@media (max-width: 767px) {
    /* The canvas ends at the footer rule, y5997 (was y5810) */
    .nk-about-canvas .fx-canvas,
    .nk-about-canvas .fx-form {
        height: 5997px !important;
    }

    /* Workshop captions are back under the logos, on two lines as in the desktop copy */
    .nk-about-canvas .nk-ab-wcap {
        display: block;
    }

    .nk-about-canvas .fx-t.nk-ab-wcap br {
        display: inline;
    }

    /* IIM Calcutta: the frame shows the emblem only, like desktop, so clip off the name */
    .nk-about-canvas .nk-ab-logo--emblem {
        overflow: hidden;
    }

    .nk-about-canvas .nk-ab-logo--emblem img {
        position: absolute;
        left: 0;
        top: 0;
        width: 211.46px;
        height: 80.35px;
    }

    /* Team names 16.43px and roles 11.74px (the page rules set 14px / 10px) */
    .nk-about-canvas .fx-canvas .fx-t[style*="--fs"] {
        font-size: var(--fs) !important;
    }
}
/* end Mobile About (Figma copy) pass */

/* Mobile Website Design (Figma copy) pass */
@media (max-width: 767px) {
    /* The line script rewrites a rule's style attribute with a space after each colon, so rule selectors match both forms.
       Deliverables: the Figma copy sets numbers at x9, names at x66 and full-width dividers (x10, 340px);
       nk_fx_deliverables() (shared) still writes the old frame's x89 / x146 / x90 260px */
    .nk-service-website-design .fx-t[style*="--ml:89px"] {
        --ml: 9px !important;
    }

    .nk-service-website-design .fx-t[style*="--ml:146px"] {
        --ml: 66px !important;
    }

    .nk-service-website-design :is(.fx-line[style*="--ml:90px"], .fx-line[style*="--ml: 90px"]) {
        --ml: 10px !important;
        --mw: 340px !important;
    }

    /* The desktop arrow nudge puts the 5px mobile arrows (View all, Contact us) 0.4px left and 0.35px low of Figma */
    .nk-service-website-design .fx-arrow-in img {
        transform: none;
    }
}
/* end Mobile Website Design (Figma copy) pass */

/* Mobile Website Development (Figma copy) pass */
@media (max-width: 767px) {
    /* The line script rewrites a rule's style attribute with a space after each colon, so rule selectors match both forms.
       Deliverables: the Figma copy sets numbers at x9, names at x66 and full-width dividers (x10, 340px);
       nk_fx_deliverables() (shared) still writes the old frame's x89 / x146 / x90 260px */
    .nk-service-website-development .fx-t[style*="--ml:89px"] {
        --ml: 9px !important;
    }

    .nk-service-website-development .fx-t[style*="--ml:146px"] {
        --ml: 66px !important;
    }

    .nk-service-website-development :is(.fx-line[style*="--ml:90px"], .fx-line[style*="--ml: 90px"]) {
        --ml: 10px !important;
        --mw: 340px !important;
    }

    /* The desktop arrow nudge puts the 5px mobile arrows about 0.5px low and 0.4px left of Figma */
    .nk-service-website-development .fx-arrow-in img {
        transform: none;
    }
}
/* end Mobile Website Development (Figma copy) pass */

/* Mobile lines: one style */
/* One line style on phones, by request: every divider and underline 0.5px; dividers #a6a6a6 (the Figma grey),
   underlines in the colour of their text (underline thickness --nk-ul: see "Underlines: thin and dark"). Chrome rounds borders and boxes thinner than 1px up to a whole CSS px,
   so each line is a 0.5px one-colour gradient strip painted inside the box that already draws it. Box sizes are
   unchanged, so nothing positioned from them moves, and custom.js still draws these strips in from the left.
   Strips sit on whole-px offsets of their box (boxes snap to device pixels; a 0.5px offset would blur at 3x).
   Selectors avoid [style*=...]: the line script rewrites style attributes, which breaks those matches.
   Link underlines stay hidden and draw in only while their link is pressed (or keyboard-focused), by request.
   custom.js adds .nk-pressed on press: iOS applies :active to links only when the page listens for touches. */
@media (max-width: 767px) {
    :root {
        --nk-line: #a6a6a6;
        --nk-line-w: 0.5px;
    }

    /* Canvas rules and form-field rules (.fx-line): the SVG stroke is hidden and a strip is centred on the rule's y */
    html body .fx-wrap .fx-canvas .fx-line .fx-line-in {
        top: -0.25px !important;
        bottom: auto !important;
        height: 1px !important;
        background: linear-gradient(var(--nk-line), var(--nk-line)) left top / 100% var(--nk-line-w) no-repeat !important;
        transform: none !important;
        opacity: 1 !important;
    }

    html body .fx-wrap .fx-canvas .fx-line .fx-line-in img {
        visibility: hidden !important;
    }

    /* The SUBMIT rule underlines black text */
    html body .nk-contact-canvas .fx-line:has(img[src*="45c48"]) {
        --nk-line: #000000;
        --nk-line-w: var(--nk-ul);
    }

    /* Rules drawn as borders: the border keeps its width (content is placed from it) but turns transparent,
       and the strip is painted over it. 1px borders take the strip at their top, 2px borders 1px in. */
    html body .contact-info .d-flex,
    html body .nk-home .nk-cta {
        border-top-color: transparent !important;
        background: linear-gradient(var(--nk-line), var(--nk-line)) left top / 100% var(--nk-line-w) no-repeat border-box !important;
    }

    html body .nk-home .nk-testimonial figcaption {
        border-bottom-color: transparent !important;
        background: linear-gradient(var(--nk-line), var(--nk-line)) left bottom / 100% var(--nk-line-w) no-repeat border-box !important;
    }

    html body .nk-home .nk-section-head,
    html body .nk-post .nk-post-back {
        border-bottom-color: transparent !important;
        background: linear-gradient(var(--nk-line), var(--nk-line)) left 0 bottom 1px / 100% var(--nk-line-w) no-repeat border-box !important;
    }

    /* Menu: the 2px divider box (52 to 54) takes the strip at 53, Figma's rule centre */
    html body .nk-mobile-menu .nk-mobile-menu__divider {
        background: linear-gradient(var(--nk-line), var(--nk-line)) left 0 top 1px / 100% var(--nk-line-w) no-repeat !important;
    }

    /* Underlines drawn as bars under the text: same box, strip in the text colour */
    html body .nk-card-title::before,
    html body .nk-work-name::before,
    html body .nk-blog-name::before,
    html body .fx-link::before {
        background: linear-gradient(currentColor, currentColor) left top / 100% var(--nk-ul) no-repeat !important;
    }

    /* 10px caps links (View all, Contact us, back) have 2px bars: the strip sits 1px in */
    html body .nk-m-link::before,
    html body .nk-link::before,
    html body .nk-cta-link::before,
    html body .fx-cta-link::before,
    html body .nk-post .nk-post-back span::after {
        background: linear-gradient(currentColor, currentColor) left 0 top 1px / 100% var(--nk-ul) no-repeat !important;
    }

    /* Contact email and phone links: their underline is a background strip on the link itself */
    html body .nk-contact-canvas .fx-link[href^="mailto:"],
    html body .nk-contact-canvas .fx-link[href^="tel:"] {
        background-image: linear-gradient(currentColor, currentColor) !important;
        background-size: 100% var(--nk-ul) !important;
        background-position: 0 15px !important;
        background-repeat: no-repeat !important;
    }

    /* Link underlines: hidden until the link is pressed. The service-page cards are not links: pressing the
       card image or its title shows the title's underline. */
    html body .nk-card-title::before,
    html body .nk-work-name::before,
    html body .nk-blog-name::before,
    html body .fx-link::before,
    html body .nk-m-link::before,
    html body .nk-link::before,
    html body .nk-cta-link::before,
    html body .fx-cta-link::before,
    html body .nk-post .nk-post-back span::after,
    html body .nk-contact-canvas .fx-line:has(img[src*="45c48"]) {
        scale: 0 1 !important;
        transform-origin: left center !important;
        transition: scale 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
    }

    html body .nk-card:is(:active, :focus-visible, .nk-pressed) .nk-card-title::before,
    html body .nk-work-card:is(:active, :focus-visible, .nk-pressed) .nk-work-name::before,
    html body .nk-blog-card:is(:active, :focus-visible, .nk-pressed) .nk-blog-name::before,
    html body .nk-fx-card-img:is(:active, .nk-pressed) + .fx-link::before,
    html body .fx-link:is(:active, :focus-visible, .nk-pressed)::before,
    html body :is(.nk-m-link, .nk-link, .nk-cta-link, .fx-cta-link):is(:active, :focus-visible, .nk-pressed)::before,
    html body .nk-post .nk-post-back a:is(:active, :focus-visible, .nk-pressed) span::after,
    html body .nk-contact-canvas:has(.fx-submit:is(:active, :focus-visible, .nk-pressed)) .fx-line:has(img[src*="45c48"]) {
        scale: 1 1 !important;
    }

    html body .nk-contact-canvas .fx-link[href^="mailto:"],
    html body .nk-contact-canvas .fx-link[href^="tel:"] {
        background-size: 0 var(--nk-ul) !important;
        transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1) !important;
    }

    html body .nk-contact-canvas .fx-link:is([href^="mailto:"], [href^="tel:"]):is(:active, :focus-visible, .nk-pressed) {
        background-size: 100% var(--nk-ul) !important;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    html body .nk-card-title::before,
    html body .nk-work-name::before,
    html body .nk-blog-name::before,
    html body .fx-link::before,
    html body .nk-m-link::before,
    html body .nk-link::before,
    html body .nk-cta-link::before,
    html body .fx-cta-link::before,
    html body .nk-post .nk-post-back span::after,
    html body .nk-contact-canvas .fx-line:has(img[src*="45c48"]),
    html body .nk-contact-canvas .fx-link[href^="mailto:"],
    html body .nk-contact-canvas .fx-link[href^="tel:"] {
        transition: none !important;
    }
}
/* end Mobile lines: one style */


/* Underlines: thin and dark */
/* Thin dark underlines, desktop and phones, by request. Figma draws link underlines as 0.5px black text
   underlines. A line thinner than one screen pixel can only paint as a grey half pixel, so --nk-ul is 0.5px but
   never less than one screen pixel, and every underline is a strip of it in the text colour. Inside the scaled
   Figma canvases it is divided by the canvas scale (--fx-s, set by the page scripts) to stay one screen pixel.
   Only thickness and colour change: where and when each underline shows (hover, press) is as before. */
:root {
    --nk-ul-w: 1px;
    --nk-ul: var(--nk-ul-w);
}

@media (min-resolution: 1.1dppx) {
    :root { --nk-ul-w: 0.8px; }
}

@media (min-resolution: 1.4dppx) {
    :root { --nk-ul-w: 0.6667px; }
}

@media (min-resolution: 1.65dppx) {
    :root { --nk-ul-w: 0.5715px; }
}

@media (min-resolution: 1.9dppx) {
    :root { --nk-ul-w: 0.5px; }
}

.fx-canvas {
    --nk-ul: calc(var(--nk-ul-w) / var(--fx-s, 1));
}

/* Desktop and tablet: the 2px #bfbfbf hover bars become one thin strip in the text colour (same box, same timing) */
@media (min-width: 768px) {
    html body .nk-work-name::after,
    html body .nk-blog-name::after,
    html body .nk-work-cta .fx-cta-link::after,
    html body .nk-service-canvas .fx-link::after,
    html body .fx-canvas .fx-cta-link::after,
    html body .fx-canvas .nk-m-link::after,
    html body .fx-submit::after,
    html body .nk-post-back span::after,
    html body .page-404 .btn span::after,
    html body .header-main ul.main-menu li a::after {
        background: linear-gradient(currentColor, currentColor) left top / 100% var(--nk-ul) no-repeat !important;
    }

    /* Contact email and phone: always underlined on desktop */
    html body .nk-contact-canvas .fx-link[href^="mailto:"],
    html body .nk-contact-canvas .fx-link[href^="tel:"] {
        background-image: linear-gradient(currentColor, currentColor) !important;
        background-size: 100% var(--nk-ul) !important;
    }
}

/* Home links and card titles draw their underline as a background strip that grows on hover */
@media (min-width: 768px) {
    html body .nk-home .nk-link,
    html body .nk-home .nk-cta-link,
    html body .nk-home .nk-card-title {
        background-image: linear-gradient(currentColor, currentColor) !important;
        background-size: 0 var(--nk-ul) !important;
    }
}

@media (min-width: 1025px) {
    html body .nk-home .nk-link:hover,
    html body .nk-home a:hover .nk-link {
        background-size: calc(100% - 29 * var(--u)) var(--nk-ul) !important;
    }

    html body .nk-home .nk-cta-link:hover,
    html body .nk-home a:hover .nk-cta-link {
        background-size: calc(100% - 26 * var(--u)) var(--nk-ul) !important;
    }

    html body .nk-home .nk-card-title:hover,
    html body .nk-home a:hover .nk-card-title {
        background-size: 100% var(--nk-ul) !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html body .nk-home .nk-link:is(:hover, :focus-visible),
    html body .nk-home .nk-cta-link:is(:hover, :focus-visible) {
        background-size: calc(100% - 28px) var(--nk-ul) !important;
    }

    html body .nk-home a:hover .nk-card-title {
        background-size: 100% var(--nk-ul) !important;
    }
}
/* end Underlines: thin and dark */

/* Phones: the header is not fixed here, so it only ever sits over the white page top. Draw the logo and hamburger
   in plain black, as desktop does, instead of white + difference blend. iPhone Safari drops the blend when the header
   overlaps a GPU layer (the scaled Figma canvas on the service pages while its text animates): white on white.
   Single projects keep the blend, because their header sits over the hero image. */
@media (max-width: 767px) {
    body:not(.single-projects) header {
        mix-blend-mode: normal !important;
    }

    body:not(.single-projects) header .logo svg path {
        fill: #000000 !important;
    }

    body:not(.single-projects) header .nk-hamburger svg path {
        stroke: #000000 !important;
    }
}

/* Blog cards: title-only underline. Bootstrap's a:hover text underline on the card link outranked
   .nk-blog-card and spread to the description and date; only the title's own bar should show. */
.nk-blog-card:hover {
    text-decoration: none;
}
/* end Blog cards: title-only underline */

/* Footer: full screen. The user asked for the footer to fill the screen on every screen size (2026-10-13), instead of
   Figma's fixed height (954px at 1920 on desktop, 616px on phones). svh keeps it inside the visible area while a phone's
   browser bar shows. The wordmark also stays on screen: below 1371px the 0.7px floor on --u made it 1331px wide
   (cut off on a 1280px laptop), and a desktop scrollbar takes another 15px. It keeps the 19px side gaps and its shape. */
.contact-info {
    min-height: 100vh !important;
    min-height: 100svh !important;
}

@media (min-width: 1025px) {
    .contact-info > img,
    .contact-info > svg:last-child {
        width: min(calc(1882 * var(--u)), calc(100% - 38 * var(--u))) !important;
        height: auto !important;
        aspect-ratio: 1882 / 349;
    }
}
/* end Footer: full screen */

/* Services hub: whole row links. The row link wraps the number, name, description and arrow; the name keeps the
   underline it had as a link, now shown while any part of its row is hovered */
.nk-services-canvas .fx-row-link:hover .fx-name {
    text-decoration: underline;
}
/* end Services hub: whole row links */

/* Footer: phone divider. A second line under the Reach out / Online block, as on desktop and tablets (user request 2026-10-14;
   the mobile Figma has only the top line). It sits 80px below the links, the same gap as between the two groups, in the
   phone line style (0.5px --nk-line strip). custom.js picks up the ::after strip and draws it in from the left. */
@media (max-width: 767px) {
    .contact-info .d-flex {
        padding-bottom: 80px !important;
    }

    .contact-info .d-flex::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: linear-gradient(var(--nk-line), var(--nk-line)) left top / 100% var(--nk-line-w) no-repeat;
        pointer-events: none;
    }
}
/* end Footer: phone divider */

/* Footer: link hovers. The footer links (email, phone, Online links, Privacy Policy) underline like the other links
   (user request 2026-10-14): on desktop and tablets a thin strip in the text colour grows from the left on hover or
   keyboard focus, in place of the browser's instant underline; on phones it draws in while the link is pressed.
   Each link is as wide as its text so the strip ends with the word (the Online links were all as wide as Instagram). */
.contact-info a.o-title_line,
.contact-info a.policy-link {
    width: max-content;
    max-width: none;
    text-decoration: none !important;
    background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(26em / 22) / 0 var(--nk-ul);
    transition: background-size var(--nk-ul-ease);
}

@media (min-width: 768px) {
    .contact-info a.o-title_line:is(:hover, :focus-visible),
    .contact-info a.policy-link:is(:hover, :focus-visible) {
        background-size: 100% var(--nk-ul);
    }
}

/* Phones: the press underline of the Contact page email and phone (14px text, strip 15px down) */
@media (max-width: 767px) {
    .contact-info a.o-title_line,
    .contact-info a.policy-link {
        background-position: 0 15px;
        transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    .contact-info a.o-title_line:is(:active, :focus-visible, .nk-pressed),
    .contact-info a.policy-link:is(:active, :focus-visible, .nk-pressed) {
        background-size: 100% var(--nk-ul);
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .contact-info a.o-title_line,
    .contact-info a.policy-link {
        transition: none;
    }
}
/* end Footer: link hovers */

/* Services hub: row name underline. The "Our services" names underline like the other links (user request 2026-10-14):
   a thin strip in the text colour grows from the left under the name while its row is hovered or keyboard-focused
   (desktop and tablets), or pressed (phones), in place of the browser's instant underline from "whole row links".
   Strip 26px down on the 22px desktop names, as on the other 22px links; 15px down on the 14px phone names, as in the footer. */
.nk-services-canvas .fx-row-link .fx-name {
    text-decoration: none !important;
    background: linear-gradient(currentColor, currentColor) no-repeat 0 calc(26em / 22) / 0 var(--nk-ul);
    transition: background-size var(--nk-ul-ease);
}

@media (min-width: 768px) {
    .nk-services-canvas .fx-row-link:is(:hover, :focus-visible) .fx-name {
        background-size: 100% var(--nk-ul);
    }
}

@media (max-width: 767px) {
    .nk-services-canvas .fx-row-link .fx-name {
        background-position: 0 15px;
        transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    .nk-services-canvas .fx-row-link:is(:active, :focus-visible, .nk-pressed) .fx-name {
        background-size: 100% var(--nk-ul);
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .nk-services-canvas .fx-row-link .fx-name {
        transition: none;
    }
}
/* end Services hub: row name underline */

/* Home intro: Clutch badge on the stats row. The new Home design (user screenshots, 2026-10-14) moves the badge from under
   the intro text to the right end of the stats row, on desktop and phones, and closes up the stats to make room.
   Measured from the screenshots (no Figma export yet): desktop stats x963 / x1186 / x1437, badge flush right with its mark at y1707;
   phone stats y646 at x10 / x75 / x156.6, badge mark at x228 y651, logo strip 16.6px higher. */

/* The stars wrap under the words without widening the badge, so the badge is as wide as its words and can sit flush right */
.nk-home .nk-clutch-text {
    display: grid;
    grid-template-columns: auto auto;
}

.nk-home .nk-clutch-stars {
    grid-column: 1 / -1;
    margin-right: 0;
}

@media (min-width: 1025px) {
    /* the row keeps the old text + badge height (54 + 88) so the logo strip stays at y2111 */
    .nk-home .nk-intro {
        grid-template-columns: minmax(0, 1fr) auto auto;
        grid-template-rows: minmax(calc(142 * var(--u)), auto) auto;
        grid-template-areas:
            "text   stats  badge"
            "logos  logos  logos";
    }

    .nk-home .nk-intro .nk-stats { margin-right: 0; }
    .nk-home .nk-intro .nk-stat:nth-child(1) { width: calc(223 * var(--u)); }
    .nk-home .nk-intro .nk-stat:nth-child(2) { width: calc(251 * var(--u)); }

    .nk-home .nk-clutch {
        justify-self: end;
        margin: calc(16 * var(--u)) 0 0 calc(157 * var(--u));
    }
}

@media (max-width: 767px) {
    .nk-home .nk-intro .nk-stats { top: 136px; }
    .nk-home .nk-stat:nth-child(2) { left: 65px; }
    .nk-home .nk-stat:nth-child(3) { left: 146.58px; }

    .nk-home .nk-clutch {
        top: 141px;
        left: auto;
        right: 0;
    }

    .nk-home .nk-logos { top: 344.5px; }
}
/* end Home intro: Clutch badge on the stats row */

/* Projects backend: card video + tabs */
/* Vimeo card videos: the player is scaled to cover the card, as object-fit: cover does for MP4 (assumes 16:9).
   Clicks and hovers go through to the card link. */
.nk-media-vimeo {
    container-type: size;
    overflow: hidden;
    pointer-events: none;
}

.nk-media-vimeo iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100cqw, 177.78cqh);
    height: max(100cqh, 56.25cqw);
    border: 0;
    transform: translate(-50%, -50%);
}

/* Project page MP4 banner and gallery videos: full width, at the video's own shape */
.nk-project-video {
    display: block;
    width: 100%;
    height: auto;
}

/* Work page: filter tabs that wrap onto extra rows push the projects down (page-work.php sets the variables) */
.nk-work-canvas .nk-work-body {
    padding-top: calc(938px + var(--tabs-extra, 0px));
}

@media (max-width: 767px) {
    .nk-work-canvas .nk-work-body {
        padding-top: calc(622px + var(--tabs-extra-m, 0px));
    }
}

/* Grey design boxes filled from the dashboard (nk_media_box()): the image covers the box, the video plays over it */
.nk-media-box {
    overflow: hidden;
}

.nk-cta-visual.nk-media-box {
    position: relative;
}

.nk-media-box > img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

/* A video with no image under it is all the box has, so phones play it too */
@media (max-width: 767px) {
    .nk-media-video.nk-media-solo {
        display: block;
    }
}
/* end Projects backend: card video + tabs */

/* Selected work Full/Half: Home full cards are .nk-card--full; on service pages the content below the cards sits in .fx-shift (nk_fx_work_cards() in inc/figma-services.php), moved by the extra or missing card rows */
.fx-shift {
    position: absolute;
    left: 0;
    width: 100%;
    height: 0;
}

@media (max-width: 767px) {
    .nk-service-canvas .fx-canvas > .fx-shift {
        display: block !important;
        top: var(--mdy) !important;
    }

    /* Items without a phone position stay hidden, as they do when they sit directly in the canvas */
    .nk-service-canvas .fx-shift > :not([style*="--mt"], .nk-tg) {
        display: none !important;
    }

    /* Home: the 360px frame's photos stand in for the placeholder cards only; picked projects show their own image */
    .nk-home .nk-cards.nk-cards--picked .nk-card .nk-card-img {
        background: #d9d9d9;
    }

    .nk-home .nk-cards--picked .nk-card-img img {
        display: block;
    }
}
/* end Selected work Full/Half */

/* Project page "Image + video": the image covers a Vimeo player until its video plays (custom.js); MP4s show it as the poster */
.iframe-wrapper > .nk-video-cover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nk-video-cover.is-playing > .nk-video-cover-img {
    opacity: 0;
}
/* end Project page Image + video */

/* About award logos and team photos set in the admin (page-about.php): an editor's logo fits its position's
   designed box without cropping; a photo fills the grey box */
.nk-about-canvas .nk-ab-award img,
.nk-about-canvas .nk-ab-photo img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

.nk-about-canvas .nk-ab-award img {
    object-fit: contain;
}

.nk-about-canvas .nk-ab-photo img {
    object-fit: cover;
}
/* end About award logos */

/* Contact form dropdowns (Project type, Role, country code): black like the typed fields once a value is
   chosen, grey while they still show the placeholder */
.fx-select:not(.is-empty),
.fx-country.is-chosen .nk-custom-select__trigger {
    color: #000000;
}
/* end Contact form dropdowns */

/* Footer: top rule hidden at the screen edge. The footer fills the screen, so at the page bottom its top rule lay on the
   first pixel row, under the browser toolbar, where it read as part of the browser (user request 2026-10-15: don't show
   it there). footer.php adds .nk-top-at-edge while the footer top is within 10px of the screen top. */
html body .contact-info.nk-top-at-edge .d-flex::before {
    visibility: hidden;
}

/* Phones draw that rule as the .d-flex background (see "Mobile lines: one style") */
@media (max-width: 767px) {
    html body .contact-info.nk-top-at-edge .d-flex {
        background: none !important;
    }
}
/* end Footer: top rule hidden at the screen edge */

/* Project card descriptions: line breaks typed in the dashboard hold on desktop; phones fit the text to the
   narrow card instead, as the service page cards (.nk-service-canvas .fx-t br) and page titles do */
@media (max-width: 767px) {
    .nk-work-meta br,
    .nk-home .nk-card-meta br {
        display: none;
    }
}
/* end Project card descriptions */

/* Card descriptions: no hover underline. Bootstrap's a:hover (0,1,1) beats .nk-work-card's text-decoration: none, so
   on phones, where the description is in flow, hovering or tapping a Work card underlined it. The name keeps its own bar. */
.nk-work-card:hover {
    text-decoration: none;
}
/* end Card descriptions: no hover underline */

/* Card descriptions: full card width (by request) instead of Figma's 448px text box (265px on some phone cards).
   Each keeps its 1px left offset and ends at the picture's right edge. Service-page captions are sized in
   inc/figma-services.php. */
.nk-work-grid .nk-work-card .nk-work-meta,
.nk-blog-grid .nk-blog-card .nk-blog-cap {
    right: 0;
    width: auto;
}

.nk-blog-grid .nk-blog-card .nk-blog-desc {
    width: auto !important;
}

.nk-home .nk-cards .nk-card-meta {
    width: auto;
    max-width: none;
}
/* end Card descriptions: full card width */

/* Blog post content headings and title width (by request; Figma 18:2123 has no subheadings).
   style.css colours every <article> white and only h3 is left out of the global black rule, so post subheadings
   were invisible. They take the title's size and weight: style.css's 75px doesn't scale and overflows phones,
   and the <b> editors paste inside them would fake a bold (Lens Grotesk is Regular only). */
.nk-post .nk-post-body {
    color: #000;
}

.nk-post .nk-post-content h3,
.nk-post .nk-post-content h3 :is(b, strong) {
    font-weight: 400;
}

.nk-post .nk-post-content h3 {
    margin: calc(80 * var(--u)) 0 calc(40 * var(--u));
    font-size: calc(50 * var(--u));
    line-height: calc(55 * var(--u));
}

/* The title runs as wide as the paragraphs instead of Figma's 641px box (desktop uses the box again: end of file) */
.nk-post .nk-post-title {
    max-width: none;
}

@media (max-width: 767px) {
    .nk-post .nk-post-content h3 {
        margin: 40px 0 20px;
        font-size: 16px;
        line-height: 20px;
    }

    .nk-post .nk-post-title {
        width: 341px;
    }
}
/* end Blog post content headings and title width */

/* Justified text (the editor's Justify button sets text-align: justify inline). custom.js puts each rendered line
   in its own block and a block's last line is never justified, so every line but the paragraph's last is spread. */
[style*="justify"] > .nk-line:not(:last-child) {
    text-align-last: justify;
}
/* end Justified text */

/* Project pages: white navbar over a green banner. The navbar's inverted colours (mix-blend-mode: difference) come out
   purple over green photos such as Aamati's trees, so there it is plain white (user request 2026-10-21).
   single-projects.php adds .nk-navbar-white when the banner strip behind the navbar is mostly green. */
html body header.nk-navbar-white {
    mix-blend-mode: normal !important;
}

html body header.nk-navbar-white .header-main ul.main-menu li a {
    color: #ffffff !important;
}

html body header.nk-navbar-white .logo svg path {
    fill: #ffffff !important;
}

html body header.nk-navbar-white .nk-hamburger svg path {
    stroke: #ffffff !important;
}
/* end Project pages: white navbar over a green banner */

/* SEO: hero titles as h1. Each page's hero title and the project heading are the page's h1 (they were a div and
   an h2), and keep their look: browsers make h1 bold, and the global "h1:not(header *)" rule would turn the
   project heading black, so the project heading repeats its .project-info-section h2 rules. */
h1.fx-t {
    font-weight: 400;
}

.project-info-section h1 {
    color: #0D0D0D !important;
    font-family: 'Lens Grotesk';
    font-size: 50px;
    font-weight: 400;
    line-height: 54px;
    margin: 0 0 100px 0;
}

.dark-page .project-info-section h1 {
    color: #fff !important;
}

@media (max-width: 767px) {
    .project-info-section h1 {
        font-size: 28px;
        line-height: 30px;
        margin: 30px 0 30px 0;
    }
}
/* end SEO: hero titles as h1 */

/* Figma 03-11-26: 16:9 project cards. Images are 928 x 522 (full width 1880 x 1058) on desktop and 340 x 191 on phones;
   names sit 15px (phones 8px) below the image. Service-page cards are sized in nk_fx_work_row() (inc/figma-services.php). */
@media (min-width: 1025px) {
    .nk-home .nk-card-img,
    .nk-home .nk-card-placeholder {
        height: calc(522 * var(--u));
    }

    .nk-home .nk-cards .nk-card.nk-card--full .nk-card-img,
    .nk-home .nk-cards .nk-card.nk-card--full .nk-card-placeholder {
        height: calc(1058 * var(--u));
    }
}

/* Tablets have no Figma frame: Home cards keep the desktop ratio */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-home .nk-card img,
    .nk-home .nk-card-placeholder {
        aspect-ratio: 928 / 522;
    }
}

/* Work: rows 722px apart (Figma 219:367: images at y 938 and 1660) */
@media (min-width: 768px) {
    .nk-work-img {
        height: 522px;
    }

    .nk-work-name {
        top: 537px;
    }

    .nk-work-meta {
        top: 568px;
    }

    .nk-work-canvas .nk-work-grid {
        row-gap: 200px;
    }
}

@media (max-width: 767px) {
    .nk-home .nk-card {
        height: 237px;
    }

    .nk-home .nk-cards .nk-card:nth-child(even) {
        height: 269px;
    }

    .nk-home .nk-card-img,
    .nk-home .nk-cards .nk-card.nk-card--full .nk-card-img,
    .nk-home .nk-cards .nk-card:nth-child(odd) .nk-card-img,
    .nk-work-img,
    .nk-work-card.is-even .nk-work-img {
        height: 191px;
    }

    .nk-home .nk-card-title {
        margin-top: 8px;
    }

    .nk-work-name,
    .nk-work-canvas .nk-work-name,
    .nk-work-card.is-even .nk-work-name {
        top: 199px;
    }

    .nk-work-canvas .nk-work-card .nk-work-meta {
        margin-top: 30px;
    }

    /* The placeholder Namo Monk photo keeps its own ratio, width-fit with 78px cut off the top (Figma Rectangle 38) */
    .nk-home .nk-cards .nk-card:nth-child(odd) .nk-card-img {
        background-position: 0 -78px;
        background-size: 100% auto;
    }

    .nk-m-namo {
        height: auto !important;
        margin-top: -78px;
    }
}
/* end Figma 03-11-26: 16:9 project cards */

/* Figma 03-11-26: Home hero 1880 x 1058 (phones 340 x 191). Desktop: the stats start on the text line (y1689), the badge
   at y1699, and the logo strip stays at y2111. Phones: stats y583, badge y588, logos y810; "Selected work" stays at y1064. */
@media (min-width: 1025px) {
    .nk-home .nk-page-visual--hero {
        height: calc(1058 * var(--u));
    }

    .nk-home .nk-intro {
        grid-template-rows: minmax(calc(144 * var(--u)), auto) auto;
    }

    .nk-home .nk-intro .nk-stats {
        margin-top: 0;
    }

    .nk-home .nk-clutch {
        margin-top: calc(10 * var(--u));
    }
}

@media (max-width: 767px) {
    .nk-home .nk-page-visual--hero {
        height: 191px;
    }

    .nk-home .nk-intro {
        height: 418px;
    }

    .nk-home .nk-intro .nk-stats {
        top: 92px;
    }

    .nk-home .nk-clutch {
        top: 97px;
    }

    .nk-home .nk-logos {
        top: 319.5px;
    }
}
/* end Figma 03-11-26: Home hero */

/* Figma 03-11-26 (219:510): blog post hero 1880 x 1058 at x20 (phones 340 x 191). The text keeps its place on desktop
   (2px more above it) and the footer comes 37px closer; on phones the text follows the shorter hero. */
@media (min-width: 768px) {
    .nk-post {
        padding-bottom: calc(314 * var(--u));
    }

    .nk-post-hero {
        margin: calc(53 * var(--u)) calc(1 * var(--u)) 0;
    }

    /* height: auto, or a featured image's height attribute overrides the ratio */
    .nk-post-hero img {
        height: auto;
        aspect-ratio: 1880 / 1058;
    }

    .nk-post-body {
        margin-top: calc(95 * var(--u));
    }
}

@media (max-width: 767px) {
    .nk-post-hero img {
        height: 191px;
    }

    .nk-post-body {
        margin-top: 21px;
    }
}
/* end Figma 03-11-26: blog post hero */

/* Figma 03-11-26 (219:1960): on phones the Contact footer starts 71px higher, 109px below the careers list (y1883) */
@media (max-width: 767px) {
    .nk-contact-canvas .fx-canvas,
    .nk-contact-canvas .fx-form {
        height: 1883px;
    }
}
/* end Figma 03-11-26: Contact footer */

/* Figma 03-11-26 (219:447 / 219:2108): blog cards as the project cards, 928 x 522 images in rows 722px apart
   (phones 340 x 191, 287px and 319px apart), name and description only. Phones: four cards end at the footer, y1670. */
@media (min-width: 768px) {
    .nk-blog-grid {
        row-gap: 200px;
    }

    .nk-blog-img {
        height: 522px;
    }

    .nk-blog-cap {
        top: 537px;
    }
}

@media (max-width: 767px) {
    .nk-blog-card {
        height: 237px;
    }

    .nk-blog-grid .nk-blog-card:nth-child(even) {
        height: 269px;
    }

    .nk-blog-img,
    .nk-blog-card:nth-child(even) .nk-blog-img {
        height: 191px;
    }

    .nk-blog-cap,
    .nk-blog-card:nth-child(even) .nk-blog-cap {
        top: 199px;
    }

    .nk-blog-canvas .fx-canvas {
        min-height: 1670px;
    }
}
/* end Figma 03-11-26: blog cards */

/* Figma 03-11-26: one closing section on every page, as on Home. Image 949 x 534 (phones 340 x 191); the title is 50px on
   54px lines, 576px wide, 3px above the image top, with the grey line 134px below it; "Contact us" stays 481px below the
   image top. Phones show the title only, at 28px (Figma's 340 x 56 box), 234px below the image top. */
.fx-canvas .fx-t.fx-cta-title {
    width: 576px;
    font-size: 50px;
    line-height: 54px;
    white-space: normal;
}

.fx-canvas .fx-t.fx-cta-text {
    width: 576px;
    font-size: 26px;
    line-height: 30px;
    color: rgba(0, 0, 0, 0.5);
    white-space: normal;
}

@media (min-width: 1025px) {
    .nk-home .nk-cta-visual {
        height: calc(534 * var(--u));
    }

    /* The taller image would push the link and the footer down; Figma keeps both where they were */
    .nk-home .nk-cta-link {
        margin-bottom: calc(26 * var(--u));
    }

    .nk-home .nk-cta {
        margin-bottom: calc(120 * var(--u));
    }
}

@media (max-width: 767px) {
    /* !important: the About page sets every phone text to 14px with !important */
    .fx-wrap .fx-canvas .fx-t.fx-cta-title {
        font-size: 28px !important;
        line-height: 0.996 !important;
    }

    .fx-wrap .fx-canvas .fx-t.fx-cta-text {
        display: none;
    }

    .nk-home .nk-cta-visual {
        height: 191px;
    }
}
/* end Figma 03-11-26: closing section */

/* Figma 03-11-26 "Project 3" (219:1186; phones 219:2884): the case study page. Desktop values are the 1920 frame's times --u.
   Intro: heading, text and result on the left, the facts in a column at x1452. Gallery rows stack below with Figma's gaps:
   20px between pictures, 88px from a picture down to a Text or Points heading, 226px around everything else.
   Widths are shares of the 1880px content width, so the layout fits at any width (--u keeps a 0.7px floor for type). */
@media (min-width: 768px) {
    body.single-projects {
        --u: calc(var(--nk-vw) / 1920);
    }

    .nk-case-intro,
    .nk-case-rows,
    .nk-case-more {
        padding-left: calc(20 * var(--u));
        padding-right: calc(20 * var(--u));
    }

    /* Heading box at y1184, 104px under the 1080px banner */
    .nk-case-intro {
        display: grid;
        grid-template-columns: calc(905 / 1880 * 100%) 1fr calc(448 / 1880 * 100%);
        align-items: start;
        padding-top: calc(104 * var(--u));
        padding-bottom: 0;
    }

    .nk-case-intro-main {
        grid-column: 1;
    }

    .nk-case-facts {
        grid-column: 3;
        display: grid;
        padding-left: calc(1 * var(--u));
        grid-template-columns: calc(267 / 448 * 100%) 1fr;
        padding-top: calc(12 * var(--u));
    }

    .nk-case-fact--client {
        grid-column: 1;
    }

    .nk-case-fact--year {
        grid-column: 2;
    }

    /* Labels 130px (Industry) and 136px (Deliverables) below the one before, as in Figma */
    .nk-case-fact--industry,
    .nk-case-fact--deliverables {
        grid-column: 1 / -1;
        margin-top: calc(81 * var(--u));
    }

    .nk-case-fact--industry + .nk-case-fact--deliverables {
        margin-top: calc(87 * var(--u));
    }

    .project-info-section h1.nk-case-title {
        margin: 0;
        font-size: calc(65 * var(--u));
        line-height: calc(66 * var(--u));
    }

    .nk-case-intro .nk-case-lead {
        margin-top: calc(33 * var(--u));
    }

    .nk-case-intro .nk-case-lead p,
    .nk-case-sec .nk-case-body p {
        max-width: none;
        margin: 0;
        font-size: calc(22 * var(--u));
        line-height: calc(26 * var(--u));
        color: rgba(0, 0, 0, 0.5) !important;   /* the global p:not(header *) rule sets black with !important */
    }

    .nk-case-fact {
        font-size: calc(18 * var(--u));
        line-height: calc(22 * var(--u));
    }

    /* The full width of the left column, like the text above (the user's call, 25 Nov; Figma's box is 504px) */
    .nk-case-fact--result {
        margin-top: calc(36 * var(--u));
    }

    .nk-case-value {
        margin-top: calc(5 * var(--u));
    }

    .nk-case-fact--result .nk-case-value {
        margin-top: calc(4 * var(--u));
    }

    /* Gallery. Every row starts the same distance under the one before, so two half pictures on one line stay level;
       the text sections add the rest of their gap as margins of their own. Figma's own gaps vary (pictures 19.5 to 20.5
       apart, text sections 88.5 or 226.5 away), so these are the values that put every row of the Scry AI frame within
       2.5px of its Figma position: 19.75 between pictures, 89 above Text and Points, 225 above Testimonial and FAQ,
       226.5 under a section, 227.5 under the intro. */
    .nk-case-rows .project-photo {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        column-gap: calc(20 * var(--u));
        margin: 0;
        padding: calc(206.75 * var(--u)) 0 0;
        list-style: none;
    }

    .nk-case-row {
        width: 100%;
        margin-top: calc(19.75 * var(--u));
    }

    .nk-case-sec {
        margin-bottom: calc(206.75 * var(--u));
    }

    .nk-case-sec:last-child {
        margin-bottom: 0;
    }

    .nk-case-media + .nk-case-sec--text,
    .nk-case-media + .nk-case-sec--points {
        margin-top: calc(89 * var(--u));
    }

    .nk-case-media + .nk-case-sec--quote,
    .nk-case-media + .nk-case-sec--faq {
        margin-top: calc(225 * var(--u));
    }

    .nk-case-media.half {
        width: calc(50% - 10 * var(--u));
    }

    .nk-case-media.half.c-right {
        margin-left: calc(50% + 10 * var(--u));
    }

    .nk-case-sec {
        display: grid;
        align-items: start;
    }

    .nk-case-h {
        margin: 0 0 0 calc(-1 * var(--u));
        font-size: calc(40 * var(--u));
        line-height: 1.246;
        font-weight: 400;
    }

    /* Section headings: Figma sets the 40px text 2px lower in its box than Chrome's line box */
    .nk-case-sec > .nk-case-h {
        position: relative;
        top: calc(2 * var(--u));
    }

    /* Text: paragraphs at x1086, 760px wide, 36px apart */
    .nk-case-sec--text {
        grid-template-columns: calc(1066 / 1880 * 100%) calc(760 / 1880 * 100%);
    }

    .nk-case-sec--text > .nk-case-body {
        grid-column: 2;
        padding-top: calc(18 * var(--u));
    }

    .nk-case-sec--text .nk-case-body p + p {
        margin-top: calc(36 * var(--u));
    }

    /* Points: two columns at x730 and x1425, 474px wide; rows 139px apart */
    .nk-case-sec--points {
        grid-template-columns: calc(710 / 1880 * 100%) 1fr;
    }

    .nk-case-sec--faq {
        grid-template-columns: calc(575 / 1880 * 100%) 1fr;
    }

    .nk-case-grid {
        grid-column: 2;
        display: grid;
        grid-template-columns: repeat(2, calc(474 / 1170 * 100%));
        column-gap: calc(221 / 1170 * 100%);
        row-gap: calc(139 * var(--u));
        padding-top: calc(19 * var(--u));
    }

    .nk-case-item-title {
        margin: 0;
        font-size: calc(22 * var(--u));
        line-height: 1.246;
        font-weight: 400;
    }

    .nk-case-item-title + .nk-case-body {
        margin-top: calc(22 * var(--u));
    }

    .nk-case-sec--points .nk-case-body p + p {
        margin-top: calc(18 * var(--u));
    }

    /* FAQ: heading at x16, questions at x595 and x1306, 594px wide; answer 20px under its question */
    .nk-case-sec--faq .nk-case-h {
        margin-left: calc(-4 * var(--u));
    }

    .nk-case-sec--faq .nk-case-grid {
        grid-template-columns: repeat(2, calc(594 / 1305 * 100%));
        column-gap: calc(117 / 1305 * 100%);
        row-gap: calc(140 * var(--u));
        padding-top: calc(18 * var(--u));
    }

    .nk-case-sec--faq .nk-case-item-title + .nk-case-body {
        margin-top: calc(20 * var(--u));
    }

    .nk-case-sec--faq .nk-case-body p + p {
        margin-top: calc(12 * var(--u));
    }

    /* Numbered lines: 17px under the line before them, 9px between each other */
    .nk-case-sec--faq .nk-case-body p + .nk-case-li {
        margin-top: calc(17 * var(--u));
    }

    .nk-case-sec--faq .nk-case-body .nk-case-li + .nk-case-li {
        margin-top: calc(9 * var(--u));
    }

    /* Testimonial: the quote at x1088, 758px wide; the name and role right-aligned 33px under it */
    .nk-case-sec--quote {
        grid-template-columns: calc(1068 / 1880 * 100%) calc(758 / 1880 * 100%);
    }

    .nk-case-quote {
        grid-column: 2;
        margin: 0;
        padding-top: calc(18 * var(--u));
    }

    .nk-case-quote blockquote {
        margin: 0;
    }

    .nk-case-sec .nk-case-quote blockquote p {
        line-height: calc(27 * var(--u));
    }

    .nk-case-quote figcaption {
        margin-top: calc(33 * var(--u));
        padding-right: calc(6 * var(--u));
        font-size: calc(22 * var(--u));
        line-height: 1.246;
        text-align: right;
        color: rgba(0, 0, 0, 0.5);
    }

    /* Browse more, set like "Selected work" on the service pages: a 30px heading, the rule 77px below it, the 928 x 522
       cards 132px below it; the footer starts 372px under the card text */
    .nk-case-more {
        margin-top: calc(226 * var(--u));
        padding-bottom: calc(372 * var(--u));
    }

    .nk-case-more .nk-case-h {
        margin-left: 0;
        padding-bottom: calc(32 * var(--u));
        font-size: calc(30 * var(--u));
        line-height: calc(45 * var(--u));
    }

    .nk-case-cards {
        display: grid;
        grid-template-columns: calc(928 / 1878 * 100%) calc(930 / 1878 * 100%);
        column-gap: calc(20 / 1878 * 100%);
        row-gap: calc(110 * var(--u));
        margin-top: calc(55 * var(--u));
        padding-left: calc(2 * var(--u));
    }

    .nk-case-card-img {
        height: calc(522 * var(--u));
    }

    .nk-case-card-name {
        margin-top: calc(15 * var(--u));
        font-size: calc(18 * var(--u));
        line-height: 1.246;
    }

    .nk-case-card-meta {
        max-width: calc(448 / 928 * 100%);
        margin-top: calc(9 * var(--u));
        font-size: calc(18 * var(--u));
        line-height: calc(22 * var(--u));
    }
}

/* Shared by both layouts */
/* Banner: Figma's 1920 x 1080 (phones 360 x 202); only pictures close to 16:9 get the class (single-projects.php) */
.work-top-section > img.is-169 {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* The heading is pure black in Figma (the older project rule sets #0D0D0D with !important) */
.project-info-section h1.nk-case-title {
    color: #000000 !important;
}

.dark-page .project-info-section h1.nk-case-title {
    color: #ffffff !important;
}

/* Figma's 0.8px #a6a6a6 rule, drawn as one crisp #b8b8b8 row (as on Home) */
.nk-case-more .nk-case-h {
    border-bottom: 0.5px solid #b8b8b8;
}

.dark-page .nk-case-more .nk-case-h {
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.nk-case-label,
.nk-case-value {
    display: block;
}

.nk-case-label,
.nk-case-h,
.nk-case-item-title,
.nk-case-quote-name,
.nk-case-card-name {
    color: #000000;
}

.nk-case-value {
    color: rgba(0, 0, 0, 0.5);
}

/* Card descriptions are Figma's #a6a6a6, drawn #afafaf on desktop as on the Work cards (see "Grey text weight");
   phones use 50% black, as on the other pages */
.nk-case-card-meta {
    color: #a6a6a6;
}

@media (min-width: 1025px) {
    .nk-case-card-meta {
        color: #afafaf;
    }
}

@media (max-width: 767px) {
    .nk-case-card-meta {
        color: rgba(0, 0, 0, 0.5);
    }
}

.nk-case-media .project-img img.subproimg {
    display: block;
    width: 100%;
    height: auto;
}

/* Close-to-16:9 pictures, and landscape Vimeo videos (57.35% for the old 1880 x 1078 rows), are 16:9 as in Figma
   (1880 x 1057.5, which its layer list rounds to 1058) */
.nk-case-media .iframe-wrapper.landscape {
    padding-top: 56.25%;
}

.nk-case-media.is-169 .project-img img.subproimg {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.nk-case-card {
    display: block;
    text-decoration: none !important;
}

.nk-case-card-img {
    position: relative;
    display: block;
    overflow: hidden;
    background: #d9d9d9;
}

.nk-case-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nk-case-card-name,
.nk-case-card-meta {
    display: block;
}

/* Name underline as on the Work and Blog cards: a thin strip in the text colour that grows from the left while the
   card is hovered (phones: while it is pressed, in the phone block below) */
.nk-case-card-name {
    position: relative;
    width: fit-content;
}

@media (min-width: 768px) {
    .nk-case-card-name::after {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        top: calc(22 * var(--u));
        height: 2px;
        background: linear-gradient(currentColor, currentColor) left top / 100% var(--nk-ul) no-repeat;
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform var(--nk-ul-ease);
        pointer-events: none;
    }

    .nk-case-card:hover .nk-case-card-name::after {
        transform: scaleX(1);
    }
}

/* Dark project pages: the same layout in white (!important: the global heading rule sets black with !important) */
.dark-page .nk-case-label,
.dark-page .nk-case-h,
.dark-page .nk-case-item-title,
.dark-page .nk-case-quote-name,
.dark-page .nk-case-card-name {
    color: #ffffff !important;
}

.dark-page .nk-case-value,
.dark-page .nk-case-card-meta,
.dark-page .nk-case-quote figcaption,
.dark-page .nk-case-intro .nk-case-lead p,
.dark-page .nk-case-sec .nk-case-body p {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Phones (Figma 219:2884): one column, 340px wide pictures 10px apart; the facts sit under the intro text
   (deliverables, then client, year and industry side by side, then the result) */
@media (max-width: 767px) {
    .nk-case-intro,
    .nk-case-rows,
    .nk-case-more {
        padding-left: 10px;
        padding-right: 10px;
    }

    .nk-case-intro {
        display: grid;
        grid-template-columns: minmax(0, 133fr) minmax(0, 134fr) minmax(0, 73fr);
        grid-template-areas:
            "title title title"
            "lead lead lead"
            "deliverables deliverables deliverables"
            "client year industry"
            "result result result";
        align-items: start;
        padding-top: 43px;
        padding-bottom: 0;
    }

    .nk-case-intro-main,
    .nk-case-facts {
        display: contents;
    }

    .project-info-section h1.nk-case-title {
        grid-area: title;
        margin: 0;
        font-size: 28px;
        line-height: 28px;
    }

    .nk-case-intro .nk-case-lead {
        grid-area: lead;
        margin-top: 19px;
    }

    .nk-case-intro .nk-case-lead p,
    .nk-case-sec .nk-case-body p {
        margin: 0;
        font-size: 14px;
        line-height: 16px;
        color: rgba(0, 0, 0, 0.5) !important;
    }

    .nk-case-fact--deliverables {
        grid-area: deliverables;
        margin-top: 12px;
    }

    .nk-case-fact--client {
        grid-area: client;
        margin-top: 52px;
    }

    .nk-case-fact--year {
        grid-area: year;
        margin-top: 52px;
    }

    .nk-case-fact--industry {
        grid-area: industry;
        margin-top: 52px;
    }

    .nk-case-fact--result {
        grid-area: result;
        margin-top: 54px;
    }

    .nk-case-label {
        font-size: 14px;
        line-height: 21px;
    }

    .nk-case-value {
        margin-top: 0;
        font-size: 12px;
        line-height: 16px;
    }

    .nk-case-fact--result .nk-case-value {
        margin-top: 1px;
        font-size: 12px;
        line-height: 14px;
    }

    /* Client, year and industry share one row (columns at x10, x143 and x277); Figma sets each value on one line */
    .nk-case-fact--client .nk-case-value,
    .nk-case-fact--year .nk-case-value,
    .nk-case-fact--industry .nk-case-value {
        white-space: nowrap;
    }

    /* Gallery: rows 10px apart; text sections add the rest of their 50px, and sit 25px under a picture */
    .nk-case-rows .project-photo {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        margin: 0;
        padding: 41px 0 0;
        list-style: none;
    }

    .nk-case-row {
        width: 100%;
        margin-top: 10px;
    }

    .nk-case-sec {
        margin-bottom: 40px;
    }

    .nk-case-sec:last-child {
        margin-bottom: 0;
    }

    .nk-case-media + .nk-case-sec {
        margin-top: 25px;
    }

    .nk-case-media.half.c-right {
        margin-left: 0;
    }

    .nk-case-h {
        margin: 0;
        font-size: 16px;
        line-height: 20px;
        font-weight: 400;
    }

    /* Text: paragraphs at x134, 216px wide */
    .nk-case-sec--text {
        display: grid;
        grid-template-columns: 124px 1fr;
        align-items: start;
    }

    .nk-case-sec--text > .nk-case-body {
        grid-column: 2;
        padding-top: 3px;
    }

    .nk-case-sec .nk-case-body p + p {
        margin-top: 12px;
    }

    .nk-case-grid {
        padding-top: 34px;
    }

    .nk-case-sec--faq .nk-case-grid {
        padding-top: 37px;
    }

    .nk-case-sec--faq .nk-case-body .nk-case-li + .nk-case-li {
        margin-top: 6px;
    }

    /* Figma's question boxes run a few pixels past the 340px column, so question 4 keeps "among" on its first line */
    .nk-case-sec--faq .nk-case-item-title {
        margin-right: -5px;
    }

    .nk-case-item + .nk-case-item {
        margin-top: 58px;
    }

    .nk-case-item-title {
        margin: 0;
        font-size: 14px;
        line-height: 17px;
        font-weight: 400;
    }

    .nk-case-item-title + .nk-case-body {
        margin-top: 11px;
    }

    .nk-case-quote {
        margin: 33px 0 0;
    }

    .nk-case-quote blockquote {
        margin: 0;
    }

    .nk-case-quote figcaption {
        max-width: 270px;
        margin-top: 22px;
        font-size: 14px;
        line-height: 16px;
        color: rgba(0, 0, 0, 0.5);
    }

    /* Browse more: cards as on the Work page, 287px and 319px apart */
    .nk-case-more {
        margin-top: 47px;
        padding-bottom: 59px;
    }

    .nk-case-more .nk-case-h {
        padding-bottom: 15px;
    }

    .nk-case-cards {
        margin-top: 24px;
    }

    .nk-case-card {
        height: 237px;
        margin-bottom: 50px;
    }

    .nk-case-card:nth-child(even) {
        height: 269px;
    }

    .nk-case-card-img {
        height: 191px;
    }

    /* The name's underline draws in while the card is pressed, as on the Work cards ("Link underlines: hidden until
       the link is pressed"): a strip in the text colour (--nk-ul thick), 16px under the name's top */
    .nk-case-card-name {
        margin-top: 8px;
        font-size: 14px;
        line-height: 1.246;
    }

    .nk-case-card-name::before {
        content: '';
        position: absolute;
        left: 0;
        top: 16px;
        width: 100%;
        height: 1px;
        background: linear-gradient(currentColor, currentColor) left top / 100% var(--nk-ul) no-repeat;
        scale: 0 1;
        transform-origin: left center;
        transition: scale 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
        pointer-events: none;
    }

    .nk-case-card:is(:active, :focus-visible, .nk-pressed) .nk-case-card-name::before {
        scale: 1 1;
    }

    .nk-case-card-meta {
        margin-top: 3.56px;
        font-size: 14px;
        line-height: 16px;
    }
}
/* end Figma 03-11-26: case study page */

/* Text rendering: greyscale like Figma. With Windows ClearType, Chrome draws text that sits straight on the page with
   coloured sub-pixel edges, which looks heavier and differently shaped than in Figma, while text on a GPU layer (the
   scaled .fx-canvas pages) is greyscale. Putting the header and each top-level page block on its own layer makes every
   page greyscale. They hold no fixed-position elements (the mobile menu and cursor are direct children of body), so
   nothing moves; the text stays as sharp at 125% (checked 2026-11-05). */
header#site-logo,
body > main,
body > section {
    will-change: transform;
}
/* end Text rendering */

/* Figma 03-11-26 check of every desktop page (2026-11-05: 1:1 frame renders against Chrome at 1536px and 125%) */
@media (min-width: 768px) {
    /* Work and Blog heroes: 80px lines, 1px lower, as on About and the service pages */
    .nk-work-canvas .fx-t.fx-hero,
    .nk-blog-canvas .fx-t.fx-hero {
        line-height: 80px;
        margin-top: 1px;
    }

    /* Service pages: the 03-11-26 frames set the heading under the hero 1.6px higher than the old frames did,
       so it no longer takes the old 1px nudge */
    .nk-service-canvas .fx-display {
        margin-top: 0;
    }

    /* Blog post: the Back link is a flex item, so the post's 27px text line no longer makes its row 7px taller.
       The rule lands at y313 and the hero 55px below it (y369), as in 219:510. */
    .nk-post-back {
        display: flex;
    }

    .nk-post-hero {
        margin-top: calc(55 * var(--u));
    }
}

@media (min-width: 1025px) {
    /* Footer: Privacy Policy on the Reach out line, 22px under the rule, as in every 03-11-26 frame (no offset: the link
       is a block, see "Footer: Privacy Policy as a block" at the end) */
    .contact-info .rightside {
        margin-top: 0;
    }

    /* Footer: Reach out at x20 and Online at x533, as in Figma (no inner padding, the first column 1px wider) */
    .contact-info .d-flex {
        padding-left: 0 !important;
    }

    .contact-info .first-part {
        width: calc(513 * var(--u));
    }

    /* Home closing section: Contact us 486px below the image top */
    .nk-home .nk-cta-link {
        margin-bottom: calc(23 * var(--u));
    }
}
/* end Figma 03-11-26 check of every desktop page */

/* Phones: header, footer, blog posts and project pages scale with the screen (2026-11-05). Home and the .fx-canvas pages are
   laid out at Figma's 360px width and scaled to the screen; these kept their 360px sizes, so on a 393px or 430px phone the
   logo, menu icon, footer text and post/project text came out smaller than in Figma and wrapped differently. zoom scales the
   layout box too, so no height has to be added back (unlike transform). --nk-ps (screen / 360) is set in header.php. The footer
   box itself is not zoomed, so it stays one screen tall; only its side and bottom gaps scale. */
@media screen and (max-width: 767px) {
    header#site-logo .header-main,
    .contact-info .d-flex,
    main.nk-post,
    body.single-projects .work-top-section,
    body.single-projects .nk-case-intro,
    body.single-projects .nk-case-rows,
    body.single-projects .nk-case-more {
        zoom: var(--nk-ps, 1);
    }

    .contact-info {
        padding: 0 calc(10px * var(--nk-ps, 1)) calc(10px * var(--nk-ps, 1)) !important;
    }
}
/* end Phones: header, footer, blog posts and project pages scale with the screen */

/* Project page on phones, against the 1x export of Figma 219:2884 (2026-11-05) */
.nk-case-line {
    display: block;
}

@media (max-width: 767px) {
    /* Result: each line is its own paragraph, 10px apart */
    .nk-case-line + .nk-case-line {
        margin-top: 10px;
    }

    /* Our Approach: Figma sets the point titles in boxes up to 216px wide, so the longer ones take two lines */
    .nk-case-sec--points .nk-case-item-title {
        max-width: 216px;
    }
}

/* Card name underline: no draw-in animation with reduced motion, as on the other cards */
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .nk-case-card-name::before {
        transition: none;
    }
}
/* end Project page on phones */

/* Figma 03-11-26 compare against the page PDFs (2026-11-16) */
/* Home: half-width card rows 722px apart, as in Figma 219:2 and on Work. Figma's 448px description box wraps to two
   lines; the full-width descriptions (by request) often fit on one, which pulled every row below 22px up. */
@media (min-width: 1025px) {
    .nk-home .nk-cards .nk-card:not(.nk-card--full) .nk-card-meta.nk-dc {
        min-height: calc(44 * var(--u));
    }

    /* Testimonial 966px below the last card row's image top (2px lower), the closing section where it was */
    .nk-home .nk-cards {
        margin-bottom: calc(339 * var(--u));
    }

    .nk-home .nk-testimonial-sec {
        margin-bottom: calc(464 * var(--u));
    }
}

/* Footer: Privacy Policy as a block, so it starts at the top of its column like Reach out at every width. Inline, it
   sat in its column's fixed 27px line, which no single margin offsets as the footer text scales (-6px left it 3px
   high at 1920, -3px 4px low at 1536). */
@media (min-width: 768px) {
    .contact-info .policy-desktop a.policy-link {
        display: block;
    }
}

/* Footer labels are Regular at every width (Bootstrap's h2 is 500 below the desktop rule in "Figma match (Home)") */
#footer_sec .contact-info h2.o-title_line,
.contact-info h2.o-title_line {
    font-weight: 400;
}

/* Blog post: the rule under Back is Figma's 0.8px #a6a6a6, drawn as one crisp #b8b8b8 row as on Home (phones use the
   0.5px strip of "Mobile lines: one style") */
@media (min-width: 768px) {
    .nk-post .nk-post-back {
        border-bottom-color: #b8b8b8;
    }
}

/* Project page "Browse more" rule on phones: the phone line grey. It stays a 0.5px border (one device pixel): the 0.5px
   strip of "Mobile lines: one style" vanishes here, as the heading sits on a fractional y. Dark pages keep their colour. */
@media (max-width: 767px) {
    .nk-case-more .nk-case-h {
        border-bottom-color: var(--nk-line);
    }
}

/* Services hub FAQ + / x icons: #3a3a3a in the 03-11-26 frame (219:1314) */
@media (min-width: 1025px) {
    .nk-services-canvas .fx-faq-icon::before,
    .nk-services-canvas .fx-faq-icon::after {
        background: #3a3a3a;
    }
}
/* end Figma 03-11-26 compare against the page PDFs */

/* =============================================
   Responsive tiers (2026-11-16, the old live site's breakpoints 1024 / 767)
   - Phones, up to 767px: the 360px Figma layouts scaled to the screen width (360px: 28px titles, 14px text), up to
     430px wide; wider screens show them centred at 430px.
   - Tablets, 768-1024px: stacked flowing layouts ("Tablet: ..." blocks). The canvas pages group
     their elements in .nk-tg wrappers, which are display: contents at every other width. Since 2026-11-17 their
     text uses the 1920 Figma px sizes (the tablet blocks no longer set type; see "Desktop fixed type" at the end).
   - Desktop, 1025px and up: the 1920px Figma layouts scaled to the window at every width, as before (the header
     bar keeps one fixed size). --nk-vw is the window width the desktop sizes scale with (100vw).
   ============================================= */
:root { --nk-vw: 100vw; }

.nk-tg { display: contents; }

@media (min-width: 431px) and (max-width: 767px) {
    body {
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    /* the menu (a 360px panel scaled to 430px) opens over the centred page */
    .nk-mobile-menu { left: calc(50% - 215px); }
}

/* ---------- Header (768px and up): one fixed size at every width ---------- */
/* The 1920px Figma header in px (logo x19 y50, links at x1405 / 1502 / 1641 / 1745 / 1836, the Services dropdown
   229 x 288), so the bar never grows or shrinks with the window. The links keep their Figma gaps from the right edge;
   the colours and hover rules are unchanged. */
@media (min-width: 768px) {
    header.dl-sections {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 2;
    }

    .header-main {
        --hs: 1px;
        position: relative !important;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        height: 80px;
        padding: 0 17.84px 0 19px !important;
    }

    .header-main .logo {
        position: static;
        width: 130px;
        margin-top: 50px;
    }

    .header-main .logo svg {
        width: 130px;
        height: auto;
    }

    .header-main ul.main-menu {
        display: flex !important;
        position: static;
        margin: 48px 0 0;
        padding: 0;
    }

    .header-main ul.main-menu > li {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin: 0 !important;
        font-size: 18px;
    }

    .header-main ul.main-menu > li:nth-child(2) { margin-left: 52.8px !important; }
    .header-main ul.main-menu > li:nth-child(3) { margin-left: 51.52px !important; }
    .header-main ul.main-menu > li:nth-child(4) { margin-left: 52.97px !important; }
    .header-main ul.main-menu > li:nth-child(n + 5) { margin-left: 52.78px !important; }

    .header-main ul.main-menu li a {
        font-size: 18px !important;
        line-height: normal !important;
    }

    .header-main ul.main-menu li.has-dropdown > a { gap: 6px; }

    .header-main ul.main-menu .nk-chevron {
        position: relative;
        top: 2px;
        width: 12.7071px;
        height: 6.8536px;
    }

    .header-main ul.main-menu .sub-menu {
        top: calc(100% + 15px);
        left: -23px;
        box-sizing: border-box;
        width: 229px;
        height: 288px;
        min-width: 0;
        padding: 23px 22px 28px;
    }

    .header-main ul.main-menu .sub-menu li {
        margin: 0 0 15px !important;
        font-size: 16px;
        line-height: 22px;
    }

    .header-main ul.main-menu .sub-menu li:last-child { margin-bottom: 0 !important; }

    .header-main ul.main-menu .sub-menu li a {
        font-size: 16px !important;
        line-height: 22px !important;
    }

    /* Colours: black on white with a light dropdown at every width, as on desktop and phones (tablets used the
       white difference blend). Project pages keep their own navbar colours. */
    body:not(.single-projects) header:not(.fixed) { mix-blend-mode: normal !important; }

    body:not(.single-projects) header:not(.fixed) .header-main ul.main-menu li a { color: #000000 !important; }

    body:not(.single-projects) header:not(.fixed) .logo svg path { fill: #000000 !important; }

    body:not(.single-projects) header:not(.fixed) .nk-chevron,
    body:not(.single-projects) header:not(.fixed) .nk-chevron path { stroke: #000000; }

    body:not(.single-projects) header:not(.fixed) .header-main ul.main-menu .sub-menu::before { background: #f6f6f6; }

    body:not(.single-projects) header:not(.fixed) .header-main ul.main-menu .sub-menu li a { color: rgba(0, 0, 0, 0.5) !important; }
}

/* ---------- Tablet: canvas pages (shared, 768-1024px) ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Canvas pages: the Figma canvas becomes a normal column of blocks */
    .fx-wrap {
        height: auto !important;
        overflow: visible;
        box-sizing: border-box;
    }

    .fx-wrap > .fx-canvas {
        position: static;
        width: auto;
        height: auto !important;
        top: 0 !important;
        transform: none !important;
    }

    .fx-wrap .fx-canvas .fx-t,
    .fx-wrap .fx-canvas .fx-line,
    .fx-wrap .fx-canvas .fx-arrow,
    .fx-wrap .fx-canvas .fx-grey-block,
    .fx-wrap .fx-canvas [style*="left:"] {
        position: relative !important;
        left: auto !important;
        top: auto !important;
    }

    .fx-wrap .fx-canvas .fx-t { display: block; }

    /* phone-only copies stay hidden (the .fx-t rule above would show them) */
    .fx-wrap .fx-canvas .nk-m-only { display: none !important; }

    /* Divider rules: full width. flow-root keeps the rule's own top and bottom margins apart (a box with no
       height would let them collapse into one) */
    .fx-wrap .fx-canvas .fx-line {
        display: flow-root;
        width: 100% !important;
        height: 0;
    }

    .fx-wrap .fx-canvas .fx-line-in {
        top: -0.5px !important;
        bottom: -0.5px !important;
    }

    .fx-wrap .fx-canvas .fx-line-in img {
        height: 1px;
        object-fit: fill;
    }

    .nk-tg { display: block; }
}

/* ---------- Tablet: shared type and canvas flow (768-1024px) ---------- */
/* 2026-11-17: font sizes, line heights and letter spacing removed here; tablet text uses the 1920 Figma sizes. */
@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        --tb-pad: 20px;            /* page side gutter, as the live site's tablet header */
        --tb-top: 150px;           /* first content line below the header */
        --tb-gap: 60px;            /* between sections */
        --tb-body: 18px;           /* Privacy Policy text only: page text uses the 1920 Figma sizes (2026-11-17) */
        --tb-grey: rgba(0, 0, 0, 0.5);
    }

    .fx-wrap { padding: var(--tb-top) var(--tb-pad) 0; }

    .fx-wrap .fx-canvas .fx-t {
        width: auto !important;
        max-width: 760px;
        white-space: normal !important;
    }

    .fx-wrap .fx-canvas .fx-t br { display: none; }

    .fx-wrap .fx-canvas .fx-hero,
    .fx-wrap .fx-canvas h1.fx-t {
        max-width: 900px;
    }

    .fx-wrap .fx-canvas .fx-sub {
        height: auto !important;
    }

    .fx-wrap .fx-canvas .fx-line { margin: var(--tb-gap) 0 30px; }
}

/* ---------- Tablet: canvas sections, card grids and the closing section (shared) ---------- */
/* 2026-11-17: font sizes, line heights and letter spacing removed here; tablet text uses the 1920 Figma sizes. */
@media (min-width: 768px) and (max-width: 1024px) {
    /* a section heading follows its divider */
    .fx-wrap .nk-tg-sec > .fx-line + .fx-t {
        margin-bottom: 30px;
    }

    .fx-wrap .nk-tg-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 50px;
        margin-top: 40px;
    }

    .fx-wrap .nk-tg-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .fx-wrap .nk-tg-card .fx-t {
        max-width: none;
    }

    /* Closing section: picture left, title, text and link right */
    .fx-wrap .nk-tg-cta {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto auto 1fr;
        column-gap: 20px;
        align-items: start;
    }

    .fx-wrap .nk-tg-cta > .fx-grey-block {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 949 / 534;
    }

    .fx-wrap .nk-tg-cta > .fx-cta-title {
        grid-column: 2;
    }

    .fx-wrap .nk-tg-cta > .fx-cta-text {
        grid-column: 2;
        margin-top: 16px;
        color: var(--tb-grey);
    }

    .fx-wrap .nk-tg-cta > .nk-tg-link {
        grid-column: 2;
        align-self: end;
    }

    .fx-wrap .nk-tg-link {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 12px;                 /* the 1920 gap, now the link text is its 1920 size (2026-11-17) */
        justify-self: start;
        padding-bottom: 8px;
        margin-top: 40px;
    }

    .fx-wrap .nk-tg-link > .fx-line {
        position: absolute !important;
        left: 0 !important;
        right: 0;
        bottom: 0;
        top: auto !important;
        width: auto !important;
        margin: 0;
    }

    .fx-wrap .nk-tg-link > .fx-arrow {
        width: 12px !important;    /* the 1920 arrow size */
        height: 12px !important;
    }

    /* the hover strip runs along the link's underline, as on desktop (not a second line under it) */
    .fx-wrap .nk-tg-link > .fx-t:has(+ .fx-line)::after {
        top: auto;
        right: 0;
        bottom: -8px;
    }
}

/* ---------- Tablet: About ---------- */
/* 2026-11-17: font sizes, line heights and letter spacing removed here; tablet text uses the 1920 Figma sizes. */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-about-canvas .nk-tg-intro .fx-sub { margin-top: 30px; }

    /* Established / WHY / WHAT / HOW: label column and text column */
    .nk-about-canvas .nk-tg-who {
        display: grid;
        grid-template-columns: 200px minmax(0, 1fr);
        column-gap: 40px;
        row-gap: 30px;
    }

    .nk-about-canvas .nk-tg-who > .fx-t { grid-column: 1 / -1; }
    .nk-about-canvas .nk-tg-row { display: contents; }

    .nk-about-canvas .nk-tg-awards > .fx-t + .fx-t { max-width: 570px; }

    /* Awards and workshops: badge or logo over a centred caption */
    .nk-about-canvas .nk-tg-awards .nk-tg-card,
    .nk-about-canvas .nk-tg-workshops .nk-tg-card {
        align-items: center;
        justify-content: flex-end;
        text-align: center;
    }

    .nk-about-canvas .nk-tg-awards .nk-tg-card > div:first-child,
    .nk-about-canvas .nk-tg-workshops .nk-ab-logo {
        flex: none;
        max-width: 100%;
        margin-bottom: 20px;
    }

    /* badges and logos fit their box (the cropped Kyoorius picture keeps its own placement) */
    .nk-about-canvas .nk-tg-awards .fx-arrow-in img,
    .nk-about-canvas .nk-tg-workshops .nk-ab-logo img { object-fit: contain; }

    .nk-about-canvas .nk-tg-workshops .nk-tg-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

    .nk-about-canvas .nk-ab-cap + .nk-ab-cap { margin-top: 2px; }

    /* Team: four columns of photo, name and role */
    .nk-about-canvas .nk-ab-photo {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 150.638 / 172.26;
        margin-bottom: 12px;
        overflow: hidden;
    }

    /* the photo fills the box instead of setting its height */
    .nk-about-canvas .nk-ab-photo img {
        position: absolute;
        inset: 0;
    }

    .nk-about-canvas .nk-tg-tagline { margin-top: var(--tb-gap); }
}

/* Phone Home cards: as tall as their text, so every card's last line sits 53px above the next picture, as in Figma
   219:1683 (rows 287px apart for a one-line description, 319px for three). The fixed 237 / 269px heights followed
   Figma's placeholder text and left 37px and 69px gaps by turns under the real two-line descriptions. */
@media (max-width: 767px) {
    .nk-home .nk-card,
    .nk-home .nk-cards .nk-card:nth-child(even) {
        height: auto;
    }
}
/* end Phone Home cards */

/* ---------- Tablet: project pages, blog posts and the Privacy Policy ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Project pages and posts keep their desktop layout (widths are shares of the content width) at one fixed
       scale, so their type stays the same size across tablet widths: 22px body text becomes 17.6px, labels 14.4px */
    body.single-projects,
    .nk-post { --u: 0.8px; }

    /* Project intro: a wider text column beside the facts */
    .nk-case-intro { grid-template-columns: 58% 1fr 34%; }

    /* Project sections: the heading above its text, points and questions two per row across the full width */
    .nk-case-sec--text,
    .nk-case-sec--points,
    .nk-case-sec--faq,
    .nk-case-sec--quote { grid-template-columns: minmax(0, 1fr); }

    .nk-case-sec > .nk-case-body,
    .nk-case-sec > .nk-case-grid,
    .nk-case-sec > .nk-case-quote {
        grid-column: 1;
        max-width: 760px;
        margin-top: 24px;
        padding-top: 0;
    }

    .nk-case-sec > .nk-case-grid,
    .nk-case-sec--faq .nk-case-grid {
        max-width: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 48px;
    }

    /* Privacy Policy: the title above the intro, and every text at the tablet body size */
    .privacy-page { margin-top: var(--tb-top); }

    .privacy-page .inner-area .leftside,
    .privacy-page .inner-area .rightside {
        width: 100%;
        max-width: 760px;
        padding-right: 0;
    }

    .privacy-page .inner-area .rightside p,
    .privacy-page .inner-area .full-info-area p,
    .privacy-page .inner-area .point-area h3,
    .privacy-page .inner-area .point-area ul li,
    .privacy-page .inner-area .last-section h3,
    .privacy-page .inner-area .last-section p { font-size: var(--tb-body); }

    .privacy-page .inner-area .point-area ul li { width: 100%; }
    .privacy-page .inner-area .point-area ul li:before { top: 7px; }
}

/* ---------- Tablet: Services hub ---------- */
/* 2026-11-17: font sizes, line heights and letter spacing removed here; tablet text uses the 1920 Figma sizes. */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-services-canvas .nk-tg-intro .fx-sub { margin-top: 30px; }

    /* Service list: number left, name over description, arrow right. The rules between rows are plain separators
       (the first rule sits above the "Our services" heading, like every other section) */
    .nk-services-canvas .nk-tg-services > .fx-line + .fx-t { margin-bottom: 2px; }

    .nk-services-canvas .nk-tg-services > .fx-line:not(:first-child) { margin: 0; }

    .nk-services-canvas .fx-row-link {
        display: grid;
        grid-template-columns: 80px minmax(0, 1fr) 20px;
        grid-template-areas: "num name arrow" "num desc arrow";
        column-gap: 20px;
        row-gap: 6px;
        padding: 28px 0;
    }

    .nk-services-canvas .nk-tg-services > .fx-row-link:last-of-type { padding-bottom: 0; }

    .nk-services-canvas .fx-row-link .fx-num {
        grid-area: num;
        align-self: center;
    }

    .nk-services-canvas .fx-row-link .fx-name {
        grid-area: name;
        justify-self: start;
        align-self: end;
    }

    .nk-services-canvas .fx-row-link .fx-desc {
        grid-area: desc;
        align-self: start;
    }

    .nk-services-canvas .fx-row-link .fx-arrow {
        grid-area: arrow;
        align-self: center;
        justify-self: end;
    }

    /* Who it is for: the paragraph beside the picture, as on desktop */
    .nk-services-canvas .nk-tg-who {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        align-items: start;
    }

    .nk-services-canvas .nk-tg-who > .fx-line,
    .nk-services-canvas .nk-tg-who > .fx-line + .fx-t { grid-column: 1 / -1; }

    .nk-services-canvas .nk-tg-who > .fx-grey-block {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1052 / 592;
    }

    /* FAQ: question over answer in one column, the + / x icon at the right */
    .nk-services-canvas .nk-tg-faq .fx-faq { width: 100% !important; }

    .nk-services-canvas .fx-faq-item {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
        padding: 24px 56px 24px 0;
    }

    .nk-services-canvas .fx-faq-a > .fx-sub {
        transition: padding-top 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* the gap above the answer goes with it, so a closed row keeps none */
    .nk-services-canvas .fx-faq-a.is-open > .fx-sub { padding-top: 16px; }

    .nk-services-canvas .fx-faq-icon {
        left: auto;
        right: 0;
        top: 26px;
    }

    .nk-services-canvas .fx-faq-icon::before,
    .nk-services-canvas .fx-faq-icon::after { background: #3a3a3a; }

    .nk-services-canvas .fx-faq-icon::before {
        top: calc(50% - 0.5px);
        height: 1px;
    }

    .nk-services-canvas .fx-faq-icon::after {
        left: calc(50% - 0.5px);
        width: 1px;
    }
}

/* ---------- Tablet: Contact ---------- */
/* 2026-11-17: font sizes, line heights and letter spacing removed here; tablet text uses the 1920 Figma sizes. */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-contact-canvas .fx-sub { margin-top: 30px; }

    /* New business and Careers: label column on the left, everything else in the right column (as on desktop) */
    .nk-contact-canvas .nk-tg-biz,
    .nk-contact-canvas .nk-tg-careers {
        display: grid;
        grid-template-columns: 240px minmax(0, 1fr);
        column-gap: 40px;
        row-gap: 10px;
        align-items: start;
    }

    .nk-contact-canvas .nk-tg-biz > *,
    .nk-contact-canvas .nk-tg-careers > * { grid-column: 2; }

    .nk-contact-canvas .nk-tg-biz > .fx-section-label,
    .nk-contact-canvas .nk-tg-careers > .fx-section-label {
        grid-column: 1;
        grid-row: 1;
    }

    /* the email and phone links are as wide as their text, so the underline does not run across the page */
    .nk-contact-canvas .nk-tg-biz > .fx-link,
    .nk-contact-canvas .nk-tg-careers > .fx-link { justify-self: start; }

    /* The separate Figma underline pictures under each field are replaced by a rule on the field itself */
    .fx-wrap.nk-contact-canvas .fx-canvas .fx-line:has(img[src*="149d5"], img[src*="6e1cc"], img[src*="8d310"]) { display: none; }

    /* ---------- Form: a normal column of fields ---------- */
    .nk-contact-canvas .fx-form {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: 760px;
        height: auto;
        margin-top: 34px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px 20px;
    }

    .nk-contact-canvas .fx-form > .fx-input,
    .nk-contact-canvas .fx-form > .fx-country {
        flex: 0 0 100%;
        width: 100% !important;
        max-width: none;
    }

    /* country code and phone number share a row */
    .nk-contact-canvas .fx-form > .fx-country {
        flex: 0 0 120px;
        width: 120px !important;
    }

    .nk-contact-canvas .fx-form > input[name="contact_number"] {
        flex: 1 1 0;
        width: auto !important;
        min-width: 0;
    }

    .nk-contact-canvas .fx-input {
        height: 48px;
        padding: 0;
        border-bottom: 1px solid #7f7f7f;
        font-size: 18px;
        line-height: 22px;
    }

    .nk-contact-canvas .fx-input:focus { border-bottom-color: #000000; }

    /* the Figma caret is a separate picture; the country trigger draws its own chevron below */
    .nk-contact-canvas .fx-form > .fx-caret { display: none; }

    .nk-contact-canvas .fx-country,
    .nk-contact-canvas .fx-country .nk-custom-select { height: 48px; }

    .nk-contact-canvas .fx-country .nk-custom-select__trigger {
        position: relative;
        height: 48px;
        padding: 0 24px 0 0;
        border-bottom: 1px solid #7f7f7f;
        font-size: 18px;
        line-height: 22px;
    }

    .nk-contact-canvas .fx-country .nk-custom-select__trigger::after {
        content: '';
        position: absolute;
        right: 4px;
        top: 50%;
        width: 12px;
        height: 7px;
        margin-top: -3px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%237f7f7f'/%3E%3C/svg%3E") no-repeat center;
    }

    .nk-contact-canvas .fx-country .nk-custom-options {
        top: 100%;
        max-height: 280px;
    }

    .nk-contact-canvas .fx-country .nk-custom-option { padding: 10px 14px; }

    /* Submit: label and arrow side by side, a 48px-tall tap target */
    .nk-contact-canvas .fx-submit {
        flex: 0 0 auto;
        height: 48px;
        margin-top: 10px;
    }

    .nk-contact-canvas .fx-submit::after {
        top: auto;
        bottom: 7px;
    }

    .nk-contact-canvas .fx-form > .fx-arrow:not(.fx-caret) {
        flex: 0 0 auto;
        width: 14px !important;
        height: 14px !important;
        margin: 10px 0 0 -10px;
    }

    .nk-contact-canvas .fx-form > .submit-message {
        flex: 0 0 100%;
        max-width: none;
    }

    /* ---------- Careers ---------- */
    .fx-wrap .fx-canvas .fx-t.fx-careers-title {
        margin-top: 40px;
    }

    .nk-contact-canvas .fx-careers-title span + span { margin-top: 14px; }

    .nk-contact-canvas .nk-tg-careers > .fx-black:not(.fx-section-label):not(.fx-link) { margin-top: 50px; }

    .nk-contact-canvas .fx-list {
        margin-top: 10px;
    }

    .nk-contact-canvas .fx-list li { white-space: normal; }

    .nk-contact-canvas .fx-list li + li { margin-top: 8px; }

    .nk-contact-canvas .nk-tg-careers { margin-bottom: var(--tb-gap); }
}

/* =============================================
   Tablet: Home (768-1024px). Normal flow; text at the 1920 Figma px sizes ("Desktop fixed type" at the end, 2026-11-17);
   desktop (1025+) and phone (<=767) rules are untouched. The testimonial slider is driven by custom.js
   (2 cards per view here, 3 on desktop).
   ============================================= */
@media (min-width: 768px) and (max-width: 1024px) {
    /* Page frame: tablet gutters and top space; the logo strip bleeds past the gutters, so clip sideways */
    .nk-home.nk-page {
        padding: var(--tb-top) var(--tb-pad) 0;
        overflow-x: clip;
    }

    .nk-home .nk-page-block { margin-bottom: 80px; }

    /* Hero */
    .nk-home .nk-page-title {
        max-width: 900px;
        margin: 0 0 24px;
    }

    .nk-home .nk-page-sub {
        max-width: 760px;
        margin: 0;
        color: var(--tb-grey);
    }

    .nk-home .nk-page-visual--hero {
        height: auto;
        aspect-ratio: 16 / 9;
        margin: 40px 0 60px;
    }

    /* Intro: text, then the numbers with the Clutch badge, then the running logo strip */
    .nk-home .nk-intro {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "text text" "stats badge" "logos logos";
        align-items: start;
        column-gap: 40px;
        row-gap: 40px;
    }

    .nk-home .nk-intro p {
        grid-area: text;
        max-width: 760px;
    }

    .nk-home .nk-intro .nk-stats {
        grid-area: stats;
        gap: 60px;
        margin: 0;
    }

    .nk-home .nk-stat {
        display: flex;
        flex-direction: column-reverse;
    }

    .nk-home .nk-clutch {
        grid-area: badge;
        justify-self: end;
        gap: 12px;
        margin: 0;
    }

    .nk-home .nk-clutch-mark {
        width: 40px;
        height: 40px;
    }

    .nk-home .nk-clutch-text {
        column-gap: 12px;
    }

    .nk-home .nk-clutch-stars {
        width: 91px;
        margin: 2px 0 0 1px;
    }

    /* Logo strip: one row running edge to edge (the track lists the logos twice, so -50% loops seamlessly) */
    .nk-home .nk-logos {
        display: block;
        grid-area: logos;
        height: 60px;
        margin: 20px calc(-1 * var(--tb-pad)) 0;
        overflow: hidden;
        pointer-events: none;
    }

    .nk-home .nk-logos-track {
        display: flex;
        flex-direction: row;
        width: max-content;
        height: 100%;
        margin-left: var(--tb-pad);
        animation: nk-logos-x 45s linear infinite;
    }

    .nk-home .nk-logos .nk-logo-slot {
        display: flex;
        flex: none;
        align-items: center;
        height: 100%;
        padding-right: 80px;
    }

    /* the SVGs already carry Figma's 50% grey; widths are the 1920px Figma widths at 0.9 (Goenka's two lines at 0.65) */
    .nk-home .nk-logos .nk-logo {
        display: block;
        max-width: none;
        height: auto;
        opacity: 1;
        filter: none;
        transform: none;
    }

    .nk-home .nk-logos .nk-logo--goenka { width: 162px; }
    .nk-home .nk-logos .nk-logo--renforce { width: 217px; }
    .nk-home .nk-logos .nk-logo--evonith { width: 220px; }
    .nk-home .nk-logos .nk-logo--lidebytes { width: 197px; }
    .nk-home .nk-logos .nk-logo--aerofit { width: 122px; }
    .nk-home .nk-logos .nk-logo--fitelo { width: 80px; }

    @keyframes nk-logos-x {
        from { transform: translate3d(0, 0, 0); }
        to { transform: translate3d(-50%, 0, 0); }
    }

    /* Section titles; the Selected work head is the title with "View all" on the right */
    .nk-home .nk-section-title {
        margin: 0 0 30px;
    }

    .nk-home .nk-section-head {
        align-items: baseline;
        padding-bottom: 20px;
        margin-bottom: 30px;
        border-bottom: 1px solid #7f7f7f;
    }

    .nk-home .nk-section-head .nk-section-title { margin: 0; }

    /* "View all" and "Contact us": 14px, spaced capitals, small arrow, the hover bar sits under the text only */
    .nk-home .nk-link,
    .nk-home .nk-cta-link {
        padding-bottom: 4px;
        margin-bottom: -4px;
        background-position: 0 100%;
    }

    .nk-home .nk-link::after,
    .nk-home .nk-cta-link::after {
        width: 10px;
        height: 10px;
        margin-left: 8px;
    }

    html body .nk-home .nk-link:is(:hover, :focus-visible),
    html body .nk-home .nk-cta-link:is(:hover, :focus-visible) {
        background-size: calc(100% - 19px) var(--nk-ul) !important;
    }

    /* Selected work: 2 columns of 16:9 cards, a full card spans both */
    .nk-home .nk-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px 20px;
        margin: 0;
    }

    .nk-home .nk-cards .nk-card--full { grid-column: 1 / -1; }

    .nk-home .nk-card-img {
        aspect-ratio: 928 / 522;
        background: #d9d9d9;
    }

    .nk-home .nk-card-title {
        margin-top: 14px;
        background-position: 0 100%;
    }

    .nk-home .nk-card-meta {
        margin-top: 6px;
        color: var(--tb-grey);
    }

    /* Testimonials: title on top, then a slider of 2 cards with the arrows underneath */
    .nk-home .nk-testimonials {
        display: block;
        min-width: 0;
    }

    .nk-home .nk-testimonial-viewport { overflow: hidden; }

    .nk-home .nk-testimonial-track {
        display: flex;
        gap: 20px;
        transform: translateX(var(--nk-ts, 0px));
        transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1);
    }

    /* name first, then the quote (the markup has the quote first) */
    .nk-home .nk-testimonial {
        display: flex;
        flex: 0 0 calc((100% - 20px) / 2);
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 24px;
        min-width: 0;
    }

    .nk-home .nk-testimonial blockquote {
        margin: 0;
    }

    .nk-home .nk-testimonial figcaption {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 10px;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    }

    .nk-home .nk-testimonial-name { grid-column: 1; grid-row: 1; }

    .nk-home .nk-testimonial-role {
        grid-column: 1;
        grid-row: 2;
    }

    .nk-home .nk-testimonial-company {
        grid-column: 2;
        grid-row: 1;
        text-align: right;
    }

    .nk-home .nk-testimonial-arrows {
        display: flex;
        justify-content: flex-end;
        gap: 12px;
        margin-top: 30px;
    }

    /* padding makes the 28px arrows a comfortable touch target */
    .nk-home .nk-testimonial-arrows img {
        display: block;
        box-sizing: content-box;
        width: 28px;
        height: 19px;
        padding: 10px;
        cursor: pointer;
        transition: opacity 0.3s ease;
    }

    .nk-home .nk-testimonial-arrows img:hover { opacity: 0.5; }

    .nk-home .nk-testimonial-arrows .nk-arrow-prev { transform: scaleX(-1); }

    /* Closing section: 16:9 box on the left, title, muted text and link on the right */
    .nk-home .nk-cta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto 1fr;
        gap: 0 20px;
        margin: 0;
        padding-top: 30px;
        border-top: 1px solid #b8b8b8;
    }

    .nk-home .nk-cta-visual {
        grid-column: 1;
        grid-row: 1 / 3;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .nk-home .nk-cta-title {
        grid-column: 2;
        grid-row: 1;
        max-width: none;
    }

    .nk-home .nk-cta-muted {
        display: block;
        margin-top: 16px;
    }

    .nk-home .nk-cta-link {
        grid-column: 2;
        grid-row: 2;
        align-self: end;
        justify-self: start;
    }

    @media (prefers-reduced-motion: reduce) {
        .nk-home .nk-logos-track { animation: none; }
        .nk-home .nk-testimonial-track { transition: none; }
    }
}

/* ---------- Tablet: Work and Blog ---------- */
/* 2026-11-17: font sizes, line heights and letter spacing removed here; tablet text uses the 1920 Figma sizes. */
@media (min-width: 768px) and (max-width: 1024px) {
    /* the desktop frame heights and bottom room are gone: the page is as tall as its blocks */
    .nk-work-canvas .fx-canvas,
    .nk-blog-canvas .fx-canvas {
        min-height: 0;
        padding-bottom: 0;
    }

    .nk-work-canvas .nk-tg-intro .fx-sub,
    .nk-blog-canvas .nk-tg-intro .fx-sub { margin-top: 24px; }

    /* Work: filter tabs in one wrapping row (page-work.php clears the inline positions on tablets) */
    .nk-work-canvas .nk-work-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 0 36px;
        margin-bottom: 50px;
    }

    .nk-work-canvas .fx-work-tab {
        padding: 8px 0;
        text-align: left;
    }

    /* Projects and Blog posts: two columns, 16:9 pictures, name and grey description under each */
    /* the desktop top padding places the cards on the canvas; in the flow they follow the divider */
    .nk-work-canvas .nk-work-body,
    .nk-blog-canvas .nk-blog-body { padding-top: 0; }

    .nk-work-canvas .nk-work-grid,
    .nk-blog-canvas .nk-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 50px;
        margin-left: 0;
    }

    .nk-work-canvas .nk-work-card,
    .nk-blog-canvas .nk-blog-card {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .nk-work-canvas .nk-work-img,
    .nk-blog-canvas .nk-blog-img {
        width: 100%;
        height: auto;
        aspect-ratio: 928 / 522;
        overflow: hidden;
    }

    .nk-work-canvas .nk-work-card .nk-work-name,
    .nk-blog-canvas .nk-blog-card .nk-blog-name {
        position: relative;
        left: auto;
        top: auto;
        align-self: flex-start;
        max-width: 100%;
    }

    .nk-work-canvas .nk-work-card .nk-work-name { margin-top: 16px; }

    /* the hover bar keeps hugging the name's bottom edge */
    .nk-work-canvas .nk-work-card .nk-work-name::after,
    .nk-blog-canvas .nk-blog-card .nk-blog-name::after { top: 100%; }

    .nk-work-canvas .nk-work-grid .nk-work-card .nk-work-meta {
        position: relative;
        display: block;
        left: auto;
        top: auto;
        right: auto;
        width: auto;
        margin-top: 8px;
        color: var(--tb-grey);
    }

    .nk-work-canvas .nk-work-meta br { display: none; }

    .nk-blog-canvas .nk-blog-grid .nk-blog-card .nk-blog-cap {
        position: static;
        width: auto;
        margin-top: 16px;
    }

    .nk-blog-canvas .nk-blog-card .nk-blog-desc {
        margin-top: 8px;
        color: var(--tb-grey);
    }

    /* "Coming soon" when a tab has no projects */
    .nk-work-canvas .nk-work-grid .nk-work-empty {
        margin: 0;
    }

    /* Work closing section: the divider, then picture left and title, text and link right */
    .nk-work-canvas .nk-work-cta {
        height: auto;
        margin-top: var(--tb-gap);
    }

    .nk-work-canvas .nk-work-cta > .fx-line { margin-top: 0; }

    .nk-work-canvas .nk-work-cta .fx-cta-link::after {
        top: calc(100% + 6px);
        right: 0;
    }
}

/* ---------- Tablet: service pages (Brand Design, Brand Positioning, Creative Retainer, Packaging, Website Design, Website Development) ---------- */
/* 2026-11-17: font sizes, line heights and letter spacing removed here; tablet text uses the 1920 Figma sizes. */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-service-canvas .fx-hero + .fx-sub { margin-top: 30px; }

    /* The content below the cards (.fx-shift) was moved by an inline top: it joins the normal flow */
    .nk-service-canvas .fx-canvas > .fx-shift {
        position: static;
        width: auto;
        height: auto;
    }

    /* Heading, design picture and stats: stacked, in that order (Brand Positioning writes the stats first) */
    .nk-service-canvas .nk-tg-feature {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 30px;
        align-items: start;
    }

    .nk-service-canvas .nk-tg-feature > .fx-display {
        grid-column: 1;
        grid-row: 1;
        max-width: 760px;
        margin-top: 0;
    }

    .nk-service-canvas .nk-tg-feature > .fx-grey-block {
        grid-column: 1;
        grid-row: 2;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1052 / 592;
    }

    .nk-service-canvas .nk-tg-feature > .fx-t:not(.fx-display) {
        grid-column: 1;
        grid-row: 3;
    }

    /* Selected work: heading left, View all right, then the cards in two columns */
    .nk-service-canvas .nk-tg-work {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .nk-service-canvas .nk-tg-work > .fx-line { grid-column: 1 / -1; }

    .nk-service-canvas .nk-tg-work > .fx-line + .fx-t { margin-bottom: 0; }

    .nk-service-canvas .nk-tg-work > .nk-tg-link {
        margin: 0;
        justify-self: end;
    }

    .nk-service-canvas .nk-tg-works {
        display: grid;
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 40px;
        margin-top: 30px;
    }

    .nk-service-canvas .nk-tg-card--full { grid-column: 1 / -1; }

    /* Card picture keeps its 16:9 crop; the name and caption follow it */
    .nk-service-canvas .nk-tg-card > .nk-fx-card-img {
        display: block;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16 / 9;
    }

    .nk-service-canvas .nk-tg-card > .nk-fx-card-img picture { display: contents; }

    .nk-service-canvas .nk-tg-card > .nk-fx-card-img img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .nk-service-canvas .nk-tg-card > .fx-link {
        width: fit-content !important;
        max-width: 100%;
        margin-top: 15px;
    }

    .nk-service-canvas .nk-tg-card > .fx-link + .fx-t {
        margin-top: 8px;
        color: #afafaf !important;
    }

    /* Our approach: numbered steps in two columns */
    .nk-service-canvas .nk-tg-steps {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 40px;
    }

    .nk-service-canvas .nk-tg-step { min-width: 0; }

    .nk-service-canvas .nk-tg-step > .fx-t:first-child {
        margin-bottom: 14px;
    }

    .nk-service-canvas .nk-tg-step > .fx-sub {
        margin-top: 10px;
    }

    /* Deliverables: a plain list, number and name on one row with a rule between rows */
    .fx-wrap.nk-service-canvas .nk-tg-list > .fx-line { display: none; }

    .nk-service-canvas .nk-tg-item {
        display: flex;
        align-items: baseline;
        gap: 30px;
        padding: 20px 0;
    }

    .nk-service-canvas .nk-tg-item + .nk-tg-item { border-top: 1px solid rgba(0, 0, 0, 0.15); }

    .nk-service-canvas .nk-tg-item:first-child { padding-top: 0; }

    .nk-service-canvas .nk-tg-item:last-child { padding-bottom: 0; }

    .nk-service-canvas .nk-tg-item > .fx-t:first-child {
        flex: none;
        min-width: 50px;
    }

    .nk-service-canvas .nk-tg-cta { margin-bottom: var(--tb-gap); }
}


/* ---------- Desktop (1025px and up): the Figma desktop layouts scaled to the window ---------- */
/* Project pages and posts never go below 0.7 Figma px per px (their widths are shares of the page, so this cannot
   push them wider than the window) */
@media (min-width: 1025px) {
    body.single-projects,
    .nk-post { --u: max(calc(var(--nk-vw) / 1920), 0.7px); }
}

/* Work page cards on desktop: the name and caption follow the picture in the card (at the Figma offsets: the name
   15px under the picture, the caption 8.57px under the name) and the caption runs the card's full width. The next
   row starts 110px under the longest caption of the row (Figma's space under a caption), so the gap follows the
   text instead of a fixed 722px picture step. Tablets and phones already lay the cards out this way. */
@media (min-width: 1025px) {
    .nk-work-canvas .nk-work-grid { row-gap: 110px; }

    .nk-work-canvas .nk-work-grid .nk-work-card .nk-work-name {
        position: relative;
        display: block;
        width: fit-content;
        left: -1px;
        top: auto;
        margin-top: 15px;
    }

    .nk-work-canvas .nk-work-grid .nk-work-card .nk-work-meta {
        position: relative;
        display: block;
        left: -1px;
        top: auto;
        right: auto;
        width: auto;
        margin-top: 8.57px;
    }
}

/* Grey text: one colour at every width. The desktop colours (the "min-width: 1025px" rules above: #afafaf for the
   Figma #a6a6a6 grey, half-black for the page intros) also apply on tablets and phones, so a text never changes
   colour when the window crosses 1024px or 767px. */
.nk-home .nk-page-sub,
.nk-home .nk-cta-muted { color: rgba(0, 0, 0, 0.5) !important; }

.fx-canvas .fx-t[style*="color:#a6a6a6"],
.nk-home .nk-card-meta,
.nk-work-meta,
.nk-blog-desc,
.nk-case-card-meta,
.nk-post .nk-post-meta p,
.contact-info h2,
.contact-info a.policy-link { color: #afafaf !important; }

/* the Careers list and the service cards' captions (their tablet and phone rules had their own grey) */
.fx-list { --nk-list-grey: #afafaf; }

.nk-service-canvas .fx-t.fx-link + .fx-t { color: #afafaf !important; }

/* ---------- Figma 03-11-26 type check (2026-11-17) ---------- */
/* Services dropdown: the header is the same from 768px up, so tablets drop the old -0.02em as desktop does */
@media (min-width: 768px) {
    .header-main ul.main-menu .sub-menu li a { letter-spacing: 0 !important; }
}
/* end Figma 03-11-26 type check */

/* ---------- Desktop fixed type, part 1: Home, footer, blog posts, project pages (2026-11-17) ----------
   The user's call: from 768px up, text keeps its 1920 Figma px size at every window width, as the header does,
   instead of scaling with the 1920px frame (desktop) or using a tablet type scale (768-1024). Layout (widths,
   positions, section gaps) still scales with --u on desktop and keeps the tablet layouts on tablets; only the type
   and what hangs off it (underline offsets, link arrows, gaps between lines of one text group) is fixed here, so
   1920 renders exactly as before. Phones keep their own rules. */
@media (min-width: 768px) {
    /* Home */
    .nk-home .nk-page-title { font-size: 80px; line-height: 0.996; }
    .nk-home .nk-page-sub { font-size: 22px; line-height: 26px; }
    .nk-home .nk-intro p { font-size: 22px; line-height: 27px; }
    .nk-home .nk-clutch-text { font-size: 22px; line-height: 27px; }
    .nk-home .nk-stat,
    .nk-home .nk-stat-value,
    .nk-home .nk-stat-label { font-size: 23.939px; line-height: 35.909px; }
    .nk-home .nk-section-title { font-size: 30px; line-height: 45px; }
    .nk-home .nk-testimonial-sec .nk-section-title { font-size: 40px; line-height: 1.246; }
    .nk-home .nk-link,
    .nk-home .nk-cta-link { font-size: 22px; line-height: 1.246; letter-spacing: 3.08px; }
    .nk-home .nk-link { background-position: 1px 26px; }
    .nk-home .nk-cta-link { background-position: 0 26px; }
    html body .nk-home .nk-link::after,
    html body .nk-home .nk-cta-link::after { width: 12px; height: 11.875px; vertical-align: 2px; }
    html body .nk-home .nk-link::after { margin-left: 13px; }
    html body .nk-home .nk-cta-link::after { margin-left: 11px; }
    html body .nk-home .nk-link:is(:hover, :focus-visible),
    html body .nk-home a:hover .nk-link { background-size: calc(100% - 29px) var(--nk-ul) !important; }
    html body .nk-home .nk-cta-link:is(:hover, :focus-visible),
    html body .nk-home a:hover .nk-cta-link { background-size: calc(100% - 26px) var(--nk-ul) !important; }
    .nk-home .nk-card-title { font-size: 18px; line-height: 22px; background-position: 0 22px; }
    .nk-home .nk-card-meta { font-size: 18px; line-height: 22px; }
    .nk-home .nk-testimonial blockquote { font-size: 16px; line-height: 20px; }
    .nk-home .nk-testimonial figcaption { font-size: 14px; line-height: 1.246; }
    .nk-home .nk-testimonial-role { font-size: 12px; }
    .nk-home .nk-testimonial-company { font-size: 14px; }
    .nk-home .nk-cta-title { font-size: 50px; line-height: 54px; }
    .nk-home .nk-cta-muted { font-size: 26px; line-height: 30px; }

    /* Footer, every page */
    .contact-info h2,
    .contact-info a { font-size: 18px; }

    /* Blog posts */
    .nk-post-back a { font-size: 22px; }
    .nk-post-back span::after { top: 25px; }
    .nk-post .nk-post-meta p { font-size: 22px; line-height: 26px; }
    .nk-post-title { font-size: 50px; line-height: 55px; }
    .nk-post-content,
    .nk-post-content p { font-size: 22px; }
    .nk-post .nk-post-content h3 { font-size: 50px; line-height: 55px; }

    /* Project pages */
    .project-info-section h1.nk-case-title { font-size: 65px; line-height: 66px; }
    .nk-case-intro .nk-case-lead p,
    .nk-case-sec .nk-case-body p { font-size: 22px; line-height: 26px; }
    .nk-case-sec .nk-case-quote blockquote p { line-height: 27px; }
    .nk-case-fact { font-size: 18px; line-height: 22px; }
    .nk-case-value { margin-top: 5px; }
    .nk-case-fact--result .nk-case-value { margin-top: 4px; }
    .nk-case-h { font-size: 40px; }
    .nk-case-item-title { font-size: 22px; }
    .nk-case-sec--faq .nk-case-body p + .nk-case-li { margin-top: 17px; }
    .nk-case-sec--faq .nk-case-body .nk-case-li + .nk-case-li { margin-top: 9px; }
    .nk-case-quote figcaption { margin-top: 33px; font-size: 22px; }
    .nk-case-more .nk-case-h { font-size: 30px; line-height: 45px; }
    .nk-case-card-name { font-size: 18px; }
    .nk-case-card-name::after { top: 22px; }
    .nk-case-card-meta { margin-top: 9px; font-size: 18px; line-height: 22px; }
}

/* Desktop layout around the fixed Home text (tablets have their own Home layout) */
@media (min-width: 1025px) {
    .nk-home .nk-stat-value { margin-top: 6px; }
    .nk-home .nk-section-head .nk-link { margin-top: 7px; }
    .nk-home .nk-card-meta { margin-top: 9px; }
    .nk-home .nk-cards .nk-card:not(.nk-card--full) .nk-card-meta.nk-dc { min-height: 44px; }
    /* Narrow windows wrap the names and quotes onto more lines: the card and the name row grow instead of overlapping */
    .nk-home .nk-testimonial { height: auto; min-height: calc(302 * var(--u)); }
    .nk-home .nk-testimonial figcaption { height: auto; min-height: 40px; }
    /* the arrows hang 76.5px (at 1920) under the cards, wherever their bottom ends up */
    .nk-home .nk-testimonial-arrows { top: calc(100% + 76.5 * var(--u)); }
}
/* end Desktop fixed type, part 1 */

/* ---------- Home text steps like live nirakaar.com (2026-11-17, preview for Jay) ----------
   The live site keeps text at fixed sizes and steps only some of them down with the window: from 1461px Figma's
   sizes; 1025-1460px the big headings get smaller (title 80 to 50, closing heading 50 to 32, section title 40 to 32);
   tablets also make card names, captions and the spaced links smaller (18 to 16, 22 to 16). Body text, stats and the
   footer keep their size. Home only for now; phones keep their own rules. */
@media (min-width: 768px) and (max-width: 1460px) {
    .nk-home .nk-page-title { font-size: 50px; }
    .nk-home .nk-testimonial-sec .nk-section-title { font-size: 32px; }
    .nk-home .nk-cta-title { font-size: 32px; line-height: 1.08; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nk-home .nk-card-title { font-size: 16px; line-height: 20px; background-position: 0 20px; }
    .nk-home .nk-card-meta { font-size: 16px; line-height: 20px; }
    /* View all / Contact us at 16px: spacing, arrow, underline and hover strip in the same proportion as at 22px */
    .nk-home .nk-link,
    .nk-home .nk-cta-link { font-size: 16px; letter-spacing: 2.24px; }
    .nk-home .nk-link { background-position: 1px 19px; }
    .nk-home .nk-cta-link { background-position: 0 19px; }
    html body .nk-home .nk-link::after,
    html body .nk-home .nk-cta-link::after { width: 8.7px; height: 8.6px; vertical-align: 1.5px; }
    html body .nk-home .nk-link::after { margin-left: 9.5px; }
    html body .nk-home .nk-cta-link::after { margin-left: 8px; }
    html body .nk-home .nk-link:is(:hover, :focus-visible),
    html body .nk-home a:hover .nk-link { background-size: calc(100% - 21px) var(--nk-ul) !important; }
    html body .nk-home .nk-cta-link:is(:hover, :focus-visible),
    html body .nk-home a:hover .nk-cta-link { background-size: calc(100% - 19px) var(--nk-ul) !important; }
}
/* end Home text steps */

/* ==================== Figma 19 Nov changes (2026-11-19, WORK-PLAN.md UI lane) ====================
   Closing section, service step titles, phone footer gap, Home, About, Blog, Services hub, Work and Scry AI. */

/* U1 phone footer: 15px under the "Nirakaar" wordmark (19 Nov Figma; was 10px). custom.css sets padding with !important, this loads after it. */
@media (max-width: 767px) {
    .contact-info { padding-bottom: 15px !important; }
}
/* end U1 phone footer */

/* ---------- U2 Home, desktop (19 Nov Figma; numbers measured from the new Home JPG, 1920 frame) ----------
   The grey line left the hero and joined the intro as one black paragraph under the picture; the stats sit on the
   paragraph's row at the right; the Clutch badge moved to the Testimonials heading (page-home.php). Picture top 475,
   paragraph ink top 1597, logo strip 1920, "Selected work" 2243 (416px higher than before). */
@media (min-width: 1025px) {
    .nk-home .nk-page-title { margin-bottom: calc(19.7 * var(--u)); }
    .nk-home .nk-page-visual--hero { margin-bottom: calc(59 * var(--u)); }

    .nk-home .nk-intro {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "text  stats"
            "logos logos";
        margin-bottom: calc(250 * var(--u));
    }

    .nk-home .nk-intro p { max-width: calc(770 * var(--u)); }
    .nk-home .nk-intro .nk-stats { margin: calc(-3 * var(--u)) calc(10 * var(--u)) 0 0; }
    .nk-home .nk-logos { margin-top: calc(247 * var(--u)); }

    /* Clutch badge: bottom of the Testimonials heading's column (Figma y 5527-5576 against quotes ending 5580) */
    .nk-home .nk-testimonial-sec .nk-section-title { grid-area: 1 / 1; align-self: start; }
    .nk-home .nk-testimonial-sec .nk-testimonials { grid-area: 1 / 2; }
    .nk-home .nk-testimonial-sec .nk-clutch {
        grid-area: 1 / 1;
        align-self: end;
        justify-self: start;
        margin: 0 0 calc(4 * var(--u)) 0;
    }
}

/* Home closing section (same change as the service pages, U1): the text column starts at x 989 (was 1088), the title and
   grey line 7px higher, "Contact us" 26px lower so it sits on the picture's bottom edge */
@media (min-width: 1025px) {
    .nk-home .nk-cta { column-gap: calc(21 * var(--u)); }
    .nk-home .nk-cta-title { margin-top: calc(-10 * var(--u)); }
    .nk-home .nk-cta-link { margin-bottom: calc(-3 * var(--u)); }
}
/* end U2 Home, desktop */

/* ---------- U2 Home, phones (19 Nov Figma, 360px frame) ----------
   Picture y221; the black paragraph (5 lines) under it; the stats spread over the full width (labels x 10 / 150 / 305.6,
   baseline 567); logo strip and "Selected work" 311px higher than before; the Clutch badge sits on the Testimonials row. */
@media (max-width: 767px) {
    .nk-home .nk-page-title { margin-bottom: 20.34px; }
    .nk-home .nk-intro { height: 326.2px; }
    .nk-home .nk-intro .nk-stats { top: 140.3px; }
    .nk-home .nk-stat:nth-child(2) { left: 140px; }
    .nk-home .nk-stat:nth-child(3) { left: 295.6px; }
    .nk-home .nk-logos { top: 316.7px; }

    .nk-home .nk-testimonial-sec { position: relative; }
    .nk-home .nk-testimonial-sec .nk-clutch { top: 154.7px; right: 0; left: auto; }
    .nk-home .nk-testimonial-sec .nk-section-title { margin-bottom: 67.9px; }

    /* Closing section: title baseline 39px and "Contact us" 141px under the picture's bottom edge; the footer rule 395.5px */
    .nk-home .nk-cta { height: 301.2px; }
    .nk-home .nk-cta-title { top: 219.4px; }
    .nk-home .nk-cta-link { top: 335.1px; }
}
/* end U2 Home, phones */

/* U2 Home, tablets: the Clutch badge sits on the Testimonials heading row, at the right */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-home .nk-testimonial-sec { position: relative; }
    .nk-home .nk-testimonial-sec .nk-clutch { position: absolute; top: 0; right: 0; margin: 0; }
}
/* end U2 Home, tablets */

/* ---------- U3 About (19 Nov Figma) ----------
   Hero picture under the two-line title, the intro paragraph under it (black; the phone frame draws it grey, but grey text
   keeps one colour at every width, so it stays black) and the business summary beside it; everything below moves down
   (page-about.php). Phones: the canvas is 129.3px taller. */
.nk-about-canvas .fx-t.fx-sub.nk-ab-intro { color: #000000; }

@media (max-width: 767px) {
    .nk-about-canvas .fx-canvas,
    .nk-about-canvas .fx-form { height: 5939.3px !important; }
}
/* end U3 About */

/* About: the workshop captions are Title Case on desktop and tablets in the 19 Nov frame ("Indian Institute / Of Technology
   Delhi") and lowercase on phones; the saved text is lowercase */
@media (min-width: 768px) {
    .nk-about-canvas .nk-ab-wcap { text-transform: capitalize; }
}

/* U3 About, tablets: the picture is as wide as the page, the intro and the business summary follow it */
@media (min-width: 768px) and (max-width: 1024px) {
    .nk-about-canvas .nk-ab-hero {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1880 / 1058;
        margin-top: 40px;
    }

    .nk-about-canvas .nk-ab-stats {
        width: auto !important;
        max-width: 570px;
        margin-top: 24px;
    }
}
/* end U3 About, tablets */

/* ---------- U4 Blog (19 Nov Figma) ----------
   Desktop: three cards per row, pictures 614 x 345 at x 19 / 653 / 1287, rows 584px apart; under each picture the title,
   the post's month and year ("NOV / 2026", grey) and the description. Tablets keep two columns and show the date;
   phones show it too since 20 Nov (end of file, "Blog cards: ... the date on phones"). */
.nk-blog-date {
    display: block;
    margin-top: 9.8px;
    font-size: 18px;
    line-height: 22px;
    color: #afafaf;
}

.nk-blog-date + .nk-blog-desc { margin-top: 10px; }

@media (max-width: 767px) {
    .nk-blog-date { display: none; }
}

@media (min-width: 1025px) {
    .nk-blog-grid {
        grid-template-columns: repeat(3, 614px);
        column-gap: 20px;
        row-gap: 239px;
        margin-left: 19px;
    }

    .nk-blog-img { height: 345px; }
    .nk-blog-cap { top: 366.4px; left: 0; }
    .nk-blog-canvas .fx-canvas { padding-bottom: 390px; }
}
/* end U4 Blog */

/* ---------- U5 closing sections of the Services hub and Work (19 Nov Figma, as U1) ----------
   page-services.php and page-work.php hold the new positions; on phones the Work closing section is 168px shorter. */
@media (max-width: 767px) {
    .nk-work-canvas .nk-work-cta { height: 601px; }
}
/* end U5 */

/* ---------- U6 Scry AI case study, testimonial row (19 Nov Figma) ----------
   Desktop: the quote starts at x 1126 (was 1088) and is 776px wide, so it re-wraps to four lines and the name line
   (right-aligned under it) moves with it. Phones: the name and role fill the 340px width, so only "Scry AI" wraps. */
@media (min-width: 1025px) {
    .nk-case-sec--quote { grid-template-columns: calc(1106 / 1880 * 100%) calc(776 / 1880 * 100%); }
}

@media (max-width: 767px) {
    .nk-case-quote figcaption { max-width: none; }
}
/* end U6 */
/* ==================== end Figma 19 Nov changes ==================== */

/* ==================== Home and Work keep fixed text sizes like live nirakaar.com (2026-11-19, WORK-PLAN.md screen-size lane) ====================
   Must stay after the Figma 19 Nov block. */

/* ---------- S1: Work keeps its 1920 Figma text sizes from 1025px (WORK-PLAN.md) ----------
   nkFxFixType() (inc/figma-canvas.php, Work page only) saves each text's 1920 font size, line height and letter spacing as
   --fx-fs / --fx-lh / --fx-ls and adds .fx-ft-on to the canvas below 1920; dividing by the canvas scale keeps the text at
   its 1920 size on screen. It also moves what sits under a text that grew. At 1920 the class is off, so nothing changes. */
@media (min-width: 1025px) {
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-ft { font-size: calc(var(--fx-fs) / var(--fx-s)) !important; }
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-ft-lh { line-height: calc(var(--fx-lh) / var(--fx-s)) !important; }
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-ft-ls { letter-spacing: calc(var(--fx-ls) / var(--fx-s)) !important; }
    /* the underline strips under links and card names stay where they sit under the 1920-size text */
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-ft-at::after { top: calc(var(--fx-at) / var(--fx-s)) !important; }
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-ft-bt::before { top: calc(var(--fx-bt) / var(--fx-s)) !important; }
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-ft-bp { background-position-y: calc(var(--fx-bpy) / var(--fx-s)) !important; }
}
/* end S1 */

/* ---------- S2: Work headings step down like live nirakaar.com, as Home does (462c5da) ----------
   From 1461px the Figma sizes. 768-1460px: page title 80 to 50px, closing heading 50 to 32px; tablets (768-1024px) also
   take card names and captions from 18 to 16px. Body text keeps its size; phones keep their own rules.
   1025-1460px: the saved 1920 size (--fx-fs, set by nkFxFixType) is replaced, never font-size itself, because the script
   reads font-size once and must read 80 / 50, not the stepped value. Tablets have no fixed-type script, so font-size. */
@media (min-width: 1025px) and (max-width: 1460px) {
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-t.fx-hero { --fx-fs: 50px !important; --fx-lh: 49.8px !important; }
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-t.fx-cta-title { --fx-fs: 32px !important; --fx-lh: 34.56px !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nk-work-canvas .fx-canvas .fx-t.fx-hero { font-size: 50px; line-height: 0.996; }
    .nk-work-canvas .fx-canvas .fx-t.fx-cta-title { font-size: 32px; line-height: 1.08; }
    .nk-work-canvas .nk-work-card .nk-work-name { font-size: 16px; line-height: 20px; }
    .nk-work-canvas .nk-work-grid .nk-work-card .nk-work-meta { font-size: 16px; line-height: 20px; }
}
/* end S2 */

/* ---------- S3: Home text boxes keep their Figma widths in px (WORK-PLAN.md) ----------
   From 1025px the text keeps its 1920 size but the layout scales with --u, so boxes sized in --u made the fixed-size text
   wrap more than in Figma (the 80px title took 3 lines on a 1536px window). These boxes keep their 1920 width in px as far
   as the window allows; the grid columns and the viewport still cap them. */
@media (min-width: 1025px) {
    .nk-home .nk-page-title { max-width: min(1377px, calc(100% + 5px)); }
    .nk-home .nk-intro p { max-width: 770px; }
    .nk-home .nk-cta-title { max-width: 576px; }
}
/* end S3 */
/* ==================== end Home and Work fixed text ==================== */

/* Blog post title: Figma's 641px box (frame 219:510, text 219:545), so long titles wrap as in Figma (user, 20 Nov).
   The title keeps its 50px size from 768px, so the box is in px. Tablets and phones keep their own widths. */
@media (min-width: 1025px) {
    .nk-post .nk-post-title { max-width: 641px; }
}

/* Phone lines at Figma's weight (user, 20 Nov): "Mobile lines: one style" draws every phone line as a 0.5px #a6a6a6
   strip, but the phone frames draw some at 1px: the rule above each closing section, the footer's top rule and the two
   full-width Contact rules. Home's "Selected work" rule is 0.5px black and its testimonial rule 0.5px #808080.
   Every other phone line stays 0.5px #a6a6a6. The footer's second divider (::after) keeps its own 0.5px strip. */
@media (max-width: 767px) {
    html body .fx-wrap .fx-canvas .fx-line-rule:has(+ .nk-tg-cta),
    html body .nk-contact-canvas .fx-canvas > .fx-line:has(img[src*="f8bb5"]) {
        --nk-line-w: 1px;
    }

    html body .contact-info .d-flex,
    html body .nk-home .nk-cta {
        background-size: 100% 1px !important;
    }

    html body .nk-home .nk-section-head {
        background-image: linear-gradient(#000000, #000000) !important;
    }

    html body .nk-home .nk-testimonial figcaption {
        background-image: linear-gradient(#808080, #808080) !important;
    }

    /* Project "Browse more" rule: Figma 0.5px #a6a6a6. A 0.5px strip vanishes on this box (fractional y), so the 1px
       border takes #a6a6a6 at half strength on white instead (dark pages keep their own colour) */
    .nk-case-more .nk-case-h {
        border-bottom-color: #d3d3d3;
    }
}

/* Work filter tabs: clickable again from 1025 to 1919px. There the fixed-text script (nkFxFixType) moves the tab row and
   the projects block down with `translate`, which makes the tab row its own layer: the tabs' z-index 2 then counted only
   inside it, and .nk-work-body (later in the page, its empty top over the tabs) took the clicks. The row's box sits at the
   canvas origin, so position: relative moves nothing.
   The script also saves each text's size once, at load (--fx-fs / --fx-lh), so "All" kept the active 22px after a click,
   the clicked tab stayed 18px and the second row dropped 4px: the saved size follows the tab's state instead (the
   .fx-work-tab rules: 18px / 22px, active 22px / 18px), as at 1920. */
@media (min-width: 1025px) {
    .nk-work-canvas .nk-work-tabs {
        position: relative;
        z-index: 2;
    }
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-work-tab { --fx-fs: 18px !important; --fx-lh: 22px !important; }
    .nk-work-canvas .fx-canvas.fx-ft-on .fx-work-tab.is-active { --fx-fs: 22px !important; --fx-lh: 18px !important; }
}

/* Windows display scaling (user, 20 Nov: "pixel to pixel" at 125%). header.php sets html.nk-os and --nk-os (1 / the scaling,
   0.8 at 125%) in Chrome and Edge, Windows scaling 110-175%, windows 1461-1919px wide. The page is laid out as on a window
   that many screen px wide (1536 x 1.25 = 1920) and drawn at --nk-os, so it matches the 100% page one Figma px to one screen
   px. The layout's --nk-vw and the full-screen footer measure the window in that zoomed space. */
html.nk-os {
    zoom: var(--nk-os);
    --nk-vw: calc(100vw / var(--nk-os));
}

html.nk-os .contact-info {
    min-height: calc(100svh / var(--nk-os)) !important;
}

/* The circle cursor gets the mouse position in window px (custom.js), which the zoom would draw at --nk-os of the
   distance, away from the mouse arrow (user, 20 Nov) */
html.nk-os .cursor {
    transform: translate3d(calc(var(--cursor-x, -100px) / var(--nk-os) - 15px), calc(var(--cursor-y, -100px) / var(--nk-os) - 15px), 0) scale(var(--cursor-scale, 1));
}

/* ---------- Blog cards: the title's underline under every line, and the date on phones (user, 20 Nov) ----------
   The underline was one bar box, under the first line (desktop, phones) or the last (tablets), so a title that wraps had a
   line without it. It is now a strip painted on the title's inner span (page-blog.php): an inline box draws its background
   under each line, and the strip grows from the left across the lines in turn. Place, thickness, colour and timing are as
   before: the strip's top is the old bar's (22px under the line top on desktop, the line height on tablets, 17px on
   phones), measured from the text box, which starts 1px above the line on desktop and tablets. */
html body .nk-blog-name::before,
html body .nk-blog-name::after {
    display: none !important;
}

.nk-blog-name-in {
    --nk-bn-y: 23px;
    padding-bottom: 3px; /* room for the strip under the text box; an inline box's padding does not move the lines */
    background: linear-gradient(currentColor, currentColor) left 0 top var(--nk-bn-y) / 0 var(--nk-ul) no-repeat;
    transition: background-size var(--nk-ul-ease);
}

@media (min-width: 768px) {
    .nk-blog-card:hover .nk-blog-name-in { background-size: 100% var(--nk-ul); }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nk-blog-name-in { --nk-bn-y: 23.42px; }
}

@media (max-width: 767px) {
    /* shown while the card is pressed, running 4px past the text's end as Figma draws it */
    .nk-blog-name-in {
        --nk-bn-y: 17px;
        padding-right: 4px;
        margin-right: -4px;
        transition: background-size 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    .nk-blog-card:is(:active, :focus-visible, .nk-pressed) .nk-blog-name-in { background-size: 100% var(--nk-ul); }

    /* The post's month and year under the title, as on desktop and tablets (the phone Figma has none): 14px grey like the
       description, one 22px step under the title and the description one step under it, so each card is 22px taller */
    .nk-blog-date {
        display: block;
        margin-top: 3.56px;
        font-size: 14px;
        line-height: 16px;
    }

    .nk-blog-canvas .nk-blog-card .nk-blog-date + .nk-blog-desc { margin-top: 6px; }

    .nk-blog-grid .nk-blog-card { height: 259px; }
    .nk-blog-grid .nk-blog-card:nth-child(even) { height: 291px; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .nk-blog-name-in { transition: none; }
}
/* end Blog cards: underline on every line, date on phones */

/* Project pages: the Services dropdown over the banner. The header's inverted colours (mix-blend-mode: difference)
   inverted the panel too, so over a banner photo or video it was see-through and its items were lost (user request
   2026-11-20). A blend cannot be switched off for one child of the blended element, so here the header draws plainly
   and the logo, the top links and the hamburger carry the blend themselves, which looks the same. Their blend only
   reaches the banner if the header is not a layer of its own, so it drops its z-index and will-change ("Text
   rendering"; the blended items still get their own layer, so their text stays greyscale); the items and the panel
   stack above the banner by themselves. The panel gets Figma's colours, as on the other pages. */
body.single-projects header#site-logo {
    mix-blend-mode: normal !important;
    z-index: auto !important;
    will-change: auto;
}

body.single-projects header .logo,
body.single-projects header .header-main ul.main-menu > li > a,
body.single-projects header .nk-hamburger {
    z-index: 3;
    mix-blend-mode: difference;
}

body.single-projects header.nk-navbar-white .logo,
body.single-projects header.nk-navbar-white .header-main ul.main-menu > li > a,
body.single-projects header.nk-navbar-white .nk-hamburger {
    mix-blend-mode: normal;
}

/* Under the links, so the Services link stays above the panel's hover bridge */
body.single-projects header .header-main ul.main-menu .sub-menu {
    z-index: 2;
}

body.single-projects .header-main ul.main-menu .sub-menu::before {
    background: #f6f6f6;
}

body.single-projects .header-main ul.main-menu .sub-menu li a {
    color: rgba(0, 0, 0, 0.5) !important;
}
/* end Project pages: Services dropdown over the banner */

/* ==================== Every canvas page keeps fixed text sizes like live nirakaar.com (2026-11-21) ====================
   The user asked for Home and Work's screen-size behaviour on every page. About, Contact, the Services hub, Blog and the
   six service pages now call nkFxFixType() too (inc/figma-canvas.php), so from 1025px their text keeps its 1920 Figma
   size while the layout scales, and the big headings step down like live. These are Work's S1 / S2 rules ("Home and Work
   keep fixed text sizes") for every canvas; Work keeps its own copies. Blog posts and project pages keep their rules. */

/* ---------- Desktop: the saved 1920 sizes divided by the canvas scale, so they stay 1920 on screen (Work's S1) ---------- */
@media (min-width: 1025px) {
    .fx-wrap .fx-canvas.fx-ft-on .fx-ft { font-size: calc(var(--fx-fs) / var(--fx-s)) !important; }
    .fx-wrap .fx-canvas.fx-ft-on .fx-ft-lh { line-height: calc(var(--fx-lh) / var(--fx-s)) !important; }
    .fx-wrap .fx-canvas.fx-ft-on .fx-ft-ls { letter-spacing: calc(var(--fx-ls) / var(--fx-s)) !important; }
    .fx-wrap .fx-canvas.fx-ft-on .fx-ft-at::after { top: calc(var(--fx-at) / var(--fx-s)) !important; }
    .fx-wrap .fx-canvas.fx-ft-on .fx-ft-bt::before { top: calc(var(--fx-bt) / var(--fx-s)) !important; }
    .fx-wrap .fx-canvas.fx-ft-on .fx-ft-bp { background-position-y: calc(var(--fx-bpy) / var(--fx-s)) !important; }
}

/* ---------- Big headings step down like live (Work's S2) ----------
   From 1461px the Figma sizes; 768-1460px the page title goes 80 to 50px and the closing heading 50 to 32px, each keeping
   its line height ratio (About and Blog set the title in 80px lines, the other pages at 0.996). 1025-1460px replaces the
   saved size (--fx-fs), never font-size, because the script reads font-size once. Tablets have no script: font-size. */
@media (min-width: 1025px) and (max-width: 1460px) {
    .fx-wrap .fx-canvas.fx-ft-on .fx-t.fx-hero { --fx-fs: 50px !important; --fx-lh: 49.8px !important; }
    .nk-about-canvas .fx-canvas.fx-ft-on .fx-t.fx-hero,
    .nk-blog-canvas .fx-canvas.fx-ft-on .fx-t.fx-hero { --fx-lh: 50px !important; }
    .fx-wrap .fx-canvas.fx-ft-on .fx-t.fx-cta-title { --fx-fs: 32px !important; --fx-lh: 34.56px !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .fx-wrap .fx-canvas .fx-t.fx-hero { font-size: 50px; line-height: 0.996; }
    .nk-about-canvas .fx-canvas .fx-t.fx-hero,
    .nk-blog-canvas .fx-canvas .fx-t.fx-hero { line-height: 1; }
    .fx-wrap .fx-canvas .fx-t.fx-cta-title { font-size: 32px; line-height: 1.08; }
}

/* ---------- Tablets: section headings and card text smaller, as on Home, Work and live ----------
   Live shrinks its 50px section heading to 32px only on tablets (About "Awards & Involvement"), and its card names and
   captions from 18 to 16px; Home and Work do the same. Here: the 50px headings of the hub, the service pages and Contact
   ("We don't hire ..."), and the Blog and service-page card text (the service cards set 18px inline). */
@media (min-width: 768px) and (max-width: 1024px) {
    .fx-wrap .fx-canvas .fx-t.fx-display { font-size: 32px; line-height: 0.996; }
    .nk-blog-canvas .nk-blog-card .nk-blog-name,
    .nk-blog-canvas .nk-blog-card .nk-blog-date,
    .nk-blog-canvas .nk-blog-card .nk-blog-desc { font-size: 16px; line-height: 20px; }
    /* the title's hover strip at the line height, as on Home's tablet cards: at 16px the text box starts on the line and
       is 23px tall with its padding, so the 18px title's 23.42px fell outside it and was not drawn */
    .nk-blog-canvas .nk-blog-card .nk-blog-name-in { --nk-bn-y: 20px; }
    .nk-service-canvas .nk-tg-card > .fx-t { font-size: 16px !important; line-height: 20px !important; }
}

/* ---------- Services hub rows: each row link sits at the canvas origin ----------
   The rows are links holding placed text, laid out inline one space after another (x 0, 5, 9 ... 23, y 20). When the
   script moves a row down with translate, the link becomes what its text is placed from, so each row slid right by its
   own offset and 20px down. At the origin it changes nothing at 1920 and the translate only moves the row down. */
@media (min-width: 1025px) {
    .nk-services-canvas .fx-row-link { position: absolute; left: 0; top: 0; }
}
/* ==================== end Every canvas page keeps fixed text sizes ==================== */

/* ---------- Project page "Browse more": card descriptions at full card width (user request 2026-11-23) ----------
   As on the Work and Blog cards ("Card descriptions: full card width"), instead of Figma's 448 / 928 text box, which
   wrapped the fixed 18px text onto 3 to 7 lines on narrow windows. Phones already use the full card width.
   Normal word spacing: justifying it spread short one-line descriptions across the card (tried and dropped 2026-11-23). */
@media (min-width: 768px) {
    .nk-case-more .nk-case-card-meta { max-width: none; }
}

/* ---------- About, 23 Nov Figma: Team section ----------
   Desktop: three columns of 416 x 476 photos, name and role at 18px; phones: one column of 340 x 389 photos, name and role
   at 14px, and "Established 2018", "Workshops and Involment With" and "Team members" at 16px (--fs; "Awards" stays 14px as
   drawn). Positions in page-about.php. The phone canvas ends 4153px lower (U3 About set 5939.3px). Tablets keep four
   columns (no Figma tablet frame; same photo ratio) and set the name and role at 16px, as the other pages' cards. */
@media (max-width: 767px) {
    .nk-about-canvas .fx-canvas,
    .nk-about-canvas .fx-form { height: 10092.3px !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nk-about-canvas .nk-tg-team .nk-tg-card > .fx-t { font-size: 16px !important; line-height: 20px !important; }
}
/* end About, 23 Nov Figma: Team section */

/* Home and About hero video (nk_hero_media()): fills the hero box at every width, as the hero image does. A Vimeo player without
   controls is scaled to cover the box (assumes 16:9, as .nk-media-vimeo); with controls it fits the box so they stay visible. */
.nk-hero-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nk-hero-vimeo {
    height: 100%;
    padding-top: 0;
    container-type: size;
}

.nk-hero-vimeo:not(.show_control) iframe {
    top: 50%;
    left: 50%;
    width: max(100cqw, 177.78cqh);
    height: max(100cqh, 56.25cqw);
    transform: translate(-50%, -50%);
}
/* end Home and About hero video */
