@media (min-width: 992px) {
    .offcanvas {
        display: none !important;
    }
    .tcar-slide {
        flex-basis: 33.3333%
    }
}

@media(max-width:991px) {
    .offcanvas {
        width: 320px !important;
        max-width: 85vw !important;
    }
    .bento {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 170px
    }
    .b1 {
        grid-column: 1/3;
        grid-row: auto
    }
    .b2,
    .b3 {
        grid-column: auto;
        grid-row: auto
    }
    .b4,
    .b5,
    .b6 {
        grid-column: 1/3;
        grid-row: auto
    }
    .hero {
        padding-top: 3rem
    }
    .hero-content {
        padding: 1rem 0 2.5rem;
        text-align: center
    }
    .hero .lead {
        margin-left: auto;
        margin-right: auto
    }
    .hero-cta {
        justify-content: center
    }
    .hero-figure {
        min-height: auto;
        margin-top: 1.5rem
    }
    .hero-stage {
        margin: 0 auto;
        width: min(420px, 86%)
    }
    .hero-orb {
        transform: translate(20px, 20px)
    }
    .hero-gear {
        display: none
    }
    .hero-eq {
        height: 80px
    }
    .gbp-grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: .8rem;
        -webkit-overflow-scrolling: touch
    }
    .gbp-card {
        scroll-snap-align: center
    }
    .crv-grid {
        grid-template-columns: repeat(2, 1fr)
    }
    .count-item:not(:last-child)::after {
        display: none;
    }
    .count-item:nth-child(odd)::after {
        content: "";
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 55px;
        background: var(--line);
    }
    .count-item:nth-child(-n+2)::before {
        content: "";
        position: absolute;
        left: 15px;
        right: 15px;
        bottom: -8px;
        height: 1px;
        background: var(--line);
    }
    .blog-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:767px) {
    /* .timeline::before {
        left: 7px
    }
    .tl-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 1.1rem 0 1.1rem 2.4rem
    }
    .tl-item:nth-child(odd),
    .tl-item:nth-child(even) {
        left: 0;
        text-align: left
    }
    .tl-item::after {
        left: 0;
        right: auto
    } */
    .pf-feature {
        grid-template-columns: 1fr
    }
    .pf-fbody {
        padding: 2rem
    }
    .tcar-slide {
        flex-basis: 50%
    }
    .play-btn {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }
    .blog-mini {
        grid-template-columns: 1fr
    }
    .blog-mini-media {
        aspect-ratio: 16/9;
        min-height: 0
    }
    .calendly-float {
        right: -60px;
        padding: 8px 12px;
        font-size: 12px;
    }
    .hero-badge-float {
        top: -45px;
    }
    .page-banner {
        min-height: 280px;
        padding: 6rem 0 3rem;
    }
    .page-banner-img {
        object-position: 70% center;
        opacity: .5;
    }
    .page-banner-overlay {
        background: linear-gradient(180deg, rgba(8, 10, 15, .75), rgba(8, 10, 15, .55));
    }
}

@media(max-width:575px) {
    .bento {
        grid-template-columns: 1fr;
        grid-auto-rows: auto
    }
    .b1,
    .b2,
    .b3,
    .b4,
    .b5,
    .b6 {
        grid-column: auto;
        grid-row: auto;
        min-height: 168px
    }
    .video-close {
        top: 8px;
        right: 8px
    }
    .crv-grid {
        grid-template-columns: 1fr
    }
    .count-num {
        font-size: 2.2rem;
    }
    .count-item p {
        font-size: 10px;
    }
    .count-item:nth-child(odd)::after {
        height: 45px;
    }
    .tcar-slide {
        flex-basis: 100%;
    }
    .blog-feature-body h3 {
        font-size: 1.3rem
    }
}


/* =========================================================
   ROADMAP RESPONSIVE  (moved here from style.css)
========================================================= */


/* =========================================================
   TABLET DESKTOP
========================================================= */

