/* ==========================================================================
   home-figma.css
   Home page layout from Figma "2010 - 2026 Portfolio"
     Desktop 1440  -> node 624:33261
     Tablet  1024  -> node 624:31329
     Mobile   390  -> node 624:32336
   Loaded after style.css + design-system.css. Everything is scoped to
   body.home-figma so other pages that share the template are untouched.
   ========================================================================== */

body.home-figma {
    --hf-lime:var(--color-brand);
    --hf-ink:var(--color-ink);
    --hf-page:var(--color-bg);     /* hero, about, skill, works, blog */
    --hf-panel:var(--color-panel);    /* projects, awards, innovation lab */
    --hf-coal:var(--color-coal);     /* resume, big tickers, footer, form card */
    --hf-black:var(--color-black);    /* client logos, contact, footer bottom */
    --hf-line:var(--color-border);
    --hf-muted:var(--color-text-dim);
    --hf-header-h: var(--header-h);
    background-color: var(--hf-page);
}

body.home-figma > .page-wrapper {
    padding-top: var(--hf-header-h);
}

/* --------------------------------------------------------------------------
   1. Header  (always the compact 92px bar from the design)
   -------------------------------------------------------------------------- */
body.home-figma header.main-header,
body.home-figma header.main-header.scrolled {
    background-color: rgba(8, 8, 8, 0.88);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
body.home-figma header.main-header .header-upper,
body.home-figma header.main-header.scrolled .header-upper {
    padding-top: 6px;
    padding-bottom: 6px;
    background-color: transparent;
}
body.home-figma .main-header .container-1620 {
    max-width: none;
    padding-left: 50px;
    padding-right: 50px;
}
body.home-figma .main-header .header-inner {
    min-height: 80px;
}
body.home-figma .main-header .logo img {
    width: 172px;
    height: auto;
}
body.home-figma .main-header .menu-btns {
    display: flex !important;
    align-items: center;
}
body.home-figma .main-header .menu-btns .theme-btn {
    display: inline-flex !important;
    white-space: nowrap;
    margin-left: 28px;
    padding: 10px 35px;
    font-size: var(--fs-16);
    line-height: 30px;
    letter-spacing: 2.55px;
    border-radius: 15px;
}

@media (min-width: 1200px) {
    /* Desktop nav: plain links, dropdowns still open on hover */
    body.home-figma .main-menu .navigation li.dropdown .dropdown-btn {
        display: none;
    }
    body.home-figma .main-menu .navigation > li {
        padding: 25px 20px;
    }
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */
body.home-figma .hf-hero {
    padding: 95px 0 0;
    height: 732px;               /* 92 -> 824 on the 1440 canvas */
    overflow: visible;
}
body.home-figma .hf-hero-stage {
    position: relative;
    height: 637px;
}
body.home-figma .hf-hero-stage > * {
    position: absolute;
    margin: 0;
}
body.home-figma .hf-hero-sub {
    top: 0;
    left: 40px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: var(--fs-17);
    line-height: 30px;
    color: var(--hf-lime);
    text-transform: capitalize;
}
body.home-figma .hf-hero-sub img {
    width: 15px;
    height: 15px;
    margin: 0;
}
body.home-figma .hf-hello {
    top: 40px;
    left: 27px;
    z-index: 3;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: var(--fs-164);
    line-height: 180px;
    letter-spacing: 12px;
    color: var(--color-white);
}
body.home-figma .hf-im {
    top: 43px;
    left: 858px;
    z-index: 3;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: var(--fs-90);
    line-height: 110px;
    color: var(--hf-lime);
}
body.home-figma .hf-name {
    top: 153px;
    right: 42px;
    z-index: 3;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: var(--fs-90);
    line-height: 90px;
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-thickness: from-font;
    text-underline-offset: auto;
}
body.home-figma .hf-designation {
    top: 299px;
    left: 109px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 0.17em;
    padding: 9.765px 22.785px;
    border-radius: 39.061px;
    background-image: linear-gradient(95.35deg, rgba(49, 50, 52, 0.61) 46.62%, rgba(88, 77, 77, 0.61) 100%);
    -webkit-backdrop-filter: blur(6.51px);
    backdrop-filter: blur(6.51px);
    font-family: 'DM Sans', sans-serif;
    font-size: var(--fs-56);
    line-height: 58.591px;
    color: var(--color-white);
    white-space: nowrap;
    text-transform: capitalize;
}
body.home-figma .hf-designation > span {
    font-weight: 400;
}
body.home-figma .hf-designation > b {
    font-weight: 700;
}
body.home-figma .hf-author {
    top: -114px;
    left: 50%;
    z-index: 1;
    width: 630px;
    max-width: 100%;
    transform: translateX(-50%);
}
body.home-figma .hf-author img,
body.home-figma .hf-author video.hero-video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain; /* Ensures the glowing rings aren't cropped */
    outline: none;
    border: none;
    background-color: transparent;
}
body.home-figma .hero-area-two .hf-scroll-down {
    position: absolute;
    top: auto;
    right: auto;
    bottom: 0;
    left: 43.4%;
    width: 246px;
    max-width: none;
    transform: translateY(1px);
    z-index: 5;
}
body.home-figma .hero-area-two .hf-scroll-down img {
    display: block;
    width: 100%;
    height: auto;
}

/* --------------------------------------------------------------------------
   3. About
   -------------------------------------------------------------------------- */
body.home-figma .hf-about {
    padding: 60px 0 63px;
}
/* stat circles start level with "Introduction Of Myself" */
body.home-figma .hf-about > .container > .row {
    align-items: flex-start !important;
}
body.home-figma .hf-about .section-title {
    margin-bottom: 35px;
}
body.home-figma .hf-about .section-title h2 {
    max-width: 583px;
    font-size: var(--fs-50);
    line-height: 68px;
}
body.home-figma .hf-about .section-title h2 span {
    display: inline-block;
}
body.home-figma .hf-about .text {
    max-width: 530px;
    padding-bottom: 5px;
    font-size: var(--fs-16);
    line-height: 30px;
    color: var(--hf-muted);
}
body.home-figma .hf-about-info {
    display: flex;
    flex-wrap: wrap;
    column-gap: 32px;
    padding-left: 0;
}
body.home-figma .hf-about-info .about-info-item {
    margin-top: 40px;
}
body.home-figma .hf-about-info .about-info-item small {
    display: block;
    font-size: var(--fs-14);
    line-height: 30px;
}
body.home-figma .hf-about-info .about-info-item b {
    display: block;
    font-size: var(--fs-16);
    line-height: 30px;
}

/* Counter circles: Flexbox refactor based on design */
body.home-figma .hf-about .about-counter-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 435px;
    margin: 0 auto;
    gap: 0;
}
body.home-figma .hf-about .stats-row {
    display: flex;
    width: 100%;
    align-items: center;
}
body.home-figma .hf-about .top-row {
    justify-content: center;
}
body.home-figma .hf-about .bottom-row {
    justify-content: space-between;
    position: relative;
    margin-top: -10px; /* Slight overlap for snug fit */
}

