Fluid–rock interactions associated with regional tectonics and basin evolution