/* Vira flash home — layout overrides while GSAP owns motion (html.fx-on). Static fallback = r10 CSS. */
.fx-on .reveal,.fx-on .split .w,.fx-on .steps li{opacity:1;transform:none;transition:none!important}
.fx-on .split .w{display:inline-block;will-change:transform}
.fx-on .hero{transform-origin:50% 0;overflow:hidden}
.fx-on .beam-core{animation:none;transform:scaleX(1)}
.fx-on #beam{transform-origin:50% 50%}
.fx-on main,.fx-on body{overflow-x:clip}
@media (min-width:960px){
  .fx-on .hscroll{height:auto}
  .fx-on .hs-sticky{position:relative;top:0;height:100vh}
  .fx-on .journey{height:auto}
  .fx-on .j-sticky{position:relative;top:0;min-height:0}
}
.fx-on .scard img,.fx-on .fx-dimg img{will-change:transform}
.fx-on .gcard,.fx-on .pcard{transform-style:preserve-3d;backface-visibility:hidden}
/* journey laser path + counters */
.j-in{position:relative}
.fx-path{position:absolute;inset:-20px 0;width:100%;height:calc(100% + 40px);pointer-events:none;z-index:0;opacity:.55}
.fx-path path{fill:none;stroke:var(--beam,#69B646);stroke-width:3;stroke-dasharray:1;stroke-dashoffset:1;filter:drop-shadow(0 0 6px var(--beam,#69B646))}
.fx-count{margin-inline-start:auto;font-weight:800;color:var(--blue-2);font-size:14px;opacity:.8}
.j-in>*{position:relative;z-index:1}
/* devices strip */
.fx-dev{background:var(--bg);overflow:hidden}
.fx-dev-pin{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:72px 0}
.fx-dev-head{position:relative}
.fx-num{position:absolute;top:-56px;inset-inline-end:20px;font-size:120px;font-weight:800;color:var(--tint);line-height:1;z-index:0}
.fx-dev-head>*:not(.fx-num){position:relative}
.fx-dev-track{display:flex;gap:24px;padding-inline:max(20px,calc((100vw - 1200px)/2));margin-top:28px;will-change:transform}
.fx-dcard{flex:0 0 340px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:14px;text-decoration:none;color:var(--ink)}
.fx-dimg{aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:var(--tint)}
.fx-dimg img{width:100%;height:100%;object-fit:cover}
.fx-dcard h3{font-size:19px;margin:12px 4px 4px}.fx-dcard p{margin:0 4px;color:var(--muted);font-size:14.5px}
.fx-dcta{display:grid;place-items:center;background:var(--tint);border-style:dashed;flex-basis:240px}
.fx-dcta h3{color:var(--blue)}
@media (max-width:959px){
  .fx-dev-track{flex-direction:column;padding-inline:20px}
  .fx-dcard{flex:none}
  .fx-num{font-size:72px;top:-36px}
}
/* page transition wipe (site-wide; also in motion.css for inner pages) */
.fx-wipe{position:fixed;inset:0;z-index:10000;background:linear-gradient(90deg,#2E5B8C,#0F103E);transform:scaleX(1);transform-origin:left;pointer-events:none;transition:transform .45s cubic-bezier(.77,0,.18,1)}
.fx-wipe.out{transform:scaleX(0);transform-origin:right}
.fx-wipe.in{transform:scaleX(1);transform-origin:left}
@media (prefers-reduced-motion:reduce){.fx-wipe{display:none}}
.fx-on .journey{height:auto}
.fx-on .j-sticky{position:relative;top:0;min-height:0}
/* v2 (Designer review): hero frame clamps the card; no pale edge; tighter mobile rhythm */

.fx-on .hero{background:linear-gradient(180deg,#fff 0%,var(--tint) 100%)}
.fx-on .dev-card img{object-fit:contain;background:#fff}
@media (max-width:959px){
  .fx-on .sec{padding-top:48px;padding-bottom:48px}
  .fx-on .fx-dev{padding:40px 0}
  .fx-on .journey,.fx-on .j-sticky{min-height:0}
}
.fx-on #journey .j-in{position:relative}
.fx-on #journey .fx-path{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
@media (max-width:959px){.fx-on #journey .fx-path{display:none}}
/* v3: hero callouts — leader lines end on points of hero-device.webp (set by flash.js) */
.fx-on .dev-card .co::before{width:var(--lw,36px);transform-origin:0 50%;transform:rotate(var(--la,0deg));left:var(--lx,auto);right:auto;top:var(--ly,50%)}
.fx-on .dev-card .co::after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background:var(--blue-2);box-shadow:0 0 0 4px rgba(79,134,198,.25);left:var(--dx,0);top:var(--dy,0);transform:translate(-50%,-50%)}
.fx-on .dev-card .c1{top:22%;right:-34px;left:auto;bottom:auto}
.fx-on .dev-card .c2{top:40%;left:-48px;right:auto;bottom:auto}
.fx-on .dev-card .c3{top:76%;right:-30px;left:auto;bottom:auto}
.fx-on .scard img,.fx-on .fx-dimg img{width:100%;height:100%;object-fit:cover;display:block}
/* v4 (2026-10-21 homefix) */
/* hero title: one RTL block, right-aligned, no clipping of Persian glyphs */
.hero h1.hero-title{direction:rtl;text-align:right;line-height:1.35;padding-block:.06em .1em;overflow:visible;white-space:normal;word-spacing:normal;font-size:clamp(32px,4.2vw,54px)}
/* services (device types) pin: size to content, no empty band below the cards */
@media (min-width:960px){.fx-on .hs-sticky{height:auto;min-height:0;padding:96px 0 112px;justify-content:flex-start}}
/* journey: not pinned; no laser path / % counters. Every home section is its own solid, stacked layer */
.fx-path,.fx-count{display:none!important}
.fx-on main#top > section{position:relative;z-index:1;background-color:var(--bg,#F5F8FC)}
.fx-on main#top > section.sec-tint{background-color:var(--tint,#EAF1F8)}
.fx-on main#top > section.journey{background-color:#fff}
.fx-on main#top > section.hero{z-index:2}
.hero h1.hero-title .w{padding-inline:.03em;padding-block:.04em}
.shop-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:24px 28px}
.shop-strip .h2{margin:0 0 6px;font-size:clamp(20px,2.2vw,26px)}.shop-strip p{margin:0;color:var(--muted);max-width:46em}
.blog-mini .bcard h3{font-size:17px;margin:4px 0 8px}.blog-mini .bcard p{margin:0;color:var(--muted);font-size:14px}
.home-r10 #blog .lnk{color:#69B646}
@media (max-width:700px){.shop-strip{flex-direction:column;align-items:flex-start;padding:20px}}
@media (max-width:1180px){.fx-on .dev-card .c2{left:8px}}

/* v5 (hero-menu-blog 2026-10-21): Soprano hero (Designer hero-soprano) + pre-paint start state + wide screens */
.dev-card img{object-fit:contain;background:#fff;aspect-ratio:4/5;width:100%;height:auto}
.dev-card .co::before,.dev-card .co::after{display:none!important}
.dev-card .pin{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--blue-2,#4f86c6);box-shadow:0 0 0 5px rgba(79,134,198,.28);transform:translate(-50%,-50%);z-index:2;opacity:0;transition:opacity .6s}
.hero.in .dev-card .pin,.fx-on .dev-card .pin{opacity:1}
.dev-card .p1{left:32%;top:9%}.dev-card .p2{left:52%;top:13.5%}.dev-card .p3{left:31%;top:50%}
.dev-card .c1{top:21%!important;left:-20px!important;right:auto!important}
.dev-card .c2{top:20%!important;right:-30px!important;left:auto!important}
.dev-card .c3{top:58%!important;left:-20px!important;right:auto!important}
@media (max-width:1180px){.dev-card .c1,.dev-card .c3{left:14px!important}}
@media (max-width:760px){.dev-card .pin{display:none}}
/* v6 (urgent 21 Oct): nothing in the hero starts hidden; wide containers on 16:9 monitors */
html .hero .reveal,html .hero .co,html .hero .co-row,html .hero .dev-card .pin{opacity:1;transform:none;transition:none}
.hero .dev-card img{background-color:#fff;background-size:cover;background-position:center}
@media (min-width:1440px){
  .home-r10 .wrap{width:min(1760px,100% - clamp(48px,7vw,160px))}
  .home-r10 .hero-in{grid-template-columns:1.15fr .85fr;gap:clamp(48px,5vw,120px)}
  .home-r10 .dev-card{max-width:clamp(400px,28vw,540px)}
  .home-r10 .lead{max-width:48em}
}
/* v7: labels final size from first paint — base .c3 sets bottom:14% which, with the top:58% override, stretched the pill tall until .fx-on (JS) reset it */
.dev-card .co{bottom:auto!important;height:auto;width:max-content}
