        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        :root {
            --orange: oklch(65% .22 40);
            --orange-dim: oklch(65% .22 40/.13);
            --orange-glow: oklch(65% .22 40/.45);
            --fd: 'Bebas Neue', sans-serif;
            --fb: 'DM Sans', sans-serif;
            --ease: cubic-bezier(.16, 1, .3, 1);
            --max-w: 1440px;
        }

        [data-theme=dark] {
            --bg: #080808;
            --surface: #141414;
            --surface2: #1e1e1e;
            --border: #272727;
            --white: #f5f0eb;
            --muted: rgba(245, 240, 235, .42)
        }

        [data-theme=light] {
            --bg: #f4f5f7;
            --surface: #ffffff;
            --surface2: #eef0f3;
            --border: #d8dce3;
            --white: #111827;
            --muted: rgba(17, 24, 39, .52)
        }

        html {
            scroll-behavior: smooth
        }

        body {
            background: var(--bg);
            color: var(--white);
            font-family: var(--fb);
            overflow-x: hidden;
            transition: background .4s, color .4s
        }

        nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 200;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 48px;
            transition: background .4s, border-color .4s
        }

        nav.scrolled {
            background: color-mix(in srgb, var(--bg) 93%, transparent);
            border-bottom: 1px solid var(--border);
            backdrop-filter: blur(18px)
        }

        .nav-brand {
            display: flex;
            align-items: center;
            gap: 11px;
            text-decoration: none;
            flex-shrink: 0
        }

        .nav-logo-text {
            font-family: var(--fd);
            font-size: 18px;
            letter-spacing: 2.5px;
            color: var(--white)
        }

        .nav-logo-text em {
            color: var(--orange);
            font-style: normal
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 10px
        }

        .nav-links {
            display: flex;
            gap: 24px;
            list-style: none;
            align-items: center;
            margin-right: 10px
        }

        .nav-links a {
            color: var(--white);
            text-decoration: none;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            opacity: .5;
            transition: opacity .2s, color .2s
        }

        .nav-links a:hover {
            opacity: 1;
            color: var(--orange)
        }

        .nav-theme,
        .nav-lang {
            background: none;
            border: 1px solid var(--border);
            color: var(--white);
            width: 34px;
            height: 34px;
            border-radius: 0;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            transition: border-color .2s, color .2s, background .2s;
            flex-shrink: 0;
            font-family: var(--fb)
        }

        .nav-theme:hover,
        .nav-lang:hover {
            border-color: var(--orange);
            color: var(--orange)
        }

        .nav-lang.active {
            border-color: var(--orange);
            background: var(--orange-dim);
            color: var(--orange)
        }

        .nav-cta {
            background: var(--orange);
            color: #080808;
            padding: 9px 22px;
            font-weight: 600;
            font-size: 12px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            text-decoration: none;
            font-family: var(--fb);
            transition: box-shadow .2s;
            white-space: nowrap
        }

        .nav-cta:hover {
            box-shadow: 0 0 22px var(--orange-glow)
        }

        .nav-mob {
            display: none;
            align-items: center;
            gap: 8px
        }

        .nav-ham {
            display: flex;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px
        }

        .nav-ham span {
            width: 22px;
            height: 1.5px;
            background: var(--white);
            display: block;
            transition: transform .3s, opacity .3s
        }

        .nav-ham.open span:nth-child(1) {
            transform: rotate(45deg) translate(4px, 4.5px)
        }

        .nav-ham.open span:nth-child(2) {
            opacity: 0
        }

        .nav-ham.open span:nth-child(3) {
            transform: rotate(-45deg) translate(4px, -4.5px)
        }

        .nav-overlay {
            position: fixed;
            inset: 0;
            background: color-mix(in srgb, var(--bg) 97%, transparent);
            backdrop-filter: blur(12px);
            z-index: 190;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 4px;
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s
        }

        .nav-overlay.open {
            opacity: 1;
            pointer-events: auto
        }

        .nav-overlay a {
            font-family: var(--fd);
            font-size: clamp(36px, 8vw, 56px);
            letter-spacing: 3px;
            color: color-mix(in srgb, var(--white) 50%, transparent);
            text-decoration: none;
            transition: color .2s;
            padding: 8px 0
        }

        .nav-overlay a:hover {
            color: var(--orange)
        }

        .nav-overlay .mob-cta {
            background: var(--orange);
            color: #080808;
            font-family: var(--fd);
            font-size: clamp(20px, 5vw, 28px);
            letter-spacing: 2px;
            padding: 14px 40px;
            margin-top: 16px;
            text-decoration: none;
            display: inline-block;
            text-align: center
        }

        section {
            padding: 110px 48px;
            max-width: 100%;
            overflow: hidden
        }

        .sec-label {
            font-size: 11px;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--orange);
            margin-bottom: 14px;
            display: flex;
            align-items: center;
            gap: 14px
        }

        .sec-label::before {
            content: '';
            width: 26px;
            height: 1px;
            background: var(--orange)
        }

        .sec-title {
            font-family: var(--fd);
            font-size: clamp(36px, 5vw, 88px);
            line-height: 1
        }



        /* YouTube hero video */






        /* ━━━ HERO MINI STATS ━━━ */






        
        /* ━━━ WELCOME BACK BADGE ━━━ */
        #wb-badge {
            position: fixed;
            bottom: 86px;
            right: 26px;
            background: var(--surface);
            border: 1px solid var(--orange);
            padding: 12px 36px 12px 14px;
            z-index: 595;
            max-width: 240px;
            opacity: 0;
            transform: translateY(10px) scale(.95);
            transition: opacity .35s, transform .35s;
            pointer-events: none;
            box-shadow: 0 8px 32px rgba(0, 0, 0, .4)
        }

        #wb-badge.show {
            opacity: 1;
            transform: translateY(0) scale(1);
            pointer-events: auto
        }

        .wb-badge-name {
            font-family: var(--fd);
            font-size: 14px;
            letter-spacing: 1px;
            color: var(--orange);
            display: block;
            margin-bottom: 4px
        }

        .wb-badge-msg {
            font-size: 12px;
            line-height: 1.5;
            color: var(--muted)
        }

        #wb-badge-close {
            position: absolute;
            top: 7px;
            right: 9px;
            background: none;
            border: none;
            color: var(--muted);
            cursor: pointer;
            font-size: 14px;
            line-height: 1;
            padding: 2px
        }

        #wb-badge-close:hover {
            color: var(--white)
        }

        @keyframes fu {
            from {
                opacity: 0;
                transform: translateY(30px)
            }

            to {
                opacity: 1;
                transform: none
            }
        }

        #about {
            background: var(--surface);
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 72px;
            align-items: center
        }

        .about-body {
            font-size: 15px;
            line-height: 1.85;
            color: var(--muted);
            font-weight: 300;
            margin: 24px 0 36px
        }

        .about-cta {
            display: inline-flex;
            align-items: center;
            gap: 11px;
            border: 1px solid var(--orange);
            color: var(--orange);
            padding: 12px 28px;
            font-family: var(--fb);
            font-size: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
            text-decoration: none;
            transition: background .3s, color .3s
        }

        .about-cta:hover {
            background: var(--orange);
            color: #080808
        }

        .stats-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px
        }

        .stat-box {
            background: var(--bg);
            border: 1px solid var(--border);
            padding: 36px 28px;
            transition: border-color .35s
        }

        .stat-box:hover {
            border-color: var(--orange)
        }

        .stat-num {
            font-family: var(--fd);
            font-size: 60px;
            line-height: 1;
            color: var(--orange);
            display: block
        }

        .stat-label {
            font-size: 11px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: color-mix(in srgb, var(--white) 30%, transparent);
            margin-top: 6px;
            display: block
        }

















        .pf-btn {
            font-size: 11px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 7px 14px;
            border: 1px solid var(--border);
            background: transparent;
            color: var(--muted);
            cursor: pointer;
            transition: all .25s;
            font-family: var(--fb)
        }

        .pf-btn:hover,
        .pf-btn.active {
            border-color: var(--orange);
            color: var(--orange);
            background: var(--orange-dim)
        }










        #clients {
            background: var(--bg)
        }

        .cli-head {
            margin-bottom: 44px;
            text-align: center
        }

        .cli-mq {
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 14px;
            padding: 4px 0;
            -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
            mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent)
        }

        .cli-row {
            display: flex;
            gap: 14px;
            width: max-content;
            padding: 4px 0
        }

        .cli-row.r1 {
            animation: cliL 26s linear infinite
        }

        .cli-row.r2 {
            animation: cliR 32s linear infinite
        }

        @keyframes cliL {
            from {
                transform: translateX(0)
            }

            to {
                transform: translateX(-50%)
            }
        }

        @keyframes cliR {
            from {
                transform: translateX(-50%)
            }

            to {
                transform: translateX(0)
            }
        }

        .cli-mq:hover .cli-row {
            animation-play-state: paused
        }

        .cli-card {
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 16px 22px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            min-width: 130px;
            transition: border-color .3s, transform .3s;
            flex-shrink: 0;
            cursor: pointer
        }

        .cli-card:hover {
            border-color: var(--orange);
            transform: translateY(-3px)
        }

        .cli-card svg {
            width: 36px;
            height: 36px;
            stroke: color-mix(in srgb, var(--white) 32%, transparent);
            fill: none;
            stroke-width: 1.5;
            transition: stroke .3s
        }

        .cli-card:hover svg {
            stroke: var(--orange)
        }

        .cli-card-name {
            font-family: var(--fd);
            font-size: 11px;
            letter-spacing: 2px;
            color: color-mix(in srgb, var(--white) 28%, transparent);
            white-space: nowrap;
            transition: color .3s
        }

        .cli-card:hover .cli-card-name {
            color: var(--white)
        }

        /* ━━━ NEWS / BLOG PREVIEW ━━━ */
        #news {
            background: var(--bg)
        }

        .news-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 52px;
            gap: 24px;
            flex-wrap: wrap
        }

        .news-all-link {
            font-size: 12px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--orange);
            text-decoration: none;
            border-bottom: 1px solid var(--orange-dim);
            padding-bottom: 2px;
            transition: border-color .2s;
            white-space: nowrap;
            align-self: flex-end
        }

        .news-all-link:hover {
            border-color: var(--orange)
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2px
        }

        .news-card {
            background: var(--surface);
            border: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            cursor: pointer;
            transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
            overflow: hidden
        }

        .news-card:hover {
            border-color: var(--orange);
            transform: translateY(-5px);
            box-shadow: 0 20px 48px rgba(0, 0, 0, .28)
        }

        .news-card.featured {
            border-color: color-mix(in srgb, var(--orange) 40%, var(--border))
        }

        .news-card-img {
            position: relative;
            aspect-ratio: 16/9;
            overflow: hidden;
            flex-shrink: 0
        }

        .news-card-ph {
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(-45deg, var(--surface2) 0, var(--surface2) 8px, var(--bg) 8px, var(--bg) 16px);
            display: flex;
            align-items: center;
            justify-content: center
        }

        .news-card-ph span {
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: color-mix(in srgb, var(--white) 10%, transparent);
            font-family: var(--fd)
        }

        .news-card-img img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .7s cubic-bezier(.2, .8, .2, 1)
        }

        .news-card:hover .news-card-img img {
            transform: scale(1.06)
        }

        .news-card-cat {
            position: absolute;
            top: 12px;
            left: 12px;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 4px 10px;
            background: var(--orange);
            color: #080808;
            font-weight: 600;
            z-index: 1
        }

        .news-card-body {
            padding: 24px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            flex: 1
        }

        .news-card-date {
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--muted)
        }

        .news-card-title {
            font-family: var(--fd);
            font-size: clamp(18px, 2vw, 26px);
            letter-spacing: .5px;
            line-height: 1.2;
            color: var(--white);
            transition: color .2s
        }

        .news-card:hover .news-card-title {
            color: var(--orange)
        }

        .news-card-excerpt {
            font-size: 13px;
            line-height: 1.7;
            color: var(--muted);
            font-weight: 300;
            flex: 1
        }

        .news-card-read {
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--orange);
            margin-top: 4px;
            transition: gap .2s
        }

        @media(max-width:1100px) {
            .news-grid {
                grid-template-columns: repeat(2, 1fr)
            }

            .news-card:last-child {
                display: none
            }
        }

        @media(max-width:768px) {
            .news-grid {
                grid-template-columns: 1fr
            }

            .news-card:last-child {
                display: flex
            }

            .news-head {
                flex-direction: column;
                gap: 12px
            }

            .news-all-link {
                align-self: flex-start
            }
        }

        #ratings {
            background: var(--surface)
        }

        .rt-head {
            margin-bottom: 44px;
            text-align: center
        }

        .rt-mq {
            overflow: hidden;
            display: flex;
            flex-direction: column;
            gap: 18px;
            padding: 6px 0;
            -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
            mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent)
        }

        .rt-row {
            display: flex;
            gap: 18px;
            width: max-content;
            padding: 6px 0
        }

        .rt-row.r1 {
            animation: rtL 48s linear infinite
        }

        .rt-row.r2 {
            animation: rtR 56s linear infinite
        }

        @keyframes rtL {
            from {
                transform: translateX(0)
            }

            to {
                transform: translateX(-50%)
            }
        }

        @keyframes rtR {
            from {
                transform: translateX(-50%)
            }

            to {
                transform: translateX(0)
            }
        }

        .rt-mq:hover .rt-row {
            animation-play-state: paused
        }

        .rt-card {
            background: var(--bg);
            border: 1px solid var(--border);
            padding: 24px 26px;
            min-width: 380px;
            max-width: 380px;
            display: flex;
            flex-direction: column;
            gap: 14px;
            transition: border-color .3s, transform .3s, background .3s;
            flex-shrink: 0;
            position: relative;
            overflow: hidden
        }

        .rt-card::before {
            content: '"';
            position: absolute;
            top: -22px;
            right: 14px;
            font-family: var(--fd);
            font-size: 120px;
            line-height: 1;
            color: var(--orange);
            opacity: .08;
            pointer-events: none
        }

        .rt-card:hover {
            border-color: var(--orange);
            transform: translateY(-3px);
            background: var(--surface2)
        }

        .rt-stars {
            color: var(--orange);
            font-size: 14px;
            letter-spacing: 3px;
            line-height: 1
        }

        .rt-cmt {
            font-size: 13.5px;
            line-height: 1.7;
            color: var(--white);
            font-weight: 300;
            flex: 1;
            min-height: 90px
        }

        .rt-meta {
            border-top: 1px solid var(--border);
            padding-top: 14px;
            display: flex;
            flex-direction: column;
            gap: 3px
        }

        .rt-name {
            font-family: var(--fd);
            color: var(--white);
            font-size: 16px;
            letter-spacing: 1px;
            line-height: 1
        }

        .rt-pos {
            font-size: 10px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--muted)
        }











        .stat-box {
            position: relative;
            overflow: hidden
        }

        .stat-box::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            height: 2px;
            width: 0;
            background: var(--orange);
            transition: width 1.6s cubic-bezier(.2, .8, .2, 1) .15s
        }

        .stat-box.in-view::after {
            width: 100%
        }

        .stat-box .stat-num {
            transition: transform .4s
        }

        .stat-box:hover .stat-num {
            transform: translateY(-3px)
        }





        @keyframes procIconPulse {

            0%,
            100% {
                filter: drop-shadow(0 0 0 transparent)
            }

            50% {
                filter: drop-shadow(0 0 6px var(--orange-glow))
            }
        }







        .faq-ripple {
            position: absolute;
            border-radius: 50%;
            background: var(--orange);
            pointer-events: none;
            opacity: .18;
            transform: scale(0);
            animation: faqRip .65s cubic-bezier(.2, .8, .2, 1) forwards
        }

        @keyframes faqRip {
            to {
                transform: scale(4);
                opacity: 0
            }
        }

        .cli-card {
            transition: border-color .3s, transform .35s cubic-bezier(.2, .8, .2, 1)
        }

        .cli-card:hover {
            transform: translateY(-6px) scale(1.04)
        }

        .rt-card:hover {
            box-shadow: 0 12px 36px rgba(0, 0, 0, .25), 0 0 0 1px var(--orange) inset
        }

        .sec-label {
            position: relative
        }

        #scroll-prog {
            position: fixed;
            top: 0;
            left: 0;
            height: 2px;
            width: 0;
            background: linear-gradient(to right, var(--orange), oklch(80% .15 60));
            z-index: 300;
            transition: width .1s linear;
            pointer-events: none;
            box-shadow: 0 0 8px var(--orange-glow)
        }








        /* PATCH 2: FOOTER — icon-only socmed buttons */
        footer {
            background: var(--surface);
            border-top: 1px solid var(--border);
            padding: 40px 48px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            flex-wrap: wrap
        }

        .f-logo {
            display: flex;
            align-items: center;
            gap: 10px;
            font-family: var(--fd);
            font-size: 24px;
            letter-spacing: 4px;
            color: var(--white)
        }

        .f-logo em {
            color: var(--orange);
            font-style: normal
        }

        .f-copy {
            font-size: 11px;
            color: color-mix(in srgb, var(--white) 22%, transparent);
            letter-spacing: 1px
        }

        .f-links {
            display: flex;
            gap: 10px;
            list-style: none
        }

        .f-links a {
            width: 40px;
            height: 40px;
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            color: color-mix(in srgb, var(--white) 35%, transparent);
            text-decoration: none;
            transition: border-color .2s, color .2s, background .2s;
            flex-shrink: 0
        }

        .f-links a:hover {
            border-color: var(--orange);
            color: var(--orange);
            background: var(--orange-dim)
        }

        .f-links a svg {
            width: 18px;
            height: 18px;
            fill: currentColor;
            display: block;
            flex-shrink: 0
        }

        #chat-bubble {
            position: fixed;
            bottom: 26px;
            right: 26px;
            width: 52px;
            height: 52px;
            background: var(--orange);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 600;
            box-shadow: 0 4px 24px var(--orange-glow);
            transition: transform .2s, box-shadow .2s;
            text-decoration: none
        }

        #chat-bubble:hover {
            transform: scale(1.08);
            box-shadow: 0 4px 36px var(--orange-glow)
        }

        #chat-bubble svg {
            width: 22px;
            height: 22px;
            fill: #080808
        }

        #chat-win {
            position: fixed;
            bottom: 88px;
            right: 26px;
            width: 360px;
            background: var(--surface);
            border: 1px solid var(--border);
            z-index: 600;
            display: flex;
            flex-direction: column;
            box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
            transform: translateY(18px) scale(.96);
            opacity: 0;
            pointer-events: none;
            transition: transform .35s var(--ease), opacity .3s
        }

        #chat-win.open {
            transform: translateY(0) scale(1);
            opacity: 1;
            pointer-events: auto
        }

        .chat-hdr {
            padding: 14px 16px;
            border-bottom: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--surface2)
        }

        .chat-hdr-l {
            display: flex;
            align-items: center;
            gap: 10px
        }

        .chat-dot {
            width: 7px;
            height: 7px;
            background: #22c55e;
            border-radius: 50%;
            box-shadow: 0 0 8px #22c55e80;
            animation: pulse 2s infinite
        }

        @keyframes pulse {

            0%,
            100% {
                opacity: 1
            }

            50% {
                opacity: .5
            }
        }

        .chat-ttl {
            font-family: var(--fd);
            font-size: 16px;
            letter-spacing: 1px;
            color: var(--white)
        }

        .chat-sub {
            font-size: 10px;
            color: var(--muted)
        }

        .chat-xbtn {
            background: none;
            border: none;
            color: var(--muted);
            cursor: pointer;
            font-size: 16px;
            transition: color .2s;
            padding: 2px 6px
        }

        .chat-xbtn:hover {
            color: var(--white)
        }

        .chat-form {
            padding: 18px 16px;
            display: flex;
            flex-direction: column;
            gap: 11px
        }

        .chat-form-intro {
            font-size: 13px;
            line-height: 1.6;
            color: var(--muted)
        }

        .chat-form-intro strong {
            color: var(--white);
            display: block;
            font-family: var(--fd);
            font-size: 17px;
            letter-spacing: 1px;
            margin-bottom: 2px
        }

        .cf-label {
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--orange);
            margin-bottom: 4px;
            display: block
        }

        .cf-inp {
            width: 100%;
            background: var(--bg);
            border: 1px solid var(--border);
            color: var(--white);
            padding: 9px 12px;
            font-family: var(--fb);
            font-size: 13px;
            outline: none;
            transition: border-color .2s
        }

        .cf-inp:focus {
            border-color: var(--orange)
        }

        .cf-inp::placeholder {
            color: var(--muted)
        }

        .cf-btn {
            background: var(--orange);
            border: none;
            color: #080808;
            padding: 11px;
            font-family: var(--fd);
            font-size: 16px;
            letter-spacing: 1px;
            cursor: pointer;
            width: 100%;
            transition: opacity .2s
        }

        .cf-btn:hover {
            opacity: .85
        }

        .chat-body {
            height: 240px;
            overflow-y: auto;
            padding: 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            scroll-behavior: smooth
        }

        .chat-body::-webkit-scrollbar {
            width: 3px
        }

        .chat-body::-webkit-scrollbar-thumb {
            background: var(--border)
        }

        .msg {
            max-width: 86%;
            font-size: 13px;
            line-height: 1.6;
            padding: 9px 13px;
            animation: mi .3s var(--ease)
        }

        @keyframes mi {
            from {
                opacity: 0;
                transform: translateY(8px)
            }

            to {
                opacity: 1;
                transform: none
            }
        }

        .msg.user {
            background: var(--orange);
            color: #080808;
            align-self: flex-end;
            font-weight: 500;
            border-radius: 2px 2px 0 2px
        }

        .msg.ai {
            background: var(--surface2);
            color: var(--white);
            align-self: flex-start;
            border: 1px solid var(--border);
            border-radius: 2px 2px 2px 0
        }

        .msg.file-bubble {
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--surface2);
            color: var(--muted);
            border: 1px solid var(--border);
            font-size: 12px;
            border-radius: 2px 2px 2px 0;
            align-self: flex-end;
            border-color: var(--orange);
            color: var(--white);
            background: var(--orange-dim)
        }

        .msg.typing {
            display: flex;
            gap: 5px;
            align-items: center;
            padding: 13px 15px
        }

        .td {
            width: 6px;
            height: 6px;
            background: var(--muted);
            border-radius: 50%;
            animation: tdot 1.2s infinite
        }

        .td:nth-child(2) {
            animation-delay: .2s
        }

        .td:nth-child(3) {
            animation-delay: .4s
        }

        @keyframes tdot {

            0%,
            60%,
            100% {
                transform: translateY(0)
            }

            30% {
                transform: translateY(-5px)
            }
        }

        .chat-inp-row {
            padding: 10px 12px;
            border-top: 1px solid var(--border);
            display: flex;
            flex-direction: column;
            gap: 7px;
            background: var(--surface2)
        }

        .chat-inp-actions {
            display: flex;
            gap: 8px;
            align-items: center
        }

        .file-preview-bar {
            font-size: 11px;
            color: var(--orange);
            padding: 5px 8px;
            background: var(--orange-dim);
            border: 1px solid var(--orange);
            display: none;
            align-items: center;
            gap: 6px
        }

        .file-preview-bar.show {
            display: flex
        }

        .file-preview-name {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            flex: 1
        }

        .file-rm {
            cursor: pointer;
            font-size: 15px;
            flex-shrink: 0;
            line-height: 1
        }

        .chat-inp {
            flex: 1;
            background: var(--bg);
            border: 1px solid var(--border);
            color: var(--white);
            padding: 9px 12px;
            font-family: var(--fb);
            font-size: 13px;
            outline: none;
            transition: border-color .2s
        }

        .chat-inp:focus {
            border-color: var(--orange)
        }

        .chat-inp::placeholder {
            color: var(--muted)
        }

        .chat-snd {
            background: var(--orange);
            border: none;
            color: #080808;
            width: 36px;
            height: 36px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: opacity .2s
        }

        .chat-snd:hover {
            opacity: .85
        }

        .chat-snd svg {
            width: 14px;
            height: 14px;
            fill: #080808
        }

        .chat-attach {
            background: none;
            border: 1px solid var(--border);
            color: var(--muted);
            width: 36px;
            height: 36px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-size: 16px;
            transition: border-color .2s, color .2s
        }

        .chat-attach:hover {
            border-color: var(--orange);
            color: var(--orange)
        }

        #tweaks-panel {
            display: none;
            position: fixed;
            bottom: 86px;
            left: 26px;
            background: var(--surface);
            border: 1px solid var(--border);
            padding: 18px;
            z-index: 9999;
            width: 230px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, .5)
        }

        #tweaks-panel.open {
            display: block
        }

        .tw-t {
            font-family: var(--fd);
            font-size: 16px;
            letter-spacing: 2px;
            color: var(--white);
            margin-bottom: 12px;
            border-bottom: 1px solid var(--border);
            padding-bottom: 10px
        }

        .tw-row {
            margin-bottom: 10px
        }

        .tw-lbl {
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--muted);
            margin-bottom: 7px;
            display: block
        }

        .tw-opt {
            display: flex;
            gap: 5px;
            flex-wrap: wrap
        }

        .tw-btn {
            font-size: 11px;
            padding: 5px 11px;
            border: 1px solid var(--border);
            background: transparent;
            color: var(--white);
            cursor: pointer;
            letter-spacing: 1px;
            transition: all .2s;
            font-family: var(--fb)
        }

        .tw-btn:hover,
        .tw-btn.active {
            border-color: var(--orange);
            background: var(--orange-dim);
            color: var(--orange)
        }

        /* ━━━ PATCH 3: MODAL POPUP ━━━ */
        #arfa-modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 9000;
            background: rgba(8, 8, 8, .9);
            backdrop-filter: blur(12px);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            opacity: 0;
            pointer-events: none;
            transition: opacity .35s cubic-bezier(.16, 1, .3, 1)
        }

        #arfa-modal-overlay.open {
            opacity: 1;
            pointer-events: auto
        }

        #arfa-modal {
            position: relative;
            background: var(--surface);
            border: 1px solid var(--border);
            max-width: 760px;
            width: 100%;
            max-height: 88vh;
            overflow-y: auto;
            transform: translateY(32px) scale(.96);
            transition: transform .4s cubic-bezier(.16, 1, .3, 1), opacity .35s;
            opacity: 0
        }

        #arfa-modal-overlay.open #arfa-modal {
            transform: translateY(0) scale(1);
            opacity: 1
        }

        #arfa-modal::-webkit-scrollbar {
            width: 3px
        }

        #arfa-modal::-webkit-scrollbar-thumb {
            background: var(--border)
        }

        .modal-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            background: var(--surface2)
        }

        .modal-img-ph {
            width: 100%;
            aspect-ratio: 16/9;
            background: repeating-linear-gradient(-45deg, var(--surface2) 0, var(--surface2) 10px, var(--bg) 10px, var(--bg) 20px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 16px
        }

        .modal-img-ph span {
            font-family: var(--fd);
            font-size: 12px;
            letter-spacing: 3px;
            color: color-mix(in srgb, var(--white) 14%, transparent);
            text-transform: uppercase
        }

        .modal-body {
            padding: 36px
        }

        .modal-tag {
            font-size: 10px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--orange);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 10px
        }

        .modal-tag::before {
            content: '';
            width: 20px;
            height: 1px;
            background: var(--orange)
        }

        .modal-title {
            font-family: var(--fd);
            font-size: clamp(26px, 4vw, 52px);
            letter-spacing: 1px;
            color: var(--white);
            line-height: 1;
            margin-bottom: 8px
        }

        .modal-meta {
            font-size: 12px;
            letter-spacing: 1.5px;
            color: var(--muted);
            text-transform: uppercase;
            margin-bottom: 20px
        }

        .modal-divider {
            width: 40px;
            height: 2px;
            background: var(--orange);
            margin-bottom: 20px
        }

        .modal-desc {
            font-size: 14px;
            line-height: 1.85;
            color: var(--muted);
            font-weight: 300;
            margin-bottom: 28px
        }

        .modal-tags-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 28px
        }

        .modal-pill {
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 5px 14px;
            border: 1px solid var(--border);
            color: var(--muted)
        }

        .modal-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap
        }

        .modal-btn-primary {
            background: var(--orange);
            color: #080808;
            padding: 12px 28px;
            font-family: var(--fb);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            border: none;
            cursor: pointer;
            transition: box-shadow .2s;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px
        }

        .modal-btn-primary:hover {
            box-shadow: 0 0 28px var(--orange-glow)
        }

        .modal-btn-sec {
            background: transparent;
            color: var(--orange);
            padding: 12px 28px;
            font-family: var(--fb);
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            border: 1px solid var(--orange);
            cursor: pointer;
            transition: background .2s, color .2s;
            text-decoration: none;
            display: inline-flex;
            align-items: center
        }

        .modal-btn-sec:hover {
            background: var(--orange);
            color: #080808
        }

        .modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 10;
            width: 40px;
            height: 40px;
            background: var(--surface2);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--muted);
            font-size: 18px;
            transition: border-color .2s, color .2s, background .2s;
            line-height: 1;
            font-family: var(--fb)
        }

        .modal-close:hover {
            border-color: var(--orange);
            color: var(--orange);
            background: var(--orange-dim)
        }

        .modal-cli-icon {
            width: 72px;
            height: 72px;
            background: var(--surface2);
            border: 1px solid var(--border);
            display: flex;
            align-items: center;
            justify-content: center
        }

        .modal-cli-icon svg {
            width: 40px;
            height: 40px;
            stroke: var(--orange);
            fill: none;
            stroke-width: 1.5
        }

        /* Responsive */
        
        @media(max-width:1100px) {
            nav {
                padding: 16px 28px
            }

            section {
                padding: 88px 28px
            }




            #about {
                gap: 44px
            }



            .rt-card {
                min-width: 320px;
                max-width: 320px
            }
        }

        @media(max-width:768px) {
            nav {
                padding: 14px 20px
            }

            .nav-right {
                display: none
            }

            .nav-mob {
                display: flex
            }

            section {
                padding: 72px 20px
            }










            #about {
                grid-template-columns: 1fr;
                gap: 32px
            }









            .rt-card {
                min-width: 280px;
                max-width: 280px;
                padding: 20px 22px
            }

            .rt-cmt {
                font-size: 13px;
                min-height: 0
            }




            footer {
                flex-direction: column;
                text-align: center;
                padding: 32px 20px;
                gap: 16px
            }

            .f-links {
                justify-content: center
            }

            #chat-bubble {
                bottom: 18px;
                right: 18px;
                width: 48px;
                height: 48px
            }

            #chat-win {
                width: calc(100vw - 24px);
                right: 12px;
                bottom: 78px
            }

            #tweaks-panel {
                width: calc(100vw - 40px);
                left: 20px;
                bottom: 78px
            }

        }

        @media(max-width:480px) {



            .stats-grid {
                grid-template-columns: 1fr 1fr
            }
        }

        /* ━━━ LOADING SCREEN ━━━ */
        #arfa-loader {
            position: fixed;
            inset: 0;
            z-index: 99999;
            background: #080808;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 32px;
            transition: opacity .6s cubic-bezier(.16, 1, .3, 1), visibility .6s;
        }

        #arfa-loader.done {
            opacity: 0;
            visibility: hidden;
            pointer-events: none
        }

        .loader-logo {
            font-family: 'Bebas Neue', sans-serif;
            font-size: clamp(36px, 8vw, 72px);
            letter-spacing: 6px;
            color: #f5f0eb;
            opacity: 0;
            transform: translateY(16px);
            animation: loaderFadeUp .7s .1s cubic-bezier(.16, 1, .3, 1) forwards
        }

        .loader-logo em {
            color: oklch(65% .22 40);
            font-style: normal
        }

        .loader-tagline {
            font-family: 'DM Sans', sans-serif;
            font-size: 11px;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: rgba(245, 240, 235, .35);
            opacity: 0;
            animation: loaderFadeUp .7s .25s cubic-bezier(.16, 1, .3, 1) forwards
        }

        .loader-bar-wrap {
            width: min(240px, 60vw);
            height: 1px;
            background: rgba(255, 255, 255, .08);
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: loaderFadeUp .5s .35s forwards
        }

        .loader-bar-fill {
            position: absolute;
            inset: 0 100% 0 0;
            background: linear-gradient(to right, oklch(65% .22 40), oklch(80% .15 60));
            animation: loaderBar 1.2s .4s cubic-bezier(.4, 0, .2, 1) forwards
        }

        .loader-pct {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 13px;
            letter-spacing: 3px;
            color: rgba(245, 240, 235, .28);
            opacity: 0;
            animation: loaderFadeUp .5s .35s forwards
        }

        @keyframes loaderFadeUp {
            from {
                opacity: 0;
                transform: translateY(12px)
            }

            to {
                opacity: 1;
                transform: none
            }
        }

        @keyframes loaderBar {
            from {
                inset: 0 100% 0 0
            }

            to {
                inset: 0 0% 0 0
            }
        }

        /* ━━━ VIEW TRANSITION — RADIAL WIPE ━━━ */
        @supports(view-transition-name:none) {
            ::view-transition-old(root) {
                animation: none;
                mix-blend-mode: normal
            }

            ::view-transition-new(root) {
                animation: vt-wipe .55s cubic-bezier(.16, 1, .3, 1) both
            }

            @keyframes vt-wipe {
                from {
                    clip-path: circle(0% at var(--vt-x, 50%) var(--vt-y, 50%))
                }

                to {
                    clip-path: circle(150% at var(--vt-x, 50%) var(--vt-y, 50%))
                }
            }

            [data-theme=light]::view-transition-new(root) {
                animation: vt-wipe-light .55s cubic-bezier(.16, 1, .3, 1) both
            }

            @keyframes vt-wipe-light {
                from {
                    clip-path: circle(0% at var(--vt-x, 50%) var(--vt-y, 50%))
                }

                to {
                    clip-path: circle(150% at var(--vt-x, 50%) var(--vt-y, 50%))
                }
            }
        }

        /* Fallback pulse for browsers without view-transition */
        @supports not (view-transition-name:none) {
            html {
                transition: background .4s, color .4s
            }
        }

