﻿/* =========================================================
   SPIDER-WEB — ערכת נושא
   HTML/CSS/JS בלבד. בלי build, בלי תלויות.
   כל ההנפשות הן CSS או IntersectionObserver — אין rAF בשום מקום.
   ========================================================= */

:root{
  /* ----- צבעים ----- */
  --void:     #05070B;
  --void-2:   #090D14;
  --void-3:   #0E141E;
  --silk:     #E9EEF5;
  --silk-dim: #8B95A8;
  --silk-fade:#5A6478;
  --venom:    #00E5A0;
  --venom-dk: #00B37D;
  --violet:   #8B5CF6;
  --thread:   rgba(233,238,245,.10);
  --thread-lt:rgba(233,238,245,.18);
  --wa:       #25D366;

  /* ----- טיפוגרפיה ----- */
  --f-head: 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Assistant', 'Heebo', system-ui, sans-serif;
  --f-mono: 'Space Mono', ui-monospace, Consolas, monospace;

  /* ----- מידות ----- */
  --nav-h: 76px;
  --maxw: 1240px;
  --maxw-narrow: 800px;

  /* ----- עקומות ----- */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{ box-sizing: border-box; }

html{
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body{
  margin: 0;
  background: var(--void);
  color: var(--silk);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.75;
  /* clip ולא hidden: hidden הופך את הגוף למכל גלילה שאפשר להזיז
     בגלגלת, clip פשוט חותך ואי אפשר לגלול אותו בכלל */
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4{ font-family: var(--f-head); margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 900; }
p{ margin: 0; }
ul,ol{ margin: 0; padding: 0; list-style: none; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.wrap{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.wrap--narrow{ max-width: var(--maxw-narrow); }

/* הסתרה בגזירה, לא בהזזה ל--9999px.
   ב-RTL הערך `inset-inline-start` מתורגם ל-`right`, כלומר הקישור
   ישב כ-10,000 פיקסלים מימין לעמוד. `overflow-x: hidden` על ה-body
   הסתיר אותו אבל הפך את הגוף למכל גלילה — ולכן כל גלגלת עם רכיב
   אופקי הזיזה את כל הדף ימינה. זה היה הבאג. */
.skip-link{
  position: absolute; top: 0; inset-inline-start: 16px; z-index: 999;
  width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  background: var(--venom); color: var(--void);
  padding: 0; border-radius: 0 0 10px 10px; font-weight: 700;
}
.skip-link:focus{
  width: auto; height: auto; overflow: visible;
  clip-path: none; padding: 12px 22px;
}

:focus-visible{ outline: 2px solid var(--venom); outline-offset: 4px; border-radius: 4px; }

::selection{ background: var(--venom); color: var(--void); }

/* =========================================================
   מסך פתיחה — הרשת נטווית ואז נעלמת
   ========================================================= */

.intro{
  position: fixed; inset: 0; z-index: 500;
  display: grid; place-items: center;
  background: var(--void);
  animation: introOut .95s cubic-bezier(.5,0,.75,0) 1.95s forwards;
}
/* ---------------------------------------------------------
   הרשת — משותפת לפתיחה ולהירו.

   החוטים מצוירים סטטית, והרשת נחשפת בעיגול שמתרחב מהמרכז
   (clip-path). הגרסה הקודמת הנפישה stroke-dashoffset על 22
   נתיבים בו-זמנית: זה לא עובר דרך המעבד הגרפי אלא מאלץ ציור
   מחדש של כל ה-SVG בכל פריים, ובמסך מלא זה מה שגרם לגמגום.
   כאן יש אנימציה אחת על אלמנט אחד.
   --------------------------------------------------------- */

.webart{
  clip-path: circle(0% at 50% 50%);
  animation: spread 1.25s cubic-bezier(.22,.85,.28,1) forwards;
}
@keyframes spread{ to{ clip-path: circle(76% at 50% 50%); } }

/* --- הרשת של מסך הפתיחה --- */
.intro__web{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: spread 1.25s cubic-bezier(.22,.85,.28,1) forwards,
             settle 1.9s cubic-bezier(.2,.8,.25,1) forwards;
}
.intro__web .sp,
.intro__web .rg{ stroke: var(--venom); stroke-width: 1.5; }

/* התקרבות עדינה — transform על אלמנט ה-svg עצמו, כלומר מרוכב
   בכרטיס המסך. על <g> פנימי הוא היה מאלץ ציור מחדש */
@keyframes settle{
  0%{ transform: rotate(-10deg) scale(.88); }
  100%{ transform: rotate(0deg) scale(1.05); }
}

.intro__word{
  position: relative;
  isolation: isolate;
  font-family: var(--f-head);
  font-size: clamp(30px, 8vw, 68px);
  font-weight: 900;
  letter-spacing: .04em;
  color: var(--silk);
  opacity: 0;
  animation: introWord .8s var(--ease-out) 1.15s forwards;
}
.intro__word span{ color: var(--venom); }

/* קרחת ברשת מאחורי השם, אחרת הוא נבלע במרכז הצפוף */
.intro__word::before{
  content: ""; position: absolute; z-index: -1;
  inset: -180% -40%;
  background: radial-gradient(closest-side, rgba(5,7,11,.95) 45%, rgba(5,7,11,0) 100%);
}

@keyframes introWord{
  from{ opacity: 0; transform: translateY(14px) scale(.96); filter: blur(6px); }
  to{ opacity: 1; transform: none; filter: blur(0); }
}
@keyframes introOut{
  to{ opacity: 0; visibility: hidden; transform: scale(1.35); filter: blur(10px); }
}

/* אם אין JS או שהמשתמש ביקש פחות תנועה — לא חוסמים את העמוד */
.no-js .intro{ display: none; }

/* =========================================================
   פס התקדמות גלילה — CSS scroll-driven, בלי JS בכלל
   ========================================================= */

.progress{
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 200;
  height: 2px; pointer-events: none;
}
.progress i{
  display: block; height: 100%; width: 100%;
  transform-origin: right center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--violet), var(--venom));
}
@supports (animation-timeline: scroll()){
  .progress i{
    animation: growX linear;
    animation-timeline: scroll(root block);
  }
  @keyframes growX{ from{ transform: scaleX(0); } to{ transform: scaleX(1); } }
}

/* =========================================================
   גרעין
   ========================================================= */

/* גרעין סטטי. היה לו ריצוד אינסופי על שכבה קבועה בגודל פי ארבעה
   מהמסך — הדבר היקר ביותר בעמוד, וצייר מחדש לאורך כל גלילה */
.grain{
  position: fixed; inset: 0; z-index: 300;
  pointer-events: none; opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================
   כפתורים
   ========================================================= */

.btn{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px;
  border: 1px solid var(--venom);
  border-radius: 999px;
  background: var(--venom);
  color: var(--void);
  font-family: var(--f-head); font-size: 16px; font-weight: 700;
  cursor: pointer; overflow: hidden;
  transition: color .3s var(--ease), border-color .3s var(--ease), transform .25s var(--ease);
}
.btn span{ position: relative; z-index: 2; }

/* מילוי שנסוג מהצד */
.btn::before{
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--venom);
  transform-origin: left center;
  transition: transform .42s var(--ease-out);
}
.btn:hover{ color: var(--venom); transform: translateY(-2px); }
.btn:hover::before{ transform: scaleX(0); }
.btn:active{ transform: translateY(0); }

.btn--bare{
  background: transparent; color: var(--silk);
  border-color: var(--thread-lt);
}
.btn--bare::before{ background: var(--silk); transform: scaleX(0); transform-origin: right center; }
.btn--bare:hover{ color: var(--void); border-color: var(--silk); }
.btn--bare:hover::before{ transform: scaleX(1); }

.btn--big{ padding: 18px 40px; font-size: 17px; }
.btn--sm{ padding: 10px 22px; font-size: 14.5px; }
.btn--wide{ width: 100%; }

/* =========================================================
   ניווט
   ========================================================= */

/* בלי backdrop-filter: סרגל דביק עם טשטוש רקע מחשב מחדש את
   הטשטוש בכל פריים של גלילה. על רקע כמעט שחור ההבדל החזותי
   זניח, וההבדל בתחושת הגלילה גדול */
.nav{
  position: sticky; top: 0; z-index: 150;
  height: var(--nav-h);
  background: rgba(5,7,11,.94);
  border-bottom: 1px solid var(--thread);
}
.nav__inner{
  height: 100%; max-width: var(--maxw); margin-inline: auto;
  padding-inline: 26px;
  display: flex; align-items: center; gap: 30px;
}

.brand{ display: flex; align-items: center; gap: 13px; }
.brand__mark{
  width: 36px; height: 36px; flex: none;
  color: var(--venom);
  animation: spin 34s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

.brand__text{ display: flex; flex-direction: column; line-height: 1.2; }
.brand__text b{
  font-family: var(--f-head); font-size: 16.5px; font-weight: 900;
  letter-spacing: .06em;
}
.brand__text b i{ color: var(--venom); font-style: normal; }
.brand__text small{ font-size: 12px; color: var(--silk-fade); letter-spacing: .02em; }

.nav__links{ display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.nav__links a{ font-size: 15px; font-weight: 500; color: var(--silk-dim); }
.nav__links a span{
  position: relative; display: inline-block;
  transition: color .25s var(--ease);
}
/* חוט שנמתח מתחת לקישור */
.nav__links a span::after{
  content: ""; position: absolute;
  inset-block-end: -6px; inset-inline-start: 0;
  width: 100%; height: 1px; background: var(--venom);
  transform: scaleX(0); transform-origin: right center;
  transition: transform .35s var(--ease-out);
}
.nav__links a:hover span{ color: var(--silk); }
.nav__links a:hover span::after{ transform: scaleX(1); }

.nav__cta{ flex: none; }

.burger{
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer;
}
.burger span{
  display: block; height: 2px; width: 22px; margin-inline: auto;
  background: var(--silk); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.burger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   הירו
   ========================================================= */

.hero{
  position: relative;
  min-height: calc(100svh - var(--nav-h));
  display: flex; align-items: center;
  padding-block: clamp(60px, 9vw, 110px) clamp(90px, 11vw, 140px);
  overflow: hidden;
}

/* אותה רשת בדיוק כמו בפתיחה, מוסטת הצידה ודהויה —
   הפתיחה נסגרת והמוטיב ממשיך לחיות ברקע */
.hero__web{
  position: absolute;
  inset-block: -18% -8%;
  inset-inline-end: -16%;
  width: min(112vh, 1080px);
  height: auto; aspect-ratio: 1;
  pointer-events: none;
  --weave-dur: 1.5s;
}
.hero__web .sp,
.hero__web .rg{ stroke: var(--thread-lt); stroke-width: 1.1; }

/* נחשפת רק אחרי שמסך הפתיחה יצא */
.hero__web{ animation-delay: 1.9s; animation-duration: 1.6s; }

/* אין כאן סיבוב אינסופי בכוונה: סיבוב של 240 שניות על SVG בגודל
   מסך הוא בלתי נראה בעין אבל מכריח ציור מחדש בלי הפסקה, וזה
   נגס בכל גלילה בעמוד */

/* פרלקסה עדינה על הרשת בגלילה */
/* הייתה כאן פרלקסת גלילה על רשת ההירו. הוסרה משתי סיבות:
   היא הזיזה SVG בגודל מסך בכל פריים של גלילה, וגם — הקיצור
   `animation: webDrift` דרס את שם האנימציה שהגיע מ-.webart,
   כלומר ביטל את החשיפה והרשת פשוט לא הופיעה. */

/* --- עכביש שיורד --- */
.dangle{
  position: absolute; inset-block-start: 0;
  inset-inline-end: clamp(40px, 14vw, 210px);
  z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: center;
  transform: translateY(-120px);
  animation: drop 1.6s var(--ease-out) 2.2s forwards;
}
.dangle__thread{
  width: 1px; height: clamp(70px, 12vh, 130px);
  background: linear-gradient(180deg, transparent, var(--thread-lt) 30%, var(--thread-lt));
}
.dangle__spider{
  width: 36px; height: 31px; color: var(--silk);
  margin-top: -1px;
  animation: sway 4.5s ease-in-out 3.8s infinite;
  transform-origin: top center;
}
/* הרגליים סטטיות: הנפשה של שמונה נתיבי SVG בלולאה אינסופית
   כמעט לא נראית ומשלמים עליה בציור מחדש בלי סוף */

@keyframes drop{
  from{ transform: translateY(-140px); }
  to{ transform: translateY(0); }
}
@keyframes sway{
  0%,100%{ transform: rotate(0deg) }
  25%{ transform: rotate(3.5deg) }
  75%{ transform: rotate(-3.5deg) }
}

.hero__inner{ position: relative; z-index: 4; }

.hero__eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .1em; color: var(--silk-dim);
  margin-bottom: 26px;
}
.dot{
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--venom); flex: none;
  box-shadow: 0 0 0 0 rgba(0,229,160,.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(0,229,160,.55) }
  70%{ box-shadow: 0 0 0 11px rgba(0,229,160,0) }
  100%{ box-shadow: 0 0 0 0 rgba(0,229,160,0) }
}

/* כותרת — כל שורה עולה ממסכה */
.hero__title{
  font-size: clamp(42px, 8.6vw, 108px);
  max-width: 15ch;
}
.ln{ display: block; overflow: hidden; padding-block: .04em; }
.ln__i{
  display: block;
  transform: translateY(105%);
  animation: lnUp 1.05s var(--ease-out) forwards;
}
.ln:nth-child(1) .ln__i{ animation-delay: 1.95s; }
.ln:nth-child(2) .ln__i{ animation-delay: 2.1s; }
@keyframes lnUp{ to{ transform: translateY(0); } }

.grad{
  background: linear-gradient(100deg, var(--venom) 0%, #7FF5D0 40%, var(--violet) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  /* הנצנוץ רץ שלושה סבבים ונעצר. background-position אינו מרוכב,
     ולולאה אינסופית על כותרת ענקית משלמת בציור מחדש לנצח */
  animation: lnUp 1.05s var(--ease-out) 2.1s forwards,
             shimmer 7s linear 3.2s 3;
}
@keyframes shimmer{
  0%{ background-position: 0% 50% }
  100%{ background-position: 220% 50% }
}

.hero__lead{
  margin-top: 28px; max-width: 56ch;
  font-size: clamp(16.5px, 1.5vw, 19px);
  color: var(--silk-dim);
}

.hero__cta{ display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__stats{
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  margin-top: 60px; padding-top: 32px;
  border-top: 1px solid var(--thread);
}
.hero__stats b{
  display: block; font-family: var(--f-head);
  font-size: clamp(26px, 3.4vw, 40px); font-weight: 900;
  color: var(--venom); line-height: 1;
}
.hero__stats em{
  display: block; margin-top: 7px; font-style: normal;
  font-size: 14px; color: var(--silk-fade); max-width: 20ch;
}

/* חץ גלילה */
.scroller{
  position: absolute; inset-block-end: 26px;
  inset-inline-start: 50%; transform: translateX(50%);
  z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--silk-fade);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em;
}
.scroller__line{
  width: 1px; height: 46px; background: var(--thread-lt); overflow: hidden; position: relative;
}
.scroller__line::after{
  content: ""; position: absolute; inset-inline: 0; top: -50%;
  height: 50%; background: var(--venom);
  animation: trickle 2s ease-in-out infinite;
}
@keyframes trickle{
  0%{ top: -50% } 60%,100%{ top: 100% }
}
.scroller:hover{ color: var(--venom); }

/* =========================================================
   מרקי
   ========================================================= */

.marquee{
  border-block: 1px solid var(--thread);
  background: var(--void-2);
  overflow: hidden; padding-block: 17px;
}
.marquee__row{
  display: flex; align-items: center; gap: 30px; width: max-content;
  animation: slide 34s linear infinite;
}
.marquee__row span{
  font-family: var(--f-head); font-size: 15px; font-weight: 600;
  letter-spacing: .04em; color: var(--silk-dim); white-space: nowrap;
}
.marquee__row i{ color: var(--venom); font-size: 11px; font-style: normal; }
@keyframes slide{ to{ transform: translateX(50%); } }

/* =========================================================
   המסלול — הגולש נתפס

   כאן היה קודם מקטע נעוץ (sticky) שהחליף שלבים לפי גלילה.
   הוא עצר את העמוד למשך שני מסכים, וזה נקרא כאילו האתר תקוע.
   במקומו: מקטע בזרימה רגילה. החוט נמתח פעם אחת, הנקודה
   רצה עליו מימין לשמאל, והתחנות נדלקות בזו אחר זו — הכל
   transform ו-opacity, והכל נעצר כשהוא נגמר.
   ========================================================= */

.journey{
  padding-block: clamp(80px, 10vw, 130px);
  background:
    radial-gradient(900px 500px at 50% 40%, rgba(0,229,160,.05), transparent 70%),
    var(--void);
}

.beats-wrap{
  position: relative;
  padding-top: 76px;
  --gap: clamp(24px, 3.4vw, 48px);
}

.beats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

/* --- שורת התחנה: מספר, ואחריו חץ שנמתח אל התחנה הבאה --- */
.beat{ position: relative; }

.beat__head{
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}

.beat__badge{
  flex: none;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--void-2);
  border: 1.5px solid var(--thread-lt);
  font-family: var(--f-mono); font-size: 14px; font-weight: 700;
  letter-spacing: .06em; color: var(--silk-dim);
  transform: scale(.5); opacity: 0;
  transition: transform .55s var(--ease-out), opacity .4s var(--ease);
}
.journey.is-in .beat__badge{ transform: scale(1); opacity: 1; }

/* התחנה האחרונה — כאן הוא נתפס */
.beat--end .beat__badge{
  border-color: var(--venom); color: var(--venom);
  box-shadow: 0 0 0 6px rgba(0,229,160,.1);
}

/* החץ: קו שנמתח מהמספר לכיוון התחנה הבאה, וראש משולש בקצה.
   המרווח השלילי מותח אותו גם לתוך הרווח שבין העמודות */
.beat__link{
  flex: 1; display: flex; align-items: center;
  margin-left: calc(-1 * var(--gap));
  min-width: 0;
}
.beat__line{
  flex: 1; height: 2px; border-radius: 2px;
  background: linear-gradient(270deg, var(--venom), rgba(0,229,160,.4));
  transform: scaleX(0); transform-origin: right center;
  transition: transform .6s cubic-bezier(.5,0,.2,1);
}
.beat__tip{
  flex: none;
  width: 0; height: 0;
  border-block: 5px solid transparent;
  border-right: 9px solid var(--venom);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.journey.is-in .beat__line{ transform: scaleX(1); }
.journey.is-in .beat__tip{ opacity: 1; }

/* הרצף: מספר, חץ, מספר, חץ, מספר */
.journey.is-in .beat:nth-child(1) .beat__line{ transition-delay: .35s; }
.journey.is-in .beat:nth-child(1) .beat__tip{ transition-delay: .85s; }
.journey.is-in .beat:nth-child(2) .beat__badge{ transition-delay: .95s; }
.journey.is-in .beat:nth-child(2) .beat__line{ transition-delay: 1.3s; }
.journey.is-in .beat:nth-child(2) .beat__tip{ transition-delay: 1.8s; }
.journey.is-in .beat:nth-child(3) .beat__badge{ transition-delay: 1.9s; }

.beat h3{ font-size: clamp(22px, 2.6vw, 30px); }
.beat p{
  margin-top: 12px;
  font-size: 16px; color: var(--silk-dim);
}
.beat p b{ color: var(--silk); font-weight: 600; }

/* הטקסט של כל תחנה עולה מיד אחרי שהמספר שלה קפץ */
.beat h3, .beat p{
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .7s var(--ease-out);
}
.journey.is-in .beat h3,
.journey.is-in .beat p{ opacity: 1; transform: none; }
.journey.is-in .beat:nth-child(1) :is(h3, p){ transition-delay: .15s; }
.journey.is-in .beat:nth-child(2) :is(h3, p){ transition-delay: 1.1s; }
.journey.is-in .beat:nth-child(3) :is(h3, p){ transition-delay: 2.05s; }


.journey__tag{
  margin-top: clamp(40px, 5vw, 64px);
  text-align: center;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .14em; color: var(--silk-fade);
}

/* =========================================================
   כותרות מקטע
   ========================================================= */

.head{ max-width: 60ch; margin-bottom: clamp(48px, 6vw, 78px); }
.head--mid{ margin-inline: auto; text-align: center; }
.head--mid .head__lead{ margin-inline: auto; }

.head__eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .12em; color: var(--silk-dim); margin-bottom: 16px;
}
.head__title{ font-size: clamp(32px, 5.4vw, 66px); }
.head__lead{ margin-top: 20px; max-width: 54ch; color: var(--silk-dim); font-size: 17.5px; }

/* =========================================================
   עבודות
   ========================================================= */

.work{ padding-block: clamp(90px, 11vw, 150px) clamp(60px, 8vw, 100px); }

.proj{ padding-block: clamp(46px, 6vw, 84px); }

.proj__grid{
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 76px); align-items: center;
}
.proj--flip .proj__media{ order: 2; }

/* --- מסך --- */
.proj__media{ position: relative; padding-bottom: 56px; }

.proj__num{
  /* right פיזי: הטלפון תמיד יושב בצד שמאל של הזוג,
     והמספר צריך לצאת מהצד הנגדי כדי לא להיחבא מאחוריו */
  /* ביחידות em כדי שחצי הספרה תבצבץ מעל המסך בכל גודל מסך */
  position: absolute; inset-block-start: -.48em;
  right: -4px; z-index: 0;
  font-family: var(--f-head); font-size: clamp(70px, 9vw, 128px);
  font-weight: 900; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--thread-lt);
  pointer-events: none;

  /* נכנס פעם אחת כשהפרויקט מגיע למסך, ואז נעצר.
     רק transform ו-opacity — שניהם מרוכבים, אפס ציור מחדש בגלילה */
  opacity: 0;
  transform: translate3d(0, .34em, 0) scale(1.18);
  transition: opacity .5s var(--ease),
              transform .9s var(--ease-out);
}
.proj.is-in .proj__num{
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.screen{
  position: relative; z-index: 1;
  border-radius: 14px; overflow: hidden;
  background: var(--void-3);
  border: 1px solid var(--thread-lt);
  box-shadow: 0 50px 90px -40px rgba(0,0,0,.9);
}
.screen__bar{
  display: flex; align-items: center; gap: 7px;
  height: 32px; padding-inline: 15px;
  background: var(--void-2); border-bottom: 1px solid var(--thread);
}
.screen__bar i{ width: 8px; height: 8px; border-radius: 50%; background: var(--thread-lt); }
.screen__img{ width: 100%; height: auto; }

/* מכשיר אמיתי, לא תמונה מוקטנת:
   מסגרת עם מסגור, חריץ רמקול, ומסך שמראה את ראש העמוד
   בקנה מידה קריא במקום לדחוס אליו עמוד שלם */
.screen__phone{
  position: absolute; z-index: 2;
  /* left פיזי בכוונה: המסך יושב בטור הימני, והטלפון חופף
     פנימה לכיוון מרכז העמוד — לא גולש אל שולי החלון */
  inset-block-end: -10px; left: -30px;
  width: clamp(118px, 16.5%, 170px);
  aspect-ratio: 9 / 18.5;
  padding: 5px;
  border-radius: 24px;
  background: linear-gradient(155deg, #333A45 0%, #12171F 42%, #0B0F16 100%);
  box-shadow:
    0 34px 64px -22px rgba(0,0,0,.95),
    0 0 0 1px rgba(233,238,245,.07),
    inset 0 1px 0 rgba(233,238,245,.14);
}
/* חריץ הרמקול — left פיזי, כי translateX תמיד פיזי
   ו-inset-inline-start ב-RTL היה מזיז אותו מהמרכז */
.screen__phone::after{
  content: ""; position: absolute; z-index: 3;
  top: 11px; left: 50%;
  transform: translateX(-50%);
  width: 30%; height: 4px; border-radius: 99px;
  background: rgba(5,7,11,.85);
}
.screen__phone img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 19px;
  background: var(--void);
}

/* הטיה עדינה בריחוף */
.tilt{
  transform: perspective(1300px) rotateY(0deg) rotateX(0deg);
  transition: transform .6s var(--ease-out);
}
.proj:hover .tilt{ transform: perspective(1300px) rotateY(-3.5deg) rotateX(2deg) translateY(-6px); }
.proj--flip:hover .tilt{ transform: perspective(1300px) rotateY(3.5deg) rotateX(2deg) translateY(-6px); }

/* אין פרלקסה על צילומי המסך בכוונה: היא הזיזה תמונה של 1100px
   בכל פריים של גלילה, וזו הייתה התחושה ש"האתר תקוע" */

/* --- טקסט --- */
.proj__kicker{
  display: flex; flex-wrap: wrap; align-items: center; gap: 11px;
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .06em; color: var(--silk-dim); margin-bottom: 16px;
}
.tag{
  padding: 3px 12px; border-radius: 999px;
  border: 1px solid var(--thread-lt);
  font-size: 11.5px; letter-spacing: .04em; color: var(--silk-fade);
}
.tag--live{
  border-color: rgba(0,229,160,.4);
  background: rgba(0,229,160,.1);
  color: var(--venom);
}

.proj__title{ font-size: clamp(34px, 4.6vw, 60px); }
.proj__text{ margin-top: 22px; color: var(--silk-dim); max-width: 46ch; }

.chips{ display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.chips li{
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--thread); background: var(--void-2);
  font-size: 13.5px; color: var(--silk-dim);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.chips li:hover{ border-color: var(--venom); color: var(--venom); transform: translateY(-2px); }

/* =========================================================
   התהליך — חוט שנמתח
   ========================================================= */

.weave{
  position: relative;
  padding-block: clamp(90px, 11vw, 150px);
  background: var(--void-2);
  border-block: 1px solid var(--thread);
}

.weave__list{ position: relative; max-width: 780px; margin-inline: auto; }

/* החוט האנכי */
.weave__list::before{
  content: ""; position: absolute;
  inset-block: 10px 40px; inset-inline-start: 50%;
  width: 1px; background: var(--thread-lt);
}
.weave__list::after{
  content: ""; position: absolute;
  inset-block-start: 10px; inset-inline-start: 50%;
  width: 1px; height: 100%;
  background: linear-gradient(180deg, var(--venom), transparent);
  transform-origin: top center; transform: scaleY(0);
  transition: transform 1.6s var(--ease-out);
}
.weave.is-in .weave__list::after{ transform: scaleY(1); }

.knot{
  position: relative;
  width: 50%; padding-inline-end: 46px;
  padding-block: 18px;
  margin-bottom: 42px;
}
.knot:nth-child(even){
  margin-inline-start: 50%;
  padding-inline: 46px 0;
  text-align: start;
}
.knot:nth-child(odd){ text-align: end; }

.knot__dot{
  position: absolute; inset-block-start: 30px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--void-2);
  border: 1px solid var(--venom);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.knot:nth-child(odd) .knot__dot{ inset-inline-end: -7px; }
.knot:nth-child(even) .knot__dot{ inset-inline-start: -7px; }
.knot.is-in .knot__dot{
  background: var(--venom);
  box-shadow: 0 0 0 5px rgba(0,229,160,.14);
}

.knot__n{
  display: block; font-family: var(--f-mono); font-size: 12px;
  letter-spacing: .16em; color: var(--venom); margin-bottom: 9px;
}
.knot h3{ font-size: clamp(20px, 2.3vw, 26px); }
.knot p{ margin-top: 11px; font-size: 15.5px; color: var(--silk-dim); }

/* =========================================================
   חבילות
   ========================================================= */

.pricing{ padding-block: clamp(90px, 11vw, 150px); }

.cards{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; align-items: start;
}

.card{
  position: relative;
  padding: 38px 32px;
  border: 1px solid var(--thread-lt);
  border-radius: 20px;
  background: var(--void-2);
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s var(--ease);
}
.card:hover{ transform: translateY(-7px); border-color: rgba(0,229,160,.35); }

/* זוהר שעוקב אחרי הסמן — משתני CSS מתעדכנים ב-JS, בלי rAF */
.glow::before{
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0;
  background: radial-gradient(340px circle at var(--mx,50%) var(--my,50%), rgba(0,229,160,.13), transparent 62%);
  transition: opacity .4s var(--ease);
}
.card:hover.glow::before{ opacity: 1; }
.card > *{ position: relative; z-index: 1; }

.card--hot{
  border-color: rgba(0,229,160,.42);
  background:
    linear-gradient(180deg, rgba(0,229,160,.07), transparent 40%),
    var(--void-2);
}
.card__tag{
  display: inline-block; margin-bottom: 14px;
  padding: 4px 14px; border-radius: 999px;
  background: var(--venom); color: var(--void);
  font-family: var(--f-head); font-size: 12px; font-weight: 800; letter-spacing: .04em;
}

.card__name{ font-size: 25px; }
.card__for{ margin-top: 9px; font-size: 14.5px; color: var(--silk-fade); min-height: 2.8em; }

.card__price{
  margin-top: 22px;
  font-family: var(--f-head); font-size: 46px; font-weight: 900;
  letter-spacing: -.035em; line-height: 1;
}
.card__price span{ font-size: 24px; font-weight: 500; color: var(--silk-fade); margin-inline-end: 4px; }

/* החיסכון בחבילה המשולבת — בלעדיו אין ללקוח סיבה לבחור בה */
.save{ color: var(--venom); font-weight: 700; }

/* התחזוקה היא חלק מהמחיר, אז היא מופיעה מתחת לכל מספר ולא רק בהערה */
.card__sub{
  margin-top: 10px; padding-bottom: 22px;
  border-bottom: 1px solid var(--thread);
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .03em; color: var(--silk-fade);
}

.card__list{ margin-block: 24px 30px; display: grid; gap: 12px; }
.card__list li{
  position: relative; padding-inline-start: 26px;
  font-size: 15px; line-height: 1.55; color: var(--silk-dim);
}
.card__list li::before{
  content: ""; position: absolute; inset-inline-start: 0; top: .5em;
  width: 12px; height: 7px;
  /* גבולות פיזיים בכוונה — הלוגיים מתהפכים ב-RTL ויוצרים חץ */
  border-left: 1.8px solid var(--venom);
  border-bottom: 1.8px solid var(--venom);
  transform: rotate(-45deg);
}

/* --- חנות: מחיר לפי אפיון, ולכן לא כרטיס מחיר --- */
.store{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 3.6vw, 44px);
  border: 1px solid var(--thread-lt);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(139,92,246,.10), rgba(0,229,160,.06) 60%),
    var(--void-2);
}
.store__eyebrow{
  font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .12em; color: #A78BFA; margin-bottom: 10px;
}
.store__title{ font-size: clamp(24px, 3vw, 34px); }
.store__text{
  margin-top: 14px; max-width: 62ch;
  font-size: 16px; color: var(--silk-dim);
}
.store__cta{ flex: none; white-space: nowrap; }

@media (max-width: 880px){
  .store{ grid-template-columns: 1fr; }
  .store__cta{ width: 100%; }
}

/* --- ההבטחה --- */
.promise{
  position: relative; overflow: hidden;
  margin-top: 44px; padding: clamp(32px, 4.5vw, 54px);
  border-radius: 22px;
  border: 1px solid rgba(0,229,160,.28);
  background: linear-gradient(135deg, rgba(0,229,160,.09), rgba(139,92,246,.07));
}
.promise__web{
  position: absolute; inset-block-start: -60%; inset-inline-end: -12%;
  width: 460px; height: 460px; opacity: .5; pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, var(--thread-lt) 0deg .35deg, transparent .35deg 22.5deg),
    radial-gradient(circle at 50% 50%, transparent 30%, var(--thread) 30.5%, transparent 31%),
    radial-gradient(circle at 50% 50%, transparent 52%, var(--thread) 52.5%, transparent 53%),
    radial-gradient(circle at 50% 50%, transparent 74%, var(--thread) 74.5%, transparent 75%);
  transform: rotate(-12deg);
}
.promise__body{ position: relative; }
.promise h3{ font-size: clamp(22px, 3vw, 32px); max-width: 24ch; }
.promise p{ margin-top: 16px; max-width: 62ch; color: var(--silk-dim); }
.promise__note{
  position: relative; margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(0,229,160,.2);
  font-size: 14px; color: var(--silk-fade);
}

/* =========================================================
   שאלות
   ========================================================= */

.faq{ padding-block: clamp(80px, 10vw, 130px); background: var(--void-2); border-block: 1px solid var(--thread); }

.qa{ border-top: 1px solid var(--thread); }
.qa__item{ border-bottom: 1px solid var(--thread); }

.qa__item summary{
  display: flex; align-items: center; gap: 16px;
  padding-block: 24px; cursor: pointer; list-style: none;
  font-family: var(--f-head); font-size: 18px; font-weight: 700; line-height: 1.45;
  transition: color .25s var(--ease);
}
.qa__item summary::-webkit-details-marker{ display: none; }
.qa__item summary:hover{ color: var(--venom); }

.qa__item summary::after{
  content: ""; flex: none; margin-inline-start: auto;
  width: 13px; height: 13px;
  /* גבולות פיזיים — לוגיים מתהפכים ב-RTL ומכוונים את החץ שמאלה */
  border-right: 1.8px solid var(--venom);
  border-bottom: 1.8px solid var(--venom);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .3s var(--ease);
}
.qa__item[open] summary::after{ transform: rotate(-135deg) translateY(-3px); }

.qa__body{ overflow: hidden; }
.qa__item[open] .qa__body{ animation: qaOpen .4s var(--ease-out); }
@keyframes qaOpen{
  from{ opacity: 0; transform: translateY(-8px); }
  to{ opacity: 1; transform: none; }
}
.qa__body p{ padding-bottom: 26px; max-width: 66ch; color: var(--silk-dim); }

/* =========================================================
   צור קשר
   ========================================================= */

.contact{ position: relative; padding-block: clamp(90px, 11vw, 150px); overflow: hidden; }

.contact__web{
  position: absolute; inset-block-start: 50%; inset-inline-start: -18%;
  width: 620px; height: 620px; transform: translateY(-50%);
  opacity: .3; pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 50% 50%, var(--thread-lt) 0deg .3deg, transparent .3deg 20deg),
    radial-gradient(circle at 50% 50%, transparent 24%, var(--thread) 24.4%, transparent 24.8%),
    radial-gradient(circle at 50% 50%, transparent 44%, var(--thread) 44.4%, transparent 44.8%),
    radial-gradient(circle at 50% 50%, transparent 66%, var(--thread) 66.4%, transparent 66.8%),
    radial-gradient(circle at 50% 50%, transparent 86%, var(--thread) 86.4%, transparent 86.8%);
  transform: translateY(-50%) rotate(8deg);
}

