/* V83 — Typography-led depth parallax for desktop Home hero only.
   Foreground title (including the calligraphic A) moves the most.
   Portrait (Figma 787:1091) and Meta card (787:1092) stay behind and move less.
   No layout shifts, no touch interaction, no motion when reduced motion is requested. */
@media (min-width: 760px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Translate the complete lettering group as one plane, without touching the
     image-level clip/mask reveal animation of the existing Home intro. */
  .figma-desktop :is(
    .hero-script-a,
    .hero-title-art,
    .hero-title-director,
    .hero-title-designer,
    .hero-title-type,
    .hero-person-name
  ) {
    transform: translate3d(var(--jb-hero-type-x, 0px), var(--jb-hero-type-y, 0px), 0) !important;
    will-change: transform;
  }
  .figma-desktop .hero-portrait.hero-intro {
    transform: translate3d(var(--jb-hero-portrait-x, 0px), var(--jb-hero-portrait-y, 0px), 0) !important;
    will-change: transform, opacity;
  }
  .figma-desktop .hero-object.hero-intro {
    /* V94: Keep the card upright while retaining independent pointer parallax. */
    transform: translate3d(var(--jb-hero-card-x, 0px), var(--jb-hero-card-y, 0px), 0) !important;
    transform-origin: 50% 50% !important;
    will-change: transform, opacity;
  }
}


/* V88 — soften the portrait image edges to prevent black boundary lines during parallax.
   The exact Figma photo, its 388×525 geometry, opacity, blend and JS motion stay unchanged.
   Only its unused outer background pixels are feathered, avoiding a hard rectangular seam
   when the portrait layer shifts against the #111 canvas. No impact on mobile. */
@media (min-width:760px) {
  .figma-desktop .hero-portrait {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 14%, #000 92%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }
}

/* V88 — keep the user's selected emphasis in the revised agency paragraph.
   Both text layers continue using the existing scroll-linked line reveal. */
.figma-desktop .agency-copy strong,
.figma-mobile .m-agency strong {
  font-weight:700!important;
}