/* ══════════════════════════════════════════════════════════════
   REDESIGN 2026 — HUD / viewport-bracket signature system
   Bracket corners (targeting-reticle motif) tie the interactive-
   studio brand to game/AR language. Applies across nav, cards,
   portfolio and CTA. Rules below intentionally override earlier
   declarations for the same selectors (cascade = later wins).
   ══════════════════════════════════════════════════════════════ */

:root {
    --orange-2: oklch(78% .16 70);
    --ink: color-mix(in srgb, var(--white) 6%, transparent);
    --radius: 3px;
    --shadow-card: 0 24px 60px -20px rgba(0,0,0,.55);
    --mono: 'DM Sans', monospace;
}

/* Reusable bracket-corner mixin via custom property positions */
.brk { position: relative; }
.brk::before, .brk::after {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    border: 1.5px solid var(--orange);
    opacity: 0;
    transition: opacity .3s var(--ease), width .3s var(--ease), height .3s var(--ease);
    pointer-events: none;
}
.brk::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.brk::after  { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.brk:hover::before, .brk:hover::after,
.brk.brk-active::before, .brk.brk-active::after { opacity: 1; width: 22px; height: 22px; }

/* ── NAV / HEADER ─────────────────────────────────────── */
nav#nav {
    padding: 16px 20px;
    background: transparent;
    border-bottom: 1px solid transparent;
}
.nav-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 10px 8px 22px;
    backdrop-filter: blur(20px) saturate(140%);
    transition: background .4s, border-color .4s, box-shadow .4s;
}
nav#nav.scrolled { border-bottom-color: transparent; background: transparent; }
nav#nav.scrolled .nav-inner {
    border-color: color-mix(in srgb, var(--orange) 30%, var(--border));
    box-shadow: 0 14px 40px -18px rgba(0,0,0,.6);
}
.nav-brand { gap: 10px; }
.nav-logo-text { font-size: 16px; letter-spacing: 2px; }
.nav-right { gap: 6px; }
.nav-links { gap: 2px; margin-right: 6px; padding: 4px; }
.nav-links a {
    opacity: .62;
    padding: 8px 14px;
    border-radius: 999px;
    display: inline-block;
    transition: opacity .2s, color .2s, background .2s;
}
.nav-links a:hover { background: var(--orange-dim); opacity: 1; }
.nav-tools { display: flex; gap: 6px; }
.nav-theme, .nav-lang {
    border-radius: 50%;
    border-color: transparent;
    background: color-mix(in srgb, var(--white) 5%, transparent);
}
.nav-theme:hover, .nav-lang:hover { background: var(--orange-dim); }
.nav-cta {
    border-radius: 999px;
    padding: 11px 24px;
    margin-left: 4px;
    position: relative;
    overflow: hidden;
}
.nav-cta:hover { box-shadow: 0 0 0 5px var(--orange-dim); }

