/* --- spacing tune (keep global sections cleaner) --- */
            #showcase{ padding-bottom: 72px !important; }
            #sample-works{ padding-top: 76px !important; padding-bottom: 84px !important; }
            #bts{ padding-top: 84px !important; }

            /* --- SW layout --- */
            #sample-works .sw-wrap{
                position: relative;
                width: 100%;
                padding-bottom: 6px;
            }

            #sample-works .sw-track{
                display: flex;
                gap: 12px;
                overflow-x: auto;
                overflow-y: hidden;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                padding: 6px 56px;
                scrollbar-width: none;
                overscroll-behavior-x: contain;
                scroll-behavior: smooth;
            }
            #sample-works .sw-track::-webkit-scrollbar{ display:none; }

            #sample-works .sw-slide{
                scroll-snap-align: start;
                flex: 0 0 92%;
                max-width: 92%;
            }
            @media (min-width: 640px){
                #sample-works .sw-slide{ flex-basis: 62%; max-width: 62%; }
            }
            @media (min-width: 980px){
                #sample-works .sw-slide{ flex-basis: 38%; max-width: 38%; }
            }
            @media (min-width: 1280px){
                #sample-works .sw-slide{ flex-basis: 28%; max-width: 28%; }
            }
            @media (min-width: 1600px){
                #sample-works .sw-slide{ flex-basis: 22%; max-width: 22%; }
            }

            #sample-works .sw-grid-card{
                position: relative;
                border-radius: 16px;
                overflow: hidden;
                background: #0b0b0b;
                border: 1px solid rgba(255,255,255,.06);
                box-shadow: 0 20px 80px rgba(0,0,0,.55);
            }
            #sample-works .sw-img{ width: 100%; height: auto; display:block; }

            /* overlay = 3 columns x 5 rows, with row weights matched to the image grids */
            #sample-works .sw-overlay{
                position:absolute;
                top: 1.4%;
                left: 0;
                right: 0;
                bottom: 0;
                display:grid;
                grid-template-columns: repeat(3, 1fr);
                grid-template-rows: 200fr 202fr 204fr 206fr 188fr;
            }

            #sample-works .sw-tile{
                position:relative;
                background: transparent;
                border: 0;
                padding: 0;
                outline: none;
                cursor: default;
                touch-action: pan-x; /* allow swipe */
            }

            /* subtle hover only for clickable tiles */
            #sample-works .sw-tile.is-clickable{ cursor: pointer; }
            #sample-works .sw-tile::before{
                content:"";
                position:absolute;
                inset:0;
                opacity:0;
                transition: opacity .18s ease;
                background: radial-gradient(circle at 50% 55%, rgba(226,255,0,.18), rgba(226,255,0,0) 62%);
            }
            #sample-works .sw-tile.is-clickable:hover::before{ opacity:1; }
            #sample-works .sw-tile.is-clickable:focus-visible::before{ opacity:1; }

            /* tiny play indicator */
            #sample-works .sw-play{
                position:absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%,-50%) scale(.92);
                width: 34px;
                height: 34px;
                border-radius: 999px;
                display:flex;
                align-items:center;
                justify-content:center;
                color: #0a0a0a;
                background: rgba(226,255,0,.92);
                box-shadow: 0 10px 30px rgba(0,0,0,.45);
                opacity: 0;
                transition: opacity .18s ease, transform .18s ease;
                pointer-events:none;
            }
            #sample-works .sw-tile.is-clickable:hover .sw-play{
                opacity: 1;
                transform: translate(-50%,-50%) scale(1);
                animation: swPulse 1.25s ease-in-out infinite;
            }
            @keyframes swPulse{
                0%,100%{ filter: drop-shadow(0 0 0 rgba(226,255,0,0)); }
                50%{ filter: drop-shadow(0 0 10px rgba(226,255,0,.35)); }
            }

            /* drag state: don't trigger clicks while dragging */
            #sample-works .sw-track.is-dragging .sw-tile{ pointer-events:none; }

            #sample-works .sw-nav{
                position:absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 42px;
                height: 42px;
                border-radius: 999px;
                border: 1px solid rgba(255,255,255,.10);
                background: rgba(0,0,0,.55);
                color: white;
                display:flex;
                align-items:center;
                justify-content:center;
                z-index: 6;
                transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
            }

            #sample-works .sw-nav{ opacity: .78; }
            #sample-works .sw-wrap:hover .sw-nav{ opacity: .92; }
            @media (max-width: 767px){
                #sample-works .sw-nav{ opacity: .28; }
                #sample-works .sw-nav:active{ opacity: .6; }
            }

            #sample-works .sw-nav:hover{
                background: rgba(0,0,0,.78);
                border-color: rgba(226,255,0,.25);
                transform: translateY(-50%) scale(1.03);
            }
            #sample-works .sw-prev{ left: 10px; }
            #sample-works .sw-next{ right: 10px; }

            /* hover scroll zones */
            #sample-works .sw-edge{
                position:absolute;
                top: 0;
                bottom: 0;
                width: 12%;
                z-index: 4;
                pointer-events: none;
            }
            #sample-works .sw-edge-left{ left:0; }
            #sample-works .sw-edge-right{ right:0; }

            @media (max-width: 640px){
                #sample-works .sw-nav{ display:none; }
                #sample-works .sw-track{ padding: 6px 14px; gap: 10px; }
                #sample-works .sw-slide{ flex-basis: 94%; max-width: 94%; }
            }

            /* --- SW modal --- */
            .sw-modal{
                position: fixed;
                inset: 0;
                display: none;
                z-index: 9999;
            }
            .sw-modal.is-open{ display:block; }
            .sw-modal-backdrop{
                position:absolute;
                inset:0;
                background: rgba(0,0,0,.78);
                backdrop-filter: blur(6px);
            }
            .sw-modal-card{
                position:absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%,-50%);
                width: min(980px, 92vw);
                background: rgba(10,10,10,.96);
                border: 1px solid rgba(255,255,255,.10);
                border-radius: 16px;
                overflow: hidden;
                box-shadow: 0 30px 120px rgba(0,0,0,.7);
                max-height: calc(100vh - 48px);
                display: flex;
                flex-direction: column;
            }
            .sw-modal-close{
                position:absolute;
                right: 10px;
                top: 10px;
                width: 40px;
                height: 40px;
                border-radius: 999px;
                border: 1px solid rgba(255,255,255,.10);
                background: rgba(0,0,0,.55);
                color: white;
                display:flex;
                align-items:center;
                justify-content:center;
                z-index: 2;
            }
            .sw-modal-card{ --sw-ar: 16 / 9; max-width: 980px; width: min(980px, 92vw); }
.sw-modal-card.is-vertical{ --sw-ar: 9 / 16; max-width: 520px; width: min(520px, 92vw); }
.sw-modal-card.is-horizontal{ --sw-ar: 16 / 9; max-width: 980px; width: min(980px, 92vw); }
.sw-embed{
    position: relative;
    width: 100%;
    background: #000;
    flex: 1 1 auto;
    min-height: 220px;
    height: var(--sw-embed-h, auto);
}
            .sw-embed video{
                position:absolute;
                inset:0;
                width:100%;
                height:100%;
                border:0;
                object-fit: contain;
                background:#000;
            }
            .sw-desc{
                padding: 14px 16px 16px;
                color: rgba(255,255,255,.82);
                font-size: 14px;
                line-height: 1.4;
                border-top: 1px solid rgba(255,255,255,.08);
                flex: 0 0 auto;
            }