body.home-figma .hf-about .counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 207px;
    height: 207px;
    margin: 0;
    padding: 0 20px;
    border: 1px solid var(--hf-line);
    border-radius: 50%;
    text-align: center;
    background-color: var(--hf-page);
    z-index: 1;
}
/* Specific sizing overrides as in original */
body.home-figma .hf-about .bottom-row .counter-item:first-child { width: 205px; height: 205px; }
body.home-figma .hf-about .bottom-row .counter-item:last-child { width: 198px; height: 202.5px; }

body.home-figma .hf-about .counter-item .count-text {
    display: block;
    margin-bottom: 18px;
    font-size: var(--fs-45);
    line-height: 45px;
}
body.home-figma .hf-about .bottom-row .counter-item:first-child .count-text { font-size: var(--fs-64); line-height: 43px; margin-bottom: 14px; }
body.home-figma .hf-about .bottom-row .counter-item:last-child .count-text { font-size: var(--fs-50); line-height: 45.4px; }

body.home-figma .hf-about .counter-item .counter-title {
    display: block;
    font-size: var(--fs-17);
    line-height: 27px;
    color: var(--color-white);
}

body.home-figma .hf-about .play-button-wrapper {
    position: absolute;
    left: 50%;
    top: 8%;
    transform: translate(-50%, -50%);
    z-index: 3;
}
body.home-figma .hf-about .counter-logo {
    width: 126px;
    height: 126px;
    line-height: 126px;
}
body.home-figma .hf-about .counter-logo img {
    width: 126px;
    height: 126px;
}

/* --------------------------------------------------------------------------
   4. Resume + the small ticker that sits inside its black band
   -------------------------------------------------------------------------- */
body.home-figma .hf-resume {
    padding: 185px 0 62px;
    background-color: var(--hf-coal);
}
body.home-figma .hf-ticker {
    margin: 0;
    padding: 12px 0;
    background-color: var(--hf-black);
}
body.home-figma .hf-ticker--resume {
    padding: 0 0 48px;
    background-color: var(--hf-coal);
}
body.home-figma .hf-ticker .marquee-item {
    font-size: var(--fs-20);
    line-height: 30px;
}

/* --------------------------------------------------------------------------
   5. Recent Highlights (projects-area-four)
   -------------------------------------------------------------------------- */
