/* ============================================================
   DANIEL YOSEF ABDU · PORTFOLIO · v2
   שפה: נייבי עמוק, זהב כקו וכהדגשה, כחול המותג לפעולה.
   הגרדיאנט כחול-סגול חי רק בלוגו עצמו.
   כותרות: Fb Reissfeder (פונט המותג). ממשק: Rubik. טקסט: Heebo.
   ============================================================ */

@font-face {
  font-family: 'FbReissfeder';
  src: url('../assets/fonts/FbReissfeder-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --navy-950: #04061a;
  --navy-900: #070c26;
  --navy-800: #0b1340;
  --navy-700: #10205f;
  --navy:        #022775;
  --purple-deep: #381883;
  --purple:      #8c30fe;
  --blue:        #2a66e0;
  --sky:         #6aabfb;
  --sky-light:   #c9defb;
  --gold:        #ffde59;
  --gold-deep:   #f2b53b;
  --white:       #ffffff;
  --text:        #eef2ff;
  --muted:       #a7b1d4;
  --line:        rgba(201, 222, 251, 0.14);
  --gold-line:   rgba(255, 222, 89, 0.45);

  --font-display: 'FbReissfeder', 'Rubik', 'Heebo', system-ui, sans-serif;
  --font-ui:      'Rubik', 'Heebo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Heebo', 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: min(1240px, 92vw);
  --radius: 18px;
  --radius-sm: 12px;
  --section-pad: clamp(84px, 11vw, 160px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-card: 0 30px 60px -28px rgba(2, 5, 20, .95);
  --shadow-lift: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px var(--gold-line);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--navy-950); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  direction: rtl; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; }
h3, h4 { font-family: var(--font-ui); line-height: 1.2; margin: 0; }
p { margin: 0; }
::selection { background: rgba(255,222,89,.85); color: #1a1240; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: var(--container); margin-inline: auto; }
.accent { color: var(--gold); }
.grad-text { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================================================
   שכבות גלובליות: preloader, wipe, progress, cursor, grain
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 3000; background: var(--navy-950);
  display: grid; place-items: center; color: var(--gold);
}
.loader__mark { width: 74px; height: 78px; background: var(--gold); -webkit-mask: url('../assets/brand/symbol-white.png') center / contain no-repeat; mask: url('../assets/brand/symbol-white.png') center / contain no-repeat; }
.loader__line { position: absolute; bottom: 0; inset-inline: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; }
.loader.is-done { display: none; }

.wipe { position: fixed; inset: 0; z-index: 2900; background: var(--navy-950); transform: scaleY(0); transform-origin: top; pointer-events: none; }
.wipe.is-in { transform: scaleY(1); }

.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 2800; background: var(--gold); transform: scaleX(0); transform-origin: right; pointer-events: none; }

.cursor { position: fixed; top: 0; left: 0; z-index: 2700; pointer-events: none; mix-blend-mode: normal; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--gold); transition: transform .3s var(--ease), opacity .3s; }
.cursor__ring { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1px solid rgba(255,222,89,.7); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .3s, border-color .3s; display: grid; place-items: center; }
.cursor__label { font: 600 11px/1 var(--font-ui); color: #1a1240; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .3s var(--ease); white-space: nowrap; }
.cursor.is-link .cursor__ring { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-color: var(--gold); }
.cursor.is-view .cursor__ring { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: var(--gold); border-color: var(--gold); }
.cursor.is-view .cursor__label { opacity: 1; transform: none; }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

.grain {
  position: fixed; inset: -50%; z-index: 2600; pointer-events: none; width: 200%; height: 200%;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-4%) } 60% { transform: translate(-4%,-1%) } 80% { transform: translate(3%,3%) } 100% { transform: translate(0,0) } }