@media (max-width:1080px) {
    .nav-links { display: none; }
}
@media (max-width:768px) {
    .nav-inner { padding: 8px 8px 8px 18px; }
    .nav-right { display: none; }
}

/* ── HERO ─────────────────────────────────────────────── */

/* ── SERVICES ─────────────────────────────────────────── */


/* ── ABOUT / WHO WE ARE ───────────────────────────────── */
#about {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(80px, 9vw, 130px) clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}
.about-text { position: relative; padding-left: 26px; }
.about-text::before {
    content: '';
    position: absolute; left: 0; top: 4px; bottom: 4px;
    width: 3px;
    background: linear-gradient(var(--orange), transparent);
}
.about-body { max-width: 44ch; margin: 22px 0 28px; }
.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background .25s, color .25s;
}
.about-cta:hover { background: var(--orange); color: #080808; }
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.stat-box {
    background: var(--surface);
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat-num { font-family: var(--fd); font-size: clamp(36px,4vw,52px); color: var(--orange); line-height: 1; }
.stat-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
@media (max-width:900px) {
    #about { grid-template-columns: 1fr; }
}

/* ── PORTFOLIO — "cinematic frame" rebuild ─────────────── */
#portfolio { padding: clamp(80px, 9vw, 130px) 0; max-width: var(--max-w); margin: 0 auto; }
.port-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 clamp(20px, 4vw, 48px);
    margin-bottom: clamp(32px, 4vw, 48px);
}
.port-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.pf-btn {
    border-radius: 0;
    position: relative;
}
.pf-btn.active::before {
    content: '';
    position: absolute;
    left: 50%; bottom: -7px;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    background: var(--orange);
}

.port-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 clamp(20px, 4vw, 48px);
}
.port-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    flex: 1;
}
.port-viewport::-webkit-scrollbar { display: none; }
.port-grid { display: flex; gap: 22px; }