body.home-figma .hf-projects {
    padding: 135px 0 42px;
    background-color: var(--hf-panel);
}
body.home-figma .hf-projects .project-item.style-four {
    position: relative;
    margin-bottom: 50px;
}
body.home-figma .hf-projects .project-item.style-four .image img {
    display: block;
    width: 100%;
}
body.home-figma .hf-projects .project-item.style-four .content {
    position: absolute;
    top: auto;
    right: auto;
    left: 20px;
    bottom: 25px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
body.home-figma .hf-projects .project-item.style-four .content .title {
    min-width: 243px;
    margin: 0;
    padding: 7px 15px;
    font-size: var(--fs-20);
    line-height: 28px;
    font-weight: 700;
    background-color: var(--hf-lime);
}
body.home-figma .hf-projects .project-item.style-four .content .title a {
    color: var(--hf-ink);
}
body.home-figma .hf-projects .project-item.style-four .content .sub-title {
    padding: 6px 15px;
    font-size: var(--fs-17);
    line-height: 30px;
    color: rgba(255, 255, 255, 0.6);
    background-color: var(--hf-ink);
}
body.home-figma .hf-resume-cta {
    text-align: right;
}
body.home-figma .hf-more-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

/* --------------------------------------------------------------------------
   6. Creative Toolkit (skills)
   -------------------------------------------------------------------------- */
body.home-figma .hf-skill {
    padding: 80px 0 63px;
    background-color: var(--hf-page);
}
body.home-figma .hf-skill .section-title {
    margin-bottom: 60px;
}
body.home-figma .hf-skill-art {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
body.home-figma .hf-skill-art .hf-skill-man {
    width: 289px;
    max-width: 62%;
    height: auto;
    margin-left: 0;
}
body.home-figma .hf-skill-art .hf-skill-arrow {
    width: 125px;
    max-width: 30%;
    height: auto;
    margin-right: 38px;
}
body.home-figma .hf-skill .skill-wrap-two {
    padding-left: 97px;
}
body.home-figma .hf-skill-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 40px;
}

/* --- Clean Grid Item Layout --- */
body.home-figma .hf-skill-grid .skill-item-two {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers the whole block */
    width: auto;
    padding: 0;
    margin: 0;
    text-align: center;
}

body.home-figma .hf-skill-grid .skill-item-two .icon-percent {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px; /* Space before the text title */
}

/* --- Icon Sizing --- */
body.home-figma .hf-skill-grid .skill-item-two .icon-percent img {
    height: 70px; /* Increased size for desktop */
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

body.home-figma .hf-skill-grid .skill-item-two .icon-percent .percent {
    color: var(--hf-lime);
    font-size: var(--fs-20);
    font-weight: 700;
    line-height: 1;
}

/* --- Title Text (No Pill Borders) --- */
body.home-figma .hf-skill-grid .skill-item-two .title {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none; /* Removes the pill */
    background: transparent;
    font-size: var(--fs-14);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-white);
    text-align: center;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   7. Awards
   -------------------------------------------------------------------------- */
body.home-figma .hf-awards {
    padding: 104px 0 103px;
    background-color: var(--hf-panel);
}
body.home-figma .hf-awards .section-title {
    margin-bottom: 35px;
}
body.home-figma .hf-awards .award-box {
    height: 284px;
    padding: 56px 36px 46px 46px;
}

/* --------------------------------------------------------------------------
   8. Client logos (now above Featured Works)
   -------------------------------------------------------------------------- */
body.home-figma .hf-clients {
    padding: 25px 0 54px;
    background-color: var(--hf-black);
}
body.home-figma .hf-clients .client-logo-wrap {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    row-gap: 60px;
    max-width: 1164px;
    margin: 0 auto;
    padding: 40px 0 30px;
}
body.home-figma .hf-clients .client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 15px;
}
body.home-figma .hf-clients .client-logo-item img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(205px, 100%);
    max-height: 96px;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   9. Featured Works
   -------------------------------------------------------------------------- */
body.home-figma .hf-works {
    padding: 95px 0 105px;
    background-color: var(--hf-page);
}
body.home-figma .hf-works .project-filter {
    margin-bottom: 50px;
}
body.home-figma .hf-works .project-details-btn {
    margin-top: 30px;
}

/* --------------------------------------------------------------------------
   10. Big outlined tickers
   -------------------------------------------------------------------------- */
body.home-figma .hf-big-ticker {
    background-color: var(--hf-coal);
}
body.home-figma .hf-big-ticker--lab {
    padding: 43px 0 38px;
}
body.home-figma .hf-big-ticker--footer {
    padding: 60px 0 0;
}
body.home-figma .hf-big-ticker .marquee-wrap.style-two {
    padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   11. Innovation Lab
   -------------------------------------------------------------------------- */
body.home-figma .hf-lab {
    padding: 97px 0;
    background-color: var(--hf-panel);
    border-bottom: 0;
}
body.home-figma .hf-lab .service-item-two .icon img {
    width: 40px;
    height: 40px;
}

/* --------------------------------------------------------------------------
   12. Blog
   -------------------------------------------------------------------------- */
body.home-figma .hf-blog {
    padding: 105px 0 83px;
    background-color: var(--hf-page);
}
body.home-figma .hf-blog .blog-item-two .image img {
    width: 100%;
    aspect-ratio: 380 / 349.11;
    object-fit: cover;
    filter: grayscale(1);
}
body.home-figma .hf-blog .blog-item-two .content .title {
    font-size: var(--fs-26);
    line-height: 39px;
}
body.home-figma .hf-blog .project-details-btn {
    margin-top: 30px;
}

/* --------------------------------------------------------------------------
   13. Contact
   -------------------------------------------------------------------------- */
body.home-figma .hf-contact {
    padding: 68px 0 69px;
    background-color: var(--hf-black);
}
body.home-figma .hf-contact-content .section-title {
    margin-bottom: 25px;
}
body.home-figma .hf-contact-content h3 {
    margin-bottom: 24px;
    font-size: var(--fs-30);
    line-height: 39px;
}
body.home-figma .hf-contact-content h5 {
    gap: 10px;
    margin-bottom: 18px;
    font-size: var(--fs-22);
    line-height: 30.8px;
    font-weight: 700;
}
body.home-figma .hf-contact-content h5 img {
    width: 25px;
    height: 25px;
    margin: 0;
}
body.home-figma .hf-contact-more {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    text-decoration: none;
}
body.home-figma .hf-contact-more-text {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: var(--fs-64);
    line-height: 78px;
    color: var(--color-white);
}
body.home-figma .hf-contact-more .arrow {
    display: inline-flex;
    font-size: var(--fs-100);
    line-height: 1;
    color: var(--hf-lime);
    transform: rotate(-45deg);
}
body.home-figma .hf-contact .contact-form-two {
    padding: 60px 43px 43px;
    background-color: var(--hf-coal);
    border-radius: 6px;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
body.home-figma .hf-footer {
    padding: 70px 0 0;
    background-color: var(--hf-coal);
}
body.home-figma .hf-footer-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(0, auto);
    grid-template-areas:
        "logo nav"
        "text social";
    align-items: center;
    row-gap: 10px;
    column-gap: 30px;
    padding-bottom: 78px;
}
body.home-figma .hf-footer .footer-widget {
    margin: 0;
}
body.home-figma .hf-footer-logo { grid-area: logo; }
body.home-figma .hf-footer-nav { grid-area: nav; }
body.home-figma .hf-footer-text { grid-area: text; }
body.home-figma .hf-footer-social { grid-area: social; justify-self: end; }
body.home-figma .hf-footer-logo .logo img {
    width: 170px;
    height: auto;
}
body.home-figma .hf-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin: 0 -22px 0 0;
    padding: 0;
    list-style: none;
}
body.home-figma .hf-footer-nav li {
    margin: 0;
    padding: 0 22px;
}
body.home-figma .hf-footer-nav a {
    font-family: 'DM Sans', sans-serif;
    font-size: var(--fs-16);
    line-height: 30px;
    color: rgba(255, 255, 255, 0.65);
}
body.home-figma .hf-footer-nav a:hover {
    color: var(--hf-lime);
}
body.home-figma .hf-footer-text .text {
    max-width: 460px;
    padding: 0;
    font-size: var(--fs-16);
    line-height: 30px;
    color: rgba(255, 255, 255, 0.65);
}
body.home-figma .hf-footer-social .social-flow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
}
body.home-figma .hf-footer-social h4 {
    margin: 0;
    font-size: var(--fs-24);
    line-height: 26.4px;
}
body.home-figma .hf-footer-bottom {
    padding: 30px 0 31px;
    background-color: var(--hf-black);
    border-top: 1px solid var(--hf-coal);
}
body.home-figma .hf-footer-bottom p {
    margin: 0;
    font-size: var(--fs-16);
    line-height: 30px;
    color: var(--color-white);
}
body.home-figma .hf-footer-bottom a {
    color: var(--hf-lime);
}

