/* ARCHIMETRICA 544 — mobile taps, service CTA cleanup, process fit, map cursor, client/footer alignment. */

/* Service cards: keep exactly the two brief actions + one order CTA. Kill stale 541 duplicate action rows. */
body[data-page="home"] .service-package-price > .archi-service-actions-541,
body[data-page="home"] .service-package-price > .archimetrica-service-brief-462,
body[data-page="home"] .service-package-price > .archi-service-example-link-541,
body[data-page="home"] .service-package-price > .archi-service-brief-link-541{
  display:none!important;
}
body[data-page="home"] .archi-brief-actions-543{
  gap:7px!important;
  margin:12px 0 7px!important;
}
body[data-page="home"] .archi-brief-actions-543 .service-order-link{
  min-height:48px!important;
}
body[data-page="home"] .service-package-price > .service-order-link:not(.archimetrica-service-brief-462){
  margin-top:7px!important;
}

/* How we work: main step stays dominant, but must fit on one line. */
body[data-page="home"] .process-step-copy>span{
  font-size:clamp(29px,2.7vw,50px)!important;
  line-height:.92!important;
  letter-spacing:-.04em!important;
  white-space:nowrap!important;
  word-break:keep-all!important;
  overflow-wrap:normal!important;
}

/* Map point cursor = the normal calm ring size, with a plus instead of the centre dot. */
body[data-page="home"] #pointer-ring.is-map-point{
  width:0!important;
  height:0!important;
  padding:15px!important;
  border-width:1px!important;
  box-shadow:none!important;
}
body[data-page="home"] #pointer-ring.is-map-point::before{display:none!important;content:none!important}
body[data-page="home"] #pointer-ring.is-map-point::after{
  content:"+"!important;
  opacity:1!important;
  font-size:15px!important;
  font-weight:300!important;
  line-height:1!important;
  letter-spacing:0!important;
  transform:translate(-50%,-52%)!important;
}
body[data-page="home"] #pointer-dot.is-map-point{opacity:0!important}

/* Client logos: lock every actual image box to the optical centre of its tile on adaptive layouts. */
@media (max-width:980px), (hover:none), (pointer:coarse){
  body[data-page="home"] .client-logo{
    position:relative!important;
    display:block!important;
  }
  body[data-page="home"] .client-logo img{
    position:absolute!important;
    left:50%!important;
    top:50%!important;
    margin:0!important;
    object-position:center center!important;
    transform:translate(-50%,-50%)!important;
    transform-origin:center center!important;
  }
}

/* Founder portrait: hover remains color on pointer devices; touch class is controlled by 544 JS. */
body[data-page="home"] #about .about-main-535__media.is-touch-color-544 img{
  -webkit-filter:grayscale(0) saturate(1.03)!important;
  filter:grayscale(0) saturate(1.03)!important;
}

/* Smallest adaptive: all visible controls are genuine tap targets; decoration cannot intercept taps. */
@media (max-width:640px){
  html,body{touch-action:pan-y pinch-zoom!important}
  body[data-page="home"] .intro,
  body[data-page="home"] .cursor-mesh-canvas,
  body[data-page="home"] .cursor-mesh-hint,
  body[data-page="home"] .hero-plexus-trail,
  body[data-page="home"] .hero-grid,
  body[data-page="home"] .hero-light-sweep,
  body[data-page="home"] .hero-shade,
  body[data-page="home"] .project-card::before,
  body[data-page="home"] .project-card::after{
    pointer-events:none!important;
  }
  body[data-page="home"] .site-nav:not(.is-open-544){pointer-events:none!important}
  body[data-page="home"].menu-open .site-nav{pointer-events:auto!important}
  body[data-page="home"] .project-card,
  body[data-page="home"] .project-card[href],
  body[data-page="home"] .service-pdf-card,
  body[data-page="home"] .service-order-link,
  body[data-page="home"] .button,
  body[data-page="home"] .project-scope-button,
  body[data-page="home"] .project-view-toggle,
  body[data-page="home"] .project-packages-toggle,
  body[data-page="home"] .service-packages-toggle,
  body[data-page="home"] .archimetrica-reveal-button-472,
  body[data-page="home"] .menu-toggle,
  body[data-page="home"] .language button,
  body[data-page="home"] .contact a,
  body[data-page="home"] .messenger-link,
  body[data-page="home"] .project-footer a{
    pointer-events:auto!important;
    touch-action:manipulation!important;
  }
  body[data-page="home"] .project-card,
  body[data-page="home"] .creative-grid.is-filtering .project-card,
  body[data-page="home"] .creative-grid.is-scope-changing .project-card{
    position:relative!important;
    z-index:2!important;
    pointer-events:auto!important;
  }
  body[data-page="home"] .project-card video,
  body[data-page="home"] .project-card .project-card-preview-video{
    pointer-events:none!important;
  }
  body[data-page="home"] .process-step-copy>span{
    font-size:clamp(26px,7.3vw,34px)!important;
    white-space:nowrap!important;
  }
  body[data-page="home"] .archi-brief-actions-543{
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
    margin:10px 0 6px!important;
  }
  body[data-page="home"] .archi-brief-actions-543 .service-order-link{
    min-height:46px!important;
    padding-left:11px!important;
    padding-right:11px!important;
    font-size:10px!important;
  }
  body[data-page="home"] .archi-brief-actions-543 .archi-simple-arrow-543{
    margin-left:7px!important;
    font-size:15px!important;
  }
}