.port-card {
    position: relative;
    flex: 0 0 calc((100% - 44px)/3);
    scroll-snap-align: start;
    aspect-ratio: 4/5;
    background: var(--surface);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border);
}
.port-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid color-mix(in srgb, var(--white) 20%, transparent);
    z-index: 3;
    opacity: 0;
    transition: opacity .35s;
    pointer-events: none;
}
.port-card:hover::before { opacity: 1; }
.port-card:hover { border-color: var(--orange); }
.port-ph {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(155deg, var(--surface2), var(--surface));
}
.port-ph-lbl { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.port-card img { transition: transform .6s var(--ease); }
.port-card:hover img { transform: scale(1.08); }

.port-badge {
    position: absolute; top: 14px; left: 14px;
    font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
    padding: 6px 12px;
    color: var(--orange);
    background: color-mix(in srgb, var(--bg) 65%, transparent);
    backdrop-filter: blur(6px);
    border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent);
    z-index: 2;
}
.port-overlay {
    position: absolute; inset: auto 0 0 0;
    padding: 18px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,.55) 65%, transparent);
    z-index: 2;
}
.port-tag { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 5px; }
.port-name { font-family: var(--fd); font-size: 18px; letter-spacing: .5px; color: #fff; line-height: 1.1; }
.port-meta { font-size: 10.5px; color: rgba(255,255,255,.6); margin-top: 4px; }

.port-nav {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: border-color .2s, background .2s, opacity .2s;
}
.port-nav svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.port-nav:hover { border-color: var(--orange); background: var(--orange-dim); color: var(--orange); }
.port-nav.is-disabled { opacity: .25; pointer-events: none; }

.port-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.port-dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: var(--border); cursor: pointer; padding: 0; transition: background .2s, width .2s; }
.port-dot.active { background: var(--orange); width: 22px; border-radius: 4px; }

@media (max-width:900px) {
    .port-card { flex: 0 0 82%; aspect-ratio: 3/4; }
    .port-nav { display: none; }
    .port-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        margin: 0 -20px;
        padding: 0 20px 4px;
        width: calc(100% + 40px);
    }
    .port-filter::-webkit-scrollbar { display: none; }
    .pf-btn { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width:560px) {
    .port-card { flex: 0 0 88%; }
}


/* ── CLIENTS ───────────────────────────────────────────── */
#clients { padding: clamp(80px, 9vw, 130px) clamp(20px, 4vw, 48px); max-width: var(--max-w); margin: 0 auto; }

.cli-geo {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    margin-top: clamp(36px, 5vw, 56px);
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid var(--border);
    background: linear-gradient(120deg, var(--surface), var(--bg));
    position: relative;
    overflow: hidden;
}
.cli-geo-num {
    font-family: var(--fd);
    font-size: clamp(56px, 7vw, 84px);
    line-height: 1;
    color: var(--orange);
    display: flex;
    align-items: flex-start;
}
.cli-geo-plus { font-size: .4em; margin-top: 6px; }
.cli-geo-ttl { font-family: var(--fd); font-size: clamp(19px, 2.2vw, 24px); letter-spacing: .5px; margin-bottom: 8px; }
.cli-geo-sub { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 48ch; }
.cli-geo-flags { display: flex; gap: 10px; font-size: 26px; }
.cli-geo-flag { filter: grayscale(.15); }
@media (max-width:820px) {
    .cli-geo { grid-template-columns: 1fr; text-align: left; }
    .cli-geo-flags { margin-top: 4px; }
}

.cli-featured {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.cli-featured .cli-card-lg {
    background: var(--surface);
    aspect-ratio: 3/2;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    padding: 14px;
}
@media (max-width:900px) { .cli-featured { grid-template-columns: repeat(3, 1fr); } }
@media (max-width:520px) { .cli-featured { grid-template-columns: repeat(2, 1fr); } }

.cli-mq { margin-top: clamp(36px, 5vw, 52px); }
.cli-mq-label {
    text-align: center;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 18px;
}
.cli-row.r2 { display: none; }
.cli-card {
    color: var(--muted);
    transition: color .3s, opacity .3s;
    opacity: .75;
}
.cli-card:hover { color: var(--orange); opacity: 1; }
.cli-card-name { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 8px; }

/* ── RATINGS ───────────────────────────────────────────── */
#ratings { padding: clamp(80px, 9vw, 130px) clamp(20px, 4vw, 48px); max-width: var(--max-w); margin: 0 auto; }
.rt-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}
.rt-card::before {
    content: '"';
    position: absolute;
    top: 6px; right: 20px;
    font-family: var(--fd);
    font-size: 64px;
    color: color-mix(in srgb, var(--orange) 16%, transparent);
    line-height: 1;
}
.rt-stars { color: var(--orange); letter-spacing: 2px; font-size: 13px; }
.rt-cmt { font-size: 13.5px; line-height: 1.7; color: var(--white); max-width: 34ch; }
.rt-meta { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); }
.rt-name { font-family: var(--fd); font-size: 14px; letter-spacing: .5px; }
.rt-pos { font-size: 11px; color: var(--muted); }

/* ── FAQ ───────────────────────────────────────────────── */


/* ── CTA ───────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   REVISION 2 — hero rebuild, services slider, about counters,
   portfolio mobile filters, FAQ rebuild, CTA motion
   ══════════════════════════════════════════════════════════════ */

/* ── HERO: darker/blurred video + full rebuild ────────── */
@keyframes heroDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.75); }
}

/* ── SERVICES: 5-across desktop, auto slider on mobile ── */



/* ── ABOUT: redesigned counting boxes ─────────────────── */
.stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: none;
    border: none;
}
.stat-box {
    background: linear-gradient(155deg, var(--surface), var(--bg));
    border: 1px solid var(--border);
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .3s;
}
.stat-box::before {
    content: '';
    position: absolute;
    top: -30%; right: -20%;
    width: 100px; height: 100px;
    background: radial-gradient(circle, var(--orange-dim), transparent 70%);
    opacity: 0;
    transition: opacity .3s;
}
.stat-box:hover {
    border-color: color-mix(in srgb, var(--orange) 45%, var(--border));
    transform: translateY(-4px);
}
.stat-box:hover::before { opacity: 1; }
.stat-num {
    font-size: clamp(40px, 4.6vw, 58px);
    background: linear-gradient(135deg, var(--white), var(--orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}
.stat-label {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 2.5px;
}

/* ── PORTFOLIO: tidy mobile filter row ────────────────── */
@media (max-width:820px) {
    .pf-btn { flex: 0 0 auto; white-space: nowrap; }
}

/* ── CLIENTS: static flag images (replaces counter) ───── */
.cli-geo { grid-template-columns: auto 1fr; }
.cli-geo-flags {
    display: flex;
    gap: 10px;
}
.cli-geo-flag-img {
    width: 64px; height: 44px;
    border-radius: 3px;
    border: 1px solid var(--border);
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
@media (max-width:640px) {
    .cli-geo-flag-img { width: 48px; height: 33px; }
}

/* ══════════════════════════════════════════════════════════════
   HERO — clean single-source rebuild (replaces all prior layers)
   ══════════════════════════════════════════════════════════════ */
#hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    max-height: 980px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: .35;
}
#hero-yt {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
#hero-yt-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.08);
    width: 177.78vh;
    min-width: 100%;
    height: 56.25vw;
    min-height: 100%;
    border: 0;
    pointer-events: none;
    opacity: 0;
    filter: blur(3px) brightness(.5) saturate(1.05);
    transition: opacity .8s ease;
}
#hero-yt-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8,8,8,.6) 0%, rgba(8,8,8,.4) 40%, rgba(8,8,8,.5) 65%, rgba(8,8,8,.95) 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(128,128,128,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(128,128,128,.06) 1px, transparent 1px);
    background-size: 80px 80px;
    pointer-events: none;
    z-index: 3;
}
.hero-vig {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 75% 75% at 50% 45%, transparent 45%, color-mix(in srgb, var(--bg) 70%, transparent) 100%);
    pointer-events: none;
    z-index: 4;
}
.hero-frame {
    position: absolute;
    inset: 18px;
    z-index: 6;
    pointer-events: none;
}
.hf-corner {
    position: absolute;
    width: 24px; height: 24px;
    border: 1.5px solid color-mix(in srgb, var(--white) 35%, transparent);
}
.hf-tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.hf-tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.hf-bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.hf-br { bottom: 0; right: 0; border-left: none; border-top: none; }
@media (max-width:640px) { .hero-frame { display: none; } }

.hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 48px) clamp(56px, 8vw, 96px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 20px;
    opacity: 0;
    animation: heroFu .9s .3s forwards;
}
.hero-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-dim);
    animation: heroDotPulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes heroDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.75); }
}
.hero-title {
    font-family: var(--fd);
    font-size: clamp(48px, 8.6vw, 132px);
    line-height: .92;
    letter-spacing: -.01em;
    opacity: 0;
    animation: heroFu .9s .5s forwards;
    max-width: 20ch;
}
.hl2 {
    display: block;
    color: transparent;
    -webkit-text-stroke: 1px color-mix(in srgb, var(--white) 26%, transparent);
}
.hl3 {
    display: inline-block;
    color: var(--orange);
    position: relative;
    min-width: 3ch;
}
.hl3.exit { animation: heroWOut .32s forwards !important; }
.hl3.enter { animation: heroWIn .38s forwards !important; }
@keyframes heroWOut {
    0% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: translateX(30px); filter: blur(4px); }
}
@keyframes heroWIn {
    0% { opacity: 0; transform: translateX(-30px); filter: blur(4px); }
    100% { opacity: 1; transform: none; filter: none; }
}
.hero-desc {
    margin-top: 26px;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.8;
    color: color-mix(in srgb, var(--white) 78%, transparent);
    font-weight: 300;
    opacity: 0;
    animation: heroFu .9s .8s forwards;
}
.hero-stats {
    margin-top: clamp(32px, 5vw, 52px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 640px;
    border-top: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
    padding-top: 24px;
    opacity: 0;
    animation: heroFu .9s 1s forwards;
}
.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 28px 0 0;
}
.hero-stat-item:first-child { padding-left: 0; }
.hero-stat-item + .hero-stat-item {
    padding-left: 28px;
    border-left: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
}
.hero-stat-num {
    font-family: var(--fd);
    font-size: 30px;
    line-height: 1;
    color: var(--orange);
    letter-spacing: 1px;
}
.hero-stat-lbl {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 5px;
}
@keyframes heroFu {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@media (max-width:640px) {
    .hero-content { padding-bottom: 44px; }
    .hero-title { font-size: clamp(38px, 12vw, 58px); }
    .hero-stats { gap: 14px 0; }
    .hero-stat-item { min-width: 42%; padding-right: 14px; }
    .hero-stat-item + .hero-stat-item:nth-child(2n+1) { border-left: none; padding-left: 0; }
}

/* ══════════════════════════════════════════════════════════════
   SERVICES — "catalog rail" rebuild (replaces bento cards)
   ══════════════════════════════════════════════════════════════ */
#services {
    background: var(--bg);
    padding: clamp(90px, 10vw, 140px) clamp(20px, 4vw, 48px);
}
.svc-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: clamp(40px, 5vw, 60px);
    gap: 32px;
    flex-wrap: wrap;
}
.svc-intro {
    max-width: 360px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    font-weight: 300;
}

