@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --black:#0a0b0f;
  --ink:#101218;
  --card:#14161d;
  --line:rgba(255,255,255,.09);
  --paper:#f4f2ec;
  --paper-2:#ebe8df;
  --muted:#b3b8c2;
  --muted-dark:#5d636e;
  --cyan:#19c2dc;
  --cyan-dark:#087486;
  --pink:#ed2679;
  --gold:#d8b46a;
  --radius:18px;
  --shadow:0 24px 60px rgba(0,0,0,.35);
  --max:1240px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--black);color:var(--paper);font-family:'Inter',system-ui,Arial,sans-serif;-webkit-font-smoothing:antialiased;line-height:1.6}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit}
h1,h2,h3{font-family:'Barlow Condensed','Arial Narrow',sans-serif;margin:0;line-height:1;letter-spacing:-.5px}
::selection{background:var(--cyan);color:#000}

/* ---------- Header ---------- */
header{height:76px;padding:0 clamp(20px,4vw,48px);display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:50;background:rgba(9,10,14,.82);backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:148px;height:52px;object-fit:cover;display:block;border-radius:6px}
.brand-sub{font-size:9px;letter-spacing:2.5px;color:var(--muted);line-height:1.5;display:none}
nav{display:flex;align-items:center;gap:6px}
nav a.nav-link{font-size:12.5px;font-weight:600;letter-spacing:.4px;color:#d6d8de;padding:10px 14px;border-radius:100px;position:relative;transition:.25s}
nav a.nav-link:hover{background:rgba(255,255,255,.07);color:#fff}
nav a.nav-link.active{background:rgba(25,194,220,.14);color:var(--cyan)}
nav a.nav-link.active::after{content:'';position:absolute;left:14px;right:14px;bottom:5px;height:2px;background:var(--cyan);border-radius:2px}
.nav-cta{margin-left:10px;display:inline-flex;align-items:center;gap:10px;background:#fff;color:#000 !important;font-size:12.5px;font-weight:700;padding:12px 18px 12px 20px;border-radius:100px;transition:.25s;white-space:nowrap}
.nav-cta span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--cyan);font-size:14px}
.nav-cta:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(25,194,220,.35)}
#menu-toggle{display:none}

/* ---------- Buttons / labels ---------- */
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;background:var(--cyan);color:#061014;padding:17px 22px;font-weight:700;font-size:14px;letter-spacing:.1px;border:0;border-radius:10px;transition:.25s;box-shadow:none}
.button span{font-size:20px}
.button:hover{transform:translateY(-2px);background:#5fe2f4;box-shadow:0 8px 24px rgba(25,194,220,.15)}
.button.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.25);box-shadow:none}
.button.ghost:hover{border-color:var(--cyan);color:var(--cyan);background:rgba(25,194,220,.08)}
.button.dark{background:var(--black);color:#fff;width:100%}
.button.dark:hover{background:#23262f}
.eyebrow{font-size:10.5px;letter-spacing:2.2px;font-weight:700;display:inline-flex;align-items:center;gap:10px;color:var(--cyan);text-transform:uppercase}
.eyebrow i{height:7px;width:7px;border-radius:50%;background:var(--cyan);box-shadow:0 0 16px var(--cyan)}
.eyebrow.on-light{color:var(--cyan-dark)}
.kicker{font-size:11px;letter-spacing:3px;color:#cfd2d8;font-weight:600}

/* ---------- Hero home ---------- */
.hero{position:relative;isolation:isolate;min-height:540px;display:flex;flex-direction:column;justify-content:center;overflow:hidden;border-bottom:1px solid var(--line);background:#0a0b0f}
.hero-slides,.hero-photo,.hero-shade{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.hero-photo{object-fit:cover;object-position:center 55%;opacity:0;transition:opacity 1.1s ease;transform:none}
.hero-photo.active{opacity:1;transform:scale(1)}
.hero-fallback,.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hero-fallback{object-position:center 60%}
.hero-live{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.8px;font-weight:700;color:#fff;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);padding:8px 14px;border-radius:100px;backdrop-filter:blur(8px)}
.hero-live i{width:8px;height:8px;border-radius:50%;background:#ff3b5c;box-shadow:0 0 12px #ff3b5c;animation:blink 1.6s infinite}
@keyframes blink{50%{opacity:.35}}
.hero-shade{z-index:-1;background:linear-gradient(90deg,rgba(7,9,13,.88),rgba(7,9,13,.44) 52%,rgba(7,9,13,.06)),linear-gradient(0deg,rgba(7,9,13,.7),transparent 55%)}
.hero-inner{width:100%;max-width:var(--max);margin:0 auto;padding:42px clamp(20px,4vw,40px) 24px;position:relative;z-index:2}
.hero-top{display:flex;align-items:center;margin-bottom:22px}
.hero-badge{display:inline-flex;align-items:center;gap:12px;font-size:11px;letter-spacing:1.5px;font-weight:600;color:#e2e6e8}
.hero-badge b{color:var(--cyan)}
h1{font-size:clamp(52px,7vw,112px);font-weight:800;line-height:.86;letter-spacing:-1.5px;margin:18px 0 22px;text-wrap:balance}
h1 em{font-style:normal;background:linear-gradient(92deg,var(--cyan),#7dedff);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:26px;padding:8px 0 18px}
.hero-bottom p{font-size:17px;line-height:1.7;color:#e2e5e9;max-width:460px;margin:0}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.hero-foot{margin-top:30px;padding:18px 0 0;display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1.8px;color:#d0d4db;width:100%;gap:20px}
.slide-controls{display:flex;gap:8px}
.slide-dot{background:rgba(9,11,16,.55);border:1px solid #ffffff40;color:#fff;font-size:11px;font-weight:700;cursor:pointer;min-width:44px;height:44px;border-radius:50%;transition:.25s}
.slide-dot.active{background:var(--cyan);color:#000;border-color:var(--cyan)}

/* ---------- Ticker ---------- */
@keyframes marquee{to{transform:translateX(-50%)}}

/* ---------- Sections ---------- */
.section{padding:clamp(48px,5vw,80px) clamp(20px,4vw,48px)}
.wrap{max-width:var(--max);margin:0 auto}
.section-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.small{font-size:10px;letter-spacing:1.8px;color:var(--muted);font-weight:600}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin:28px 0 44px}
h2{font-size:clamp(36px,3.6vw,58px);font-weight:700;line-height:1.02;letter-spacing:-.8px;text-wrap:balance}
.section-heading p{font-size:16px;line-height:1.8;flex-shrink:0;color:var(--muted);margin:0;max-width:360px}
.section-heading h2 span{color:#626966}
.section-heading h2 em{font-style:normal;color:var(--pink)}

/* light sections */
.light{background:var(--paper);color:#12140f}
.light .small{color:#555e58}
.light .section-heading p{color:#5f665e}

/* cards grid */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.pro-card{background:linear-gradient(180deg,#171923,#101218);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.3s;position:relative;display:flex;flex-direction:column}
.pro-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(0,0,0,.1);border-color:rgba(25,194,220,.4)}
.pro-card .ph{aspect-ratio:16/10;overflow:hidden;position:relative}
.pro-card .ph img{width:100%;height:100%;object-fit:cover;transition:.7s;filter:saturate(1.05)}
.pro-card:hover .ph img{transform:scale(1.06)}
.pro-card .pb{padding:26px;display:flex;flex-direction:column;flex:1}
.pro-card .pb h3{font-size:28px;margin:10px 0 10px}
.pro-card .pb p{font-size:15px;color:#c2c7d0;line-height:1.75;margin:0 0 24px}
.pro-card .tag{font-size:10px;letter-spacing:1.8px;color:var(--cyan);font-weight:700}
.card-link{display:inline-flex;align-items:center;gap:10px;font-size:12.5px;font-weight:700;color:#fff}
.card-link i{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);font-style:normal;transition:.25s}
.pro-card:hover .card-link i{background:var(--cyan);color:#000;border-color:var(--cyan)}
.light .pro-card{background:#fff;border-color:#dedfd9;box-shadow:none}
.light .pro-card .pb p{color:#4e5852}
.light .card-link{color:#111}

/* services list (accordion premium) */
.services-section{background:var(--paper);color:#111}
.service-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:start}
.service-photo{min-height:480px;position:relative;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow)}
.service-photo>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;filter:brightness(.72) saturate(1.05)}
.service-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.78))}
.image-tag{position:absolute;top:20px;left:20px;z-index:1;display:flex;align-items:center;gap:10px;background:rgba(0,0,0,.55);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);padding:6px 12px 6px 6px;color:#fff;font-size:10px;letter-spacing:1.6px;border-radius:100px}
.service-photo-copy{position:absolute;bottom:28px;left:26px;right:26px;z-index:1;color:#fff}
.service-photo-copy span{color:var(--cyan);font-size:11px;letter-spacing:2px;font-weight:700}
.service-photo-copy h3{font-size:42px;line-height:1;margin-top:10px}
.service-list{border-top:1px solid rgba(0,0,0,.12)}
.service{border-bottom:1px solid rgba(0,0,0,.12);background:transparent;border-radius:12px;transition:.25s}
.service.active{background:#fff;box-shadow:0 14px 40px rgba(0,0,0,.08);border-color:transparent;padding:0 8px}
.service-toggle{background:none;border:0;text-align:left;display:flex;align-items:center;gap:18px;width:100%;padding:22px 10px;cursor:pointer;color:#111}
.number{font-size:11px;color:#8b8e8a;width:28px;height:28px;display:grid;place-items:center;border:1px solid rgba(0,0,0,.14);border-radius:50%;flex-shrink:0}
.service.active .number{background:var(--black);color:#fff;border-color:var(--black)}
.service-toggle h3{font-size:29px;flex:1;font-weight:700}
.service.active .service-toggle{color:var(--cyan-dark)}
.service-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;border:1px solid rgba(0,0,0,.15);font-size:20px;flex-shrink:0}
.service.active .service-icon{background:var(--cyan);border-color:var(--cyan);color:#000}
.service-detail{padding:0 20px 24px 56px}
.service-detail p{margin:0;line-height:1.85;font-size:15px;color:#4e5852;max-width:440px}
.service-detail a{color:var(--cyan-dark);font-weight:700}

/* events */
.events-section{background:#0e1015}
.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.event-card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-width:0;isolation:isolate;background:#171a20;border-radius:16px;border:1px solid #ffffff14;transition:.25s}
.event-card img{width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .7s;display:block}
.event-card:before{display:none}
.event-card:hover{transform:translateY(-3px);border-color:#ffffff35;box-shadow:none}
.event-card:hover img{transform:scale(1.035)}
.event-number{position:absolute;top:16px;left:16px;font-size:10px;letter-spacing:1.4px;padding:7px 11px;background:#0a0b0fe6;color:#fff;border:1px solid #ffffff30;border-radius:6px}
.event-label{font-size:10px;letter-spacing:2px;color:var(--cyan);font-weight:700}
.event-card h3{font-size:40px;line-height:1.05;margin:12px 0 14px;min-height:2.1em;max-width:290px}
.event-card p{font-size:15px;line-height:1.75;color:#c4c9d2;margin:0 0 24px}
.circle-arrow{display:inline-grid;place-items:center;margin-top:22px;width:46px;height:46px;border:1px solid rgba(255,255,255,.35);border-radius:50%;font-size:22px;transition:.25s;background:rgba(255,255,255,.06);backdrop-filter:blur(8px)}
.event-card:hover .circle-arrow{background:var(--cyan);color:#000;border-color:var(--cyan)}

/* about */
.about{background:var(--paper);color:#111}
.about-layout{display:grid;grid-template-columns:1fr 1fr;gap:56px;margin-top:48px;align-items:center}
.about h2{margin:22px 0 20px;font-size:clamp(40px,3.8vw,56px)}
.about h2 em{font-style:normal;color:var(--cyan-dark)}
.about-copy>p{font-size:14.5px;line-height:1.85;color:#5f665e;max-width:540px}
.about-copy .about-lead{font-size:19px;line-height:1.6;color:#141711;font-weight:500}
.about-signature{display:flex;align-items:center;gap:22px;margin-top:28px;padding-top:24px;border-top:1px solid rgba(0,0,0,.12)}
.since{font:800 58px 'Barlow Condensed';letter-spacing:-1px;line-height:1}
.about-signature>div{font-size:10px;line-height:1.7;letter-spacing:1.2px;color:#6d736c}
.about-photo{position:relative;height:520px;overflow:hidden;border-radius:var(--radius);box-shadow:var(--shadow)}
.about-photo img{width:100%;height:100%;object-fit:cover;filter:saturate(1.05)}
.about-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.75))}
.about-photo-caption{position:absolute;left:28px;right:28px;bottom:28px;z-index:1;color:#fff}
.about-photo-caption>span{font-size:10px;letter-spacing:1.6px}
.about-photo-caption b{font:700 50px/1 'Barlow Condensed';display:block;margin-top:14px}
.checks{display:grid;gap:12px;margin-top:24px}
.checks li{list-style:none;display:flex;gap:12px;align-items:flex-start;font-size:13.5px;color:#2b302c;background:#fff;border:1px solid rgba(0,0,0,.08);padding:14px 16px;border-radius:14px}
.checks ul{margin:0;padding:0;display:grid;gap:12px}
.checks b{width:26px;height:26px;display:grid;place-items:center;background:#0f1116;color:var(--cyan);border-radius:50%;flex-shrink:0;font-size:14px}

/* gallery */
.gallery-section{background:#0a0b0f}
.gallery-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:28px 0 36px;gap:24px}
.gallery-heading h2 span{color:var(--pink)}
.gallery-note{font-size:10px;letter-spacing:1.6px;color:#8c8e96}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.gallery-item{background:transparent;color:#fff;border:1px solid var(--line);position:relative;aspect-ratio:16/10;overflow:hidden;cursor:pointer;text-align:left;padding:0;border-radius:14px}
.gallery-item.wide{grid-column:1/-1;aspect-ratio:2/1}
.gallery-item img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .7s}
.gallery-item:hover img{transform:scale(1.04)}
.gallery-item:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.72))}
.gallery-item>span{position:absolute;bottom:24px;left:24px;right:24px;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:16px}
.gallery-item b{font-size:15px;font-weight:600}
.gallery-item i{font-style:normal;font-size:20px;border:1px solid rgba(255,255,255,.4);width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.08);backdrop-filter:blur(8px)}

/* contact */
.contact{background:var(--paper);color:#111820;position:relative;overflow:hidden}
.contact:before{display:none}
.contact .small{color:#0d4f59}
.contact-main{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:0;align-items:start}
.contact h2{font-size:clamp(46px,4.8vw,72px);line-height:1}
.contact h2 span{color:var(--cyan-dark)}
.contact-panel{background:#fff;border:1px solid #dedfd9;border-radius:18px;padding:32px;box-shadow:0 16px 40px rgba(16,24,32,.04)}
.mini-label{display:block;font-size:11px;letter-spacing:1.7px;font-weight:700}
.event-options{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}
.event-options button{background:#fff;border:1px solid #adb5b7;color:#242d34;padding:11px 14px;border-radius:100px;font-size:13px;font-weight:600;cursor:pointer;transition:.2s}
.event-options .selected{background:#0a0b0f;color:#fff;border-color:#0a0b0f}
.message-preview{font-size:14px;line-height:1.75;padding:18px;background:#f3f6f6;border:1px solid #e0e6e6;border-radius:10px;margin:0 0 16px}
.copy-button{background:none;border:0;padding:6px 0;color:#0d4f59;font-size:12px;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
#copy-status{display:block;font-size:12px;min-height:22px;margin-top:6px;color:#0d4f59}
.contact-note{font-size:13px;line-height:1.65;display:block;margin-top:14px;color:#475961}
.location{border-top:1px solid rgba(0,0,0,.12);margin-top:22px;padding-top:20px}
.location>span{font-size:10px;letter-spacing:1.6px;font-weight:700}
.location address{font-size:14px;line-height:1.7;font-style:normal;margin:10px 0 0}
.location a{display:inline-block;margin-top:12px;font-size:12.5px;font-weight:700;border-bottom:2px solid rgba(0,0,0,.2);padding-bottom:3px}

/* ---------- Inner pages ---------- */
.page-hero{position:relative;overflow:hidden;isolation:isolate;border-bottom:1px solid var(--line);min-height:0;display:flex;align-items:flex-end;background:#0e0f15}
.page-hero img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;filter:brightness(.42) saturate(1.05)}
.page-hero::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(7,9,13,.35),rgba(10,11,15,.92) 90%)}
.page-hero-inner{max-width:var(--max);margin:0 auto;width:100%;padding:56px clamp(20px,4vw,40px) 40px;position:relative;z-index:2}
.crumbs{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:1.4px;color:#c6c9d1;margin-bottom:18px}
.crumbs a{color:#fff;border-bottom:1px solid rgba(255,255,255,.3)}
.crumbs b{color:var(--cyan)}
.page-hero h1{font-size:clamp(42px,4.8vw,74px);margin:12px 0 14px}
.page-hero p.lead{font-size:15.5px;color:#d3d6dc;max-width:640px;line-height:1.75;margin:0}
.page-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.pill{font-size:10.5px;letter-spacing:1.4px;font-weight:700;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);padding:9px 14px;border-radius:100px;backdrop-filter:blur(10px)}
.pill.cyan{background:var(--cyan);color:#000;border-color:var(--cyan)}

.split{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.split img.round{width:100%;height:480px;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow)}
.feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:28px}
.feature{background:#14161d;border:1px solid var(--line);border-radius:16px;padding:22px}
.feature h3{font-size:26px;margin:12px 0 8px}
.feature p{font-size:15px;color:#bfc5d0;line-height:1.75;margin:0}
.feature .ico{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:rgba(25,194,220,.14);border:1px solid rgba(25,194,220,.3);font-size:20px;color:var(--cyan)}
.feature .ico svg{width:22px;height:22px;display:block}
.light .feature .ico{color:var(--cyan-dark)}
.light .feature{background:#fff;border-color:rgba(0,0,0,.08)}
.light .feature p{color:#5c625d}

.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px}
.step{background:#14161d;border:1px solid var(--line);border-radius:16px;padding:24px;position:relative}
.step b.num{font:800 44px 'Barlow Condensed';color:transparent;-webkit-text-stroke:1.5px var(--cyan);display:block}
.step h3{font-size:24px;margin:10px 0 8px}
.step p{font-size:14px;color:#bfc5d0;line-height:1.75;margin:0}
.step::after{content:'→';position:absolute;top:24px;right:20px;color:var(--muted);opacity:.5}
.step:last-child::after{display:none}

.cta-band{margin:0 clamp(20px,4vw,48px) clamp(40px,5vw,70px);background:linear-gradient(120deg,#101218 0%,#151a24 60%,#0d3a42 100%);border:1px solid rgba(25,194,220,.28);border-radius:24px;padding:clamp(32px,4vw,56px);display:flex;align-items:center;justify-content:space-between;gap:28px;position:relative;overflow:hidden;max-width:var(--max)}
.cta-band::before{content:'';position:absolute;right:10px;top:-30px;width:220px;height:220px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg stroke='%2319c2dc' stroke-width='7' stroke-linecap='round' opacity='0.16'%3E%3Cline x1='50' y1='6' x2='50' y2='94'/%3E%3Cline x1='6' y1='50' x2='94' y2='50'/%3E%3Cline x1='19' y1='19' x2='81' y2='81'/%3E%3Cline x1='81' y1='19' x2='19' y2='81'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
.cta-band h2{font-size:clamp(30px,3vw,46px)}
.cta-band h2 span{color:var(--cyan)}
.cta-band p{color:#aeb3bd;font-size:14px;max-width:440px}
.cta-actions{display:flex;gap:12px;flex-wrap:wrap;flex-shrink:0}

/* footer */
footer{padding:48px clamp(20px,4vw,48px) 24px;border-top:1px solid var(--line);background:#08090d}
.footer-grid{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:32px}
.footer-grid h4{font-size:11px;letter-spacing:2px;color:var(--muted);margin:0 0 16px}
.footer-grid a{display:block;font-size:13.5px;color:#c9ccd3;padding:6px 0;transition:.2s}
.footer-grid a:hover{color:var(--cyan)}
.footer-brand p{font-size:13px;color:var(--muted);line-height:1.7;max-width:320px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid rgba(255,255,255,.08);margin:36px auto 0;max-width:var(--max);padding-top:20px;font-size:11px;color:#7a7e88;letter-spacing:.4px}
.made-italy{font-size:15px;font-weight:700;letter-spacing:2.5px;color:#fff;white-space:nowrap}

/* reveal — visible by default, animates only when JS confirms (avoids blank page if JS fails) */
.reveal{opacity:1;transform:none}
.reveal.visible{opacity:1;transform:none}
.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease,transform .7s ease}
.js .reveal.visible{opacity:1;transform:none}

/* dialog */
dialog{background:#101218;border:1px solid rgba(255,255,255,.14);color:#fff;width:min(1080px,94vw);max-height:92vh;padding:18px;border-radius:18px}
dialog::backdrop{background:rgba(0,0,0,.75);backdrop-filter:blur(8px)}
dialog img{width:100%;max-height:72vh;object-fit:contain;border-radius:12px}
dialog p{font-size:14px;color:#c9ccd3}
.close{position:absolute;top:18px;right:18px;background:#fff;color:#000;border:0;width:38px;height:38px;border-radius:50%;cursor:pointer;font-weight:700}
a:focus-visible,button:focus-visible{outline:3px solid var(--pink);outline-offset:3px}
[hidden]{display:none!important}

/* logo marks */
.brand-mark{display:inline-flex;align-items:center;justify-content:center;background:#000;overflow:hidden;flex-shrink:0;vertical-align:middle;border-radius:8px}
.brand-mark img{display:block;object-fit:cover;width:100%;height:100%}
.brand-about{width:220px;height:76px;margin-bottom:6px}
.brand-inline{width:110px;height:38px;margin:0 4px;border-radius:6px}
.brand-footer{width:92px;height:32px;margin:0 6px}
.brand-photo{width:104px;height:36px}

@media(max-width:1080px){
  .cards,.event-grid{grid-template-columns:1fr 1fr}
  .service-layout,.about-layout,.split,.contact-main{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .section-heading{flex-direction:column;align-items:flex-start}
  .service-photo{min-height:420px}
}
@media(max-width:1000px){
  header{height:68px}
  .brand img{width:124px;height:44px}
  #menu-toggle{display:grid;place-items:center;background:none;border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:50%;font-size:18px;width:40px;height:40px;cursor:pointer}
  nav{display:none;position:absolute;left:12px;right:12px;top:74px;background:#0d0f15f5;border:1px solid var(--line);padding:14px;border-radius:18px;flex-direction:column;align-items:stretch;gap:4px;box-shadow:var(--shadow)}
  nav.open{display:flex}
  nav a.nav-link{font-size:15px;padding:14px}
  .nav-cta{margin:6px 0 0;justify-content:center}
  .hero{min-height:540px}
  .hero-bottom{flex-direction:column;align-items:stretch}
  .hero-foot{font-size:9px}
  .hero-foot>span{display:none}
  .cards,.event-grid,.feature-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
  .section{padding:60px 20px}
  h2{font-size:44px}
  .service-toggle h3{font-size:28px}
  .service-photo{min-height:360px}
  .about-photo{height:440px}
  .gallery{grid-template-columns:1fr}
  .gallery-item.wide{aspect-ratio:16/10;grid-column:auto}
  .contact-main{grid-template-columns:1fr}
  .cta-band{flex-direction:column;align-items:flex-start;margin:0 16px 48px}.cta-band::before{width:130px;height:130px;right:0;top:-14px}.contact:before{width:240px;height:240px;right:-30px;top:-40px}
  .footer-grid{grid-template-columns:1fr}
  .page-hero{min-height:52vh}
  .split img.round{height:320px}
}

/* ---------- Righe contatto ---------- */
.contact-rows{display:grid;gap:10px;margin:22px 0 6px}
.contact-row{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:14px;padding:14px 18px;transition:.2s}
.contact-row:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.12)}
.contact-row b{font-size:10px;letter-spacing:1.8px}
.contact-row span{font-size:14px;font-weight:700}
/* ---------- Filtri galleria ---------- */
.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin:26px 0 6px}
.filter-bar button{background:rgba(255,255,255,.06);border:1px solid var(--line);color:#c9ccd3;font-size:12px;font-weight:600;padding:10px 16px;border-radius:100px;cursor:pointer;transition:.2s}
.filter-bar button:hover{border-color:var(--cyan);color:#fff}
.filter-bar button.active{background:var(--cyan);border-color:var(--cyan);color:#000}
.gallery-item{transition:opacity .35s,transform .35s}
.gallery-item.hide{display:none}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before{transition:none!important;animation:none!important}.reveal{opacity:1;transform:none}}

/* ---------- Videos ---------- */
.video-section{background:#0c0d12}
.video-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:36px}
.video-card{background:#14161d;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.3s;display:flex;flex-direction:column}
.video-card:hover{transform:translateY(-3px);box-shadow:none;border-color:rgba(25,194,220,.4)}
.video-frame{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.video-frame video,.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.video-placeholder{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:24px;background:radial-gradient(500px 260px at 30% 20%,rgba(25,194,220,.16),transparent),radial-gradient(500px 260px at 80% 80%,rgba(237,38,121,.14),transparent),#101218;color:#c9ccd3}
.video-placeholder b{font-family:'Barlow Condensed';font-size:28px;display:block;color:#fff}
.video-placeholder span{font-size:12px;color:var(--muted)}
.video-placeholder .play{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:var(--cyan);color:#000;font-size:22px;margin:0 auto 14px;box-shadow:0 14px 34px rgba(25,194,220,.4)}
.video-body{padding:22px}
.video-body h3{font-size:28px;margin:8px 0 8px;color:#fff}
.video-body p{font-size:15px;color:#bfc5d0;line-height:1.75;margin:0}
.video-tag{font-size:10px;letter-spacing:1.8px;color:var(--cyan);font-weight:700}
.video-howto{background:rgba(25,194,220,.07);border:1px dashed rgba(25,194,220,.4);border-radius:16px;padding:22px;margin-top:24px;font-size:13px;color:#b9c6ca;line-height:1.8}
.video-howto code{background:#000;color:var(--cyan);padding:2px 8px;border-radius:6px;font-size:12px}
@media(max-width:1080px){.video-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.video-grid{grid-template-columns:1fr}.page-hero{min-height:0}}

/* Cotización por WhatsApp */
.quote-hint{font-size:14px;line-height:1.65;margin:0 0 20px;color:#475961}
.quote-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.quote-fields label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;min-width:0}
.quote-fields label:last-child{grid-column:1/-1}
.quote-fields input{width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid #a1adb1;border-radius:8px;background:#fff;color:#111820;font:inherit;font-size:16px;min-height:48px}
.quote-fields input:focus-visible,.quote-services input:focus-visible{outline:3px solid #065e6b;outline-offset:3px}
.quote-services{border:0;padding:0;margin:22px 0;display:flex;flex-wrap:wrap;gap:10px}
.quote-services legend{font-size:13px;font-weight:600;margin-bottom:12px}
.quote-services label{display:flex;align-items:center;gap:8px;border:1px solid #a1adb1;border-radius:8px;background:#fff;padding:11px 12px;font-size:13px;cursor:pointer}
.quote-services input{width:18px;height:18px;accent-color:#065e6b}
.quote-preview-label{margin-bottom:10px}
.message-preview{white-space:pre-line;overflow-wrap:anywhere}
@media(max-width:600px){.quote-fields{grid-template-columns:1fr}.contact-panel{padding:22px}.contact-panel>.button{white-space:normal;line-height:1.5}}

/* Photo and content rhythm */
.experience-strip{background:#111419;border-bottom:1px solid var(--line);padding:26px clamp(20px,4vw,48px)}
.experience-strip>.wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.experience-strip .wrap>div{display:flex;align-items:center;gap:16px}
.experience-strip b{font:700 38px/1 'Barlow Condensed',sans-serif;color:#fff;white-space:nowrap}
.experience-strip b span{color:var(--cyan);font-size:26px}
.experience-strip .wrap>div>span{font-size:13px;color:#c0c6d0}
.pro-card .card-link{margin-top:auto;align-self:flex-start}
.pro-card .tag{color:var(--cyan-dark)}
.event-media{position:relative;aspect-ratio:16/10;overflow:hidden;flex-shrink:0}
.event-content{display:flex;flex-direction:column;flex:1;padding:28px}
.event-actions,.event-action{margin-top:auto}
.event-actions .button{width:100%;gap:12px;font-size:13px;white-space:normal}
.event-action{display:flex;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid #ffffff20;font-size:14px;font-weight:600;color:var(--cyan)}
.event-action>span{font-size:22px}
.contact-main>div:first-child>p{font-size:17px;line-height:1.75;color:#47545b;max-width:430px}
.contact .feature{background:#fff;border-color:#dedfd9;padding:22px}
.contact .feature p{color:#47545b;font-size:14px}
.contact .feature .ico{color:var(--cyan-dark);background:#e8f6f7;border-color:#c2e6eb}
.contact .button.dark{background:var(--cyan);color:#061014}
.contact .button.dark:hover{background:#5fe2f4}
.contact-row{background:#f6f7f7;border-color:#e0e6e6;box-shadow:none}
.contact-row:hover{box-shadow:none;transform:none;border-color:#7a959e}
.contact-row span{overflow-wrap:anywhere;min-width:0}
.quote-services label:has(input:checked){background:#eaf8fa;border-color:var(--cyan-dark)}
.video-cover{position:absolute;inset:0;width:100%;height:100%;border:0;padding:0;background:#0a0b0f;color:#fff;text-align:left;cursor:pointer;overflow:hidden}
.video-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.video-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.15) 45%,rgba(0,0,0,.85))}
.video-cover:hover img{transform:scale(1.035)}
.video-play{position:absolute;z-index:1;top:50%;left:50%;transform:translate(-50%,-50%);width:60px;height:60px;display:grid;place-items:center;border-radius:50%;background:var(--cyan);color:#061014;font-size:23px;padding-left:3px;border:1px solid #b8f5ff}
.video-cover-caption{position:absolute;z-index:1;left:20px;right:20px;bottom:16px;font-size:11px;font-weight:700;letter-spacing:1.2px;color:#fff}
.video-cover:focus-visible{outline:3px solid var(--cyan);outline-offset:-4px}
@media(max-width:1080px){.contact-main{grid-template-columns:1fr;gap:36px}.contact-main>div:first-child>p{max-width:600px}.event-card h3{font-size:36px}}
@media(max-width:760px){.hero-inner{padding-top:44px}.hero{min-height:600px}.hero-badge{font-size:9px;letter-spacing:1px;gap:8px}.hero-bottom{gap:22px}.hero-bottom p{font-size:16px}.hero-actions{width:100%}.hero-actions .button{justify-content:center;gap:14px}.experience-strip{padding:24px 20px}.experience-strip>.wrap{gap:12px}.experience-strip .wrap>div{flex-direction:column;align-items:flex-start;gap:8px}.experience-strip b{font-size:32px}.experience-strip .wrap>div>span{font-size:11px;line-height:1.5}.event-card h3{min-height:0;max-width:none;font-size:36px}.event-content{padding:24px}.gallery-item>span{left:18px;right:18px;bottom:18px}.gallery-item b{font-size:14px}.section-top>.small{display:none}.contact-panel{padding:24px}.contact .feature-grid{grid-template-columns:1fr}.contact-main{gap:32px}.contact-row{padding:14px;gap:10px}.contact-row span{font-size:13px}.service-photo{min-height:400px}.video-play{width:56px;height:56px}}
@media(prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none}}

/* Original-resolution hero and featured productions */
.hero h1{font-size:clamp(52px,6vw,92px);line-height:.92;margin:16px 0 22px}
.hero-foot{margin-top:14px}
.projects-intro{color:#c1c7d0;font-size:16px;line-height:1.75;max-width:380px;margin:0}
.projects-section .video-body{display:flex;flex-direction:column;flex:1;padding:26px}
.projects-section .video-body p{margin-bottom:22px}
.project-link{margin-top:auto;display:flex;justify-content:space-between;gap:16px;align-items:center;color:var(--cyan);font-size:14px;font-weight:600;border-top:1px solid #ffffff20;padding-top:16px}
.project-link span{font-size:22px}
.video-card[id]{scroll-margin-top:100px}
@media(max-width:760px){.hero-shade{background:linear-gradient(90deg,rgba(7,9,13,.8),rgba(7,9,13,.4)),linear-gradient(0deg,rgba(7,9,13,.65),transparent 65%)}.hero{min-height:560px}.hero h1{font-size:52px}.hero-photo{object-position:60% center}.hero-inner{padding-top:32px}.projects-section .gallery-heading{flex-direction:column;align-items:flex-start}.projects-intro{font-size:15px}.projects-section .video-body{padding:24px}}

/* PSM live experience */
.hero-lights{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;opacity:.55}
.hero-beam{position:absolute;top:-15%;height:140%;width:240px;transform-origin:50% 0;clip-path:polygon(49% 0,51% 0,100% 100%,0 100%);background:linear-gradient(180deg,rgba(150,239,255,.04),rgba(70,219,247,.16) 50%,transparent);mix-blend-mode:screen}
.beam-one{left:58%;transform:rotate(calc(-24deg + var(--beam-shift,0deg)))}
.beam-two{left:78%;transform:rotate(calc(24deg + var(--beam-shift,0deg)))}
.beam-three{left:40%;transform:rotate(calc(12deg + var(--beam-shift,0deg)));opacity:.6}
.motion-ok .hero-beam{animation:hero-beam-sweep 12s ease-in-out infinite alternate}
.motion-ok .beam-two{animation-delay:-5s;animation-duration:15s}
.motion-ok .beam-three{animation-delay:-8s;animation-duration:18s}
.hero:not(.effects-in-view) .hero-beam{animation-play-state:paused}
@keyframes hero-beam-sweep{from{rotate:-9deg;opacity:.4}to{rotate:9deg;opacity:1}}
.title-first,.title-second{display:block}
.motion-ok .title-first{animation:title-arrive .85s cubic-bezier(.2,.65,.2,1) both}
.motion-ok .title-second{animation:title-arrive .85s .18s cubic-bezier(.2,.65,.2,1) both}
.motion-ok .hero-title em{animation:title-ignite 1.5s .45s ease-out both}
@keyframes title-arrive{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes title-ignite{0%{filter:brightness(.65);text-shadow:none}45%{filter:brightness(1.3);text-shadow:0 0 30px #19c2dc80}100%{filter:brightness(1);text-shadow:none}}
@media(hover:hover) and (pointer:fine) and (min-width:900px){
 .motion-ok .gallery-item img{transform:translate3d(0,var(--parallax-y,0px),0) scale(1.08)}
 .motion-ok .gallery-item:hover img{transform:translate3d(0,var(--parallax-y,0px),0) scale(1.11)}
 .motion-ok .tilt-card:hover{transform:perspective(1000px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateY(-3px);border-color:#19c2dc85}
 .tilt-card:after{content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(350px circle at var(--glow-x,50%) var(--glow-y,30%),#6beaff18,transparent 70%);opacity:0;transition:opacity .3s}
 .motion-ok .tilt-card:hover:after{opacity:1}
}

/* Cinema */
.cinema-open{overflow:hidden}
.cinema-dialog{width:min(1120px,94vw);max-height:94dvh;padding:24px;background:#080b10;border:1px solid #ffffff25;border-radius:18px;box-shadow:0 40px 120px #000b;overflow:auto}
.cinema-dialog::backdrop{background:#02040beb;backdrop-filter:blur(12px)}
.motion-ok .cinema-dialog[open]{animation:cinema-enter .25s ease-out}
.cinema-top{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px}
.cinema-top h2{font-size:32px;color:#fff;margin-top:8px}
.cinema-close{width:46px;height:46px;flex-shrink:0;display:grid;place-items:center;border:1px solid #ffffff40;border-radius:50%;background:#161c24;color:#fff;cursor:pointer}
.cinema-close:hover{background:var(--cyan);color:#061014}
.cinema-screen{background:#000;border-radius:10px;overflow:hidden}
.cinema-screen video{display:block;width:100%;height:min(66vh,650px);object-fit:contain;background:#000}
@keyframes cinema-enter{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}

/* Interactive stage */
.stage-section{background:radial-gradient(ellipse at 20% 25%,#0c30394d,transparent 65%),#0c1017;border-top:1px solid #ffffff0d;border-bottom:1px solid #ffffff0d}
.stage-section h2 .stage-title-accent{color:var(--cyan)}
.stage-interactive{display:grid;grid-template-columns:minmax(0,1fr) 310px;border:1px solid #ffffff20;border-radius:20px;overflow:hidden;background:#111720}
.stage-preview{position:relative;min-height:430px;overflow:hidden;background:linear-gradient(180deg,#070c15,#111923);isolation:isolate}
.stage-room-glow{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 60%,#19c2dc25,transparent 60%);opacity:0;transition:opacity .7s}
.lights-on .stage-room-glow{opacity:1}
.stage-truss{position:absolute;inset:0;width:100%;height:100%;color:#5f7284;opacity:.65;z-index:3;pointer-events:none}
.stage-strobes{position:absolute;top:calc(9% - 21px);left:5%;right:5%;display:flex;justify-content:space-between;z-index:6;pointer-events:none}
.stage-strobes b{width:34px;height:23px;border-radius:3px;background:linear-gradient(180deg,#2e3d4f,#0c1219);border:1px solid #6b8199;position:relative;box-shadow:0 0 10px #19c2dc2e,inset 0 0 6px #000}.stage-strobes b::after{box-shadow:0 0 6px #ff3b3044}.stage-strobes b::before{content:'';position:absolute;left:50%;top:100%;transform:translateX(-50%);width:10px;height:9px;background:linear-gradient(180deg,#39485a,#141d27);border:1px solid #4a5d72;border-top:0;border-radius:0 0 3px 3px}
.stage-strobes b::after{content:'';position:absolute;inset:3px;border-radius:2px;background:repeating-linear-gradient(90deg,#0d141c 0 3px,#1d2835 3px 6px)}
.lights-on .stage-strobes b::after{background:#f4feff;box-shadow:0 0 22px 6px #c9f6ffcc}
.motion-ok .lights-on .stage-strobes b::after{animation:strobe-flash 1.3s steps(1) infinite}
.motion-ok .lights-on .stage-strobes b:nth-child(2)::after{animation-delay:.45s}
.motion-ok .lights-on .stage-strobes b:nth-child(3)::after{animation-delay:.9s}.motion-ok .lights-on .stage-strobes b:nth-child(4)::after{animation-delay:.25s}.motion-ok .lights-on .stage-strobes b:nth-child(5)::after{animation-delay:.7s}.motion-ok .lights-on .stage-strobes b:nth-child(6)::after{animation-delay:.55s}.motion-ok .lights-on .stage-strobes b:nth-child(7)::after{animation-delay:1s}.motion-ok .lights-on .stage-strobes b:nth-child(8)::after{animation-delay:.35s}.motion-ok .lights-on .stage-strobes b:nth-child(9)::after{animation-delay:.8s}.stage-strobes-side{position:absolute;top:22%;bottom:16%;display:flex;flex-direction:column;justify-content:space-evenly;z-index:6;pointer-events:none}
.stage-strobes-side.left{left:7%}.stage-strobes-side.right{right:7%}
.stage-strobes-side b{width:30px;height:20px;border-radius:3px;background:linear-gradient(180deg,#2e3d4f,#0c1219);border:1px solid #6b8199;position:relative;box-shadow:0 0 10px #19c2dc2e,inset 0 0 6px #000}
.stage-strobes-side b::after{content:'';position:absolute;inset:3px;border-radius:2px;background:repeating-linear-gradient(90deg,#0d141c 0 3px,#1d2835 3px 6px)}
.lights-on .stage-strobes-side b::after{background:#f4feff;box-shadow:0 0 22px 6px #c9f6ffcc}
.motion-ok .lights-on .stage-strobes-side b::after{animation:strobe-flash 1.3s steps(1) infinite}
.motion-ok .lights-on .stage-strobes-side b:nth-child(2)::after{animation-delay:.45s}
.motion-ok .lights-on .stage-strobes-side b:nth-child(3)::after{animation-delay:.9s}.motion-ok .lights-on .stage-strobes-side b:nth-child(4)::after{animation-delay:.2s}.motion-ok .lights-on .stage-strobes-side b:nth-child(5)::after{animation-delay:.65s}.motion-ok .lights-on .stage-strobes-side b:nth-child(6)::after{animation-delay:1.1s}
.motion-ok .lights-on .stage-strobes b:nth-child(10)::after{animation-delay:.5s}.motion-ok .lights-on .stage-strobes b:nth-child(11)::after{animation-delay:.95s}.stage-strobe-flash{position:absolute;inset:0;z-index:7;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 50% 0%,#ffffff50,transparent 60%)}.motion-ok .lights-on .stage-strobe-flash{animation:flash-soft 1.3s steps(1) infinite}@keyframes flash-soft{0%,86%{opacity:0}87%,92%{opacity:.5}93%,100%{opacity:0}}
@keyframes strobe-flash{0%,86%{opacity:.12;box-shadow:none}87%,92%{opacity:1;box-shadow:0 0 26px 8px #d8fbff}93%,100%{opacity:.12;box-shadow:none}}

.stage-fixtures{position:absolute;top:17%;left:26%;right:26%;display:flex;justify-content:space-between;z-index:5}
.stage-fixtures i{position:relative;width:30px;height:48px;background:linear-gradient(90deg,transparent 3px,#33455a 3px 7px,transparent 7px 23px,#33455a 23px 27px,transparent 27px),linear-gradient(180deg,transparent 0 34px,#0d141c 34px),radial-gradient(circle at 50% 41px,#1b4d5c 0 3px,transparent 4px)}
.stage-fixtures i::before{content:'';position:absolute;left:50%;top:2px;width:24px;height:24px;transform:translateX(-50%);transform-origin:50% 92%;border-radius:7px;background:linear-gradient(135deg,#3a4e64,#0b1119 72%);border:1px solid #5a7187;box-shadow:inset 2px 0 3px #ffffff14}
.stage-fixtures i::after{content:'';position:absolute;left:50%;top:5px;width:15px;height:15px;transform:translateX(-50%);transform-origin:50% 17px;border-radius:50%;background:radial-gradient(circle at 38% 35%,#ffb3ab,#f04438 45%,#7a0f0a 82%);opacity:.3;transition:opacity .5s,box-shadow .5s}
.lights-on .stage-fixtures i::after{opacity:1;box-shadow:0 0 16px 4px #ff4a3daa}
.motion-ok .lights-on .stage-fixtures i::before,.motion-ok .lights-on .stage-fixtures i::after{animation:mh-tilt-sm 4.6s ease-in-out infinite alternate}
.motion-ok .lights-on .stage-fixtures i:nth-child(even)::before,.motion-ok .lights-on .stage-fixtures i:nth-child(even)::after{animation-delay:-2.3s;animation-direction:alternate-reverse}
@keyframes mh-tilt-sm{from{rotate:-14deg}to{rotate:14deg}}
.stage-fixtures i s{position:absolute;left:50%;top:26px;width:70px;height:200px;display:block;transform:translateX(-50%);transform-origin:50% 0;clip-path:polygon(42% 0,58% 0,100% 100%,0 100%);background:linear-gradient(180deg,#cdeffb66,#19c2dc08);opacity:0;transition:opacity .6s;pointer-events:none}
.lights-on .stage-fixtures i s{opacity:.6}
.motion-ok .lights-on .stage-fixtures i s{animation:mh-tilt-sm 4.6s ease-in-out infinite alternate}
.motion-ok .lights-on .stage-fixtures i:nth-child(even) s{animation-delay:-2.3s;animation-direction:alternate-reverse}



/* Teste mobili BEAM + WASH (aggiunte, fari esistenti invariati) */
.stage-movers{position:absolute;top:24%;left:29%;right:29%;display:flex;justify-content:space-between;z-index:6;pointer-events:none}
.mh{position:relative;width:22px;height:19px}
.mh::before{content:'';position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:20px;height:12px;border-radius:3px 3px 1px 1px;background:linear-gradient(180deg,#3a4f66,#0c141d);border:1px solid #55697e}
.mh::after{content:'';position:absolute;left:50%;top:100%;transform-origin:50% 0;height:230px;opacity:0;transition:opacity .6s}
.mh-beam::after{width:26px;transform:translateX(-50%) rotate(16deg);background:linear-gradient(180deg,#e8fdffd9,#19c2dc12);clip-path:polygon(42% 0,58% 0,100% 100%,0 100%)}
.mh-wash::after{width:92px;transform:translateX(-50%) rotate(-13deg);background:linear-gradient(180deg,#ffb3dd4d,#ff7d9c0a);clip-path:polygon(40% 0,60% 0,100% 100%,0 100%);filter:blur(1px)}
.lights-on .mh::after{opacity:.8}
.motion-ok .lights-on .mh-beam::after{animation:mh-pan 3.4s ease-in-out infinite alternate}
.motion-ok .lights-on .mh-wash::after{animation:mh-pan 5.6s ease-in-out infinite alternate-reverse}
@keyframes mh-pan{from{rotate:26deg}to{rotate:-26deg}}
.stage-preview[data-preset="corporativo"] .mh-beam::after{background:linear-gradient(180deg,#ffffffe0,#7db8ff14)}
.stage-preview[data-preset="boda"] .mh-beam::after{background:linear-gradient(180deg,#fff3d6e6,#ffb45e1a)}
.stage-preview[data-mode="day"] .mh::after{opacity:.3}
/* Mobile: the moving heads sit flush on the main LED screen. */

@media(prefers-reduced-motion:reduce){.mh::after{animation:none!important}}
.stage-beams{position:absolute;inset:17% 0 15%;z-index:2;opacity:0;transition:opacity .7s;pointer-events:none}
.lights-on .stage-beams{opacity:.85}
.stage-beams i{position:absolute;top:0;height:100%;width:32%;background:linear-gradient(180deg,#8cefff70,#19c2dc05);clip-path:polygon(49% 0,51% 0,100% 100%,0 100%);transform-origin:50% 0;rotate:-24deg}
.stage-beams i:nth-child(1){left:10%;rotate:-20deg}
.stage-beams i:nth-child(2){left:27%;rotate:20deg;background:linear-gradient(180deg,#c697ff66,#8b55ff05)}
.stage-beams i:nth-child(3){left:44%;rotate:-20deg;background:linear-gradient(180deg,#c697ff66,#8b55ff05)}
.stage-beams i:nth-child(4){left:61%;rotate:20deg}
.motion-ok .stage-beams i{animation:stage-sweep 7s ease-in-out infinite alternate}
.motion-ok .stage-beams i:nth-child(even){animation-delay:-3s;animation-direction:alternate-reverse}
@keyframes stage-sweep{from{transform:rotate(-12deg)}to{transform:rotate(12deg)}}
.stage-led{position:absolute;left:29%;right:29%;top:25%;bottom:29%;background:#101c29;border:4px solid #293b4b;border-radius:3px;z-index:3;overflow:hidden;display:grid;place-items:center;box-shadow:0 0 0 2px #05090e}
.led-art{position:absolute;inset:0;opacity:0;background:repeating-radial-gradient(ellipse at 50% 60%,transparent 0 18px,#6beaff66 19px 21px,transparent 22px 39px),linear-gradient(135deg,#113a62,#42266a 60%,#124556);transition:opacity .7s}
.led-on .led-art{opacity:1}
.motion-ok .led-on .led-art{animation:led-flow 10s ease-in-out infinite alternate}
@keyframes led-flow{from{transform:scale(1)}to{transform:scale(1.25) rotate(8deg)}}
.led-brand{position:relative;text-align:center;color:#354c60;font:800 clamp(34px,5vw,70px)/1 'Barlow Condensed',sans-serif;letter-spacing:3px;transition:color .6s,text-shadow .6s}
.led-brand small{display:block;font:600 8px/1.7 'Inter',sans-serif;letter-spacing:1.3px;margin-top:12px}
.led-on .led-brand{color:#fff;text-shadow:0 0 24px #71e9ff80}
.stage-speaker{position:absolute;top:27%;bottom:41%;width:12%;gap:3px;background:#05070a;padding:4px 5px;background:linear-gradient(90deg,#07090e,#151c25);border:1px solid #394555;border-radius:4px;z-index:4;display:flex;flex-direction:column;justify-content:space-around;align-items:center;padding:8px}
.speaker-left{left:14%}.speaker-right{right:14%}
.stage-speaker i{position:relative;display:block;flex:1 1 0;min-height:0;border-radius:2px;
background:radial-gradient(circle at 50% 50%,#2b3138 0 .8px,transparent 1px) 0 0/4px 4px,linear-gradient(180deg,#a7b0b8,#828b94 60%,#98a1a9);
border-left:3px solid #10151b;border-right:3px solid #10151b;box-shadow:inset 0 1px 0 #ffffff55;transform-origin:50% 0}
.stage-speaker i::before,.stage-speaker i::after{content:'';position:absolute;top:50%;width:6px;height:6px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#dfe6ec,#7d8894 70%);box-shadow:0 0 2px #000;transform:translateY(-50%)}
.stage-speaker i::before{left:-1px}.stage-speaker i::after{right:-1px}.la-rig{display:block;height:11px;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#31435a,#0c141d);border:1px solid #55697e;position:relative;flex:0 0 auto}.la-rig::before,.la-rig::after{content:'';position:absolute;top:-24px;width:5px;height:24px;background:repeating-linear-gradient(180deg,#7b8b9b 0 3px,#2a3542 3px 6px)}.la-rig::before{left:22%}.la-rig::after{right:22%}.stage-sub{position:absolute;top:75%;bottom:9%;width:12%;border-radius:5px;border:1px solid #333f4b;z-index:4;
background:radial-gradient(circle at 50% 50%,#000 0 1px,#1a2129 1.4px) 0 0/7px 7px,linear-gradient(100deg,#10161d,#05080c);
box-shadow:6px 10px 22px #0009,inset 0 0 0 2px #000,inset 0 1px 0 #ffffff14}
.stage-sub::before{content:'';position:absolute;top:10%;bottom:10%;left:5px;width:16px;border-radius:3px;background:#05080c;border:1px solid #232e39;
background-image:repeating-linear-gradient(180deg,transparent 0 9px,#1d2732 9px 15px,transparent 15px 24px)}
.stage-sub::after{content:'';position:absolute;top:12%;right:8px;width:26px;height:9px;border-radius:2px;background:linear-gradient(180deg,#c7cfd6,#7d8894);box-shadow:0 0 3px #000}.sub-left{left:14%}.sub-right{right:14%}.sound-on .stage-sub{border-color:#19c2dc80}
.sound-on .stage-speaker{border-color:#19c2dc80}
.motion-ok .sound-on .stage-speaker i{animation:speaker-pulse .7s ease-in-out infinite alternate}
@keyframes speaker-pulse{to{transform:scale(1.07);box-shadow:0 0 12px #19c2dc35}}
.stage-deck{position:absolute;left:12%;right:12%;bottom:16%;height:9%;background:linear-gradient(180deg,#344655,#131c29);border-top:2px solid #64788c;transform:perspective(300px) rotateX(25deg);z-index:3;box-shadow:0 18px 22px #0009}
.stage-equalizer{position:absolute;left:32%;right:32%;bottom:20%;height:13%;display:flex;align-items:flex-end;gap:3px;z-index:4;opacity:0;transition:opacity .5s}
.sound-on .stage-equalizer{opacity:1}
.stage-equalizer i{flex:1;height:calc(22% + var(--level)*13%);background:linear-gradient(0deg,#087486,#83edff);border-radius:2px;transform-origin:bottom;min-height:10px}
.motion-ok .sound-on .stage-equalizer i{animation:eq-dance calc(.45s + var(--bar)*.023s) ease-in-out infinite alternate;animation-delay:calc(var(--bar)*-.13s)}
@keyframes eq-dance{from{transform:scaleY(.25)}to{transform:scaleY(1)}}
.stage-audience{position:absolute;bottom:-12px;left:0;right:0;height:20%;z-index:5;background:radial-gradient(ellipse at 8px 48px,#070b11 0 12px,transparent 13px) 0 0/37px 100%,radial-gradient(ellipse at 8px 38px,#0a0f18 0 10px,transparent 11px) 20px 0/39px 100%;opacity:.9}
.stage-scene-label{position:absolute;bottom:18px;left:24px;z-index:6;color:#a1b5c6;font-size:9px;letter-spacing:2px}
.stage-preview:not(.effects-in-view) *{animation-play-state:paused!important}
.stage-console{padding:30px 24px;background:#121a24;border-left:1px solid #ffffff15;display:flex;flex-direction:column}
.stage-console-heading p{font-size:13px;color:#b6c2d0;margin:8px 0 22px}
.stage-switches{display:grid;gap:10px}
.stage-tracks,.stage-presets{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.stage-tracks .mini-label,.stage-presets .mini-label{width:100%;margin-bottom:2px}
.stage-tracks button,.stage-presets button{background:transparent;border:1px solid #ffffff25;color:#cfd6dd;font-size:12px;font-weight:700;letter-spacing:.4px;padding:9px 15px;border-radius:100px;cursor:pointer;transition:.2s}
.stage-tracks button:hover,.stage-presets button:hover{border-color:#19c2dc90;color:#fff}
.stage-tracks button[aria-pressed="true"],.stage-presets button[aria-pressed="true"]{background:#19c2dc;border-color:#19c2dc;color:#061014}
.stage-preview[data-preset="corporativo"] .stage-beams i{background:linear-gradient(180deg,#ffffff85,#7db8ff1e)}
.stage-preview[data-preset="corporativo"] .stage-room-glow{background:radial-gradient(ellipse at 50% 20%,#28455f,transparent 70%)}
.stage-preview[data-preset="boda"] .stage-beams i{background:linear-gradient(180deg,#ffd9a080,#ff7d9c28)}
.stage-preview[data-preset="boda"] .stage-room-glow{background:radial-gradient(ellipse at 50% 20%,#5f2c3a,transparent 70%)}
.stage-preview[data-mode="day"]{background:linear-gradient(180deg,#33577c,#122539)}
.stage-preview[data-mode="day"] .stage-beams i{opacity:.35}
.stage-preview[data-mode="day"] .stage-room-glow{opacity:.6}
.stage-switches button{display:flex;align-items:center;gap:12px;text-align:left;min-height:76px;padding:14px 12px;border:1px solid #ffffff20;border-radius:10px;background:#0c121b;color:#fff;cursor:pointer;transition:background .25s,border-color .25s}
.stage-switches button:hover{border-color:#19c2dc90}
.stage-switches button[aria-pressed="true"]{background:#122c36;border-color:#19c2dc70}
.stage-switches button>span:nth-child(2){font-size:14px;font-weight:600;flex:1}
.stage-switches small{display:block;font-size:10px;color:#b7c8d5;font-weight:400;margin-top:4px;line-height:1.5}
.stage-control-icon{width:28px;color:#8aa9bb;font-size:26px;text-align:center}
.stage-switches [aria-pressed="true"] .stage-control-icon{color:#71e4f4}
.stage-switches button>i{width:8px;height:8px;flex-shrink:0;border-radius:50%;background:#4d5b68}
.stage-switches [aria-pressed="true"]>i{background:#67e6f5;box-shadow:0 0 12px #19c2dc70}
.stage-status{font-size:11px;line-height:1.6;color:#b9cbd6;min-height:36px;margin:18px 0}
.stage-console .button{width:100%;font-size:13px;gap:12px}
.stage-quote{display:flex;justify-content:space-between;margin-top:20px;font-size:12px;font-weight:600;color:#c7dae5}
@media(max-width:1080px){.stage-interactive{grid-template-columns:minmax(0,1fr) 280px}.stage-preview{min-height:480px}}
@media(max-width:760px){.hero-lights{opacity:.3}.hero-beam{width:130px}.stage-interactive{grid-template-columns:1fr}.stage-preview{min-height:0;aspect-ratio:1.3}.stage-console{border-left:0;border-top:1px solid #ffffff15;padding:24px}.stage-switches{gap:8px}.stage-switches button{min-height:66px}.stage-status{min-height:20px}.cinema-dialog{padding:16px;width:96vw}.cinema-top h2{font-size:28px}.cinema-screen video{height:60dvh}.stage-scene-label{font-size:8px;left:16px;bottom:12px}}
@media(prefers-reduced-motion:reduce){.hero-beam,.stage-preview *,.hero-title *,.cinema-dialog{animation:none!important}.hero-slides,.gallery-item img,.tilt-card:hover{transform:none!important}.hero-title *{opacity:1!important}.tilt-card:after{display:none}.hero-lights{opacity:.25}}

.tilt-card{position:relative}

/* Clear photography, real music and live LED content */
.hero-slides{transform:none!important;will-change:auto}
.hero-photo{filter:none;transform:none!important;object-position:center 52%}
.hero-shade{background:linear-gradient(90deg,rgba(7,9,13,.83),rgba(7,9,13,.22) 55%,rgba(7,9,13,.02)),linear-gradient(0deg,rgba(7,9,13,.52),transparent 60%)}
.stage-interactive>audio{display:none}
.lights-on .stage-room-glow{background:radial-gradient(ellipse at 30% 40%,#4fe8ff70,transparent 55%),radial-gradient(ellipse at 75% 40%,#c285ff65,transparent 55%),linear-gradient(0deg,#12425288,transparent);opacity:1}
.lights-on .stage-truss{color:#b9d5e4;opacity:.95}
.lights-on .stage-deck{background:linear-gradient(180deg,#829daf,#233b50);border-top-color:#b6ebf4;box-shadow:0 -18px 70px #59ddec45,0 18px 22px #0009}
.lights-on .stage-fixtures i{background:#efffff;box-shadow:0 0 12px #fff,0 0 32px #5cefff,0 -4px 0 #8babb9}
.lights-on .stage-beams{opacity:1}
.stage-beams i{background:linear-gradient(180deg,#b8f8ffb0,#48dffb20)}
.stage-beams i:nth-child(2),.stage-beams i:nth-child(3){background:linear-gradient(180deg,#e2c5ffb0,#a960ff20)}
.lights-on .stage-speaker{border-color:#849caf}
.stage-led video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s}
.led-on .stage-led video{opacity:1}
.led-on .led-brand{align-self:end;width:100%;font-size:28px;padding:8px;background:linear-gradient(0deg,#000b,transparent);text-shadow:0 1px 6px #000}
.led-on .led-brand small{display:none}
.led-on .stage-led{border-color:#5eebff;box-shadow:0 0 25px #19c2dc65}
.stage-led-wing{position:absolute;top:27%;bottom:31%;width:16%;z-index:3;background:#101c29;border:2px solid #293b4b;border-radius:2px;overflow:hidden}
.wing-left{left:12%}.wing-right{right:12%}
.stage-led-wing i{display:block;position:absolute;inset:0;opacity:0;background:repeating-linear-gradient(0deg,#19c2dc 0 12px,#c977ff 13px 25px,#173e65 26px 38px);transition:opacity .5s}
.led-on .stage-led-wing{border-color:#5eebff;box-shadow:0 0 20px #19c2dc45}
.led-on .stage-led-wing i{opacity:1}
.motion-ok .led-on .stage-led-wing i{animation:led-wing-flow 3s linear infinite}
@keyframes led-wing-flow{to{background-position:0 76px}}
.led-fallback .stage-led video{opacity:0}
@media(max-width:760px){.hero-photo{object-position:60% center}.hero-shade{background:linear-gradient(90deg,rgba(7,9,13,.75),rgba(7,9,13,.35)),linear-gradient(0deg,rgba(7,9,13,.6),transparent 65%)}}
@media(prefers-reduced-motion:reduce){.stage-led-wing i{animation:none!important}}

/* Keep the LED footage clear, with the real PSM mark. */
.led-brand{position:relative;display:block;width:60%;aspect-ratio:3.4;align-self:center;justify-self:center;padding:0;border-radius:4px;overflow:hidden;background:#000;opacity:.5;transition:opacity .4s}
.led-brand img{display:block;width:100%;height:100%;object-fit:cover}
.led-on .led-brand{align-self:end;justify-self:center;width:clamp(70px,13vw,140px);padding:0;margin-bottom:8px;background:#000;opacity:1;box-shadow:0 2px 10px #0005}


/* Visible beams across the screen, with a light transparent wash. */
.stage-beams{z-index:4}
.stage-beams i{background:linear-gradient(180deg,#b8f8ff75,#48dffb0d)}
.stage-beams i:nth-child(2),.stage-beams i:nth-child(3){background:linear-gradient(180deg,#e2c5ff70,#a960ff0d)}
.lights-on .stage-beams{opacity:.55}
.stage-speaker{z-index:5}
.led-brand{z-index:6}
.light-effect-label{font-size:11px;color:#c0d1dc;font-weight:600;margin-bottom:8px}
.light-effect-select{width:100%;padding:11px 12px;border:1px solid #536879;border-radius:8px;background:#0c121b;color:#fff;font:inherit;font-size:13px;margin-bottom:18px;cursor:pointer}
.light-effect-select:focus-visible{outline:3px solid var(--cyan);outline-offset:3px}
.motion-ok .lights-on[data-light-effect="cross"] .stage-beams i{animation:stage-cross 5s ease-in-out infinite alternate}
.motion-ok .lights-on[data-light-effect="cross"] .stage-beams i:nth-child(even){animation-direction:alternate-reverse;animation-delay:-2s}
@keyframes stage-cross{from{transform:rotate(-28deg)}to{transform:rotate(28deg)}}
.motion-ok .lights-on[data-light-effect="pulse"] .stage-beams{animation:stage-light-switch 3.2s ease-in-out infinite}
.motion-ok .lights-on[data-light-effect="pulse"] .stage-fixtures i{animation:stage-fixture-switch 3.2s ease-in-out infinite}
.motion-ok .lights-on[data-light-effect="pulse"] .stage-room-glow{animation:stage-room-switch 3.2s ease-in-out infinite}
@keyframes stage-light-switch{0%,35%,100%{opacity:.55}50%,85%{opacity:0}}
@keyframes stage-fixture-switch{0%,35%,100%{background:#efffff;box-shadow:0 0 12px #fff,0 0 32px #5cefff}50%,85%{background:#152029;box-shadow:none}}
@keyframes stage-room-switch{0%,35%,100%{opacity:1}50%,85%{opacity:.08}}
.motion-ok .lights-on[data-light-effect="color"] .stage-beams{animation:stage-color-wave 9s linear infinite}
.motion-ok .lights-on[data-light-effect="color"] .stage-room-glow{animation:stage-color-wave 9s linear infinite}
@keyframes stage-color-wave{0%{filter:hue-rotate(0deg)}50%{filter:hue-rotate(100deg)}100%{filter:hue-rotate(360deg)}}
.stage-preview:not(.lights-on) .stage-beams,.stage-preview:not(.lights-on) .stage-beams i{animation:none!important}
@media(prefers-reduced-motion:reduce){.stage-beams,.stage-fixtures i,.stage-room-glow{animation:none!important}}

/* Final stage finish: equipment, light, depth and audience. */
.stage-interactive{border-color:#33404d;background:#0b111b;box-shadow:0 24px 70px #0004}
.stage-preview{background:radial-gradient(ellipse at 50% 15%,#1a2738,transparent 70%),linear-gradient(180deg,#090e18,#0d1824);border-right:1px solid #ffffff08}
.stage-preview:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 85%,#4b779726,transparent 45%);z-index:0}
.stage-truss{color:#7d94a8;opacity:.55;filter:drop-shadow(0 3px 2px #0008)}
.lights-on .stage-truss{color:#b8d0df;opacity:.75}
.stage-fixtures i{width:24px;height:17px;border:4px solid #1b2733;border-radius:5px;background:#0f1924;box-shadow:0 -5px 0 -2px #6b7c8b;position:relative;transform:perspective(50px) rotateX(-12deg)}
.stage-fixtures i:after{content:'';position:absolute;left:5px;right:5px;top:-9px;height:5px;border-left:2px solid #788c9d;border-right:2px solid #788c9d}
.lights-on .stage-fixtures i{background:#d6fbff;box-shadow:0 0 9px #c6faff,0 0 28px #5cefff88,0 -5px 0 -2px #6b7c8b}
.stage-beams i{filter:blur(.6px)}
.stage-speaker{background:repeating-linear-gradient(0deg,#ffffff03 0 1px,transparent 1px 3px),linear-gradient(100deg,#1a2530,#080e16 40%,#101b26);border:1px solid #536272;border-radius:7px;padding:9px;box-shadow:5px 8px 18px #0007,inset 1px 0 1px #ffffff15}
.stage-speaker:after{content:'';position:absolute;top:9px;left:20%;right:20%;height:4px;background:#02060b;border:1px solid #263442;border-radius:3px}
.stage-speaker i{width:94%;border-color:#5b7185}
.lights-on .stage-speaker{border-color:#607d92;box-shadow:5px 8px 18px #0007,-2px 0 12px #53d1e516,inset 1px 0 1px #ffffff15}
.stage-led{border-width:2px;border-color:#35485c;border-radius:5px;box-shadow:0 0 0 4px #060b13,0 10px 25px #0008}
.led-on .stage-led{border-color:#48cfdf;box-shadow:0 0 0 4px #060b13,0 0 24px #19c2dc30,0 10px 25px #0008}
.stage-led-wing{border-radius:4px;border-color:#35485c;box-shadow:0 0 0 3px #060b13}
.stage-led-wing i{background-image:radial-gradient(circle,#07132060 .6px,transparent 1px),repeating-linear-gradient(0deg,#18a6c2 0 14px,#a467e0 15px 28px,#153249 29px 42px);background-size:4px 4px,100% 84px}
.led-on .stage-led-wing{border-color:#43bfd0;box-shadow:0 0 0 3px #060b13,0 0 16px #19c2dc30}
.led-on .led-brand{width:clamp(70px,10vw,112px);justify-self:end;margin-right:10px;margin-bottom:10px;box-shadow:0 2px 8px #0007;border:1px solid #ffffff20;border-radius:4px}
.stage-deck{height:10%;background:linear-gradient(180deg,#445769 0 6%,#213143 8% 72%,#101d2b 74%);border-top:1px solid #8095a5;border-radius:3px;box-shadow:0 18px 24px #0009,inset 0 -6px 0 #080f19}
.lights-on .stage-deck{background:linear-gradient(180deg,#91b4c4 0 4%,#4b697d 6% 14%,#263f54 16% 72%,#142637 74%);border-top-color:#9fd7e4;box-shadow:0 -10px 45px #59ddec25,0 18px 24px #0009,inset 0 -6px 0 #080f19}
.stage-equalizer{height:10%;bottom:21%;gap:4px}
.stage-equalizer i{background:linear-gradient(0deg,#12667d,#6acbdb 75%,#a0f0f7);border-radius:2px 2px 0 0;box-shadow:0 0 8px #19c2dc20}
.stage-audience{height:22%;bottom:-12px;background:url('assets/stage-audience.svg') 0 bottom/240px 100px repeat-x;opacity:1;filter:drop-shadow(0 -4px 10px #0b162280)}
.stage-audience:before{content:'';position:absolute;left:0;right:0;bottom:15px;height:100px;background:url('assets/stage-audience.svg') 25px bottom/190px 80px repeat-x;opacity:.38;z-index:-1}
.stage-scene-label{bottom:14px;color:#a1bacb;font-size:9px;letter-spacing:1.8px;background:#080e1766;padding:5px 8px;border-radius:3px}
.stage-console{background:linear-gradient(145deg,#16202c,#101821);border-left-color:#33404d}
.stage-switches button{background:#0c141e;border-color:#344150;box-shadow:inset 0 1px 0 #ffffff04}
.stage-switches button[aria-pressed="true"]{background:linear-gradient(110deg,#16313c,#13232f);border-color:#3c8392}
.stage-control-icon{background:#ffffff04;border-radius:7px;height:32px;display:grid;place-items:center;font-size:22px}
.stage-switches button>i{width:7px;height:7px}
@media(max-width:760px){.stage-scene-label{font-size:7px;bottom:8px;padding:3px 5px}}

/* Concert show: moving heads, reflective floor and coordinated LED footage. */
.stage-interactive{border:1px solid #3c5065;background:#080f1b;box-shadow:0 25px 90px #0006,0 0 45px #19c2dc08}
.stage-preview{perspective:900px;background:radial-gradient(ellipse at 50% 18%,#1c2d44,transparent 75%),linear-gradient(180deg,#070d18,#102332)}
.stage-preview:before{background:radial-gradient(ellipse at 50% 82%,#2582a033,transparent 60%),repeating-linear-gradient(90deg,transparent 0 119px,#77d9ff04 120px 121px);}
.stage-fixtures i{width:26px;height:24px;border:4px solid #182936;border-radius:7px;background:#101c28;transform-origin:50% -8px;box-shadow:0 -6px 0 -3px #718b9c,0 5px 9px #0008;transition:background .5s,box-shadow .5s}
.stage-fixtures i:before{content:'';position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,#efffff 0 20%,#91dce8 35%,#3b6d7d 55%,#0d1c27 75%);opacity:.22}
.lights-on .stage-fixtures i:before{opacity:1}
.motion-ok .lights-on .stage-fixtures i{animation:head-sweep 7s ease-in-out infinite alternate}
.motion-ok .lights-on .stage-fixtures i:nth-child(even){animation-direction:alternate-reverse;animation-delay:-3s}
.motion-ok .lights-on[data-light-effect="cross"] .stage-fixtures i{animation:head-cross 5s ease-in-out infinite alternate}
.motion-ok .lights-on[data-light-effect="cross"] .stage-fixtures i:nth-child(even){animation-direction:alternate-reverse;animation-delay:-2s}
@keyframes head-sweep{from{transform:rotate(-12deg)}to{transform:rotate(12deg)}}
@keyframes head-cross{from{transform:rotate(-28deg)}to{transform:rotate(28deg)}}
.stage-deck{left:10%;right:10%;height:13%;bottom:13%;transform:perspective(450px) rotateX(34deg);background:linear-gradient(180deg,#3b5268 0 3%,#102738 4% 84%,#040d17 85%);box-shadow:0 20px 30px #000b,inset 0 -6px 0 #050b12}
.stage-deck:before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 12%,#8addf00c 12.2% 12.3%),linear-gradient(180deg,#d0f5ff07,transparent);pointer-events:none}
.stage-deck:after{content:'';position:absolute;left:0;right:0;bottom:15%;height:2px;background:#253f52;box-shadow:0 0 10px transparent;transition:background .5s,box-shadow .5s}
.lights-on .stage-deck{background:linear-gradient(180deg,#769ab0 0 3%,#17374c 4% 84%,#050e18 85%);box-shadow:0 -12px 45px #59ddec18,0 20px 30px #000b,inset 0 -6px 0 #050b12}
.lights-on .stage-deck:after{background:#56d5ee;box-shadow:0 0 10px #19c2dc70}
.stage-reflection{position:absolute;left:29%;width:42%;top:71%;height:12%;z-index:4;transform:scaleY(-1) perspective(400px) rotateX(35deg);opacity:0;filter:blur(1.4px);pointer-events:none;mask-image:linear-gradient(0deg,#0009,transparent 95%);transition:opacity .7s}
.led-on.led-surfaces-ready .stage-reflection{opacity:.38}
.stage-fog{position:absolute;left:7%;right:7%;bottom:12%;height:20%;z-index:5;opacity:0;pointer-events:none;overflow:hidden;transition:opacity 1s}
.lights-on .stage-fog{opacity:.42}
.stage-fog i{position:absolute;left:-20%;right:-20%;height:100%;background:radial-gradient(ellipse at 30% 65%,#aee9f52b,transparent 35%),radial-gradient(ellipse at 65% 55%,#8cbbeb30,transparent 45%),radial-gradient(ellipse at 50% 80%,#a8dfef25,transparent 40%);filter:blur(8px)}
.stage-fog i:nth-child(2){opacity:.65;transform:translateX(15%)}
.motion-ok .lights-on .stage-fog i{animation:fog-drift 18s ease-in-out infinite alternate}
.motion-ok .lights-on .stage-fog i:nth-child(2){animation-delay:-8s;animation-direction:alternate-reverse}
@keyframes fog-drift{from{transform:translateX(-8%)}to{transform:translateX(8%)}}
.wing-video{position:absolute;inset:0;width:100%;height:100%;opacity:0;transition:opacity .6s}
.led-on.led-surfaces-ready .wing-video{opacity:1}
.led-on.led-surfaces-ready .stage-led-wing i{opacity:0;animation:none}
.stage-led-wing:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle,#07132050 .5px,transparent 1px) 0 0/4px 4px}
.led-fallback .wing-video{opacity:0!important}
.led-fallback .stage-led-wing i{opacity:1!important}
.motion-ok .audio-reactive.music-playing .stage-speaker i{animation:none;transform:scale(calc(1 + var(--bass,0)*.08));box-shadow:0 0 calc(3px + var(--bass,0)*14px) #19c2dc35}
.motion-ok .audio-reactive .stage-equalizer i{animation:none;height:100%;transform:scaleY(var(--level-live,.04))}
.motion-ok .audio-reactive.music-playing.lights-on:not([data-light-effect="pulse"]) .stage-beams{opacity:calc(.32 + var(--bass,0)*.3)}
.motion-ok .audio-reactive.music-playing.lights-on .stage-room-glow{filter:brightness(calc(.85 + var(--bass,0)*.5))}
.stage-show-actions{display:grid;gap:10px;margin-bottom:14px}
.stage-console #stage-show{background:linear-gradient(110deg,#52dcee,#9de9f7);font-size:14px;box-shadow:0 5px 24px #19c2dc18}
.stage-fullscreen{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid #466075;border-radius:9px;background:#0b1522;color:#d5e7f2;font-size:12px;cursor:pointer}
.stage-fullscreen:hover{border-color:var(--cyan);color:#fff}
.stage-fullscreen span{font-size:19px}
.stage-console #stage-all{background:#1a3040;border:1px solid #466075;color:#c6e4ee;padding:12px 14px;font-size:12px}
.stage-status{min-height:36px}
.stage-preview.show-running{box-shadow:inset 0 0 80px #1f7a9715}
.stage-interactive:fullscreen,.stage-interactive.stage-expanded{width:100%;height:100dvh;max-width:none;max-height:none;grid-template-columns:minmax(0,1fr) 320px;border:0;border-radius:0;background:#070d17;overflow:auto}
.stage-interactive:fullscreen .stage-preview,.stage-expanded .stage-preview{height:auto;min-height:0}
.stage-interactive:fullscreen .stage-console,.stage-expanded .stage-console{justify-content:center;overflow:auto}
.stage-expanded{position:fixed;inset:0;z-index:200}
}
.stage-fullscreen-open{overflow:hidden}
#escenario{scroll-margin-top:76px}
@media(max-width:1080px){.stage-interactive{grid-template-columns:minmax(0,1fr) 300px}.stage-preview{min-height:610px}}
@media(max-width:760px){.stage-interactive{grid-template-columns:1fr}.stage-preview{min-height:0;aspect-ratio:.82}.stage-interactive:fullscreen,.stage-interactive.stage-expanded{display:flex;flex-direction:column}.stage-interactive:fullscreen .stage-preview,.stage-expanded .stage-preview{height:auto;min-height:270px;flex:0 0 43vh;aspect-ratio:auto}.stage-interactive:fullscreen .stage-console,.stage-expanded .stage-console{justify-content:flex-start;padding:18px;flex:1;display:flex;flex-direction:column;overflow-y:auto;max-height:calc(100dvh - var(--preview-h,43vh))}.stage-interactive:fullscreen .stage-switches,.stage-expanded .stage-switches{grid-template-columns:repeat(3,1fr);gap:6px}.stage-interactive:fullscreen .stage-switches button,.stage-expanded .stage-switches button{padding:10px;min-height:48px;gap:6px}.stage-interactive:fullscreen .stage-switches small,.stage-expanded .stage-switches small{display:none}.stage-interactive:fullscreen .stage-control-icon,.stage-expanded .stage-control-icon{display:none}}
@media(prefers-reduced-motion:reduce){.stage-fixtures i,.stage-fog i{animation:none!important}.stage-speaker i{transform:none!important}.stage-reflection{filter:none}}

/* ---------- Selettore lingua (dropdown con bandiere) ---------- */
.lang-switch{position:relative;display:inline-block;margin-left:10px}
#lang-btn{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.08);border:1px solid var(--line);border-radius:12px;padding:8px 12px;cursor:pointer;color:#fff;font-size:13px;transition:.2s}
#lang-btn:hover{border-color:var(--cyan)}
#lang-btn b{font-size:13px;letter-spacing:.5px}
#lang-btn i{font-style:normal;font-size:11px;color:var(--muted)}
.flag{width:24px;height:17px;border-radius:3px;overflow:hidden;display:inline-flex;flex-shrink:0;box-shadow:0 0 0 1px rgba(255,255,255,.2)}
.flag svg{width:100%;height:100%;display:block}
.lang-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:100;list-style:none;margin:0;padding:6px;min-width:190px;background:#fff;border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.45)}
.lang-menu li{margin:0}
.lang-menu button{display:flex;align-items:center;gap:11px;width:100%;text-align:left;background:transparent;border:0;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:600;color:#14161d;cursor:pointer}
.lang-menu button:hover{background:#eef1f4}
.lang-menu button.current{color:var(--cyan-dark)}
@media(max-width:760px){.lang-switch{margin:6px 0 0;align-self:flex-start}.lang-menu{left:0;right:auto}}

.wall-playback{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 16px;font-size:11px;color:#bdd4e1}.wall-playback button{border:1px solid #466075;background:#0b1522;color:#d5e7f2;border-radius:6px;padding:8px 10px;font:inherit;cursor:pointer}.wall-playback button:hover{border-color:var(--cyan)}

/* Give the desktop home and stage a calmer, bounded composition. */
@media(min-width:761px){
  .home-page{--max:1120px}
  .home-page .hero h1{font-size:clamp(52px,5.4vw,82px)}
  .home-page h2{font-size:clamp(36px,3.2vw,52px)}
  .stage-interactive{height:clamp(600px,78dvh,720px);grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr)}
  .stage-preview{height:100%;min-height:0;min-width:0}
  .stage-console{min-height:0;overflow-y:auto;padding:22px 20px;scrollbar-width:thin;scrollbar-color:#466075 #101821}
  .stage-console>*{flex-shrink:0}
  .stage-console-heading p{margin:6px 0 14px}
  .stage-switches{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .stage-switches button{min-height:68px;padding:8px 4px;flex-direction:column;justify-content:center;gap:2px;text-align:center}
  .stage-switches button>span:nth-child(2){font-size:12px;flex:0}
  .stage-switches small,.stage-switches button>i{display:none}
  .stage-control-icon{font-size:20px;line-height:1.2}
  .stage-tracks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  .stage-tracks .mini-label{grid-column:1/-1}
  .stage-console .stage-tracks button{padding:7px 2px;font-size:10px}
  .stage-presets,.stage-tracks{gap:6px;margin-top:12px}
  .stage-presets button,.stage-tracks button{padding:7px 10px;font-size:11px}
  .stage-status{margin:12px 0;min-height:20px}
  .stage-show-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}
  .stage-show-actions #stage-show{grid-column:1/-1}
  .stage-show-actions .stage-fullscreen{padding:8px;font-size:10px;gap:4px}
  .stage-show-actions .stage-fullscreen span{font-size:16px}
  .stage-console #stage-show{padding:12px 16px}
  .stage-interactive:fullscreen,.stage-interactive.stage-expanded{height:100dvh;padding:24px;gap:20px;grid-template-columns:minmax(0,1fr) 300px;grid-template-rows:minmax(0,1fr);overflow:hidden}
  .stage-interactive:fullscreen .stage-preview,.stage-expanded .stage-preview{border-radius:16px}
  .stage-interactive:fullscreen .stage-console,.stage-expanded .stage-console{justify-content:flex-start;border:1px solid #33404d;border-radius:16px}
}

/* Optical light: every cone shares its moving head's rotation and origin. */
.stage-preview{--beam-reach:clamp(210px,32vw,490px);--lamp-color:155,226,255}
.stage-preview[data-preset="boda"]{--lamp-color:255,218,163}
.stage-preview[data-preset="corporativo"]{--lamp-color:213,235,255}
.stage-truss{opacity:.82;filter:drop-shadow(1px 1px 0 #08101c) drop-shadow(0 4px 3px #0009)}
.lights-on .stage-truss{opacity:1}
.stage-beams{display:none}
.stage-fixtures{z-index:5;pointer-events:none}
.stage-fixtures i{--pan:-18deg;--timing:8s;--delay:-1s;width:30px;height:30px;border:1px solid #617383;border-radius:9px 9px 12px 12px;transform-origin:50% 12px;background:linear-gradient(110deg,#526374 0%,#172331 28%,#0a111b 68%,#2a3a48 100%);box-shadow:inset 2px 1px 2px #ffffff18,0 -8px 0 -5px #778898,0 -11px 0 -7px #1d2b37,2px 5px 7px #000b;transform:rotate(var(--pan))}
.stage-fixtures i:nth-child(2){--pan:13deg;--delay:-5s;--lamp-color:214,181,255}
.stage-fixtures i:nth-child(3){--pan:0deg;--delay:-3s;--timing:10s}
.stage-fixtures i:nth-child(4){--pan:-13deg;--delay:-7s;--lamp-color:214,181,255}
.stage-fixtures i:nth-child(5){--pan:18deg;--delay:-4s}
.stage-fixtures i::before{inset:auto;top:7px;left:50%;width:17px;height:17px;transform:translateX(-50%);rotate:0;border:2px solid #08121c;border-radius:50%;background:radial-gradient(circle at 38% 30%,#a5c6d455 0 8%,#244252 24%,#06111c 62%,#476271 70%,#08121a 80%);opacity:1;box-shadow:0 0 0 1px #71889455}
.stage-fixtures i::after{inset:auto;left:-4px;top:3px;right:auto;width:36px;height:19px;transform:none;rotate:0;border:3px solid #364958;border-top:0;border-radius:0 0 8px 8px;background:transparent;opacity:1;box-shadow:inset 1px -1px 0 #9bb3c433}
.lights-on .stage-fixtures i{background:linear-gradient(110deg,#526374,#172331 28%,#0a111b 68%,#2a3a48);box-shadow:inset 2px 1px 2px #ffffff18,0 -8px 0 -5px #778898,0 -11px 0 -7px #1d2b37,2px 5px 7px #000b}
.lights-on .stage-fixtures i::before{background:radial-gradient(circle,#fff 0 9%,rgb(var(--lamp-color)) 25%,#416779 60%,#0b1b29 75%);box-shadow:0 0 6px #fff9,0 0 16px rgba(var(--lamp-color),.65)}
.lights-on .stage-fixtures i::after{background:transparent;box-shadow:inset 1px -1px 0 #9bb3c433;opacity:1}
.stage-fixtures i s{top:16px;left:50%;width:clamp(64px,10vw,125px);height:var(--beam-reach);transform:translateX(-50%);rotate:0;clip-path:polygon(47% 0,53% 0,100% 100%,0 100%);background:linear-gradient(180deg,rgba(var(--lamp-color),.62),rgba(var(--lamp-color),.14) 24%,rgba(var(--lamp-color),.05) 65%,transparent),linear-gradient(90deg,transparent 14%,rgba(var(--lamp-color),.12) 48%,rgba(var(--lamp-color),.12) 52%,transparent 86%);mask-image:linear-gradient(90deg,transparent,#000 36% 64%,transparent);filter:none;opacity:0}
.lights-on .stage-fixtures i s{opacity:.72}
.motion-ok .lights-on .stage-fixtures i::before,.motion-ok .lights-on .stage-fixtures i::after,.motion-ok .lights-on .stage-fixtures i s{animation:none}
.motion-ok .lights-on .stage-fixtures i,.motion-ok .lights-on .stage-fixtures i:nth-child(even){animation:optical-pan var(--timing) ease-in-out var(--delay) infinite alternate}
.motion-ok .lights-on[data-light-effect="cross"] .stage-fixtures i,.motion-ok .lights-on[data-light-effect="cross"] .stage-fixtures i:nth-child(even){animation:optical-cross 6s ease-in-out var(--delay) infinite alternate}
.motion-ok .lights-on[data-light-effect="pulse"] .stage-fixtures i{animation:optical-blackout 4.8s ease-in-out var(--delay) infinite}
.motion-ok .lights-on[data-light-effect="color"] .stage-fixtures i{animation:optical-pan var(--timing) ease-in-out var(--delay) infinite alternate,optical-color 12s linear infinite}
@keyframes optical-pan{from{transform:rotate(calc(var(--pan) - 12deg))}to{transform:rotate(calc(var(--pan) + 12deg))}}
@keyframes optical-cross{from{transform:rotate(-27deg)}to{transform:rotate(27deg)}}
@keyframes optical-blackout{0%,30%,100%{opacity:1}43%,74%{opacity:.14}}
@keyframes optical-color{to{filter:hue-rotate(360deg)}}
/* Softer auxiliary wash leaves LED footage readable. */
.mh::before{border-radius:5px 5px 2px 2px;background:radial-gradient(ellipse at 50% 70%,#315262 0 20%,transparent 24%),linear-gradient(115deg,#4b5f70,#0b151f 60%);box-shadow:1px 3px 4px #0008,inset 0 1px 0 #aec7d333}
.lights-on .mh::before{background:radial-gradient(ellipse at 50% 70%,#ceefff 0 14%,#315262 23%,transparent 29%),linear-gradient(115deg,#4b5f70,#0b151f 60%)}
.lights-on .mh::after{opacity:.25;mask-image:linear-gradient(90deg,transparent,#000 45% 55%,transparent)}
.stage-preview:not(.lights-on) .mh::after{opacity:0}
.stage-floor-spots{position:absolute;inset:0;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .7s}
.lights-on .stage-floor-spots{opacity:.7}
.stage-floor-spots i{position:absolute;top:4%;left:12%;width:27%;height:72%;border-radius:50%;background:radial-gradient(ellipse,rgba(var(--lamp-color),.26),rgba(var(--lamp-color),.07) 40%,transparent 70%);transform:translateX(0)}
.stage-floor-spots i:nth-child(2){left:39%;--lamp-color:214,181,255}
.stage-floor-spots i:nth-child(3){left:65%}
.motion-ok .lights-on .stage-floor-spots i{animation:floor-light-drift 8s ease-in-out infinite alternate}
.motion-ok .lights-on .stage-floor-spots i:nth-child(2){animation-delay:-4s;animation-direction:alternate-reverse}
@keyframes floor-light-drift{to{transform:translateX(-40%) scaleX(.7)}}
.motion-ok .lights-on[data-light-effect="pulse"] .stage-floor-spots{animation:optical-blackout 4.8s ease-in-out infinite}
.motion-ok .lights-on[data-light-effect="color"] .stage-floor-spots{animation:optical-color 12s linear infinite}
.lights-on .stage-fog{opacity:.25}
.lights-on .stage-room-glow{background:radial-gradient(ellipse at 25% 18%,rgba(var(--lamp-color),.14),transparent 50%),radial-gradient(ellipse at 80% 25%,#a176d51c,transparent 55%)}
.lights-on .speaker-left{box-shadow:4px 9px 18px #000a,inset 2px 0 3px #99e4ff33}
.lights-on .speaker-right{box-shadow:4px 9px 18px #000a,inset -2px 0 3px #d6b5ff33}

@media(prefers-reduced-motion:reduce){.stage-fixtures i,.stage-fixtures i::before,.stage-fixtures i::after,.stage-fixtures i s,.stage-floor-spots,.stage-floor-spots i{animation:none!important}}
.motion-ok .lights-on[data-light-effect="pulse"] .stage-room-glow,.motion-ok .lights-on[data-light-effect="pulse"] .stage-movers{animation:optical-blackout 4.8s ease-in-out infinite}
.motion-ok .lights-on[data-light-effect="color"] .stage-movers{animation:optical-color 12s linear infinite}
.motion-ok .audio-reactive.music-playing.lights-on .stage-fixtures i s{opacity:calc(.6 + var(--bass,0)*.2)}
/* Blackouts extinguish the lamp and cone while the equipment stays visible. */
.motion-ok .lights-on[data-light-effect="pulse"] .stage-fixtures i{animation:none}
.motion-ok .lights-on[data-light-effect="pulse"] .stage-fixtures i::before,.motion-ok .lights-on[data-light-effect="pulse"] .stage-fixtures i s{animation:optical-lamp-off 4.8s ease-in-out var(--delay) infinite}
@keyframes optical-lamp-off{0%,30%,100%{opacity:1}43%,74%{opacity:0}}
.stage-preview[data-mode="day"].lights-on .stage-fixtures i s{opacity:.3}

/* Varied crowd silhouettes: overlapping rows, hair, shoulders and raised arms. */
.stage-audience{height:23%;bottom:-12px;background:url('assets/stage-audience.svg?v=2') 23px bottom/640px 151px repeat-x;filter:none;pointer-events:none}
.stage-audience::before{left:-20px;right:-20px;bottom:16px;height:142px;background:url('assets/stage-audience-back.svg') -44px bottom/570px 122px repeat-x;opacity:.66;z-index:-1}
.stage-audience::after{content:'';position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#03070da8);pointer-events:none}
.lights-on .stage-audience{filter:drop-shadow(0 -1px 1px #9dd5e22e)}


/* Reserve room for the rotating heads above the mobile LED and its strobes. */

/* Ground-support truss drawn by scripts/build-truss.py: rear plane dimmer, front plane on the layout grid. */
.stage-truss path{fill:none;vector-effect:non-scaling-stroke;stroke-linejoin:round;stroke-linecap:round}
.stage-truss .truss-chord{stroke:url(#truss-metal);stroke-width:2.6}
.stage-truss .truss-web{stroke:url(#truss-metal);stroke-width:1.1}
.stage-truss .truss-shade{fill:#0a1521;stroke:none;opacity:.85}
.stage-truss .truss-rear{opacity:.45}
.stage-truss .truss-rear .truss-chord{stroke-width:1.5}
.stage-truss .truss-rear .truss-web{stroke-width:.7}
.stage-truss .truss-side{opacity:.75}
.stage-truss .truss-side .truss-chord{stroke-width:2}
.stage-truss .truss-side .truss-web{stroke-width:.9}
.stage-truss .truss-hardware rect{fill:#1d2a37;stroke:#7d93a5;stroke-width:1;vector-effect:non-scaling-stroke}
.stage-truss .truss-motor{fill:#0c131b}
.stage-truss .truss-motor.rear{opacity:.5}
.stage-truss .truss-plate,.stage-truss .truss-sleeve{fill:#2a3a49}

/* Line arrays hang on chains from the motors under the front truss (bottom at 20.2% of the stage). */
.stage-preview{--spk-top:27cqh}

.la-rig{width:76%}
.la-rig::before,.la-rig::after{top:auto;bottom:100%;height:max(0px,calc(var(--spk-top) + 9px - 20.2cqh))}
/* Line array: separate cabinets on a bumper, the lower ones splaying towards the audience (J-curve). */
.stage-speaker,.lights-on .stage-speaker,.sound-on .stage-speaker,.lights-on .speaker-left,.lights-on .speaker-right{background:none;border-color:transparent;box-shadow:none}
.stage-speaker i{border:1px solid #33414f;border-left:3px solid #0d131a;border-right:3px solid #0d131a;border-radius:2px;box-shadow:inset 0 1px 0 #ffffff40,0 3px 5px #0009}
.stage-speaker i:nth-of-type(4){rotate:x 16deg;scale:1.02 1;border-bottom:2px solid #0b1118}
.stage-speaker i:nth-of-type(5){rotate:x 28deg;scale:1.04 1;border-bottom:3px solid #0b1118}
.stage-speaker i:nth-of-type(6){rotate:x 40deg;scale:1.07 1;border-bottom:4px solid #0b1118}
/* Phone: the array is half as wide as on desktop, so its fixed-pixel details shrink with it
   to keep the desktop proportions; heads move in so the chains read as rigging, not light cables. */

/* Beat sync: stage-show.js toggles hit-a/hit-b on each beat of assets/beats.json and data-bar on each bar.
   Alternating a/b names restarts the animation without forcing a reflow. */
.stage-preview{--beat-len:.5s;--energy:.6}
.motion-ok .beat-sync.lights-on .stage-strobes b::after,.motion-ok .beat-sync.lights-on .stage-strobes-side b::after{animation:none;opacity:.12;box-shadow:none}
.motion-ok .beat-sync.lights-on .stage-strobes b.hit-a::after,.motion-ok .beat-sync.lights-on .stage-strobes-side b.hit-a::after{animation:beat-strobe-a .13s steps(1)}
.motion-ok .beat-sync.lights-on .stage-strobes b.hit-b::after,.motion-ok .beat-sync.lights-on .stage-strobes-side b.hit-b::after{animation:beat-strobe-b .13s steps(1)}
.motion-ok .beat-sync.lights-on .stage-strobe-flash{animation:none;opacity:0}
.motion-ok .beat-sync.lights-on.flash-a .stage-strobe-flash{animation:beat-flash-a .4s ease-out}
.motion-ok .beat-sync.lights-on.flash-b .stage-strobe-flash{animation:beat-flash-b .4s ease-out}
.motion-ok .beat-sync.lights-on.hit-a:not([data-light-effect="pulse"]) .stage-fixtures i s{animation:beat-cone-a var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-b:not([data-light-effect="pulse"]) .stage-fixtures i s{animation:beat-cone-b var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-a:not([data-light-effect="pulse"]):not([data-light-effect="color"]) .stage-room-glow{animation:beat-glow-a var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-b:not([data-light-effect="pulse"]):not([data-light-effect="color"]) .stage-room-glow{animation:beat-glow-b var(--beat-len) ease-out}
/* Moving heads take a new position on every bar, gliding over a beat and a half. */
.motion-ok .beat-sync.lights-on .stage-fixtures i,.motion-ok .beat-sync.lights-on .stage-fixtures i:nth-child(even){animation:none;transition:transform calc(var(--beat-len)*1.5) cubic-bezier(.45,0,.2,1);transform:rotate(calc(var(--pan)*1.6))}
.motion-ok .beat-sync.lights-on[data-bar="1"] .stage-fixtures i{transform:rotate(-24deg)}
.motion-ok .beat-sync.lights-on[data-bar="2"] .stage-fixtures i{transform:rotate(calc(var(--pan)*-1.4))}
.motion-ok .beat-sync.lights-on[data-bar="3"] .stage-fixtures i{transform:rotate(24deg)}
.motion-ok .beat-sync.lights-on[data-light-effect="color"] .stage-fixtures i{animation:optical-color 12s linear infinite}
@keyframes beat-strobe-a{from,to{opacity:1;box-shadow:0 0 26px 8px #d8fbff}}
@keyframes beat-strobe-b{from,to{opacity:1;box-shadow:0 0 26px 8px #d8fbff}}
@keyframes beat-flash-a{from{opacity:calc(.3 + var(--energy)*.5)}to{opacity:0}}
@keyframes beat-flash-b{from{opacity:calc(.3 + var(--energy)*.5)}to{opacity:0}}
@keyframes beat-cone-a{from{opacity:1}to{opacity:.5}}
@keyframes beat-cone-b{from{opacity:1}to{opacity:.5}}
@keyframes beat-glow-a{from{filter:brightness(calc(1.1 + var(--energy)*.6))}to{filter:brightness(.9)}}
@keyframes beat-glow-b{from{filter:brightness(calc(1.1 + var(--energy)*.6))}to{filter:brightness(.9)}}
/* Phone held sideways in fullscreen: stage left, scrollable console right. Kept last so it beats the max-width rules above. */
@media (orientation:landscape) and (max-height:500px){
  .stage-interactive:fullscreen,.stage-interactive.stage-expanded{display:flex;flex-direction:row;align-items:stretch;height:100dvh;padding:0;gap:0;overflow:hidden}
  .stage-interactive:fullscreen .stage-preview,.stage-expanded .stage-preview{flex:1 1 auto;height:100%;min-height:0;aspect-ratio:auto;border-radius:0}
  .stage-interactive:fullscreen .stage-console,.stage-expanded .stage-console{flex:0 0 280px;height:100%;max-height:none;overflow-y:auto;padding:14px 14px calc(14px + env(safe-area-inset-bottom));padding-right:calc(14px + env(safe-area-inset-right));border:0;border-left:1px solid #33404d;border-radius:0;justify-content:flex-start}
}
/* Phone: the stage is the desktop drawing (820x700) scaled to fit, so strobes, arrays and
   truss match the PC exactly. stage-show.js sets --stage-scale/-x/-y from the preview size. */
/* Stage deck with volume: SVG drawn by scripts/build-truss.py in the truss perspective. */
.stage-deck{inset:0;left:0;right:0;bottom:0;height:auto;transform:none;background:none;border:0;border-radius:0;box-shadow:none;pointer-events:none}
.stage-deck::before,.stage-deck::after{content:none}
.lights-on .stage-deck{background:none;box-shadow:none}
.stage-deck-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.deck-top{fill:url(#deck-top);transition:filter .6s}
.deck-planks{stroke:#000;stroke-opacity:.22;stroke-width:1;vector-effect:non-scaling-stroke}
.deck-panels{stroke:#000;stroke-opacity:.4;stroke-width:1.2;vector-effect:non-scaling-stroke}
.deck-skirt{fill:url(#deck-pleats)}
.deck-nosing{fill:#5d7182}
.deck-led{stroke:#1d3646;stroke-width:2;vector-effect:non-scaling-stroke;transition:stroke .5s,filter .5s}
.deck-glare{fill:url(#deck-glare);opacity:0;mix-blend-mode:screen}
.deck-tread{fill:#3a4b5a}.deck-riser{fill:#0a1119}
.lights-on .deck-top{filter:brightness(1.7) saturate(1.2)}
.lights-on .deck-nosing{fill:#9fc6d6}
.lights-on .deck-led{stroke:#56d5ee;filter:drop-shadow(0 0 3px #19c2dc)}
.lights-on .deck-tread{fill:#6b8597}
.lights-on .deck-glare{opacity:.07}
.stage-floor-spots{inset:auto;left:11.8%;right:11.8%;top:72.2%;height:6.8%;clip-path:polygon(0 100%,100% 100%,90% 0,10% 0)}
.stage-floor-spots i{top:-20%;height:140%}
.stage-reflection{left:29%;width:42%;top:72.4%;height:6.4%;transform:scaleY(-1);mask-image:linear-gradient(0deg,#000a,transparent)}
/* Metal and LED nosing catch the beat. */
.motion-ok .audio-reactive.music-playing.lights-on .deck-glare{opacity:calc(.05 + var(--bass,0)*.22)}
.motion-ok .beat-sync.lights-on.hit-a .deck-glare{animation:deck-glare-a var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-b .deck-glare{animation:deck-glare-b var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-a .deck-led,.motion-ok .beat-sync.lights-on.hit-a .deck-nosing{animation:deck-led-a var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-b .deck-led,.motion-ok .beat-sync.lights-on.hit-b .deck-nosing{animation:deck-led-b var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on[data-light-effect="color"] .deck-glare{fill:#c79cff}
@keyframes deck-glare-a{from{opacity:calc(.12 + var(--energy)*.3)}to{opacity:.05}}
@keyframes deck-glare-b{from{opacity:calc(.12 + var(--energy)*.3)}to{opacity:.05}}
@keyframes deck-led-a{from{filter:brightness(calc(1.4 + var(--energy))) drop-shadow(0 0 6px #19c2dc)}to{filter:none}}
@keyframes deck-led-b{from{filter:brightness(calc(1.4 + var(--energy))) drop-shadow(0 0 6px #19c2dc)}to{filter:none}}
/* Intro: stage-show.js adds .stage-intro once, the first time the stage scrolls into view. */
.motion-ok .stage-intro .deck-led{transform-box:fill-box;transform-origin:center;animation:intro-led 3.8s ease-out}
.motion-ok .stage-intro .stage-strobes b::after{animation:intro-strobe .42s calc(.55s + var(--i)*.1s) ease-out}
.motion-ok .stage-intro .stage-strobes-side b::after{animation:intro-strobe .42s calc(1.5s + (5 - var(--i))*.1s) ease-out}
.motion-ok .stage-intro .stage-fixtures i s{animation:intro-cone 1.3s calc(2.1s + var(--i)*.12s) ease-in-out}
.motion-ok .stage-intro .led-brand{animation:intro-logo 1.5s 2.4s ease-out}
.motion-ok .stage-intro .stage-led{animation:intro-wall 1.5s 2.4s ease-out}
@keyframes intro-led{0%{transform:scaleX(0);stroke:#56d5ee;filter:drop-shadow(0 0 4px #19c2dc)}22%{transform:scaleX(1);stroke:#56d5ee;filter:drop-shadow(0 0 4px #19c2dc)}100%{transform:scaleX(1)}}
@keyframes intro-strobe{0%{background:#f4feff;box-shadow:0 0 26px 8px #d8fbff}100%{}}
@keyframes intro-cone{0%,100%{opacity:0}45%{opacity:.8}}
@keyframes intro-logo{0%{opacity:.5}30%{opacity:1;box-shadow:0 0 36px #59ddecaa,0 0 0 1px #9fefff}100%{opacity:.5}}
@keyframes intro-wall{30%{border-color:#5eebff;box-shadow:0 0 0 4px #060b13,0 0 30px #19c2dc70}}

/* Crowd: bobs on the beat, hands up when the song is up, jumps on the drop. */
@keyframes crowd-bob-a{0%{transform:none}25%{transform:translateY(calc((3px + var(--energy)*6px)*var(--amp)))}100%{transform:none}}
@keyframes crowd-bob-b{0%{transform:none}25%{transform:translateY(calc((3px + var(--energy)*6px)*var(--amp)))}100%{transform:none}}
@keyframes crowd-jump-a{0%{transform:translateY(calc(6px*var(--amp)))}40%{transform:translateY(calc(-20px*var(--amp)))}100%{transform:none}}
@keyframes crowd-jump-b{0%{transform:translateY(calc(6px*var(--amp)))}40%{transform:translateY(calc(-20px*var(--amp)))}100%{transform:none}}

/* Finale: once per show (stage-show.js), flame jets on the deck and confetti from the truss. */
.stage-flames{position:absolute;inset:0;z-index:4;pointer-events:none}
.stage-flames i{position:absolute;bottom:20.6%;left:29%;width:2.6%;height:1.6%;margin-left:-1.3%;border-radius:2px;background:linear-gradient(180deg,#46596a,#121a24);box-shadow:0 1px 2px #000}
.stage-flames i:nth-child(2){left:71%}
.stage-flames i::after{content:'';position:absolute;left:50%;bottom:60%;width:520%;height:2200%;margin-left:-260%;transform-origin:50% 100%;transform:scaleY(0);opacity:0;background:radial-gradient(ellipse 22% 30% at 50% 84%,#fffef2,#ffe58a 40%,transparent 72%),radial-gradient(ellipse 34% 62% at 50% 64%,#ffb13bf2,#ff6a1fb0 50%,transparent 74%),radial-gradient(ellipse 48% 50% at 50% 50%,#ff4d1a55,transparent 70%);filter:blur(2px)}
.motion-ok .finale .stage-flames i::after{animation:flame-burst 1.1s ease-out 3}
.motion-ok .finale .stage-room-glow{animation:flame-glow 3.3s ease-out}
@keyframes flame-burst{0%{transform:scaleY(.1) scaleX(.6);opacity:0}12%{transform:scaleY(1.05);opacity:1}45%{transform:scaleY(.9) scaleX(1.1);opacity:.9}100%{transform:scaleY(1.2) scaleX(1.3);opacity:0}}
@keyframes flame-glow{0%,100%{filter:none}10%,70%{filter:sepia(1) saturate(3) brightness(1.4) hue-rotate(-20deg)}}
.stage-confetti{position:absolute;inset:0;z-index:7;overflow:hidden;pointer-events:none}
.stage-confetti i{position:absolute;top:12%;left:var(--x);width:7px;height:11px;border-radius:1px;background:var(--c);opacity:0;animation:confetti-fall var(--s) cubic-bezier(.2,.6,.45,1) var(--d) both}
.stage-confetti i:nth-child(3n){width:5px;height:5px;border-radius:50%}
@keyframes confetti-fall{0%{transform:translate(0,-30px) rotate(0) rotateY(0);opacity:1}85%{opacity:1}100%{transform:translate(var(--dx),88cqh) rotate(var(--r)) rotateY(900deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.crowd-layer{animation:none!important}}
/* Event name on the LED surfaces (stage-show.js): big on the wall, a ticker on the wings. */
.led-title{position:absolute;inset:0;z-index:5;display:grid;place-items:center;padding:6%;opacity:0;pointer-events:none;transition:opacity .4s}
.has-title .led-title{opacity:1}
.led-on.has-title .led-title{bottom:auto;padding:4% 6% 7%;background:linear-gradient(180deg,#000d,#0009 60%,transparent)}
.led-on.has-title .led-title span{font-size:calc(var(--title-fit,6)*.72cqw)}
.led-title span{max-width:100%;font:800 calc(var(--title-fit,6)*1cqw)/.95 'Barlow Condensed',sans-serif;text-transform:uppercase;letter-spacing:.04em;text-align:center;text-wrap:balance;overflow-wrap:anywhere;color:#effdff;text-shadow:0 0 6px #5eebff,0 0 22px #19c2dcaa,0 0 52px #19c2dc66}
.stage-preview[data-preset="boda"] .led-title span,.stage-preview[data-preset="boda"] .wing-title span{color:#fff6e3;text-shadow:0 0 6px #ffd38a,0 0 22px #ffb45eaa,0 0 52px #ff9e5e55}
.stage-preview[data-preset="corporativo"] .led-title span,.stage-preview[data-preset="corporativo"] .wing-title span{color:#fff;text-shadow:0 0 6px #b9d8ff,0 0 22px #7db8ffaa,0 0 52px #7db8ff55}
.has-title:not(.led-on) .led-brand{opacity:0}
.motion-ok .beat-sync.has-title.hit-a .led-title span{animation:title-beat-a var(--beat-len) ease-out}
.motion-ok .beat-sync.has-title.hit-b .led-title span{animation:title-beat-b var(--beat-len) ease-out}
@keyframes title-beat-a{from{filter:brightness(calc(1.15 + var(--energy)*.5));transform:scale(1.035)}to{filter:none;transform:none}}
@keyframes title-beat-b{from{filter:brightness(calc(1.15 + var(--energy)*.5));transform:scale(1.035)}to{filter:none;transform:none}}
.wing-title{position:absolute;left:0;right:0;bottom:3%;height:15%;z-index:2;display:none;align-items:center;overflow:hidden;background:#02060be6;border-block:1px solid #19c2dc55}
.has-title .wing-title{display:flex}
.wing-title span{white-space:nowrap;font:800 26px/1 'Barlow Condensed',sans-serif;text-transform:uppercase;letter-spacing:.06em;color:#c4f7ff;text-shadow:0 0 8px #19c2dc}
.motion-ok .has-title .wing-title span{animation:wing-ticker 16s linear infinite}
.motion-ok .has-title .wing-right .wing-title span{animation-direction:reverse}
@keyframes wing-ticker{to{transform:translateX(-50%)}}
.stage-name{display:grid;gap:8px;margin-top:14px}
.stage-name input{width:100%;padding:11px 13px;border:1px solid #536879;border-radius:8px;background:#0c121b;color:#fff;font:600 16px/1.2 inherit;font-family:inherit}
.stage-name input::placeholder{color:#7d8d9a;font-weight:500}
.stage-name input:focus-visible{outline:3px solid var(--cyan);outline-offset:2px}
.stage-name-send{justify-self:start;padding:9px 15px;border-radius:100px;background:#25d366;color:#061008;font-size:12px;font-weight:800;letter-spacing:.3px;text-decoration:none}
.stage-name-send[hidden]{display:none}
/* Show countdown: 3-2-1 on the blacked-out LED wall, then every light hits at once (stage-show.js). */
.led-count{position:absolute;inset:0;z-index:7;display:none;place-content:center;justify-items:center;gap:4%;background:#000;pointer-events:none}
.countdown .led-count{display:grid}
.led-count b{font:800 30cqh/.8 'Barlow Condensed',sans-serif;color:#fff;text-shadow:0 0 18px #5eebff,0 0 60px #19c2dccc}
.led-count small{max-width:90%;font:800 2.6cqw/1 'Barlow Condensed',sans-serif;letter-spacing:.12em;text-transform:uppercase;text-align:center;color:#9fefff;text-shadow:0 0 10px #19c2dc}
.motion-ok .led-count b{animation:count-hit .8s cubic-bezier(.2,.8,.3,1) both}
@keyframes count-hit{0%{transform:scale(1.8);opacity:0;filter:blur(6px)}25%{transform:scale(1);opacity:1;filter:none}80%{opacity:1}100%{transform:scale(.88);opacity:0}}
.countdown .wing-video,.countdown .stage-led-wing i{opacity:0!important}
.countdown .stage-led{border-color:#5eebff;box-shadow:0 0 0 4px #060b13,0 0 34px #19c2dc66}
.motion-ok .show-go .stage-strobe-flash{animation:go-flash .9s ease-out!important}
.motion-ok .show-go .stage-strobes b::after,.motion-ok .show-go .stage-strobes-side b::after{animation:go-strobe .9s steps(1)!important}
@keyframes go-flash{from{opacity:.9;background:radial-gradient(ellipse at 50% 30%,#fff,#ffffff80 45%,transparent 80%)}to{opacity:0;background:radial-gradient(ellipse at 50% 30%,#fff,#ffffff80 45%,transparent 80%)}}
@keyframes go-strobe{0%,30%,60%{background:#f4feff;box-shadow:0 0 26px 8px #d8fbff;opacity:1}15%,45%,100%{opacity:.15}}

/* Gear: instruments show their photo on mouse hover (stage-show.js) and open a card on click/tap. */
.stage-truss{pointer-events:none}
.truss-hit rect{fill:transparent;pointer-events:all}
.stage-preview .stage-fixtures i,.stage-preview .stage-strobes b,.stage-preview .stage-strobes-side b,.stage-preview .stage-speaker,.truss-hit rect{pointer-events:auto;cursor:pointer}
.countdown .stage-fixtures i,.countdown .stage-strobes b,.countdown .stage-strobes-side b,.countdown .stage-speaker,.countdown .truss-hit rect{cursor:default}
.gear-peek{position:absolute;left:0;top:0;z-index:20;width:190px;border-radius:10px;overflow:hidden;background:#0c131c;border:1px solid #ffffff2e;box-shadow:0 14px 34px #000a;opacity:0;transform:scale(.94);transform-origin:left center;transition:opacity .15s,transform .15s;pointer-events:none}
.gear-peek.show{opacity:1;transform:none}
.gear-peek img{display:block;width:100%;height:130px;object-fit:contain;padding:10px;background:#fff}
.gear-peek.on-site img{object-fit:cover;padding:0;background:#000}
.gear-peek b{display:block;padding:9px 12px;font:800 15px/1.1 'Barlow Condensed',sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#fff}
@media(hover:none){.gear-peek{display:none}}
.gear-card{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #ffffff22;border-radius:16px;background:#0c131c;color:#fff;overflow:auto}
.gear-card::backdrop{background:#000b;backdrop-filter:blur(4px)}
.gear-card .close{position:absolute;top:10px;right:10px;z-index:1;width:36px;height:36px;border:0;border-radius:50%;background:#0c131ccc;color:#fff;font-size:16px;cursor:pointer}
.gear-media{display:flex;gap:2px;background:#fff}
.gear-media img{flex:1;min-width:0;height:min(260px,40dvh);object-fit:contain;padding:18px}
.gear-media.on-site{background:#000}.gear-media.on-site img{object-fit:cover;padding:0;height:min(300px,45dvh)}
.gear-body{padding:18px 22px 22px}
.gear-body h3{margin:8px 0 6px;font:800 30px/1 'Barlow Condensed',sans-serif;text-transform:uppercase;letter-spacing:.02em}
.gear-body p{margin:0 0 18px;color:#c4d0d9;font-size:15px;line-height:1.55}
.gear-body .button{width:auto}
/* Play button on the dark LED wall (stage-show.js); only while the stage is fully off.
   It grows less than the hotspots on phones so it stays inside the wall. */
.stage-play{--play-scale:max(var(--stage-scale,1),.64);position:absolute;left:50%;top:76%;z-index:8;display:none;align-items:center;gap:calc(10px / var(--play-scale));transform:translate(-50%,-50%);padding:calc(10px / var(--play-scale)) calc(20px / var(--play-scale)) calc(10px / var(--play-scale)) calc(10px / var(--play-scale));border:calc(1.5px / var(--play-scale)) solid #5eebff;border-radius:999px;background:#061017e6;color:#fff;font:800 calc(14px / var(--play-scale))/1 'Inter',sans-serif;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;cursor:pointer;box-shadow:0 0 calc(24px / var(--play-scale)) #19c2dc66}
.stage-play-icon{display:grid;place-items:center;width:calc(34px / var(--play-scale));height:calc(34px / var(--play-scale));padding-left:calc(3px / var(--play-scale));border-radius:50%;background:#19c2dc;color:#061014;font-size:calc(14px / var(--play-scale))}
.stage-play:hover,.stage-play:focus-visible{background:#19c2dc;color:#061014;border-color:#fff}
.stage-play:hover .stage-play-icon,.stage-play:focus-visible .stage-play-icon{background:#061014;color:#5eebff}
.stage-play:focus-visible{outline:calc(3px / var(--play-scale)) solid #fff;outline-offset:3px}
.stage-preview:not(.sound-on):not(.lights-on):not(.led-on):not(.show-running):not(.stage-intro) .stage-play{display:flex}
.motion-ok .stage-preview:not(.sound-on):not(.lights-on):not(.led-on):not(.show-running):not(.stage-intro) .stage-play{animation:play-in .6s ease-out both,play-glow 2.4s ease-in-out .6s infinite}
@keyframes play-in{from{opacity:0;transform:translate(-50%,-30%)}to{opacity:1;transform:translate(-50%,-50%)}}
@keyframes play-glow{50%{box-shadow:0 0 calc(40px / var(--play-scale)) #19c2dcaa}}
/* Crowd: inline SVG silhouettes from scripts/build-stage-assets.py, three rows deep and
   rim-lit by the stage. Each layer is a group of people that bobs with its own phase. */
.stage-audience,.lights-on .stage-audience{background:none;filter:none}
.stage-audience::before{content:none}
.crowd-layer{--amp:1;--phase:0s;--rim:#86a9bd;--rim-o:.28;position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.crowd-layer .bodies{fill:var(--crowd);stroke-width:1.5}
.crowd-layer .arms{fill:var(--crowd);stroke-width:1.4}
.crowd-layer .arms .hand{stroke:none}
.crowd-layer .arms .fingers{fill:none;stroke:var(--crowd)}
.crowd-layer .arms .phone{fill:#e6f8ff;filter:drop-shadow(0 0 3px #9fdcff)}
.crowd-layer.back{--crowd:#142131;--amp:.3}
.crowd-layer.back .bodies{stroke-width:1}
.crowd-layer.mid{--crowd:#0b1522;--amp:.65}
.crowd-layer.mid .bodies{stroke-width:1.2}
.crowd-layer.front{--crowd:#04080e}
.crowd-layer.g1{--phase:calc(var(--beat-len) * -.12)}
.crowd-layer.g2{--phase:calc(var(--beat-len) * -.24)}
.lights-on .crowd-layer{--rim:#7fe9ff;--rim-o:.85}
.lights-on .crowd-layer.g1{--rim:#c9a2ff}
.lights-on .crowd-layer.back{--rim-o:.5}
.stage-preview[data-preset="boda"].lights-on .crowd-layer{--rim:#ffd08a}
.stage-preview[data-preset="corporativo"].lights-on .crowd-layer{--rim:#e3edff}
.crowd-layer .arms{opacity:0;transform:translateY(14px);transition:opacity .45s,transform .45s}
.crowd-hype .crowd-layer .arms,.music-playing .crowd-layer .arms.always{opacity:1;transform:none}
.motion-ok .beat-sync.music-playing.hit-a .crowd-layer{animation:crowd-bob-a var(--beat-len) ease-out var(--phase)}
.motion-ok .beat-sync.music-playing.hit-b .crowd-layer{animation:crowd-bob-b var(--beat-len) ease-out var(--phase)}
.motion-ok .beat-sync.music-playing.crowd-jump.hit-a .crowd-layer{animation:crowd-jump-a var(--beat-len) cubic-bezier(.3,.7,.4,1) var(--phase)}
.motion-ok .beat-sync.music-playing.crowd-jump.hit-b .crowd-layer{animation:crowd-jump-b var(--beat-len) cubic-bezier(.3,.7,.4,1) var(--phase)}
/* Day mode: an outdoor show in daylight. Sky, sun and tree line fade in behind the stage;
   metal and deck catch the sun, beams and haze almost vanish, the crowd is sunlit, not rim-lit. */
.stage-preview::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity 1.2s ease;
  background:radial-gradient(circle at 84% 9%,#fffef6 0 2.2%,#fff5d0b0 3.5%,#ffe9a540 9%,transparent 22%),
  radial-gradient(ellipse 16% 4.5% at 22% 15%,#ffffffd0,transparent 70%),radial-gradient(ellipse 11% 3.2% at 30% 13%,#ffffffb0,transparent 70%),
  radial-gradient(ellipse 18% 4% at 63% 24%,#ffffffa0,transparent 70%),radial-gradient(ellipse 9% 2.6% at 70% 22%,#ffffff90,transparent 70%),
  url('assets/stage-treeline.svg') 0 66%/100% 12% no-repeat,
  linear-gradient(180deg,#3d8fd8 0%,#7dbdf0 38%,#c4e3f8 62%,#e6efe9 70%,#b9c7a8 80%,#8f9f80 100%)}
.stage-preview[data-mode="day"]::after{opacity:1}
.stage-preview[data-mode="day"]::before{opacity:0}
/* The scene surroundings (.stage-environment): the outdoor concert trades its night sky for the
   daytime one; the indoor room and wedding hall are simply lit as by day. */
.stage-preview[data-mode="day"] .venue-night{opacity:0!important}
.stage-preview[data-mode="day"] .venue-room,.stage-preview[data-mode="day"] .venue-wedding{filter:brightness(2.4) saturate(.85)}
.stage-environment>div{transition:opacity 1.2s,filter 1.2s}
.stage-preview[data-mode="day"] .stage-room-glow,.stage-preview[data-mode="day"] .stage-fog,.stage-preview[data-mode="day"] .stage-floor-spots{opacity:0!important}
.stage-preview[data-mode="day"] .stage-truss{filter:brightness(1.75) saturate(.55)}
.stage-preview[data-mode="day"] .stage-deck-svg{filter:brightness(1.5)}
.stage-preview[data-mode="day"] .deck-glare{display:none}
.stage-preview[data-mode="day"].lights-on .stage-fixtures i s{opacity:.16}
.stage-preview[data-mode="day"] .mh::after{opacity:.12}
.stage-preview[data-mode="day"] .stage-led,.stage-preview[data-mode="day"] .stage-led-wing{box-shadow:0 0 0 3px #1d2833,0 6px 14px #0004}
.stage-preview[data-mode="day"] .stage-strobes b::after,.stage-preview[data-mode="day"] .stage-strobes-side b::after{box-shadow:none}
.stage-preview[data-mode="day"] .crowd-layer{--rim:#fff8e6;--rim-o:.55}
.stage-preview[data-mode="day"] .crowd-layer.front{--crowd:#2c3540}
.stage-preview[data-mode="day"] .crowd-layer.front .t1{fill:#3a3029}.stage-preview[data-mode="day"] .crowd-layer.front .t2{fill:#24303d}.stage-preview[data-mode="day"] .crowd-layer.front .t3{fill:#403a44}
.stage-preview[data-mode="day"] .crowd-layer.mid{--crowd:#4d5a68}
.stage-preview[data-mode="day"] .crowd-layer.mid .t1{fill:#5b4f47}.stage-preview[data-mode="day"] .crowd-layer.mid .t3{fill:#5a5560}
.stage-preview[data-mode="day"] .crowd-layer.back{--crowd:#7f8d99;--rim-o:.3}
.stage-preview[data-mode="day"] .crowd-layer .arms .phone{filter:none;fill:#c9d6de}
.stage-preview[data-mode="day"] .stage-audience::after{background:linear-gradient(transparent,#1e262e80)}
.stage-preview .stage-truss,.stage-preview .stage-deck-svg{transition:filter 1.2s ease}
/* Stage dressing (scripts/build-truss.py): one set per scene, performers rim-lit by the LED
   wall and only on stage while there is music; soft contact shadows ground everything. */
.stage-props{--rim:#86a9bd;--rim-o:.3;position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;overflow:visible}
.lights-on .stage-props,.led-on .stage-props{--rim:#9feeff;--rim-o:.9}
.stage-preview[data-preset="boda"].lights-on .stage-props{--rim:#ffd9a0}
.stage-props .set{display:none}
.stage-preview[data-preset="concierto"] .set-concierto,.stage-preview[data-preset="corporativo"] .set-corporativo,.stage-preview[data-preset="boda"] .set-boda{display:inline}
.stage-props .booth,.stage-props .lectern,.stage-props .case,.stage-props .wedge,.stage-props .performer{fill:#070b11;stroke:url(#prop-rim);stroke-width:1.4;vector-effect:non-scaling-stroke}
.stage-props .performer .arm{fill:none;stroke:#070b11}
.stage-props .headphones{fill:none;stroke:#070b11;stroke-width:2.6}
.stage-props .booth-top{fill:#1b2633}
.stage-props .booth-led{fill:none;stroke:#1d3646;stroke-width:1.6;transition:stroke .5s}
.lights-on .stage-props .booth-led{stroke:#56d5ee;filter:drop-shadow(0 0 3px #19c2dc)}
.stage-props .booth-logo{opacity:.75;transition:opacity .5s}
.lights-on .stage-props .booth-logo,.sound-on .stage-props .booth-logo{opacity:1}
.stage-props .deck-dot{fill:#2d4152;stroke:none}
.sound-on .stage-props .deck-dot{fill:#5eebff}
.stage-props .case{fill:#10171f}
.stage-props .case-trim{fill:none;stroke:#7d8d9a;stroke-width:1.2;vector-effect:non-scaling-stroke}
.stage-props .case-latch{fill:#a9b8c4;stroke:none}
.stage-props .wedge-grille{fill:#1a232d;stroke:none}
.stage-props .lectern-plate{fill:#d7e2ea;stroke:none}
.stage-props .mic-stand{fill:none;stroke:#2a3642;stroke-width:1.6;vector-effect:non-scaling-stroke}
.stage-props .mic-head{fill:#3a4652;stroke:none}
.stage-props .cables{fill:none;stroke:#020406;stroke-width:1.1;stroke-opacity:.45;vector-effect:non-scaling-stroke}
.stage-props .prop-shadow{fill:url(#soft-shadow)}
.stage-props .floor-shadow{fill:url(#soft-shadow);opacity:.9}
.stage-props .deck-floor-shadow{fill:url(#deck-floor-fade)}
.stage-props .performer{opacity:0;transition:opacity .8s}
.sound-on .stage-props .performer,.show-running .stage-props .performer{opacity:1}
.stage-props .bop,.stage-props .sway,.stage-props .dj-hand-up{transform-box:fill-box;transform-origin:50% 100%}
.stage-props .dj-hand-up{opacity:0;transition:opacity .3s}
.crowd-hype .stage-props .dj-hand-up{opacity:1}
.motion-ok .beat-sync.music-playing.hit-a .stage-props .bop{animation:dj-bop-a var(--beat-len) ease-out}
.motion-ok .beat-sync.music-playing.hit-b .stage-props .bop{animation:dj-bop-b var(--beat-len) ease-out}
@keyframes dj-bop-a{30%{transform:translateY(1.5%)}}
@keyframes dj-bop-b{30%{transform:translateY(1.5%)}}
.motion-ok .music-playing .stage-props .sway{animation:singer-sway 4s ease-in-out infinite alternate}
@keyframes singer-sway{from{transform:rotate(-1.5deg)}to{transform:rotate(1.5deg)}}
/* Shadows follow the sun in day mode: shorter, sharper and cast away from it (sun top right). */
.stage-preview[data-mode="day"] .stage-props .floor-shadow,.stage-preview[data-mode="day"] .stage-props .prop-shadow{transform:translateX(-1.2%) scaleY(.8);opacity:1}
/* Light that touches things: every beat lifts the rim light on crowd and performers, the big
   strobe hits flash the truss, and coloured spots from the movers sweep across the heads. */
@property --flash{syntax:'<number>';inherits:true;initial-value:0}
.motion-ok .beat-sync.lights-on.hit-a :is(.stage-audience,.stage-props){animation:light-touch-a var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-b :is(.stage-audience,.stage-props){animation:light-touch-b var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.flash-a :is(.stage-audience,.stage-props){animation:light-flash-a .45s ease-out}
.motion-ok .beat-sync.lights-on.flash-b :is(.stage-audience,.stage-props){animation:light-flash-b .45s ease-out}
.motion-ok .beat-sync.lights-on.flash-a .stage-truss{animation:truss-flash-a .4s ease-out}
.motion-ok .beat-sync.lights-on.flash-b .stage-truss{animation:truss-flash-b .4s ease-out}
@keyframes light-touch-a{from{--flash:calc(.15 + var(--energy) * .3)}to{--flash:0}}
@keyframes light-touch-b{from{--flash:calc(.15 + var(--energy) * .3)}to{--flash:0}}
@keyframes light-flash-a{from{--flash:1}to{--flash:0}}
@keyframes light-flash-b{from{--flash:1}to{--flash:0}}
@keyframes truss-flash-a{from{filter:brightness(2.1)}to{filter:none}}
@keyframes truss-flash-b{from{filter:brightness(2.1)}to{filter:none}}
.crowd-spots{position:absolute;inset:-10% -20% 0;z-index:3;pointer-events:none;opacity:0;transition:opacity .8s;mix-blend-mode:screen;
  background:radial-gradient(ellipse 9% 30% at 22% 38%,rgba(var(--lamp-color),.42),transparent 70%),radial-gradient(ellipse 8% 28% at 52% 34%,#c79cff66,transparent 70%),radial-gradient(ellipse 9% 30% at 80% 40%,rgba(var(--lamp-color),.38),transparent 70%);
  -webkit-mask-image:linear-gradient(#000 0 55%,transparent 85%);mask-image:linear-gradient(#000 0 55%,transparent 85%)}
.lights-on .crowd-spots{opacity:calc(.75 + var(--flash,0) * .5)}
.motion-ok .lights-on .crowd-spots{animation:spots-sweep 7s ease-in-out infinite alternate}
@keyframes spots-sweep{from{transform:translateX(-14%)}to{transform:translateX(14%)}}
.stage-preview[data-mode="day"] .crowd-spots{display:none}

/* Camera feel: bloom around the lit movers, a lens vignette, and a slow live-camera drift. */
.stage-bloom{position:absolute;inset:0;z-index:6;pointer-events:none;opacity:0;transition:opacity .6s;mix-blend-mode:screen;
  background:radial-gradient(circle 46px at 27.7% 19.3%,rgba(var(--lamp-color),.5),transparent),radial-gradient(circle 46px at 38.9% 19.3%,#d3b3ff80,transparent),
  radial-gradient(circle 46px at 50% 19.3%,rgba(var(--lamp-color),.5),transparent),radial-gradient(circle 46px at 61.1% 19.3%,#d3b3ff80,transparent),
  radial-gradient(circle 46px at 72.3% 19.3%,rgba(var(--lamp-color),.5),transparent)}
.lights-on .stage-bloom{opacity:calc(.85 + var(--flash,0) * .4)}
.stage-preview[data-mode="day"] .stage-bloom{opacity:.15}
.motion-ok .beat-sync.lights-on.hit-a .stage-bloom{animation:light-touch-a var(--beat-len) ease-out}
.motion-ok .beat-sync.lights-on.hit-b .stage-bloom{animation:light-touch-b var(--beat-len) ease-out}
.stage-vignette{position:absolute;inset:0;z-index:11;pointer-events:none;background:radial-gradient(ellipse 75% 70% at 50% 45%,transparent 55%,#00000070 100%)}
.stage-preview[data-mode="day"] .stage-vignette{background:radial-gradient(ellipse 75% 70% at 50% 45%,transparent 60%,#00000028 100%)}
.motion-ok .show-running .stage-canvas{animation:camera-drift 22s ease-in-out infinite alternate}
@keyframes camera-drift{0%{scale:1;translate:0 0}50%{scale:1.035;translate:-1.6% -1.2%}100%{scale:1.02;translate:.4% -.9%}}

/* FOH tent in the crowd (scripts/build-stage-assets.py): static, hoverable for the consoles. */
.crowd-layer.foh-layer{animation:none!important;--crowd:#0d1620}
.foh .foh-hit{fill:transparent;stroke:none}
.foh{pointer-events:visiblePainted;cursor:pointer}
.foh .foh-hit{pointer-events:all}
.foh .foh-roof{fill:#111b26;stroke:url(#prop-rim);stroke-width:1.2}
.foh .foh-valance{fill:#0a1119}
.foh .foh-label{fill:#9fdcff;font:800 5.6px 'Inter',sans-serif;letter-spacing:.8px}
.foh .foh-poles{fill:none;stroke:#3c4b58;stroke-width:1.4}
.foh .foh-head,.foh .foh-desk{fill:#070b11}
.foh .foh-screen{fill:#1d3a4a}
.foh .foh-led{fill:#2b4052}
.sound-on .foh .foh-screen{fill:#5eebff;filter:drop-shadow(0 0 3px #19c2dc)}
.sound-on .foh .foh-led{fill:#7dff9a}
.stage-preview[data-mode="day"] .foh .foh-roof{fill:#e8edf0}
.stage-preview[data-mode="day"] .foh .foh-valance{fill:#cfd8de}
.stage-preview[data-mode="day"] .foh .foh-label{fill:#0b5d73}
.stage-preview[data-mode="day"] .stage-props{--rim:#fff8e6;--rim-o:.5}
@media(prefers-reduced-motion:reduce){.stage-canvas,.crowd-spots,.stage-props .bop,.stage-props .sway{animation:none!important}}
/* Moving heads: clamp, safety cable, base and yoke are fixed in the truss SVG; only the head
   tilts, on its own pivot, and the beam follows it. */
.truss-hardware .mh-clamp{fill:#5b6c7a}
.truss-hardware .mh-base{fill:#141d27;stroke:#4f6170;stroke-width:1;vector-effect:non-scaling-stroke}
.truss-hardware .mh-yoke{fill:#1a2530;stroke:#56697a;stroke-width:1;vector-effect:non-scaling-stroke}
.truss-hardware .mh-pivot{fill:#7c8e9d}
.stage-preview .stage-fixtures i{transform-origin:50% 50%;box-shadow:inset 2px 1px 2px #ffffff18,2px 5px 7px #000b}
.stage-preview .stage-fixtures i::after{display:none}

/* Music LED strip on the deck front (replaces the floating equalizer bars): 24 pixels lit by the
   live spectrum, or by a gentle chase when the browser gives no analyser. */
.stage-preview .stage-equalizer{left:12.6%;right:12.6%;top:81.4%;bottom:auto;height:1.2%;gap:3px;align-items:stretch;z-index:3;-webkit-mask-image:linear-gradient(90deg,#000 34%,transparent 34% 48.6%,#000 48.6%);mask-image:linear-gradient(90deg,#000 34%,transparent 34% 48.6%,#000 48.6%)}
.stage-preview .stage-equalizer i{min-height:0;height:100%!important;transform:none!important;border-radius:1px;background:#5eebff;box-shadow:0 0 5px #19c2dc;opacity:.2}
.stage-preview[data-preset="boda"] .stage-equalizer i{background:#ffd08a;box-shadow:0 0 5px #ff9e3d}
.stage-preview[data-preset="corporativo"] .stage-equalizer i{background:#e3edff;box-shadow:0 0 5px #9fc4ff}
.motion-ok .sound-on .stage-equalizer i{animation:led-chase 1.2s ease-in-out calc(var(--bar)*-.05s) infinite alternate!important}
.motion-ok .audio-reactive .stage-equalizer i{animation:none!important;opacity:calc(.15 + var(--level-live,.04)*.85)}
@keyframes led-chase{from{opacity:.15}to{opacity:.9}}

/* Line arrays in black, like the real PSM rig (assets/gear/line-array.webp): matte cabinets,
   a barely visible grille, a thin highlight on the top edge and dark rigging hardware. */
.stage-preview .stage-speaker i{background:radial-gradient(circle at 50% 50%,#20272f 0 .7px,transparent .9px) 0 0/3px 3px,linear-gradient(180deg,#1b2026,#0b0e12 55%,#121619);border:1px solid #262d35;border-left:3px solid #040608;border-right:3px solid #040608;box-shadow:inset 0 1px 0 #ffffff22,0 3px 5px #000a}
.stage-preview .stage-speaker i::before,.stage-preview .stage-speaker i::after{width:4px;height:4px;background:radial-gradient(circle at 35% 30%,#8d98a2,#3c444c 70%)}
.stage-preview.lights-on .stage-speaker i{box-shadow:inset 0 1px 0 #9feeff3a,0 3px 5px #000a}
.stage-preview .stage-speaker i:nth-of-type(n+4){border-bottom-color:#030405}
/* Raised deck (DECK_TOP 752 in scripts/build-truss.py: front edge 75.2%, rear edge 69.2%):
   everything standing on it or tied to its edges follows. */
.stage-preview .stage-led{bottom:30.8%}
.stage-preview .stage-floor-spots,.stage-preview .stage-gobos{top:69.2%;height:6%}
.stage-preview .stage-reflection{top:69.4%;height:5.6%}
.stage-preview .stage-flames i{bottom:24.6%}
.stage-preview .stage-equalizer{top:78.4%}
/* No haze: beams are clean light cones. */
.stage-fog{display:none}
/* Drawing pass: black deck with faint panel joints, stairs with stringers and handrails,
   real black subwoofers, and quieter crowd arms (no neon rim). */
.deck-planks{stroke:#fff;stroke-opacity:.035}
.deck-panels{stroke:#fff;stroke-opacity:.07}
.lights-on .deck-top{filter:brightness(1.35)}
.deck-tread{fill:#1a1f25}.deck-riser{fill:#07090c}
.lights-on .deck-tread{fill:#2a323b}
.deck-stringer{fill:#2b333c}
.deck-rail{fill:none;stroke:#6f7f8c;stroke-width:2.2;stroke-linecap:round;vector-effect:non-scaling-stroke}
.stage-preview[data-mode="day"] .deck-tread{fill:#3b444d}
.stage-preview .stage-sub{border:1px solid #1b2026;border-radius:3px;background:radial-gradient(circle at 50% 50%,#1d2228 0 .8px,transparent 1px) 0 0/4px 4px,linear-gradient(180deg,#121519,#07090b);box-shadow:6px 10px 22px #000a,inset 0 1px 0 #ffffff14}
.stage-preview .stage-sub::before{inset:7% 9%;width:auto;border:0;border-radius:0;background:radial-gradient(circle closest-side at 50% 25%,#ffffff0d 0 60%,#00000080 64%,transparent 70%),radial-gradient(circle closest-side at 50% 75%,#ffffff0d 0 60%,#00000080 64%,transparent 70%);background-size:100% 100%}
.stage-preview .stage-sub::after{top:auto;bottom:5%;right:50%;width:22px;height:5px;margin-right:-11px;border-radius:1px;background:#2a3138;box-shadow:none}
.stage-preview.sound-on .stage-sub{border-color:#1b2026}
.motion-ok .beat-sync.music-playing.hit-a .stage-sub::before,.motion-ok .beat-sync.music-playing.hit-b .stage-sub::before{transform:scale(1.03)}
.stage-preview .stage-sub::before{transition:transform .08s}
.crowd-layer .arms{stroke-opacity:.3}
.stage-canvas{position:absolute;inset:0;container-type:size}
@media(max-width:760px){
  .stage-preview{aspect-ratio:820/700}
  .stage-canvas{inset:auto;left:0;top:0;width:820px;height:700px;transform-origin:0 0;transform:translate(var(--stage-x,0px),var(--stage-y,0px)) scale(var(--stage-scale,.47))}
}

/* Contact: the WhatsApp message is an editable field (app.js keeps it in sync until edited). */
textarea.message-preview{display:block;width:100%;min-height:96px;margin:0 0 8px;color:inherit;font:inherit;font-size:14px;line-height:1.75;resize:vertical;white-space:pre-wrap}
textarea.message-preview:focus-visible{outline:3px solid var(--cyan);outline-offset:2px;background:#fff}
.message-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px;font-size:12px;color:#66706f}
.message-tools button{flex:none;white-space:nowrap;border:0;background:none;padding:4px 0;color:#0b7d8e;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}
.message-tools button[hidden]{display:none}

/* Two optical gobos project rotating rings onto the deck, away from the LED wall. */
.stage-gobos{position:absolute;left:11.8%;right:11.8%;top:72.2%;height:6.8%;z-index:4;clip-path:polygon(0 100%,100% 100%,90% 0,10% 0);pointer-events:none;opacity:0;transition:opacity 1.2s;mix-blend-mode:screen}
.stage-gobos i{position:absolute;left:15%;top:-50%;width:30%;height:200%;transform:scaleY(.4);transform-origin:center;opacity:.65}
.stage-gobos i::before{content:'';position:absolute;inset:0;border-radius:50%;background:repeating-conic-gradient(from 0deg,rgba(var(--lamp-color),.65) 0deg 5deg,transparent 6deg 30deg);mask-image:radial-gradient(ellipse,transparent 0 25%,#000 27% 30%,transparent 32% 46%,#000 48% 52%,transparent 54% 66%,#000 68% 71%,transparent 73%);filter:blur(.4px)}
.stage-gobos i:nth-child(2){left:56%;--lamp-color:214,181,255}
.lights-on .stage-gobos{opacity:.65}
.motion-ok .lights-on .stage-gobos i::before{animation:gobo-orbit 22s linear infinite}
.motion-ok .lights-on .stage-gobos i:nth-child(2)::before{animation-direction:reverse;animation-duration:29s}
@keyframes gobo-orbit{to{transform:rotate(360deg)}}
.stage-preview[data-preset="boda"] .stage-gobos i{--lamp-color:255,218,163}
.stage-preview[data-preset="corporativo"] .stage-gobos i{--lamp-color:213,235,255}
/* Regia follows song energy during the show; manual lighting retains its controls. */
.show-running.lights-on[data-direction="quiet"] .stage-gobos{opacity:.2}
.show-running.lights-on[data-direction="build"] .stage-gobos{opacity:.45}
.show-running.lights-on[data-direction="open"] .stage-gobos{opacity:.9}
.show-running:not([data-light-effect="pulse"])[data-direction="quiet"] .stage-fixtures i s{opacity:.16!important}
.show-running[data-direction="quiet"] .stage-fixtures i:nth-child(n+2):nth-child(-n+4) s{opacity:0!important}
.show-running[data-direction="quiet"] .stage-fixtures i::before{filter:brightness(.5)}
.show-running[data-direction="quiet"] .stage-room-glow{opacity:.18!important}
.show-running[data-direction="quiet"] .stage-strobes,.show-running[data-direction="quiet"] .stage-strobes-side{opacity:.25}
.show-running[data-direction="quiet"] .stage-strobe-flash{display:none}
.show-running:not([data-light-effect="pulse"])[data-direction="build"] .stage-fixtures i s{opacity:.4!important}
.show-running[data-direction="build"] .stage-room-glow{opacity:.5!important}
.show-running:not([data-light-effect="pulse"])[data-direction="open"] .stage-fixtures i s{opacity:.85!important}
.show-running[data-direction="open"] .stage-room-glow{opacity:1}
.stage-fixtures i s,.stage-room-glow,.stage-strobes,.stage-strobes-side{transition:opacity 1s ease}
@media(prefers-reduced-motion:reduce){.stage-gobos i::before{animation:none!important}}

/* PSM identity: distinct surroundings and the logo's five cyan light bars. */
.stage-environment{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.stage-environment>div{position:absolute;inset:0;opacity:0;transition:opacity 1.2s}
.venue-night{background:radial-gradient(circle at 9% 6%,#e5f7ff99 0 1px,transparent 2px),radial-gradient(circle at 70% 4%,#d8eaff88 0 1px,transparent 2px),radial-gradient(circle at 34% 10%,#d8eaff55 0 1px,transparent 2px),radial-gradient(ellipse at 80% -10%,#27445b88,transparent 60%),linear-gradient(#060b19,#0a182a 75%,#040914);background-size:137px 109px,199px 163px,271px 137px,100% 100%,100% 100%}
.venue-room{background:linear-gradient(90deg,#50616c22,transparent 12% 88%,#50616c22),repeating-linear-gradient(90deg,transparent 0 16%,#b7c9da20 16.2% 16.5%,transparent 16.7% 33.3%),linear-gradient(180deg,#27323e,#101a26 40%,#172636 79%,#081019)}
.venue-room::before{content:'';position:absolute;inset:0 0 65%;background:repeating-linear-gradient(0deg,transparent 0 29px,#bed6e614 30px 31px);transform:perspective(250px) rotateX(-30deg);transform-origin:top}
.venue-wedding{background:radial-gradient(ellipse at 50% 28%,#a881432b,transparent 60%),repeating-linear-gradient(90deg,#cdb88c09 0 1%,transparent 1.2% 12%),linear-gradient(#1d201c,#16231e 65%,#111810)}
.venue-wedding::before{content:'';position:absolute;left:1%;right:1%;top:3%;height:15%;border-bottom:1px solid #ccb88c50;border-radius:0 0 50% 50%;background:radial-gradient(circle,#fff1bccc 0 2px,#f9cb5522 3px,transparent 7px) 0 bottom/35px 20px repeat-x}
.venue-wedding::after{content:'';position:absolute;left:18%;right:18%;top:4%;bottom:15%;border:2px solid #d3ba8420;border-radius:45% 45% 0 0;box-shadow:0 0 0 16px #d3ba8405,inset 0 0 25px #ffeac607}
[data-preset="concierto"] .venue-night,[data-preset="corporativo"] .venue-room,[data-preset="boda"] .venue-wedding{opacity:1}
.psm-signature{position:absolute;top:38%;height:22%;width:3.2%;display:flex;align-items:center;justify-content:space-between;gap:2px;z-index:4;pointer-events:none;opacity:.25;transition:opacity .7s}
.signature-left{left:1.8%}.signature-right{right:1.8%;transform:scaleX(-1)}
.psm-signature i{width:15%;height:42%;border-radius:999px;background:linear-gradient(#a2f3ff,#19c2dc 55%,#076c89);box-shadow:0 0 8px #19c2dc44;transform-origin:center}
.psm-signature i:nth-child(2),.psm-signature i:nth-child(4){height:70%}.psm-signature i:nth-child(3){height:100%}
.lights-on .psm-signature,.sound-on .psm-signature{opacity:.9}
.motion-ok .music-playing .psm-signature i{animation:signature-wave 2.4s ease-in-out infinite alternate}
.motion-ok .music-playing .psm-signature i:nth-child(even){animation-delay:-1.2s}.motion-ok .music-playing .psm-signature i:nth-child(3){animation-delay:-.6s}
@keyframes signature-wave{from{transform:scaleY(.55);filter:brightness(.8)}to{transform:scaleY(1);filter:brightness(1.3)}}
.motion-ok .beat-sync.hit-a .psm-signature,.motion-ok .beat-sync.hit-b .psm-signature{filter:brightness(calc(1 + var(--energy,0)*.5))}
/* Backstage reveal precedes the existing countdown, leaving media unlocked by the tap. */
.stage-curtains{position:absolute;inset:0;z-index:9;pointer-events:none;display:none;overflow:hidden}
.backstage .stage-curtains{display:block}
.stage-curtains i{position:absolute;top:0;bottom:0;left:0;width:51%;background:repeating-linear-gradient(90deg,#02050a,#121b26 6%,#03080f 12%);box-shadow:6px 0 25px #000b;animation:curtain-open 1.4s cubic-bezier(.4,0,.2,1) forwards}
.stage-curtains i:nth-child(2){left:auto;right:0;animation-name:curtain-open-right}
@keyframes curtain-open{0%,15%{transform:none}100%{transform:translateX(-103%)}}
@keyframes curtain-open-right{0%,15%{transform:none}100%{transform:translateX(103%)}}
.backstage .stage-truss{filter:drop-shadow(0 0 5px #c3e9ff80)}
.backstage .stage-led{box-shadow:0 0 0 4px #060b13,0 0 22px #19c2dc50}
/* The finale takes over every LED surface, then restores the ongoing show. */
.finale-title{position:absolute;inset:0;z-index:8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:8%;background:radial-gradient(ellipse,#183b59,#071423 75%);opacity:0;visibility:hidden;transition:opacity .35s;pointer-events:none;text-align:center}
.finale-title b{font:800 calc(var(--title-fit,6)*1cqw)/1 'Barlow Condensed',sans-serif;color:#efffff;text-transform:uppercase;overflow-wrap:anywhere;text-wrap:balance;max-width:100%;text-shadow:0 0 18px #19c2dc88}
.finale-title small{font:600 clamp(7px,1.15cqw,14px)/1.5 'Inter',sans-serif;color:#8deafa;letter-spacing:.08em}
.finale-wing b{font-size:2.5cqw}.finale-wing small{font-size:1.2cqw}
.finale .finale-title{opacity:1;visibility:visible}
.finale.lights-on .stage-fixtures i{transform:rotate(-26deg)!important;transition:transform .6s}
.finale.lights-on .stage-fixtures i:nth-child(2){transform:rotate(-14deg)!important}.finale.lights-on .stage-fixtures i:nth-child(3){transform:rotate(0deg)!important}.finale.lights-on .stage-fixtures i:nth-child(4){transform:rotate(14deg)!important}.finale.lights-on .stage-fixtures i:nth-child(5){transform:rotate(26deg)!important}
.finale .psm-signature{opacity:1;filter:brightness(1.5)}
@media(prefers-reduced-motion:reduce){.psm-signature i,.stage-curtains i{animation:none!important}.stage-environment>div,.finale-title{transition:none}}
.stage-preview[data-preset="boda"] .stage-fixtures i{--lamp-color:255,218,163}
.stage-preview[data-preset="corporativo"] .stage-fixtures i{--lamp-color:213,235,255}
.stage-show-actions #stage-finale{grid-column:1/-1;justify-content:center;border-color:#19c2dc66;color:#8deafa}
.finale.lights-on .stage-fixtures i s{opacity:.85!important}
.finale.lights-on .stage-fixtures i::before{opacity:1!important;filter:brightness(1.2)}
/* The finale uses the real PSM logo, with the event name when provided. */
.finale-logo{display:block;width:90%;max-width:520px;height:auto;object-fit:contain;border-radius:5px;box-shadow:0 0 22px #19c2dc20}
.finale-title:not(.has-finale-name) b{display:none}
.finale-title.has-finale-name .finale-logo{width:55%;max-width:260px}
.finale-wing .finale-logo{width:100%;border-radius:2px}
.finale-wing.has-finale-name .finale-logo{width:95%}

/* ==========================================================================
   Design pass v4: one dark theme, readable type, a single accent (cyan).
   Overrides the older layers above; the stage keeps its own rules.
   ========================================================================== */
:root{--paper:#f4f2ec;--text:#e9edf1;--text-2:#c3ccd4;--text-3:#8e9aa5;--surface:#12151b;--surface-2:#181c23;--border:rgba(255,255,255,.1)}
body{font-size:16px;color:var(--text)}
p{color:var(--text-2)}
/* Labels: larger, less tracking, lighter grey, so they read on phones too. */
.eyebrow,.eyebrow.on-light{font-size:12px;letter-spacing:1.6px;color:var(--cyan)}
.small,.light .small{font-size:12px;letter-spacing:1.2px;color:var(--text-3)}
.mini-label{font-size:12px;letter-spacing:1.3px}
.pro-card .tag,.event-label{font-size:11.5px;letter-spacing:1.4px}
/* Headings: one accent. The grey/pink second lines become cyan. */
.section-heading h2 span,.section-heading h2 em,.about h2 em,.contact h2 span,.gallery-heading h2 span,h2 em{color:var(--cyan)}
.section-heading p,.light .section-heading p{font-size:17px;line-height:1.75;color:var(--text-2);max-width:420px}
/* Every section dark: the former cream sections take a slightly lifted surface for rhythm. */
.light,.services-section,.about,.contact{background:#0e1117;color:var(--text)}
.light .pro-card,.pro-card{background:var(--surface);border-color:var(--border)}
.light .pro-card .pb p,.pro-card .pb p{color:var(--text-2);font-size:15.5px;line-height:1.7}
.light .card-link,.card-link{color:#fff}
.light .card-link i{border-color:var(--border)}
.light .feature,.contact .feature,.feature{background:var(--surface);border-color:var(--border)}
.light .feature p,.contact .feature p,.feature p{color:var(--text-2);font-size:15px}
.light .feature .ico,.contact .feature .ico{color:var(--cyan);background:rgba(25,194,220,.12);border-color:rgba(25,194,220,.3)}
.about-lead-home{font-size:19px;line-height:1.65;color:var(--text);max-width:540px;margin:0 0 14px}
.about-copy-home{font-size:15.5px;line-height:1.8;color:var(--text-2);max-width:540px}
.about-copy .about-lead{color:var(--text)}
.about-signature>div{color:var(--text-3);font-size:12px}
.checks li{background:var(--surface);color:var(--text-2);border-color:var(--border);font-size:15px}
.service{border-bottom-color:var(--border)}
.service-list{border-top-color:var(--border)}
.service-toggle{color:#fff}
.service.active{background:var(--surface);box-shadow:none}
.service.active .service-toggle{color:var(--cyan)}
.service.active .number{background:var(--cyan);color:#061014;border-color:var(--cyan)}
.service-detail p{color:var(--text-2);font-size:16px}
.number{border-color:var(--border);color:var(--text-2)}
/* Contact form on dark. */
.contact-panel{background:var(--surface);border-color:var(--border);box-shadow:none}
.contact-main>div:first-child>p,.contact-note{color:var(--text-2)}
.contact-note a{color:#fff}
.contact-row{background:var(--surface-2);border-color:var(--border);color:#fff}
.event-options button{background:transparent;border-color:rgba(255,255,255,.22);color:var(--text)}
.event-options .selected{background:var(--cyan);color:#061014;border-color:var(--cyan)}
.quote-fields input,.quote-services label{background:#0b0e13;border-color:rgba(255,255,255,.18);color:#fff;color-scheme:dark}
.quote-fields label,.quote-services legend,.contact-panel{color:var(--text)}
.quote-services label:has(input:checked){background:rgba(25,194,220,.12);border-color:var(--cyan)}
.quote-services input{accent-color:var(--cyan)}
.message-preview,textarea.message-preview{background:#0b0e13;border-color:rgba(255,255,255,.18);color:#fff}
textarea.message-preview:focus-visible{background:#0b0e13}
.message-tools{color:var(--text-3)}
.message-tools button{color:var(--cyan)}
.contact .button.dark,.button.dark{background:var(--cyan);color:#061014}
/* Buttons and nav CTA: the short label sits in a compact pill. */
.nav-cta{background:var(--cyan);color:#061014!important}
/* Footer and body copy contrast. */
footer p,footer a{color:var(--text-2)}
.page-hero p.lead{font-size:17px;color:var(--text-2)}
.event-card p,.video-card p{color:var(--text-2);font-size:15.5px}
/* Phones: card rows scroll sideways instead of stacking (shorter pages), larger body copy. */
@media(max-width:760px){
  body{font-size:16px}
  .section{padding:64px 20px}
  .section-heading{margin:20px 0 28px}
  .section-heading p{font-size:16px}
  .cards,.event-grid,.video-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:84%;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;margin-left:-20px;margin-right:-20px;padding:4px 20px 12px;scroll-padding:0 20px;scrollbar-width:none}
  .cards::-webkit-scrollbar,.event-grid::-webkit-scrollbar,.video-grid::-webkit-scrollbar{display:none}
  .cards>*,.event-grid>*,.video-grid>*{scroll-snap-align:start;min-width:0}
}
/* Phones: a compact stage console (three toggles in a row, secondary actions two per row). */
@media(max-width:760px){
  #stage-experience .stage-switches{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
  #stage-experience .stage-switches button,#stage-experience.stage-expanded .stage-switches button{flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:60px;height:auto;padding:10px 6px;text-align:center}
  #stage-experience .stage-switches button small,#stage-experience .stage-switches button>i{display:none}
  #stage-experience .stage-switches button>span:not(.stage-control-icon){line-height:1.2;font-size:15px}
  #stage-experience .stage-switches button>span:not(.stage-control-icon) small{display:none!important}
  #stage-experience .stage-show-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  #stage-experience .stage-show-actions #stage-show{grid-column:1/-1}
  #stage-experience .stage-show-actions .stage-fullscreen{min-height:44px;margin:0;font-size:12px;white-space:nowrap;padding-left:12px;padding-right:12px}
  #stage-experience .stage-show-actions #stage-finale{grid-column:1/-1}
}
