/* Vector hero objects for the buying categories: one common stage (tilt, glare, float), one illustration per category. */
main[data-wow="object"] .sc-viewport .sc-canvas,
main[data-wow="object"] .sc-viewport .sc-fallback,
main[data-wow="object"] .sc-viewport .sc-hud,
main[data-wow="object"] .sc-viewport .sc-marker,
main[data-wow="object"] .sc-viewport .sc-drag-hint { display: none; }

.ow { position: absolute; z-index: 1; right: 4%; top: 50%; width: min(40vw, 470px, calc(100svh - 270px)); aspect-ratio: 1; transform: translateY(-50%); pointer-events: auto; cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; outline: none; }
.ow:focus-visible .ow-stage { outline: 3px solid #f73e5d; outline-offset: 6px; border-radius: 28px; }
.ow-blob { position: absolute; inset: -4%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffe3e9 0%, #fbd0da 42%, rgba(251, 208, 218, 0) 72%); }
.ow-stage { position: absolute; inset: 0; perspective: 900px; }
.ow-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .25s ease-out; filter: drop-shadow(0 26px 24px rgba(46, 46, 65, .22)); }
.ow-art { animation: ow-float 5.5s ease-in-out infinite; transform-origin: 200px 200px; }
.ow-glare { position: absolute; inset: 6%; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at var(--gx, 32%) var(--gy, 24%), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 44%); mix-blend-mode: soft-light; }
.ow-hint { position: absolute; left: 0; right: 0; bottom: -38px; margin: 0; text-align: center; font-size: 14px; font-weight: 700; color: #6d6677; }
@keyframes ow-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ---------- per-object life (plays on click) ---------- */
.ow .ow-steam path { fill: none; stroke: rgba(110, 110, 135, .4); stroke-width: 6; stroke-linecap: round; opacity: 0; }
.ow.is-active .ow-steam path { animation: ow-steam 1.8s ease-out; }
.ow.is-active .ow-steam path:nth-child(2) { animation-delay: .2s; } .ow.is-active .ow-steam path:nth-child(3) { animation-delay: .4s; }
@keyframes ow-steam { 0% { opacity: 0; transform: translateY(10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(-34px); } }

.ow.is-active .ow-plate { animation: ow-spin 1.4s cubic-bezier(.3, .7, .2, 1); transform-origin: 200px 190px; }
.ow.is-active .ow-cutlery { animation: ow-shake .5s ease-in-out 2; }
@keyframes ow-spin { to { transform: rotate(360deg); } }
@keyframes ow-shake { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-4deg); } 70% { transform: rotate(4deg); } }
.ow-cutlery { transform-box: view-box; transform-origin: 200px 340px; }


.ow.is-active .ow-needle { animation: ow-needle 2s ease-in-out; }
.ow.is-active .ow-dial-glow { animation: ow-glow 2s ease-in-out; }
.ow.is-active .ow-wave { animation: ow-wave 1.6s ease-out; }
.ow.is-active .ow-wave:nth-child(2) { animation-delay: .25s; } .ow.is-active .ow-wave:nth-child(3) { animation-delay: .5s; }
@keyframes ow-glow { 0%, 100% { opacity: 0; } 30%, 70% { opacity: .9; } }
@keyframes ow-needle { 0%, 100% { transform: translateX(0); } 35% { transform: translateX(48px); } 70% { transform: translateX(-16px); } }
@keyframes ow-wave { 0% { opacity: 0; transform: scale(.7); } 30% { opacity: .9; } 100% { opacity: 0; transform: scale(1.5); } }
.ow-dial-glow { opacity: 0; } .ow-wave { opacity: 0; transform-origin: 200px 110px; transform-box: view-box; }

