/* ==========================================================================
   3 · Animēti video un radoši formāti
   ========================================================================== */
/* 1 steam engine */
.s3-eng { flex: 0 0 auto; width: 560px; height: 320px; margin-bottom: 46px; overflow: visible; }
.ts--tall .s3-eng { width: 640px; height: 366px; margin-bottom: 60px; }
.s3-puff { fill: #FEF6E1; opacity: 0; transform-box: fill-box; transform-origin: center; }
.s3-fog { pointer-events: none; }
.ts--tall .s3-fog { inset: -5% -45%; }
.s3-fog b { position: absolute; inset: 0; background: rgba(232,235,219,.36); opacity: 0; }
.s3-fog i { position: absolute; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(254,246,225,.85), rgba(232,235,219,.5) 55%, rgba(232,235,219,0)); opacity: 0; }

/* 2-3 digital mechanism */
.s3-mech { position: absolute; inset: 0; translate: 105px 0; }
.s3-mech svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: rgba(254,246,225,.86); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.s3-gear.a > path:first-child { fill: rgba(254,246,225,.04); }
.s3-gear.b { stroke: #D9B27A; }
.s3-gear.c { stroke: rgba(232,235,219,.5); }
.s3-mech .dot { fill: #D9B27A; stroke: none; }
.s3-ring circle:first-child { stroke: rgba(254,246,225,.24); stroke-width: 2; stroke-dasharray: 2 10; }
.s3-wire { stroke: rgba(254,246,225,.32); stroke-width: 2; }
.s3-wire circle { fill: #14160F; }
.s3-core { fill: #21241B; stroke: #D9B27A; stroke-width: 3; }
.s3-pulse { stroke: #FFE6AB; stroke-width: 3; opacity: 0; transform-origin: 270px 330px; }
.s3-mech text { fill: #FEF6E1; stroke: none; font: 600 38px/1 var(--font-display, sans-serif); letter-spacing: .04em; }
.s3-gen { opacity: 0; box-shadow: 0 24px 46px -24px rgba(0,0,0,.75); }
.s3-gen svg { display: block; width: 100%; height: 100%; }
.s3-gen.g1 { left: 495px; top: 36px; width: 265px; height: 176px; }
.s3-gen.g2 { left: 535px; top: 244px; width: 225px; height: 140px; }
.s3-gen.g3 { left: 495px; top: 416px; width: 190px; height: 190px; background: #21241B; border: 1px solid var(--c-line); }
.s3-star { transform-box: fill-box; transform-origin: center; }
.s3-tri { display: block; width: 0; height: 0; border: 16px solid transparent; border-right-width: 0; border-left: 26px solid var(--c-cream); }
.s3-prog { display: block; height: 5px; border-radius: 3px; background: rgba(254,246,225,.25); }
.s3-prog i { display: block; height: 100%; border-radius: 3px; background: var(--c-cream); transform-origin: 0 50%; }
.s3-gen .s3-tri { position: absolute; left: 50%; top: 50%; margin: -22px 0 0 -11px; }
.s3-gen .s3-prog { position: absolute; left: 16px; right: 16px; bottom: 14px; }

/* copy variants */
.s3-kick { display: block; margin-bottom: 16px; font: 500 17px/1 var(--font-display, sans-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--c-amber); }
.ts-copy.s3-offer h4 { font-size: 42px; }
.ts-copy.s3-long h4 { font-size: 38px; line-height: 1.2; }
.ts--tall .s3-kick { font-size: 22px; }
.ts--tall .ts-copy.s3-offer h4 { font-size: 46px; }
.ts--tall .ts-copy.s3-long h4 { font-size: 42px; }
.ts--tall .ts-copy.s3-long p { font-size: 30px; }

/* 01 infographic */
.s3-pan { position: absolute; padding: 22px; border-radius: 16px; border: 1px solid var(--c-line); background: var(--c-panel); }
.s3-bars { left: 0; top: 24px; width: 452px; height: 336px; }
.s3-barrow { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 236px; display: flex; align-items: flex-end; gap: 16px; border-bottom: 1.5px solid rgba(254,246,225,.3); }
.s3-barrow i { flex: 1; height: 100%; border-radius: 6px 6px 0 0; background: rgba(232,235,219,.34); transform-origin: 50% 100%; }
.s3-donut { left: 474px; top: 24px; width: 286px; height: 336px; }
.s3-donut svg { position: absolute; left: 43px; top: 26px; width: 200px; height: 200px; rotate: -90deg; fill: none; stroke-width: 20; }
.s3-arc { stroke-dasharray: 100; stroke-dashoffset: 33; stroke-linecap: round; }
.s3-odo { position: absolute; left: 80px; top: 90px; width: 80px; height: 72px; overflow: hidden; text-align: right; font: 600 58px/72px var(--font-display, sans-serif); color: var(--c-cream); }
.s3-odo b { display: block; font-weight: inherit; }
.s3-donut em { position: absolute; left: 164px; top: 106px; font: 500 28px/1 var(--font-display, sans-serif); font-style: normal; color: var(--c-amber); }
.s3-donut .ts-ln { position: absolute; left: 50%; top: 258px; translate: -50% 0; }
.s3-donut .ts-ln + .ts-ln { top: 286px; }
.s3-line { left: 0; top: 382px; width: 760px; height: 234px; }
.s3-line svg { position: absolute; left: 30px; top: 60px; width: 700px; height: 150px; overflow: visible; }
.s3-end { transform-box: fill-box; transform-origin: center; }

/* 02 advert video */
.s3-player { left: 0; top: 16px; width: 760px; height: 474px; }
.s3-screen { position: absolute; left: 14px; right: 14px; top: 48px; height: 366px; border-radius: 8px; overflow: hidden; }
.s3-shot { inset: 0; border-radius: 0; }
.s3-shot.b { opacity: 0; }
.s3-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: rgba(20,22,15,.34); }
.s3-prod { position: absolute; left: 50%; top: 50%; width: 120px; height: 200px; margin: -92px 0 0 -60px; }
.s3-prod i { position: absolute; left: 0; bottom: 0; width: 100%; height: 152px; border-radius: 20px 20px 14px 14px; background: var(--c-cream); box-shadow: 0 34px 34px -22px rgba(0,0,0,.6); }
.s3-prod i::after { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 50px; background: var(--c-red); }
.s3-prod b { position: absolute; left: 34px; top: 14px; width: 52px; height: 40px; border-radius: 8px 8px 0 0; background: #21241B; }
.s3-shine { position: absolute; left: 0; top: -20%; width: 120px; height: 140%; rotate: 18deg; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.34), rgba(255,255,255,0)); translate: -260px 0; }
.s3-shot.b .s3-prod { left: 26%; scale: .8; }
.s3-lines { position: absolute; left: 46%; top: 112px; width: 300px; }
.s3-lines .ts-ln { height: 12px; margin-bottom: 18px; width: 76%; transform-origin: 0 50%; }
.s3-lines .ts-ln:first-child { height: 20px; width: 100%; border-radius: 10px; background: var(--c-cream); }
.s3-lines .ts-ln:nth-child(3) { width: 54%; }
.s3-lines .ts-btn { width: 132px; height: 40px; margin-top: 12px; padding: 0; }
.s3-ctrl { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 32px; display: flex; align-items: center; gap: 16px; }
.s3-ctrl .s3-tri { border-width: 9px 0 9px 14px; }
.s3-ctrl .s3-prog { flex: 1; }
.s3-strip { position: absolute; left: 0; top: 514px; width: 760px; height: 100px; display: flex; gap: 10px; }
.s3-strip i { position: relative; flex: 1; height: 100%; border-radius: 8px; }
.s3-strip i:nth-child(2) { flex: 1.6; } .s3-strip i:nth-child(4) { flex: .7; }
.s3-phead { position: absolute; left: 5px; top: -8px; width: 3px; height: 116px; border-radius: 2px; background: var(--c-cream); opacity: 0; }

/* 03 AI scene */
.s3-world { position: absolute; left: 0; top: 16px; width: 760px; height: 500px; border-radius: 18px; overflow: hidden; border: 1px solid var(--c-line); }
.s3-env { position: absolute; inset: 0; }
.s3-env i { position: absolute; }
.s3-env .sun, .s3-env .hill { border-radius: 50%; }
.s3-env.a { background: linear-gradient(180deg, #5c1608 0%, #8a3a1c 30%, #D9A45F 62%, #FFE6AB 80%); }
.s3-env.a .sun { left: 150px; top: 246px; width: 120px; height: 120px; background: #FEF6E1; }
.s3-env.a .h1 { left: -140px; top: 336px; width: 660px; height: 400px; background: #8a3a1c; }
.s3-env.a .h2 { left: 300px; top: 376px; width: 720px; height: 400px; background: #5c1608; }
.s3-env.b { background: linear-gradient(180deg, #14160F 0%, #2f3622 42%, #5f6b46 88%); clip-path: circle(80% at 50% 44%); }
.s3-env.b .sun { left: 566px; top: 64px; width: 76px; height: 76px; background: #FEF6E1; box-shadow: 0 0 0 16px rgba(254,246,225,.08); }
.s3-env.b .h1 { left: -220px; top: 366px; width: 720px; height: 400px; background: #475333; }
.s3-env.b .h2 { left: 250px; top: 396px; width: 780px; height: 400px; background: #2f3622; }
.s3-env .tree { clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #14160F; transform-origin: 50% 100%; }
.s3-env .t1 { left: 84px; top: 250px; width: 76px; height: 160px; } .s3-env .t2 { left: 164px; top: 300px; width: 56px; height: 112px; } .s3-env .t3 { left: 604px; top: 296px; width: 84px; height: 170px; }
.s3-obj { position: absolute; left: 310px; top: 150px; width: 140px; height: 140px; border-radius: 14%; rotate: 45deg; background: #FEF6E1; box-shadow: 0 0 60px rgba(20,22,15,.35); }
.s3-sat { position: absolute; }
.s3-sat.s1 { left: 196px; top: 110px; width: 46px; height: 46px; border-radius: 50%; background: #D9B27A; }
.s3-sat.s2 { left: 532px; top: 262px; width: 38px; height: 38px; border-radius: 10%; background: #FEF6E1; }
.s3-prompt { position: absolute; left: 0; top: 540px; width: 760px; height: 68px; padding: 0 28px; border-radius: 34px; border: 1px solid var(--c-line); background: var(--c-panel); display: flex; align-items: center; gap: 14px; }
.s3-prompt svg { width: 28px; height: 28px; flex: 0 0 auto; }
.s3-prompt .ts-ln { transform-origin: 0 50%; }
.s3-prompt .ts-tag { margin-left: auto; color: var(--c-amber); }

/* 04 effects */
.s3-fx { position: absolute; left: 110px; top: 50px; width: 540px; height: 540px; border-radius: 18px; border: 1px solid var(--c-line); background: var(--c-panel); overflow: hidden; }
.s3-l { position: absolute; inset: 0; opacity: 0; }
.s3-l.rings i { position: absolute; left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; border: 2px solid rgba(254,246,225,.75); }
.s3-l.rings i:nth-child(2n) { border-color: #D9B27A; }
.s3-l.rings i:first-child { border: 0; background: #FFE6AB; }
.s3-l.dots { display: grid; grid-template-columns: repeat(6, 1fr); padding: 50px; place-items: center; }
.s3-l.dots i { width: 36px; height: 36px; border-radius: 50%; background: rgba(254,246,225,.85); }
.s3-l.dots i.hot { background: #D9B27A; scale: 1.5; }
.s3-l.strp { display: flex; gap: 16px; padding: 80px 64px; }
.s3-l.strp i { flex: 1; border-radius: 8px; background: #FEF6E1; }
.s3-l.strp i:nth-child(3n+2) { background: #D9B27A; } .s3-l.strp i:nth-child(3n) { background: #7A1F12; }
.s3-spin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.s3-spin i { position: absolute; }
.s3-spin .o1 { left: -206px; top: -70px; width: 124px; height: 124px; border-radius: 50%; background: #D9B27A; }
.s3-spin .o2 { left: 66px; top: -166px; width: 112px; height: 112px; border-radius: 14px; rotate: 20deg; background: #FEF6E1; }
.s3-spin .o3 { left: 10px; top: 62px; width: 140px; height: 130px; clip-path: polygon(50% 0, 100% 100%, 0 100%); background: #7A1F12; }
.s3-l.orb b { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; border: 3px solid #FFE6AB; }

/* tiger + logo (the only blue in the deck) */
.s3-tz { --cy: 302px; }
.ts--tall .s3-tz { --cy: 440px; }
.s3-tz > * { position: absolute; left: 50%; }
.s3-tiger { top: calc(var(--cy) - 220px); width: 440px; height: 440px; margin-left: -220px; }
.s3-tiger svg { display: block; width: 100%; height: 100%; overflow: visible; }
.s3-th { transform-origin: 200px 330px; }
.s3-iglow { opacity: .45; filter: blur(3px); }
.s3-aura { top: var(--cy); width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; background: radial-gradient(closest-side, rgba(91,141,217,.24), rgba(91,141,217,0)); }
.s3-trail { top: calc(var(--cy) - 6px); width: 1150px; height: 12px; transform-origin: 0 50%; scale: 0 1; }
.s3-trail i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, rgba(91,141,217,0), #5B8DD9 35%, #9CC0F2); filter: drop-shadow(0 0 12px rgba(91,141,217,.9)); }
.s3-halo { top: var(--cy); width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%; background: radial-gradient(closest-side, rgba(156,192,242,.7), rgba(91,141,217,.32) 45%, rgba(91,141,217,0)); opacity: 0; }
.s3-logo { top: var(--cy); translate: -50% -50%; display: flex; flex-direction: column; align-items: center; }
.s3-logo img { display: block; width: 240px; height: 221px; opacity: 0; }
.s3-logo span { margin-top: 12px; font: 600 60px/1 var(--font-display, sans-serif); color: var(--c-cream); opacity: 0; }
.ts-center.s3-low { padding-top: 510px; }
.ts--tall .ts-center.s3-low { padding-top: 640px; }
.ts-title b.s3-b { color: #9CC0F2; }