/* ============================================================
   כפתורים ותוויות
   ============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.8em; border-radius: 8px;
  font-family: var(--font-ui); font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform; white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--gold { background: var(--gold); color: #1a1240; border-color: var(--gold); }
.btn--gold:hover { background: #fff0a6; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--brand { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--brand:hover { background: #3a76f5; transform: translateY(-2px); }
.btn--sm { padding: .7em 1.2em; font-size: .9rem; }

.chip {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .3em .7em; border-radius: 6px; font-size: .8rem; font-weight: 500; font-family: var(--font-ui);
  color: var(--sky-light); border: 1px solid var(--line);
}
.chip--gold { color: var(--gold); border-color: var(--gold-line); }

/* ============================================================
   ניווט
   ============================================================ */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .5s, box-shadow .5s, height .4s; }
.nav__inner { width: var(--container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.is-scrolled { height: 64px; background: rgba(4,6,26,.92); box-shadow: 0 1px 0 var(--line); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-weight: 600; font-size: 1.02rem; }
.nav__logo img { height: 38px; width: auto; transition: transform .5s var(--ease); }
.nav__logo:hover img { transform: rotate(-6deg) scale(1.06); }
.nav__logo span { color: var(--sky-light); }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { position: relative; padding: .55em .85em; font-family: var(--font-ui); font-weight: 500; font-size: .95rem; color: var(--sky-light); transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; inset-inline: .85em; bottom: .25em; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__burger { display: none; position: relative; width: 46px; height: 46px; border-radius: 8px; border: 1px solid var(--line); }
.nav__burger span { position: absolute; left: 13px; top: 22px; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.nav__burger span:nth-child(1) { transform: translateY(-6px); }
.nav__burger span:nth-child(3) { transform: translateY(6px); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; background: var(--navy-950); opacity: 0; pointer-events: none; transition: opacity .4s; }
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu ul { display: grid; gap: 4px; text-align: center; }
.mobile-menu a { display: block; padding: .35em 1em; font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); color: #fff; transform: translateY(20px); opacity: 0; transition: transform .6s var(--ease), opacity .6s; }
.mobile-menu.is-open a { transform: none; opacity: 1; }
.mobile-menu a:hover { color: var(--gold); }
@media (max-width: 900px) { .nav__links, .nav__cta .btn { display: none; } .nav__burger { display: block; } }

/* ============================================================
   סקשנים, כותרות, קצוות קרועים, דקורציה
   ============================================================ */
.section { position: relative; padding-block: var(--section-pad); isolation: isolate; }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }
main > .section, main > .page-hero { position: relative; z-index: 1; }
.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-ui); font-weight: 500; font-size: .92rem; color: var(--gold); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 16px; height: 17px; background: var(--gold); -webkit-mask: url('../assets/brand/symbol-white.png') center / contain no-repeat; mask: url('../assets/brand/symbol-white.png') center / contain no-repeat; }
h2.title { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.lede { margin-top: 16px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.section__head--center .lede { margin-inline: auto; }

.edge { position: absolute; inset-inline: 0; top: -1px; height: clamp(38px, 6vw, 84px); transform: translateY(-100%); z-index: 4; pointer-events: none; }
.edge svg { width: 100%; height: 100%; display: block; }

.bg-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.bg-media video, .bg-media img { width: 100%; height: 100%; object-fit: cover; }
.bg-media::after { content: ''; position: absolute; inset: 0; background: var(--bg-overlay, linear-gradient(180deg, rgba(4,6,26,.78), rgba(4,6,26,.9))); }
.bg-pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .06; background: url('../assets/brand/pattern-crown.webp') center / 560px repeat; mix-blend-mode: screen; }

/* אלמנטים דקורטיביים צפים (פרלקסה ב-JS) */
.deco { position: absolute; z-index: -1; pointer-events: none; will-change: transform; }
.deco--mark { width: clamp(120px, 18vw, 260px); aspect-ratio: 865 / 919; background: var(--navy-700); -webkit-mask: url('../assets/brand/symbol-white.png') center / contain no-repeat; mask: url('../assets/brand/symbol-white.png') center / contain no-repeat; opacity: .55; }
.deco--ring { width: clamp(160px, 22vw, 340px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold-line); }
.deco--ring::after { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed rgba(255,222,89,.25); }
.deco--blob { width: clamp(220px, 30vw, 520px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(140,48,254,.35), rgba(42,102,224,.18) 45%, transparent 70%); filter: blur(30px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: sticky; top: 0; z-index: 0; min-height: min(100svh, 1100px); display: grid; align-items: center; padding-block: calc(var(--nav-h) + 40px) 90px; overflow: hidden; isolation: isolate; will-change: transform, opacity, filter; }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg video, .hero__bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__overlay { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,6,26,.9) 0%, rgba(4,6,26,.62) 48%, rgba(4,6,26,.25) 100%), linear-gradient(180deg, rgba(4,6,26,.35), rgba(4,6,26,0) 30%, rgba(4,6,26,.85) 100%); }
.hero__inner { width: var(--container); margin-inline: auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero__text { position: relative; }
.hero__logo { width: clamp(150px, 15vw, 210px); height: auto; margin-bottom: 26px; filter: drop-shadow(0 18px 40px rgba(4,6,26,.8)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0) } 50% { transform: translateY(-10px) rotate(-1.2deg) } }
.hero__name { font-family: var(--font-ui); font-weight: 500; font-size: clamp(.95rem, 1.4vw, 1.1rem); color: var(--gold); letter-spacing: .02em; margin-bottom: 14px; }
.hero__title { font-size: clamp(2.6rem, 5.6vw, 4.9rem); line-height: 1.04; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; }
.hero__sub { margin-top: 24px; max-width: 560px; font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: var(--sky-light); }
.hero__sub strong { color: #fff; font-weight: 600; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__social { display: flex; gap: 18px; margin-top: 30px; font-family: var(--font-ui); font-size: .88rem; color: var(--muted); }
.hero__social a { display: inline-flex; align-items: center; gap: 6px; color: var(--sky-light); transition: color .3s; }
.hero__social a:hover { color: var(--gold); }
.hero__social svg { width: 16px; height: 16px; }

/* סרט הרילס: שני טורים שנעים בכיוונים מנוגדים */
.strip { position: relative; height: min(78vh, 760px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; overflow: hidden; transform: rotate(-4deg) scale(1.06); mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent); }
.strip__col { display: flex; flex-direction: column; gap: 14px; animation: driftUp var(--dur, 46s) linear infinite; will-change: transform; }
.strip__col--rev { animation-direction: reverse; }
.strip:hover .strip__col { animation-play-state: paused; }
@keyframes driftUp { from { transform: translateY(0) } to { transform: translateY(-50%) } }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-800); flex: none; box-shadow: var(--shadow-card); }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4,6,26,.85)); }
.reel__label { position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; font-family: var(--font-ui); font-weight: 600; font-size: .85rem; display: flex; justify-content: space-between; align-items: baseline; }
.reel__label small { font-weight: 400; color: var(--gold); font-size: .72rem; }
.reel__sound { position: absolute; z-index: 3; top: 10px; inset-inline-start: 10px; width: 32px; height: 32px; border-radius: 50%; background: rgba(4,6,26,.6); display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.reel:hover .reel__sound { opacity: 1; }
.reel__sound svg { width: 15px; height: 15px; }
.hero__scroll { position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(50%); width: 1px; height: 54px; background: linear-gradient(180deg, transparent, var(--gold)); animation: scrollcue 2.2s ease-in-out infinite; }
@keyframes scrollcue { 0% { transform: translateX(50%) scaleY(0); transform-origin: top } 50% { transform: translateX(50%) scaleY(1); transform-origin: top } 51% { transform-origin: bottom } 100% { transform: translateX(50%) scaleY(0); transform-origin: bottom } }

@media (max-width: 900px) {
  .hero { position: relative; padding-bottom: 40px; }
  .hero__inner { grid-template-columns: 1fr; }
  .strip { height: auto; display: flex; gap: 12px; transform: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; mask-image: none; -webkit-mask-image: none; margin-top: 30px; }
  .strip::-webkit-scrollbar { display: none; }
  .strip__col { flex-direction: row; animation: none; }
  .strip__col--dup { display: none; }
  .reel { width: 46vw; max-width: 230px; scroll-snap-align: center; }
  .hero__scroll { display: none; }
}

/* הסקשן שגולש מעל ההירו */
.works { border-radius: 28px 28px 0 0; box-shadow: 0 -30px 80px rgba(0,0,0,.6); }
@media (max-width: 900px) { .works { border-radius: 0; box-shadow: none; } }

/* ============================================================
   עבודות (בנטו)
   ============================================================ */
.works { background: var(--navy-900); }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px); gap: clamp(10px, 1.3vw, 18px); grid-auto-flow: dense; }
.card { grid-column: span 4; grid-row: span 1; }
.card--wide { grid-column: span 8; grid-row: span 2; }
.card--tall { grid-column: span 4; grid-row: span 2; }
@media (max-width: 1000px) { .card { grid-column: span 6; } .card--wide { grid-column: span 12; } .card--tall { grid-column: span 6; } }
@media (max-width: 560px) { .bento { grid-auto-rows: clamp(150px, 42vw, 220px); } .card, .card--wide, .card--tall { grid-column: span 12; grid-row: span 1; } .card--wide { grid-row: span 2; } }