@media (min-width: 768px) and (max-width: 1100px) {
    .roadmap-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .roadmap-desktop {
        transform: scale(.88);
        transform-origin: top center;
        margin-bottom: -55px;
    }
    /* .roadmap-item {
        width: 270px;
    } */
    .road-content {
        width: 190px !important;
    }
    .road-content h3 {
        font-size: 14px;
    }
    .road-content p {
        font-size: 11px;
        line-height: 1.45;
    }
    .hero-badge-float {
        top: -15px;
    }
    .item-2019 {
        left: 0%;
    }
    .item-2020 {
        left: 30%;
        top: 155px;
    }
    .item-2021 {
        left: 60%;
        top: 180px;
    }
    .item-2022 {
        left: 34%;
        top: 325px;
    }
    .item-2023 {
        left: 49%;
    }
    .item-2024 {
        left: 78%;
    }
}


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

@media (max-width: 991px) {
    .g2c-roadmap {
        padding: 70px 0 50px;
    }
    .roadmap-container {
        padding: 0 20px;
    }
    /* Hide desktop */
    .roadmap-desktop {
        display: none;
    }
    /* Show mobile */
    .roadmap-mobile {
        position: relative;
        display: block;
        padding-bottom: 10px;
    }
    .mobile-road {
        position: absolute;
        top: 22px;
        bottom: 25px;
        left: 31px;
        width: 4px;
        border-radius: 10px;
        background: linear-gradient(180deg, var(--g2c-orange), var(--g2c-orange-dark));
        box-shadow: 0 0 12px rgba(255, 122, 33, .35);
        transform-origin: top;
        transform: scaleY(0);
        transition: transform 2s cubic-bezier(.65, 0, .35, 1);
    }
    .g2c-roadmap.is-visible .mobile-road {
        transform: scaleY(1);
    }
    .mobile-item {
        position: relative;
        display: grid;
        grid-template-columns: 64px 1fr;
        gap: 22px;
        min-height: 155px;
        opacity: 0;
        transform: translateY(25px);
        transition: opacity .7s ease, transform .7s ease;
    }
    .g2c-roadmap.is-visible .mobile-item {
        opacity: 1;
        transform: translateY(0);
    }
    .mobile-item:nth-child(2) {
        transition-delay: .25s;
    }
    .mobile-item:nth-child(3) {
        transition-delay: .45s;
    }
    .mobile-item:nth-child(4) {
        transition-delay: .65s;
    }
    .mobile-item:nth-child(5) {
        transition-delay: .85s;
    }
    .mobile-item:nth-child(6) {
        transition-delay: 1.05s;
    }
    .mobile-item:nth-child(7) {
        transition-delay: 1.25s;
    }
    .mobile-pin {
        position: relative;
        width: 64px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: #0b0d12;
        border: 4px solid var(--g2c-orange);
        color: #ffffff;
        font-size: 12px;
        font-weight: 800;
        line-height: 1;
        z-index: 2;
        box-shadow: 0 0 20px rgba(255, 122, 33, .3);
    }
    .mobile-pin::before {
        content: "";
        position: absolute;
        inset: 5px;
        border-radius: 50%;
        border: 1px solid rgba(255, 147, 71, .4);
    }
    .mobile-pin::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -8px;
        width: 14px;
        height: 14px;
        background: var(--g2c-orange);
        transform: translateY(-50%) rotate(45deg);
        z-index: -1;
    }
    .mobile-content {
        padding: 3px 0 30px;
    }
    .mobile-content h3 {
        margin: 0 0 7px;
        color: #ffffff;
        font-size: 18px;
        font-weight: 700;
        line-height: 1.3;
    }
    .mobile-content p {
        margin: 0;
        color: var(--g2c-muted);
        font-size: 13px;
    }
}


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

@media (prefers-reduced-motion: reduce) {
    .road-line,
    .roadmap-item,
    .mobile-road,
    .mobile-item {
        transition: none !important;
    }
}


/* =========================================================
   TEAM CTA — RESPONSIVE  (moved here from style.css)
========================================================= */


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

