/* SONO LOGO REVEAL over Home's hero video (27 Nov 2026, owner: "I WANT THIS VERSION ON WEBSITE/SOCIAL TOO" → "HERO for website" → "the reveal as overlay on current HERO video").
   The Showcase cover's reveal, once per visit, over the playing hero video: a scan line, SONO drawn as light outlines (the v4 logo's own paths), chrome, the cat pops into the O,
   the tagline, one slow 3D turn. (First version, same day: it then lifted to the old lockup; see the note below for what replaced that.) Every class is sxrv- prefixed; nothing of the hero itself is changed. js/sxr-reveal.js builds it. */
/* 27 Nov, later (owner, on the draft: "we don't need HOLO/RING after 3D logo reveal, keep HOLO on individual pages, but hero just 3D INTRO"): on Home the 3D logo IS the hero now. It plays its
   reveal on every load and stays (a slow turn); the ring, coin and "Welcome to SonoXR" lockup are not shown (kept in the page, so the h1 is still read). Reduced motion or a missing outline
   file: the still logo. If the logo picture itself can't load, the old lockup shows. Inner pages keep their holo. */
html.sxrv-on #hero .sx-page-center{opacity:0!important;pointer-events:none}
.sxrv{position:absolute;inset:0;z-index:3;display:grid;place-items:center;pointer-events:none;background:radial-gradient(ellipse 62% 46% at 50% 50%,rgba(0,0,0,.62) 0%,rgba(0,0,0,.28) 55%,transparent 78%);transition:opacity .8s ease}
.sxrv-stage{position:relative;width:min(72vw,820px);container-type:inline-size;perspective:1400px;perspective-origin:50% 40%}
@media (max-width:700px){.sxrv-stage{width:86vw}}
.sxrv-s{position:relative;display:block;transform-style:preserve-3d}
.sxrv-s img{display:block;width:100%;height:auto;position:relative;transform:translateZ(0);opacity:0}
.sxrv-s i.sxrv-x{position:absolute;inset:0;opacity:0;transform:translateZ(calc(var(--k) * -0.26cqw));-webkit-mask:url(reveal/sono-v4-banner-1200.png) center/100% 100% no-repeat;mask:url(reveal/sono-v4-banner-1200.png) center/100% 100% no-repeat;clip-path:inset(1px 1px 23% 1px);   /* the tagline stays flat (clipped off the depth layers); a clip, not a second mask: WebKit drew the mask box's edges as faint lines */background:linear-gradient(180deg,#dfe5ea 0%,#aab4bd 22%,#5d6670 46%,#2b3037 54%,#7f8993 70%,#c9d1d8 100%);filter:brightness(var(--b))}
.sxrv-s i.sxrv-x.sxrv-last{filter:brightness(.35) drop-shadow(0 2.6cqw 3cqw rgba(0,0,0,.75))}
.sxrv-sh{position:absolute;inset:0;transform:translateZ(1px);-webkit-mask:url(reveal/sono-v4-banner-1200.png) center/100% 100% no-repeat;mask:url(reveal/sono-v4-banner-1200.png) center/100% 100% no-repeat;background:linear-gradient(105deg,transparent 43%,rgba(255,255,255,.75) 50%,transparent 57%) 130% 0/260% 100% no-repeat}
.sxrv-rv{position:absolute;inset:0;transform:translateZ(2px)}.sxrv-rv svg{display:block;width:100%;height:100%;overflow:visible}
.sxrv-rv .sxrv-chr,.sxrv-rv .sxrv-cat{opacity:0}
.sxrv-rv .sxrv-wire path{fill:none;stroke:#cfeaff;stroke-width:1.3;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 0 3px rgba(150,215,255,.9))}
.sxrv-rv .sxrv-cat{transform-box:fill-box;transform-origin:50% 100%}
.sxrv-scan{position:absolute;top:-14%;bottom:-14%;left:-4%;width:.25cqw;min-width:2px;background:linear-gradient(180deg,transparent,#dff3ff 20%,#fff 50%,#dff3ff 80%,transparent);box-shadow:0 0 1.6cqw .35cqw rgba(150,215,255,.8);opacity:0}
.sxrv-go .sxrv-scan{animation:sxrvScan 1.9s cubic-bezier(.45,0,.55,1) .15s forwards}
.sxrv-go .sxrv-wire path{animation:sxrvDraw 1.2s cubic-bezier(.5,0,.2,1) var(--d,0s) forwards,sxrvOut .6s ease 2.3s forwards}
.sxrv-go .sxrv-chr{animation:sxrvFill .8s ease 1.9s forwards}
.sxrv-go .sxrv-cat{animation:sxrvCat .85s cubic-bezier(.2,1.5,.4,1) 2.5s forwards}
.sxrv-go .sxrv-rv{animation:sxrvOut .7s ease 3.5s forwards}
.sxrv-go .sxrv-s img,.sxrv-go .sxrv-s i.sxrv-x{animation:sxrvFill .7s ease 3.5s forwards}
.sxrv-go .sxrv-s{animation:sxrvTurn 3s cubic-bezier(.45,0,.3,1) 3.6s both,sxrvSway 16s ease-in-out 6.6s infinite}
.sxrv-still .sxrv-s img,.sxrv-still .sxrv-s i.sxrv-x{opacity:1}.sxrv-still .sxrv-sh,.sxrv-still .sxrv-rv{display:none}
.sxrv-go .sxrv-sh{animation:sxrvSweep 1.7s cubic-bezier(.45,0,.2,1) 4.3s both}
@keyframes sxrvScan{0%{left:-4%;opacity:0}8%{opacity:1}92%{opacity:1}100%{left:104%;opacity:0}}@keyframes sxrvDraw{to{stroke-dashoffset:0}}@keyframes sxrvOut{to{opacity:0}}@keyframes sxrvFill{to{opacity:1}}
@keyframes sxrvCat{0%{opacity:0;transform:translateY(46%) scale(.7) rotate(-8deg)}55%{opacity:1}100%{opacity:1;transform:none}}
@keyframes sxrvTurn{0%{transform:none}40%{transform:rotateY(-20deg) rotateX(8deg)}100%{transform:none}}
@keyframes sxrvSway{0%,100%{transform:none}25%{transform:rotateY(-12deg) rotateX(5deg)}75%{transform:rotateY(12deg) rotateX(3deg)}}
@keyframes sxrvSweep{0%{background-position:130% 0}100%{background-position:-30% 0}}
