/* Fine-pointer hover retains its existing behaviour. */
.b-touch-color-point{position:absolute;top:50%;left:50%;width:1px;height:1px;pointer-events:none;visibility:hidden}
.variant-b.jaf-touch-color .b-project-card:not(.is-touch-color) .b-project-image>img{filter:grayscale(1) contrast(1.16)}
.variant-b.jaf-touch-color .b-project-card.is-touch-color .b-project-image>img{filter:grayscale(0) contrast(1)}
.variant-b.jaf-touch-color .b-card-link:hover .b-project-image>img{transform:none}
.variant-b.jaf-touch-color .b-brand-item>.b-brand-color{mask-image:none;-webkit-mask-image:none;opacity:0;transition:none}
.variant-b.jaf-touch-color .b-brand-item.is-touch-color>.b-brand-color{opacity:var(--touch-logo-opacity,0)}
.variant-b.jaf-touch-color .b-brand-track{animation:none;animation-play-state:running;transition:none}
/* One Davivienda image preserves the original red instead of multiplying it
   through a second grey copy. The shared profile still reaches full colour. */
.variant-b.jaf-touch-color .b-brand-item.brand-davivienda>img{mix-blend-mode:normal;filter:grayscale(calc(1 - var(--touch-logo-opacity,0)));-webkit-filter:grayscale(calc(1 - var(--touch-logo-opacity,0)));transition:none}
.variant-b.jaf-touch-color .b-brand-item.brand-davivienda>.b-brand-color{display:none}
@media(prefers-reduced-motion:reduce){
 .variant-b .b-project-image>img,.variant-b .b-brand-color{transition:none}
}

/* Automatic colour is based on the card centre, never sticky hover on hybrid tablets. */
.variant-b.jaf-touch-color .b-other-projects .b-build-note{transform:none;transition:none}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible)){background:#101011;border-color:#383835;color:#f7f7f2;transform:none;box-shadow:0 6px 16px rgb(8 8 8/.07)}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible))::before{opacity:.42;animation:jaf-project-bubbles 10s ease-in-out infinite}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible))::after{opacity:.035}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible))>div>span{color:#d7d7d0}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible)) h4{color:#f7f7f2}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible)) p{color:#e1e1da}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible))>.b-pill-button.b-outline{background:transparent;border-color:#f0f0e8;color:#f0f0e8;transition:none}
.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible))>.b-pill-button.b-outline:focus-visible{outline:2px solid #f0f0e8;outline-offset:4px}
@media(prefers-reduced-motion:reduce){
 .variant-b.jaf-touch-color .b-other-projects .b-build-note::before,.variant-b.jaf-touch-color .b-other-projects .b-build-note:is(.is-touch-color,:has(a:focus-visible))::before{animation:none;transition:none;transform:none;background-position:15% 35%,90% 70%,50% 95%}
}