.svc-viewport { overflow: visible; }
.svc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}
.svc-card {
    position: relative;
    background: var(--bg);
    padding: 34px 22px 28px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
    border-right: 1px solid var(--border);
    transition: background .4s var(--ease);
}
.svc-card:last-child { border-right: none; }
.svc-card::before {
    content: attr(data-idx);
    position: absolute;
    right: 8px;
    bottom: -18px;
    font-family: var(--fd);
    font-size: 110px;
    line-height: 1;
    color: color-mix(in srgb, var(--white) 4%, transparent);
    z-index: -1;
    transition: color .4s;
}
.svc-card::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 0%;
    background: linear-gradient(180deg, transparent, var(--orange-dim) 40%, var(--orange) 100%);
    transition: height .45s var(--ease);
    z-index: -1;
}
.svc-card:hover { background: var(--surface); }
.svc-card:hover::after { height: 100%; }
.svc-card:hover::before { color: color-mix(in srgb, var(--white) 9%, transparent); }

.svc-num {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 22px;
}
.svc-icon {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: fit-content;
    margin-bottom: auto;
    padding-bottom: 22px;
}
.svc-icon .icon-hover { display: none; }
.svc-card:hover .icon-default { display: none; }
.svc-card:hover .icon-hover { display: block; }
.svc-body { margin-top: 18px; }
.svc-name {
    font-family: var(--fd);
    font-size: clamp(18px, 1.7vw, 21px);
    letter-spacing: .5px;
    color: var(--white);
    margin-bottom: 10px;
    transition: color .3s;
}
.svc-card:hover .svc-name { color: #080808; }
.svc-desc {
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
    transition: color .3s;
}
.svc-card:hover .svc-desc { color: color-mix(in srgb, #080808 78%, transparent); }
.svc-arrow {
    position: absolute;
    top: 30px; right: 22px;
    font-size: 15px;
    color: var(--orange);
    opacity: 0;
    transform: translate(-4px,4px);
    transition: opacity .3s, transform .3s, color .3s;
}
.svc-card:hover .svc-arrow { opacity: 1; transform: translate(0,0); color: #080808; }

.svc-dots { display: none; }

@media (max-width:900px) {
    .svc-viewport {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .svc-viewport::-webkit-scrollbar { display: none; }
    .svc-grid {
        display: flex;
        border: none;
    }
    .svc-grid .svc-card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        min-height: 280px;
        border: 1px solid var(--border);
    }
    .svc-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 22px;
    }
    .svc-dot {
        width: 7px; height: 7px;
        border-radius: 50%;
        border: none;
        background: var(--border);
        cursor: pointer;
        padding: 0;
        transition: background .2s, width .2s;
    }
    .svc-dot.active { background: var(--orange); width: 22px; border-radius: 4px; }
}

/* ══════════════════════════════════════════════════════════════
   FAQ — single-column rebuild, big serif index numerals
   ══════════════════════════════════════════════════════════════ */
#faq {
    padding: clamp(80px, 9vw, 130px) clamp(20px, 4vw, 48px);
    max-width: 900px;
    margin: 0 auto;
}
.faq-top { text-align: center; margin-bottom: clamp(40px, 5vw, 56px); }
.faq-top .sec-title { justify-content: center; }
.faq-intro { max-width: 52ch; margin: 18px auto 0; color: var(--muted); font-size: 14px; line-height: 1.8; }

.faq-wrap { display: block; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: border-color .3s, box-shadow .3s;
}
.faq-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--orange);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .35s var(--ease);
}
.faq-item.open {
    border-color: color-mix(in srgb, var(--orange) 45%, var(--border));
    box-shadow: 0 18px 44px -24px rgba(0,0,0,.6);
}
.faq-item.open::before { transform: scaleY(1); }
.faq-item:hover:not(.open) { border-color: color-mix(in srgb, var(--white) 22%, var(--border)); }

.faq-q {
    width: 100%;
    background: none;
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 26px;
    cursor: pointer;
    text-align: left;
    position: relative;
    overflow: hidden;
}
.faq-q-l { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.faq-q-num {
    font-family: var(--fd);
    font-size: 30px;
    line-height: 1;
    color: color-mix(in srgb, var(--white) 16%, transparent);
    flex-shrink: 0;
    transition: color .3s;
}
.faq-item.open .faq-q-num { color: var(--orange); }
.faq-q-text { font-size: 15.5px; font-weight: 500; letter-spacing: .2px; }

.faq-plus {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border);
    position: relative;
    flex-shrink: 0;
    transition: border-color .3s, background .3s, transform .3s;
}
.faq-plus::before, .faq-plus::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    background: var(--white);
    transition: transform .3s var(--ease), opacity .3s, background .3s;
}
.faq-plus::before { width: 11px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-plus::after { width: 1.5px; height: 11px; transform: translate(-50%,-50%); }
.faq-item.open .faq-plus {
    border-color: var(--orange);
    background: var(--orange);
    transform: rotate(180deg);
}
.faq-item.open .faq-plus::before,
.faq-item.open .faq-plus::after { background: #080808; }
.faq-item.open .faq-plus::after { opacity: 0; }

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner {
    overflow: hidden;
    padding: 0 26px 0 68px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--muted);
}
.faq-item.open .faq-a-inner { padding: 0 26px 24px 68px; }

.faq-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: clamp(28px, 4vw, 40px);
}
.faq-counter-num { display: none; }
.faq-counter-lbl {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--muted);
}
.faq-counter-lbl #faqCntCur { color: var(--orange); font-weight: 600; }

@media (max-width:640px) {
    .faq-q { padding: 18px 18px; gap: 12px; }
    .faq-q-num { font-size: 22px; }
    .faq-q-text { font-size: 14px; }
    .faq-a-inner { padding-left: 44px; }
    .faq-item.open .faq-a-inner { padding-left: 44px; }
}

/* ══════════════════════════════════════════════════════════════
   CTA — bordered panel with animated moving-gradient background
   ══════════════════════════════════════════════════════════════ */
#cta {
    position: relative;
    margin: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 48px) clamp(60px, 8vw, 100px);
    max-width: var(--max-w);
    margin-left: auto; margin-right: auto;
    padding: clamp(80px, 11vw, 150px) clamp(20px, 5vw, 60px);
    border: 1px solid var(--border);
    text-align: center;
    overflow: hidden;
    background: var(--surface);
}
.cta-frame {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.cta-frame::before, .cta-frame::after {
    content: '';
    position: absolute;
    width: 65%;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .75;
}
.cta-frame::before {
    background: radial-gradient(circle, var(--orange) 0%, var(--orange-dim) 45%, transparent 72%);
    top: -25%; left: -12%;
    animation: ctaBlobA 12s ease-in-out infinite;
}
.cta-frame::after {
    background: radial-gradient(circle, var(--orange-2) 0%, color-mix(in srgb, var(--orange-2) 35%, transparent) 45%, transparent 72%);
    bottom: -30%; right: -12%;
    animation: ctaBlobB 15s ease-in-out infinite;
}
@keyframes ctaBlobA {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(10%, 8%) scale(1.2); }
    66% { transform: translate(4%, 14%) scale(.9); }
}
@keyframes ctaBlobB {
    0%, 100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(-8%, -10%) scale(.85); }
    66% { transform: translate(-14%, -4%) scale(1.15); }
}
#cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 90%);
            mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 90%);
}

.cta-title {
    position: relative;
    z-index: 1;
    font-family: var(--fd);
    font-size: clamp(48px, 8vw, 116px);
    line-height: .95;
    letter-spacing: -.01em;
    margin-bottom: 22px;
}
.cta-title em { color: var(--orange); display: block; font-style: normal; }
.cta-sub {
    position: relative;
    z-index: 1;
    max-width: 46ch;
    margin: 0 auto 38px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 300;
}
.cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--orange);
    color: #080808;
    padding: 18px 44px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    transition: box-shadow .25s, transform .2s;
    animation: ctaShake 6s ease-in-out infinite;
}
.cta-btn:hover {
    box-shadow: 0 0 0 8px var(--orange-dim);
    transform: translateY(-2px);
    animation-play-state: paused;
}
@keyframes ctaShake {
    0%, 92%, 100% { transform: translateX(0) rotate(0); }
    93% { transform: translateX(-3px) rotate(-1deg); }
    94% { transform: translateX(3px) rotate(1deg); }
    95% { transform: translateX(-3px) rotate(-1deg); }
    96% { transform: translateX(3px) rotate(1deg); }
    97% { transform: translateX(-2px) rotate(0); }
    98% { transform: translateX(2px) rotate(0); }
    99% { transform: translateX(0) rotate(0); }
}

@media (max-width:640px) {
    #cta { padding: 70px 20px; }
    .cta-title { font-size: clamp(38px, 12vw, 60px); }
    .cta-btn { padding: 15px 30px; font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 3 — alignment pass, hero→services fade, services
   mobile fix, portfolio coverflow gallery, light-mode default,
   client geo map, CTA network background
   ══════════════════════════════════════════════════════════════ */

/* ── 1. SECTION CONTAINER + HEADER ALIGNMENT ──────────── */
/* Semua section pakai container & padding kiri yang identik,
   supaya header tiap section rata di garis vertikal yang sama. */
#services,
#about,
#clients,
#ratings,
#faq {
    max-width: var(--max-w);
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(20px, 4vw, 48px);
    padding-right: clamp(20px, 4vw, 48px);
}
#portfolio { max-width: var(--max-w); margin-left: auto; margin-right: auto; }

/* Semua header section rata kiri */
.cli-head,
.rt-head,
.faq-top { text-align: left; }
.cli-head .sec-label,
.rt-head .sec-label,
.faq-top .sec-label { justify-content: flex-start; }
.faq-top .sec-title,
.cli-head .sec-title,
.rt-head .sec-title { justify-content: flex-start; text-align: left; }
.faq-intro { margin: 18px 0 0; max-width: 60ch; }
.cli-mq-label { text-align: left; }

/* Buang indent 26px pada About supaya sejajar dengan section lain */
.about-text { padding-left: 0; }
.about-text::before { display: none; }

/* FAQ: lebar container disamakan, list-nya yang dibatasi */
#faq { max-width: var(--max-w); }
.faq-wrap { max-width: 940px; }

/* 10. Counter "1 / 06 Pertanyaan" dihapus */
.faq-counter { display: none !important; }

/* ── 2. HERO → SERVICES: transisi fade halus ──────────── */
/* section{padding:110px 48px} juga kena #hero -> konten tidak menempel bawah */
#hero { padding: 0; }
#hero::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: clamp(80px, 12vh, 150px);
    z-index: 4;
    pointer-events: none;
    background: linear-gradient(to bottom,
        transparent 0%,
        color-mix(in srgb, var(--bg) 45%, transparent) 55%,
        var(--bg) 100%);
}
.hero-content { padding-bottom: clamp(88px, 14vh, 164px); }

#services { position: relative; }
#services::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: clamp(90px, 14vh, 170px);
    background: linear-gradient(to bottom, var(--bg), transparent);
    pointer-events: none;
    z-index: 0;
}
#services > * { position: relative; z-index: 1; }

/* Vignette hero tetap gelap walaupun light mode (video di bawahnya) */
.hero-vig {
    background: radial-gradient(ellipse 75% 75% at 50% 45%, transparent 45%, rgba(8, 8, 8, .6) 100%);
}

