/* Motion and edge transparency. Card artwork and typography come from Figma. */
.tg-home-sections .tg-carousel__viewport{min-width:0;width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}
.tg-home-sections .tg-carousel__viewport::-webkit-scrollbar{display:none}
.tg-home-sections .tg-carousel__viewport.is-looping{overflow:hidden;touch-action:pan-y pinch-zoom;cursor:grab;user-select:none;-webkit-user-select:none}
.tg-home-sections .tg-carousel__viewport.is-dragging{cursor:grabbing}
.tg-home-sections .tg-carousel__viewport:focus-visible{outline:2px solid var(--tg-accent);outline-offset:4px}
.tg-home-sections .tg-carousel__motion{display:flex;align-items:stretch;gap:24px;width:max-content}
.tg-home-sections .tg-carousel__viewport.is-looping .tg-carousel__motion{will-change:transform}
.tg-home-sections .tg-carousel__motion>.tg-carousel__track{flex:none;width:max-content;margin:0;padding:0;overflow:visible;scroll-snap-type:none}
.tg-home-sections .tg-carousel__motion>.tg-carousel__track>.tg-service-card:first-child{margin-left:0}
.tg-home-sections .tg-carousel__motion>.tg-carousel__track>.tg-service-card:last-child{margin-right:0}
.tg-home-sections .tg-carousel__motion a{-webkit-user-drag:none}
.tg-home-sections .tg-service-card__media img{transform:scale(1);transform-origin:center;transition:transform .6s var(--tg-ease);backface-visibility:hidden}
.tg-home-sections .tg-service-card:hover .tg-service-card__media img{transform:scale(1.03)}
@media(max-width:600px){.tg-home-sections .tg-carousel__motion{gap:16px}}
@media(prefers-reduced-motion:reduce){.tg-home-sections .tg-carousel__viewport{touch-action:auto;user-select:auto;-webkit-user-select:auto}.tg-home-sections .tg-carousel__motion{transform:none!important}.tg-home-sections .tg-carousel__track[aria-hidden="true"]{display:none}.tg-home-sections .tg-service-card__media img{transition:none;transform:none!important}}

/* Alpha fades reveal the actual page background; there is no dark overlay seam. */
.tg-home-sections .tg-carousel::before,.tg-home-sections .tg-carousel::after{content:none;display:none}
.tg-home-sections .tg-carousel__viewport{
 --tg-fade-left:min(291px,20.21vw);--tg-fade-right:min(286px,19.86vw);
 -webkit-mask-image:linear-gradient(to right,transparent 0,#000 var(--tg-fade-left),#000 calc(100% - var(--tg-fade-right)),transparent 100%);
 mask-image:linear-gradient(to right,transparent 0,#000 var(--tg-fade-left),#000 calc(100% - var(--tg-fade-right)),transparent 100%);
 -webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
}
@media(max-width:600px){.tg-home-sections .tg-carousel__viewport{-webkit-mask-image:none;mask-image:none}}
