/* ============================================================
   home.css · דף הבית (v50). נשען על dy.css.
   כל סקשן בפריסה אחרת: הירו-קולאז', כרטיס נייר, קולנוע, שולחן עבודה,
   קיר טלפונים, גלריית סביבות, רצועת קומיקס, מדף סדנה, מניפת קלפים, במה.
   ============================================================ */

/* ---------- כניסה: הלוגו נכתב (פעם אחת בביקור) ---------- */
.intro { display: none; }
html.intro-on .intro { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 45%, #18205a, #0c1030 70%); transition: opacity .55s var(--ease), visibility 0s .55s; }
html.intro-done .intro, .intro.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro__logo { width: min(560px, 78vw); }
.intro__skip { position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); inset-inline-start: 50%; transform: translateX(50%); padding: 10px 18px; border-radius: var(--r-pill); font: 700 1rem var(--f-brand); color: var(--muted); border: 1px solid var(--line); }
.intro__skip:hover { color: var(--text); border-color: var(--text); }

/* ---------- הירו ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.25fr); align-items: center; gap: clamp(20px, 3vw, 48px); padding: calc(var(--nav-h) + 40px) var(--gutter) 56px; max-width: 1480px; margin-inline: auto; }
.hero__copy { width: auto; margin: 0; position: relative; z-index: 2; }
.hero__hi { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: var(--r-pill); background: rgba(255,255,255,.07); border: 1px solid var(--line); font: 700 1.05rem/1 var(--f-brand); margin-bottom: 18px; }
.hero__hi img { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--gold); }
.hero__copy { container-type: inline-size; }
/* השורה הארוכה ("שאפשר להשתמש בהם.") רחבה פי 10.2 מגודל האות: הגודל נגזר מרוחב העמודה, כך שהיא אף פעם לא גולשת */
.hero__title { font-size: min(5rem, 9.4cqi); line-height: 1; color: #fff; -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; text-shadow: .045em .055em 0 var(--ink); }
.hero__line { display: block; white-space: nowrap; }
.hero__sub { margin-top: 22px; font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); max-width: 44ch; }
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* הפועל המתחלף: אות אחרי אות, עם קפיץ. כל עולם בצבע משלו, וקו מכחול שנמשך מתחת. */
.verb { position: relative; display: inline-grid; vertical-align: bottom; color: var(--vc, var(--gold)); width: var(--vw, auto); transition: width .6s var(--ease), color .5s var(--ease); white-space: nowrap; padding-bottom: .04em; }
.verb__w { grid-area: 1 / 1; justify-self: start; visibility: hidden; }
.verb__w.is-on, .verb__w.is-off { visibility: visible; }
.verb .ch { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(10deg) scale(.55); transform-origin: 50% 90%; }
.verb__w.is-on .ch { opacity: 1; transform: none; transition: transform .75s var(--spring) calc(var(--i) * 55ms), opacity .2s linear calc(var(--i) * 55ms); }
.verb__w.is-off .ch { opacity: 0; transform: translateY(-.6em) rotate(-12deg) scale(.7); transition: transform .45s cubic-bezier(.5, 0, .75, 0) calc(var(--i) * 30ms), opacity .3s linear calc(var(--i) * 30ms + .1s); }
.verb__ink { position: absolute; inset-inline: -.04em; bottom: -.08em; width: calc(100% + .08em); height: .26em; z-index: -1; overflow: visible; }
.verb__ink path { fill: none; stroke: var(--vc2, var(--teal)); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; transition: stroke .5s; }
.verb.is-drawing .verb__ink path { animation: ink-draw .8s var(--ease) .18s both; }
@keyframes ink-draw { from { stroke-dashoffset: 1; } }
.verb__spark { position: absolute; top: -.05em; inset-inline-end: -.15em; width: .32em; height: .32em; pointer-events: none; }
.verb__spark i { position: absolute; inset: 0; background: var(--gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: 0; }
.verb.is-drawing .verb__spark i { animation: spark .8s var(--spring) both; }
.verb.is-drawing .verb__spark i:nth-child(2) { animation-delay: .12s; --sx: -.5em; --sy: .35em; }
.verb.is-drawing .verb__spark i:nth-child(3) { animation-delay: .22s; --sx: .25em; --sy: .55em; }
@keyframes spark { 0% { opacity: 0; transform: translate(0, 0) scale(.2) rotate(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--sx, .2em), var(--sy, -.3em)) scale(1) rotate(90deg); } }

/* ---------- הפורטל: מסך אחד שמחליף מדיום ---------- */
.portal-wrap { position: relative; width: 100%; padding-bottom: 8px; }
.portal-box { position: relative; }
.portal { position: relative; aspect-ratio: 16 / 11; border-radius: 26px; overflow: hidden; background: #0a0d2a; border: 3px solid var(--ink); box-shadow: 10px 12px 0 var(--ink), inset 0 0 0 1px rgba(255, 224, 138, .25); isolation: isolate; transform: perspective(1400px) rotateY(var(--tx, 0deg)) rotateX(var(--ty, 0deg)); transition: transform .9s var(--ease); }
.portal::after { content: ""; position: absolute; inset: 0; z-index: 9; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -60px 80px -40px rgba(5, 6, 26, .65); }
.portal__back { position: absolute; inset: 0; border-radius: 26px; border: 3px solid var(--ink); }
.portal__back--a { background: var(--purple); transform: translate(-22px, 18px) rotate(-3deg); }
.portal__back--b { background: var(--teal); transform: translate(18px, -16px) rotate(2.2deg); opacity: .9; }
.portal__back--a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(10,11,34,.25) 1.3px, transparent 1.8px); background-size: 9px 9px; }

