/* =====================================================================
   MULTIVERSE TECHS — motion.css
   Live Events & AV page (hero, LED stage, gallery, lightbox)
   + animated illustrations for web, web apps, mobile and infrastructure.
   Loaded after site.css; uses its colour variables.
   ===================================================================== */

/* ---------- live hero ---------- */
.live-hero h1 { font-size: clamp(2.8rem, 8vw, 6.6rem); letter-spacing: -.045em; line-height: .98; text-transform: uppercase; }
.live-hero h1 .outline { color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .85); }
.live-hero .hero-scrim { background: radial-gradient(1000px 500px at 80% 10%, rgba(255, 143, 163, .28), transparent 60%), radial-gradient(900px 600px at 10% 90%, rgba(108, 182, 255, .25), transparent 60%), linear-gradient(180deg, rgba(12, 18, 34, .6) 0%, rgba(12, 18, 34, .4) 40%, rgba(12, 18, 34, .94) 100%); }
.eq { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; display: flex; align-items: flex-end; gap: 4px; padding: 0 2%; z-index: -1; opacity: .5; pointer-events: none; }
.eq span { flex: 1; height: 100%; transform-origin: bottom; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--av), var(--apps) 60%, var(--web)); animation: eq 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -137ms); transform: scaleY(.15); }
@keyframes eq { 0% { transform: scaleY(.08); } 35% { transform: scaleY(.75); } 60% { transform: scaleY(.3); } 100% { transform: scaleY(1); } }