/* ==========================================================================
   TABLET  (Figma 1024 frame)  — 768px to 1199px
   ========================================================================== */
@media (max-width: 1199.98px) {
    body.home-figma .main-header .container-1620 {
        padding-left: 44px;
        padding-right: 44px;
    }
    body.home-figma .main-menu .navigation > li {
        padding: 25px 10px;
    }
    body.home-figma .main-header .menu-btns .theme-btn {
        margin-left: 20px;
        padding: 7.135px 24.974px;
        font-size: var(--fs-12);
        line-height: 21.406px;
        letter-spacing: 1.82px;
        border-radius: 10.703px;
    }

    /* Hero: 146 -> 862 on the 1024 canvas */
    body.home-figma .hf-hero {
        padding-top: 54px;
        height: 770px;
    }
    body.home-figma .hf-hero-stage {
        height: 716px;
    }
    body.home-figma .hf-hero-sub {
        left: 0;
    }
    body.home-figma .hf-hello {
        top: 20px;
        left: -13px;
        font-size: var(--fs-164);
        letter-spacing: 0;
    }
    body.home-figma .hf-im {
        top: 58px;
        left: 593px;
        font-size: var(--fs-82);
        line-height: 180px;
    }
    body.home-figma .hf-name {
        top: 183px;
        right: 0;
        font-size: var(--fs-82);
        line-height: 90px;
        letter-spacing: 10px;
        text-decoration: none;
    }
    body.home-figma .hf-designation {
        top: 470px;
        left: 74px;
        font-size: var(--fs-50);
        line-height: 58.591px;
    }
    body.home-figma .hf-author {
        top: -4px;
        width: 620px;

    }
    body.home-figma .hero-area-two .hf-scroll-down {
        left: 39%;
        width: 225px;
        bottom: -73px;
    }

    /* About */
    body.home-figma .hf-about {
        padding: 95px 0 53px;
    }
    body.home-figma .hf-about .section-title h2 {
        max-width: 503px;
    }
    body.home-figma .hf-about-info {
        padding-left: 0;
        column-gap: 36px;
    }

    /* Resume */
    body.home-figma .hf-resume {
        padding-bottom: 72px;
    }
    body.home-figma .hf-resume .resume-box-wrap.mt-110 {
        margin-top: 75px;
    }
    body.home-figma .hf-ticker--resume {
        padding-bottom: 30px;
    }

    /* Projects */
    body.home-figma .hf-projects {
        padding-bottom: 100px;
    }

    /* Skills */
    body.home-figma .hf-skill {
        padding: 69px 0 27px;
    }
    body.home-figma .hf-skill .section-title h2 {
        max-width: 220px;
    }
    body.home-figma .hf-skill .skill-wrap-two {
        padding-left: 0;
    }
    body.home-figma .hf-skill-art .hf-skill-man {
        width: 240px;
        max-width: 70%;
    }
    body.home-figma .hf-skill-art .hf-skill-arrow {
        margin-right: 0;
    }
    body.home-figma .hf-skill-grid .skill-item-two {
        padding: 0 10px;
    }
    body.home-figma .hf-skill-grid .skill-item-two .title {
        white-space: normal;
    }

    /* Awards */
    body.home-figma .hf-awards {
        padding: 45px 0 50px;
    }
    body.home-figma .hf-awards .award-box {
        height: auto;
        min-height: 322px;
        padding: 56px 30px 46px 34px;
    }

    /* Clients */
    body.home-figma .hf-clients {
        padding-bottom: 31px;
    }
    body.home-figma .hf-clients .client-logo-wrap {
        max-width: 920px;
        row-gap: 40px;
    }
    body.home-figma .hf-clients .client-logo-item img {
        max-width: min(160px, 100%);
        max-height: 78px;
    }

    /* Works, tickers, lab, blog */
    body.home-figma .hf-works {
        padding: 55px 0 55px;
    }
    body.home-figma .hf-big-ticker--lab {
        padding: 60px 0 0;
    }
    body.home-figma .hf-lab {
        padding: 107px 0 106px;
    }
    body.home-figma .hf-blog {
        padding: 77px 0 57px;
    }

    /* Contact */
    body.home-figma .hf-contact-more {
        gap: 50px;
    }

    /* Footer */
    body.home-figma .hf-footer-grid {
        padding-bottom: 84px;
    }
    body.home-figma .hf-footer-bottom {
        padding: 16px 0 15px;
    }
}

