/* JuiceArt — hand-painted central CTA + brisk lettering, October 2026.
 * No text card, no navigation frame, no changes to underlying art. */

/* Hand-painted letters finish in under three seconds; the strokes still trace real paths. */
body.juiceart-site .ja-hero-cinematic .ja-painted-svg .ja-write-stroke{
  animation-duration:calc(var(--ja-duration) * .56)!important;
  animation-delay:calc(var(--ja-delay) * .56)!important;
  animation-timing-function:cubic-bezier(.35,.02,.65,.98)!important;
}
body.juiceart-site .ja-hero-cinematic .ja-painted-svg .ja-mask-finish{
  animation:ja-paint-complete .13s linear 2.83s forwards!important;
}
body.juiceart-site .ja-hero.is-motion-complete .ja-painted-svg .ja-write-stroke{
  animation:none!important;stroke-dasharray:none!important;stroke-dashoffset:0!important;
}
body.juiceart-site .ja-hero.is-motion-complete .ja-painted-svg .ja-mask-finish{
  animation:none!important;opacity:1!important;
}

/* CTA now lives directly inside the hero — no dependence on the right-hand title box. */
body.juiceart-site .ja-hero.ja-hero-cinematic .ja-painted-actions{
  position:absolute!important;
  top:auto!important;right:auto!important;
  left:50%!important;bottom:clamp(34px,6.2vh,76px)!important;
  width:min(620px,calc(100% - 48px))!important;
  margin:0!important;padding:0!important;
  transform:translateX(-50%)!important;
  display:grid!important;grid-template-columns:1fr 1fr!important;
  gap:clamp(12px,2vw,25px)!important;
  align-items:center!important;justify-content:center!important;
  opacity:1!important;animation:none!important;
  z-index:20!important;
}

/* Irregular edges approximate soft brush-drawn gouache rather than ordinary UI capsules. */
body.juiceart-site .ja-hero.ja-hero-cinematic .ja-painted-actions .ja-cinematic-button{
  position:relative!important;display:flex!important;
  width:100%!important;min-width:0!important;min-height:66px!important;
  justify-content:space-between!important;align-items:center!important;
  gap:12px!important;
  padding:16px clamp(19px,2vw,28px)!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  isolation:isolate;
  filter:drop-shadow(0px 5px 5px rgba(85,29,36,.20));
  font:800 clamp(15px,1.2vw,18px)/1.17 Manrope,Arial,sans-serif!important;
  letter-spacing:-.03em!important;
  white-space:nowrap!important;
  transition:transform .24s ease,filter .24s ease!important;
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button::before,
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button::after{
  content:"";position:absolute;pointer-events:none;z-index:-1;
  clip-path:polygon(0.5% 21%,3% 10%,10% 8%,17% 10%,24% 4%,33% 8%,41% 4%,52% 9%,61% 4%,72% 8%,80% 7%,87% 5%,96% 10%,99% 23%,98% 42%,100% 62%,97% 82%,91% 92%,80% 90%,72% 96%,62% 93%,51% 98%,42% 94%,33% 97%,21% 91%,12% 95%,4% 90%,1% 78%,2% 57%,0 39%);
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button::before{
  inset:-4px -5px -3px -4px;
  background:
    radial-gradient(ellipse at 18% 25%,rgba(255,201,181,.27) 0 8%,transparent 21%),
    repeating-linear-gradient(176deg,rgba(255,255,255,.07) 0 1px,transparent 1px 4px),
    linear-gradient(108deg,#ba082c 5%,#d21a40 47%,#ab072b 99%);
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button-primary{
  color:#fff!important;
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button-outline{
  color:#ae0b2e!important;
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button-outline::before{
  background:linear-gradient(110deg,#c70b31,#a70a29 52%,#d62342);
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button-outline::after{
  inset:0px 0px 0px 0px;
  background:
    radial-gradient(ellipse at 28% 75%,rgba(243,202,187,.43),transparent 46%),
    repeating-linear-gradient(174deg,rgba(185,31,57,.05) 0 1px,transparent 1px 4px),
    #fffaf2;
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button-primary::after{
  inset:9px 17px auto 16px;height:2px;
  background:rgba(255,205,190,.45);
  clip-path:polygon(0 37%,84% 0,100% 75%,12% 100%);
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button .ja-button-label{
  font:inherit!important;line-height:1.18!important;
  white-space:nowrap;position:relative;z-index:2;display:block;
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button .ja-button-arrow{
  position:relative;z-index:2;
  font:600 25px/1 Manrope,Arial,sans-serif!important;
  display:block;flex:0 0 auto;transform:rotate(-2deg);
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button:hover,
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button:focus-visible{
  transform:translateY(-4px) rotate(-.8deg)!important;
  filter:drop-shadow(0px 10px 7px rgba(85,29,36,.26));
}
body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button:focus-visible{
  outline:3px solid #1d2938;outline-offset:7px;
}
/* Smaller screens retain full-size click targets in a clean row or column. */
@media(max-width:780px){
  body.juiceart-site .ja-hero.ja-hero-cinematic .ja-painted-actions{
    position:relative!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
    width:100%!important;max-width:none!important;
    transform:none!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;padding:0 20px 42px!important;
    background:#fbf2ec;
    box-sizing:border-box;
  }
  body.juiceart-site .ja-hero.ja-hero-cinematic .ja-cinematic-content{
    padding-bottom:14px!important;
  }
  body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button{
    min-height:61px!important;
    padding:12px 14px!important;
    font-size:clamp(12px,2.65vw,16px)!important;
  }
  body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button .ja-button-arrow{
    font-size:19px!important;
  }
}
@media(max-width:480px){
  body.juiceart-site .ja-hero.ja-hero-cinematic .ja-painted-actions{
    grid-template-columns:1fr!important;gap:13px!important;
  }
  body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button{
    font-size:16px!important;min-height:61px!important;padding:15px 22px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  body.juiceart-site .ja-hero .ja-painted-actions .ja-cinematic-button{transition:none!important}
}