.big-marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.big-marquee .marquee-track { gap: 2.2rem; animation-duration: 40s; align-items: center; }
.big-marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5vw, 4rem); text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px var(--c, #fff); line-height: 1.1; }
.big-marquee span.fill { color: var(--c); -webkit-text-stroke: 0; }
.big-marquee i { color: var(--mobile); font-size: 1.4rem; }

/* ---------- capability tiles with photo ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1199.98px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .cap-grid { grid-template-columns: 1fr; } }
.cap { position: relative; min-height: 300px; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s; }
.cap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.cap::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 18, 34, .05) 20%, rgba(12, 18, 34, .94) 80%), linear-gradient(140deg, color-mix(in srgb, var(--c) 35%, transparent), transparent 55%); }
.cap:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--c) 60%, transparent); }
.cap:hover img { transform: scale(1.08); }
.cap .ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--c); color: #0c1222; margin-bottom: .8rem; font-size: 1.15rem; box-shadow: 0 8px 22px -8px var(--c); }
.cap h4 { font-size: 1.2rem; margin-bottom: .3rem; }
.cap p { font-size: .88rem; margin: 0; color: #c8d0e2; }

/* ---------- the stage: truss + LED wall + moving lights + crowd ---------- */
.stage-wrap { position: relative; border-radius: 30px; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, #1c2550 0%, #0a0f1d 65%); border: 1px solid var(--line-strong); box-shadow: 0 50px 120px -50px rgba(169, 146, 255, .55); aspect-ratio: 21 / 10; isolation: isolate; container-type: inline-size; }
@media (max-width: 767.98px) { .stage-wrap { aspect-ratio: 4 / 3; border-radius: 20px; } }
.truss { position: absolute; left: 3%; right: 3%; top: 5%; height: 3.2%; min-height: 10px; z-index: 4; border-block: 2px solid #9aa6c4; background: repeating-linear-gradient(60deg, transparent 0 9px, #9aa6c4 9px 11px), repeating-linear-gradient(-60deg, transparent 0 9px, #9aa6c4 9px 11px); opacity: .8; }
.truss.leg { bottom: 20%; height: auto; width: 1.6%; min-width: 8px; right: auto; border-block: 0; border-inline: 2px solid #9aa6c4; background: repeating-linear-gradient(30deg, transparent 0 9px, #9aa6c4 9px 11px), repeating-linear-gradient(-30deg, transparent 0 9px, #9aa6c4 9px 11px); }
.truss.leg.r { left: auto; right: 3%; }
.led { position: absolute; z-index: 2; overflow: hidden; background: #000 center/cover no-repeat; border-radius: 4px; box-shadow: 0 0 60px rgba(108, 182, 255, .45), 0 0 0 3px #05070d; }
.led video, .led img { width: 100%; height: 100%; object-fit: cover; }
.led::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(0, 0, 0, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, .16) 1px, transparent 1px); background-size: 4px 4px; }
.led.main { left: 24%; right: 24%; top: 14%; bottom: 30%; }
.led.side { top: 22%; bottom: 36%; width: 15%; }
.led.side.l { left: 6.5%; transform: perspective(600px) rotateY(18deg); }
.led.side.r { right: 6.5%; transform: perspective(600px) rotateY(-18deg); }
.led-label { position: absolute; left: 50%; top: 36%; transform: translate(-50%, -50%); z-index: 3; text-align: center; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; font-size: clamp(1rem, 4.2cqw, 3.2rem); line-height: 1; text-shadow: 0 4px 30px rgba(0, 0, 0, .8); pointer-events: none; white-space: nowrap; }
.led-label small { display: block; font-size: .32em; letter-spacing: .3em; margin-top: .6em; color: var(--mobile); }
.beam { position: absolute; top: 8%; width: 13%; height: 78%; z-index: 5; transform-origin: 50% 0; clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, var(--c) 0%, color-mix(in srgb, var(--c) 35%, transparent) 40%, transparent 92%); mix-blend-mode: screen; opacity: .55; animation: sweep var(--t, 6s) ease-in-out infinite alternate; pointer-events: none; }
@keyframes sweep { from { transform: rotate(var(--from, -28deg)); } to { transform: rotate(var(--to, 28deg)); } }
.stage-deck { position: absolute; left: 14%; right: 14%; bottom: 17%; height: 13%; z-index: 3; background: linear-gradient(180deg, #2a3350, #0e1326); clip-path: polygon(6% 0, 94% 0, 100% 100%, 0 100%); }
.stage-deck::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(108, 182, 255, .35), transparent 60%); }
.haze { position: absolute; inset: 40% 0 0 0; z-index: 6; background: radial-gradient(ellipse at 50% 100%, rgba(169, 146, 255, .3), transparent 65%); pointer-events: none; animation: breathe 7s ease-in-out infinite; }
.crowd { position: absolute; left: -2%; right: -2%; bottom: 0; height: 22%; z-index: 7; background: radial-gradient(circle at 50% 100%, #04060c 62%, transparent 64%) 0 100% / 5.2% 78% repeat-x, radial-gradient(circle at 50% 100%, #070a14 62%, transparent 64%) 2.6% 100% / 6.4% 100% repeat-x, linear-gradient(0deg, #04060c 30%, transparent 30%); animation: bob 1.2s ease-in-out infinite alternate; }
@keyframes bob { to { transform: translateY(-2.5%); } }
.stage-tags { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 9; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 0 12px; }
.stage-tags .chip { font-size: .78rem; padding: .35rem .75rem; }
@media (max-width: 575.98px) { .stage-tags { display: none; } }

/* ---------- gallery ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
@media (max-width: 991.98px) { .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }
.gal-item { position: relative; overflow: hidden; border-radius: 18px; border: 0; padding: 0; background: var(--surface) center/cover no-repeat; cursor: zoom-in; isolation: isolate; text-align: left; color: #fff; }
.gal-item.w2 { grid-column: span 2; }
.gal-item.h2 { grid-row: span 2; }
.gal-item.hide { display: none; }
.gal-item img, .gal-item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); z-index: -2; }
.gal-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(8, 12, 24, .92)); opacity: .7; transition: opacity .4s; }
.gal-item:hover img, .gal-item:hover video { transform: scale(1.07); }
.gal-item:hover::after { opacity: 1; }
.gal-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; transform: translateY(8px); opacity: 0; transition: all .4s var(--ease); }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { transform: none; opacity: 1; }
@media (hover: none) { .gal-cap { transform: none; opacity: 1; } }
.gal-cap b { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.gal-cap span { font-size: .76rem; color: var(--mobile); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gal-play { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: rgba(12, 18, 34, .65); border: 1px solid rgba(255, 255, 255, .3); }
.gal-play i { color: var(--av); }

.lightbox { position: fixed; inset: 0; z-index: 2100; background: rgba(5, 8, 16, .95); display: grid; place-items: center; padding: 20px 76px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: min(1300px, 100%); text-align: center; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 80vh; border-radius: 16px; margin: 0 auto; box-shadow: 0 40px 120px rgba(0, 0, 0, .7); }
.lightbox figcaption { margin-top: 14px; color: var(--text-2); }
.lightbox figcaption b { color: #fff; margin-right: .6rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .08); color: #fff; }
.lb-btn:hover { background: var(--brand); color: #0c1222; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; margin-top: -24px; }
.lb-next { right: 14px; top: 50%; margin-top: -24px; }
@media (max-width: 575.98px) { .lightbox { padding: 20px 10px 80px; } .lb-prev, .lb-next { top: auto; bottom: 18px; margin: 0; } .lb-prev { left: 30%; } .lb-next { right: 30%; } }

.event-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.event-types span { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.3rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; background: var(--surface); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); color: var(--text); transition: transform .3s, background .3s; }
.event-types span:hover { transform: translateY(-3px) scale(1.03); background: color-mix(in srgb, var(--c) 16%, var(--surface)); }
.event-types i { color: var(--c); }

/* =====================================================================
   SERVICE ANIMATIONS — browser, dashboard, phone, network
   ===================================================================== */
.anim { position: relative; border-radius: 22px; background: #0e1529; border: 1px solid var(--line-strong); box-shadow: var(--shadow), 0 30px 80px -45px var(--c); overflow: hidden; aspect-ratio: 4 / 3; container-type: inline-size; }
.anim-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 18px; height: 100%; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; color: var(--text); }
.anim-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--c) 50%, transparent); color: var(--text); }
.anim-card h4 { margin: 1.1rem 0 .3rem; font-size: 1.2rem; }
.anim-card p { font-size: .92rem; margin: 0 0 .8rem; flex: 1; }
@keyframes buildIn { 0%, 6% { opacity: 0; transform: translateY(10px); } 14%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.b { animation: buildIn 9s var(--ease) infinite both; animation-delay: calc(var(--n, 0) * .45s); }

/* browser */
.ab-bar { display: flex; align-items: center; gap: 6px; padding: 3% 4%; background: #151e38; border-bottom: 1px solid var(--line); }
.ab-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff8fa3; }
.ab-bar i:nth-child(2) { background: #ffc857; }
.ab-bar i:nth-child(3) { background: #4fd1a5; }
.ab-url { flex: 1; margin-left: 8px; font-size: .68rem; line-height: 1.5; color: var(--muted); background: #0c1222; border-radius: 999px; padding: .2rem .7rem; white-space: nowrap; overflow: hidden; }
.ab-url b { display: inline-block; overflow: hidden; vertical-align: bottom; white-space: nowrap; color: var(--sec); font-weight: 600; animation: typeUrl 9s steps(22) infinite; }
@keyframes typeUrl { 0% { width: 0; } 14%, 92% { width: 22ch; } 100% { width: 0; } }
.ab-body { padding: 4%; display: grid; gap: 4%; height: 86%; grid-template-rows: auto 1fr auto; position: relative; }
.ab-nav { display: flex; gap: 5%; align-items: center; }
.ab-nav span { height: 7px; width: 11%; border-radius: 4px; background: #2a3657; }
.ab-nav span:first-child { width: 16%; height: 12px; background: var(--brand); margin-right: auto; }
.ab-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5%; align-items: center; }
.ab-hero .t span { display: block; height: 11px; border-radius: 5px; background: #e8ecf6; margin-bottom: 8px; }
.ab-hero .t span:nth-child(2) { width: 70%; background: var(--brand); }
.ab-hero .t span:nth-child(3) { height: 6px; width: 90%; background: #2f3b5e; }
.ab-hero .t span:nth-child(4) { height: 6px; width: 60%; background: #2f3b5e; }
.ab-hero .t em { display: inline-block; height: 16px; width: 42%; border-radius: 999px; background: var(--web); margin-top: 6px; }
.ab-hero .pic { border-radius: 12px; height: 100%; min-height: 60px; background: url('/img/live-rainbow.jpg') center/cover; }
.ab-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.ab-cards span { height: 34px; border-radius: 8px; background: #1b2644; border-top: 3px solid var(--k, var(--web)); }
.ab-score { position: absolute; right: 5%; bottom: 24%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #0c1222; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.ab-score svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ab-score circle { fill: none; stroke-width: 7; }
.ab-score .bg { stroke: #222b45; }
.ab-score .fg { stroke: var(--sec); stroke-linecap: round; stroke-dasharray: 264; animation: ring 9s var(--ease) infinite; }
@keyframes ring { 0%, 30% { stroke-dashoffset: 264; } 55%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 264; } }
.ab-score b { font-family: var(--font-display); color: var(--sec); font-size: clamp(.8rem, 5cqw, 1.3rem); }
.ab-cursor { position: absolute; color: #fff; font-size: 1rem; filter: drop-shadow(0 2px 4px #000); animation: cursorMove 9s ease-in-out infinite; }
@keyframes cursorMove { 0% { left: 80%; top: 10%; } 30%, 42% { left: 18%; top: 54%; } 70% { left: 60%; top: 82%; } 100% { left: 80%; top: 10%; } }

/* dashboard */
.ad { display: grid; grid-template-columns: 16% 1fr; height: 100%; }
.ad-side { background: #121a31; padding: 14% 18%; display: grid; gap: 9%; align-content: start; }
.ad-side span { aspect-ratio: 1; border-radius: 8px; background: rgba(38, 50, 85, .6); }
.ad-side span:first-child { background: var(--brand); }
.ad-side span:nth-child(3) { background: color-mix(in srgb, var(--apps) 55%, transparent); }
.ad-main { padding: 4%; display: grid; gap: 4%; grid-template-rows: auto 1fr auto; min-height: 0; }
.ad-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.ad-kpi { background: #17203b; border-radius: 10px; padding: 8% 10%; border-left: 3px solid var(--k); }
.ad-kpi small { display: block; font-size: .58rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.ad-kpi b { font-family: var(--font-display); font-size: clamp(.8rem, 5cqw, 1.25rem); color: var(--k); }
.ad-chart { background: #17203b; border-radius: 12px; position: relative; overflow: hidden; display: flex; align-items: flex-end; gap: 3%; padding: 4% 4% 0; min-height: 0; }
.ad-chart span { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--apps), color-mix(in srgb, var(--apps) 25%, transparent)); transform-origin: bottom; height: var(--h); animation: grow 5s var(--ease) infinite alternate; animation-delay: calc(var(--n) * .12s); }
.ad-chart span:nth-child(3n) { background: linear-gradient(180deg, var(--web), color-mix(in srgb, var(--web) 25%, transparent)); }
@keyframes grow { 0% { transform: scaleY(.15); } 45%, 100% { transform: scaleY(1); } }
.ad-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ad-chart path { fill: none; stroke: var(--mobile); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 600; animation: lineDraw 5s var(--ease) infinite alternate; filter: drop-shadow(0 0 6px var(--mobile)); }
@keyframes lineDraw { 0% { stroke-dashoffset: 600; } 60%, 100% { stroke-dashoffset: 0; } }
.ad-rows { display: grid; gap: 6px; }
.ad-rows span { height: 9px; border-radius: 5px; background: linear-gradient(90deg, #2a3657 0 25%, transparent 25% 30%, #212c4b 30% 70%, transparent 70% 75%, var(--sec) 75% 86%, transparent 86%); }
.ad-rows span:nth-child(2) { background: linear-gradient(90deg, #2a3657 0 20%, transparent 20% 30%, #212c4b 30% 62%, transparent 62% 75%, var(--mobile) 75% 86%, transparent 86%); }

/* phone */
.anim-phone { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--mobile) 22%, #0e1529), #0e1529 70%); }
.anim-phone .ph { position: relative; height: 88%; aspect-ratio: 9 / 18.5; border-radius: 26px; background: #05070d; padding: 5px; box-shadow: 0 0 0 2px #2a3352, 0 30px 60px rgba(0, 0, 0, .6); animation: floaty 6s ease-in-out infinite; }
.anim-phone .ph::before { content: ""; position: absolute; top: 10px; left: 50%; width: 30%; height: 9px; margin-left: -15%; border-radius: 999px; background: #05070d; z-index: 5; }
.ph-screen { height: 100%; border-radius: 22px; overflow: hidden; position: relative; background: #101830; }
.ph-track { display: flex; width: 300%; height: 100%; animation: swipe 9s var(--ease) infinite; }
@keyframes swipe { 0%, 28% { transform: translateX(0); } 34%, 62% { transform: translateX(-33.333%); } 68%, 94% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.ph-s { width: 33.333%; padding: 22% 9% 9%; display: grid; gap: 4%; align-content: start; }
.ph-s .hd { height: 9px; width: 55%; border-radius: 5px; background: #e8ecf6; }
.ph-s .card { border-radius: 10px; height: 40px; background: linear-gradient(120deg, var(--k), color-mix(in srgb, var(--k) 40%, #101830)); }
.ph-s .card.big { height: 70px; }
.ph-s .row { display: flex; gap: 8%; align-items: center; }
.ph-s .row i { width: 18px; height: 18px; border-radius: 6px; background: var(--k); flex: none; }
.ph-s .row span { flex: 1; height: 7px; border-radius: 4px; background: #2a3657; }
.ph-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 9%; background: rgba(12, 18, 34, .93); display: flex; justify-content: space-around; align-items: center; }
.ph-tabs i { width: 8%; aspect-ratio: 1; border-radius: 30%; background: #34416a; }
.ph-tabs i:nth-child(2) { background: var(--mobile); }
.ph-push { position: absolute; left: 6%; right: 6%; top: 9%; z-index: 4; border-radius: 12px; background: rgba(232, 236, 246, .97); color: #0c1222; padding: 6% 7%; display: flex; gap: 7%; align-items: center; font-size: .58rem; font-weight: 700; line-height: 1.25; animation: push 9s var(--ease) infinite; box-shadow: 0 10px 24px rgba(0, 0, 0, .5); }
.ph-push i { color: #e0566f; font-size: .9rem; }
.ph-push small { display: block; font-weight: 500; color: #4a5676; }
@keyframes push { 0%, 38% { transform: translateY(-220%); } 44%, 58% { transform: none; } 64%, 100% { transform: translateY(-220%); } }
.store-badges { position: absolute; left: 4%; bottom: 5%; display: grid; gap: 6px; }
.store-badges span, .ph-float { font-size: .68rem; font-weight: 700; padding: .3rem .6rem; border-radius: 8px; background: rgba(12, 18, 34, .8); border: 1px solid var(--line-strong); color: #fff; display: inline-flex; gap: .4rem; align-items: center; }
.ph-float { position: absolute; right: 4%; top: 8%; color: var(--sec); }

/* network */
.anim-net svg { width: 100%; height: 100%; display: block; }
.anim-net .ln { stroke: #3a4a78; stroke-width: 2; fill: none; stroke-dasharray: 5 6; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -22; } }
.anim-net .nd { fill: #17203b; stroke: var(--k, var(--infra)); stroke-width: 2; }
.anim-net .ic { fill: var(--k, var(--infra)); font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 17px; text-anchor: middle; dominant-baseline: central; }
.anim-net .lb { fill: var(--text-2); font-size: 9.5px; font-weight: 600; text-anchor: middle; font-family: var(--font-body); }
.anim-net .led-dot { animation: blink 1.1s steps(1) infinite; }
.anim-net .ok { fill: var(--sec); font-size: 9px; font-weight: 700; font-family: var(--font-body); }

/* =====================================================================
   STAGE BUILD SEQUENCE — truss, LED panels, speaker arrays, lights
   Runs when .stage-wrap gets the class "build" (added by site.js in view).
   Without the class everything is simply shown finished.
   ===================================================================== */
.tiles { position: absolute; inset: 0; display: none; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(5, 1fr); z-index: 2; }
.tiles i { background: #0b1022; outline: 1px solid rgba(154, 166, 196, .28); outline-offset: -1px; }
.build .tiles { display: grid; }
.build .tiles i { animation: tileOn .55s both; animation-delay: calc(1.7s + var(--i) * 55ms); }
@keyframes tileOn { 0% { opacity: 1; background: #0b1022; } 35% { opacity: 1; background: #eaf2ff; } 100% { opacity: 0; } }

.fixtures { position: absolute; left: 7%; right: 7%; top: 8.6%; z-index: 6; display: flex; justify-content: space-between; pointer-events: none; }
.fixtures i { width: 1.5cqw; min-width: 7px; aspect-ratio: 1; border-radius: 50%; background: #dfe7fb; box-shadow: 0 0 10px 3px var(--c, #fff); }

.array { position: absolute; top: 9.5%; width: 3.4%; min-width: 14px; z-index: 6; display: grid; gap: 2px; }
.array.l { left: 21.6%; transform: translateX(-100%); }
.array.r { right: 21.6%; transform: translateX(100%); }
.array i { aspect-ratio: 1.7; border-radius: 2px; background: linear-gradient(90deg, #0a0d18 0 18%, #2b3350 18% 82%, #0a0d18 82%), #2b3350; border: 1px solid #56618a; box-shadow: inset 0 0 0 2px #171c30; }

.subs { position: absolute; bottom: 19%; z-index: 4; display: flex; gap: 3px; }
.subs.l { left: 15.5%; } .subs.r { right: 15.5%; }
.subs i { width: 3cqw; min-width: 12px; aspect-ratio: 1; border-radius: 3px; background: radial-gradient(circle, #0a0d18 38%, #3a4468 40% 48%, #1b2138 50%); border: 1px solid #56618a; }

.build .truss.leg { animation: growY .8s var(--ease) both; transform-origin: 50% 100%; }
.build .truss:not(.leg) { animation: growX .9s .6s var(--ease) both; transform-origin: 0 50%; }
.build .stage-deck { animation: fadeIn .8s .2s both; }
.build .led.side { animation: fadeIn .9s 5.1s both; }
.build .led-label { animation: fadeIn 1s 5.4s both; }
.build .array i { animation: dropIn .5s var(--ease) both; animation-delay: calc(5.9s + var(--i) * 110ms); }
.build .subs i { animation: popIn .4s var(--ease) both; animation-delay: calc(6.9s + var(--i) * 90ms); }
.build .fixtures i { animation: popIn .3s var(--ease) both; animation-delay: calc(7.6s + var(--i) * 60ms); }
.build .beam { animation: sweep var(--t, 6s) ease-in-out infinite alternate, beamOn 1.4s 8.5s both; }
.build .haze { animation: fadeIn 1.5s 8.6s both, breathe 7s 10s ease-in-out infinite; }
.build .crowd { animation: crowdUp 1s 9.2s var(--ease) both, bob 1.2s 10.2s ease-in-out infinite alternate; }
.build .stage-tags { animation: fadeIn 1s 9.6s both; }
@keyframes growY { from { transform: scaleY(0); } }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes dropIn { from { opacity: 0; translate: 0 -400%; } }
@keyframes popIn { from { opacity: 0; scale: 0; } }
@keyframes beamOn { from { opacity: 0; } }
@keyframes crowdUp { from { translate: 0 100%; } }

/* step tracker under the stage */
.build-steps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 22px; }
.build-steps span { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--text); background: color-mix(in srgb, var(--c) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.build-steps span b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #0c1222; font-size: .78rem; }
.build ~ .build-steps span { animation: stepOn .5s both; animation-delay: var(--at); }
@keyframes stepOn { from { opacity: .3; filter: grayscale(1); transform: scale(.96); } }
.build-steps button { margin-left: 6px; }

/* big build cards with slow-moving photos */
.cap-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991.98px) { .cap-grid.three { grid-template-columns: 1fr; } }
.cap.tall { min-height: 460px; padding: 28px; }
.cap.tall h4 { font-size: 1.5rem; }
.cap.tall p { font-size: .96rem; }
.cap.tall ul { list-style: none; padding: 0; margin: .9rem 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cap.tall li { font-size: .76rem; font-weight: 700; padding: .28rem .7rem; border-radius: 999px; background: rgba(12, 18, 34, .6); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: #fff; }
.kb img { animation: kenburns 16s ease-in-out infinite alternate; }
.kb:nth-child(2) img { animation-delay: -5s; animation-direction: alternate-reverse; }
.kb:nth-child(3) img { animation-delay: -9s; }
@keyframes kenburns { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.18) translate(-2.5%, -2%); } }
.cap.kb:hover img { transform: none; }

/* =====================================================================
   SITE-WIDE POLISH — scroll bar, aurora, pointer glow, shine, wipes
   ===================================================================== */
html { scrollbar-color: #3a4a78 #0c1222; }
.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--brand); z-index: 2500; pointer-events: none; }

/* slow colour drift behind the open sections */
body::before { content: ""; position: fixed; inset: -20%; z-index: -1; pointer-events: none; background: radial-gradient(40% 35% at 20% 20%, rgba(108, 182, 255, .11), transparent 70%), radial-gradient(35% 35% at 80% 30%, rgba(169, 146, 255, .11), transparent 70%), radial-gradient(40% 40% at 60% 85%, rgba(255, 143, 163, .09), transparent 70%), radial-gradient(30% 30% at 10% 80%, rgba(79, 209, 165, .08), transparent 70%); animation: aurora 30s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate(4%, -3%) rotate(8deg) scale(1.12); } }

/* light that follows the pointer in heroes */
.hero::after, .page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 72%) var(--my, 28%), rgba(255, 255, 255, .08), transparent 60%); }

/* cards light up under the pointer */
.glow:hover { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c, var(--web)) 20%, transparent), transparent 62%); }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* gradient headlines breathe */
.grad, .grad-warm, .grad-cool, .grad-shield { background-size: 220% 100%; animation: shimmer 7s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 0; } }

/* shine sweep on main buttons */
.btn-primary-x { position: relative; overflow: hidden; }
.btn-primary-x::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .6) 50%, transparent 65%); transform: translateX(-130%); transition: transform .8s var(--ease); pointer-events: none; }
.btn-primary-x:hover::after { transform: translateX(130%); }

/* photos and videos wipe in */
.js .reveal-l .split-media, .js .reveal-r .split-media { clip-path: inset(0 100% 0 0 round 28px); transition: clip-path 1.2s var(--ease) .15s; }
.js .reveal-l.in .split-media, .js .reveal-r.in .split-media { clip-path: inset(0 0 0 0 round 28px); }

/* icons pop on hover */
.tile .ti, .svc-icon, .cap .ci, .step .si { transition: transform .4s var(--ease); }
.tile:hover .ti, .svc-card:hover .svc-icon, .cap:hover .ci { transform: scale(1.12) rotate(-6deg); }
.step:hover .si { transform: translateY(-4px) scale(1.1); }
.eyebrow::before { animation: breathe 2.4s ease-in-out infinite; }

/* =====================================================================
   EVENT TECHNOLOGY — show modes, LED wall sizer, event rail
   ===================================================================== */
.mode-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 22px; }
.mode-switch button { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .04); color: var(--text-2); font-weight: 700; padding: .6rem 1.2rem; border-radius: 999px; transition: all .25s; display: inline-flex; gap: .5rem; align-items: center; }
.mode-switch button:hover { color: #fff; }
.mode-switch button.on { background: var(--brand); color: #0c1222; border-color: transparent; }
.stage-wrap .led { transition: background-image .5s; }
.stage-wrap .led.main video { transition: opacity .6s; }
.stage-wrap[data-mode="keynote"] { background: radial-gradient(ellipse at 50% 0%, #17305a 0%, #0a0f1d 65%); }
.stage-wrap[data-mode="keynote"] .led.main { background-image: linear-gradient(120deg, #0f2a55, #2b5fb4 55%, #4fd1a5) !important; }
.stage-wrap[data-mode="keynote"] .led.main video, .stage-wrap[data-mode="gala"] .led.main video { opacity: 0; }
.stage-wrap[data-mode="keynote"] .led.side.l { background-image: url('/img/live-keynote.jpg') !important; }
.stage-wrap[data-mode="keynote"] .led.side.r { background-image: url('/img/av-event.jpg') !important; }
.stage-wrap[data-mode="keynote"] .beam { --c: #cfe3ff; opacity: .32; width: 9%; }
.stage-wrap[data-mode="keynote"] .fixtures i { --c: #cfe3ff; }
.stage-wrap[data-mode="keynote"] .crowd { animation: none !important; }
.stage-wrap[data-mode="keynote"] .haze { background: radial-gradient(ellipse at 50% 100%, rgba(108, 182, 255, .22), transparent 65%); }
.stage-wrap[data-mode="gala"] { background: radial-gradient(ellipse at 50% 0%, #4a2a3c 0%, #0a0f1d 65%); }
.stage-wrap[data-mode="gala"] .led.main { background-image: linear-gradient(rgba(40, 20, 10, .35), rgba(40, 20, 10, .35)), url('/img/live-confetti.jpg') !important; }
.stage-wrap[data-mode="gala"] .led.side { background-image: url('/img/live-ballroom.jpg') !important; }
.stage-wrap[data-mode="gala"] .beam:nth-of-type(odd) { --c: #f2c86b; }
.stage-wrap[data-mode="gala"] .beam:nth-of-type(even) { --c: #ff8fa3; }
.stage-wrap[data-mode="gala"] .fixtures i { --c: #f2c86b; }
.stage-wrap[data-mode="gala"] .haze { background: radial-gradient(ellipse at 50% 100%, rgba(242, 200, 107, .26), transparent 65%); }
.stage-wrap[data-mode="gala"] .crowd { animation-duration: 1s, 2.4s !important; }

/* LED wall sizer */
.sizer { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
@media (max-width: 991.98px) { .sizer { grid-template-columns: 1fr; } }
.sizer-view { position: relative; border-radius: var(--radius-lg); background: radial-gradient(ellipse at 50% 100%, #1c2550, #0a0f1d 70%); border: 1px solid var(--line-strong); min-height: 380px; display: flex; align-items: flex-end; justify-content: center; gap: 14px; padding: 26px 26px 44px; overflow: hidden; }
.sizer-view::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44px; background: linear-gradient(180deg, #232c4a, #0e1326); border-top: 1px solid var(--line-strong); }
.sz-wall { position: relative; z-index: 1; background: url('/img/live-rainbow.jpg') center/cover; box-shadow: 0 0 60px rgba(108, 182, 255, .5), 0 0 0 3px #05070d; transition: width .45s var(--ease), height .45s var(--ease); border-radius: 2px; }
.sz-wall::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(5, 7, 13, .75) 1px, transparent 1px), linear-gradient(90deg, rgba(5, 7, 13, .75) 1px, transparent 1px); background-size: var(--cell, 20px) var(--cell, 20px); }
.sz-dim { position: absolute; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: #fff; background: rgba(12, 18, 34, .85); border: 1px solid var(--line-strong); padding: .15rem .55rem; border-radius: 999px; white-space: nowrap; }
.sz-dim.w { left: 50%; top: -30px; transform: translateX(-50%); }
.sz-dim.h { left: -12px; top: 50%; transform: translate(-100%, -50%); }
.sz-person { position: relative; z-index: 1; width: 0; transition: height .45s var(--ease); display: flex; justify-content: center; }
.sz-person i { font-size: inherit; color: var(--mobile); line-height: 1; filter: drop-shadow(0 0 8px rgba(255, 200, 87, .6)); }
.sz-person small { position: absolute; bottom: -20px; font-size: .68rem; color: var(--muted); white-space: nowrap; z-index: 3; }
.sizer-panel { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 28px; }
.sizer-panel label { display: flex; justify-content: space-between; font-weight: 700; font-size: .92rem; margin-bottom: .3rem; }
.sizer-panel label b { color: var(--av); font-family: var(--font-display); }
.sizer-panel input[type=range] { width: 100%; accent-color: #ff8fa3; margin-bottom: 1rem; }
.pitch-pick, .preset-pick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.1rem; }
.pitch-pick button, .preset-pick button { border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text-2); font-weight: 700; font-size: .84rem; padding: .4rem .8rem; border-radius: 10px; transition: all .2s; }
.pitch-pick button.on { background: var(--av); color: #0c1222; border-color: transparent; }
.preset-pick button:hover, .pitch-pick button:hover { color: #fff; border-color: var(--av); }
.pitch-pick button.on:hover { color: #0c1222; }
.sz-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: .4rem 0 1.2rem; }
.sz-out div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.sz-out small { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sz-out b { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }

/* event rail (side-scrolling showcase) */
.rail-wrap { position: relative; }
.rail { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: none; scroll-behavior: smooth; }
.rail::-webkit-scrollbar { display: none; }
.rail .cap { flex: 0 0 min(430px, 84vw); scroll-snap-align: start; min-height: 520px; }
.rail .cap .no { position: absolute; top: 18px; right: 22px; font-family: var(--font-display); font-weight: 700; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .06); color: #fff; transition: all .25s; }
.rail-nav button:hover { background: var(--brand); color: #0c1222; }

/* ---------- fixes: nav on one line, tighter sizer ---------- */
.brand, .nav-links > li > a, .nav-links > li > button { white-space: nowrap; }
@media (min-width: 1200px) { .nav-links { gap: 0; } .nav-links > li > a, .nav-links > li > button { font-size: .9rem; padding: .5rem .7rem; } .nav-panel { gap: .6rem; } }
.sizer { align-items: start; }
.sizer-view { aspect-ratio: 16 / 10; min-height: 0; }
.sz-dim.h { left: 8px; transform: translateY(-50%); }

/* =====================================================================
   OUR WORK — video mosaic, photo ribbon, screenshot frames, covers
   ===================================================================== */
.av-mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.av-mosaic .big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 991.98px) { .av-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
.studio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; gap: 12px; }
@media (max-width: 575.98px) { .studio-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } }
.vt { position: relative; overflow: hidden; border-radius: 20px; background: var(--surface) center/cover no-repeat; isolation: isolate; border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.vt:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c, var(--av)) 60%, transparent); box-shadow: 0 30px 60px -30px var(--c, var(--av)); }
.vt video, .vt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.vt:hover video, .vt:hover img { transform: scale(1.06); }
.vt.kbz img { animation: kenburns 18s ease-in-out infinite alternate; }
.vt::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(8, 12, 24, .92)); }
.vt-cap { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.vt-cap span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mobile); }
.vt-cap b { font-family: var(--font-display); font-size: 1.1rem; color: #fff; line-height: 1.2; }
.vt.big .vt-cap { left: 26px; bottom: 24px; }
.vt.big .vt-cap b { font-size: clamp(1.4rem, 2.6vw, 2.1rem); display: block; }
.vt.big::before { content: "LIVE"; position: absolute; top: 18px; left: 18px; font-size: .7rem; font-weight: 800; letter-spacing: .14em; padding: .25rem .6rem .25rem 1.4rem; border-radius: 999px; background: rgba(12, 18, 34, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .25); background-image: radial-gradient(circle at .75rem 50%, #ff5c7a 0 4px, transparent 5px); animation: blink 1.6s steps(1) infinite; }

/* photo ribbon */
.ribbon { display: grid; gap: 14px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ribbon-row { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite; }
.ribbon-row.rev { animation-direction: reverse; animation-duration: 85s; }
.ribbon:hover .ribbon-row { animation-play-state: paused; }
.ribbon-row img { width: 320px; height: 200px; object-fit: cover; border-radius: 18px; border: 1px solid var(--line); flex: none; transition: transform .4s var(--ease), filter .4s; filter: saturate(.92); }
.ribbon-row img:hover { transform: scale(1.04); filter: saturate(1.15); }
@media (max-width: 575.98px) { .ribbon-row img { width: 220px; height: 140px; } }

/* browser frame with real screenshots */
.frame { border-radius: 18px; overflow: hidden; background: #0e1529; border: 1px solid var(--line-strong); box-shadow: var(--shadow), 0 40px 90px -40px var(--c); transition: transform .5s var(--ease); }
.frame:hover { transform: translateY(-6px) scale(1.01); }
.frame .ab-bar { padding: 12px 16px; }
.frame .ab-url { font-size: .78rem; }
.frame-slides { position: relative; aspect-ratio: 1551 / 726; background: #fff; }
.frame-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; animation: slideFade 15s infinite; }
.frame-slides img:nth-child(2) { animation-delay: 5s; }
.frame-slides img:nth-child(3) { animation-delay: 10s; }
.frame-slides.one img { opacity: 1; animation: none; }
@keyframes slideFade { 0% { opacity: 0; } 4%, 33% { opacity: 1; } 38%, 100% { opacity: 0; } }

/* product card: real screenshot or animated cover */
.work-thumb .ph.shot::after { display: none; }
.work-thumb .ph.shot img { object-position: top left; }
.work-cover { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--c) 55%, transparent), transparent 60%), radial-gradient(circle at 88% 85%, color-mix(in srgb, var(--apps) 40%, transparent), transparent 55%), #121a31; }
.work-cover::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 75%); mask-image: radial-gradient(circle, #000 30%, transparent 75%); }
.work-cover .big { font-size: 4rem; color: #fff; position: relative; filter: drop-shadow(0 8px 26px var(--c)); animation: floaty 5s ease-in-out infinite; transition: transform .5s var(--ease); }
.work-card:hover .work-cover .big { transform: scale(1.18) rotate(-6deg); }
.work-cover .ring { position: absolute; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .22); }
.work-cover .ring.a { width: 150px; height: 150px; animation: spin 22s linear infinite; }
.work-cover .ring.b { width: 230px; height: 230px; border-style: solid; border-color: rgba(255, 255, 255, .1); border-top-color: var(--c); animation: spin 9s linear infinite reverse; }
.work-cover .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 3px var(--c); animation: floaty 4s ease-in-out infinite; }
.work-cover .d1 { left: 16%; top: 28%; } .work-cover .d2 { right: 18%; top: 22%; animation-delay: -1.3s; background: var(--mobile); } .work-cover .d3 { right: 26%; bottom: 20%; animation-delay: -2.4s; background: var(--sec); }