/* Applied at every width (these previously leaked out of the 991px block via a stray "}" —
   kept global so the desktop look is unchanged). */
body.home-figma .hf-about .about-counter-wrap {
    margin-top: 50px;
}
body.home-figma .hf-skill-grid .skill-item-two .icon-percent {
    width: 120px !important;
    height: 120px !important;
}
body.home-figma .hf-skill-grid .skill-item-two .icon-percent img {
    width: 50px;
    height: 50px;
}
body.home-figma .hf-skill-grid .skill-item-two .icon-percent .percent {
    font-size: var(--fs-18) !important;
}

/* ==========================================================================
   SMALL TABLET  768px – 991px  (keeps the tablet look, single-column hero art)
   ========================================================================== */
@media (max-width: 991.98px) {
    body.home-figma .hf-hello { font-size: var(--fs-140); }
    body.home-figma .hf-im { left: auto; right: 220px; font-size: var(--fs-70); }
    body.home-figma .hf-name { font-size: var(--fs-70); }
    body.home-figma .hf-designation { font-size: var(--fs-40); line-height: 50px; }
    body.home-figma .hf-author { width: 560px; max-width: 100%;}
    body.home-figma .hf-author video.hero-video {
            width: 100%;
            height: auto;
            object-fit: contain;
        }
}

/* ==========================================================================
   MOBILE  (Figma 390 frame)  — up to 767px
   ========================================================================== */