.scene { position: absolute; inset: 0; z-index: 1; visibility: hidden; clip-path: inset(0 0 0 100% round 22px); }
.scene.is-on, .scene.is-prev { visibility: visible; }
.scene.is-prev { z-index: 1; clip-path: inset(0 round 22px); }
.scene.is-on { z-index: 2; clip-path: inset(0 round 22px); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1); }
.scene.is-enter { clip-path: inset(0 0 0 100% round 22px); transition: none; }
.scene__media { position: absolute; inset: 0; overflow: hidden; }
.scene__media img, .scene__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__media video { opacity: 0; transition: opacity .6s; } .scene__media video.is-live { opacity: 1; }
.scene.is-on .scene__media { animation: settle 1.6s var(--ease) both; }
@keyframes settle { from { transform: scale(1.14); } }
.scene__media--blur::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 40%, transparent, rgba(8, 9, 30, .55)); }
.scene__go { position: absolute; z-index: 8; bottom: 16px; left: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(10, 12, 40, .78); border: 2px solid var(--ink); color: #fff; font: 700 .95rem var(--f-brand); opacity: 0; transform: translateY(8px); transition: opacity .4s .5s, transform .6s var(--spring) .5s, background .2s; }
.scene__go svg { width: 16px; }
.scene.is-on .scene__go { opacity: 1; transform: none; }
.scene__go:hover { background: var(--gold); color: var(--ink); }
/* פריטי הסצנה נכנסים אחרי המסך, בתזמון מדורג */
.cine > *, .hud > *, .win, .reelphone, .tool-chip { opacity: 0; transition: opacity .5s var(--ease), transform .8s var(--spring); }
.hud > *, .tool-chip, .cine__rec, .cine__tc { transform: translateY(14px) scale(.96); }
.scene.is-on .cine > *, .scene.is-on .hud > *, .scene.is-on .win, .scene.is-on .reelphone, .scene.is-on .tool-chip { opacity: 1; transition-delay: .45s; }
.scene.is-on .hud > *, .scene.is-on .tool-chip, .scene.is-on .cine__rec, .scene.is-on .cine__tc { transform: none; }
.scene.is-on .hud > :nth-child(2), .scene.is-on .cine > :nth-child(3) { transition-delay: .6s; }
.scene.is-on .hud > :nth-child(3), .scene.is-on .cine > :nth-child(4) { transition-delay: .7s; }
.scene.is-on .hud > :nth-child(4) { transition-delay: .85s; }

/* 0 · קולנוע: פסי מסך רחב, הקלטה, נקודות פוקוס */
.cine__bar { position: absolute; inset-inline: 0; height: 9%; background: #000; z-index: 3; }
.cine__bar--t { top: 0; transform: translateY(-100%); } .cine__bar--b { bottom: 0; transform: translateY(100%); }
.scene.is-on .cine__bar { transform: none; }
.cine__rec { position: absolute; z-index: 4; top: 13%; inset-inline-end: 5%; display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem/1 ui-monospace, Consolas, monospace; color: #fff; letter-spacing: .1em; direction: ltr; }
.cine__rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; animation: rec 1.2s steps(2) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.cine__tc { position: absolute; z-index: 4; top: 13%; inset-inline-start: 5%; font: 600 .8rem/1 ui-monospace, Consolas, monospace; color: rgba(255,255,255,.85); direction: ltr; }
.cine__br { position: absolute; z-index: 4; width: 7%; aspect-ratio: 1; border: 2px solid rgba(255,255,255,.8); }
.cine__br--1 { top: 22%; left: 30%; border-right: 0; border-bottom: 0; } .cine__br--2 { top: 22%; right: 30%; border-left: 0; border-bottom: 0; }
.cine__br--3 { bottom: 22%; left: 30%; border-right: 0; border-top: 0; } .cine__br--4 { bottom: 22%; right: 30%; border-left: 0; border-top: 0; }

/* 1 · משחק: ממשק שחקן */
.hud > * { position: absolute; z-index: 4; }
.hud__bars { bottom: 8%; right: 4%; display: grid; gap: 5px; width: 26%; }
.hud__bars i { height: 10px; border-radius: 6px; border: 2px solid var(--ink); background: linear-gradient(90deg, #5fd38d 78%, rgba(0,0,0,.4) 78%); box-shadow: 2px 2px 0 var(--ink); }
.hud__bars i + i { width: 70%; background: linear-gradient(90deg, var(--teal-hi) 60%, rgba(0,0,0,.4) 60%); }
.hud__map { top: 5%; left: 4%; width: 15%; aspect-ratio: 1; border-radius: 50%; border: 3px solid var(--ink); overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(245, 200, 66, .95) 0 6%, transparent 7%), conic-gradient(from 0deg, rgba(67,175,191,.55), rgba(27,63,139,.75), rgba(67,175,191,.55)); box-shadow: 3px 3px 0 var(--ink); }
.hud__map i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(rgba(255,255,255,.35) 0 40deg, transparent 40deg); animation: radar 3s linear infinite; }
@keyframes radar { to { transform: rotate(360deg); } }
.hud__cross { top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); }
.hud__cross::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.hud__quest { top: 30%; left: 4%; max-width: 46%; padding: 8px 12px; border-radius: 10px; background: rgba(8, 10, 34, .78); border: 2px solid var(--ink); color: #fff; font: 700 .9rem/1.25 var(--f-brand); }
.hud__quest b { display: block; color: var(--gold); font-size: .8rem; }

/* 2 · אתר שגולל מעצמו */
.win { position: absolute; z-index: 4; top: 8%; bottom: 8%; left: 50%; width: min(62%, 460px); transform: translate(-50%, 18px) scale(.96); border-radius: 14px; overflow: hidden; background: #0c1030; border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink); display: grid; grid-template-rows: auto 1fr; }
.scene.is-on .win { transform: translate(-50%, 0); }
.win__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding-inline: 10px; background: #1b2160; border-bottom: 2px solid var(--ink); direction: ltr; }
.win__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b6b; } .win__bar i:nth-child(2) { background: var(--gold); } .win__bar i:nth-child(3) { background: #5fd38d; }
.win__bar span { margin-inline-start: 8px; padding: 2px 10px; border-radius: 6px; background: rgba(255,255,255,.08); font: 500 .7rem var(--f-text); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__view { position: relative; overflow: hidden; }
.win__page { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.scene.is-on .win__page { animation: scrolly 9s cubic-bezier(.45, 0, .3, 1) 1s infinite alternate; }
@keyframes scrolly { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--scroll, -60%)); } }

/* 3 · כלי */
.tool-chip { position: absolute; z-index: 4; top: 6%; inset-inline-end: 4%; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: rgba(15, 20, 50, .82); border: 2px solid var(--ink); color: #fff; font: 700 .85rem var(--f-brand); }
.tool-chip i { width: 10px; height: 10px; border-radius: 3px; background: #e87d0d; box-shadow: 0 0 0 2px rgba(232,125,13,.3); }

/* 4 · רילס: טלפון, לבבות וצפיות */
.reelphone { position: absolute; z-index: 4; top: 6%; bottom: 6%; left: 50%; aspect-ratio: 9 / 18.5; transform: translate(-50%, 20px) rotate(4deg); padding: 6px; border-radius: 28px; background: #070818; border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink); }
.scene.is-on .reelphone { transform: translate(-50%, 0) rotate(-3deg); }
.reelphone .media { height: 100%; border-radius: 22px; }
.reelphone .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reelphone__views { position: absolute; bottom: 10%; right: -24%; left: auto; padding: 7px 12px; border-radius: var(--r-pill); background: #ff5a8a; color: #fff; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font: 900 1rem var(--f-brand); white-space: nowrap; transform: rotate(-6deg); display: inline-flex; align-items: center; gap: 5px; z-index: 3; }
.reelphone__views svg { width: 15px; }
.hearts { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.hearts i { position: absolute; bottom: 12%; left: calc(56% + var(--x, 0%)); width: 26px; height: 24px; background: #ff5a8a; clip-path: path('M13 23 C 4 16, 0 11, 0 7 C 0 3, 3 0, 7 0 C 10 0, 12 2, 13 4 C 14 2, 16 0, 19 0 C 23 0, 26 3, 26 7 C 26 11, 22 16, 13 23 Z'); opacity: 0; }
.scene.is-on .hearts i { animation: heart 2.6s var(--ease) infinite; }
.hearts i:nth-child(1) { --x: 8%; animation-delay: .6s !important; } .hearts i:nth-child(2) { --x: 14%; animation-delay: 1s !important; background: var(--gold); }
.hearts i:nth-child(3) { --x: 4%; animation-delay: 1.5s !important; } .hearts i:nth-child(4) { --x: 18%; animation-delay: 1.9s !important; background: var(--teal-hi); }
.hearts i:nth-child(5) { --x: 10%; animation-delay: 2.3s !important; } .hearts i:nth-child(6) { --x: 16%; animation-delay: 2.7s !important; }
@keyframes heart { 0% { opacity: 0; transform: translateY(0) scale(.4); } 15% { opacity: 1; transform: translateY(-20px) scale(1); } 100% { opacity: 0; transform: translateY(-220px) translateX(-30px) scale(.7) rotate(-20deg); } }

/* בועת הדיבור של דניאל */
.bubble { position: absolute; z-index: 12; top: -26px; inset-inline-start: -18px; display: flex; align-items: center; gap: 10px; max-width: 78%; padding: 8px 16px 8px 8px; border-radius: 40px; background: var(--paper); color: var(--paper-ink); border: 2.5px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font: 900 1.02rem/1.2 var(--f-brand); transform: rotate(-2deg); }
.bubble img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.bubble span { display: inline-block; }
.bubble.is-swap span { animation: bub .55s var(--spring); }
@keyframes bub { 0% { opacity: 0; transform: translateY(8px) scale(.9); } }

/* הבוררים: כל עולם עם פס התקדמות */
.pick { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 34px; }
.pick__b { position: relative; overflow: hidden; min-height: 44px; padding: 8px 6px; border-radius: 12px; background: rgba(255,255,255,.06); border: 2px solid rgba(255,255,255,.14); color: var(--muted); font: 700 .98rem/1 var(--f-brand); transition: color .3s, border-color .3s, background .3s, transform .4s var(--spring); }
.pick__b b { position: relative; z-index: 1; font-weight: inherit; }
.pick__b:hover { color: var(--text); transform: translateY(-2px); }
.pick__b.is-on { color: var(--ink); border-color: var(--ink); background: rgba(255,255,255,.12); box-shadow: 3px 3px 0 var(--ink); }
.pick__fill { position: absolute; inset: 0; background: var(--vc, var(--gold)); transform: scaleX(0); transform-origin: right; }
.pick__b.is-on .pick__fill { transform: scaleX(1); transition: transform var(--dur, 3.4s) linear; }
.pick__b.is-on.is-hold .pick__fill { transition: none; }

@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: auto; padding-top: calc(var(--nav-h) + 34px); gap: 40px; }
  .portal-wrap { max-width: 640px; margin-inline: auto; padding-top: 18px; }
}
@media (max-width: 600px) {
  .portal { aspect-ratio: 4 / 4.4; border-radius: 20px; box-shadow: 6px 7px 0 var(--ink); }
  .portal__back { border-radius: 20px; }
  .portal__back--a { transform: translate(-10px, 10px) rotate(-2.5deg); } .portal__back--b { transform: translate(8px, -9px) rotate(2deg); }
  .bubble { font-size: .9rem; top: -30px; inset-inline-start: -6px; max-width: 92%; }
  .bubble img { width: 36px; height: 36px; }
  .win { width: 78%; }
  .reelphone__views { right: -10%; font-size: .9rem; }
  .pick { gap: 5px; }
  .pick__b { font-size: .82rem; padding: 6px 2px; }
  .hud__quest { font-size: .78rem; max-width: 60%; }
  .cine__br { display: none; }
}
@media (prefers-reduced-motion: reduce) { .scene.is-on .win__page, .hud__map i, .scene.is-on .hearts i, .cine__rec::before { animation: none !important; } }
html.reduce-motion .scene.is-on .win__page, html.reduce-motion .hud__map i, html.reduce-motion .scene.is-on .hearts i { animation: none !important; }

@media (max-width: 600px) { .hero__hi { font-size: .95rem; } }

/* ---------- נעים מאוד: כרטיס נייר ---------- */
.hello { position: relative; padding-block: clamp(40px, 7vw, 100px) 0; }
.hello__card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; padding: clamp(24px, 4.5vw, 60px); border-radius: var(--r-lg); border: var(--stroke) solid var(--ink); box-shadow: var(--hard-lg); transform: rotate(-.6deg); }
.hello__face { width: clamp(150px, 22vw, 290px); }
.hello__face { position: relative; align-self: end; margin-bottom: calc(-1 * clamp(24px, 4.5vw, 60px)); }
.hello__face::before { content: ""; position: absolute; inset: 18% 4% 0; border-radius: 50% 50% 20px 20px; background: radial-gradient(circle at 50% 40%, var(--gold), #f0a93a 60%, transparent 61%); border: 3px solid var(--ink); z-index: 0; }
.hello__me { position: relative; z-index: 1; width: 100%; filter: drop-shadow(6px 4px 0 var(--ink)); transform-origin: 50% 100%; transition: transform .7s var(--spring); }
.hello__card:hover .hello__me { transform: rotate(-2deg) scale(1.03); }
.hello__sticker { position: absolute; z-index: 2; top: 8%; inset-inline-start: -6%; width: 34%; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); transform: rotate(-10deg); }
.hello__text { display: grid; gap: 16px; }
.hello .title { color: var(--paper-ink); font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem); }
.hello__mark { background: linear-gradient(transparent 62%, rgba(245, 200, 66, .75) 62%, rgba(245, 200, 66, .75) 92%, transparent 92%); padding-inline: .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hello .lead { color: #4a4470; max-width: 60ch; }
.hello .lead strong { color: var(--paper-ink); }
.hello .arrow-link { color: var(--purple); }
@media (max-width: 760px) { .hello__card { grid-template-columns: 1fr; transform: none; } .hello__face { width: 200px; margin: -70px auto 0; order: -1; } }

/* לוגואים: מרקיז CSS בלבד, נעצר בריחוף ובתנועה מופחתת */
.logos { padding-block: clamp(34px, 5vw, 60px) 0; overflow: hidden; }
.logos__label { text-align: center; font: 700 1rem var(--f-brand); color: var(--muted); margin-bottom: 18px; }
.logos__track { display: flex; width: max-content; animation: marquee 60s linear infinite; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos:hover .logos__track { animation-play-state: paused; }
.logos__row { display: flex; align-items: center; gap: clamp(36px, 5vw, 70px); padding-inline-end: clamp(36px, 5vw, 70px); }
.logos__row img { height: 40px; width: auto; max-width: 170px; object-fit: contain; opacity: .82; filter: grayscale(.2); transition: opacity .2s; }
.logos__row img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(50%); } }
html.reduce-motion .logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }

/* ---------- עולמות: מבנה משותף ---------- */
.world { position: relative; padding-block: calc(var(--section) * .8) calc(var(--section) * .4); }
.world__head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4.5vw, 56px); max-width: 860px; }
.world__head .title--xl { -webkit-text-stroke: .045em var(--ink); paint-order: stroke fill; text-shadow: .04em .05em 0 var(--ink); }
.world__more { margin-top: clamp(24px, 3vw, 40px); }
.pink { color: #ff9ad5; }

/* עולם 1: קולנוע */
.cinema { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); margin-bottom: clamp(26px, 4vw, 48px); }
.cinema__screen { position: relative; display: block; padding: 12px; border-radius: 22px; background: #1b1034; border: var(--stroke) solid var(--ink); box-shadow: var(--hard-lg);
  background-image: radial-gradient(circle, rgba(255, 224, 138, .95) 0 2.5px, rgba(255, 200, 66, .25) 3.5px, transparent 5px); background-size: 22px 22px; background-position: 4px 4px; }
.cinema__screen .media { border-radius: 12px; border: 2px solid var(--ink); }
.cinema__screen .play { width: 72px; height: 72px; inset-inline-start: 30px; bottom: 30px; }
.cinema__card { position: relative; z-index: 2; width: min(460px, 92%); margin: -64px 30px 0 auto; padding: 22px 24px; display: grid; gap: 10px; border-radius: var(--r); background: var(--night-2); border: var(--stroke) solid var(--ink); box-shadow: var(--hard); transform: rotate(-1deg); }
@media (max-width: 760px) { .cinema__screen { padding: 7px; background-size: 16px 16px; } .cinema__card { margin: -24px 10px 0 auto; transform: none; } .cinema__screen .play { width: 54px; height: 54px; inset-inline-start: 16px; bottom: 16px; } }

.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(18px, 2.4vw, 30px); align-items: start; }
.reel--tall { grid-row: span 2; }
.reel-more { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(16px, 2vw, 28px); align-items: center; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); border: var(--stroke) dashed rgba(255, 255, 255, .28); color: var(--text); text-decoration: none; transition: border-color .3s, transform .5s var(--spring); }
.reel-more:hover { border-color: var(--gold); transform: translateY(-4px); }
.reel-more__stack { position: relative; aspect-ratio: 16 / 10; }
.reel-more__stack img { position: absolute; width: 74%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); transition: transform .6s var(--spring); }
.reel-more__stack img:nth-child(1) { inset-inline-start: 0; top: 0; transform: rotate(-6deg); }
.reel-more__stack img:nth-child(2) { inset-inline-start: 13%; top: 18%; transform: rotate(3deg); }
.reel-more__stack img:nth-child(3) { inset-inline-start: 26%; top: 36%; transform: rotate(-2deg); }
.reel-more:hover .reel-more__stack img:nth-child(1) { transform: rotate(-11deg) translate(6px, -8px); }
.reel-more:hover .reel-more__stack img:nth-child(3) { transform: rotate(4deg) translate(-8px, 6px); }
.reel-more__txt { display: grid; gap: 8px; }
.reel-more__txt b { font: 900 clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem)/1.1 var(--f-brand); color: var(--gold); }
.reel-more__txt span { color: var(--muted); }
.reel-more__txt .arrow-link { color: var(--teal-hi); }
@media (max-width: 760px) { .reel-more { grid-column: span 1; grid-template-columns: 1fr; padding: 12px; } .reel-more__txt span:not(.arrow-link) { display: none; } .reel-more__txt b { font-size: 1.15rem; } }
.reel--tall .media.ratio-9x16 { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .reel--tall .media.ratio-9x16 { aspect-ratio: 9 / 16; } }
.reel .wcard__media { display: block; }
.reel .wcard__title { font-size: 1.3rem; }
@media (max-width: 760px) { .reels { grid-template-columns: 1fr 1fr; gap: 16px 12px; } .reel .wcard__title { font-size: 1.08rem; } .reel .wcard__text { display: none; } .reel--tall .wcard__text { display: block; font-size: .9rem; } }