.card {
  position: relative; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  background: var(--navy-800); isolation: isolate; transform-style: preserve-3d;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card img, .card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .5s; }
.card video { opacity: 0; }
.card.has-video:hover video { opacity: 1; }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,26,0) 45%, rgba(4,6,26,.92)); opacity: .75; transition: opacity .5s; }
.card::before { content: ''; position: absolute; z-index: 3; top: 0; inset-inline-end: 0; width: 22px; height: 22px; background: var(--gold); clip-path: polygon(0 0, 100% 100%, 0 100%); opacity: 0; transition: opacity .4s; }
.card:hover::before { opacity: 1; }
.card__body { position: absolute; z-index: 2; inset-inline: 18px; bottom: 16px; transform: translateY(8px); transition: transform .6s var(--ease); }
.card__cat { display: inline-block; font-family: var(--font-ui); font-size: .72rem; font-weight: 500; color: var(--gold); margin-bottom: 6px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .5s var(--ease); }
.card__title { font-family: var(--font-ui); font-weight: 600; font-size: clamp(1rem, 1.5vw, 1.25rem); text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.card__sub { font-size: .82rem; color: var(--sky-light); opacity: .8; }
.card--wide .card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.4vw, 2.1rem); }
.card__play { position: absolute; z-index: 2; top: 14px; inset-inline-start: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgba(4,6,26,.6); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); }
.card__play svg { width: 15px; height: 15px; margin-inline-start: 2px; }
.card:hover img { transform: scale(1.07); }
.card:hover::after { opacity: 1; }
.card:hover .card__body { transform: translateY(0); }
.card:hover .card__cat { opacity: 1; transform: none; }
.works__more { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 56px); }