@media (max-width: 767.98px) {
    body.home-figma {
        --hf-header-h: var(--header-h);
    }
    body.home-figma .main-header .container-1620 {
        padding-left: 12px;
        padding-right: 12px;
    }
    body.home-figma .main-header .header-inner {
        min-height: 66px;
    }
    body.home-figma .main-header .logo img,
    body.home-figma .main-header .mobile-logo img {
        width: 130px;
    }
    body.home-figma .main-header .menu-btns {
        display: none !important;
    }

    /* Hero: 72 -> 522 on the 390 canvas */
    body.home-figma .hf-hero {
        padding-top: 25px;
        height: 444px;
    }
    body.home-figma .hf-hero .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    body.home-figma .hf-hero-stage {
        height: 419px;
    }
    body.home-figma .hf-hero-sub {
        left: 0;
        font-size: var(--fs-17);
    }
    body.home-figma .hf-hello {
        top: 37px;
        left: 0;
        font-size: var(--fs-56);
        line-height: 35.1px;
        letter-spacing: 0;
    }
    body.home-figma .hf-im {
        top: 47px;
        left: 239px;
        right: auto;
        font-size: var(--fs-30);
        line-height: 35.1px;
    }
    body.home-figma .hf-name {
        top: 83px;
        right: 17px;
        font-size: var(--fs-30);
        line-height: 19.5px;
        letter-spacing: 0;
        text-decoration: underline;
    }
    body.home-figma .hf-designation {
        top: 240px;
        left: 10px;
        width: 343px;
        max-width: calc(100% - 10px);
        padding: 5.293px 12.35px;
        border-radius: 21.172px;
        font-size: var(--fs-28);
        line-height: 31.758px;
        -webkit-backdrop-filter: blur(3.53px);
        backdrop-filter: blur(3.53px);
    }
    body.home-figma .hf-author {
            top: -10px; /* Adjust this slightly up or down if the video covers the text */
            width: 366px;
            max-width: 100%;
            margin: 0 auto; /* Keeps it centered */
        }

        body.home-figma .hf-author video.hero-video {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    body.home-figma .hero-area-two .hf-scroll-down {
        left: 50%;
        bottom: 0;
        width: 128.7px;
        transform: translateX(-50%);
    }

    /* About */
    body.home-figma .hf-about {
        padding: 47px 0 21px;
    }
    body.home-figma .hf-about .section-title {
        margin-bottom: 21px;
    }
    body.home-figma .hf-about .section-title h2 {
        font-size: var(--fs-30);
        line-height: 40.8px;
    }
    body.home-figma .hf-about-info {
        display: grid;
        grid-template-columns: 122px 1fr;
        row-gap: 8px;
        padding-left: 0;
        margin-top: 0;
    }
    body.home-figma .hf-about-info .about-info-item {
        margin-top: 0;
    }

    /* Counter circles: Flexbox scaling for mobile */
    body.home-figma .hf-about .about-counter-wrap {
        max-width: 366px;
        margin: 53px auto 0;
    }
    body.home-figma .hf-about .counter-item,
    body.home-figma .hf-about .bottom-row .counter-item:first-child,
    body.home-figma .hf-about .bottom-row .counter-item:last-child {
        width: 168px;
        height: 168px;
    }
    body.home-figma .hf-about .counter-item .count-text,
    body.home-figma .hf-about .bottom-row .counter-item .count-text {
        margin-bottom: 10px;
        font-size: var(--fs-50);
        line-height: 50px;
    }
    body.home-figma .hf-about .counter-item .counter-title {
        font-size: var(--fs-16);
        line-height: 30px;
    }
    body.home-figma .hf-about .counter-logo {
        width: 117px;
        height: 117px;
        line-height: 117px;
    }
    body.home-figma .hf-about .counter-logo img {
        width: 117px;
        height: 117px;
    }

    /* Resume */
    body.home-figma .hf-resume {
        padding: 105px 0 108px;
    }
    body.home-figma .hf-resume-cta {
        order: -1;
        text-align: left;
    }
    body.home-figma .hf-resume-cta .theme-btn {
        margin-bottom: 30px;
    }
    body.home-figma .hf-resume .section-title h2 {
        font-size: var(--fs-30);
        line-height: 40px;
    }
    body.home-figma .hf-ticker--resume {
        padding-bottom: 30px;
    }

    /* Projects */
    body.home-figma .hf-projects {
        padding: 100px 0 70px;
    }
    body.home-figma .hf-projects .project-item.style-four .content {
        left: 12px;
        bottom: 18px;
    }
    body.home-figma .hf-projects .project-item.style-four .content .title {
        min-width: 0;
        width: 240px;
    }

    /* Skills */
    body.home-figma .hf-skill {
        padding: 100px 0 23px;
    }
    body.home-figma .hf-skill .section-title {
        margin-bottom: 60px;
    }
    body.home-figma .hf-skill .section-title h2 {
        max-width: none;
    }
    body.home-figma .hf-skill-art {
        margin-bottom: 48px;
    }
    body.home-figma .hf-skill-art .hf-skill-man {
        width: 234px;
        max-width: 64%;
    }
    body.home-figma .hf-skill-art .hf-skill-arrow {
        width: 102px;
    }
    body.home-figma .hf-skill-grid {
        row-gap: 44px;
    }
    body.home-figma .hf-skill-grid .skill-item-two {
        padding: 0 15px;
    }
    body.home-figma .hf-skill-grid .skill-item-two .icon-percent {
        max-width: none;
    }
    body.home-figma .hf-skill-grid .skill-item-two .title {
        padding: 9px 6px;
        font-size: var(--fs-18);
        line-height: 28px;
    }

    /* Awards */
    body.home-figma .hf-awards {
        padding: 44px 0 41px;
    }
    body.home-figma .hf-awards .section-title {
        margin-bottom: 54px;
    }
    body.home-figma .hf-awards .section-title h2 {
        font-size: var(--fs-30);
        line-height: 41px;
    }
    body.home-figma .hf-awards .award-box {
        min-height: 0;
        padding: 56px 36px 46px;
    }

    /* Clients ticker */
    body.home-figma .hf-ticker--clients {
        padding: 7.5px 0;
    }

    /* Clients */
    body.home-figma .hf-clients {
        padding: 25px 0 21px;
    }
    body.home-figma .hf-clients .client-logo-wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-rows: 75px;
        row-gap: 21px;
        padding: 13px 0 0;
    }
    body.home-figma .hf-clients .client-logo-item:last-child {
        grid-column: 2;
    }
    body.home-figma .hf-clients .client-logo-item {
        padding: 0 8px;
    }
    body.home-figma .hf-clients .client-logo-item img {
        max-width: min(82px, 100%);
        max-height: 70px;
    }

    /* Works */
    body.home-figma .hf-works {
        padding: 45px 0 59px;
    }
    body.home-figma .hf-works .project-masonry-active > .item {
        padding-left: 32px;
        padding-right: 32px;
    }
    body.home-figma .hf-works .card-demo {
        margin-bottom: 21px;
    }

    /* Tickers */
    body.home-figma .hf-big-ticker--lab {
        padding: 60px 0 0;
    }
    body.home-figma .hf-big-ticker--footer {
        padding: 22px 0 7px;
    }

    /* Lab */
    body.home-figma .hf-lab {
        padding: 60px 0 75px;
    }

    /* Blog */
    body.home-figma .hf-blog {
        padding: 59px 0 49px;
    }
    body.home-figma .hf-blog .blog-item-two .content .title {
        font-size: var(--fs-24);
        line-height: 36px;
    }

    /* Contact */
    body.home-figma .hf-contact {
        padding: 45px 0 40px;
    }
    body.home-figma .hf-contact-content {
        margin-bottom: 40px;
    }
    body.home-figma .hf-contact-content h2 {
        font-size: var(--fs-30);
        line-height: 40px;
    }
    body.home-figma .hf-contact-content h3 {
        font-size: var(--fs-26);
    }
    body.home-figma .hf-contact-more {
        gap: 20px;
        margin-top: 20px;
    }
    body.home-figma .hf-contact-more .arrow {
        font-size: var(--fs-64);
    }
    body.home-figma .hf-contact .contact-form-two {
        padding: 40px 30px 30px;
    }

    /* Footer: centred stack */
    body.home-figma .hf-footer {
        padding-top: 35px;
    }
    body.home-figma .hf-footer-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "nav"
            "text"
            "social";
        justify-items: center;
        text-align: center;
        row-gap: 18px;
        padding-bottom: 60px;
    }
    body.home-figma .hf-footer-nav ul {
        justify-content: center;
        margin: 0;
        max-width: 330px;
        column-gap: 0;
    }
    body.home-figma .hf-footer-social {
        justify-self: center;
    }
    body.home-figma .hf-footer-social .social-flow {
        justify-content: center;
        gap: 25px;
    }
}

