/* =========================================================
   Zeev Liber · Portfolio
   Mobile-first · RTL · Dark premium
   ========================================================= */

:root {
  --bg: #04060c;
  --bg-2: #070c18;
  --navy: #0a1430;
  --surface: rgba(16, 26, 52, 0.55);
  --surface-solid: #0c1426;
  --line: rgba(140, 170, 255, 0.12);
  --line-strong: rgba(140, 170, 255, 0.24);

  --text: #eef2fb;
  --text-2: #b4bfd6;
  --muted: #8592ad;

  --blue: #3b6dff;
  --blue-2: #5b8cff;
  --cyan: #46d7ff;
  --grad: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);

  --serif: "Frank Ruhl Libre", "Times New Roman", serif;
  --sans: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: 20px;
  --max: 1240px;
  --nav-h: 64px;
  /* Motion tokens: ease-out חזק לכניסות ולמשוב, ease-in-out לתנועה על המסך */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --press: 120ms;
  --fast: 180ms;
  --base: 240ms;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8em; direction: ltr; unicode-bidi: isolate; }
::selection { background: rgba(70, 215, 255, .3); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg use { pointer-events: none; }

.skip-link {
  position: fixed; top: 10px; right: 10px; z-index: 200;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  transition: transform var(--fast) var(--ease), box-shadow var(--base) var(--ease), background-color var(--fast) ease, border-color var(--fast) ease;
  white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.btn--primary {
  background: var(--grad); color: #03122b;
  box-shadow: 0 10px 30px -10px rgba(59, 109, 255, .7), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--glass {
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn--primary .ico[aria-hidden] { transition: transform var(--fast) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { box-shadow: 0 16px 40px -12px rgba(70, 215, 255, .7), inset 0 1px 0 rgba(255,255,255,.35); }
  .btn--primary:hover .ico { transform: translateX(-4px); }
  .btn--glass:hover { background-color: rgba(255, 255, 255, .09); border-color: rgba(140, 170, 255, .45); }
}
.btn.is-unavailable, .cbtn.is-unavailable { opacity: .55; }

.link-btn {
  display: inline-flex; align-items: center; gap: .45em;
  min-height: 44px; padding: 0 4px;
  font-weight: 600; font-size: .95rem; color: var(--cyan);
  transition: color var(--fast) ease, transform var(--press) var(--ease);
}
.link-btn .ico { width: 1em; height: 1em; transition: transform var(--fast) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-btn:hover { color: #fff; }
  .link-btn:hover .ico { transform: translateX(-3px); }
}

/* Press feedback: כל רכיב לחיץ מגיב מיד ללחיצה (פעם אחת, במקום אחד) */
.btn:active, .cbtn:active, .link-btn:active, .mini:active, .article__link:active,
.outlet:active, .nav__toggle:active, .viewer__close:active, .mmenu__foot a:active,
.steps__tabs [role="tab"]:active, .nav__links a:active {
  transform: scale(0.97);
  transition-duration: var(--press);
}
.wcard__play:active { transform: translate(-50%, -50%) scale(0.94); transition-duration: var(--press); }
.wcard.is-missing-media .wcard__play:active { transform: translateX(-50%) scale(0.94); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 10, 22, .62);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.nav__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  font: 800 .8rem/1 var(--sans); letter-spacing: .04em; direction: ltr;
  background: linear-gradient(140deg, rgba(59,109,255,.25), rgba(70,215,255,.12));
  border: 1px solid var(--line-strong); color: #cfe6ff;
}
.nav__name { font-size: 1.05rem; }
.nav__links { display: none; }
.nav__toggle {
  position: relative; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.nav__toggle span {
  position: absolute; right: 13px; left: 13px; height: 2px; border-radius: 2px; background: var(--text);
  top: 22px; margin-top: -1px;
  transition: transform var(--base) var(--ease-in-out);
}
/* translateY במקום top: רק transform, בלי layout */
.nav__toggle span:first-child { transform: translateY(-4px); }
.nav__toggle span:last-child { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* כניסה: 220ms עם מדרג קצר. יציאה: 140ms ללא מדרג, כי היציאה צריכה להיות מהירה מהכניסה */
.mmenu {
  position: fixed; inset: 0; z-index: 90;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  background: rgba(4, 7, 15, .95);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity 140ms ease-out;
  overflow-y: auto; overscroll-behavior: contain;
}
.mmenu.is-open { opacity: 1; transition: opacity 220ms var(--ease); }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
  font: 700 clamp(1.6rem, 7vw, 2.2rem)/1.2 var(--serif);
  opacity: 0; transform: translateY(8px);
  transition: opacity 120ms ease-out, transform 120ms ease-out, color var(--fast) ease;
}
.mmenu nav a span { font: 500 .8rem var(--sans); color: var(--cyan); letter-spacing: .1em; }
.mmenu.is-open nav a { opacity: 1; transform: none; transition: opacity 280ms var(--ease), transform 280ms var(--ease), color var(--fast) ease; }
.mmenu.is-open nav a:nth-child(2) { transition-delay: 30ms; }
.mmenu.is-open nav a:nth-child(3) { transition-delay: 60ms; }
.mmenu.is-open nav a:nth-child(4) { transition-delay: 90ms; }
.mmenu.is-open nav a:nth-child(5) { transition-delay: 120ms; }
.mmenu.is-open nav a:nth-child(6) { transition-delay: 150ms; }
.mmenu.is-open nav a:nth-child(7) { transition-delay: 180ms; }
.mmenu nav a:active { color: var(--cyan); }
.mmenu__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mmenu__foot a {
  flex: 1 1 auto; text-align: center; min-height: 48px; display: grid; place-items: center;
  padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: .95rem;
}
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav__toggle, .mmenu { display: none !important; }
  .nav__links { display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .nav__links a { position: relative; padding: 8px 15px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--text-2); transition: color var(--fast) ease, background-color var(--fast) ease, transform var(--press) var(--ease); }
  .nav__links a:hover { color: var(--text); }
  .nav__links a.is-active { color: var(--text); background: rgba(255,255,255,.07); }
  .nav__links .nav__cta { background: var(--grad); color: #03122b; font-weight: 700; margin-inline-start: 6px; }
  .nav__links .nav__cta:hover, .nav__links .nav__cta.is-active { color: #03122b; background: var(--grad); }
}

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: 96px; }
.sec-head { margin-bottom: 44px; max-width: 760px; }
.sec-head--wide { max-width: 980px; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--row { max-width: none; display: grid; gap: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; color: var(--text-2);
}
.eyebrow span { font-variant-numeric: tabular-nums; color: var(--cyan); }
.eyebrow span::after { content: ""; display: inline-block; width: 28px; height: 1px; background: currentColor; vertical-align: middle; margin-inline-start: 12px; opacity: .6; }
.eyebrow--plain { color: var(--cyan); }
.sec-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(2.2rem, 8.5vw, 4rem); line-height: 1.08; letter-spacing: -.01em;
  text-wrap: balance;
}
.sec-title--xl { font-size: clamp(2.6rem, 11vw, 6.2rem); font-weight: 900; }
.sec-sub { margin-top: 18px; font-size: 1.12rem; color: var(--text-2); max-width: 640px; text-wrap: pretty; }
.sec-head--center .sec-sub { margin-inline: auto; }
.sec-head--row .sec-sub { margin-top: 0; }
@media (min-width: 768px) {
  .section { padding-block: 130px; }
  .sec-head { margin-bottom: 64px; }
  .sec-head--row { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 48px; }
}

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 24px) 0 88px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--bg)); }
/* בלי filter: blur: הגרדיאנט הרדיאלי כבר רך, ו-blur(80px) על אלמנט בגודל 60vmax יקר מאוד ב-Safari */
.hero__orb { position: absolute; border-radius: 50%; opacity: .55; will-change: transform; }
.hero__orb--a { width: 60vmax; height: 60vmax; left: -22vmax; top: -18vmax; background: radial-gradient(circle, #1d3fae 0%, transparent 65%); animation: drift-a 22s ease-in-out infinite alternate; }
.hero__orb--b { width: 46vmax; height: 46vmax; right: -16vmax; bottom: -20vmax; background: radial-gradient(circle, #0c6f9c 0%, transparent 65%); opacity: .4; animation: drift-b 26s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-6vmax, -8vmax) scale(1.1); } }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
/* זרקור שעוקב אחרי העכבר: אלמנט קבוע שזז ב-transform בלבד, עם החלקה בסגנון קפיץ ב-JS */
.hero__spot {
  position: absolute; top: 0; left: 0; width: 1000px; height: 1000px; margin: -500px 0 0 -500px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(70, 215, 255, .09), transparent 60%);
  transform: translate3d(70vw, 30vh, 0);
  will-change: transform;
}
.hero__inner { display: grid; gap: 20px; align-items: center; }
.hero__portrait { order: -1; position: relative; display: flex; justify-content: center; }
.hero__text { position: relative; z-index: 1; }
.hero__kicker { direction: rtl; font-size: .82rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; margin-bottom: 14px; }
.hero__title {
  font-family: var(--serif); font-weight: 900;
  font-size: clamp(4rem, 21vw, 10.5rem); line-height: .92; letter-spacing: -.02em;
  display: flex; flex-wrap: wrap; column-gap: .22em;
}
.hero__word { display: inline-block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__word > span { display: inline-block; }
.hero__word:last-child > span {
  background: linear-gradient(110deg, #ffffff 10%, #9fc2ff 55%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.js .hero__word > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .hero__word:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { to { transform: none; } }
.hero__roles { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; font-size: clamp(1.05rem, 4.4vw, 1.35rem); font-weight: 500; letter-spacing: .04em; }
.hero__roles i { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--cyan); }
.hero__lead { margin-top: 22px; max-width: 520px; font-size: 1.12rem; color: var(--text-2); text-wrap: pretty; }
.hero__sub { margin-top: 8px; font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: #cfe0ff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__actions .btn { flex: 1 1 180px; }
.js .reveal-up { opacity: 0; transform: translateY(12px); animation: fadeup 800ms var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .reveal-fade { opacity: 0; transform: scale(.98); animation: fadein 1.2s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeup { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; transform: none; } }

.hero__halo {
  position: absolute; z-index: -1; width: 92%; aspect-ratio: 1; left: 50%; top: 52%; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(59,109,255,.42), rgba(70,215,255,.1) 45%, transparent 70%);
  filter: blur(10px);
}
.hero__halo::before {
  content: ""; position: absolute; inset: 8%; border-radius: 50%;
  border: 1px solid rgba(140, 190, 255, .22);
  box-shadow: inset 0 0 60px rgba(70,215,255,.08);
}
.portrait { position: relative; width: min(100%, 420px); }
.portrait img {
  width: auto; max-width: 100%; height: auto; max-height: 50svh; margin-inline: auto;
  /* שילוב התמונה ברקע: גרדיאנט בתחתית בלבד, ללא חיתוך פרופורציות */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.5));
}

/* Missing media fallback */
.media { position: relative; }
.media__missing { display: none; }
.media.is-missing img { display: none; }
.media.is-missing .media__missing {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 24px; width: 100%; height: 100%;
  color: var(--muted); font-size: .9rem;
  background:
    repeating-linear-gradient(135deg, rgba(140,170,255,.05) 0 2px, transparent 2px 12px),
    linear-gradient(160deg, #0d1a3a, #070d1c);
  border: 1px dashed var(--line-strong); border-radius: inherit;
}
.media__missing code { color: var(--text-2); background: rgba(255,255,255,.05); padding: 3px 8px; border-radius: 6px; }
.portrait.is-missing { aspect-ratio: 4 / 5; border-radius: 28px; width: min(78%, 360px); }
.media__missing-mark {
  font: 900 3.4rem/1 var(--serif); letter-spacing: .02em; direction: ltr;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 6px;
}

.hero__scroll {
  display: none;
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  flex-direction: column; align-items: center; gap: 8px;
  font-size: .75rem; letter-spacing: .2em; color: var(--muted); padding: 6px 12px;
}
.hero__scroll i { width: 22px; height: 36px; border-radius: 12px; border: 1.5px solid var(--line-strong); position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (min-width: 768px) {
  .portrait img { max-height: 62svh; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: 60px; }
  .hero__scroll { display: flex; }
  .hero__inner { grid-template-columns: 1.15fr .85fr; gap: 40px; }
  .hero__portrait { order: 0; }
  .portrait { width: 100%; }
  .portrait img { max-height: 80svh; }
  .hero__actions .btn { flex: 0 0 auto; }
}

/* ---------- Glow card (mouse-tracking) ---------- */
.glow-card {
  position: relative; isolation: isolate;
  background: linear-gradient(170deg, rgba(20, 32, 64, .55), rgba(9, 14, 30, .55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform var(--base) var(--ease), border-color var(--fast) ease, box-shadow var(--base) var(--ease);
}
.glow-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity var(--base) ease;
  background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 50%), rgba(70, 215, 255, .12), transparent 60%);
}
@media (hover: hover) and (pointer: fine) {
  .glow-card:hover { transform: translateY(-4px); border-color: rgba(140, 190, 255, .3); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9), 0 0 40px -20px rgba(70,215,255,.35); }
  .glow-card:hover::before { opacity: 1; }
}

/* ---------- ABOUT ---------- */
.about__layout { display: grid; gap: 8px; }
.about__lead { font-family: var(--serif); font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.45; font-weight: 500; color: var(--text); text-wrap: pretty; }
.about__cols { display: grid; gap: 18px; margin-top: 26px; color: var(--text-2); }
.about__quote {
  margin-top: 34px; padding: 4px 22px 4px 0; border-right: 2px solid; border-image: var(--grad) 1;
  font-family: var(--serif); font-size: clamp(1.15rem, 4vw, 1.4rem); line-height: 1.6; color: #d9e6ff; font-style: italic;
}
.caps { display: grid; gap: 14px; margin-top: 64px; }
.cap { padding: 26px 24px 28px; overflow: hidden; }
.cap__num { position: absolute; top: 20px; left: 22px; font-size: .78rem; color: var(--muted); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.cap__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px;
  background: linear-gradient(140deg, rgba(59,109,255,.22), rgba(70,215,255,.08));
  border: 1px solid rgba(120, 170, 255, .25); color: var(--cyan);
  box-shadow: 0 0 30px -10px rgba(70,215,255,.5);
}
.cap__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cap h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.cap p { color: var(--text-2); font-size: .98rem; line-height: 1.65; }
@media (min-width: 600px) { .caps { grid-template-columns: repeat(2, 1fr); } .cap:last-child { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .about__layout { grid-template-columns: 1fr 2fr; gap: 64px; }
  .about__cols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .caps { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .cap { grid-column: span 2; }
  .cap:nth-child(4), .cap:nth-child(5) { grid-column: span 3; }
  .cap:last-child { grid-column: span 3; }
}

/* ---------- COMMS ---------- */
.comms { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 20%, var(--bg-2) 80%, var(--bg) 100%); }
.comms::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 85% 10%, rgba(59,109,255,.12), transparent 70%);
}
.comms__story { display: grid; gap: 18px; max-width: 920px; font-size: 1.12rem; color: var(--text-2); }
.comms__story p:first-child { color: var(--text); }
.domains { display: grid; gap: 1px; margin-top: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; counter-reset: d; }
.domain { position: relative; padding: 28px 24px; background: var(--bg-2); transition: background-color var(--fast) ease; }
.domain__idx { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-strong); font: 700 .85rem var(--sans); color: var(--cyan); margin-bottom: 16px; direction: ltr; }
.domain h3 { font-size: 1.2rem; margin-bottom: 6px; }
.domain p { color: var(--text-2); font-size: .98rem; }
@media (hover: hover) and (pointer: fine) { .domain:hover { background: #0b1326; } }
@media (min-width: 600px) { .domains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .domains { grid-template-columns: repeat(4, 1fr); } .domain { padding: 34px 28px 38px; } }

/* Results */
.results { margin-top: 96px; }
.results__head { margin-bottom: 28px; }
.results__head .eyebrow { margin-bottom: 8px; }
.results__title { font-family: var(--serif); font-size: clamp(1.8rem, 6vw, 2.8rem); font-weight: 700; line-height: 1.15; }
.results__board { display: grid; gap: 14px; }
.platform {
  position: relative; padding: 26px 24px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(165deg, rgba(18, 30, 62, .7), rgba(7, 12, 26, .7));
  border: 1px solid var(--line);
}
.platform::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -120px; left: -80px; pointer-events: none;
  background: radial-gradient(circle, rgba(59,109,255,.25), transparent 70%);
}
.platform--ig::after { background: radial-gradient(circle, rgba(70,215,255,.2), transparent 70%); }
.platform--x::after { background: radial-gradient(circle, rgba(160,180,230,.16), transparent 70%); }
.platform__label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .85rem; font-weight: 600; color: var(--text-2); }
.platform__stats { display: grid; gap: 22px; margin-top: 22px; }
.stat { display: flex; flex-direction: column-reverse; }
.stat dt { font-size: .95rem; color: var(--text-2); margin-top: 2px; }
.stat dd {
  font-family: var(--sans); font-weight: 800; letter-spacing: -.03em; line-height: 1;
  font-size: clamp(3rem, 15vw, 4.6rem); direction: ltr; text-align: right; font-variant-numeric: tabular-nums;
}
.stat--hero dd {
  font-size: clamp(5rem, 28vw, 9rem);
  background: linear-gradient(120deg, #fff 20%, #a8c6ff 60%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.platform--fb .platform__stats { grid-template-columns: 1fr 1fr; }
.platform--fb .stat--hero { grid-column: 1 / -1; }
.platform--fb .stat:not(.stat--hero) dd { font-size: clamp(2.2rem, 10vw, 3.4rem); }
@media (min-width: 768px) {
  .results__board { grid-template-columns: 1fr 1fr; }
  .platform--fb { grid-column: 1 / -1; padding: 34px; }
  .platform--fb .platform__stats { grid-template-columns: 1.6fr 1fr 1fr; align-items: end; }
  .platform--fb .stat--hero { grid-column: auto; }
  .platform { padding: 30px; }
}

/* ---------- WORKS ---------- */
.works { display: grid; gap: 18px; }
.wcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--surface-solid); border: 1px solid var(--line);
  transition: transform var(--base) var(--ease), border-color var(--fast) ease, box-shadow var(--base) var(--ease);
}
.wcard__media {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #08101f; border-radius: 0;
}
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.wcard__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, rgba(12,20,38,.9), transparent); pointer-events: none; }
.wcard__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform var(--fast) var(--ease), background-color var(--fast) ease;
}
.wcard__play svg { width: 24px; height: 24px; color: #fff; margin-left: 3px; }
.wcard.is-missing-media .wcard__play { top: auto; bottom: 18px; transform: translateX(-50%); width: 54px; height: 54px; }
.wcard__body { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 14px; flex: 1; }
.wcard__type { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); }
.wcard__title { font-family: var(--serif); font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 700; line-height: 1.2; }
.wcard__desc { color: var(--text-2); font-size: .98rem; }
.metrics { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--line); }
.metric { display: flex; flex-direction: column-reverse; }
.metric dt { font-size: .8rem; color: var(--muted); }
.metric dd { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; direction: ltr; text-align: right; }
.metric--lead dd { font-size: 1.6rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wcard__actions { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: auto; padding-top: 4px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 13px; border-radius: 999px; font-size: .85rem; font-weight: 500; color: #cfe0ff; background: rgba(70, 130, 255, .1); border: 1px solid rgba(110, 160, 255, .2); }
.tags--line { gap: 6px 0; }
.tags--line li { background: none; border: 0; padding: 0; color: var(--text-2); }
.tags--line li:not(:last-child)::after { content: "•"; margin-inline: 10px; color: var(--cyan); }
.tags--dense li { font-size: .8rem; padding: 5px 11px; }
@media (hover: hover) and (pointer: fine) {
  .wcard:hover { transform: translateY(-4px); border-color: rgba(140,190,255,.3); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 50px -25px rgba(70,215,255,.4); }
  .wcard:hover .wcard__media img { transform: scale(1.04); }
  .wcard__play:hover { background: rgba(70,215,255,.3); transform: translate(-50%, -50%) scale(1.08); }
  .wcard.is-missing-media .wcard__play:hover { transform: translateX(-50%) scale(1.08); }
}
@media (min-width: 600px) { .works { grid-template-columns: 1fr 1fr; } .wcard--feature { grid-column: 1 / -1; } }
@media (min-width: 600px) and (max-width: 899px) { .wcard--feature .wcard__media { aspect-ratio: 16 / 10; } }
@media (min-width: 900px) {
  .wcard--feature { flex-direction: row; }
  .wcard--feature .wcard__media { flex: 0 0 46%; aspect-ratio: auto; min-height: 520px; }
  .wcard--feature .wcard__media::after { display: none; }
  .wcard--feature .wcard__body { padding: 44px; justify-content: center; gap: 16px; }
  .wcard--feature .wcard__title { font-size: clamp(2rem, 3.4vw, 3rem); }
  .wcard--feature .metric--lead dd { font-size: 3.6rem; }
  .wcard--feature .metric dd { font-size: 1.5rem; }
  .wcard--feature .wcard__actions { margin-top: 12px; }
}
@media (min-width: 1100px) {
  .works { grid-template-columns: repeat(3, 1fr); }
  .wcard--feature { grid-column: 1 / -1; }
  .wcard--feature .wcard__media { flex-basis: 40%; }
}

/* ---------- MEDIA SECTION ---------- */
.flow { display: grid; gap: 10px; counter-reset: f; margin-bottom: 48px; }
.flow li {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-weight: 600; font-size: 1.05rem;
}
.flow li span { font-size: .78rem; color: var(--cyan); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.flow li:last-child { background: linear-gradient(120deg, rgba(59,109,255,.22), rgba(70,215,255,.1)), var(--bg); border-color: rgba(110,170,255,.35); }
@media (min-width: 900px) {
  .flow { grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
  .flow::before { content: ""; position: absolute; top: 50%; right: 4%; left: 4%; height: 1px; background: linear-gradient(90deg, var(--cyan), var(--line-strong)); z-index: -1; }
  .flow li { flex-direction: column; align-items: flex-start; gap: 4px; margin-inline: 8px; background: var(--bg); }
}
.outlets { display: grid; gap: 14px; }
.outlet { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; min-height: 220px; }
.outlet__type { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 500; }
.outlet__name { font-family: var(--serif); font-weight: 900; font-size: clamp(2.6rem, 10vw, 4rem); line-height: 1; margin-top: auto; }
.outlet__cta { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 600; margin-top: 8px; }
@media (min-width: 768px) { .outlets { grid-template-columns: 1fr 1fr; max-width: 980px; margin-inline: auto; } .outlet { padding: 34px; min-height: 260px; } }

/* ---------- WRITING ---------- */
.articles { border-top: 1px solid var(--line-strong); }
.article {
  display: grid; gap: 14px; padding: 30px 0; border-bottom: 1px solid var(--line-strong);
  grid-template-columns: auto 1fr; grid-template-areas: "num main" "stats stats" "link link";
}
.article__num { grid-area: num; font: 900 1.6rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(140, 190, 255, .5); padding-top: 4px; min-width: 40px; }
.article__main { grid-area: main; }
.article__type { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.article h3 { font-family: var(--serif); font-size: clamp(1.45rem, 5.4vw, 2.2rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.article__desc { margin-top: 8px; color: var(--text-2); max-width: 620px; }
.article__stats { grid-area: stats; display: flex; gap: 22px; }
.article__stats div { display: flex; flex-direction: column-reverse; }
.article__stats dt { font-size: .78rem; color: var(--muted); }
.article__stats dd { font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.article__link { grid-area: link; justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: .95rem; transition: background-color var(--fast) ease, border-color var(--fast) ease, color var(--fast) ease, transform var(--press) var(--ease); }
@media (hover: hover) and (pointer: fine) { .article__link:hover { background-color: var(--cyan); color: #03122b; border-color: transparent; } }
@media (min-width: 900px) {
  .article { grid-template-columns: 70px 1fr auto auto; grid-template-areas: "num main stats link"; align-items: center; gap: 32px; padding: 38px 0; }
  .article__num { font-size: 2.4rem; }
}

/* ---------- IDF ---------- */
.idf__panel {
  display: grid; gap: 40px; padding: 34px 22px; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(14, 26, 56, .85), rgba(6, 10, 22, .9));
  border: 1px solid var(--line);
}
.idf__panel::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(59,109,255,.22), transparent 70%); pointer-events: none; }
.idf__text { position: relative; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.idf__text .eyebrow { margin-bottom: 0; }
.idf__text .sec-title { font-size: clamp(1.9rem, 7vw, 3rem); }
.idf__org { font-weight: 600; color: var(--cyan); margin-top: -8px; }
.idf__text > p:not(.eyebrow):not(.idf__org) { color: var(--text-2); }
.idf__text .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 12px; }
.idf__side { position: relative; display: grid; gap: 28px; }
.idf__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.idf__stats div { display: flex; flex-direction: column; padding: 18px 12px; border-radius: 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); text-align: center; }
.idf__stats dd { font-weight: 800; font-size: clamp(1.4rem, 6.5vw, 2.4rem); line-height: 1.1; direction: ltr; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.idf__stats dt { font-size: .82rem; color: var(--text-2); margin-top: 4px; }
.idf__works-title { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: .06em; margin-bottom: 12px; }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.mini {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; min-height: 104px; border-radius: 16px; text-align: right;
  background: linear-gradient(160deg, rgba(59,109,255,.14), rgba(255,255,255,.02)); border: 1px solid var(--line);
  transition: border-color var(--fast) ease, transform var(--fast) var(--ease);
}
.mini .ico { width: 22px; height: 22px; color: var(--cyan); margin-bottom: auto; }
.mini span { font-weight: 700; font-size: 1.02rem; margin-top: 12px; }
.mini em { font-style: normal; font-size: .8rem; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .mini:hover { border-color: rgba(140,190,255,.4); transform: translateY(-3px); background: linear-gradient(160deg, rgba(59,109,255,.24), rgba(255,255,255,.03)); } }
@media (min-width: 600px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .idf__panel { grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 64px; align-items: center; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- PROJECTS ---------- */
.project--main { display: grid; gap: 44px; align-items: center; }
.projects { overflow-x: clip; }
.project__visual { position: relative; }
.device-stage { position: relative; padding: 0 0 40px 0; }
.device-stage::before { content: ""; position: absolute; inset: 0 -5% -10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(59,109,255,.3), transparent); z-index: -1; }
.laptop { width: 86%; margin-inline: auto 5%; }
.laptop__screen {
  padding: 2.2% 2.2% 0; border-radius: 14px 14px 0 0; background: #11151f;
  border: 1px solid rgba(255,255,255,.12); border-bottom: 0; box-shadow: var(--shadow);
}
.laptop__screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px 4px 0 0; }
.laptop__base { height: 14px; margin-inline: -5%; border-radius: 0 0 14px 14px; background: linear-gradient(#2a3040, #151925); box-shadow: 0 20px 30px -10px rgba(0,0,0,.7); position: relative; }
.laptop__base::before { content: ""; position: absolute; top: 0; left: 42%; right: 42%; height: 5px; border-radius: 0 0 6px 6px; background: #0b0e15; }
.phone {
  position: absolute; left: 0; bottom: 0; width: 22%; min-width: 84px;
  padding: 2.4%; border-radius: 22px; background: #0d1018; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 50px -15px rgba(0,0,0,.85), 0 0 0 4px #1b2030;
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 16px; }
.project__kicker { font-size: .88rem; font-weight: 600; color: var(--cyan); letter-spacing: .04em; }
.project__title { font-family: var(--serif); font-weight: 900; font-size: clamp(3.2rem, 15vw, 6rem); line-height: 1; margin: 8px 0 22px; }
.project__title--sm { font-size: clamp(1.8rem, 6vw, 2.4rem); font-weight: 700; margin: 6px 0 4px; }
.project__copy { display: grid; gap: 14px; color: var(--text-2); }
.project__copy p:first-child { color: var(--text); font-size: 1.12rem; }
.pipeline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 22px; }
.pipeline li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.pipeline li:not(:last-child)::after { content: ""; width: 10px; height: 10px; margin-inline-start: 8px; margin-inline-end: -4px; border-left: 1.5px solid var(--cyan); border-bottom: 1.5px solid var(--cyan); transform: rotate(45deg); }
.project--main .tags { margin-bottom: 28px; }
.project--secondary { display: grid; gap: 30px; margin-top: 80px; padding: 26px 22px; align-items: center; }
.project--secondary .project__info { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.project--secondary .project__info > p:not(.project__kicker):not(.project__subtitle) { color: var(--text-2); font-size: .98rem; }
.project__subtitle { color: var(--text-2); font-weight: 500; margin-bottom: 4px; }
.project--secondary .tags { margin: 6px 0 10px; }
.browser { border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #11151f; box-shadow: var(--shadow); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #161b27; direction: ltr; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a4154; }
.browser__bar span { margin-inline-start: 10px; font-size: .72rem; color: var(--muted); background: #0d111a; padding: 3px 12px; border-radius: 6px; flex: 1; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.projects__summary {
  margin-top: 56px; padding: 28px 24px; border-radius: var(--radius); text-align: center;
  font-family: var(--serif); font-size: clamp(1.15rem, 4.2vw, 1.6rem); line-height: 1.55; color: #dce8ff;
  background: linear-gradient(120deg, rgba(59,109,255,.14), rgba(70,215,255,.06));
  border: 1px solid rgba(110,170,255,.25); text-wrap: balance;
}
@media (min-width: 1024px) {
  .project--main { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .project--secondary { grid-template-columns: 1fr 1fr; gap: 48px; padding: 40px; max-width: 1040px; margin-inline: auto; margin-top: 110px; }
  .projects__summary { padding: 36px 56px; }
}

/* ---------- PROCESS ---------- */
.steps { display: grid; gap: 16px; }
.steps__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.steps__tabs [role="tab"] {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: right;
  min-height: 72px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  font-weight: 700; font-size: 1.02rem; color: var(--text-2);
  transition: background-color var(--fast) ease, border-color var(--fast) ease, color var(--fast) ease, transform var(--press) var(--ease);
}
.steps__tabs [role="tab"] span { font-size: .78rem; color: var(--muted); font-weight: 600; letter-spacing: .1em; }
.steps__tabs [role="tab"][aria-selected="true"] { color: var(--text); border-color: rgba(110,170,255,.45); background: linear-gradient(140deg, rgba(59,109,255,.2), rgba(70,215,255,.06)); }
.steps__tabs [role="tab"][aria-selected="true"] span { color: var(--cyan); }
@media (hover: hover) and (pointer: fine) { .steps__tabs [role="tab"]:hover { color: var(--text); border-color: var(--line-strong); } }
.steps__panels { position: relative; min-height: 260px; padding: 34px 26px; border-radius: 24px; overflow: hidden; background: linear-gradient(160deg, rgba(16,28,58,.8), rgba(6,10,22,.8)); border: 1px solid var(--line); }
.steps__progress { position: absolute; top: 0; right: 0; left: 0; height: 2px; background: var(--line); }
/* scaleX במקום width; העוגן בצד ימין כי האתר RTL */
.steps__progress i { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(.25); transform-origin: right center; transition: transform 320ms var(--ease-in-out); }
.steps__panel { position: relative; }
/* מעבר קצר בין שלבים; בניווט מקלדת אין אנימציה בכלל */
.steps__panel:not([hidden]) { animation: panel-in 220ms var(--ease); }
[data-steps].is-keyboard .steps__panel { animation: none; }
[data-steps].is-keyboard .steps__progress i { transition: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.steps__big { position: absolute; top: -30px; left: -6px; font: 900 clamp(7rem, 30vw, 13rem)/1 var(--serif); color: transparent; -webkit-text-stroke: 1px rgba(120, 170, 255, .18); pointer-events: none; }
.steps__panel h3 { position: relative; font-family: var(--serif); font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 900; margin-bottom: 14px; }
.steps__panel p { position: relative; max-width: 560px; font-size: 1.15rem; color: var(--text-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: 340px 1fr; gap: 24px; }
  .steps__tabs { grid-template-columns: 1fr; }
  .steps__tabs [role="tab"] { flex-direction: row; align-items: center; gap: 16px; min-height: 76px; padding: 0 22px; font-size: 1.15rem; }
  .steps__panels { min-height: 340px; padding: 56px; display: flex; align-items: flex-end; }
}

/* ---------- TIMELINE ---------- */
.timeline { position: relative; padding-right: 30px; max-width: 900px; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; right: 7px; width: 2px; background: var(--line); border-radius: 2px; }
/* scaleY במקום height: הקו מתמלא בלי layout בכל פריים של גלילה */
.timeline::after { content: ""; position: absolute; top: 8px; bottom: 8px; right: 7px; width: 2px; background: linear-gradient(180deg, var(--blue), var(--cyan)); border-radius: 2px; box-shadow: 0 0 12px rgba(70,215,255,.6); transform: scaleY(var(--tl-p, 0)); transform-origin: top center; }
.tl { position: relative; padding-bottom: 22px; }
.tl:last-child { padding-bottom: 0; }
.tl__dot { position: absolute; right: -30px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); z-index: 1; }
.tl--current .tl__dot { border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(70,215,255,.12), 0 0 18px rgba(70,215,255,.6); }
.tl__card { padding: 24px 22px; border-radius: var(--radius); background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.tl--current .tl__card { background: linear-gradient(160deg, rgba(20,34,70,.75), rgba(8,13,28,.75)); border-color: rgba(110,170,255,.28); }
.tl__date { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--cyan); margin-bottom: 8px; }
/* פעימה דרך transform+opacity של pseudo-element, לא box-shadow שמצייר מחדש בכל פריים */
.live { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--cyan); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(2.6); opacity: 0; } }
.tl h3 { font-size: clamp(1.25rem, 4.6vw, 1.6rem); font-weight: 700; line-height: 1.3; }
.tl__org { color: var(--text-2); font-weight: 500; margin: 2px 0 12px; }
.tl__card > p:last-of-type:not(.tl__org) { color: var(--text-2); font-size: .98rem; }
.tl__more { margin-top: 16px; }
.tl__more summary {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--cyan);
}
.tl__more summary::-webkit-details-marker { display: none; }
.tl__more summary::after { content: ""; width: 8px; height: 8px; border-left: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg) translateY(-2px); transition: transform var(--base) var(--ease-in-out); }
.tl__more[open] .tags { animation: fadeup 260ms var(--ease) both; }
.tl__more[open] summary::after { transform: rotate(135deg) translateY(-2px); }
.tl__more .tags { margin-top: 10px; }
@media (min-width: 768px) {
  .timeline { padding-right: 48px; }
  .tl__dot { right: -48px; }
  .tl__card { padding: 30px 32px; }
  .tl { padding-bottom: 26px; }
}

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; padding-bottom: 110px; }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 100%, rgba(59,109,255,.28), transparent 70%), radial-gradient(40% 40% at 20% 30%, rgba(70,215,255,.08), transparent 70%); }
.contact__inner { text-align: center; }
.contact__title {
  font-family: var(--serif); font-weight: 900; font-size: clamp(3.6rem, 18vw, 9rem); line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #8fb2ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.contact__sub { margin: 20px auto 0; max-width: 560px; font-size: 1.15rem; color: var(--text-2); text-wrap: balance; }
.contact__actions { display: grid; gap: 12px; margin: 48px auto 0; max-width: 980px; text-align: right; }
.cbtn {
  display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 20px; border-radius: 18px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-strong);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: transform var(--fast) var(--ease), background-color var(--fast) ease, border-color var(--fast) ease;
  -webkit-user-select: none; user-select: none;
}
.cbtn .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(70,130,255,.14); color: var(--cyan); stroke-width: 1.6; }
.cbtn span { display: flex; flex-direction: column; min-width: 0; }
.cbtn strong { font-weight: 700; font-size: 1.02rem; }
.cbtn em { font-style: normal; font-size: .88rem; color: var(--text-2); overflow-wrap: anywhere; text-align: right; }
.cbtn--wa { background: var(--grad); border-color: transparent; color: #03122b; }
.cbtn--wa .ico { background: rgba(3, 18, 43, .14); color: #03122b; }
.cbtn--wa em { color: rgba(3, 18, 43, .75); }
@media (hover: hover) and (pointer: fine) {
  .cbtn:hover { transform: translateY(-3px); background-color: rgba(255,255,255,.08); border-color: rgba(140,190,255,.45); }
  .cbtn--wa:hover { background-color: transparent; box-shadow: 0 16px 40px -16px rgba(70,215,255,.6); }
}
@media (min-width: 600px) { .contact__actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact__actions { grid-template-columns: repeat(4, 1fr); } .cbtn { flex-direction: column; align-items: flex-start; min-height: 150px; padding: 22px; } }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 26px 0 calc(26px + env(safe-area-inset-bottom)); color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer strong { color: var(--text); }

/* ---------- VIEWER (dialog) ---------- */
.viewer {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 1px solid var(--line-strong);
  border-radius: 22px; background: #0a1122; color: var(--text); overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,.9);
}
/* מודאל: נשאר ממורכז (transform-origin center), כניסה 260ms, יציאה מיידית */
.viewer[open] { display: flex; flex-direction: column; animation: pop 260ms var(--ease); }
.viewer[open]::backdrop { animation: fadein 200ms ease-out; }
.viewer::backdrop { background: rgba(2, 4, 10, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 12px; padding-inline-start: 20px; border-bottom: 1px solid var(--line); }
.viewer__head h2 { font-size: 1rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.viewer__close { transition: background-color var(--fast) ease, transform var(--press) var(--ease); }
@media (hover: hover) and (pointer: fine) { .viewer__close:hover { background-color: rgba(255,255,255,.06); } }
.viewer__body { flex: 1; overflow: auto; background: #fff; min-height: 200px; }
.viewer__body iframe { display: block; width: 100%; height: min(72svh, 760px); border: 0; background: #fff; }
.viewer__body video { display: block; width: 100%; max-height: 72svh; background: #000; }
.viewer__body.is-video { background: #000; }
.viewer__foot { padding: 6px 18px; border-top: 1px solid var(--line); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 300; bottom: calc(20px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 20px);
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 14px; background: #121c36; border: 1px solid var(--line-strong);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity 160ms ease-out, transform 160ms ease-out;
}
/* כניסה ויציאה מאותו כיוון; היציאה מהירה מהכניסה */
.toast.is-show { opacity: 1; transform: translate(-50%, 0); transition: opacity 300ms var(--ease), transform 300ms var(--ease); }
.toast code { color: var(--cyan); }

/* =========================================================
   Elevation pass
   פחות "סימני AI", יותר כיוון: היררכיה דרך משקל וגודל,
   לא דרך תוויות, גרדיאנטים בטקסט או כרטיסים זהים.
   ========================================================= */

/* Browser surfaces: גם מה שלא ציירנו שייך לעיצוב */
html { accent-color: var(--cyan); scrollbar-color: #22325a var(--bg); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1d2b4f; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #2b3f72; }
body { caret-color: var(--cyan); }

/* כותרות בלי תוויות מעליהן: הכותרת נושאת את המשקל לבד */
.sec-title { font-size: clamp(2.3rem, 8.6vw, 4.6rem); letter-spacing: -.015em; }
.sec-title--xl { font-size: clamp(2.8rem, 11vw, 6rem); }
.sec-head { margin-bottom: 40px; }
@media (min-width: 768px) { .sec-head { margin-bottom: 72px; } }

/* ---------- HERO: פורטרט ברוחב מלא, כמו שער מגזין ---------- */
.hero { display: flex; flex-direction: column; justify-content: flex-start; padding: 0 0 64px; min-height: 100svh; }
.hero__inner { display: block; position: relative; z-index: 2; margin-top: -4svh; }
.hero__portrait {
  order: -1; position: relative; width: 100%; height: 60svh; min-height: 380px; margin: 0; overflow: hidden;
}
.hero__portrait img, .portrait img {
  width: 100%; height: 100%; max-height: none; max-width: none; margin: 0; border-radius: 0; filter: none;
  object-fit: cover; object-position: 50% 58%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}
.portrait:not(.is-missing) img { border-radius: 0; }
/* קריאות הניווט מעל השמיים הבהירים + שילוב עדין של התאורה ברקע הכהה */
.hero__portrait:not(.is-missing)::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 28%; pointer-events: none; background: linear-gradient(to bottom, rgba(4,6,12,.6), rgba(4,6,12,0)); }
.hero__portrait img { filter: saturate(.94) brightness(.92); }
.hero__portrait.is-missing { width: auto; height: 50svh; margin: calc(var(--nav-h) + 16px) var(--gutter) 0; border-radius: 24px; aspect-ratio: auto; }
/* הרגע המרכזי של הדף: התמונה נחשפת מלמטה למעלה */
.js .hero__portrait img { animation: portrait-in 1.4s var(--ease) both; }
@keyframes portrait-in { from { clip-path: inset(100% 0 0 0); transform: scale(1.06); } to { clip-path: inset(0 0 0 0); transform: none; } }

.hero__title { font-size: clamp(4.2rem, 21vw, 8.5rem); letter-spacing: -.03em; line-height: .9; }
.hero__word:last-child > span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); }
.hero__dot { font-weight: 900; color: var(--cyan); }
.hero__roles { margin-top: 20px; gap: 14px; color: var(--text); }
.hero__roles i { width: 5px; height: 5px; background: var(--cyan); box-shadow: none; }
.hero__lead { font-size: 1.15rem; max-width: 30ch; }
.hero__actions { margin-top: 30px; }
.hero__orb--a { opacity: .45; }

@media (min-width: 1024px) {
  .hero { flex-direction: row; align-items: center; padding: calc(var(--nav-h) + 32px) 0 72px; min-height: max(100svh, 680px); }
  .hero__inner { margin-top: 0; }
  .hero__text { max-width: 54%; }
  .hero__portrait {
    position: absolute; inset: 0 auto 0 0; width: 47%; height: auto; min-height: 0; order: 0;
  }
  .hero__portrait img {
    object-position: 50% 55%;
    -webkit-mask-image: linear-gradient(to right, #000 58%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent 100%);
    mask-image: linear-gradient(to right, #000 58%, transparent 100%), linear-gradient(to bottom, #000 70%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .hero__lead { max-width: 34ch; font-size: 1.2rem; }
}

/* ---------- ABOUT: ציטוט בלי פס צבעוני, תחומים כרשימה טיפוגרפית ---------- */
.about__quote { border: 0; padding: 0; position: relative; padding-top: 34px; max-width: 46ch; }
.about__quote::before { content: "״"; position: absolute; top: -6px; right: 0; font: 900 3.4rem/1 var(--serif); color: var(--cyan); }

.caps { display: block; margin-top: 80px; border-top: 1px solid var(--line-strong); }
.cap {
  position: relative; display: grid; grid-template-columns: 44px 1fr; grid-template-areas: "icon title" "icon desc";
  column-gap: 18px; row-gap: 6px; padding: 26px 4px; border-bottom: 1px solid var(--line); overflow: visible;
}
.cap::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(to left, rgba(59,109,255,.10), rgba(59,109,255,0) 70%);
  transition: opacity var(--base) ease;
}
.cap .cap__icon {
  grid-area: icon; width: 44px; height: 44px; margin: 4px 0 0; border-radius: 12px; align-self: start;
  background: none; border: 1px solid var(--line-strong); box-shadow: none; color: var(--text-2);
  transition: color var(--fast) ease, border-color var(--fast) ease, transform var(--base) var(--ease);
}
.cap .cap__icon svg { width: 22px; height: 22px; }
.cap .cap__title { grid-area: title; margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.55rem, 5.6vw, 2.5rem); line-height: 1.15; }
.cap .cap__desc { grid-area: desc; margin: 0; color: var(--text-2); font-size: 1rem; max-width: 52ch; }
@media (min-width: 900px) {
  .cap { grid-template-columns: 56px minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "icon title desc"; align-items: center; column-gap: 32px; padding: 34px 8px; }
  .cap .cap__icon { margin: 0; align-self: center; }
}
@media (hover: hover) and (pointer: fine) {
  .cap:hover::before { opacity: 1; }
  .cap:hover .cap__icon { color: var(--cyan); border-color: rgba(70,215,255,.45); transform: translateX(-4px); }
}

/* ---------- COMMS: פס דק במקום תגי אותיות ---------- */
.domain::before { content: ""; display: block; width: 28px; height: 2px; border-radius: 2px; background: var(--cyan); margin-bottom: 22px; }

/* ---------- RESULTS: פס עריכתי במקום קופסאות ---------- */
.results__board { gap: 0; border-top: 1px solid var(--line-strong); }
.platform { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 30px 0; overflow: visible; }
.platform::after { display: none; }
.platform__label { border: 0; padding: 0; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.platform__label .ico { color: var(--cyan); }
.stat--hero dd {
  background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text);
  font-size: clamp(6rem, 32vw, 11rem); letter-spacing: -.04em;
}
.stat dd { letter-spacing: -.035em; }
@media (min-width: 768px) {
  .platform--fb { padding: 40px 0; }
  .platform--ig { padding-inline-end: 40px; border-inline-end: 1px solid var(--line); }
  .platform--x { padding-inline-start: 40px; }
  .platform--ig, .platform--x { padding-block: 36px; }
}

/* ---------- טקסט בגרדיאנט: מוחלף בצבע אחיד ---------- */
.metric--lead dd { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--cyan); }
.contact__title { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--text); }

/* ---------- זכוכית רק איפה שיש לה תפקיד (ניווט, תפריט, כפתור על תמונה) ---------- */
.glow-card, .cbtn { backdrop-filter: none; -webkit-backdrop-filter: none; }
.glow-card { background: linear-gradient(170deg, #0f1a33, #0a1225); }

/* ---------- WORKS ---------- */
.wcard__play { width: 56px; height: 56px; }
.wcard--feature .metric--lead dd { font-size: clamp(2.6rem, 4.6vw, 4rem); letter-spacing: -.035em; }

/* ---------- WRITING: בלי מספור דקורטיבי ---------- */
.article { grid-template-columns: 1fr; grid-template-areas: "main" "stats" "link"; }
@media (min-width: 900px) { .article { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "main stats link"; } }

/* ---------- MEDIA FLOW ---------- */
.flow li { font-size: 1.02rem; }
@media (min-width: 900px) { .flow li { align-items: center; text-align: center; justify-content: center; min-height: 64px; } }

/* ---------- Reduced motion ---------- */
/* פחות תנועה, לא אפס תנועה: נשארים מעברי שקיפות וצבע, נעלמות כל תזוזות המיקום */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__orb, .hero__scroll i::after, .live::after { animation: none; }
  .js .reveal { transform: none; transition: opacity 300ms ease; }
  .js .reveal-up, .js .reveal-fade { transform: none; animation: fadein 300ms ease forwards; }
  .js .hero__word > span { transform: none; animation: none; }
  .js .hero__portrait img { animation: none; }
  .steps__panel:not([hidden]), .tl__more[open] .tags { animation: fadein 200ms ease; }
  .viewer[open] { animation: fadein 160ms ease; }
  .mmenu nav a { transform: none; }
  .btn:hover, .cbtn:hover, .glow-card:hover, .wcard:hover, .mini:hover,
  .wcard:hover .wcard__media img, .btn--primary:hover .ico, .link-btn:hover .ico { transform: none; }
  .btn:active, .cbtn:active, .link-btn:active, .mini:active, .article__link:active,
  .outlet:active, .nav__toggle:active, .viewer__close:active, .steps__tabs [role="tab"]:active { transform: none; }
  .toast, .toast.is-show { transform: translate(-50%, 0); }
}
.wcard--reel .wcard__media img { object-position: center 30%; }
.viewer__body img { display: block; width: 100%; max-height: 74svh; object-fit: contain; background: #000; }

/* ---------- AI FILM: רגע קולנועי ברוחב מלא ---------- */
.aifilm { display: grid; gap: 26px; margin-top: 96px; }
.aifilm__title { font-family: var(--serif); font-weight: 900; font-size: clamp(2.6rem, 11vw, 5.4rem); line-height: 1; letter-spacing: -.02em; }
.aifilm__sub { margin-top: 14px; color: var(--text-2); font-size: 1.1rem; max-width: 40ch; }
.aifilm .tags { margin-top: 18px; }
.aifilm__frame {
  position: relative; border-radius: 20px; overflow: hidden; background: #000;
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line-strong);
}
.aifilm__video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; object-fit: cover; }
.aifilm__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform var(--fast) var(--ease), background-color var(--fast) ease, opacity var(--fast) ease;
}
.aifilm__play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.aifilm__play:active { transform: scale(.94); transition-duration: var(--press); }
.aifilm.is-playing .aifilm__play { opacity: 0; pointer-events: none; }
@media (hover: hover) and (pointer: fine) { .aifilm__play:hover { background-color: rgba(70,215,255,.3); transform: scale(1.06); } }
@media (min-width: 1024px) {
  .aifilm { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); align-items: end; gap: 56px; margin-top: 130px; }
  .aifilm__text { padding-bottom: 12px; }
}

/* ---------- Projects: נחש את השחקן מעל המנדט, בהרכב הפוך כדי לא לחזור על אותו קצב ---------- */
.project--sport { margin-bottom: 110px; }
.project__stats { display: flex; flex-wrap: wrap; gap: 0; margin: 26px 0 22px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.project__stats div { display: flex; flex-direction: column; padding: 16px 22px 14px 0; margin-inline-end: 22px; }
.project__stats div + div { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.project__stats div:first-child { padding-inline-start: 0; }
.project__stats dd { font-weight: 800; font-size: clamp(1.7rem, 6vw, 2.4rem); line-height: 1.05; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.project__stats div:first-child dd { color: var(--cyan); }
.project__stats dt { font-size: .85rem; color: var(--text-2); margin-top: 4px; }
.project--sport .tags { margin-bottom: 28px; }
@media (min-width: 1024px) {
  .project--main { margin-bottom: 0; }
  .project--sport { margin-bottom: 140px; }
  .project--flip .project__visual { order: 2; }
}
/* ארבעה נתונים: 2x2 בטלפון, שורה אחת מ-600px */
.project__stats { display: grid; grid-template-columns: 1fr 1fr; }
.project__stats div, .project__stats div + div, .project__stats div:first-child { margin: 0; padding: 16px 18px 14px; border-inline-start: 0; }
.project__stats div:nth-child(even) { border-inline-start: 1px solid var(--line); }
.project__stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
.project__stats div:first-child dd, .project__stats div:nth-child(2) dd { color: var(--cyan); }
@media (min-width: 600px) {
  .project__stats { grid-template-columns: repeat(4, auto); justify-content: start; }
  .project__stats div:nth-child(n+3) { border-top: 0; }
  .project__stats div + div { border-inline-start: 1px solid var(--line); }
  .project__stats div:first-child { padding-inline-start: 0; }
}
.project__stats dd { direction: ltr; unicode-bidi: isolate; text-align: right; }

/* ---------- תמונת הפתיחה החדשה: הפנים בשליש העליון ---------- */
.hero__portrait img { object-position: 50% 22%; }
@media (min-width: 1024px) { .hero__portrait img { object-position: 50% 20%; } }

/* ---------- שמירה באנשי הקשר ---------- */
.contact__save {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 22px; padding: 0 22px;
  border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--text-2); font-weight: 600; font-size: .95rem;
  transition: color var(--fast) ease, border-color var(--fast) ease, transform var(--press) var(--ease);
}
.contact__save .ico { color: var(--cyan); }
.contact__save:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .contact__save:hover { color: var(--text); border-color: rgba(70,215,255,.5); } }

/* ---------- וואטסאפ צף (טלפון בלבד) ---------- */
.wa-float {
  position: fixed; z-index: 80; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #06301a;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.15) inset;
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}
.wa-float .ico { width: 28px; height: 28px; stroke-width: 1.7; }
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; transition: opacity 260ms var(--ease), transform 260ms var(--ease); }
.wa-float:active { transform: scale(.94); transition-duration: var(--press); }
body.menu-open .wa-float { opacity: 0; pointer-events: none; }
@media (min-width: 1024px) { .wa-float { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float, .wa-float.is-visible { transform: none; } }
@media (max-width: 480px) { .hero__roles { gap: 8px; font-size: clamp(.9rem, 4.1vw, 1.05rem); letter-spacing: .01em; } .hero__roles i { width: 4px; height: 4px; } }

/* ---------- CASE STUDY: ציר אופקי, פס תוצאות, ורגע אנושי ---------- */
.case { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 30%, var(--bg-2) 70%, var(--bg) 100%); }
.case__steps { display: grid; gap: 0; position: relative; counter-reset: cs; }
.case__step { position: relative; padding: 0 30px 34px 0; counter-increment: cs; }
.case__step::before {
  content: counter(cs); position: absolute; right: 0; top: 2px; transform: translateX(50%);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; z-index: 1;
  background: var(--bg-2); border: 1.5px solid var(--cyan); color: var(--cyan); font: 700 .78rem/1 var(--sans);
}
.case__step::after { content: ""; position: absolute; right: 0; top: 28px; bottom: 0; width: 1px; background: var(--line-strong); }
.case__step:last-child::after { display: none; }
.case__step h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2rem); line-height: 1.15; margin-bottom: 8px; padding-inline-start: 6px; }
.case__step p { color: var(--text-2); max-width: 40ch; padding-inline-start: 6px; }
@media (min-width: 900px) {
  .case__steps { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .case__step { padding: 46px 0 0; }
  .case__step::before { right: 0; top: 0; transform: none; }
  .case__step::after { right: 34px; left: -28px; top: 13px; bottom: auto; width: auto; height: 1px; }
  .case__step:last-child::after { display: none; }
  .case__step h3, .case__step p { padding-inline-start: 0; }
}

.case__result { display: grid; gap: 28px; margin-top: 64px; align-items: stretch; }
.case__numbers { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-strong); }
.case__numbers div { padding: 22px 0 18px; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.case__numbers div:nth-child(even) { border-inline-start: 1px solid var(--line); padding-inline-start: 22px; }
.case__numbers dd { font-weight: 800; font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: 1; letter-spacing: -.035em; direction: ltr; unicode-bidi: isolate; text-align: right; font-variant-numeric: tabular-nums; }
.case__numbers div:first-child dd { color: var(--cyan); }
.case__numbers dt { color: var(--text-2); font-size: .92rem; margin-top: 6px; }
.case__moment {
  margin: 0; padding: 30px 28px; border-radius: var(--radius); display: flex; flex-direction: column; justify-content: center; gap: 14px;
  background: linear-gradient(160deg, #0f1a33, #0a1225); border: 1px solid var(--line);
}
.case__moment blockquote { margin: 0; position: relative; padding-top: 30px; }
.case__moment blockquote::before { content: "״"; position: absolute; top: -8px; right: 0; font: 900 3.2rem/1 var(--serif); color: var(--cyan); }
.case__moment p { font-family: var(--serif); font-size: clamp(1.25rem, 4.4vw, 1.55rem); line-height: 1.5; color: var(--text); }
.case__moment figcaption { color: var(--muted); font-size: .9rem; }
.case__takeaway { margin-top: 48px; max-width: 46ch; font-family: var(--serif); font-size: clamp(1.3rem, 4.6vw, 1.9rem); line-height: 1.45; color: #dce8ff; text-wrap: balance; }
@media (min-width: 1024px) {
  .case__result { grid-template-columns: 1.2fr 1fr; gap: 48px; margin-top: 80px; }
  .case__numbers { align-content: center; }
}