.contact__grid{
  position: relative;
  display: grid; grid-template-columns: 1fr .92fr;
  gap: clamp(38px, 5vw, 76px); align-items: start;
}

.contact__lead{ margin-top: 20px; max-width: 44ch; color: var(--silk-dim); }

.contact__list{ margin-top: 38px; display: grid; gap: 2px; }
.contact__list li{
  display: flex; align-items: baseline; gap: 16px;
  padding-block: 16px; border-bottom: 1px solid var(--thread);
}
.contact__list span{
  flex: none; width: 78px;
  font-family: var(--f-mono); font-size: 11.5px;
  letter-spacing: .1em; color: var(--silk-fade);
}
.contact__list a{
  font-size: 16.5px;
  background-image: linear-gradient(var(--venom), var(--venom));
  background-size: 0% 1px; background-repeat: no-repeat;
  background-position: right bottom;
  transition: background-size .35s var(--ease-out), color .3s var(--ease);
}
.contact__list a:hover{ color: var(--venom); background-size: 100% 1px; }

/* --- טופס --- */
.form{
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--thread-lt); border-radius: 22px;
  background: rgba(9,13,20,.72);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.fld{ position: relative; }
.fld--full{ grid-column: 1 / -1; }

.fld input,
.fld select,
.fld textarea{
  width: 100%; padding: 22px 16px 10px;
  border: 1px solid var(--thread-lt); border-radius: 12px;
  background: var(--void); color: var(--silk);
  font-family: var(--f-body); font-size: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.fld textarea{ resize: vertical; min-height: 96px; }

/* תווית צפה */
.fld label{
  position: absolute; inset-inline-start: 17px; inset-block-start: 17px;
  font-size: 15px; color: var(--silk-fade); pointer-events: none;
  transition: transform .22s var(--ease), font-size .22s var(--ease), color .22s var(--ease);
  transform-origin: right center;
}
.fld input:focus + label,
.fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label,
.fld textarea:not(:placeholder-shown) + label,
.fld--sel label{
  transform: translateY(-11px); font-size: 11.5px;
  color: var(--venom); letter-spacing: .04em;
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus{
  outline: none; border-color: var(--venom);
  box-shadow: 0 0 0 3px rgba(0,229,160,.12);
}
.fld select option{ background: var(--void); color: var(--silk); }

.fld__err{ display: block; margin-top: 5px; font-size: 13px; color: #FF7A7A; }
.fld.is-bad input{ border-color: #FF7A7A; }

.form .btn{ grid-column: 1 / -1; }
.form__note{
  grid-column: 1 / -1; text-align: center;
  font-size: 13px; color: var(--silk-fade);
}

/* =========================================================
   פוטר
   ========================================================= */

.foot{ border-top: 1px solid var(--thread); background: var(--void-2); }

.foot__marquee{ overflow: hidden; padding-block: 22px; border-bottom: 1px solid var(--thread); }
.foot__row{
  display: flex; align-items: center; gap: 34px; width: max-content;
  animation: slide 40s linear infinite reverse;
}
.foot__row span{
  font-family: var(--f-head); font-size: clamp(28px, 5vw, 52px);
  font-weight: 900; letter-spacing: .04em;
  color: transparent; -webkit-text-stroke: 1px var(--thread-lt);
  white-space: nowrap;
}
.foot__row i{ color: var(--venom); font-size: 16px; font-style: normal; }

.foot__inner{
  padding-block: 30px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 18px; font-size: 14px; color: var(--silk-fade);
}
.foot__brand{ font-family: var(--f-head); font-weight: 700; color: var(--silk); letter-spacing: .04em; }
.foot__brand i{ color: var(--venom); font-style: normal; }
.foot__links{ display: flex; gap: 24px; }
.foot__links a{ transition: color .25s var(--ease); }
.foot__links a:hover{ color: var(--venom); }

/* =========================================================
   וואטסאפ צף
   ========================================================= */

.wa{
  position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 140;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(37,211,102,.7);
  transition: transform .25s var(--ease);
}
.wa:hover{ transform: scale(1.08); }
.wa__ring{
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--wa);
  animation: ripple 2.6s ease-out infinite;
}

/* =========================================================
   חשיפה בגלילה
   ========================================================= */

.reveal{
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease-out);
}
.reveal.is-in{ opacity: 1; transform: none; }
.no-js .reveal{ opacity: 1; transform: none; }

/* =========================================================
   רספונסיב
   ========================================================= */

@media (max-width: 1040px){
  .cards{ grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
  .card__for{ min-height: 0; }
  .contact__grid{ grid-template-columns: 1fr; }
  /* המסלול הופך לאנכי: התחנות זו מתחת לזו, והחץ האופקי
     מתקצר לקו קצר במקום להצביע לתחנה שכבר לא נמצאת שם */
  .beats{ grid-template-columns: 1fr; gap: 30px; }
  .beats-wrap{ padding-top: 0; }
  .beat__head{ margin-bottom: 16px; }
  .beat__badge{ width: 46px; height: 46px; font-size: 13px; }
  .beat__link{ margin-left: 0; max-width: 84px; }
}

@media (max-width: 880px){
  .proj__grid,
  .proj--flip .proj__grid{ grid-template-columns: 1fr; }
  .proj--flip .proj__media{ order: 0; }
  .screen__phone{ width: 116px; left: -14px; inset-block-end: -8px; }
  .proj:hover .tilt,
  .proj--flip:hover .tilt{ transform: none; }

  .burger{ display: flex; }
  .nav__cta{ display: none; }
  .nav__links{
    position: fixed; inset-block-start: var(--nav-h); inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0; padding: 10px 26px 28px;
    background: rgba(5,7,11,.99);
    border-bottom: 1px solid var(--thread);
    transform: translateY(-14px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease-out), visibility .25s;
  }
  .nav__links.is-open{ transform: none; opacity: 1; visibility: visible; }
  .nav__links a{ padding-block: 16px; font-size: 17px; border-bottom: 1px solid var(--thread); }

  /* התהליך — חוט אחד בצד */
  .weave__list::before,
  .weave__list::after{ inset-inline-start: 7px; }
  .knot,
  .knot:nth-child(even){
    width: 100%; margin-inline-start: 0;
    padding-inline: 34px 0; text-align: start;
  }
  .knot:nth-child(odd){ text-align: start; }
  .knot:nth-child(odd) .knot__dot,
  .knot:nth-child(even) .knot__dot{ inset-inline-start: 1px; inset-inline-end: auto; }
}

@media (max-width: 620px){
  body{ font-size: 16.5px; }
  .wrap{ padding-inline: 20px; }
  .hero__stats{ gap: 22px; }
  .hero__stats li{ flex: 1 1 40%; }
  .hero__cta .btn{ width: 100%; }
  .dangle{ inset-inline-end: 24px; }
  .dangle__spider{ width: 28px; height: 24px; }
  .form{ grid-template-columns: 1fr; }
  .foot__inner{ flex-direction: column; text-align: center; }
  .wa{ width: 52px; height: 52px; inset-block-end: 16px; inset-inline-start: 16px; }
}

/* =========================================================
   פחות תנועה — מכבים הכל, משאירים את התוכן
   ========================================================= */

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *,*::before,*::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .intro{ display: none; }
  .ln__i{ transform: none; }
  .reveal{ opacity: 1; transform: none; }
  .webart{ clip-path: none; }
  .proj__num{ opacity: 1; transform: none; }
  .beat h3, .beat p{ opacity: 1; transform: none; }
  .beat__badge{ opacity: 1; transform: none; }
  .beat__line{ transform: scaleX(1); }
  .beat__tip{ opacity: 1; }
  .weave__list::after{ transform: scaleY(1); }
}