/* ============================================================
   סרטונים
   ============================================================ */
.videos { background: var(--navy-950); }
.videos__grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(10px, 1.3vw, 18px); }
.videos__side { display: grid; gap: clamp(10px, 1.3vw, 18px); }
.videos__rest { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.3vw, 18px); margin-top: clamp(10px, 1.3vw, 18px); }
@media (max-width: 900px) { .videos__grid { grid-template-columns: 1fr; } .videos__side { grid-template-columns: 1fr 1fr; } .videos__rest { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .videos__side, .videos__rest { grid-template-columns: 1fr; } }
.yt { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--navy-800); isolation: isolate; transform-style: preserve-3d; transition: transform .6s var(--ease); }
.yt--featured { aspect-ratio: auto; min-height: 100%; }
.yt__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.yt:hover .yt__img { transform: scale(1.05); }
.yt::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,6,26,.05) 40%, rgba(4,6,26,.85)); }
.yt__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform .5s var(--ease); }
.yt__play svg { width: 26px; height: 26px; margin-inline-start: 3px; fill: #1a1240; }
.yt:not(.yt--featured) .yt__play { width: 52px; height: 52px; }
.yt:not(.yt--featured) .yt__play svg { width: 20px; height: 20px; }
.yt__title { position: absolute; inset-inline: 18px; bottom: 16px; font-family: var(--font-ui); font-weight: 600; font-size: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.yt--featured .yt__title { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 2rem); inset-inline: 26px; bottom: 22px; }
.yt__tag { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(4,6,26,.6); }
.yt:hover .yt__play { transform: translate(-50%, -50%) scale(1.1); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.yt.is-playing::before, .yt.is-playing .yt__play, .yt.is-playing .yt__title { display: none; }
.videos__all { display: flex; justify-content: center; gap: 14px; margin-top: 36px; }

/* ============================================================
   אודות
   ============================================================ */
.about { background: var(--navy-900); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }
.about__visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.about__blob { position: absolute; width: min(78%, 460px); aspect-ratio: 1; border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; background: linear-gradient(140deg, var(--blue), var(--purple-deep)); animation: blob 12s ease-in-out infinite; }
@keyframes blob { 0%,100% { border-radius: 42% 58% 55% 45% / 45% 40% 60% 55%; transform: rotate(0) } 50% { border-radius: 58% 42% 45% 55% / 55% 60% 40% 45%; transform: rotate(8deg) } }
.about__ring { position: absolute; width: min(92%, 540px); aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--gold-line); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.about__photo { position: relative; z-index: 2; width: min(80%, 420px); filter: drop-shadow(0 30px 50px rgba(4,6,26,.8)); }
.about__chip { position: absolute; z-index: 3; padding: .5em .9em; border-radius: 6px; font-family: var(--font-ui); font-weight: 500; font-size: .85rem; background: var(--navy-950); border: 1px solid var(--gold-line); animation: float 6s ease-in-out infinite; }
.about__chip--1 { top: 12%; inset-inline-end: 6%; animation-delay: -1s; }
.about__chip--2 { bottom: 22%; inset-inline-start: 2%; animation-delay: -3s; }
.about__chip--3 { top: 46%; inset-inline-end: -2%; animation-delay: -5s; color: var(--gold); }
.about__text p + p { margin-top: 16px; }
.about__text p { color: var(--muted); font-size: 1.05rem; }
.about__text p strong { color: #fff; font-weight: 600; }
.about__quote { margin: 30px 0 0; padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.3; color: #fff; }
.about__line { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 26px; font-family: var(--font-ui); font-size: .95rem; color: var(--sky-light); }
.about__line span::after { content: '·'; color: var(--gold); margin-inline: 12px; }
.about__line span:last-child::after { content: ''; margin: 0; }
.about__cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   יכולות
   ============================================================ */
.skills { background: var(--navy-950); }
.skills__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .skills__grid { grid-template-columns: 1fr; } }
.skills__list { display: grid; }
.skill { position: relative; padding: 22px 8px; border-top: 1px solid var(--line); cursor: pointer; transition: background .4s; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.skill:last-child { border-bottom: 1px solid var(--line); }
.skill__num { font-family: var(--font-display); font-size: 1.6rem; color: rgba(201,222,251,.3); padding-top: 2px; transition: color .4s; }
.skill h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; display: flex; align-items: center; gap: 12px; transition: color .3s; }
.skill p { margin-top: 8px; color: var(--muted); font-size: .98rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s, margin .4s; }
.skill__stack { font-family: var(--font-ui); font-size: .85rem; color: var(--gold); margin-top: 10px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.skill.is-active .skill__num, .skill.is-active h3 { color: var(--gold); }
.skill.is-active p, .skill.is-active .skill__stack { max-height: 300px; opacity: 1; }
.skill:hover:not(.is-active) h3 { color: #fff; }
.skills__visual { position: sticky; top: calc(var(--nav-h) + 20px); aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-card), 0 0 0 1px var(--line); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.skills__visual img, .skills__visual video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.skills__visual .is-shown { opacity: 1; transform: none; }
.skills__caption { position: absolute; z-index: 2; inset-inline: 22px; bottom: 18px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-ui); font-size: .85rem; color: var(--sky-light); }
.skills__visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(4,6,26,.8)); }
@media (max-width: 900px) { .skills__visual { position: relative; top: 0; aspect-ratio: 16 / 10; order: -1; } }

/* ============================================================
   לקוחות (מרקיז)
   ============================================================ */
.clients { background: var(--navy-900); overflow: hidden; }
.marquee { position: relative; overflow: hidden; padding-block: 14px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: clamp(40px, 6vw, 90px); width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--reverse .marquee__track { animation-direction: reverse; }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(50%) } }
.marquee__item { display: flex; align-items: center; justify-content: center; height: 64px; flex: none; opacity: .7; filter: grayscale(1) brightness(1.4); transition: opacity .4s, filter .4s, transform .4s; }
.marquee__item img { height: 100%; width: auto; max-width: 220px; object-fit: contain; }
.marquee__item:hover { opacity: 1; filter: none; transform: scale(1.06); }
.marquee--big .marquee__item { height: 84px; }
.clients__label { text-align: center; font-family: var(--font-ui); font-size: .85rem; color: var(--muted); margin: 26px 0 8px; }

/* ============================================================
   כלים וחנות
   ============================================================ */
.tools { background: var(--navy-950); }
.tools__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(10px, 1.3vw, 18px); }
@media (max-width: 900px) { .tools__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tools__grid { grid-template-columns: 1fr; } }
.tool { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-900); border: 1px solid var(--line); transition: transform .6s var(--ease), border-color .4s; transform-style: preserve-3d; }
.tool:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.tool__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy-800); }
.tool__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tool:hover .tool__img img { transform: scale(1.06); }
.tool__body { padding: 20px 22px 22px; display: grid; gap: 8px; align-content: start; flex: 1; }
.tool__body h3 { font-size: 1.15rem; font-weight: 600; }
.tool__body p { color: var(--muted); font-size: .95rem; }
.tool__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 10px; }
.tool__price { font-family: var(--font-ui); font-weight: 600; color: var(--gold); }
.tool__price s { color: var(--muted); font-weight: 400; margin-inline-start: 8px; font-size: .9em; }
.tool--hero { grid-row: span 2; background: var(--navy-800); }
.tool--hero .tool__img { aspect-ratio: 4 / 3; flex: 1; }
.tool--hero .tool__body { flex: 0 0 auto; }
.tool--hero .tool__body h3 { font-family: var(--font-display); font-size: 1.7rem; }
@media (max-width: 900px) { .tool--hero { grid-column: span 2; grid-row: auto; } }
@media (max-width: 560px) { .tool--hero { grid-column: span 1; } }