/* עולם 2: שולחן עבודה של חלונות */
.desk { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(22px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.desk__main { transform: rotate(-1.2deg); transition: transform .6s var(--spring); }
.desk__main:hover { transform: rotate(0) scale(1.01); }
.desk__text { display: grid; gap: 14px; justify-items: start; }
.desk__text .wcard__title { font-size: var(--fs-h2); }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.app { display: grid; gap: 10px; align-content: start; }
.app--site { grid-column: span 2; }
.app--game { grid-column: span 2; }
.app--phone { grid-row: span 2; }
.app--phone .phone { width: min(260px, 100%); margin-inline: auto; transform: rotate(var(--rot, 2deg)); transition: transform .6s var(--spring); }
.app--phone:nth-child(3) .phone { --rot: -2.5deg; }
.app:hover .phone { transform: rotate(0) translateY(-6px); }
.app .browser, .game { transition: transform .6s var(--spring); }
.app:hover .browser, .app:hover .game { transform: translateY(-5px) rotate(-.5deg); }
.game { position: relative; display: block; border-radius: var(--r); }
.game .media { border-radius: var(--r); border: var(--stroke) solid var(--ink); box-shadow: var(--hard); }
.app .wcard__title { font-size: 1.35rem; }
@media (max-width: 900px) { .desk { grid-template-columns: 1fr; } .apps { grid-template-columns: 1fr 1fr; } .app--phone { grid-row: auto; } }
@media (max-width: 560px) { .app--phone .wcard__text { font-size: .9rem; } }

/* עולם 3: הקול ברשת */
.story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-bottom: clamp(30px, 4.5vw, 56px); counter-reset: s; }
.story__beat { position: relative; padding: 22px 22px 24px; border-radius: 22px; background: var(--paper); color: var(--paper-ink); border: var(--stroke) solid var(--ink); box-shadow: var(--hard); font-size: 1rem; line-height: 1.6; }
.story__beat::after { content: ""; position: absolute; bottom: -16px; inset-inline-start: 34px; width: 26px; height: 18px; background: var(--paper); border: var(--stroke) solid var(--ink); border-top: 0; clip-path: polygon(0 0, 100% 0, 15% 100%); }
.story__beat:nth-child(2) { transform: rotate(1deg) translateY(10px); }
.story__beat:nth-child(3) { transform: rotate(-1deg); }
.story__num { display: block; font: 900 2rem/1 var(--f-brand); color: var(--purple); margin-bottom: 8px; }
.story__beat strong { color: #a1336f; }
.story .link { color: var(--purple); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } .story__beat:nth-child(2) { transform: none; } }

.feed { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); align-items: start; }
.post { display: grid; gap: 10px; transition: transform .5s var(--spring); }
.post .phone { padding: 5px; border-radius: 24px; }
.post .phone::before { top: 10px; height: 10px; }
.post .media { border-radius: 19px; }
.post:nth-child(odd) { transform: rotate(-1.4deg); }
.post:nth-child(even) { transform: rotate(1.6deg) translateY(18px); }
.post:hover { transform: rotate(0) translateY(-6px); }
.post--xl { grid-column: span 2; grid-row: span 2; }
.post--xl .phone { width: 78%; margin-inline: auto; }
.post__cap { font-size: .9rem; line-height: 1.35; color: var(--muted); }
.post__cap b { display: inline-block; margin-inline-end: 6px; padding: 2px 8px; border-radius: var(--r-pill); background: #ff5a8a; color: #fff; border: 1.5px solid var(--ink); font: 900 .85rem/1.3 var(--f-brand); }
.post__net { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 3; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.post__net svg { width: 14px; }
.post .phone { position: relative; }
@media (max-width: 900px) { .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feed { grid-template-columns: 1fr 1fr; gap: 18px 12px; } .post--xl { grid-column: span 2; grid-row: auto; } .post--xl .phone { width: 62%; } .post:nth-child(even) { transform: rotate(1.4deg) translateY(10px); } }

.numbers { margin-top: clamp(48px, 6vw, 80px); padding: clamp(22px, 3.5vw, 40px); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--purple), #3a1f6e 60%, var(--blue)); border: var(--stroke) solid var(--ink); box-shadow: var(--hard-lg); position: relative; overflow: hidden; }
.numbers::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.3px, transparent 1.8px); background-size: 9px 9px; mask-image: linear-gradient(90deg, #000, transparent 60%); pointer-events: none; }
.numbers__lead { font: 700 1.05rem var(--f-brand); color: #ffd1ec; margin-bottom: 14px; }
.numbers ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.numbers li { display: grid; gap: 2px; }
.numbers b { font: 900 clamp(2.4rem, 1.4rem + 3.6vw, 4.4rem)/1 var(--f-brand); color: var(--gold); -webkit-text-stroke: .04em var(--ink); paint-order: stroke fill; text-shadow: .04em .05em 0 var(--ink); }
.numbers span { color: #efe6ff; font-size: .98rem; }
.numbers__asof { margin-top: 16px; font-size: .82rem; color: rgba(239, 230, 255, .7); }
@media (max-width: 640px) { .numbers ul { grid-template-columns: 1fr 1fr; } }

.social__doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(28px, 4vw, 48px); }
.door { display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--r-lg); background: var(--night-2); border: var(--stroke) solid var(--ink); box-shadow: var(--hard); transition: transform .5s var(--spring); }
a.door:hover { transform: translate(-3px, -4px) rotate(-.6deg); }
.door b { font: 900 1.7rem/1.05 var(--f-brand); }
.door__k { font: 700 .95rem var(--f-brand); color: var(--accent); }
.door__t { color: var(--muted); font-size: .95rem; }
.door--lego { background: linear-gradient(140deg, #3d1f6b, #1b2a6a); }
.door--follow .soc-row { margin-top: 8px; }
@media (max-width: 760px) { .social__doors { grid-template-columns: 1fr; } }

/* עולם 4: סביבות */
.cases { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 2.6vw, 32px); margin-bottom: clamp(18px, 2.6vw, 32px); }
.case { position: relative; display: grid; border-radius: var(--r-lg); overflow: hidden; border: var(--stroke) solid var(--ink); box-shadow: var(--hard-lg); background: var(--night-2); isolation: isolate; }
.case .media { border-radius: 0; grid-area: 1 / 1; height: 100%; }
.case__body { grid-area: 1 / 1; align-self: end; display: grid; gap: 10px; justify-items: start; padding: clamp(18px, 3vw, 34px); background: linear-gradient(0deg, rgba(8, 10, 34, .95), rgba(8, 10, 34, .7) 60%, transparent); z-index: 2; }
.case__title { font: 900 clamp(1.7rem, 1.1rem + 2vw, 2.8rem)/1 var(--f-brand); }
.case__text { color: #dcdaf6; max-width: 52ch; font-size: .98rem; line-height: 1.55; }
.case:hover .media img, .case:hover .media video { transform: scale(1.03); }
.case .media img, .case .media video { transition: transform 1.2s var(--ease), opacity .5s; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } .case .media { aspect-ratio: 16 / 10; } }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 210px); grid-auto-flow: dense; gap: clamp(12px, 1.8vw, 20px); }
.tile { position: relative; display: block; border-radius: var(--r); overflow: hidden; border: var(--stroke) solid var(--ink); box-shadow: var(--hard); background: var(--night-2); transition: transform .5s var(--spring), box-shadow .3s var(--ease); }
.tile:hover, .tile:focus-visible { transform: translate(-3px, -4px); box-shadow: 9px 11px 0 var(--ink); }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile video { opacity: 0; transition: opacity .5s; } .tile video.is-live { opacity: 1; }
.tile--wide { grid-column: span 2; } .tile--tall { grid-row: span 2; } .tile--big { grid-column: span 2; grid-row: span 2; }
.tile__cap { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(8,10,34,.92), transparent); display: grid; gap: 2px; }
.tile__cap b { font: 900 1.15rem/1.1 var(--f-brand); }
.tile__cap small { color: var(--gold); font: 700 .82rem var(--f-brand); }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; } .tile--big { grid-row: span 1; } .tile__cap b { font-size: 1rem; } }