/* ── 6. TEKS HERO SELALU PUTIH (termasuk light mode) ──── */
[data-theme="light"] #hero {
    --white: #ffffff;
    --muted: rgba(255, 255, 255, .62);
}
[data-theme="light"] #hero,
[data-theme="light"] #hero .hero-content,
[data-theme="light"] #hero .hero-title { color: #ffffff; }
[data-theme="light"] #hero .hero-desc { color: rgba(255, 255, 255, .86); }
[data-theme="light"] #hero .hero-stat-lbl { color: rgba(255, 255, 255, .62); }
[data-theme="light"] #hero-yt-overlay {
    background: linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.38) 40%, rgba(8,8,8,.5) 65%, rgba(8,8,8,.92) 100%);
}

/* ── 3. SERVICES DI MOBILE: paksa terlihat ────────────── */
@media (max-width: 900px) {
    #services .svc-grid,
    #services .svc-grid .svc-card {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        filter: none !important;
    }
    .svc-viewport { scroll-behavior: smooth; }
    .svc-grid { gap: 14px; padding-bottom: 2px; }
    .svc-grid .svc-card { flex: 0 0 88%; }
}

/* ── 4. PORTFOLIO — GALERI COVERFLOW ──────────────────── */
#portfolio { padding: clamp(80px, 9vw, 130px) 0; }
.port-head { align-items: flex-end; }

/* Tombol kategori — redesign */
.port-filter { gap: 10px; }
.pf-btn {
    font-family: var(--fb);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    color: var(--muted);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color .28s var(--ease), border-color .28s, transform .28s var(--ease), box-shadow .28s;
}
/* specificity dinaikkan: rule lama `.pf-btn.active::before` (titik kecil) harus kalah */
.port-filter .pf-btn::before,
.port-filter .pf-btn.active::before {
    content: '';
    position: absolute;
    inset: 0;
    left: 0; right: 0; top: 0; bottom: 0;
    width: auto; height: auto;
    border-radius: 999px;
    z-index: -1;
    background: linear-gradient(120deg, var(--orange), var(--orange-2));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .38s var(--ease);
}
.pf-btn::after { display: none; }
.pf-btn:hover {
    color: var(--white);
    border-color: color-mix(in srgb, var(--orange) 55%, var(--border));
    transform: translateY(-2px);
}
.pf-btn.active {
    color: #0b0b0b;
    border-color: transparent;
    box-shadow: 0 10px 26px -12px var(--orange-glow);
}
.port-filter .pf-btn.active::before { transform: scaleX(1); }

/* Panggung coverflow */
.port-stage {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 clamp(20px, 4vw, 48px);
}
.port-viewport {
    flex: 1;
    overflow: hidden;
    scroll-snap-type: none;
    padding: 26px 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.port-grid {
    display: flex;
    align-items: center;
    gap: 26px;
    will-change: transform;
    transition: transform .78s var(--ease);
}
.port-card {
    flex: 0 0 auto;
    width: clamp(460px, 44vw, 680px);
    aspect-ratio: 16 / 10;
    scroll-snap-align: none;
    border-radius: 4px;
    transform: scale(.8);
    opacity: .32;
    filter: saturate(.45);
    transition: transform .78s var(--ease), opacity .55s var(--ease),
                filter .55s var(--ease), box-shadow .45s, border-color .3s;
}
.port-card.is-active {
    transform: scale(1);
    opacity: 1;
    filter: none;
    z-index: 3;
    border-color: color-mix(in srgb, var(--orange) 45%, var(--border));
    box-shadow: 0 34px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px var(--orange-dim);
}
.port-card.is-near { opacity: .5; transform: scale(.86); }
.port-card:not(.is-active) { pointer-events: auto; cursor: pointer; }
.port-card:not(.is-active) .port-overlay { opacity: 0; transition: opacity .4s; }
.port-card.is-active .port-overlay { opacity: 1; }
.port-card.is-active:hover { box-shadow: 0 34px 80px -26px rgba(0, 0, 0, .7), 0 0 0 1px var(--orange); }
.port-overlay { padding: 26px 24px; }
.port-name { font-size: 26px; }
.port-meta { font-size: 12px; }
.port-badge { top: 18px; left: 18px; }

.port-nav {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 85%, transparent);
    backdrop-filter: blur(10px);
    z-index: 5;
}

.port-foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}
.port-dots { margin-top: 0; flex-wrap: wrap; max-width: 320px; }
.port-progress {
    width: 160px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.port-progress span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--orange), var(--orange-2));
}
.port-progress span.run { animation: portProg 5s linear forwards; }
@keyframes portProg { from { width: 0% } to { width: 100% } }

@media (max-width: 1100px) {
    .port-card { width: 64vw; }
}
@media (max-width: 900px) {
    .port-card { width: 78vw; aspect-ratio: 4 / 3; transform: scale(.86); }
    .port-grid { gap: 16px; }
    .port-viewport { padding: 16px 0; }
    .port-name { font-size: 20px; }
    .port-nav { display: none; }
}
@media (max-width: 560px) {
    .port-card { width: 84vw; }
}