/* ============================================================
   יצירת קשר
   ============================================================ */
.contact { background: var(--navy-900); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__title { font-size: clamp(2.6rem, 6.4vw, 4.8rem); line-height: 1.05; }
.contact__lines { margin-top: 30px; display: grid; gap: 14px; }
.contact__line { display: flex; align-items: center; gap: 14px; font-family: var(--font-ui); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 500; color: #fff; transition: color .3s; direction: ltr; justify-content: flex-end; }
.contact__line:hover { color: var(--gold); }
.contact__line svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.social { display: inline-flex; align-items: center; gap: 10px; padding: .65em 1.05em; border-radius: 8px; border: 1px solid var(--line); font-family: var(--font-ui); font-weight: 500; font-size: .95rem; transition: transform .4s var(--ease), border-color .3s, color .3s; }
.social svg { width: 20px; height: 20px; }
.social:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--gold); }
.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--navy-950); border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-ui); font-size: .85rem; color: var(--sky-light); font-weight: 500; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); color: #fff; font: inherit; font-size: 1rem; background: var(--navy-900); transition: border-color .3s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.form__note { font-size: .82rem; color: var(--muted); }
.form__ok { display: none; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--gold-line); color: var(--gold); font-weight: 600; }
.form.is-sent .form__ok { display: block; }