.ow.is-active .ow-flash { animation: ow-flash .7s ease-out; }
.ow.is-active .ow-shutter { animation: ow-press .4s ease-out; }
@keyframes ow-flash { 0% { opacity: 0; transform: scale(.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes ow-press { 40% { transform: translateY(5px); } }
.ow-flash { opacity: 0; transform-origin: 112px 132px; transform-box: view-box; }

.ow.is-active .ow-arm { animation: ow-wave-arm .5s ease-in-out 4; }
.ow.is-active .ow-bauble { animation: ow-swing 1.8s ease-in-out; }
.ow-arm { transform-box: view-box; transform-origin: 247px 196px; } .ow-bauble { transform-box: view-box; transform-origin: 330px 40px; }
@keyframes ow-wave-arm { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-38deg); } }
@keyframes ow-swing { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 60% { transform: rotate(-10deg); } }

.ow.is-active .ow-flip { animation: ow-flip 1.1s ease-in-out; }
.ow-flip { transform-box: fill-box; transform-origin: center; }
@keyframes ow-flip { 0% { transform: scaleX(1); } 50% { transform: scaleX(.04); } 100% { transform: scaleX(1); } }

.ow.is-active .ow-sweep { animation: ow-sweep 1.5s ease-in-out; }
.ow-sweep { opacity: 0; }
@keyframes ow-sweep { 0% { opacity: 0; transform: translateX(-170px); } 20% { opacity: .9; } 100% { opacity: 0; transform: translateX(170px); } }

.ow-sway { transform-box: view-box; transform-origin: 200px 96px; animation: ow-sway 5s ease-in-out infinite; }
.ow.is-active .ow-sway { animation: ow-sway-fast 1.6s ease-in-out; }
@keyframes ow-sway { 0%, 100% { transform: rotate(-1.8deg); } 50% { transform: rotate(1.8deg); } }
@keyframes ow-sway-fast { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(9deg); } 50% { transform: rotate(-8deg); } 80% { transform: rotate(4deg); } }

.ow-pennant { transform-box: view-box; transform-origin: 114px 200px; animation: ow-pennant 3.4s ease-in-out infinite; }
.ow-pennant--b { animation-delay: -1.2s; }
.ow.is-active .ow-pennant { animation-duration: .7s; }
@keyframes ow-pennant { 0%, 100% { transform: skewY(-2.4deg) scaleX(1); } 50% { transform: skewY(2.4deg) scaleX(.965); } }

.lw-switch-none { display: none; }
.ow-hint { transition: opacity .3s; } .ow.is-active .ow-hint { opacity: .4; }