/* TABLET / SMALL DESKTOP */
@media (max-width: 1199.98px) {
    body.home-figma .hf-skill-grid .skill-item-two .icon-percent img {
        height: 60px;
    }
}

/* SMALL TABLET */
@media (max-width: 991.98px) {
    body.home-figma .hf-skill-grid .skill-item-two .icon-percent img {
        height: 50px;
    }
    body.home-figma .hf-skill-grid .skill-item-two .icon-percent .percent {
        font-size: var(--fs-18);
    }
}

/* MOBILE */
@media (max-width: 767.98px) {
    body.home-figma .hf-skill-grid .skill-item-two .icon-percent img {
        height: 45px;
    }
    body.home-figma .hf-skill-grid .skill-item-two .title {
        font-size: var(--fs-12);
        white-space: normal;
    }
}

/* ==========================================================================
   MOBILE HERO — fluid version of the Figma 390 frame (node 775:159351)
   Every value below is the Figma px value × --u, where --u = 1px at a 390px
   viewport. The stage scales proportionally (capped at 480px wide) and stays
   centred, so the composition matches Figma on any phone width.
   ========================================================================== */
@media (max-width: 767.98px) {
    body.home-figma .hf-hero {
        --u: calc(min(100vw, 480px) / 390);
        padding-top: calc(25 * var(--u));
        height: calc(444 * var(--u));
    }
    body.home-figma .hf-hero .container {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }
    body.home-figma .hf-hero-stage {
        width: calc(366 * var(--u));
        height: calc(419 * var(--u));
        margin: 0 auto;
    }
    body.home-figma .hf-hero-sub {
        top: 0;
        left: 0;
        gap: calc(10 * var(--u));
        font-size: calc(17 * var(--u));
        line-height: calc(30 * var(--u));
        white-space: nowrap;
    }
    body.home-figma .hf-hero-sub img {
        width: calc(15 * var(--u));
        height: calc(15 * var(--u));
    }
    body.home-figma .hf-hello {
        top: calc(37 * var(--u));
        left: 0;
        font-size: calc(56 * var(--u));
        line-height: calc(35.1 * var(--u));
        letter-spacing: 0;
    }
    body.home-figma .hf-im {
        top: calc(47 * var(--u));
        left: calc(239 * var(--u));
        right: auto;
        font-size: calc(30.6 * var(--u));
        line-height: calc(35.1 * var(--u));
    }
    body.home-figma .hf-name {
        top: calc(83 * var(--u));
        right: calc(17 * var(--u));
        font-size: calc(29.5 * var(--u));
        line-height: calc(19.5 * var(--u));
        letter-spacing: 0;
        text-decoration: underline;
    }
    body.home-figma .hf-designation {
        top: calc(240 * var(--u));
        left: calc(10 * var(--u));
        width: auto;
        max-width: none;
        gap: calc(5.293 * var(--u));
        padding: calc(5.293 * var(--u)) calc(12.35 * var(--u));
        border-radius: calc(21.172 * var(--u));
        font-size: calc(27.422 * var(--u));
        line-height: calc(31.758 * var(--u));
    }
    body.home-figma .hf-author {
        top: calc(-16.4 * var(--u));
        left: 50%;
        width: calc(366 * var(--u));
        max-width: none;
        margin: 0;
        transform: translateX(-50%);
    }
    body.home-figma .hero-area-two .hf-scroll-down {
        left: 50%;
        bottom: 0;
        width: calc(128.7 * var(--u));
        transform: translateX(-50%);
    }
}

/* Work & Education: "work" / "study" headings link to the CV sections */
.timeline-heading a.title { color: inherit; text-decoration: none; }
.timeline-heading a.title:hover, .timeline-heading a.title:focus-visible { color: var(--color-brand); }

