/* Efeito de pincel/tinta: fotos e títulos "pintados" uma vez (clip-path com borda irregular), ensō e filetes desenhados.
   Só clip-path, transform, opacity e stroke-dashoffset. Sem a classe .anim (reduced-motion) tudo já aparece pronto. */
.anim .tinta { clip-path: polygon(0 0, 1px 0, 1px 9%, 1px 18%, 1px 27%, 1px 36%, 1px 45%, 1px 54%, 1px 63%, 1px 72%, 1px 81%, 1px 90%, 1px 100%, 0 100%); }
.anim .tinta.visivel { clip-path: polygon(0 0, 112% 0, 128% 9%, 104% 18%, 122% 27%, 108% 36%, 130% 45%, 106% 54%, 125% 63%, 110% 72%, 132% 81%, 105% 90%, 120% 100%, 0 100%);
  transition: clip-path 1.1s cubic-bezier(0.65, 0.05, 0, 1); }
.anim .tinta.visivel.pronto { clip-path: none; transition: none; }

/* versão leve para os textos corridos: varre da esquerda para a direita, por bloco (sem dividir em letras), ease-out longo.
   Repete: ao sair totalmente da tela o JS tira .visivel e o estado escondido volta sem transição. */
.anim .texto-tinta { clip-path: polygon(0 0, 1px 0, 1px 33%, 1px 66%, 1px 100%, 0 100%); }
.anim .texto-tinta.visivel { clip-path: polygon(0 0, 108% 0, 116% 33%, 104% 66%, 112% 100%, 0 100%); transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1); }
.anim .texto-tinta.visivel.pronto { clip-path: none; transition: none; }

.anim .enso path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.anim .enso.pintado path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s cubic-bezier(0.65, 0.05, 0, 1); }
.anim .enso.pintado .enso-fino { transition-delay: .5s; }

.anim .filete { transform: scaleX(0); transform-origin: left center; }
.anim .filete.visivel { transform: none; transition: transform .9s cubic-bezier(0.65, 0.05, 0, 1) .3s; }

.anim .hanko-grande { opacity: 0; transform: rotate(-4deg) scale(1.6); }
.anim .hanko-grande.visivel { opacity: 1; transform: rotate(-4deg) scale(1); transition: opacity .3s ease 1s, transform .45s cubic-bezier(0.2, 0.9, 0.3, 1.15) 1s; }

.kanji-pincel { width: clamp(90px, 20vw, 190px); flex: none; fill: none; stroke: var(--laca-clara); stroke-width: 6.5; stroke-linecap: round; stroke-linejoin: round; }