/* ── 8. CLIENTS — PETA KEPULAUAN + BENDERA ────────────── */
.cli-geo { grid-template-columns: minmax(300px, 1.05fr) 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); }
.cli-geo-map {
    position: relative;
    width: 100%;
    color: var(--orange);
}
.geo-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}
.geo-land path {
    opacity: 0;
    stroke-dasharray: 1400;
    stroke-dashoffset: 1400;
    animation: geoDraw 2.4s var(--ease) forwards;
}
.geo-land path:nth-child(1) { animation-delay: .05s }
.geo-land path:nth-child(2) { animation-delay: .15s }
.geo-land path:nth-child(3) { animation-delay: .25s }
.geo-land path:nth-child(4) { animation-delay: .35s }
.geo-land path:nth-child(5) { animation-delay: .45s }
.geo-land path:nth-child(6) { animation-delay: .55s }
.geo-land path:nth-child(n+7) { animation-delay: .65s }
@keyframes geoDraw {
    0%   { opacity: 0; stroke-dashoffset: 1400; }
    12%  { opacity: .95; }
    100% { opacity: .95; stroke-dashoffset: 0; }
}
.geo-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 2;
    animation: geoPinIn .7s var(--ease) 1.5s both;
}
.cli-geo-map .cli-geo-flag-img {
    border: 1px solid color-mix(in srgb, var(--orange) 45%, var(--border));
    outline: 3px solid var(--orange-dim);
}
.geo-pin-lbl {
    font-size: 9px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
@keyframes geoPinIn {
    from { opacity: 0; transform: translate(-50%, -35%) scale(.85); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.cli-geo-map .cli-geo-flag-img {
    width: 46px; height: 31px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
@media (max-width: 820px) {
    .cli-geo { grid-template-columns: 1fr; }
    .cli-geo-map { max-width: 520px; }
}
@media (max-width: 640px) {
    .cli-geo-map .cli-geo-flag-img { width: 34px; height: 23px; }
    .geo-pin-lbl { font-size: 8px; letter-spacing: 1px; }
}

/* ── 9. HOVER CARD CLIENT UTAMA ───────────────────────── */
.cli-featured { border-color: var(--border); }
.cli-featured .cli-card-lg {
    position: relative;
    border: none;
    transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.cli-featured .cli-card-lg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, var(--orange-dim), transparent 68%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
}
.cli-featured .cli-card-lg:hover {
    transform: none;
    background: var(--surface2);
    box-shadow: inset 0 0 0 1.5px var(--orange);
    z-index: 2;
}
.cli-featured .cli-card-lg:hover::before { opacity: 1; }
.cli-featured .cli-card-lg img {
    transition: opacity .35s var(--ease), transform .45s var(--ease) !important;
    position: relative;
}
.cli-featured .cli-card-lg:hover img { opacity: 1 !important; transform: scale(1.07); }
.cli-featured .cli-card-lg .cli-card-name { position: relative; }
.cli-featured .cli-card-lg:hover .cli-card-name { color: var(--orange); }

/* ── 11. CTA — BACKGROUND JARINGAN / NETWORK ──────────── */
.cta-frame::before,
.cta-frame::after { display: none !important; }
#cta-net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(ellipse 78% 80% at 50% 50%, #000 40%, transparent 92%);
            mask-image: radial-gradient(ellipse 78% 80% at 50% 50%, #000 40%, transparent 92%);
}
#cta::before {
    background-image:
        linear-gradient(color-mix(in srgb, var(--white) 5%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--white) 5%, transparent) 1px, transparent 1px);
    background-size: 56px 56px;
}
#cta { background: linear-gradient(150deg, var(--surface), var(--bg)); }

/* ══════════════════════════════════════════════════════════════
   REVISION 4 — center alignment pass, portfolio shadow/mobile,
   FAQ width, loader removed, 3D globe untuk peta klien
   ══════════════════════════════════════════════════════════════ */

/* ── 2. LOADING SCREEN DIHAPUS ────────────────────────── */
#arfa-loader { display: none !important; }

/* ── 5 & 6. HEADER + HERO KE TENGAH (DESKTOP) ─────────── */
/* Hero */
.hero-content { align-items: center; text-align: center; }
.hero-title { max-width: 22ch; margin-left: auto; margin-right: auto; }
.hero-desc { margin-left: auto; margin-right: auto; }
.hero-eyebrow { justify-content: center; }
.hero-stats { justify-content: center; margin-left: auto; margin-right: auto; }
.hero-stat-item { align-items: center; text-align: center; padding: 0 22px; }
.hero-stat-item:first-child { padding-left: 22px; }
.hero-stat-item + .hero-stat-item { padding-left: 22px; }

/* Services / Clients / Ratings / FAQ — header di tengah */
.svc-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}
.svc-head .sec-label { justify-content: center; }
.svc-intro { margin: 0 auto; max-width: 62ch; text-align: center; }

.cli-head,
.rt-head,
.faq-top { text-align: center; }
.cli-head .sec-label,
.rt-head .sec-label,
.faq-top .sec-label { justify-content: center; }
.cli-head .sec-title,
.rt-head .sec-title,
.faq-top .sec-title { justify-content: center; text-align: center; }
.faq-intro { margin: 18px auto 0; }
.cli-mq-label { text-align: center; }

/* Portfolio & About tetap rata kiri di desktop */
.port-head { text-align: left; }
.about-text { text-align: left; }

/* ── 4. FAQ CARD LEBIH LEBAR DI PC ────────────────────── */
.faq-wrap { max-width: 1180px; margin: 0 auto; }
.faq-q { padding: 26px 34px; }
.faq-q-text { font-size: 16.5px; }
.faq-a-inner { padding: 0 34px 0 78px; font-size: 14px; }
.faq-item.open .faq-a-inner { padding: 0 34px 26px 78px; }

/* ── 1. PORTFOLIO: shadow tidak terpotong ─────────────── */
/* overflow:hidden meng-clip di tepi PADDING box, jadi cukup beri padding
   vertikal yang lebih besar dari jangkauan shadow (±44px) — tanpa mengubah
   overflow (overflow:visible bikin flex item melar & slider rusak). */
.port-viewport {
    padding: 48px 0 56px;
    overflow: hidden;
    min-width: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.port-foot { margin-top: 0; }

/* ── 3. MOBILE: SEMUA HEADER RATA TENGAH ──────────────── */
@media (max-width: 768px) {
    /* garis "—" di label section dihapus */
    .sec-label::before { display: none !important; }
    .sec-label {
        justify-content: center !important;
        text-align: center;
        gap: 0;
    }
    .sec-title {
        font-size: clamp(28px, 8.2vw, 46px);
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
    .sec-title,
    .svc-head,
    .port-head,
    .cli-head,
    .rt-head,
    .faq-top,
    .about-text { text-align: center; }

    .svc-head,
    .port-head {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .port-filter { justify-content: center; }
    .about-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .about-body { margin-left: auto; margin-right: auto; }
    .cli-geo-txt { text-align: center; }
    .cli-geo-sub { margin-left: auto; margin-right: auto; }
    .faq-q { padding: 18px 18px; text-align: left; }
    .faq-wrap { max-width: 100%; }

    /* 1. mobile: card kiri/kanan lebih kelihatan */
    .port-stage { padding: 0 10px; }
    .port-card {
        width: 62vw;
        transform: scale(.9);
        opacity: .5;
    }
    .port-card.is-near { opacity: .6; transform: scale(.9); }
    .port-grid { gap: 12px; }
    .port-viewport {
        padding: 30px 0 36px;
        -webkit-mask-image: none;
                mask-image: none;
    }
}
@media (max-width: 560px) {
    .port-card { width: 64vw; }
}

/* ── 7. GLOBE 3D ──────────────────────────────────────── */
.cli-geo-map.is-globe {
    aspect-ratio: 1 / 1;
    max-width: 440px;
    margin: 0 auto;
    cursor: grab;
    touch-action: pan-y;
}
.cli-geo-map.is-globe:active { cursor: grabbing; }
.cli-geo-map.is-globe .geo-svg,
.cli-geo-map.is-globe > .geo-pin { display: none; }
.cli-geo-map.is-globe canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.geo-marker {
    position: absolute;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 3;
}
.geo-marker img {
    width: 34px; height: 23px;
    object-fit: cover;
    border-radius: 2px;
    border: 1px solid color-mix(in srgb, var(--orange) 55%, var(--border));
    outline: 3px solid var(--orange-dim);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .32);
}
.geo-marker span {
    font-size: 8.5px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
}
@media (max-width: 640px) {
    .cli-geo-map.is-globe { max-width: 300px; }
    .geo-marker img { width: 26px; height: 18px; }
    .geo-marker span { font-size: 7.5px; }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 5 — snap scroll, focus frame, portfolio tanpa shadow,
   tipografi map & client, filter mobile per baris
   ══════════════════════════════════════════════════════════════ */

/* ── 3. HAPUS GARIS "—" DI SEMUA SECTION LABEL ────────── */
.sec-label::before { display: none !important; }
.sec-label { gap: 0; }

/* ── 1. TIPOGRAFI TEKS DI SAMPING MAP ─────────────────── */
.cli-geo-ttl {
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.12;
    margin-bottom: 14px;
    letter-spacing: .5px;
}
.cli-geo-sub {
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.75;
    max-width: 46ch;
}
@media (max-width: 820px) {
    .cli-geo-ttl { font-size: clamp(21px, 5.4vw, 28px); }
    .cli-geo-sub { font-size: 14px; margin-left: auto; margin-right: auto; }
}

/* ── 2. CARD CLIENT UTAMA: 7 KOLOM + NAMA LEBIH BESAR ── */
.cli-featured { grid-template-columns: repeat(7, 1fr); }
.cli-featured .cli-card-lg .cli-card-name {
    font-size: 14px;
    letter-spacing: 1.4px;
    line-height: 1.25;
    text-align: center;
    color: color-mix(in srgb, var(--white) 62%, transparent);
}
.cli-featured .cli-card-lg { padding: 16px 10px; gap: 12px; }
.cli-featured .cli-card-lg .cli-card-name { white-space: normal; }
@media (max-width: 1200px) { .cli-featured { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .cli-featured { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px)  {
    .cli-featured { grid-template-columns: repeat(2, 1fr); }
    .cli-featured .cli-card-lg .cli-card-name { font-size: 12px; }
}

/* ── 4. PORTFOLIO TANPA SHADOW ────────────────────────── */
.port-card,
.port-card.is-active,
.port-card.is-active:hover { box-shadow: none !important; }
.port-viewport { padding: 26px 0 30px; }

/* ── 7. RATINGS: HILANGKAN SHADOW SAAT HOVER ──────────── */
.rt-card { transition: border-color .3s, background .3s; }
.rt-card:hover {
    box-shadow: none !important;
    border-color: var(--orange);
    background: var(--surface2);
}

/* ── 5. SCROLL MAGNET / SNAP PER SECTION ──────────────── */
html {
    scroll-snap-type: y proximity;
    scroll-padding-top: 0;
}
#hero,
#services,
#about,
#portfolio,
#clients,
#ratings,
#faq,
#cta,
footer {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-snap-type: none; }
}

/* ── 6. FOCUS FRAME GLOBAL ────────────────────────────── */
:root { --ff-color: rgba(255, 255, 255, .45); }
#hero .hero-frame { display: none; }
#focus-frame {
    position: fixed;
    inset: 16px;
    z-index: 150;
    pointer-events: none;
}
#focus-frame .ff-c {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1.6px solid var(--ff-color);
    transition: border-color .55s var(--ease), width .5s var(--ease), height .5s var(--ease);
}
.ff-tl { top: 0; left: 0;  border-right: none; border-bottom: none; }
.ff-tr { top: 0; right: 0; border-left: none;  border-bottom: none; }
.ff-bl { bottom: 0; left: 0;  border-right: none; border-top: none; }
.ff-br { bottom: 0; right: 0; border-left: none;  border-top: none; }
#focus-frame.ff-pulse .ff-c { animation: ffPulse .75s var(--ease); }
@keyframes ffPulse {
    0%   { width: 26px; height: 26px; opacity: 1; }
    45%  { width: 62px; height: 62px; opacity: .55; }
    100% { width: 26px; height: 26px; opacity: 1; }
}
@media (max-width: 640px) {
    #focus-frame { inset: 10px; }
    #focus-frame .ff-c { width: 18px; height: 18px; }
    @keyframes ffPulse {
        0%   { width: 18px; height: 18px; opacity: 1; }
        45%  { width: 44px; height: 44px; opacity: .55; }
        100% { width: 18px; height: 18px; opacity: 1; }
    }
}

/* ── 9 & 10. PORTFOLIO DI MOBILE ──────────────────────── */
@media (max-width: 768px) {
    /* 10. tombol kategori dibungkus per baris, tidak scroll horizontal */
    .port-filter {
        display: flex;
        flex-wrap: wrap !important;
        overflow: visible !important;
        justify-content: center;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 8px;
    }
    .pf-btn {
        flex: 0 0 auto;
        padding: 9px 15px;
        font-size: 10.5px;
        letter-spacing: 1.2px;
    }

    /* 9. card portfolio diperbesar */
    .port-stage { padding: 0 8px; }
    .port-card {
        width: 84vw;
        aspect-ratio: 3 / 4;
        transform: scale(.94);
        opacity: .42;
    }
    .port-card.is-near { opacity: .5; transform: scale(.94); }
    .port-card.is-active { transform: scale(1); }
    .port-grid { gap: 10px; }
    .port-viewport { padding: 18px 0 22px; }
    .port-overlay { padding: 20px 18px; }
    .port-name { font-size: 22px; }
    .port-meta { font-size: 11.5px; }
    .port-badge { font-size: 9.5px; padding: 5px 10px; }
}
@media (max-width: 560px) {
    .port-card { width: 86vw; }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 6 — snap mobile-only, frame dihapus, logo client tajam,
   portfolio infinite + header tengah, fade hero super halus
   ══════════════════════════════════════════════════════════════ */

/* ── 1. SNAP HANYA DI MOBILE ──────────────────────────── */
/* Di desktop, section jauh lebih tinggi dari layar sehingga snap
   justru melawan scroll user. Jadi snap dimatikan di >900px. */
html { scroll-snap-type: none; }
@media (max-width: 900px) {
    html { scroll-snap-type: y proximity; }
}

/* ── 2. FRAME SUDUT ORANYE DIHAPUS ────────────────────── */
#focus-frame,
.hero-frame { display: none !important; }

/* ── 3 & 4. LOGO CLIENT LEBIH TAJAM, NAMA HITAM ───────── */
.cli-card img,
.cli-featured .cli-card-lg img {
    opacity: 1 !important;
    filter: none !important;
    image-rendering: auto;
}
.cli-featured .cli-card-lg img {
    width: 108px !important;
    height: 68px !important;
    object-fit: contain;
}
.cli-row .cli-card img {
    width: 68px !important;
    height: 46px !important;
    object-fit: contain;
}
.cli-featured .cli-card-lg .cli-card-name,
.cli-row .cli-card .cli-card-name {
    color: var(--white);
    opacity: 1;
}
.cli-card { opacity: 1; }
.cli-card:hover .cli-card-name { color: var(--orange); }
@media (max-width: 640px) {
    .cli-featured .cli-card-lg img { width: 84px !important; height: 54px !important; }
    .cli-row .cli-card img { width: 56px !important; height: 38px !important; }
}

/* ── 5. GRID CLIENT UTAMA TANPA KOTAK KOSONG ──────────── */
/* Flex + justify-content:center → baris terakhir yang tidak penuh
   otomatis di tengah, tidak menyisakan sel kosong. */
/* Trik hairline pakai background container tidak bisa dipakai lagi:
   sisa ruang di baris terakhir akan tampil sebagai blok abu-abu.
   Jadi garisnya dipindah ke outline tiap card (tidak memakan ruang,
   saling menimpa sehingga tetap 1px). */
.cli-featured {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 0;
    background: none;
    border: none;
}
.cli-featured .cli-card-lg {
    outline: 1px solid var(--border);
    outline-offset: -1px;
    background: var(--surface);
}
.cli-featured .cli-card-lg:hover {
    outline-color: var(--orange);
    outline-width: 1.5px;
}
.cli-featured .cli-card-lg {
    flex: 0 0 calc(100% / 7);
    aspect-ratio: 3 / 2;
}
@media (max-width: 1200px) {
    .cli-featured .cli-card-lg { flex: 0 0 25%; }
}
@media (max-width: 900px) {
    .cli-featured .cli-card-lg { flex: 0 0 33.3333%; }
}
@media (max-width: 520px) {
    .cli-featured .cli-card-lg { flex: 0 0 50%; }
}

/* ── 7. HEADER PORTFOLIO KE TENGAH DI PC ──────────────── */
.port-head {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.port-head .sec-label { justify-content: center; }
.port-filter { justify-content: center; }

/* ── 8. FADE HERO → SERVICES SANGAT HALUS ─────────────── */
/* Gradien panjang dengan banyak stop (mendekati kurva ease) supaya
   tidak ada garis batas yang terlihat antara video dan section. */
#hero::after {
    height: clamp(150px, 22vh, 290px);
    background: linear-gradient(to bottom,
        color-mix(in srgb, var(--bg) 0%,   transparent) 0%,
        color-mix(in srgb, var(--bg) 3%,   transparent) 12%,
        color-mix(in srgb, var(--bg) 9%,   transparent) 24%,
        color-mix(in srgb, var(--bg) 19%,  transparent) 36%,
        color-mix(in srgb, var(--bg) 33%,  transparent) 48%,
        color-mix(in srgb, var(--bg) 50%,  transparent) 60%,
        color-mix(in srgb, var(--bg) 68%,  transparent) 71%,
        color-mix(in srgb, var(--bg) 84%,  transparent) 81%,
        color-mix(in srgb, var(--bg) 94%,  transparent) 90%,
        var(--bg) 100%);
}
/* Overlay video ikut menggelap lebih bertahap di bagian bawah */
#hero-yt-overlay {
    background: linear-gradient(180deg,
        rgba(8,8,8,.58) 0%,
        rgba(8,8,8,.40) 38%,
        rgba(8,8,8,.46) 58%,
        rgba(8,8,8,.62) 76%,
        rgba(8,8,8,.80) 90%,
        rgba(8,8,8,.90) 100%);
}
.hero-vig {
    background: radial-gradient(ellipse 78% 78% at 50% 42%, transparent 48%, rgba(8,8,8,.5) 100%);
}
#services::before {
    height: clamp(120px, 22vh, 260px);
    background: linear-gradient(to bottom,
        var(--bg) 0%,
        color-mix(in srgb, var(--bg) 70%, transparent) 45%,
        transparent 100%);
}
/* padding > tinggi fade, supaya teks hero tidak ikut memudar */
.hero-content { padding-bottom: clamp(126px, 18.5vh, 240px); }

/* Layar pendek (laptop 13"): hero dikecilkan supaya tidak terpotong nav */
@media (min-width: 900px) and (max-height: 820px) {
    .hero-title { font-size: clamp(40px, 6.2vw, 88px); }
    .hero-desc { margin-top: 18px; font-size: 14px; }
    .hero-stats { margin-top: clamp(20px, 3vh, 34px); padding-top: 18px; }
    .hero-content { padding-bottom: clamp(96px, 15vh, 170px); }
    #hero::after { height: clamp(110px, 18vh, 210px); }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 7 — dot portfolio berjendela, FAQ rapi, grid bergerak
   di FAQ / map / about, reveal dua arah
   ══════════════════════════════════════════════════════════════ */

/* ── 1. DOT PORTFOLIO: JENDELA 5 DOT ──────────────────── */
.port-dots {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: none;
    overflow: hidden;
}
/* 5 dot (7px) + 4 gap (8px) = 67px. Tanpa mask: mask akan memudarkan
   dot pertama/terakhir, dan saat dot aktif berada di ujung jendela ia
   jadi ikut hilang. Dot di luar jendela sudah disembunyikan lewat opacity. */
.port-dots.is-windowed {
    /* lebar diatur JS karena dot aktif berbentuk pil (lebarnya berubah) */
    transition: width .25s var(--ease);
    /* justify-content:center akan menggeser strip yang lebih lebar dari
       wadahnya ke kiri (overflow dibagi rata) — strip harus mulai dari 0. */
    justify-content: flex-start;
}
.port-dots-strip {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
    transition: transform .45s var(--ease);
}
/* Desain dot disamakan dengan dot di Our Services: bulat 7px,
   yang aktif jadi pil oranye selebar 22px. */
.port-dot {
    width: 7px !important;
    height: 7px;
    border-radius: 50% !important;
    border: none;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
    background: var(--border);
    transition: background .2s, width .25s var(--ease), border-radius .25s, opacity .3s, transform .3s var(--ease);
}
.port-dot.active {
    width: 22px !important;
    border-radius: 4px !important;
    background: var(--orange);
}
/* dot di tepi jendela dibuat samar supaya terasa berlanjut */
.port-dot.is-edge { opacity: .45; transform: scale(.78); }
.port-dot.active.is-edge { opacity: 1; transform: none; }

/* ── 2. TEKS FAQ SAAT TERTUTUP RATA TENGAH VERTIKAL ───── */
.faq-q-l {
    align-items: center;      /* sebelumnya baseline → teks terlihat turun */
    gap: 20px;
}
.faq-q-num {
    line-height: 1;
    position: relative;
    top: 1px;                 /* koreksi optis font Bebas */
}
.faq-q-text { line-height: 1.35; }

/* ── 3–5. GRID BERGERAK (SAMAR) ───────────────────────── */
:root {
    --grid-line: color-mix(in srgb, var(--white) 4.5%, transparent);
}
@keyframes gridDrift  { from { background-position: 0 0; }  to { background-position: 0 60px; } }
@keyframes gridDriftX { from { background-position: 0 0; }  to { background-position: -60px 0; } }

.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* 3. FAQ — grid jalan dari atas ke bawah, memudar di tepi atas & bawah */
#faq { position: relative; }
#faq::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 16s linear infinite;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 78%, transparent 100%);
}
#faq > * { position: relative; z-index: 1; }

/* 4. Panel map klien — grid hanya di sisi kanan, jalan ke kiri */
.cli-geo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDriftX 18s linear infinite;
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 28%, #000 100%);
            mask-image: linear-gradient(to right, transparent 0, transparent 28%, #000 100%);
}
.cli-geo > * { position: relative; z-index: 1; }

/* 5. About / Who We Are — sama, grid di sisi kanan saja */
#about { position: relative; overflow: hidden; }
#about::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDriftX 18s linear infinite;
    -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 30%, #000 100%);
            mask-image: linear-gradient(to right, transparent 0, transparent 30%, #000 100%);
}
#about > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
    #faq::before, .cli-geo::before, #about::before { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 8 — snap mobile digeser, jarak card client di mobile
   ══════════════════════════════════════════════════════════════ */

/* ── 3. POSISI SNAP DI MOBILE SEDIKIT LEBIH KE ATAS ───── */
@media (max-width: 900px) {
    /* scroll-margin-top positif = titik snap naik sedikit, sehingga
       label kecil + judul besar sama-sama muat di bawah nav. */
    #services, #about, #portfolio, #clients, #ratings, #faq, #cta {
        scroll-margin-top: 14px;
    }
    #hero { scroll-margin-top: 0; }
}

/* ── 4. JARAK ANTAR CARD CLIENT UTAMA DI MOBILE ───────── */
@media (max-width: 900px) {
    .cli-featured {
        gap: 10px;
        padding: 2px;
    }
    .cli-featured .cli-card-lg {
        flex: 0 0 calc((100% - 20px) / 3);
        outline: none;
        border: 1px solid var(--border);
        border-radius: 4px;
        background: var(--surface);
    }
    .cli-featured .cli-card-lg:hover {
        outline: none;
        border-color: var(--orange);
    }
}
@media (max-width: 520px) {
    .cli-featured { gap: 12px; }
    .cli-featured .cli-card-lg { flex: 0 0 calc((100% - 12px) / 2); }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 9 — card brand lain disamakan, hero mobile naik
   ══════════════════════════════════════════════════════════════ */

/* ── 2. CARD "BRAND LAINNYA" = DESAIN CARD BRAND UTAMA ── */
.cli-row .cli-card {
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--surface);
    padding: 16px 12px;
    gap: 10px;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.cli-row .cli-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: radial-gradient(circle at 50% 35%, var(--orange-dim), transparent 68%);
    opacity: 0;
    transition: opacity .35s var(--ease);
    pointer-events: none;
}
.cli-row .cli-card:hover {
    transform: none;
    background: var(--surface2);
    border-color: var(--orange);
}
.cli-row .cli-card:hover::before { opacity: 1; }
.cli-row .cli-card img,
.cli-row .cli-card .cli-card-name { position: relative; }
.cli-row .cli-card:hover img { transform: scale(1.07); }
.cli-row .cli-card .cli-card-name {
    font-size: 11px;
    letter-spacing: 1.2px;
    text-align: center;
}

/* ── 3. HERO DI MOBILE DIGESER KE ATAS ────────────────── */
/* Isi hero rata bawah (#hero pakai align-items:flex-end), jadi untuk
   menggesernya ke ATAS padding-bottom-nya justru diperbesar. */
@media (max-width: 900px) {
    .hero-content { padding-bottom: clamp(172px, 25vh, 290px); }
    #hero::after { height: clamp(100px, 15vh, 180px); }
    .hero-stats { margin-top: clamp(18px, 3vh, 28px); }
}
@media (max-width: 560px) {
    .hero-content { padding-bottom: clamp(160px, 23vh, 260px); }
}

/* ── 7. LAYOUT SERVICES UNTUK 7 CARD ──────────────────── */
/* Grid 4 kolom akan menyisakan 1 sel kosong di baris kedua (7 = 4+3).
   Pakai flex-wrap dengan flex-grow: baris terakhir otomatis melebar
   mengisi sisa ruang, jadi tidak ada sel bolong. */
@media (min-width: 901px) {
    .svc-grid {
        display: flex;
        flex-wrap: wrap;
        border: none;
        gap: 0;
    }
    .svc-grid .svc-card {
        flex: 1 1 25%;
        min-width: 0;
        border-right: none;
        outline: 1px solid var(--border);
        outline-offset: -1px;
    }
}
@media (min-width: 1500px) {
    .svc-grid .svc-card { flex: 1 1 14.2857%; }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 10 — jarak antar card Our Services di desktop
   ══════════════════════════════════════════════════════════════ */
@media (min-width: 901px) {
    .svc-grid { gap: 22px; }
    .svc-grid .svc-card {
        /* basis dikurangi porsi gap-nya supaya tetap pas 4 per baris:
           4 x (25% - 16.5px) + 3 x 22px = 100% */
        flex: 1 1 calc(25% - 16.5px);
        outline: none;
        border: 1px solid var(--border);
        border-radius: 6px;
        background: var(--surface);
    }
    .svc-grid .svc-card:hover { border-color: var(--orange); }
}
@media (min-width: 1500px) {
    .svc-grid .svc-card { flex: 1 1 calc(14.2857% - 18.9px); }
}

/* ══════════════════════════════════════════════════════════════
   REVISION 11 — shaky CTA, client card spacing, width parity,
   services progress bar mobile, hero eyebrow tanpa dot
   ══════════════════════════════════════════════════════════════ */

/* ── PC 1: CARD CLIENT UTAMA — RENGGANG + ROUNDED ─────── */
@media (min-width: 901px) {
    .cli-featured {
        gap: 14px;
        background: none;
    }
    .cli-featured .cli-card-lg {
        outline: none;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: var(--surface);
        /* flex-basis dikurangi porsi gap supaya tetap 7 per baris */
        flex: 0 0 calc((100% - 14px * 6) / 7);
    }
    .cli-featured .cli-card-lg:hover {
        outline: none;
        border-color: var(--orange);
    }
}
@media (min-width: 901px) and (max-width: 1200px) {
    .cli-featured .cli-card-lg { flex: 0 0 calc((100% - 14px * 3) / 4); }
}

/* ── PC 2 & 3: SAMAKAN LEBAR KIRI-KANAN DENGAN FRAME RATING ──
   Redeklarasi terakhir (menang di cascade) supaya svc-grid, cli-geo,
   dan cli-featured pasti memakai container + padding yang identik
   dengan #ratings/.rt-mq, walau ada aturan lain sebelumnya. */
#services,
#clients,
#ratings {
    max-width: var(--max-w) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(20px, 4vw, 48px) !important;
    padding-right: clamp(20px, 4vw, 48px) !important;
    box-sizing: border-box !important;
}
.svc-grid,
.cli-geo,
.cli-featured,
.cli-row,
.rt-mq { width: 100%; box-sizing: border-box; }

/* ── PC 4 & Both-1: TOMBOL "LET'S TALK" GOYANG BERKALA ── */
@keyframes ctaShake {
    0%, 92%, 100% { transform: translateX(0) rotate(0); }
    93% { transform: translateX(-2.5px) rotate(-2deg); }
    94.5% { transform: translateX(2.5px) rotate(2deg); }
    96% { transform: translateX(-2px) rotate(-1.5deg); }
    97.5% { transform: translateX(2px) rotate(1.5deg); }
    99% { transform: translateX(-1px) rotate(0); }
}
.shake-cta {
    display: inline-block;
    animation: ctaShake 4.5s ease-in-out infinite;
    transform-origin: center;
}
.shake-cta:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .shake-cta { animation: none; }
}