/* Homepage introduction actions: annotations apply across widths, with wrapping retained. */
body.home-figma .hf-about .hf-intro-actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 16px;
    width: fit-content;
    max-width: 100%;
    padding: 0;
    margin-bottom: 0;
}
body.home-figma .hf-about .hf-intro-actions > .theme-btn { margin: 0; }
body.home-figma .hf-about .hf-intro-actions > .theme-btn:first-child {
    padding-left: 18px;
    padding-right: 18px;
}
body.home-figma .hf-lab .service-item-two .icon .hf-generative-icon { height: 44px; }

/* Homepage FAQ annotations; other FAQ pages keep their own layout. */
body.home-figma:not(.inner-page) #faq { background-color: #0f1416; }
body.home-figma:not(.inner-page) #faq > .container {
    padding-left: clamp(15px, calc(26.724vw - 190.24px), 170px);
    padding-right: clamp(15px, calc(26.724vw - 190.24px), 170px);
}
body.home-figma:not(.inner-page) #faq .faq-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
body.home-figma:not(.inner-page) #faq .faq-eyebrow-icon { flex: none; }

/* Scoped homepage annotation refinements. */
body.home-figma .hf-about .hf-intro-actions > .theme-btn:nth-child(2) { padding-left:15px; padding-right:15px; }
body.home-figma .hf-skill-arrow-art { display:inline-flex; flex:none; margin-right:38px; }
body.home-figma .hf-skill-arrow-art img { max-width:none; }
body.home-figma .hf-projects .hf-project-more-col { padding-top:116px; padding-left:42px; padding-right:42px; }
body.home-figma .hf-works > .container > .project-filter { column-gap:10px; }
body.home-figma:not(.inner-page) #faq .faq-more { margin:60px 62px 0 44px; }
body.home-figma:not(.inner-page) #faq .faq-more > .theme-btn { padding-left:30px; padding-right:30px; margin-left:325px; margin-right:325px; }
@media (max-width: 1199.98px) {
 body.home-figma:not(.inner-page) #faq .faq-more { margin-left:0; margin-right:0; text-align:center; }
 body.home-figma:not(.inner-page) #faq .faq-more > .theme-btn { margin-left:0; margin-right:0; }
}
body.home-figma .contact-form-two .hf-home-submit {
    width:324px; max-width:100%; height:50px; padding:10px 35px;
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    border:0; border-radius:15px; background:var(--color-brand); color:var(--color-ink);
    font-family:'Inter',sans-serif; font-size:var(--fs-16); font-weight:600; line-height:30px;
    letter-spacing:0; text-transform:none;
}
body.home-figma .contact-form-two .hf-home-submit i { margin:0; font-size:var(--fs-16); line-height:16px; }
body.home-figma .contact-form-two .hf-home-submit:hover { opacity:.9; }
body.home-figma .contact-form-two .hf-home-submit:disabled { opacity:.7; cursor:wait; }
body.home-figma .hf-required-note { color:var(--hf-muted); font-size:var(--fs-13); margin-bottom:16px; }
body.home-figma .contact-form-two .form-status { margin:14px 0 0; font-size:var(--fs-14); line-height:1.5; }
body.home-figma .contact-form-two .form-status.bad { color:var(--color-error-soft); }
body.home-figma .contact-form-two .form-status.ok { color:var(--hf-lime); }
body.home-figma .contact-form-two .form-group.invalid .form-control { border-color:var(--color-error-soft); }
@media (max-width: 991.98px) { body.home-figma .hf-skill-arrow-art { margin-right:0; } }
@media (max-width: 767.98px) { body.home-figma .hf-projects .hf-project-more-col { padding-top:32px; padding-left:15px; padding-right:15px; } }

/* Toolkit assets: gray default and Figma color hover/focus state. */
body.home-figma .hf-tool-icon { position:relative; display:block; width:55px; height:55px; margin:0 auto; }
body.home-figma .icon-percent .hf-tool-icon img { position:absolute; inset:0; width:55px; height:55px; object-fit:contain; margin:0; transition:opacity .2s; }
body.home-figma .hf-tool-hover { opacity:0; }
body.home-figma .skill-item-two:hover .hf-tool-default, body.home-figma .skill-item-two:focus-within .hf-tool-default { opacity:0; }
body.home-figma .skill-item-two:hover .hf-tool-hover, body.home-figma .skill-item-two:focus-within .hf-tool-hover { opacity:1; }
@media(max-width: 767.98px) {
 body.home-figma .hf-contact .contact-form-two { background:var(--color-coal); border-radius:6px; padding:60px 43px 43px; }
 body.home-figma .hf-contact .contact-form-two .form-group { margin-bottom:45px; }
 body.home-figma .hf-contact .contact-form-two input { height:55px; padding-left:30px; border-radius:5px; }
 body.home-figma .hf-contact .contact-form-two textarea { height:178px; padding-left:30px; border-radius:5px; }
 body.home-figma .hf-contact .contact-form-two .form-group.mb-0 { margin-bottom:0; }
 body.home-figma .hf-contact .contact-form-two .hf-home-submit { width:100%; }
 body.home-figma .hf-contact .contact-form-two .form-required-note { margin-bottom:24px; }
}
@media(max-width: 375px) { body.home-figma .hf-contact .contact-form-two { padding-left:24px; padding-right:24px; } }