/* ============================================================
   פוטר
   ============================================================ */
.footer { position: relative; background: var(--navy-950); padding: 60px 0 34px; overflow: hidden; z-index: 1; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand img { height: 46px; width: auto; opacity: .9; }
.footer__brand b { font-family: var(--font-ui); }
.footer__brand small { display: block; color: var(--muted); font-size: .8rem; font-family: var(--font-ui); }
.footer__links { display: flex; gap: 6px 18px; flex-wrap: wrap; font-family: var(--font-ui); font-size: .9rem; color: var(--sky-light); }
.footer__links a:hover { color: var(--gold); }
.footer__copy { width: 100%; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.footer__sig { height: 42px; width: auto; opacity: .55; filter: invert(1); }
.to-top { position: fixed; z-index: 90; bottom: 26px; inset-inline-start: 26px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); border: 1px solid var(--line); display: grid; place-items: center; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease), border-color .3s; }
.to-top.is-shown { opacity: 1; transform: none; }
.to-top:hover { border-color: var(--gold); color: var(--gold); }
.to-top svg { width: 18px; height: 18px; }

/* ============================================================
   לייטבוקס
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 20px; background: rgba(4,6,26,.94); opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox__box { width: min(1180px, 96vw); max-height: 92vh; display: grid; grid-template-columns: 1.6fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--navy-900); border: 1px solid var(--line); transform: translateY(20px) scale(.98); transition: transform .5s var(--ease); }
.lightbox.is-open .lightbox__box { transform: none; }
@media (max-width: 900px) { .lightbox__box { grid-template-columns: 1fr; overflow-y: auto; } }
.lightbox__media { position: relative; background: #000; display: grid; place-items: center; min-height: 260px; }
.lightbox__media img, .lightbox__media video, .lightbox__media iframe { width: 100%; height: 100%; max-height: 92vh; object-fit: contain; border: 0; }
.lightbox__media iframe { aspect-ratio: 16 / 9; height: auto; }
@media (max-width: 900px) { .lightbox__media img, .lightbox__media video { max-height: 56vh; } }
.lightbox__info { padding: clamp(22px, 3vw, 36px); display: grid; align-content: start; gap: 12px; overflow-y: auto; }
.lightbox__cat { font-family: var(--font-ui); color: var(--gold); font-size: .82rem; font-weight: 500; }
.lightbox__title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.lightbox__sub { color: var(--sky-light); font-size: .95rem; margin-top: -6px; font-family: var(--font-ui); }
.lightbox__desc { color: var(--muted); font-size: 1rem; }
.lightbox__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lightbox__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(7,12,38,.8); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: border-color .3s, color .3s; z-index: 5; }
.lightbox__nav:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { inset-inline-start: 14px; }
.lightbox__nav--next { inset-inline-end: 14px; }
.lightbox__close { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 6; width: 44px; height: 44px; border-radius: 50%; background: rgba(7,12,38,.8); border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.lightbox__close:hover { background: #c0392b; transform: rotate(90deg); }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__counter { position: absolute; bottom: 12px; inset-inline-end: 16px; direction: ltr; font-family: var(--font-ui); font-size: .8rem; color: var(--sky-light); background: rgba(7,12,38,.7); padding: 4px 10px; border-radius: 6px; z-index: 5; }

/* ============================================================
   עמוד העבודות
   ============================================================ */