/* mantel clock: pendulum swings all the time, the hands spin on click */
.ow-pendulum { transform-box: view-box; transform-origin: 200px 272px; animation: ow-pend 2.6s ease-in-out infinite; }
.ow.is-active .ow-pendulum { animation-duration: .9s; }
@keyframes ow-pend { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
.ow-hand { transform-box: view-box; transform-origin: 200px 198px; }
.ow.is-active .ow-hand { animation: ow-spin 1.6s cubic-bezier(.3, .7, .2, 1); }
@media (prefers-reduced-motion: reduce) { .ow-pendulum { animation: none; } }

@media (max-width: 980px) {
    main[data-wow="object"] .sc-hero-inner { min-height: 0; }
    .ow { position: relative; right: auto; top: auto; transform: none; width: min(64vw, 290px); margin: 8px auto 52px; }
    main[data-wow="object"] .sc-hero-copy { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .ow-art, .ow-sway, .ow-pennant { animation: none; } .ow-svg { transition: none; } }

/* the cat on the armchair: floor -> back of the chair, keeps its place until the next click */
.ow .ow-cat { transform-box: view-box; }
.ow.cat-up .ow-cat { transform: translate(-128px, -318px); }
.ow.cat-up.cat-jump .ow-cat { animation: ow-cat-up .95s cubic-bezier(.3, .55, .35, 1); }
.ow:not(.cat-up).cat-jump .ow-cat { animation: ow-cat-down .95s cubic-bezier(.3, .55, .35, 1); }
@keyframes ow-cat-up { 0% { transform: translate(0, 0) scale(1, 1); } 12% { transform: translate(0, 6px) scale(1.06, .9); } 52% { transform: translate(-96px, -372px) rotate(-14deg); } 100% { transform: translate(-128px, -318px) rotate(0); } }
@keyframes ow-cat-down { 0% { transform: translate(-128px, -318px); } 45% { transform: translate(-70px, -340px) rotate(12deg); } 100% { transform: translate(0, 0) rotate(0); } }
.ow .ow-tail { transform-box: fill-box; transform-origin: 0% 100%; animation: ow-tail 3.2s ease-in-out infinite; }
.ow.cat-up .ow-tail { animation-duration: 1.4s; }
@keyframes ow-tail { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(10deg); } }
@media (prefers-reduced-motion: reduce) { .ow .ow-tail { animation: none; } .ow.cat-up.cat-jump .ow-cat, .ow:not(.cat-up).cat-jump .ow-cat { animation: none; } }

/* restoration: the master works, the damage disappears (kept until the next click) */
.ow-work { transform-box: view-box; transform-origin: 274px 216px; }
.ow.is-active .ow-work { animation: ow-work .36s ease-in-out 5; }
@keyframes ow-work { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-9deg); } }
.ow-head { transform-box: fill-box; transform-origin: 50% 100%; animation: ow-bob 3.6s ease-in-out infinite; }
@keyframes ow-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px) rotate(1.2deg); } }
.ow .ow-chip, .ow .ow-crack, .ow .ow-scratch, .ow .ow-shard { transition: opacity .7s ease, transform .8s ease; }
.ow.is-fixed .ow-chip, .ow.is-fixed .ow-crack, .ow.is-fixed .ow-scratch { opacity: 0; }
.ow.is-fixed .ow-shard { opacity: 0; transform: translate(34px, -30px); }
.ow .ow-fixed-spark { opacity: 0; }
.ow.is-fixed .ow-fixed-spark { animation: ow-spark 1.6s ease-out .3s; }
.ow .ow-fixed-spark polygon { transform-box: fill-box; transform-origin: center; }
@keyframes ow-spark { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; transform: scale(1.15); } 100% { opacity: 0; transform: scale(1); } }
.ow.is-fixed .ow-tube { fill: #ffd36a; stroke: #e8a23a; filter: drop-shadow(0 0 9px rgba(255, 196, 80, .95)); }
.ow .ow-tube { transition: fill .6s ease; }
.ow.is-fixed .ow-dial-glow { opacity: .9; transition: opacity .6s; }

/* the removal van: boxes hop in, wheels turn, smoke puffs */
.ow .ow-van { transform-box: view-box; }
.ow.is-active .ow-van { animation: ow-van 2.4s ease-in-out; }
@keyframes ow-van { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(6px); } 62% { transform: translateX(-4px); } }
.ow .ow-wheel { transform-box: fill-box; transform-origin: center; }
.ow.is-active .ow-wheel { animation: ow-spin .7s linear 3; }
.ow .ow-box { transform-box: fill-box; }
.ow.is-active .ow-box { animation: ow-load 1.5s ease-in-out both; }
.ow.is-active .ow-box--2 { animation-delay: .35s; } .ow.is-active .ow-box--3 { animation-delay: .7s; }
@keyframes ow-load { 0% { transform: translate(0, 0); opacity: 1; } 45% { transform: translate(-46px, -70px); opacity: 1; } 78% { transform: translate(-96px, -30px); opacity: .9; } 100% { transform: translate(-112px, -24px); opacity: 0; } }
.ow.is-active .ow-smoke circle { animation: ow-puff 1.6s ease-out 3; }
.ow.is-active .ow-smoke circle:nth-child(2) { animation-delay: .15s; } .ow.is-active .ow-smoke circle:nth-child(3) { animation-delay: .3s; }
@keyframes ow-puff { 0% { opacity: .75; transform: translateX(0) scale(.6); } 100% { opacity: 0; transform: translateX(-28px) scale(1.5); } }
.ow .ow-smoke circle { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: reduce) { .ow-head { animation: none; } .ow.is-active .ow-work, .ow.is-active .ow-van, .ow.is-active .ow-wheel, .ow.is-active .ow-box { animation: none; } }