/* ── Mobile 1: PROGRESS BAR SERVICES (samakan dgn portfolio) ── */
.svc-foot { display: flex; flex-direction: column; align-items: center; gap: 0; }
.svc-progress { display: none; }
@media (max-width: 899px) {
    .svc-foot { gap: 14px; margin-top: 4px; }
    .svc-progress {
        display: block;
        width: 160px;
        height: 2px;
        background: var(--border);
        border-radius: 2px;
        overflow: hidden;
    }
    .svc-progress span {
        display: block;
        height: 100%;
        width: 0%;
        background: linear-gradient(to right, var(--orange), var(--orange-2));
    }
    .svc-progress span.run { animation: portProg 5s linear forwards; }
}

/* ── Both 2: pastikan eyebrow tanpa dot tetap center-aligned rapi ── */
.hero-eyebrow { gap: 0; }

/* ══════════════════════════════════════════════════════════════
   REVISI AGUSTUS 2026 — PERBAIKAN TOMBOL "SEE ALL PORTFOLIO"
   ══════════════════════════════════════════════════════════════ */

/* MASALAH: di mobile, #portfolio dan #clients sama-sama titik
   scroll-snap. Tinggi #portfolio (±918px) melebihi layar (±844px),
   sehingga saat ter-snap ke awal #portfolio tombol See All berada
   beberapa piksel DI BAWAH lipatan, lalu scroll berikutnya langsung
   melompat ke #clients — tombolnya tidak pernah sempat terlihat.

   SOLUSI: di mobile, #portfolio tidak lagi jadi titik snap sehingga
   posisi di antara kedua section bisa dijangkau, ditambah jarak
   bawah yang lebih longgar. */
@media (max-width: 900px) {
    #portfolio {
        scroll-snap-align: none;
        padding-bottom: clamp(56px, 8vw, 88px);
    }

    /* Tombol tidak digerbangi animasi reveal supaya selalu terbaca. */
    .port-seeall-wrap {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        margin-top: 22px;
    }
    .port-seeall {
        padding: 13px 26px;
        font-size: 11.5px;
        letter-spacing: 1.5px;
    }
}

/* Panah dihapus dari markup; aturan ini menjaga kalau ada sisa. */
.port-seeall .psa-arrow { display: none !important; }