.page-hero { position: relative; padding: calc(var(--nav-h) + 70px) 0 50px; text-align: center; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.4rem); }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.filter { padding: .6em 1.1em; border-radius: 8px; border: 1px solid var(--line); font-family: var(--font-ui); font-weight: 500; font-size: .92rem; color: var(--sky-light); transition: border-color .3s, color .3s, background .3s, transform .4s var(--ease); }
.filter:hover { transform: translateY(-2px); border-color: var(--gold-line); }
.filter.is-active { background: var(--gold); color: #1a1240; border-color: var(--gold); }
.filter b { font-weight: 400; opacity: .7; margin-inline-start: 6px; font-size: .85em; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.3vw, 18px); }
.works-grid .card { grid-column: auto; grid-row: auto; aspect-ratio: 16 / 10; }
.works-grid .card.is-hidden { display: none; }
@media (max-width: 900px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .works-grid { grid-template-columns: 1fr; } }

/* ============================================================
   מובייל: סרגל תחתון, רילס במרקיז, תיקוני מגע
   ============================================================ */
html, body { overflow-x: clip; }
a, button { -webkit-tap-highlight-color: transparent; }
.mobile-bar {
  display: none; position: fixed; bottom: 0; inset-inline: 0; z-index: 95;
  grid-template-columns: repeat(5, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  background: rgba(4,6,26,.96); border-top: 1px solid var(--line);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 2px; font-family: var(--font-ui); font-weight: 500; font-size: .66rem; color: var(--sky-light); border-radius: 8px; }
.mobile-bar a.is-active { color: var(--gold); }
.mobile-bar svg { width: 22px; height: 22px; }
.mobile-bar__wa { color: #4ade80; }
.mobile-bar__wa svg { width: 24px; height: 24px; }
@media (max-width: 900px) {
  .grain { display: none; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
  .to-top { display: none; }
  .mobile-bar { display: grid; }
  .nav { padding-top: env(safe-area-inset-top, 0px); }
  .hero { padding-top: calc(var(--nav-h) + 16px); padding-bottom: 24px; }
  .hero__logo { width: 116px; margin-bottom: 16px; }
  .hero__sub { font-size: 1rem; margin-top: 18px; }
  .hero__ctas { margin-top: 26px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero__social { margin-top: 22px; gap: 14px; }
  .strip { margin-top: 30px; height: auto; display: block; overflow: hidden; transform: none; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .strip__col { flex-direction: row; width: max-content; gap: 10px; animation: driftX var(--dur, 48s) linear infinite; }
  .strip__col--rev { display: none; }
  .strip__col--dup { display: block; }
  .reel { width: 42vw; max-width: 190px; }
  .yt--featured { aspect-ratio: 16 / 9; min-height: 0; }
  .yt--featured .yt__title { font-size: 1.2rem; }
  .filters { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -4vw; padding: 4px 4vw; scrollbar-width: none; scroll-snap-type: x proximity; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; scroll-snap-align: start; }
  .mobile-menu ul { padding-bottom: 80px; }
  .mobile-menu__foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 22px; }
  .lightbox { padding: 10px; }
  .lightbox__box { max-height: calc(100vh - 20px - 66px); }
  .section { padding-block: clamp(64px, 14vw, 100px); }
}
@keyframes driftX { from { transform: translateX(0) } to { transform: translateX(50%) } }
@media (min-width: 901px) { .mobile-menu__foot { display: none; } }

/* ============================================================
   אנימציות הופעה (GSAP)
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="blur"] { transform: none; filter: blur(12px); }
.no-js [data-reveal], .reveal-done [data-reveal] { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .grain, .cursor, .loader, .wipe { display: none; }
  .hero { position: relative; }
}