@media (max-width: 991px) {
    .team-cta-section {
        min-height: 500px;
    }
    .team-cta-content {
        width: calc(100% - 60px);
        min-height: 500px;
        padding: 55px 0;
        align-items: flex-start;
    }
    .team-cta-text {
        max-width: 570px;
    }
    .desktop-team-bg {
        object-position: 65% center;
    }
    .team-cta-overlay {
        background: linear-gradient(90deg, rgba(5, 7, 11, .97) 0%, rgba(5, 7, 11, .87) 38%, rgba(5, 7, 11, .50) 70%, rgba(5, 7, 11, .25) 100%);
    }
}


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

@media (max-width: 767px) {
    /*
       The section no longer tries to
       squeeze the full team photo
       into the background.
    */
    .team-cta-section {
        display: block;
        min-height: auto;
        background: #080a0f;
        overflow: hidden;
    }
    /* -----------------------------------------
       Hide desktop background
    ----------------------------------------- */
    .desktop-team-bg {
        display: none;
    }
    /* -----------------------------------------
       Remove desktop overlay
    ----------------------------------------- */
    .team-cta-overlay {
        display: none;
    }
    /* -----------------------------------------
       Hide glow on mobile
       because the photo itself will
       have the visual treatment.
    ----------------------------------------- */
    .team-cta-glow {
        display: none;
    }
    /* -----------------------------------------
       CONTENT
    ----------------------------------------- */
    .team-cta-content {
        width: 100%;
        min-height: auto;
        padding: 55px 25px 45px;
        display: block;
        background: linear-gradient(180deg, #080a0f 0%, #080a0f 88%, rgba(8, 10, 15, .96) 100%);
    }
    .team-cta-text {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }
    /* -----------------------------------------
       EYEBROW
    ----------------------------------------- */
    .eyebrow-light {
        margin-bottom: 14px;
        font-size: .68rem;
        padding: 6px 12px;
    }
    /* -----------------------------------------
       HEADING
    ----------------------------------------- */
    .team-cta-text h2 {
        margin-bottom: 15px;
        font-size: clamp(2rem, 9vw, 2.7rem);
        line-height: 1.08;
    }
    /* -----------------------------------------
       DESCRIPTION
    ----------------------------------------- */
    .team-cta-text p {
        max-width: 520px;
        margin-bottom: 24px;
        font-size: .94rem;
        line-height: 1.6;
    }
    /* -----------------------------------------
       BUTTONS
    ----------------------------------------- */
    .team-cta-actions {
        gap: 10px;
    }
    .team-cta-btn {
        min-height: 50px;
        padding: 0 21px;
        font-size: .88rem;
    }
    /* =========================================
       MOBILE TEAM IMAGE
    ========================================= */
    .mobile-team-image {
        position: relative;
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        line-height: 0;
        background: #080a0f;
        overflow: hidden;
    }
    /*
       IMPORTANT:

       height: auto means the original
       image ratio is preserved.

       Therefore:
       NO CROPPING
       NO object-fit: cover
    */
    .mobile-team-image img {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        margin: 0;
        object-fit: contain;
    }
    /*
       Dark fade connecting the
       content and image.
    */
    .mobile-team-image::before {
        content: "";
        position: absolute;
        top: -80px;
        left: 0;
        width: 100%;
        height: 120px;
        background: linear-gradient(180deg, transparent 0%, #080a0f 100%);
        z-index: 2;
        pointer-events: none;
    }
}


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

@media (max-width: 480px) {
    .team-cta-content {
        padding: 45px 20px 35px;
    }
    .team-cta-text h2 {
        font-size: 1.95rem;
    }
    .team-cta-text p {
        font-size: .9rem;
    }
    .team-cta-actions {
        width: 100%;
        flex-direction: column;
        max-width: 280px;
    }
    .team-cta-btn {
        width: 100%;
    }
    .mobile-team-image::before {
        top: 130px;
        height: 90px;
    }
}