/* Vybilda motion layer v1 (DMNT, 2026-10-18). Additive: remove the two enqueues and the site is exactly as before.
   Transforms and opacity only (no layout shift). Hidden start states only exist while html has .vyb-pre (set by the
   head snippet, lifted by the script, or by the CSS failsafe after 3 s), so nothing can stay invisible. */
:root { --vyb-gold: #c8a96e; --vyb-ease: cubic-bezier(.2, .8, .1, 1); }

/* the page scrolls sideways by ~10px on phones today (an element a little wider than the screen): clip it */
body { overflow-x: clip; }

/* ---------- hero: one orchestrated entrance ---------- */
html.vyb-pre [data-id="5b5beb1"] > .e-con-inner > * { opacity: 0; animation: vybSafe .01s 3s forwards; }
@keyframes vybSafe { to { opacity: 1; } }
html.vyb-go .vyb-k { animation: vybUp .95s var(--vyb-ease) var(--d, 0s) both; }
@keyframes vybUp { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }

/* background photo as its own layer: slow settle + gentle parallax, overlay (::before) stays on top */
.vyb-hero { isolation: isolate; background-image: none !important; }
.vyb-kbw { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.vyb-kb { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat;
    transform: scale(1.18); translate: 0 var(--py, 0px); will-change: transform; }
html.vyb-go .vyb-kb { animation: vybKb 4.2s cubic-bezier(.22, .7, .2, 1) both; }
@keyframes vybKb { from { transform: scale(1.18); } to { transform: scale(1.08); } }

/* headline: two lines rising out of a mask */
.vyb-line { display: block; overflow: hidden; padding: .1em 0 .2em; margin: -.1em 0 -.2em; }
.vyb-line-in { display: block; transform: translate3d(0, 112%, 0); }
html.vyb-go .vyb-line-in, .vyb-line.vyb-shown .vyb-line-in { animation: vybLine 1.1s var(--vyb-ease) var(--d, 0s) both; }
@keyframes vybLine { from { transform: translate3d(0, 112%, 0); } to { transform: translate3d(0, 0, 0); } }
.vyb-line-in > span { position: relative; display: inline-block; }

/* a small roof drawn under "Kaune," */
.vyb-ridge { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .44em; overflow: visible; pointer-events: none; }
.vyb-ridge path { fill: none; stroke: var(--vyb-gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
    vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
html.vyb-go .vyb-ridge path { animation: vybDraw 1.5s cubic-bezier(.65, 0, .25, 1) 1.1s forwards; }
@keyframes vybDraw { to { stroke-dashoffset: 0; } }

.vyb-num { font-variant-numeric: tabular-nums; }

/* ---------- section titles: same mask, once, when they come into view ---------- */
.vyb-line.vyb-wait .vyb-line-in { transform: translate3d(0, 112%, 0); animation: none; }

/* ---------- images: shingle-edge wipe is driven from JS (clip-path), here only the settled state ---------- */
.vyb-img-in { will-change: transform; }

/* ---------- process: gold line follows the scroll, steps light up ---------- */
.vyb-flist .wpr-feature-list-content-wrap { opacity: .4; transform: translate3d(-8px, 0, 0); transition: opacity .6s ease, transform .7s var(--vyb-ease); }
.vyb-flist .vyb-on .wpr-feature-list-content-wrap { opacity: 1; transform: none; }
.vyb-flist .wpr-feature-list-icon-inner-wrap { transition: box-shadow .7s ease, border-color .6s ease, transform .7s var(--vyb-ease); }
.vyb-flist .vyb-on .wpr-feature-list-icon-inner-wrap { border-color: var(--vyb-gold) !important; box-shadow: 0 0 0 7px rgba(200, 169, 110, .14), 0 0 30px rgba(200, 169, 110, .38); }
.vyb-flist .vyb-on .wpr-feature-list-icon-inner-wrap i { color: var(--vyb-gold) !important; transition: color .5s ease; }
.vyb-flist .wpr-feature-list-line { position: relative; }
.vyb-flist .wpr-feature-list-line::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--vyb-gold);
    transform-origin: top; transform: scaleY(var(--lp, 0)); box-shadow: 0 0 10px rgba(200, 169, 110, .55); }

/* ---------- small touches ---------- */
.vyb-card { transition: transform .45s var(--vyb-ease), box-shadow .45s ease; }
@media (hover: hover) { .vyb-card:hover { transform: translate3d(0, -7px, 0); box-shadow: 0 22px 44px -22px rgba(26, 26, 15, .4); } }
.vyb-mag { transition: transform .35s var(--vyb-ease); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
    html.vyb-pre [data-id="5b5beb1"] > .e-con-inner > * { opacity: 1 !important; animation: none !important; }
    .vyb-kb, .vyb-line-in, .vyb-k { animation: none !important; transform: none !important; }
    .vyb-ridge path { stroke-dashoffset: 0; animation: none !important; }
}
