<script src="https://cdn.postnikovmd.com/tilda@1.4/mods.min.js"></script>
<script>rescale.init({ min: 360, max: 480, direction: "upscale" })</script>
<script>rescale.init({ min: 480, max: 1440, direction: "downscale" })</script>
<script>rescale.init({ min: 1440, keep: 1920, direction: "upscale" })</script>
<!--rescale.js Расширенный автоскейл. https://postnikovmd.com/mods/rescale-->
<script>rescale.init('.t-rec')</script>