/* BigDesign motion layer (17.11.2026). Stable file name on purpose: later motion/style tweaks ship as this one file
   (plus fx.js), not a full-site re-upload. Only opacity/transform/box-shadow animate (no layout shift).
   Off for prefers-reduced-motion and for the a11y "still" mode. Mobile header rule kept: menu button right, logo left. */
@media (prefers-reduced-motion:no-preference){
  /* 1. hero: headline lines rise in, then lead, then buttons */
  html:not(.a11y-still) .hero h1{animation:fx-up .9s var(--ease) both}
  html:not(.a11y-still) .hero h1 .acc{animation:fx-up .9s .12s var(--ease) both}
  html:not(.a11y-still) .hero h1 + p,html:not(.a11y-still) .hero .lead{animation:fx-up .9s .24s var(--ease) both}
  html:not(.a11y-still) .hero .btn{animation:fx-up .8s .36s var(--ease) both}
  html:not(.a11y-still) .hero .btn + .btn{animation-delay:.44s}
  /* 2. slow ambient glow drift behind the hero (GPU transform only) */
  html:not(.a11y-still) .hero::after{content:"";position:absolute;inset:-20%;z-index:-1;pointer-events:none;
    background:radial-gradient(40% 35% at 70% 30%,color-mix(in srgb,var(--acc) 22%,transparent),transparent 70%);
    animation:fx-drift 18s ease-in-out infinite alternate}
  /* 3. grids reveal item by item (fx.js sets --i and .fx-st / .fx-on) */
  html:not(.a11y-still) .fx-st > *{opacity:0;transform:translateY(18px)}
  html:not(.a11y-still) .fx-st.fx-on > *{opacity:1;transform:none;transition:opacity .7s var(--ease),transform .7s var(--ease);transition-delay:calc(var(--i,0) * 70ms)}
  /* 4. cards lift on hover with an accent edge */
  html:not(.a11y-still) :is(.card,.post,.plan,.step){transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .25s}
  html:not(.a11y-still) :is(.card,.post,.plan,.step):hover{transform:translateY(-4px);box-shadow:0 18px 40px -22px color-mix(in srgb,var(--acc) 55%,transparent);border-color:color-mix(in srgb,var(--acc) 45%,var(--line-2))}
  html:not(.a11y-still) .svc a:hover .go{transform:translateX(-6px)}
  /* 5. section titles: accent line draws in when the title scrolls into view */
  html:not(.a11y-still) .sec-head h2{position:relative}
  html:not(.a11y-still) .sec-head h2::after{content:"";position:absolute;inset-inline-start:0;bottom:-10px;width:56px;height:3px;border-radius:3px;background:var(--acc);transform:scaleX(0);transform-origin:right;transition:transform .8s .15s var(--ease)}
  html:not(.a11y-still) .sec-head.fx-on h2::after{transform:scaleX(1)}
  /* 6. primary buttons: soft light sweep on hover */
  html:not(.a11y-still) .btn-p{position:relative;overflow:hidden}
  html:not(.a11y-still) .btn-p::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 30%,#ffffff66 50%,transparent 70%);transform:translateX(110%)}
  html:not(.a11y-still) .btn-p:hover::after{transform:translateX(-110%);transition:transform .7s var(--ease)}
  /* 7. header: firmer glass + shadow once the page scrolls (no height change) */
  html:not(.a11y-still) .hdr{transition:box-shadow .3s,background-color .3s}
  html.fx-scrolled:not(.a11y-still) .hdr{box-shadow:0 10px 30px -18px #000c;background:color-mix(in srgb,var(--bg) 99%,transparent)}
  /* 8. mobile menu: links slide in from the right one after another; burger icon turns a quarter */
  html:not(.a11y-still) .nav.open a{animation:fx-in-r .45s var(--ease) both;animation-delay:calc(var(--i,0) * 45ms + 60ms)}
  /* the burger swaps to an X when open (Header.tsx); no rotation, it turned the bars into |||  */
}
/* 9. reading progress on blog posts (thin bar under the header) */
.fx-prog{position:fixed;inset-inline:0;top:var(--header-h);height:3px;z-index:49;background:var(--acc);transform:scaleX(0);transform-origin:right;pointer-events:none}
/* 10. service ad: hero "watch" button + popup player (fx.js) */
.btn-watch .play{display:inline-block;width:0;height:0;border-block:6px solid transparent;border-inline-end:10px solid currentColor;position:relative}
.btn-watch .play::after{content:"";position:absolute;inset-inline-end:-22px;top:-4px;width:8px;height:8px;border-radius:50%;background:#ff3b3b}
.btn-watch{gap:14px}
@media (prefers-reduced-motion:no-preference){html:not(.a11y-still) .btn-watch .play::after{animation:fx-rec 1.6s ease-in-out infinite}}
html.adm-lock{overflow:hidden}
/* same sizing as the videomarketing.co.il hero player (Art 24.11.2026: every video = full-screen pop-up that fits the screen) */
.adm{--pad:clamp(12px,3vw,40px);--sb:env(safe-area-inset-bottom,0px);position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:var(--pad);padding-bottom:max(var(--pad),var(--sb))}
.adm[hidden]{display:none}
.adm-bg{position:absolute;inset:0;background:#02060fe6}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.adm-bg{background:#02060fc7;-webkit-backdrop-filter:blur(14px) saturate(.7);backdrop-filter:blur(14px) saturate(.7)}}
.adm-box{position:relative;width:min(1280px,100%,calc((100dvh - var(--pad) - max(var(--pad),var(--sb))) * 16 / 9));aspect-ratio:16/9}
.adm[data-variant=vertical] .adm-box{width:min(520px,100%,calc((100dvh - var(--pad) - max(var(--pad),var(--sb))) * 9 / 16));aspect-ratio:9/16}
.adm-video{width:100%;height:100%;object-fit:contain;background:#000;border-radius:14px;display:block}
.adm-x{position:absolute;top:10px;inset-inline-start:10px;z-index:2;width:44px;height:44px;border-radius:50%;border:1px solid #ffffff55;background:#000a;color:#fff;font-size:1.1rem;cursor:pointer}
.adm-end{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:24px;background:#050b17ee;border-radius:14px;text-align:center;color:#fff}
.adm-end[hidden]{display:none}
.adm-end p{font:700 clamp(1.3rem,1rem + 1.5vw,2rem)/1.2 var(--font-display);margin:0 0 6px}
.adm-end .btn{min-width:200px;justify-content:center}
.adm-end .btn-g{color:#fff}
@keyframes fx-rec{50%{opacity:.25}}
@keyframes fx-up{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes fx-in-r{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
@keyframes fx-drift{from{transform:translate3d(0,0,0) scale(1)}to{transform:translate3d(-6%,4%,0) scale(1.08)}}
/* hero ad card: keep the play button clear of the poster headline on wide screens */
@media (min-width:981px){.ad-card .ad-play{top:30%}}