/* ---------- רצועת קומיקס ---------- */
.strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.strip__p { padding: 10px 10px 16px; background: var(--paper); color: var(--paper-ink); display: grid; gap: 8px; align-content: start; }
.strip__p:nth-child(odd) { transform: rotate(-1deg); } .strip__p:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
.strip__p .media { border-radius: 10px; border: 2px solid var(--ink); }
.strip__p b { display: flex; align-items: center; gap: 8px; font: 900 1.2rem/1 var(--f-brand); }
.strip__p b i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ink); font-style: normal; font-size: .95rem; }
.strip__p p { font-size: .9rem; line-height: 1.45; color: #4a4470; }
.strip__p--final { background: var(--gold); }
.strip__p--final p { color: var(--paper-ink); }
.js-motion .strip__p[data-in].is-in:nth-child(odd) { transform: rotate(-1deg); }
.js-motion .strip__p[data-in].is-in:nth-child(even) { transform: rotate(1.2deg) translateY(10px); }
@media (max-width: 900px) { .strip { grid-template-columns: 1fr 1fr; } .strip__p--final { grid-column: span 2; } }

/* ---------- מדף הכלים ---------- */
.shelf { display: grid; gap: clamp(26px, 4vw, 54px); }
/* שולחן: מוביל גדול + שני כרטיסים לצידו */
.bench { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: clamp(16px, 2.2vw, 28px); }
.build { position: relative; display: grid; align-content: start; border-radius: var(--r-lg); background: var(--night-2); border: var(--stroke) solid var(--ink); box-shadow: var(--hard); color: var(--text); text-decoration: none; transition: transform .5s var(--spring), box-shadow .3s; }
a.build:hover { transform: translate(-3px, -5px) rotate(var(--rot, 0deg)); box-shadow: 9px 11px 0 var(--ink); }
.build__body { display: grid; gap: 10px; padding: clamp(16px, 1.8vw, 24px); }
.build__name { font: 900 1.6rem/1.05 var(--f-brand); }
.build__kind { font: 700 .88rem/1.2 var(--f-brand); color: var(--teal-hi); margin-top: -4px; }
.build__does { color: #d9d6f5; font-size: 1rem; line-height: 1.55; }
.build__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.build__go { font: 900 1.05rem var(--f-brand); color: var(--gold); display: inline-flex; gap: 6px; align-items: center; }
.build__go svg { width: 18px; transition: transform .4s var(--spring); }
a.build:hover .build__go svg, a.tool:hover .build__go svg { transform: translateX(-6px); }
.build__media { position: relative; display: block; overflow: hidden; border-bottom: var(--stroke) solid var(--ink); border-radius: calc(var(--r-lg) - 3px) calc(var(--r-lg) - 3px) 0 0; aspect-ratio: 16 / 9; }
.build__media img, .build__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.balloon-tip { position: relative; justify-self: start; max-width: 46ch; padding: 10px 14px; border-radius: 16px; background: #fffaf0; color: #1c1740; border: 2px solid var(--ink); box-shadow: 3px 4px 0 var(--ink); font-size: .92rem; line-height: 1.45; }
.balloon-tip b, .tool__bubble b { font-family: var(--f-brand); color: #c2410c; }
.balloon-tip::before { content: ""; position: absolute; top: -10px; inset-inline-start: 22px; width: 16px; height: 16px; background: inherit; border: inherit; border-width: 2px 0 0 2px; transform: rotate(45deg); }
.build--hero { grid-column: 1 / span 7; grid-row: 1 / span 2; background: linear-gradient(160deg, #133c5c, #141a46 62%); --rot: -.6deg; transform: perspective(1200px) rotateY(calc(var(--tx, 0) * -5deg)) rotateX(calc(var(--ty, 0) * 4deg)); transition: transform .6s var(--ease); }
.build--hero { grid-template-rows: 1fr auto; align-content: stretch; }
.build--hero .build__media { aspect-ratio: auto; min-height: 300px; height: 100%; }
.build--hero .build__name { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); }
.build--wide { grid-column: 8 / span 5; grid-row: 1; transform: rotate(1.4deg); --rot: 1.4deg; background: linear-gradient(170deg, #1d2a5e, #141a46); }
.build--font { grid-column: 8 / span 5; grid-row: 2; transform: rotate(-1.6deg); --rot: -1.6deg; background: radial-gradient(120% 90% at 85% 0%, rgba(245, 200, 66, .22), transparent 60%), var(--night-2); }
.build--font .build__specimen { padding: 22px 22px 0; font: 900 clamp(2.8rem, 2rem + 2.4vw, 4rem)/1 var(--f-brand); color: var(--gold); -webkit-text-stroke: .03em var(--ink); paint-order: stroke fill; text-shadow: .04em .05em 0 var(--ink); }
.build--font .build__specimen small { display: block; margin-top: 8px; font: 700 1.3rem/1.2 var(--f-brand); color: var(--text); -webkit-text-stroke: 0; text-shadow: none; }
.build--wide .balloon-tip, .build--font .balloon-tip { display: none; }
/* אריחי האפליקציות: גבהים, זוויות וקצב ריחוף שונים */
.tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: clamp(16px, 1.8vw, 26px); padding-bottom: 40px; }
.tool { position: relative; flex: 0 1 212px; display: grid; justify-items: center; text-align: center; gap: 8px; padding: 26px 18px 20px; border-radius: 28px; background: var(--night-2); border: var(--stroke) solid var(--ink); box-shadow: var(--hard); color: var(--text); text-decoration: none; translate: 0 var(--lift, 0); rotate: var(--rot, 0deg); transition: rotate .5s var(--spring), box-shadow .3s, scale .5s var(--spring); }
.tool::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--b-c) 32%, transparent), transparent 70%); }
.tool__icon { width: 84px; height: 84px; border-radius: 24px; display: grid; place-items: center; overflow: hidden; background: var(--b-c); color: var(--ink); border: 3px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font: 900 2.2rem var(--f-brand); }
.tool__icon img { width: 100%; height: 100%; object-fit: cover; }
.tool__icon svg { width: 52%; height: 52%; }
.tool__name { font: 900 1.4rem/1.05 var(--f-brand); margin-top: 6px; }
.tool__kind { font: 700 .85rem var(--f-brand); color: var(--teal-hi); }
.tool__does { color: #d9d6f5; font-size: .95rem; line-height: 1.5; }
.tool .build__tags { justify-content: center; }
.tool__bubble { position: absolute; z-index: 5; bottom: calc(100% + 14px); inset-inline: -14px; padding: 12px 14px; border-radius: 18px; background: #fffaf0; color: #1c1740; border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink); font-size: .9rem; line-height: 1.45; text-align: start; opacity: 0; transform: translateY(10px) scale(.92); transform-origin: 50% 100%; pointer-events: none; transition: opacity .2s, transform .45s var(--spring); }
.tool__bubble::after { content: ""; position: absolute; top: 100%; inset-inline-start: 50%; width: 18px; height: 18px; margin-top: -9px; background: inherit; border: 2px solid var(--ink); border-width: 0 2px 2px 0; transform: translateX(50%) rotate(45deg); }
@media (hover: hover) {
  .tool:hover, .tool:focus-visible { rotate: 0deg; scale: 1.05; box-shadow: 10px 12px 0 var(--ink); z-index: 4; }
  .tool:hover .tool__bubble, .tool:focus-visible .tool__bubble { opacity: 1; transform: none; }
  .tool:hover .tool__icon { animation: tool-wiggle .6s var(--spring); }
}
@media (hover: none) { .tool__bubble { position: static; opacity: 1; transform: none; inset: auto; box-shadow: 2px 3px 0 var(--ink); } .tool__bubble::after { display: none; } }
@keyframes tool-wiggle { 30% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(8deg); } }
@keyframes tool-float { 50% { translate: 0 calc(var(--lift, 0px) - 10px); } }
@media (prefers-reduced-motion: no-preference) { html:not(.reduce-motion) .tool.is-in { animation: tool-float var(--fl, 6s) ease-in-out infinite; } }
@media (max-width: 1100px) { .bench { grid-template-columns: 1fr 1fr; } .build--hero { grid-column: 1 / -1; grid-row: auto; } .build--wide, .build--font { grid-column: auto; grid-row: auto; } }
@media (max-width: 680px) {
  .bench { grid-template-columns: 1fr; } .build--wide, .build--font { transform: none; } .build--hero .balloon-tip { display: none; }
  .tools { display: grid; grid-template-columns: 1fr; gap: 14px; padding-bottom: 0; }
  .tool { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "i n" "i k" "i d" "i g"; justify-items: start; text-align: start; column-gap: 14px; row-gap: 2px; padding: 16px; border-radius: 22px; translate: none; }
  .tool:nth-child(odd) { rotate: -.8deg; } .tool:nth-child(even) { rotate: .8deg; }
  .tool__icon { grid-area: i; width: 64px; height: 64px; border-radius: 18px; align-self: start; }
  .tool__name { grid-area: n; font-size: 1.2rem; margin: 0; } .tool__kind { grid-area: k; } .tool__does { grid-area: d; margin-top: 4px; font-size: .92rem; }
  .tool .build__go { grid-area: g; margin-top: 4px; }
  .tool__bubble, .tool .build__tags { display: none; }
}

/* ---------- גיבורי העל: מניפה ---------- */
.heroes__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 70px); align-items: center; }
.heroes__fan { position: relative; height: clamp(300px, 34vw, 460px); }
.fcard { position: absolute; top: 6%; left: 31%; width: 38%; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--hard); transform-origin: 50% 120%; transform: rotate(calc(var(--k) * 9deg)); transition: transform .8s var(--spring); }
.fcard img { width: 100%; height: 100%; object-fit: cover; }
.heroes__wrap:hover .fcard { transform: rotate(calc(var(--k) * 14deg)) translateY(-8px); }
/* לוחית שם: מכסה את השם האמיתי שמודפס על הקלף, ומציגה רק את שם הגיבור */
.nameplate { position: absolute; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(180deg, color-mix(in srgb, var(--np, #1b3f8b) 70%, #000), color-mix(in srgb, var(--np, #1b3f8b) 45%, #000)); border: 2px solid #f5c842; box-shadow: 0 0 0 2px var(--ink); color: #ffe08a; font: 900 clamp(.55rem, 1.6cqw, .95rem)/1 var(--f-brand); letter-spacing: .04em; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; container-type: normal; }
.fcard { container-type: inline-size; }
.fcard .nameplate { font-size: 7.5cqw; }
.heroes__text { display: grid; gap: 16px; justify-items: start; }
@media (max-width: 860px) { .heroes__wrap { grid-template-columns: 1fr; } .heroes__fan { height: 74vw; max-height: 420px; } }

/* ---------- הרצאות: במה ---------- */
.talks { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: clamp(16px, 2.4vw, 28px); }
.talk { position: relative; display: grid; gap: 10px; align-content: start; }
.talk .media { border: var(--stroke) solid var(--ink); box-shadow: var(--hard); }
.talk--main { grid-row: span 2; padding: 14px; border-radius: var(--r-lg); background: linear-gradient(90deg, #5b1d3a, #2a1446 14%, #2a1446 86%, #5b1d3a); border: var(--stroke) solid var(--ink); box-shadow: var(--hard-lg); }
.talk--main .play { inset-inline-start: 30px; bottom: auto; top: 30px; }
.talk__cap { display: grid; gap: 8px; justify-items: start; }
.talk__cap b { font: 900 1.2rem/1.2 var(--f-brand); }
.talk--main .talk__cap b { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
@media (max-width: 760px) { .talks { grid-template-columns: 1fr; } .talk--main { grid-row: auto; } }

/* ---------- סיום: במה עם זרקור, דניאל מציג את הטופס ---------- */
.contact { padding-block: var(--section) clamp(30px, 5vw, 60px); }
.contact__card { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3.5vw, 48px); align-items: end; padding: clamp(26px, 4.5vw, 60px); border-radius: var(--r-lg); border: 3px solid var(--ink); box-shadow: var(--hard-lg); overflow: hidden;
  background: radial-gradient(60% 80% at 18% 30%, rgba(245, 200, 66, .35), transparent 60%), radial-gradient(70% 90% at 90% 100%, rgba(67, 175, 191, .35), transparent 60%), linear-gradient(140deg, #3a1b6e 0%, #1b3f8b 55%, #0f2560 100%); }
.contact__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1.3px, transparent 1.8px); background-size: 10px 10px; mask-image: linear-gradient(120deg, #000, transparent 45%); }
.contact__burst { position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; inset-inline-start: -6%; bottom: -14%; background: var(--gold); clip-path: polygon(50% 0, 58% 32%, 88% 12%, 70% 42%, 100% 50%, 70% 58%, 88% 88%, 58% 68%, 50% 100%, 42% 68%, 12% 88%, 30% 58%, 0 50%, 30% 42%, 12% 12%, 42% 32%); opacity: .9; }
@media (prefers-reduced-motion: no-preference) { html:not(.reduce-motion) .contact__burst { animation: burst-spin 40s linear infinite; } }
@keyframes burst-spin { to { transform: rotate(360deg); } }
.contact__me { align-self: end; width: 100%; max-width: 360px; margin-bottom: calc(-1 * clamp(26px, 4.5vw, 60px)); filter: drop-shadow(8px 6px 0 var(--ink)); transform-origin: 50% 100%; }
.js-motion .contact__me { transform: translateY(40px) rotate(-3deg); opacity: 0; transition: transform 1s var(--spring), opacity .6s; }
.js-motion .contact.is-in .contact__me, html:not(.js-motion) .contact__me { transform: none; opacity: 1; }
.contact__col { display: grid; gap: 16px; align-content: start; align-self: center; position: relative; z-index: 1; }
.contact .kicker { color: var(--gold); }
.contact .title { color: #fff; -webkit-text-stroke: .05em var(--ink); paint-order: stroke fill; text-shadow: .05em .06em 0 var(--ink); }
.contact .lead { color: #e7e4ff; }
.contact__lines { display: grid; gap: 10px; margin-top: 6px; }
.contact__line { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 1.1rem var(--f-brand); color: #fff; }
.contact__line svg { width: 22px; height: 22px; color: var(--gold); }
.contact__line:hover { color: var(--gold); }
.form { position: relative; z-index: 1; display: grid; gap: 16px; align-self: center; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 7px 0 var(--ink); transform: rotate(-1deg); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field > span, .field legend { font: 700 1rem var(--f-brand); color: var(--paper-ink); padding: 0; }
.field input[type=text], .field input[type=email], .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 2px solid var(--ink); background: #fffaf0; color: var(--paper-ink); font: 400 1rem var(--f-text); box-shadow: 2px 3px 0 var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--purple); outline-offset: 2px; }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; margin-bottom: 6px; }
.field--chips label { position: relative; }
.field--chips input { position: absolute; opacity: 0; inset: 0; }
.field--chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border-radius: var(--r-pill); border: 2px solid var(--ink); background: #fffaf0; color: var(--paper-ink); font: 700 .95rem var(--f-brand); cursor: pointer; transition: background .2s, transform .3s var(--spring); }
.field--chips input:checked + span { background: var(--gold); transform: rotate(-2deg); box-shadow: 2px 3px 0 var(--ink); }
.field--chips input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 2px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--purple); }
.field--check span { font: 400 .92rem/1.5 var(--f-text); color: #4a4470; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form__note { font-size: .85rem; color: #6b6590; }
.form__msg { font: 700 1rem var(--f-brand); color: var(--purple); min-height: 1.4em; }
.form__msg.is-err { color: #b3261e; }
@media (max-width: 1100px) { .contact__card { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); } .contact__card .form { grid-column: 1 / -1; transform: none; } .contact__me { margin-bottom: 0; max-width: 280px; } }
@media (max-width: 640px) { .contact__card { grid-template-columns: 1fr; background: radial-gradient(80% 45% at 50% 18%, rgba(245, 200, 66, .3), transparent 70%), linear-gradient(170deg, #3a1b6e 0%, #1b3f8b 60%, #0f2560 100%); } .contact__me { order: -1; max-width: 220px; margin-inline: auto; filter: none; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); } .form__row { grid-template-columns: 1fr; } .contact__burst { width: 90%; inset-inline-start: 5%; top: -10%; bottom: auto; } }

/* ---------- הספר: ספר תלת-ממדי שצף מעל הגלקסיה מהאיורים ---------- */
.pick { grid-template-columns: repeat(6, 1fr); }
.book3d { position: absolute; z-index: 4; top: 50%; left: 50%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -46%); perspective: 1100px; }
.book3d__body { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(-24deg) rotateX(9deg) rotateZ(-2deg); }
.scene.is-on .book3d__body, .book-sec .book3d__body { animation: bookfloat 6s ease-in-out infinite; }
@keyframes bookfloat { 0%, 100% { transform: translateY(0) rotateY(-24deg) rotateX(9deg) rotateZ(-2deg); } 50% { transform: translateY(-4%) rotateY(-16deg) rotateX(6deg) rotateZ(1deg); } }
.book3d__cover { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 3px 8px 8px 3px; transform: translateZ(9px); box-shadow: inset 6px 0 10px -6px rgba(0,0,0,.6); }
.book3d__spine { position: absolute; top: 0; bottom: 0; right: 0; width: 18px; background: linear-gradient(90deg, #0f1f5c, #233a8a 45%, #0f1f5c); transform-origin: right; transform: rotateY(90deg) translateX(9px); }
.book3d__pages { position: absolute; top: 2%; bottom: 2%; left: 0; width: 16px; background: repeating-linear-gradient(90deg, #f6eedd 0 1px, #d9ccb0 1px 2px); transform-origin: left; transform: rotateY(-90deg) translateX(-8px); }
.book3d__shadow { position: absolute; left: 12%; right: 12%; bottom: -12%; height: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); }
.scene.is-on .book3d__shadow, .book-sec .book3d__shadow { animation: bookshadow 6s ease-in-out infinite; }
@keyframes bookshadow { 50% { transform: scale(.86); opacity: .7; } }
.scene--book .scene__media img { filter: none; }
.scene--book .scene__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 55%, transparent 30%, rgba(6, 8, 30, .5)); }
.scene--book .book3d { opacity: 0; transition: opacity .6s .35s, transform 1s var(--spring) .35s; transform: translate(-50%, -30%) scale(.85); }
.scene--book.is-on .book3d { opacity: 1; transform: translate(-50%, -46%); }

.book-sec { position: relative; padding-block: calc(var(--section) * .6); }
.book-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.book-sec__art { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: var(--stroke) solid var(--ink); box-shadow: var(--hard-lg); }
.book-sec__sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book3d--big { width: 52%; }
.book-sec__text { display: grid; gap: 16px; justify-items: start; }
.book-sec__memo { padding: 12px 16px; border-radius: 12px; background: rgba(255,255,255,.06); border-inline-start: 4px solid var(--gold); color: var(--text); }
.book-sec__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .book-sec__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .pick__b { font-size: .74rem; padding: 6px 1px; } .book3d { width: 52%; } }
@media (prefers-reduced-motion: reduce) { .book3d__body, .book3d__shadow { animation: none !important; } }
html.reduce-motion .book3d__body, html.reduce-motion .book3d__shadow { animation: none !important; }

/* ---------- מא' ועד ת': צופה שלבים ---------- */
.build-view { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: center; }
.build-view__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 3px solid var(--ink); box-shadow: var(--hard-lg); background: #0a0d2a; }
.build-view__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 0 0 100%); transform: scale(1.06); transition: clip-path 1s cubic-bezier(.77, 0, .18, 1), transform 1.6s var(--ease); }
.build-view__img.is-on { clip-path: inset(0); transform: none; z-index: 2; }
.build-view__img.is-prev { clip-path: inset(0); z-index: 1; }
.build-view__tag { position: absolute; z-index: 3; top: 14px; left: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--gold); color: var(--ink); border: 2px solid var(--ink); font: 900 1rem var(--f-brand); box-shadow: 2px 3px 0 var(--ink); direction: ltr; }
.build-view__steps { display: grid; gap: 10px; counter-reset: s; }
.step { position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 14px 16px; text-align: start; border-radius: var(--r); background: rgba(255,255,255,.05); border: 2px solid rgba(255,255,255,.12); transition: background .3s, border-color .3s, transform .4s var(--spring); }
.step:hover { transform: translateX(-4px); }
.step__n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); font: 900 1.05rem var(--f-brand); font-style: normal; transition: background .3s, color .3s; position: relative; z-index: 1; }
.step span { display: grid; gap: 3px; position: relative; z-index: 1; }
.step b { font: 900 1.2rem/1.1 var(--f-brand); }
.step small { color: var(--muted); font-size: .9rem; line-height: 1.45; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.step.is-on { background: rgba(245, 200, 66, .1); border-color: var(--gold); }
.step.is-on .step__n { background: var(--gold); color: var(--ink); }
.step.is-on small { max-height: 5em; opacity: 1; }
.step__fill { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; }
.step.is-on .step__fill { transform: scaleX(1); transition: transform 3.6s linear; }
.step.is-on.is-hold .step__fill { transition: none; }
@media (max-width: 860px) { .build-view { grid-template-columns: 1fr; } }
