/* Noix hero v7 — Accent-style stage (giant wordmark, floating packs, small scattered nuts, mouse parallax)
   on Figma theme 60's wipe (1430×958 desktop, 393×852 mobile). RTL page: x moves are mirrored in hero.js. */
.nx-hero{position:relative;width:100%;aspect-ratio:1430/958;overflow:hidden;background:var(--w1,#FFE995);direction:ltr;user-select:none;touch-action:pan-y;--mx:0;--my:0}
.nx-hero .stage{position:absolute;left:0;top:0;width:1430px;height:958px;transform-origin:0 0;transform:scale(var(--s,1))}
.nx-hero .world{position:absolute;inset:0;width:1438.7px;height:959.1px;background:radial-gradient(60% 55% at 50% 48%,rgba(255,255,255,.28),rgba(255,255,255,0) 70%),var(--bg);will-change:clip-path}
.nx-hero .lay{position:absolute;left:0;top:0;will-change:transform;pointer-events:none}
.nx-hero .lay img{display:block;width:100%;height:100%;object-fit:contain;max-width:none}
.nx-hero .wordmark{left:0;top:0;width:1438.7px;height:959.1px;display:flex;align-items:center;justify-content:center}
.nx-hero .wordmark span{font-family:"Outfit",system-ui,sans-serif;font-weight:800;font-size:440px;line-height:1;letter-spacing:-.045em;color:#fff;opacity:.92;transform:translateY(-30px)}
.nx-hero .pk{display:flex;align-items:center;justify-content:center}
.nx-hero .pk .px{width:100%;height:100%;display:flex;align-items:center;justify-content:center;transform:translate(calc(var(--mx)*var(--d)*26px),calc(var(--my)*var(--d)*18px));transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.nx-hero .pk img{width:auto;height:100%;filter:drop-shadow(0 40px 50px rgba(0,0,0,.22));animation:nxFloat 7s ease-in-out infinite}
.nx-hero .pk--1{left:565px;top:140px;width:320px;height:570px}
.nx-hero .pk--1 img{transform:rotate(-7deg)}
.nx-hero .pk--2{left:170px;top:120px;width:220px;height:330px;opacity:.96}
.nx-hero .pk--2 img{transform:rotate(16deg);animation-duration:8.5s;animation-delay:-3s;filter:drop-shadow(0 30px 40px rgba(0,0,0,.18))}
.nx-hero .pk--3{left:990px;top:470px;width:200px;height:300px;opacity:.96}
.nx-hero .pk--3 img{transform:rotate(-20deg);animation-duration:6.2s;animation-delay:-1.5s;filter:drop-shadow(0 30px 40px rgba(0,0,0,.18))}
.nx-hero .pk.is-jar img{height:82%}
.nx-hero .w--b .pk--2{left:1030px;top:130px}
.nx-hero .w--b .pk--2 img{transform:rotate(-14deg)}
.nx-hero .w--b .pk--3{left:230px;top:520px}
.nx-hero .w--b .pk--3 img{transform:rotate(18deg)}
.nx-hero .dots{left:0;top:0;width:1438.7px;height:959.1px}
.nx-hero .nut{position:absolute;display:block;transform:translate(calc(var(--mx)*var(--d)*40px),calc(var(--my)*var(--d)*30px));transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.nx-hero .nut img{animation:nxDrift 9s ease-in-out infinite;filter:drop-shadow(0 8px 10px rgba(0,0,0,.14))}
.nx-hero .nut:nth-child(2n) img{animation-duration:11s;animation-delay:-4s}
.nx-hero .nut:nth-child(3n) img{animation-duration:7.5s;animation-delay:-2s}
@keyframes nxFloat{0%,100%{translate:0 0}50%{translate:0 -16px}}
@keyframes nxDrift{0%,100%{translate:0 0;rotate:0deg}50%{translate:0 -10px;rotate:8deg}}
.nx-hero .grain{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:.07;mix-blend-mode:multiply;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>")}
@media (prefers-reduced-motion:reduce){.nx-hero img{animation:none!important}.nx-hero .px,.nx-hero .nut{transform:none!important}}
.nx-hero .ui{position:absolute;inset:0;z-index:5;direction:rtl;pointer-events:none}
.nx-hero .ui > *{pointer-events:auto}
.nx-hero .card{position:absolute;left:50%;bottom:104px;transform:translateX(-50%);width:640px;text-align:center;color:var(--ink,#1a1a1a)}
.nx-hero .card .kicker{font-size:14px;letter-spacing:.04em;margin:0 0 8px;color:var(--ink);opacity:.7;font-weight:600}
.nx-hero .card h1{font-size:40px;line-height:1.15;margin:0 0 8px;font-weight:700;letter-spacing:-.01em}
.nx-hero .card h1 .wd{display:inline-block;transform:translateY(0);opacity:1;transition:transform .55s cubic-bezier(.2,.8,.2,1),opacity .4s}
.nx-hero .card.is-swap h1 .wd{transform:translateY(22px);opacity:0;transition:none}
.nx-hero .card .txt{display:none}
.nx-hero .cta{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 24px;border-radius:24px;background:var(--accent);color:var(--on-accent,#fff);font-weight:600;font-size:16px;text-decoration:none;transition:background .4s,transform .2s;margin-top:6px}
.nx-hero .cta:hover{transform:translateY(-2px)}
.nx-hero .pager{position:absolute;left:50%;bottom:30px;transform:translateX(-50%);display:flex;gap:6px;padding:5px;border-radius:999px;background:rgba(255,255,255,.55);backdrop-filter:blur(10px)}
.nx-hero .pager button{height:36px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--ink,#1a1a1a);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .3s,color .3s}
.nx-hero .pager button[aria-current="true"]{background:var(--ink,#1a1a1a);color:#fff}
.nx-hero .arrow{position:absolute;top:50%;width:48px;height:48px;margin-top:-24px;border:0;border-radius:50%;background:rgba(255,255,255,.55);backdrop-filter:blur(8px);color:var(--ink,#1a1a1a);font-size:22px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:background .3s}
.nx-hero .arrow:hover{background:#fff}
.nx-hero .arrow.prev{right:22px}
.nx-hero .arrow.next{left:22px}
.nx-hero .badge{position:absolute;left:60px;top:40px;width:150px;transform:rotate(-8deg)}
.nx-hero .badge img{width:100%;display:block}
@media (max-width:760px){
  .nx-hero{aspect-ratio:auto;height:calc(100svh - 96px);min-height:600px;max-height:860px}
  .nx-hero .stage{width:393px;height:852px}
  .nx-hero .world{width:393px;height:852px}
  .nx-hero .wordmark{width:393px;height:852px}
  .nx-hero .wordmark span{font-size:150px;transform:translateY(-190px)}
  .nx-hero .pk--1{left:80px;top:125px;width:235px;height:385px}
  .nx-hero .pk--2{left:-20px;top:90px;width:120px;height:170px}
  .nx-hero .pk--3{left:290px;top:430px;width:110px;height:160px}
  .nx-hero .w--b .pk--2{left:290px;top:100px}
  .nx-hero .w--b .pk--3{left:-10px;top:440px}
  .nx-hero .dots{width:393px;height:852px}
  .nx-hero .nut{transform:scale(.6);transform-origin:center}
  .nx-hero .nut:nth-child(n+9){display:none}
  .nx-hero .card{width:340px;bottom:80px}
  .nx-hero .card h1{font-size:28px}
  .nx-hero .cta{height:44px;padding:0 20px;font-size:15px}
  .nx-hero .pager{bottom:16px;gap:4px;padding:4px}
  .nx-hero .pager button{height:34px;padding:0 12px;font-size:13px}
  .nx-hero .arrow{display:none}
  .nx-hero .badge{left:12px;top:16px;width:80px}
}
