/* =========================================================
   Yummi – יאמי ווינרב · עיצוב ובניית אתרים
   Desktop layout is measured 1:1 from the PNG mockups.
   --a = 1px of "דף בית 1" (860w), --b = "דף בית 2" (736w), --c = "דף בית 3" (1122w)
   Mobile: --m = 1px of the mobile mockups (732w)
   ========================================================= */

@font-face { font-family: "Plinko"; src: url("../fonts/Plinko_Fs-Thin.woff2") format("woff2"); font-weight: 100; font-display: swap; }
@font-face { font-family: "Plinko"; src: url("../fonts/Plinko_Fs-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Plinko"; src: url("../fonts/Plinko_Fs-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plinko"; src: url("../fonts/Plinko_Fs-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plinko"; src: url("../fonts/Plinko_Fs-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plinko"; src: url("../fonts/Plinko_Fs-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Allison"; src: url("../fonts/Allison-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg: #05010f;
  --bg-2: #0a0220;
  --ink: #f6f3ee;
  --ink-soft: #e9e5f2;
  --purple: #5a22ff;
  --purple-2: #4a1ff0;
  --purple-deep: #2a0a8a;
  --violet: #7e0cff;
  --script: #6206e8;
  --lime: #b1fb01;
  --red: #ff5a51;
  --coral: #ff5a52;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --vw: 100vw;               /* overwritten by JS with the real client width */
  --cap: 1720px;             /* larger screens keep the composition, centered */
  --k: .7;                   /* overall size of the desktop composition (1 = fills the window, .7 = 30% smaller) */
  --W: calc(min(var(--vw), var(--cap)) * var(--k));
  --a: calc(var(--W) / 860);
  --b: calc(var(--W) / 736);
  --c: calc(var(--W) / 1122);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html:not(.lenis) { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plinko", "Assistant", "Rubik", system-ui, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--purple); color: #fff; }

.lime { color: var(--lime); }
.dot { font-style: normal; }
.dot--red { color: var(--red); }
.dot--lime { color: var(--lime); }
.bang { font-style: normal; color: #ff4fae; }

.skip { position: fixed; top: -100px; right: 16px; z-index: 999; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

main, .footer { position: relative; width: var(--W); margin-inline: auto; }
main { overflow-x: visible; }   /* backgrounds bleed to the window edges; body hides any horizontal overflow */
.mmenu { display: none; }
section { position: relative; }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; gap: 22px;
  background: var(--bg);
  transition: opacity .7s var(--ease) .1s, visibility 0s linear .8s;
}
.loader__logo { width: min(240px, 50vw); filter: drop-shadow(0 0 30px rgba(90, 34, 255, .55)); animation: loaderPop 1s var(--ease) both; }
.loader__bar { display: block; width: min(240px, 50vw); height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.loader__bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #3d6cff, #8b2cf5); transform-origin: right; animation: loaderBar 1.1s var(--ease-in-out) both; }
body:not(.is-loading) .loader { opacity: 0; visibility: hidden; }
@keyframes loaderPop { from { opacity: 0; transform: translateY(14px) scale(.94); filter: blur(8px); } }
@keyframes loaderBar { from { transform: scaleX(0); } }

/* ---------- progress + cursor ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 200; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(270deg, #3d6cff, #8b2cf5 60%, var(--red)); transform-origin: right; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(139, 44, 245, .8); }
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; z-index: 1; pointer-events: none;
  border-radius: 50%; background: radial-gradient(circle, rgba(98, 30, 255, .16), rgba(98, 30, 255, 0) 65%);
  transform: translate3d(var(--mx, -999px), var(--my, -999px), 0); mix-blend-mode: screen; transition: opacity .4s;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- script titles (Allison + drawn flourish) ---------- */
.script { position: absolute; color: var(--script); pointer-events: none; }
.script svg { width: 100%; height: 100%; overflow: visible; }
.script text { font-family: "Allison", cursive; fill: currentColor; }
.script path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
@property --wp { syntax: "<percentage>"; inherits: false; initial-value: 110%; }
.script svg { --wp: 110%; }
.js .script svg {
  --wp: -14%;
  -webkit-mask-image: linear-gradient(98deg, #000 var(--wp), transparent calc(var(--wp) + 12%));
          mask-image: linear-gradient(98deg, #000 var(--wp), transparent calc(var(--wp) + 12%));
  transition: --wp 2.4s cubic-bezier(.55, .1, .35, 1) .25s;
}
.js .script.is-in svg { --wp: 112%; }
.script { filter: drop-shadow(0 0 6px rgba(98, 6, 232, .55)); }

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  border-radius: 999px; white-space: nowrap; cursor: pointer; isolation: isolate; overflow: hidden;
  font-weight: 300; line-height: 1; border: 0; user-select: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
  will-change: transform;
}
.btn__label { position: relative; z-index: 2; }
.btn::after { /* shine sweep */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.35) 48%, transparent 66%);
  transform: translateX(120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(-120%); }
.btn svg { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn__arrow { position: relative; z-index: 2; display: grid; place-items: center; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(-6px); }

.btn--primary {
  color: #fff;
  background: radial-gradient(120% 140% at 70% 0%, #6a3bff 0%, #5524ff 45%, #4a1cf2 100%);
  box-shadow: 0 0 0 1px rgba(150, 120, 255, .25) inset, 0 10px 30px -8px rgba(80, 30, 255, .65);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(190, 170, 255, .45) inset, 0 16px 44px -8px rgba(100, 50, 255, .9), 0 0 30px rgba(98, 30, 255, .45); }
.btn--ghost { color: #fff; background: rgba(0,0,0,.35); box-shadow: 0 0 0 1px rgba(214, 205, 160, .75) inset; }
.btn--ghost:hover { background: rgba(255,255,255,.06); box-shadow: 0 0 0 1px rgba(240, 235, 200, 1) inset, 0 0 24px rgba(214, 205, 160, .2); }

/* nav CTA & big CTAs: label + separated round icon */
.btn__circle {
  position: relative; z-index: 2; display: grid; place-items: center; flex: none; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3a1aa8, #22077a 70%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.07) inset, 0 4px 14px rgba(0,0,0,.35);
  transition: transform .5s var(--ease);
}
.btn:hover .btn__circle { transform: rotate(45deg) scale(1.06); }
.btn__sep { position: relative; z-index: 2; width: 1px; height: 46%; background: rgba(255,255,255,.4); margin-inline: .4em; }

.btn--big {
  color: #fff; font-weight: 500;
  background: linear-gradient(90deg, #4719ff 0%, #5a2bff 55%, #6b3bff 100%);
  box-shadow: 0 0 0 1px rgba(170, 150, 255, .45) inset, 0 0 22px rgba(90, 40, 255, .65), 0 0 60px rgba(90, 40, 255, .35);
}
.btn--big:hover { box-shadow: 0 0 0 1px rgba(200, 185, 255, .7) inset, 0 0 30px rgba(110, 60, 255, .9), 0 0 90px rgba(90, 40, 255, .55); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; z-index: 100; top: calc(47 * var(--a)); left: 50%;
  width: calc(751 * var(--a)); transform: translateX(-50%);
  transition: top .6s var(--ease), transform .6s var(--ease);
}
.nav__pill {
  --ph: calc(69 * var(--a));
  position: relative; display: flex; align-items: center; height: var(--ph);
  /* the button's round icon (30px, 3px inset) shares its centre with the pill's rounded left end */
  padding-inline: calc(30 * var(--a)) calc(var(--ph) / 2 - 18 * var(--a));
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(14, 3, 44, .72), rgba(8, 1, 28, .72));
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 0 0 1px rgba(110, 50, 255, .55) inset,
    0 0 18px rgba(90, 30, 255, .35),
    0 0 1px 1px rgba(80, 20, 220, .35);
  transition: height .6s var(--ease), padding .6s var(--ease), box-shadow .6s var(--ease), background .6s;
}
.nav__pill::before { /* top light streak */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 0%, rgba(140, 90, 255, .28), transparent 70%);
}
.nav.is-scrolled { top: calc(14 * var(--a)); }
.nav.is-scrolled .nav__pill { --ph: calc(58 * var(--a)); height: var(--ph); background: linear-gradient(180deg, rgba(14, 3, 44, .86), rgba(8, 1, 28, .86)); }
.nav.is-hidden { transform: translate(-50%, -160%); }

.nav__logo { flex: none; width: calc(107 * var(--a)); margin-inline-end: calc(48 * var(--a)); }
.nav__logo img { width: 100%; height: auto; filter: brightness(1.18) saturate(1.25) drop-shadow(0 0 8px rgba(70, 120, 255, .35)); transition: transform .5s var(--ease); }
.nav__logo:hover img { transform: rotate(-3deg) scale(1.04); }

.nav__links { position: relative; display: flex; align-items: center; gap: calc(52 * var(--a)); font-size: calc(12.6 * var(--a)); font-weight: 400; }
.nav__links a { position: relative; padding-block: calc(8 * var(--a)); opacity: .92; transition: opacity .3s, color .3s; }
.nav__links a:hover { opacity: 1; color: #fff; }
.nav__squiggle {
  position: absolute; left: 0; top: 0; width: calc(64 * var(--a)); height: calc(8 * var(--a)); pointer-events: none;
  transform: translate(var(--sx, 0), var(--sy, 0)); opacity: var(--so, 0);
  transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s;
}
.nav__squiggle path { fill: none; stroke: var(--red); stroke-width: 2.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.btn--nav {
  margin-inline-start: auto; height: calc(38 * var(--a)); width: calc(135 * var(--a));
  padding-inline: calc(14 * var(--a)) calc(3 * var(--a)); justify-content: space-between;
  font-size: calc(12.4 * var(--a)); font-weight: 400; color: #fff;
  background: linear-gradient(90deg, #4a1cf2, #5a28ff 60%, #6234ff);
  box-shadow: 0 0 0 1px rgba(150, 120, 255, .3) inset, 0 0 16px rgba(90, 40, 255, .45);
}
.btn--nav .btn__circle { width: calc(30 * var(--a)); height: calc(30 * var(--a)); }
.btn--nav .btn__circle svg { width: 55%; height: 55%; }
.nav__burger { display: none; }

/* ---------- HERO ---------- */
.hero { height: calc(700 * var(--a)); }
.hero__spot { position: absolute; z-index: 1; top: calc(-40 * var(--a)); width: calc(330 * var(--a)); height: calc(560 * var(--a)); pointer-events: none; filter: blur(calc(18 * var(--a))); opacity: .5; mix-blend-mode: screen; animation: spot 7s ease-in-out infinite alternate; }
.hero__spot--l { left: calc(-120 * var(--a)); background: radial-gradient(48% 60% at 40% 45%, rgba(84, 24, 255, .75), rgba(60, 10, 200, .25) 55%, transparent 75%); transform-origin: top left; }
.hero__spot--r { right: calc(-120 * var(--a)); background: radial-gradient(48% 60% at 60% 45%, rgba(84, 24, 255, .75), rgba(60, 10, 200, .25) 55%, transparent 75%); transform-origin: top right; animation-delay: -3.5s; }
@keyframes spot { 0% { opacity: .15; transform: scale(1) rotate(0deg); } 100% { opacity: .55; transform: scale(1.08) rotate(2deg); } }
.hero__floor { display: none; position: absolute; left: 0; right: 0; top: calc(470 * var(--a)); height: calc(260 * var(--a)); background: radial-gradient(50% 40% at 50% 30%, rgba(90, 20, 255, .22), transparent 70%); pointer-events: none; }

.hero__script { left: calc(232 * var(--a)); top: calc(150 * var(--a)); width: calc(418 * var(--a)); height: calc(60 * var(--a)); z-index: 3; }
.hero__art {
  position: absolute; left: 0; top: 0; width: calc(860 * var(--a)); height: calc(700 * var(--a)); overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 88%, transparent 100%), linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
}
.hero__art img, .hero__art .snake { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 45%;
  transform: translate3d(var(--px, 0), calc(var(--py, 0px) + var(--hs, 0px)), 0) scale(calc(1.012 + var(--hz, 0)));
  transition: transform .9s var(--ease); }

.hero__title {
  position: absolute; left: 0; right: 0; top: calc(574 * var(--a)); margin: 0; text-align: center; z-index: 2;
  font-weight: 900; font-size: calc(41.5 * var(--a)); line-height: 1; letter-spacing: -.005em;
  text-shadow: 0 2px 18px rgba(0,0,0,.6);
}
.hero__title .w { display: inline-block; }
.hero__ctas { z-index: 2; position: absolute; top: calc(634 * var(--a)); left: 0; right: 0; display: flex; justify-content: center; gap: calc(12 * var(--a)); padding-inline-start: calc(6 * var(--a)); }
.hero__ctas .btn { height: calc(43 * var(--a)); font-size: calc(14.2 * var(--a)); font-weight: 400; }
.hero__ctas .btn--primary { width: calc(212 * var(--a)); }
.hero__ctas .btn--ghost { width: calc(190 * var(--a)); }
.hero__ctas .btn--primary .btn__arrow { margin-inline-start: calc(10 * var(--a)); }

.hero__scroll { position: absolute; left: 50%; bottom: calc(-8 * var(--a)); width: calc(18 * var(--a)); height: calc(28 * var(--a)); transform: translateX(-50%); border: 1px solid rgba(255,255,255,.28); border-radius: 99px; opacity: .7; }
.hero__scroll span { position: absolute; left: 50%; top: 22%; width: 2px; height: 18%; margin-left: -1px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-40%); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(160%); } }

/* ---------- ABOUT ---------- */
.about { height: calc(490 * var(--a)); }
.about::before { content: ""; position: absolute; left: calc(-60 * var(--a)); top: calc(40 * var(--a)); width: calc(700 * var(--a)); height: calc(460 * var(--a)); background: radial-gradient(50% 50% at 45% 50%, rgba(80, 20, 230, .22), transparent 70%); pointer-events: none; }
.about__art { position: absolute; left: 0; top: calc(50 * var(--a)); width: calc(578 * var(--a)); height: calc(422 * var(--a)); }
.about__img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 90%, transparent 100%); mask-composite: intersect; }
.about__img--m { display: none; }
.about__text { position: absolute; right: calc(28 * var(--a)); top: 0; width: calc(360 * var(--a)); height: 100%; text-align: right; }
.about__script { right: calc(-2 * var(--a)); top: calc(82 * var(--a)); width: calc(340 * var(--a)); height: calc(56 * var(--a)); }
.about__title { position: absolute; right: 0; top: calc(150 * var(--a)); margin: 0; white-space: nowrap; font-weight: 900; font-size: calc(65 * var(--a)); line-height: 1; letter-spacing: -.01em; }
.about__sub { position: absolute; right: 0; top: calc(221 * var(--a)); margin: 0; white-space: nowrap; font-weight: 900; font-size: calc(29.5 * var(--a)); line-height: 1; }
.about__body { position: absolute; right: 0; top: calc(272 * var(--a)); margin: 0; white-space: nowrap; font-size: calc(17.5 * var(--a)); line-height: calc(26 * var(--a)); }
.about__btn { position: absolute; right: 0; top: calc(380 * var(--a)); width: calc(227 * var(--a)); height: calc(47 * var(--a)); font-size: calc(15.6 * var(--a)); font-weight: 400; }
.about__btn .btn__arrow { margin-inline-start: calc(14 * var(--a)); }

/* ---------- PROCESS ---------- */
.process { height: calc(715 * var(--a)); text-align: center; }
.process__glow { position: absolute; left: 10%; right: 10%; top: calc(-50 * var(--a)); height: calc(160 * var(--a)); background: radial-gradient(50% 50% at 50% 50%, rgba(80, 20, 230, .18), transparent 70%); pointer-events: none; }
.process__script { left: calc(234 * var(--a)); top: calc(26 * var(--a)); width: calc(390 * var(--a)); height: calc(60 * var(--a)); }
.process__title { position: absolute; left: 0; right: 0; top: calc(90 * var(--a)); margin: 0; font-weight: 900; font-size: calc(76 * var(--a)); line-height: calc(57 * var(--a)); letter-spacing: -.01em; }
.process__title .line { display: block; }
.steps { position: absolute; left: calc(12 * var(--a)); top: calc(219 * var(--a)); width: calc(840 * var(--a)); margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 0 1fr 0 1fr; }
.step { display: flex; flex-direction: column; align-items: center; }
.step__num {
  font-family: "Plinko", sans-serif; font-weight: 400; font-size: calc(78 * var(--a)); line-height: 1; letter-spacing: -.02em;
  color: #ff4fae; -webkit-text-stroke: 0;
  text-shadow: 0 0 calc(18 * var(--a)) rgba(255, 79, 174, .4);
  direction: ltr; transition: color .5s, -webkit-text-stroke-color .5s, text-shadow .5s;
}
.step:hover .step__num { color: #ff6dbd; text-shadow: 0 0 calc(26 * var(--a)) rgba(255, 79, 174, .8); }
.step__dot { width: calc(10 * var(--a)); height: calc(10 * var(--a)); margin-top: calc(1 * var(--a)); border-radius: 50%; background: #8a46fd; box-shadow: 0 0 calc(10 * var(--a)) #7b2bff, 0 0 calc(22 * var(--a)) rgba(123, 43, 255, .6); animation: pulse 2.4s ease-in-out infinite; }
.step:nth-child(3) .step__dot { animation-delay: .4s; }
.step:nth-child(5) .step__dot { animation-delay: .8s; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); box-shadow: 0 0 calc(14 * var(--a)) #8a46fd, 0 0 calc(34 * var(--a)) rgba(123, 43, 255, .8); } }
.step__title { margin: calc(3 * var(--a)) 0 0; font-weight: 900; font-size: calc(26 * var(--a)); line-height: 1.1; }
.step__text { margin: calc(6 * var(--a)) 0 0; padding-inline: calc(16 * var(--a)); font-size: calc(15.5 * var(--a)); line-height: calc(23 * var(--a)); }
.step__line { position: relative; }
.step__line i { position: absolute; top: calc(52 * var(--a)); right: calc(-85 * var(--a)); width: calc(172 * var(--a)); height: calc(1.6 * var(--a)); background: linear-gradient(270deg, #5a10e6, #4b0fc4); transform-origin: right; transform: scaleX(0); transition: transform 1.2s var(--ease) .5s; box-shadow: 0 0 6px rgba(90, 16, 230, .6); }
.steps.is-in .step__line i { transform: scaleX(1); }
.steps.is-in .step__line:nth-child(4) i { transition-delay: 1s; }
.process__btn { position: absolute; left: calc(336 * var(--a)); top: calc(540 * var(--a)); width: calc(188 * var(--a)); height: calc(42 * var(--a)); font-size: calc(16.4 * var(--a)); font-weight: 400; }
.process__btn .btn__arrow { margin-inline-start: calc(14 * var(--a)); }

/* ---------- WORK ---------- */
.work { height: calc(2135 * var(--b)); }
.work__waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wave { transition: stroke-dashoffset .9s cubic-bezier(.22,.61,.36,1); fill: none; stroke: url(#waveg); stroke-width: 2.2; filter: url(#neon); stroke-linecap: round; opacity: .95; stroke-dasharray: var(--len, 3000); stroke-dashoffset: var(--len, 3000); vector-effect: non-scaling-stroke; }
.work__head { position: absolute; inset-inline: 0; top: 0; height: calc(180 * var(--b)); text-align: center; }
.work__script { left: calc(204 * var(--b)); top: calc(52 * var(--b)); width: calc(320 * var(--b)); height: calc(54 * var(--b)); }
.work__title { position: absolute; inset-inline: 0; top: calc(112 * var(--b)); margin: 0; font-weight: 900; font-size: calc(44.5 * var(--b)); line-height: 1; letter-spacing: -.01em; }

.projects { position: absolute; top: calc(188 * var(--b)); right: calc(26 * var(--b)); width: calc(662 * var(--b)); }
.project { position: relative; display: flex; align-items: flex-start; justify-content: space-between; height: calc(322.5 * var(--b)); }
.project__info { display: flex; flex-direction: column; align-items: flex-end; width: calc(215 * var(--b)); padding-top: calc(62 * var(--b)); }
.project__num { display: flex; align-items: center; gap: calc(14 * var(--b)); align-self: stretch; justify-content: flex-end; }
.project__num b { font-weight: 900; font-size: calc(22 * var(--b)); color: var(--lime); direction: ltr; letter-spacing: .02em; }
.project__rule { display: block; width: calc(100 * var(--b)); height: 1px; margin-inline-start: auto; margin-inline-end: 0; background: linear-gradient(270deg, rgba(255,255,255,0), rgba(255,255,255,.75)); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .4s; }
.project.is-in .project__rule { transform: scaleX(1); }
.project__name { align-self: stretch; margin: calc(1 * var(--b)) 0 0; font-weight: 900; font-size: var(--fit, calc(66 * var(--b))); line-height: .86; white-space: nowrap; text-align: left; }
.project__tag { align-self: stretch; margin: calc(6 * var(--b)) 0 0; font-size: calc(18.6 * var(--b)); line-height: 1.25; font-weight: 400; text-align: left; white-space: nowrap; }
.btn--sm { margin-top: calc(13 * var(--b)); width: calc(188 * var(--b)); height: calc(45 * var(--b)); font-size: calc(13.4 * var(--b)); font-weight: 400; gap: calc(10 * var(--b)); }
.btn--sm .btn__arrow { margin-inline-start: calc(8 * var(--b)); }

.project__media { position: relative; width: calc(416 * var(--b)); }
.project__media::after { /* violet floor glow */
  content: ""; position: absolute; left: -6%; right: -6%; top: calc(236 * var(--b)); height: calc(60 * var(--b));
  background: radial-gradient(50% 50% at 50% 50%, rgba(140, 70, 255, .9), rgba(90, 20, 255, .3) 50%, transparent 72%);
  filter: blur(calc(6 * var(--b))); z-index: -1; pointer-events: none; transition: opacity .5s; opacity: 1;
}
.browser {
  position: relative; display: block; border-radius: calc(7 * var(--b)); overflow: hidden;
  background: #120a26;
  box-shadow: 0 0 0 1.5px rgba(205, 190, 255, .8), 0 0 calc(8 * var(--b)) rgba(200, 170, 255, .55), 0 0 calc(22 * var(--b)) rgba(120, 60, 255, .7), 0 calc(16 * var(--b)) calc(46 * var(--b)) -4px rgba(100, 30, 255, .75);
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  transform-style: preserve-3d;
}
.browser:hover { box-shadow: 0 0 0 1px rgba(200, 180, 255, .85), 0 0 calc(22 * var(--b)) rgba(130, 70, 255, .85), 0 calc(20 * var(--b)) calc(60 * var(--b)) -6px rgba(110, 40, 255, .8); }
.browser__bar { position: relative; display: flex; align-items: center; height: calc(20 * var(--b)); padding-inline: calc(9 * var(--b)); gap: calc(5 * var(--b)); direction: ltr; background: linear-gradient(180deg, #2a2340, #1c1630); border-bottom: 1px solid rgba(255,255,255,.06); }
.browser__bar i { width: calc(7 * var(--b)); height: calc(7 * var(--b)); border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar b { width: calc(11 * var(--b)); height: calc(8 * var(--b)); border: 1px solid rgba(255,255,255,.55); border-radius: calc(3 * var(--b)); }
.browser__bar b:nth-of-type(1) { margin-left: auto; }
.browser__screen { position: relative; display: block; aspect-ratio: 411 / 243; overflow: hidden; }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.001); transition: transform 1.2s var(--ease), filter .6s; }
.browser:hover .browser__screen img { transform: scale(1.045); }
.browser__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 35%); pointer-events: none; }
.project__url { display: inline-flex; align-items: center; gap: calc(9 * var(--b)); margin-top: calc(10 * var(--b)); margin-inline-start: calc(4 * var(--b)); direction: ltr; font-size: calc(14.4 * var(--b)); font-weight: 300; color: #f1eefa; transition: color .3s; }
.project__media .project__url { position: absolute; left: calc(6 * var(--b)); top: calc(268 * var(--b)); }
.project__url:hover { color: var(--lime); }
.link-ico { display: grid; place-items: center; width: calc(24 * var(--b)); height: calc(24 * var(--b)); border-radius: 50%; background: rgba(90, 40, 255, .25); box-shadow: 0 0 0 1px rgba(150, 120, 255, .45) inset, 0 0 10px rgba(90, 40, 255, .5); }
.link-ico svg { width: 62%; height: 62%; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.project__url:hover .link-ico { transform: rotate(-20deg); transition: transform .4s var(--ease); }

/* ---------- CONTACT ---------- */
.contact { height: calc(780 * var(--c)); }
.contact__glow { position: absolute; pointer-events: none; border-radius: 50%; }
.contact__glow--a { left: calc(-120 * var(--c)); top: calc(110 * var(--c)); width: calc(240 * var(--c)); height: calc(240 * var(--c)); background: radial-gradient(circle, rgba(40, 60, 255, .85), rgba(40, 30, 255, .25) 45%, transparent 70%); filter: blur(calc(14 * var(--c))); animation: spot 6s ease-in-out infinite alternate; }
.contact__glow--b { left: calc(-120 * var(--c)); top: calc(890 * var(--c)); width: calc(240 * var(--c)); height: calc(260 * var(--c)); background: radial-gradient(circle, rgba(40, 60, 255, .75), rgba(40, 30, 255, .2) 45%, transparent 70%); filter: blur(calc(14 * var(--c))); animation: spot 7s ease-in-out infinite alternate-reverse; }
.contact__tube { position: absolute; left: calc(350 * var(--c)); top: calc(80 * var(--c)); width: calc(772 * var(--c)); height: calc(700 * var(--c)); pointer-events: none; }
.contact__tube img, .contact__tube .snake { display: block; width: 100%; height: 100%; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%), linear-gradient(0deg, transparent 0, #000 10%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 8%), linear-gradient(0deg, transparent 0, #000 10%); mask-composite: intersect; }

.contact__text { position: absolute; right: calc(100 * var(--c)); top: calc(252 * var(--c)); text-align: right; }
.contact__title { margin: 0 calc(17 * var(--c)) 0 0; font-weight: 900; font-size: calc(80 * var(--c)); line-height: calc(64 * var(--c)); letter-spacing: -.01em; color: var(--ink); }
.contact__title .line, .talk__title .line { display: block; }
.u { position: relative; display: inline-block; }
.u__line { position: absolute; left: 4%; bottom: -0.16em; width: 90%; height: .18em; overflow: visible; }
.u__line path { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 150; stroke-dashoffset: 150; transition: stroke-dashoffset 1s var(--ease) .7s; }
.is-in .u__line path { stroke-dashoffset: 0; }
.contact__sub { margin: calc(38 * var(--c)) 0 0; font-size: calc(23 * var(--c)); font-weight: 400; white-space: nowrap; }

.form { position: absolute; left: calc(65 * var(--c)); top: calc(228 * var(--c)); width: calc(583 * var(--c)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(20 * var(--c)) calc(20 * var(--c)); }
.field {
  position: relative; display: flex; align-items: center; gap: calc(12 * var(--c)); height: calc(63 * var(--c));
  padding-inline: calc(20 * var(--c)); border-radius: calc(13 * var(--c));
  background: linear-gradient(180deg, rgba(25, 8, 70, .45), rgba(12, 3, 40, .45));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 calc(1.4 * var(--c)) rgba(115, 40, 245, .95) inset, 0 0 calc(10 * var(--c)) rgba(110, 40, 245, .35);
  transition: box-shadow .4s var(--ease), background .4s;
  cursor: text;
}
.field:hover { box-shadow: 0 0 0 calc(1.4 * var(--c)) rgba(150, 90, 255, 1) inset, 0 0 calc(16 * var(--c)) rgba(120, 50, 255, .55); }
.field:focus-within { background: linear-gradient(180deg, rgba(40, 14, 100, .55), rgba(18, 5, 55, .55)); box-shadow: 0 0 0 calc(1.6 * var(--c)) #9b6bff inset, 0 0 calc(24 * var(--c)) rgba(130, 70, 255, .7); }
.field.is-error { box-shadow: 0 0 0 calc(1.6 * var(--c)) var(--red) inset, 0 0 calc(18 * var(--c)) rgba(255, 90, 81, .45); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(6px); } 75% { transform: translateX(-6px); } }
.field--name, .field--msg { grid-column: 1 / -1; }
.field--msg { height: calc(148 * var(--c)); align-items: flex-start; padding-top: calc(18 * var(--c)); }
.field__ico { flex: none; width: calc(26 * var(--c)); height: calc(26 * var(--c)); color: #fff; }
.field__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.field input, .field textarea { flex: 1; min-width: 0; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; font-size: calc(19 * var(--c)); font-weight: 400; color: #fff; }
.field textarea { resize: none; height: calc(110 * var(--c)); padding: calc(2 * var(--c)) 0 0; line-height: 1.5; }
.field input[type=tel] { direction: rtl; text-align: right; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.92); transition: opacity .3s, transform .3s; }
.field :focus::placeholder { opacity: .35; }
.field__grip { position: absolute; left: calc(13 * var(--c)); bottom: calc(11 * var(--c)); width: calc(12 * var(--c)); height: calc(12 * var(--c)); background: linear-gradient(135deg, transparent 45%, rgba(255,255,255,.55) 45% 52%, transparent 52% 70%, rgba(255,255,255,.55) 70% 77%, transparent 77%); }

.form .btn--big { grid-column: 2; justify-self: start; margin-top: calc(1 * var(--c)); width: calc(282 * var(--c)); height: calc(69 * var(--c)); padding-inline: calc(30 * var(--c)) calc(11 * var(--c)); font-size: calc(26 * var(--c)); justify-content: space-between; }
.btn--big .btn__circle { width: calc(53 * var(--c)); height: calc(53 * var(--c)); }
.btn--big .btn__circle svg { width: 50%; height: 50%; stroke-width: 2; }
.btn--big .btn__label { flex: 1; text-align: center; }
.form__msg { grid-column: 1 / -1; margin: 0; min-height: 1.4em; font-size: calc(17 * var(--c)); color: var(--lime); opacity: 0; transform: translateY(6px); transition: .4s var(--ease); }
.form__msg.is-on { opacity: 1; transform: none; }
.form__msg.is-err { color: var(--red); }
.form.is-sent .btn--big .btn__circle { animation: fly .9s var(--ease) both; }
@keyframes fly { 50% { transform: translate(-30px, -30px) rotate(0) scale(.6); opacity: 0; } 51% { transform: translate(30px, 30px); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- LET'S TALK ---------- */
.talk { height: calc(380 * var(--c)); }
.talk__script { position: absolute; left: 0; top: calc(10 * var(--c)); width: calc(745 * var(--c)); height: calc(370 * var(--c)); pointer-events: none; }
.talk__script img, .talk__script .snake { display: block; width: 100%; height: 100%; mix-blend-mode: lighten; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent), linear-gradient(0deg, transparent 0, #000 8%, #000 92%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, #000 85%, transparent), linear-gradient(0deg, transparent 0, #000 8%, #000 92%, transparent); mask-composite: intersect; }
.talk__text { position: absolute; right: calc(46 * var(--c)); top: calc(48 * var(--c)); display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.talk__title { align-self: stretch; margin: 0; font-weight: 900; font-size: calc(82 * var(--c)); line-height: calc(62 * var(--c)); letter-spacing: -.01em; }
.talk__title .line:first-child { padding-inline-start: calc(14 * var(--c)); }
.talk__sub { align-self: flex-start; margin: calc(42 * var(--c)) 0 0; font-size: calc(24 * var(--c)); font-weight: 400; white-space: nowrap; }
.talk .btn--big { margin-top: calc(30 * var(--c)); width: calc(256 * var(--c)); height: calc(67 * var(--c)); padding-inline: calc(30 * var(--c)) calc(10 * var(--c)); font-size: calc(26 * var(--c)); justify-content: space-between; margin-inline-start: calc(-4 * var(--c)); align-self: flex-start; }

/* ---------- FOOTER ---------- */
.footer { height: calc(242 * var(--c)); font-size: calc(17.4 * var(--c)); font-weight: 400; }
.footer::before, .footer__bottom::before { content: ""; position: absolute; left: calc(42 * var(--c)); right: calc(42 * var(--c)); height: 1px; background: linear-gradient(90deg, rgba(110, 20, 220, .55), #6a12d8 50%, rgba(110, 20, 220, .55)); box-shadow: 0 0 8px rgba(110, 20, 220, .6); }
.footer::before { top: calc(2 * var(--c)); }
.footer__top { position: absolute; inset-inline: 0; top: calc(20 * var(--c)); height: calc(120 * var(--c)); }
.footer__logo { position: absolute; right: calc(97 * var(--c)); top: calc(18 * var(--c)); width: calc(181 * var(--c)); }
.footer__logo img { width: 100%; height: auto; filter: hue-rotate(-18deg) brightness(1.25) saturate(1.3) drop-shadow(0 0 10px rgba(50, 150, 255, .3)); }
.footer__vsep { position: absolute; top: calc(12 * var(--c)); height: calc(93 * var(--c)); width: 1.5px; background: linear-gradient(180deg, transparent, #6a12d8 20%, #6a12d8 80%, transparent); }
.footer__vsep:nth-of-type(1) { right: calc(388 * var(--c)); }
.footer__vsep:nth-of-type(2) { right: calc(733 * var(--c)); }
.footer__col { position: absolute; display: flex; flex-direction: column; align-items: center; }
.footer__col h3 { margin: 0; font-size: calc(18 * var(--c)); font-weight: 500; color: var(--coral); }
.footer__nav { left: calc(470 * var(--c)); width: calc(180 * var(--c)); top: 0; }
.footer__nav a { font-size: calc(18.4 * var(--c)); margin-top: calc(9.5 * var(--c)); line-height: calc(19.5 * var(--c)); transition: color .3s, transform .3s var(--ease); }
.footer__nav a:hover { color: var(--lime); transform: translateX(-4px); }
.footer__contact { left: calc(90 * var(--c)); width: calc(240 * var(--c)); top: calc(3 * var(--c)); }
.footer__icons { display: flex; flex-direction: row; gap: calc(52 * var(--c)); margin-top: calc(20 * var(--c)); }
.ficon { display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--c)); transition: transform .4s var(--ease), color .3s; }
.ficon svg { width: calc(42 * var(--c)); height: calc(42 * var(--c)); fill: none; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; transition: stroke .3s, filter .3s; }
.ficon svg .fill { fill: #fff; stroke: none; transition: fill .3s; }
.ficon:hover { transform: translateY(-4px); color: var(--lime); }
.ficon:hover svg { stroke: var(--lime); filter: drop-shadow(0 0 8px rgba(177, 251, 1, .6)); }
.ficon:hover svg .fill { fill: var(--lime); }
.footer__bottom { position: absolute; inset-inline: 0; top: calc(155 * var(--c)); height: calc(87 * var(--c)); font-size: calc(16.4 * var(--c)); }
.footer__bottom::before { top: 0; }
.footer__bottom > * { position: absolute; top: calc(28 * var(--c)); line-height: 1; }
.footer__made { margin: 0; right: calc(84 * var(--c)); display: flex; flex-direction: row-reverse; align-items: center; gap: calc(9 * var(--c)); top: calc(19 * var(--c)) !important; }
.cup { width: calc(30 * var(--c)); height: calc(30 * var(--c)); fill: none; stroke: #e2524c; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cup .steam { animation: steam 2.4s ease-in-out infinite; }
@keyframes steam { 0%, 100% { opacity: .35; transform: translateY(1px); } 50% { opacity: 1; transform: translateY(-1.5px); } }
.footer__bsep { width: 1.5px; height: calc(18 * var(--c)); top: calc(24 * var(--c)) !important; background: #6a12d8; }
.footer__bsep:nth-of-type(1) { right: calc(369 * var(--c)); }
.footer__bsep:nth-of-type(2) { right: calc(547 * var(--c)); }
.footer__bsep:nth-of-type(3) { right: calc(702 * var(--c)); }
.footer__legal { transition: color .3s; }
.footer__legal:hover { color: var(--lime); }
.footer__legal:nth-of-type(1) { right: calc(411 * var(--c)); }
.footer__legal:nth-of-type(2) { right: calc(587 * var(--c)); }
.footer__legal:nth-of-type(3) { right: calc(742 * var(--c)); }
.footer__copy { left: calc(84 * var(--c)); font-size: calc(18 * var(--c)); top: calc(22 * var(--c)) !important; }

/* =========================================================
   Reveal animations
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js .script[data-reveal] { transform: none; filter: drop-shadow(0 0 6px rgba(98, 6, 232, .55)); }
.js [data-reveal="art"] { transform: translateX(-40px) scale(.96); }
.js [data-reveal="tube"] { transform: translateX(60px); filter: blur(10px); transition-duration: 1.6s; }
.js [data-reveal="talk"] { transform: none; clip-path: inset(0 100% 0 0); transition: clip-path 2.2s var(--ease) .2s, opacity .6s; }
.js [data-reveal="talk"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="project"] { transform: translateY(60px); }
.js [data-reveal="project"] .project__media { transform: perspective(1300px) rotateX(var(--st, 0deg)) rotateY(var(--sy, 0deg)) scale(var(--ss, 1)); transform-origin: 50% 60%; opacity: var(--so, 1); will-change: transform, opacity; }
.js [data-reveal="project"] .project__media .browser__screen img { transform: scale(calc(1.001 + var(--sz, 0))); }
.js [data-reveal="project"] .project__media .browser:hover .browser__screen img { transform: scale(1.045); }
.project__info { position: relative; z-index: 3; }
.project__media { z-index: 1; }
.js [data-reveal="steps"] { transform: none; filter: none; opacity: 1; }
.js [data-reveal="steps"] .step { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js [data-reveal="steps"] .step:nth-child(3) { transition-delay: .35s; }
.js [data-reveal="steps"] .step:nth-child(5) { transition-delay: .7s; }
.js [data-reveal="steps"].is-in .step { opacity: 1; transform: none; }
.js [data-reveal="form"] .field, .js [data-reveal="form"] .btn { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .9s var(--ease), box-shadow .4s var(--ease); }
.js [data-reveal="form"] { transform: none; filter: none; }
.js [data-reveal="form"].is-in .field, .js [data-reveal="form"].is-in .btn { opacity: 1; transform: none; }
.js [data-reveal="form"] > :nth-child(2) { transition-delay: .08s; }
.js [data-reveal="form"] > :nth-child(3) { transition-delay: .16s; }
.js [data-reveal="form"] > :nth-child(4) { transition-delay: .24s; }
.js [data-reveal="form"] > :nth-child(5) { transition-delay: .34s; }

/* hero intro (after loader) */
.js .hero__art { opacity: 0; }
.js .hero__title .w { opacity: 0; transform: translateY(.5em) rotate(4deg); filter: blur(6px); }
.js .hero__ctas .btn { opacity: 0; transform: translateY(16px); }
.js .nav { opacity: 0; }
.is-ready .hero__art { opacity: 1; animation: heroIn 1.6s var(--ease) backwards; }
.is-ready .hero__title .w { opacity: 1; transform: none; filter: none; transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); }
.is-ready .hero__ctas .btn { opacity: 1; transform: none; transition: opacity .8s var(--ease) 1.1s, transform .9s var(--ease) 1.1s, box-shadow .5s var(--ease); }
.is-ready .hero__ctas .btn + .btn { transition-delay: 1.2s, 1.2s, 0s; }
.is-ready .nav { opacity: 1; transition: opacity 1s var(--ease) .2s, top .6s var(--ease), transform .6s var(--ease); }
@keyframes heroIn { from { opacity: 0; transform: translateY(40px) scale(.94); filter: blur(14px) brightness(1.8); } to { opacity: 1; transform: none; filter: none; } }

/* =========================================================
   Mobile / tablet  ( < 1024px ) – measured from "עיצוב מובייל"
   --n = 1px of "מובייל דף בית 1" (732w), --p = "מובייל 2" (717w), --q = "מובייל 3" (816w)
   ========================================================= */
.br-m { display: none; }
.hero__title .lime .dot { color: var(--lime); }
picture { display: contents; }
.sep-wave { display: none; }

@media (max-width: 1023.98px) {
  :root { --k: 1; --cap: 640px; --n: calc(var(--W) / 732); --p: calc(var(--W) / 717); --q: calc(var(--W) / 816); }
  .br-m { display: inline; }
  .hero__title .lime .dot { color: var(--red); }
  .cursor-glow, .hero__scroll { display: none; }

  /* --- neon separators --- */
  .sep-wave { display: block; position: absolute; left: -4%; width: 108%; top: calc(-38 * var(--n)); height: calc(70 * var(--n)); overflow: visible; pointer-events: none; z-index: 1; }
  .sep-wave path { fill: none; stroke: #7a3bff; stroke-width: 2.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 4px #7a3bff) drop-shadow(0 0 12px rgba(122, 59, 255, .9)) drop-shadow(0 -8px 22px rgba(90, 30, 255, .6)); }

  /* --- nav --- */
  .nav { top: 0; width: var(--W); height: calc(100 * var(--n)); transform: translateX(-50%); }
  .nav__pill { position: absolute; inset: calc(10 * var(--n)) calc(110 * var(--n)) auto; height: calc(80 * var(--n)); padding: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 999px; transition: background .5s, box-shadow .5s, inset .5s var(--ease); }
  .nav__pill::before { display: none; }
  .nav.is-scrolled { top: 0; }
  .nav.is-scrolled .nav__pill { height: calc(80 * var(--n)); inset: calc(10 * var(--n)) calc(80 * var(--n)) auto; background: rgba(10, 2, 32, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(110, 50, 255, .5) inset, 0 0 18px rgba(90, 30, 255, .3); }
  .nav.is-hidden { transform: translate(-50%, -120%); }
  .nav__logo { position: absolute; right: calc(137 * var(--n)); top: calc(21 * var(--n)); z-index: 2; width: calc(137 * var(--n)); margin: 0; }
  .nav__links, .btn--nav { display: none; }
  .nav__burger { position: absolute; left: calc(24 * var(--n)); top: calc(22 * var(--n)); display: grid; align-content: center; gap: calc(10 * var(--n)); width: calc(36 * var(--n)); height: calc(36 * var(--n)); padding: 0; background: none; border: 0; cursor: pointer; z-index: 2; }
  .nav__burger span { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .5s var(--ease), opacity .3s, width .5s var(--ease); }
  .menu-open .nav__burger span:nth-child(1) { transform: translateY(calc(10 * var(--n) + 2px)) rotate(45deg); }
  .menu-open .nav__burger span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
  .menu-open .nav__burger span:nth-child(3) { transform: translateY(calc(-10 * var(--n) - 2px)) rotate(-45deg); }

  .mmenu { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 90px 32px 40px;
    background: radial-gradient(90% 60% at 80% 0%, rgba(90, 30, 255, .45), transparent 70%), radial-gradient(70% 50% at 0% 100%, rgba(255, 90, 81, .18), transparent 70%), rgba(5, 1, 15, .96);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    clip-path: circle(0 at 40px 40px); visibility: hidden; transition: clip-path .8s var(--ease-in-out), visibility 0s linear .8s; }
  .menu-open .mmenu { clip-path: circle(150% at 40px 40px); visibility: visible; transition: clip-path .8s var(--ease-in-out); }
  .mmenu__links { display: flex; flex-direction: column; gap: 6px; }
  .mmenu__links a { display: flex; align-items: baseline; gap: 14px; font-weight: 900; font-size: clamp(34px, 10vw, 52px); line-height: 1.25; opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .7s var(--ease), color .3s; }
  .mmenu__links a small { font-size: 15px; font-weight: 400; color: var(--lime); direction: ltr; }
  .mmenu__links a:hover { color: var(--lime); }
  .menu-open .mmenu__links a { opacity: 1; transform: none; }
  .menu-open .mmenu__links a:nth-child(1) { transition-delay: .25s; }
  .menu-open .mmenu__links a:nth-child(2) { transition-delay: .32s; }
  .menu-open .mmenu__links a:nth-child(3) { transition-delay: .39s; }
  .menu-open .mmenu__links a:nth-child(4) { transition-delay: .46s; }
  .mmenu .btn { align-self: flex-start; height: 58px; padding-inline: 28px; font-size: 18px; font-weight: 400; opacity: 0; transition: opacity .6s .55s; }
  .menu-open .mmenu .btn { opacity: 1; }

  /* --- hero --- */
  .hero { height: calc(830 * var(--n)); }
  .hero__spot { display: none; }
  .hero__art { width: calc(732 * var(--n)); height: calc(600 * var(--n)); -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%); }
  .hero__script { left: calc(150 * var(--n)); top: calc(110 * var(--n)); width: calc(420 * var(--n)); height: calc(52 * var(--n)); }
  .hero__title { top: calc(546 * var(--n)); font-size: calc(62 * var(--n)); line-height: calc(54 * var(--n)); }
  .hero__ctas { top: calc(665 * var(--n)); flex-direction: column; align-items: center; gap: calc(11 * var(--n)); padding: 0; }
  .hero__ctas .btn { width: calc(394 * var(--n)) !important; font-size: calc(23 * var(--n)); }
  .hero__ctas .btn--primary { height: calc(64 * var(--n)); }
  .hero__ctas .btn--ghost { height: calc(59 * var(--n)); }
  .hero__ctas .btn--primary .btn__arrow { margin-inline-start: calc(40 * var(--n)); }

  /* --- about --- */
  .about { height: calc(715 * var(--n)); }
  .about::before { left: 0; width: 100%; top: calc(100 * var(--n)); height: calc(500 * var(--n)); }
  .about__text { position: absolute; inset: 0; width: auto; height: auto; text-align: center; }
  .about__script { right: auto; left: calc(195 * var(--n)); top: calc(29 * var(--n)); width: calc(312 * var(--n)); height: calc(42 * var(--n)); }
  .about__title { left: 0; right: 0; top: calc(74 * var(--n)); font-size: calc(82 * var(--n)); text-align: center; }
  .about__art { left: calc(120 * var(--n)); top: calc(146 * var(--n)); width: calc(500 * var(--n)); height: calc(349 * var(--n)); }
  .about__img--d { display: none; }
  .about__img--m { display: block; -webkit-mask-image: radial-gradient(72% 75% at 50% 50%, #000 72%, transparent 100%); mask-image: radial-gradient(72% 75% at 50% 50%, #000 72%, transparent 100%); }
  .about__body { font-weight: 400; }
  .about__sub { left: 0; right: 0; top: calc(495 * var(--n)); font-size: calc(22 * var(--n)); text-align: center; }
  .about__body { left: 0; right: 0; top: calc(533 * var(--n)); font-size: calc(24.5 * var(--n)); line-height: calc(30.5 * var(--n)); text-align: center; }
  .about__btn { right: calc(184 * var(--n)); top: calc(647 * var(--n)); width: calc(366 * var(--n)); height: calc(62 * var(--n)); font-size: calc(22 * var(--n)); }
  .about__btn .btn__arrow { margin-inline-start: calc(40 * var(--n)); }

  /* --- process --- */
  .process { height: calc(770 * var(--n)); }
  .process__glow { display: none; }
  .process__script { left: calc(212 * var(--n)); top: calc(47 * var(--n)); width: calc(296 * var(--n)); height: calc(40 * var(--n)); }
  .process__title { top: calc(80 * var(--n)); font-size: calc(51 * var(--n)); line-height: calc(46 * var(--n)); }
  .steps { left: auto; right: calc(250 * var(--n)); top: calc(216 * var(--n)); width: auto; display: flex; flex-direction: column; gap: 0; }
  .step { position: relative; display: block; min-height: calc(91 * var(--n)); padding-bottom: calc(30 * var(--n)); width: calc(400 * var(--n)); text-align: right; }
  .step__num { position: absolute; right: calc(-123 * var(--n)); top: calc(2 * var(--n)); font-size: calc(76 * var(--n)); }
  .step__dot { position: absolute; right: calc(-39 * var(--n)); top: calc(19 * var(--n)); width: calc(13 * var(--n)); height: calc(13 * var(--n)); margin: 0; }
  .step::after { content: ""; position: absolute; right: calc(-33.5 * var(--n)); top: calc(26 * var(--n)); height: calc(100% - 20 * var(--n)); width: 2px; background: #5a10e6; box-shadow: 0 0 6px rgba(90, 16, 230, .7); }
  .step:last-child::after { display: none; }
  .step__title { margin: 0; padding-top: calc(10 * var(--n)); font-size: calc(28 * var(--n)); }
  .step__text { margin: calc(2 * var(--n)) 0 0; padding: 0; font-size: calc(21 * var(--n)); line-height: calc(27 * var(--n)); }
  .step__line { display: none; }
  .process__btn { left: calc(211 * var(--n)); top: calc(680 * var(--n)); width: calc(308 * var(--n)); height: calc(58 * var(--n)); font-size: calc(21 * var(--n)); }
  .js [data-reveal="steps"] .step { transform: translateX(-20px); }

  /* --- work --- */
  .work { height: auto; padding: calc(20 * var(--p)) calc(128 * var(--p)) calc(30 * var(--p)); }
  .work__waves { opacity: 1; }
  .work__head { position: relative; inset: auto; height: calc(98 * var(--p)); }
  .work__script { left: calc(84 * var(--p)); top: 0; width: calc(294 * var(--p)); height: calc(40 * var(--p)); }
  .work__title { top: calc(38 * var(--p)); inset-inline: calc(-120 * var(--p)); font-size: calc(41.4 * var(--p)); white-space: nowrap; }
  .projects { position: relative; top: auto; right: auto; width: 100%; display: flex; flex-direction: column; gap: 0; }
  .project { height: auto; flex-direction: column; align-items: center; padding-bottom: calc(18 * var(--p)); }
  .project__info { display: contents; }
  .project__num { order: 1; justify-content: center; }
  .project__rule { display: none; }
  .project__num b { font-size: calc(27 * var(--p)); line-height: 1; }
  .project__name { order: 2; margin-top: calc(2 * var(--p)); font-size: calc(45 * var(--p)) !important; line-height: 1; text-align: center; }
  .project__tag { order: 3; margin-top: calc(4 * var(--p)); font-size: calc(18.3 * var(--p)); text-align: center; white-space: normal; }
  .project__tag br { display: none; }
  .project__media { order: 4; width: calc(456 * var(--p)); margin-top: calc(10 * var(--p)); }
  .project__media::after { top: auto; bottom: calc(-24 * var(--p)); height: calc(46 * var(--p)); }
  .project__media .project__url { display: none; }
  .browser { border-radius: calc(8 * var(--p)); }
  .browser__screen { aspect-ratio: 456 / 205; }
  .browser__bar { height: calc(17 * var(--p)); padding-inline: calc(8 * var(--p)); gap: calc(5 * var(--p)); }
  .browser__bar i { width: calc(7 * var(--p)); height: calc(7 * var(--p)); }
  .browser__bar b { width: calc(10 * var(--p)); height: calc(7 * var(--p)); }
  .btn--sm { order: 5; margin-top: calc(8 * var(--p)); width: calc(296 * var(--p)); height: calc(39 * var(--p)); font-size: calc(19 * var(--p)); }

  /* --- contact --- */
  .contact { height: calc(975 * var(--q)); }
  .contact__glow { display: none; }
  .contact__tube { left: 0; top: calc(230 * var(--q)); width: calc(816 * var(--q)); height: calc(770 * var(--q)); }
  .js [data-reveal="tube"] { transform: translateX(-40px); }
  .js [data-reveal="tube"].is-in { transform: none; }
  .contact__tube img, .contact__tube .snake { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent); mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent); }
  .contact__text { left: 0; right: 0; top: calc(95 * var(--q)); text-align: center; }
  .contact__title { margin: 0; font-size: calc(90 * var(--q)); line-height: calc(68 * var(--q)); }
  .contact__sub { margin-top: calc(38 * var(--q)); font-size: calc(27 * var(--q)); }
  .form { left: calc(128 * var(--q)); top: calc(395 * var(--q)); width: calc(562 * var(--q)); grid-template-columns: minmax(0, 1fr); gap: calc(14 * var(--q)); }
  .field { height: calc(70 * var(--q)); padding-inline: calc(22 * var(--q)); border-radius: calc(14 * var(--q)); gap: calc(14 * var(--q)); }
  .field--name, .field--msg, .field--phone, .field--mail { grid-column: 1; }
  .field--phone { order: 2; } .field--mail { order: 3; } .field--msg { order: 4; } .form .btn--big { order: 5; } .form__msg { order: 6; }
  .field--msg { height: calc(132 * var(--q)); padding-top: calc(20 * var(--q)); }
  .field__ico { width: calc(32 * var(--q)); height: calc(32 * var(--q)); }
  .field input, .field textarea { font-size: max(16px, calc(23 * var(--q))); }
  .field textarea { height: calc(92 * var(--q)); }
  .form .btn--big { grid-column: 1; justify-self: center; width: calc(407 * var(--q)); height: calc(85 * var(--q)); font-size: calc(32 * var(--q)); margin: 0; padding-inline: calc(40 * var(--q)) calc(14 * var(--q)); }
  .btn--big .btn__circle { width: calc(62 * var(--q)); height: calc(62 * var(--q)); }
  .form__msg { text-align: center; font-size: calc(22 * var(--q)); }

  /* --- let's talk --- */
  .talk { height: calc(515 * var(--q)); }
  .talk__script { left: calc(140 * var(--q)); top: calc(-3 * var(--q)); width: calc(590 * var(--q)); height: calc(250 * var(--q)); }
  .talk__script img, .talk__script .snake { -webkit-mask-image: radial-gradient(60% 62% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(60% 62% at 50% 50%, #000 70%, transparent 100%); }
  .talk__text { left: 0; right: 0; top: calc(236 * var(--q)); align-items: center; text-align: center; }
  .talk__title { font-size: calc(70 * var(--q)); line-height: calc(57 * var(--q)); text-align: center; }
  .talk__title .line:first-child { padding: 0; }
  .talk__sub { align-self: center; margin-top: calc(34 * var(--q)); font-size: calc(22.6 * var(--q)); }
  .talk .btn--big { align-self: center; margin: calc(22 * var(--q)) 0 0; width: calc(353 * var(--q)); height: calc(77 * var(--q)); font-size: calc(32 * var(--q)); padding-inline: calc(40 * var(--q)) calc(12 * var(--q)); }

  /* --- footer --- */
  .footer { height: calc(437 * var(--q)); font-size: calc(22 * var(--q)); }
  .footer::before { display: none; }
  .footer__top { top: 0; height: calc(320 * var(--q)); }
  .footer__logo { right: calc(306 * var(--q)); top: calc(15 * var(--q)); width: calc(195 * var(--q)); }
  .footer__vsep { display: none; }
  .footer__col h3 { display: none; }
  .footer__nav { left: 0; right: 0; width: auto; top: calc(110 * var(--q)); }
  .footer__nav a { margin: 0; height: calc(40 * var(--q)); line-height: calc(40 * var(--q)); position: relative; }
  .footer__nav a + a::before { content: ""; position: absolute; top: 0; left: 50%; width: calc(28 * var(--q)); height: 2px; margin-left: calc(-14 * var(--q)); background: #6a12d8; }
  .footer__contact { left: 0; right: 0; width: auto; top: calc(230 * var(--q)); }
  .footer__icons { gap: calc(95 * var(--q)); margin-top: 0; }
  .ficon { gap: calc(4 * var(--q)); }
  .ficon svg { width: calc(48 * var(--q)); height: calc(48 * var(--q)); }
  .footer__bottom { top: calc(326 * var(--q)); height: calc(111 * var(--q)); font-size: calc(19 * var(--q)); }
  .footer__bottom::before { left: calc(70 * var(--q)); right: calc(70 * var(--q)); }
  .footer__bottom > * { top: calc(18 * var(--q)); }
  .footer__bsep:nth-of-type(1) { display: none; }
  .footer__bsep { top: calc(16 * var(--q)) !important; height: calc(24 * var(--q)); }
  .footer__bsep:nth-of-type(2) { right: calc(361 * var(--q)); }
  .footer__bsep:nth-of-type(3) { right: calc(523 * var(--q)); }
  .footer__legal:nth-of-type(1) { right: calc(210 * var(--q)); }
  .footer__legal:nth-of-type(2) { right: calc(395 * var(--q)); }
  .footer__legal:nth-of-type(3) { right: calc(555 * var(--q)); }
  .footer__made { right: calc(70 * var(--q)); top: calc(54 * var(--q)) !important; flex-direction: row-reverse; }
  .footer__copy { left: calc(72 * var(--q)); top: calc(60 * var(--q)) !important; font-size: calc(21 * var(--q)); }
  .cup { width: calc(32 * var(--q)); height: calc(32 * var(--q)); }
}

/* ---- neon tubes flow in gradually (soft-edge wipe) ---- */
@property --wipe { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
@keyframes wipeIn { from { --wipe: 0%; } to { --wipe: 125%; } }
.wipe .about__art {
  --wipe: 0%;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 28%), transparent var(--wipe));
          mask-image: linear-gradient(90deg, #000 calc(var(--wipe) - 28%), transparent var(--wipe));
}
.wipe .about__art.is-in { animation: wipeIn 2.2s cubic-bezier(.45, .05, .25, 1) .15s both; }

/* ---------- fixed type sizes (desktop): body 20px · sub-headings 40px · main headings 60px ---------- */
@media (min-width: 1024px) {
  .hero__title, .about__title, .process__title, .work__title, .contact__title, .talk__title { font-size: 60px; line-height: 1.02; }
  .step__title, .project__name { font-size: 40px; line-height: 1.1; }
  .about__sub { font-size: 20px; line-height: 1.25; }
  .about__body, .step__text, .project__tag, .contact__sub, .talk__sub { font-size: 17px; line-height: 1.5; }
}

/* soft edges now that the composition is narrower than the window (desktop) */
@media (min-width: 1024px) {
  .contact__tube img, .contact__tube .snake {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
  .talk__script img, .talk__script .snake {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 85%, transparent 100%), linear-gradient(0deg, transparent 0, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 85%, transparent 100%), linear-gradient(0deg, transparent 0, #000 8%, #000 92%, transparent);
    -webkit-mask-composite: source-in; mask-composite: intersect;
  }
}

/* ---------- full-bleed backgrounds: the ambient light of each scene runs to the window edges ---------- */
.hero::before, .contact::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; width: var(--vw); transform: translateX(-50%);
  background-repeat: no-repeat; background-size: 100% 100%;
}
.hero::before {
  top: 0; height: calc(700 * var(--a)); background-image: url("../img/maps/hero-bg-plate.webp");
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.contact::before {
  top: calc(80 * var(--c)); height: calc(700 * var(--c)); background-image: url("../img/maps/tube-plate.webp");
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
}
@media (max-width: 1023.98px) {
  .hero::before { height: calc(600 * var(--n)); background-image: url("../img/maps/hero-bg-m-plate.webp"); }
  .contact::before { top: calc(230 * var(--q)); height: calc(770 * var(--q)); background-image: url("../img/maps/tube-m-plate.webp"); }
}
@media (min-width: 641px) and (max-width: 1023.98px) {
  .hero__art { -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 80%, transparent 100%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
  .contact__tube img, .contact__tube .snake { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent); -webkit-mask-composite: source-in; mask-composite: intersect; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* ---- snakes & pen-written titles ---- */
.snake { overflow: hidden; }
.js [data-reveal="talk"].snake-on, .js [data-reveal="talk"].snake-on.is-in { clip-path: none; }
.script__pen { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.script--pen .script__text { opacity: 0; }
.script--pen .script__flourish--r { transition-delay: 1.9s; }
.script--pen .script__flourish--l { transition-duration: 1s; }
.smile { display: inline-block; direction: ltr; unicode-bidi: isolate-override; }

/* phones: the composition already fills the window, so keep clipping sideways overflow */
@media (max-width: 640px) { main { overflow-x: clip; } }

/* ---------- desktop nav: slim menu pinned to the left corner, logo pinned to the right corner ---------- */
@media (min-width: 1024px) {
  .nav { left: 0; right: 0; width: auto; top: calc(26 * var(--a)); transform: none; display: flex; justify-content: flex-start; }
  .nav.is-scrolled { top: calc(12 * var(--a)); }
  .nav.is-hidden { transform: translateY(-160%); }
  .nav__pill { --ph: calc(50 * var(--a)); position: static; margin-right: auto; margin-left: calc(28 * var(--a)); width: max-content;
    padding-inline: calc(22 * var(--a)) calc(var(--ph) / 2 - 16 * var(--a)); }
  .nav.is-scrolled .nav__pill { --ph: calc(44 * var(--a)); }
  .nav__pill::before { display: none; }
  .nav__logo { position: absolute; right: calc(30 * var(--a)); top: 50%; transform: translateY(-50%); width: calc(92 * var(--a)); margin: 0; }
  .nav__links { gap: calc(30 * var(--a)); font-size: calc(12 * var(--a)); }
  .btn--nav { margin-inline-start: calc(30 * var(--a)); height: calc(32 * var(--a)); width: calc(112 * var(--a)); padding-inline: calc(12 * var(--a)) calc(3 * var(--a)); font-size: calc(12 * var(--a)); }
  .btn--nav .btn__circle { width: calc(26 * var(--a)); height: calc(26 * var(--a)); }
}

/* ---------- home gallery + projects page ---------- */
.work--home { height: auto; padding-bottom: calc(120 * var(--b)); }
.work--home .work__head { position: absolute; }
.gallery { position: relative; margin: calc(188 * var(--b)) auto 0; width: calc(662 * var(--b)); display: grid; grid-template-columns: repeat(12, 1fr); gap: calc(14 * var(--b)); }
.gcard { display: block; grid-column: span 4; }
.gcard--1 { grid-column: span 7; } .gcard--2 { grid-column: span 5; }
.gcard--6 { grid-column: span 5; } .gcard--7 { grid-column: span 7; }
.gcard__shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: calc(10 * var(--b)); box-shadow: 0 0 0 1px rgba(150, 110, 255, .45), 0 calc(14 * var(--b)) calc(40 * var(--b)) -10px rgba(90, 30, 255, .55); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.gcard__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.gcard:hover .gcard__shot { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(200, 180, 255, .85), 0 0 calc(20 * var(--b)) rgba(130, 70, 255, .8), 0 calc(18 * var(--b)) calc(50 * var(--b)) -8px rgba(110, 40, 255, .8); }
.gcard:hover .gcard__shot img { transform: scale(1.05); }
.gcard__name { display: block; margin-top: calc(8 * var(--b)); font-weight: 900; font-size: calc(12.5 * var(--b)); text-align: right; }
.gallery__more { display: flex; justify-content: center; margin-top: calc(38 * var(--b)); }
@media (min-width: 1024px) { .gcard__name { font-size: 16px; margin-top: 10px; } }
@media (max-width: 1023.98px) {
  .work--home { padding-bottom: calc(60 * var(--p)); }
  .gallery { width: 100%; margin: calc(8 * var(--p)) 0 0; gap: calc(16 * var(--p)); }
  .gcard__name { font-size: calc(18 * var(--p)); margin-top: calc(8 * var(--p)); }
  .gallery__more { margin-top: calc(40 * var(--p)); }
}
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gcard, .gcard--1, .gcard--2, .gcard--6, .gcard--7 { grid-column: span 1; }
  .gcard--1, .gcard--6, .gcard--7 { grid-column: span 2; }
  .gcard__name { font-size: 14px; }
}
.page-work { padding-top: calc(78 * var(--a)); }
@media (max-width: 1023.98px) { .page-work { padding-top: calc(60 * var(--n)); } }

/* hero: pulled up 40px (script word + everything beneath it) */
.hero { margin-top: -40px; }

/* =====================================================================
   Round: copy tweaks, process numbers, projects gallery, contact/talk, footer
   ===================================================================== */
@font-face { font-family: "InterNum"; src: url("../fonts/InterDisplay-Black-num.woff") format("woff"); font-weight: 900; font-display: swap; }

/* about: 10px more air between the name line and the "between one coffee…" paragraph */
.about__body { top: calc(272 * var(--a) + 10px); }
@media (max-width: 1023.98px) { .about__body { top: calc(533 * var(--n) + 10px); } }

/* process numbers: bold display digits with a gradient fill + glow */
.step__num {
  font-family: "InterNum", "Inter", "Plinko", sans-serif; font-weight: 900; font-size: calc(92 * var(--a)); letter-spacing: -.04em;
  background: linear-gradient(180deg, #ff8ad0 0%, #ff3fa4 55%, #c21e86 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 calc(14 * var(--a)) rgba(255, 79, 174, .55));
}
.step:hover .step__num { color: transparent; text-shadow: none; filter: drop-shadow(0 0 calc(22 * var(--a)) rgba(255, 109, 189, .95)); }
@media (max-width: 1023.98px) { .step__num { font-size: calc(84 * var(--n)); } }
/* the three process paragraphs: 16px, tighter leading */
.step__text { line-height: 1.32 !important; }
@media (min-width: 1024px) { .step__text { font-size: 16px !important; } }
@media (max-width: 1023.98px) { .step__text { font-size: calc(21 * var(--n)) !important; line-height: calc(25 * var(--n)) !important; } }

/* projects (home): heading above, gallery ~60px below it, no captions, accordion entrance */
.gcard__name { display: none; }
@media (min-width: 1024px) {
  .work--home .work__head { position: relative; inset: auto; height: calc(112 * var(--b) + 60px + 60px); }
  .gallery { margin-top: 0; }
}
@media (max-width: 1023.98px) { .gallery { margin-top: 60px; } }

.gallery { perspective: 1600px; }
.js .gcard[data-reveal] { opacity: 0; filter: none; transform: none; transform-origin: 50% 0; backface-visibility: hidden; transition: none; }
.js .gcard[data-reveal].is-in { opacity: 1; animation: accordionIn 1.35s cubic-bezier(.22, 1, .36, 1) var(--ad, 0s) both; }
@keyframes accordionIn {
  0%   { opacity: 0; transform: rotateX(-88deg) scaleY(.08) translateY(-30px); filter: brightness(2.4) saturate(1.6); }
  35%  { opacity: 1; transform: rotateX(28deg) scaleY(.72) translateY(0); filter: brightness(1.5); }
  58%  { transform: rotateX(-14deg) scaleY(1.04); filter: brightness(1.15); }
  78%  { transform: rotateX(6deg) scaleY(.99); filter: none; }
  100% { opacity: 1; transform: none; filter: none; }
}
.gcard--1 { --ad: 0s; } .gcard--2 { --ad: .12s; } .gcard--3 { --ad: .24s; } .gcard--4 { --ad: .36s; } .gcard--5 { --ad: .48s; } .gcard--6 { --ad: .6s; } .gcard--7 { --ad: .72s; }
.gcard__shot { box-shadow: 0 0 0 1px rgba(150, 110, 255, .45), 0 14px 40px -10px rgba(90, 30, 255, .55); }

/* "לכל העבודות" – same button as the rest of the site */
.gallery__more { margin-top: calc(50 * var(--a)); }
.gallery__more .btn { width: calc(212 * var(--a)); height: calc(43 * var(--a)); font-size: calc(14.2 * var(--a)); font-weight: 400; gap: 0; justify-content: space-between; padding-inline: calc(22 * var(--a)) calc(8 * var(--a)); }
@media (min-width: 1024px) { .gallery__more .btn { width: 212px; height: 46px; font-size: 16px; padding-inline: 26px 10px; } .gallery__more { margin-top: 56px; } }
@media (max-width: 1023.98px) { .gallery__more .btn { width: calc(394 * var(--n)); max-width: 100%; height: calc(64 * var(--n)); font-size: calc(23 * var(--n)); padding-inline: calc(40 * var(--n)) calc(14 * var(--n)); } }

/* contact: background runs to the screen edges (no boxes), tube is static */
.js [data-reveal="tube"], .js [data-reveal="tube"].is-in { transform: none; filter: none; }
.contact__tube img { mix-blend-mode: normal; }
.contact__title { font-size: 60px; }
@media (min-width: 1024px) {
  .contact__text { top: calc(300 * var(--c)); }
  .contact__title { font-size: 70px; line-height: 1.02; }
}

/* talk: LET'S TALK script on one side, status video on the other */
.talk__media { position: absolute; right: calc(120 * var(--c)); top: calc(10 * var(--c)); display: flex; flex-direction: column; align-items: center; gap: 22px; }
.talk__video { width: 270px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #0a0220; box-shadow: 0 0 0 1px rgba(160, 120, 255, .55), 0 0 40px rgba(100, 50, 255, .55), 0 24px 60px -16px rgba(80, 30, 255, .8); }
.talk__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.talk__follow { display: flex; flex-direction: row-reverse; align-items: center; gap: 16px; width: max-content; }
.talk__wa { width: 230px; height: 46px; font-size: 15px; font-weight: 400; gap: 0; justify-content: space-between; padding-inline: 22px 8px; }
.talk__hint { margin: 0; font-size: 15px; line-height: 1.35; text-align: right; opacity: .9; }
@media (min-width: 1024px) { .talk { height: 640px; } .talk__script { top: calc(150 * var(--c)); } .talk__media { top: 10px; right: calc(180 * var(--c)); } .talk__follow { position: relative; left: calc(-50px); } }
@media (max-width: 1023.98px) {
  .talk { height: auto; padding: calc(10 * var(--q)) 0 40px; }
  .talk__script { position: relative; left: auto; top: auto; width: calc(590 * var(--q)); height: calc(250 * var(--q)); margin: 0 auto; }
  .talk__media { position: relative; right: auto; top: auto; margin: 10px auto 0; }
  .talk__follow { flex-direction: column; gap: 12px; }
  .talk__hint { text-align: center; }
  .talk__wa { width: min(86vw, 320px); height: 52px; font-size: 17px; }
  .talk__video { width: min(62vw, 270px); }
}

/* footer: logo + mail / WhatsApp / phone only */
.footer__vsep, .footer__nav, .footer__col h3 { display: none !important; }
.footer__contact { top: calc(22 * var(--c)); }
.footer__made .credits { white-space: nowrap; }
.footer__made .credits a { color: var(--lime); text-decoration: underline; text-underline-offset: 3px; }
.footer__made .credits a:hover { color: #fff; }
@media (min-width: 1024px) { .footer__made { font-size: 15px; } }

/* talk script: plain fade/slide (a clip-path on the observed element blocks the scroll observer) */
.js [data-reveal="talk"] { clip-path: none; opacity: 0; transform: translateX(-50px); filter: blur(8px); transition: opacity 1.2s var(--ease), transform 1.4s var(--ease), filter 1.2s var(--ease); }
.js [data-reveal="talk"].is-in { clip-path: none; opacity: 1; transform: none; filter: none; }

@media (max-width: 1023.98px) {
  .footer { height: calc(330 * var(--q)); }
  .footer__top { height: calc(215 * var(--q)); }
  .footer__logo { right: calc(285 * var(--q)); top: calc(24 * var(--q)); }
  .footer__contact { top: calc(125 * var(--q)); }
  .footer__bottom { top: calc(215 * var(--q)); height: calc(120 * var(--q)); }
  .footer__made { left: 0; right: 0; justify-content: center; top: calc(62 * var(--q)) !important; }
  .footer__copy { left: 0; right: 0; text-align: center; top: calc(98 * var(--q)) !important; }
}
@media (max-width: 1023.98px) {
  .work--home .work__title { inset-inline: 0; text-align: center; }
  .work--home .work__script { left: calc(50% - 147 * var(--p)); }
}

/* ---- round 3 ---- */
/* hero headline: same size as the about sub-line, 30px above the buttons */
@media (min-width: 1024px) {
  .hero__title { font-size: 20px; line-height: 1.25; }
  .hero__ctas { top: calc(574 * var(--a) + 25px + 30px); }
}
@media (max-width: 1023.98px) {
  .hero__title { font-size: calc(22 * var(--n)); line-height: calc(28 * var(--n)); }
  .hero__ctas { top: calc(546 * var(--n) + 56 * var(--n) + 30px); }
}
/* logo +25% */
.nav__logo { width: calc(115 * var(--a)); }
@media (min-width: 1024px) { .nav__logo { width: calc(115 * var(--a)); } }
@media (max-width: 1023.98px) { .nav__logo { width: calc(171 * var(--n)); } }
/* process: no numerals – the purple dots lead each step */
.step__num { display: none !important; }
@media (min-width: 1024px) { .step__line i { top: calc(5.5 * var(--a)); } .step__dot { margin-top: 0; } }
@media (min-width: 1024px) { .process__btn { top: calc(420 * var(--a)); } }
@media (max-width: 1023.98px) { .hero { margin-top: 0; } }

/* ---------- projects deck: a tilted pile of screens lying on the desk, auto-flipping ---------- */
.gallery { display: none; }
.deck { position: relative; width: 100%; height: 600px; margin: 0 auto; perspective: 1900px; perspective-origin: 50% 20%; overflow: visible; }
.deck__stage { position: absolute; left: 50%; top: 50%; width: 700px; aspect-ratio: 16 / 9; margin: -197px 0 0 -350px; transform-style: preserve-3d; transform: rotateX(54deg) rotateZ(-9deg); }
.deck .gcard { --i: 0; position: absolute; inset: 0; display: block; grid-column: auto; z-index: calc(20 - var(--i)); transform-style: preserve-3d;
  transform: translate3d(calc(var(--i) * 22px), calc(var(--i) * -26px), calc(var(--i) * -34px)) rotateZ(calc(var(--i) * 1.4deg));
  opacity: calc(1 - var(--i) * .16); transition: transform 1s cubic-bezier(.6, .02, .2, 1), opacity .9s ease; will-change: transform; }
.deck .gcard[data-far="1"] { opacity: 0; }
.deck .gcard.is-out { transform: translate3d(-125%, 14%, 90px) rotateZ(-16deg); opacity: 0; transition: transform .95s cubic-bezier(.5, 0, .2, 1), opacity .7s ease .25s; }
.deck .gcard.is-back { transition: none; }
.deck .gcard__shot { border-radius: 12px; box-shadow: 0 0 0 1px rgba(170, 130, 255, .5), 0 30px 60px -10px rgba(0, 0, 0, .8), 0 0 50px rgba(90, 40, 255, .45); }
.deck .gcard:hover .gcard__shot { transform: none; }
.deck__shadow { position: absolute; inset: 0; pointer-events: none; }
.gallery__more { margin-top: 0; }
@media (max-width: 1023.98px) {
  .deck { height: calc(380 * var(--n)); perspective: 1200px; }
  .deck__stage { width: min(78vw, 520px); margin: calc(min(78vw, 520px) * -.28) 0 0 calc(min(78vw, 520px) / -2); transform: rotateX(52deg) rotateZ(-8deg); }
  .deck .gcard { transform: translate3d(calc(var(--i) * 12px), calc(var(--i) * -15px), calc(var(--i) * -24px)) rotateZ(calc(var(--i) * 1.4deg)); }
}
@media (min-width: 1024px) { .deck { height: 640px; } .deck__stage { width: 840px; margin: -236px 0 0 -420px; } .deck .gcard { transform: translate3d(calc(var(--i) * 26px), calc(var(--i) * -30px), calc(var(--i) * -40px)) rotateZ(calc(var(--i) * 1.4deg)); } .deck .gcard.is-out { transform: translate3d(-125%, 14%, 90px) rotateZ(-16deg); } }

/* =====================  round 4  ===================== */
/* process: 60px between the title and the row of dots */
@media (min-width: 1024px) {
  .steps { top: calc(90 * var(--a) + 123px + 60px); }
  .process__btn { top: calc(90 * var(--a) + 123px + 60px + 230px); }
}

/* projects deck: tighter to the heading, more glow & show */
@media (min-width: 1024px) { .deck { margin-top: -95px; } .work--home { padding-bottom: calc(70 * var(--b)); } }
@media (max-width: 1023.98px) { .deck { margin-top: -50px; } }
.deck .gcard__shot { box-shadow: 0 0 0 1px rgba(210, 175, 255, .8), 0 0 28px rgba(150, 90, 255, .85), 0 0 90px rgba(255, 79, 174, .38), 0 0 150px rgba(80, 60, 255, .5), 0 40px 70px -10px rgba(0, 0, 0, .85); }
.deck__stage::before { content: ""; position: absolute; inset: -14% -10%; transform: translateZ(-160px); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(150, 80, 255, .75), rgba(255, 79, 174, .35) 45%, rgba(60, 40, 255, .25) 70%, transparent 100%); filter: blur(34px); animation: deckGlow 4.5s ease-in-out infinite alternate; }
@keyframes deckGlow { from { opacity: .55; transform: translateZ(-160px) scale(.94); } to { opacity: 1; transform: translateZ(-160px) scale(1.06); } }
.deck__stage::after { content: ""; position: absolute; inset: 6% 8%; transform: translateZ(-60px); pointer-events: none; background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent 70%); filter: blur(26px); }

/* "לכל העבודות": festive, narrow */
.gallery__more .btn, .gallery__more .btn.magnetic {
  width: auto; min-width: 0; height: 52px; padding-inline: 30px 18px; gap: 12px; justify-content: center; font-size: 17px; font-weight: 700; color: #fff;
  background: linear-gradient(100deg, #ff4fae 0%, #8b3cff 45%, #3d6cff 100%); background-size: 200% 100%; animation: festive 5s ease-in-out infinite alternate, festivePulse 2.4s ease-in-out infinite;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset, 0 0 26px rgba(255, 79, 174, .6), 0 0 60px rgba(120, 60, 255, .6);
}
.gallery__more .btn::before { content: "✦"; position: absolute; top: 6px; inset-inline-start: 12px; font-size: 11px; opacity: .9; animation: twinkle 1.6s ease-in-out infinite; z-index: 3; }
.gallery__more .btn .btn__arrow { margin: 0; }
@keyframes festive { to { background-position: 100% 0; } }
@keyframes festivePulse { 0%, 100% { filter: brightness(1) saturate(1.1); } 50% { filter: brightness(1.18) saturate(1.35); } }
@keyframes twinkle { 0%, 100% { opacity: .2; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.3) rotate(25deg); } }
@media (max-width: 1023.98px) { .gallery__more .btn { height: 52px; font-size: 17px; width: auto; padding-inline: 30px 18px; } }

/* contact: the picture runs to the screen edge, no plate / boxes behind it */
.contact::before { background-image: none !important; display: none; }
@media (min-width: 1024px) {
  .contact__tube { left: auto; right: calc((100% - var(--vw)) / 2); }
  .contact__tube img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
}
/* send button: label + arrow circle fit */
.form .btn--big { width: calc(330 * var(--c)); padding-inline: calc(26 * var(--c)) calc(8 * var(--c)); font-size: calc(24 * var(--c)); }
.btn--big .btn__circle { flex: none; }
.btn--big .btn__label { white-space: nowrap; }
@media (max-width: 1023.98px) { .form .btn--big { width: calc(480 * var(--q)); font-size: calc(30 * var(--q)); } }

/* talk: video block hugs the right edge of the screen, more room for LET'S TALK */
@media (min-width: 1024px) {
  .talk__media { right: calc((100% - var(--vw)) / 2 + 48px); }
  .talk__script { left: calc((100% - var(--vw)) / 2); width: calc(var(--vw) - 360px); max-width: 1000px; }
  .talk__follow { left: 0; }
}

/* footer: logo to the right edge, icons to the left edge, thick glowing rules edge to edge */
@media (min-width: 1024px) {
  .footer__logo { right: calc((100% - var(--vw)) / 2 + 48px); top: calc(14 * var(--c)); width: calc(205 * var(--c)); }
  .footer__contact { left: calc((100% - var(--vw)) / 2 + 48px); width: auto; top: calc(22 * var(--c)); }
  .footer::before, .footer__bottom::before { left: calc((100% - var(--vw)) / 2); right: calc((100% - var(--vw)) / 2); height: 4px; border-radius: 4px;
    background: linear-gradient(90deg, rgba(60, 40, 255, .15), #5a28ff 20%, #a63cff 50%, #5a28ff 80%, rgba(60, 40, 255, .15)); box-shadow: 0 0 16px rgba(110, 50, 255, .8), 0 0 40px rgba(110, 50, 255, .4); }
  .footer__bottom { display: flex; flex-direction: row; align-items: center; justify-content: space-between; left: calc((100% - var(--vw)) / 2); right: calc((100% - var(--vw)) / 2); inset-inline: calc((100% - var(--vw)) / 2); padding: 0 48px; font-size: 16px; }
  .footer__bottom > * { position: static !important; top: auto !important; }
}
.footer__bottom > * { line-height: 1; }
.footer__made { display: flex; flex-direction: row !important; align-items: center; gap: 10px; margin: 0; right: auto; }
.footer__made .love { white-space: nowrap; }
.footer__legalrow { display: flex; align-items: center; gap: 18px; }
.footer__legalrow .footer__bsep { position: static !important; width: 1.5px; height: 18px; top: auto !important; right: auto !important; }
.footer__legalrow .footer__legal { position: static !important; right: auto !important; }
.footer__copy { font-size: 16px !important; line-height: 1; }
@media (max-width: 1023.98px) {
  .footer__bottom { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: calc(30 * var(--q)); }
  .footer__bottom > * { position: static !important; top: auto !important; left: auto !important; right: auto !important; }
  .footer__made { flex-wrap: wrap; justify-content: center; font-size: calc(19 * var(--q)); }
  .footer__bottom::before { left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #7a38ff, transparent); box-shadow: 0 0 12px rgba(110,50,255,.8); }
  .footer { height: calc(420 * var(--q)); }
}

/* legal pages */
.legal-page { max-width: 820px; margin: 0 auto; padding: 130px 24px 90px; }
.legal__title { font-size: 56px; line-height: 1.05; font-weight: 900; margin: 0 0 10px; }
.legal__updated { margin: 0 0 40px; opacity: .6; font-size: 15px; }
.legal__sec { margin-bottom: 30px; }
.legal__sec h2 { font-size: 26px; font-weight: 900; margin: 0 0 10px; color: var(--lime); }
.legal__sec p, .legal__sec li { font-size: 17px; line-height: 1.65; margin: 0 0 8px; }
.legal__sec ul { margin: 0; padding-inline-start: 22px; }
.legal__sec a { color: #b9a2ff; text-decoration: underline; text-underline-offset: 3px; }
.legal__back { margin-top: 30px; width: 190px; height: 46px; font-size: 16px; font-weight: 400; gap: 0; justify-content: space-between; padding-inline: 26px 10px; }
@media (max-width: 640px) { .legal-page { padding-top: 110px; } .legal__title { font-size: 40px; } }
.contact__tube img { mix-blend-mode: lighten; }
@media (min-width: 1024px) { .process__btn { top: calc(90 * var(--a) + 123px + 60px + 185px); } .deck { margin-top: -140px; height: 600px; } }

/* =====================================================================
   Round 5
   ===================================================================== */
/* nav: 3 links + CTA button (arrow points left) */
.nav__links { gap: calc(40 * var(--a)); }
.btn--nav { width: calc(122 * var(--a)); }
@media (min-width: 1024px) { .btn--nav { min-width: 132px; } }
@media (max-width: 1023.98px) { .mmenu__links a { font-size: clamp(28px, 8vw, 44px); } .mmenu .btn--primary { margin-top: 26px; } }

/* hero: block lifted & centred vertically (JS sets --hero-shift), more air under the laptop */
@media (min-width: 1024px) {
  .hero { margin-top: calc(-40px + var(--hero-shift, 0px)); }
  .hero__title { top: calc(574 * var(--a) + 30px); }
  .hero__ctas { top: calc(574 * var(--a) + 25px + 30px + 30px); }
}

/* process title: "קוסמות" */
.process__title .line .lime { color: var(--lime); }

/* projects deck: pinned + scrubbed by scroll */
.work__anchor { height: 0; }
.work__pin { position: sticky; top: 0; }
.work--home .work__pin { position: sticky; }
.deck .gcard { --dx: 26px; --dy: -30px; --dz: -40px; --rz: 1.4deg;
  transform: translate3d(calc(var(--i, 0) * var(--dx) + var(--f, 0) * -125%), calc(var(--i, 0) * var(--dy) + var(--f, 0) * 14%), calc(var(--i, 0) * var(--dz) + var(--f, 0) * 90px)) rotateZ(calc(var(--i, 0) * var(--rz) + var(--f, 0) * -16deg)) !important;
  transition: none !important; will-change: transform, opacity; }
@media (max-width: 1023.98px) { .deck .gcard { --dx: 12px; --dy: -15px; --dz: -24px; } }

/* contact: standard-size button */
.form .btn.form__send { width: 212px; height: 46px; font-size: 16px; font-weight: 400; gap: 0; justify-content: space-between; padding-inline: 26px 10px; margin-top: 0; }
@media (max-width: 1023.98px) { .form .btn.form__send { width: calc(394 * var(--n)); max-width: 100%; height: calc(64 * var(--n)); font-size: calc(23 * var(--n)); padding-inline: calc(40 * var(--n)) calc(14 * var(--n)); } }

/* floating WhatsApp */
.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, #3be07f, #12a64f); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 8px 24px rgba(18, 166, 79, .55), 0 0 30px rgba(59, 224, 127, .35);
  transition: transform .35s var(--ease), box-shadow .35s; animation: waPulse 2.8s ease-in-out infinite; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.1) translateY(-2px); }
@keyframes waPulse { 0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 8px 24px rgba(18,166,79,.55), 0 0 0 0 rgba(59,224,127,.5); } 60% { box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset, 0 8px 24px rgba(18,166,79,.55), 0 0 0 16px rgba(59,224,127,0); } }
@media (max-width: 1023.98px) { .wa-float { left: 14px; bottom: 14px; width: 52px; height: 52px; } .wa-float svg { width: 27px; height: 27px; } }

/* talk: play button over the video, text to the left of the video */
.talk__video { position: relative; }
.talk__play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border: 0; border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  background: linear-gradient(135deg, #b1fb01 0%, #ff4fae 55%, #7a38ff 100%); box-shadow: 0 0 0 3px rgba(255,255,255,.55) inset, 0 0 34px rgba(255, 79, 174, .8), 0 0 70px rgba(122, 56, 255, .7);
  animation: playBounce 1.6s cubic-bezier(.45, 0, .3, 1) infinite; transition: opacity .35s, visibility .35s; }
.talk__play::before { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); animation: playRing 1.6s ease-out infinite; }
.talk__play svg { width: 36px; height: 36px; fill: #fff; margin-left: 4px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.talk__play:hover { filter: brightness(1.12) saturate(1.1); }
.talk__video.is-playing .talk__play { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes playBounce { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-14px) scale(1.06); } 60% { transform: translateY(0) scale(.97); } }
@keyframes playRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.talk__follow { flex-direction: column; align-items: flex-start; gap: 26px; text-align: right; left: 0; }
.talk__hint { order: -1; margin: 0; opacity: 1; font-weight: 900; font-size: 60px; line-height: 1.02; letter-spacing: -.01em; text-align: right; }
.talk__hint .line { display: block; }
.talk__hint .lime { color: var(--lime); }
@media (min-width: 1024px) {
  .talk__media { flex-direction: row; align-items: center; gap: 56px; right: calc((100% - var(--vw)) / 2 + 150px); top: 10px; }
  .talk__follow { position: static; }
  .talk__script { width: calc(var(--vw) - 880px); min-width: 560px; max-width: 900px; }
}
@media (max-width: 1023.98px) {
  .talk__follow { align-items: center; text-align: center; }
  .talk__hint { order: -1; font-size: clamp(34px, 9vw, 50px); text-align: center; }
  .talk__play { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
}

/* footer: smaller icons, legal links right, credits dead-centre, no middle rule */
.footer__bottom::before { display: none !important; }
@media (min-width: 1024px) {
  .footer__icons { gap: calc(31 * var(--c)); }
  .ficon { gap: calc(3 * var(--c)); font-size: 12px; }
  .ficon svg { width: calc(25 * var(--c)); height: calc(25 * var(--c)); }
  .footer__bottom { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; justify-content: normal; }
  .footer__legalrow { grid-column: 1; grid-row: 1; justify-self: start; }
  .footer__made { grid-column: 2; grid-row: 1; justify-self: center; }
  .footer__copy { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (max-width: 1023.98px) {
  .footer__icons { gap: calc(57 * var(--q)); }
  .ficon { font-size: 11px; }
  .ficon svg { width: calc(29 * var(--q)); height: calc(29 * var(--q)); }
}
/* process → "Selected work": ~100px between the button and the script word */
@media (min-width: 1024px) { .process { height: calc(132 * var(--a) + 375px); } }
/* keep © clear of the floating WhatsApp button */
@media (min-width: 1024px) { .footer__copy { margin-left: 84px; } }
@media (max-width: 1023.98px) {
  .process { height: calc(770 * var(--n) + 50px); }
  .work__pin { padding-top: 56px; }
  .deck { margin-top: 12px; }
}
@media (max-width: 1023.98px) { .work--home .work__head { width: 100%; } .work--home .work__script { left: calc(50% - 80px); } }

/* =====================================================================
   Side menu (desktop): vertical step nav, right edge
   ===================================================================== */
.sidenav { display: none; }
@media (min-width: 1024px) {
  .nav__pill { display: none !important; }
  .sidenav { display: block; position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 95; }
  .sidenav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 30px; position: relative; }
  .sidenav li { position: relative; display: flex; justify-content: flex-end; }
  .sidenav__line { position: absolute; right: 8px; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(150, 120, 255, .28); }
  .sidenav__line i { position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 2px; background: linear-gradient(180deg, #5a28ff, #ff4fae); box-shadow: 0 0 12px rgba(140, 80, 255, .9); transition: height .7s var(--ease); }
  .sidenav a { --my: 0px; position: relative; display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; padding: 4px 0; color: rgba(255,255,255,.75); transition: color .3s, transform .35s var(--ease); transform: translateY(var(--my)); }
  .sidenav__dot { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: #0d0426; box-shadow: 0 0 0 2px rgba(150, 120, 255, .7); transition: transform .4s var(--ease), background .3s, box-shadow .3s; }
  .sidenav__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: rgba(150, 120, 255, .9); transition: background .3s, transform .4s var(--ease); }
  .sidenav__num { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 900; letter-spacing: .06em; direction: ltr; color: rgba(255,255,255,.5); transition: opacity .3s, transform .4s var(--ease); }
  .sidenav__label { position: absolute; right: 30px; top: 50%; display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 15px; font-weight: 400; padding: 8px 16px; border-radius: 99px;
    background: rgba(18, 6, 48, .78); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(150, 120, 255, .45), 0 10px 30px -8px rgba(70, 30, 220, .7);
    opacity: 0; transform: translate(14px, -50%) scale(.9); filter: blur(4px); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease), filter .35s, background .3s; transition-delay: 0s; }
  .sidenav__label svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
  /* whole menu unfolds when the pointer is on it, each step staggered */
  .sidenav:hover .sidenav__label { opacity: 1; transform: translate(0, -50%) scale(1); filter: none; transition-delay: calc(var(--i, 0) * .05s); }
  .sidenav:hover .sidenav__num { opacity: 0; transform: translate(10px, -50%); }
  .sidenav li { transition: none; }
  /* hovered step */
  .sidenav a:hover { color: #fff; }
  .sidenav a:hover .sidenav__dot { transform: scale(1.35); background: var(--lime); box-shadow: 0 0 0 2px var(--lime), 0 0 20px rgba(177, 251, 1, .8); }
  .sidenav a:hover .sidenav__dot::after { background: #0d0426; transform: scale(.6); }
  .sidenav a:hover .sidenav__label { background: rgba(60, 24, 160, .9); box-shadow: 0 0 0 1px rgba(177, 251, 1, .7), 0 0 26px rgba(130, 70, 255, .8); transform: translate(-6px, -50%) scale(1.04); color: #fff; }
  .sidenav a:hover .sidenav__label svg { transform: translateX(-4px); }
  .sidenav a::before { content: ""; position: absolute; right: -4px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: 2px solid rgba(177, 251, 1, .8); opacity: 0; transform: scale(.5); pointer-events: none; }
  .sidenav a:hover::before { animation: sideRipple .9s ease-out infinite; }
  @keyframes sideRipple { 0% { opacity: .9; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.9); } }
  /* done / active */
  .sidenav a.is-done .sidenav__dot::after { background: #ff4fae; }
  .sidenav a.is-active { color: #fff; }
  .sidenav a.is-active .sidenav__dot { background: #5a28ff; box-shadow: 0 0 0 2px #fff, 0 0 22px rgba(120, 70, 255, 1); transform: scale(1.2); animation: sidePulse 2s ease-in-out infinite; }
  .sidenav a.is-active .sidenav__dot::after { background: #fff; }
  .sidenav a.is-active .sidenav__num { color: var(--lime); }
  @keyframes sidePulse { 0%, 100% { box-shadow: 0 0 0 2px #fff, 0 0 12px rgba(120, 70, 255, .9); } 50% { box-shadow: 0 0 0 2px #fff, 0 0 28px rgba(160, 100, 255, 1); } }
  /* last step = button */
  .sidenav a.is-cta .sidenav__label { background: linear-gradient(90deg, #4a1cf2, #6234ff); box-shadow: 0 0 0 1px rgba(190, 170, 255, .5) inset, 0 0 18px rgba(98, 30, 255, .6); font-weight: 400; }
  .sidenav a.is-cta:hover .sidenav__label { background: linear-gradient(90deg, #ff4fae, #7a38ff); }
  .sidenav a.is-cta .sidenav__dot::after { background: #ff4fae; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) { .sidenav a.is-active .sidenav__dot, .sidenav a:hover::before { animation: none; } }
html { overflow-x: clip; } .talk__script img { max-width: none; }

/* side menu v2: icons in the dots, menu stays open while moving between steps */
@media (min-width: 1024px) {
  .sidenav { right: 18px; padding: 14px 0 14px 300px; }
  .sidenav ul { gap: 0; }
  .sidenav li { padding-block: 11px; }
  .sidenav__line { right: 17px; top: 14px; bottom: 14px; }
  .sidenav a::after { content: ""; position: absolute; right: -10px; top: -12px; bottom: -12px; width: 330px; }
  .sidenav__dot { width: 36px; height: 36px; display: grid; place-items: center; box-shadow: 0 0 0 2px rgba(150, 120, 255, .7); }
  .sidenav__dot::after { display: none; }
  .sidenav__dot svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .85; transition: transform .4s var(--ease), stroke .3s; }
  .sidenav__num { display: none; }
  .sidenav__label { right: 48px; }
  .sidenav.is-open .sidenav__label { opacity: 1; transform: translate(0, -50%) scale(1); filter: none; transition-delay: calc(var(--i, 0) * .05s); pointer-events: auto; }
  .sidenav:hover .sidenav__label { pointer-events: auto; }
  .sidenav a::before { right: -6px; width: 48px; height: 48px; margin-top: -24px; }
  .sidenav a:hover .sidenav__dot { background: var(--lime); box-shadow: 0 0 0 2px var(--lime), 0 0 22px rgba(177, 251, 1, .8); transform: scale(1.18); }
  .sidenav a:hover .sidenav__dot svg { stroke: #0d0426; opacity: 1; transform: rotate(-8deg) scale(1.1); }
  .sidenav a.is-active .sidenav__dot { transform: scale(1.1); }
  .sidenav a.is-active .sidenav__dot svg { opacity: 1; }
  .sidenav a.is-done .sidenav__dot { box-shadow: 0 0 0 2px #ff4fae; }
  .sidenav a.is-cta .sidenav__dot svg { stroke: #ff9fd2; }
}
/* deck: no scroll-room spacer, the page is held by JS instead */
.work__pin, .work--home .work__pin { position: relative !important; top: auto !important; }
.work__spacer { display: none; }
html.deck-locked { overscroll-behavior: none; }
/* new logo: show its own colours */
.nav__logo img, .footer__logo img { filter: none !important; }
.nav__logo img { filter: drop-shadow(0 0 10px rgba(110, 70, 255, .35)) !important; }

/* side menu v3: hand-drawn icons, organic blobs, line stays between first and last dot */
@media (min-width: 1024px) {
  .sidenav { padding-block: 14px; }
  .sidenav li { padding-block: 9px; }
  .sidenav__line { right: 19px; top: 43px; bottom: 43px; width: 3px; border-radius: 3px; }
  .sidenav__dot { width: 40px; height: 40px; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; background: linear-gradient(145deg, #5a28ff, #a63cff); box-shadow: 0 6px 18px -4px rgba(110, 50, 255, .8); animation: blobMorph 7s ease-in-out infinite; }
  .sidenav li:nth-child(2n) .sidenav__dot { animation-delay: -2s; border-radius: 45% 55% 42% 58% / 55% 45% 56% 44%; }
  .sidenav li:nth-child(3n) .sidenav__dot { animation-delay: -4s; }
  @keyframes blobMorph { 0%, 100% { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; } 50% { border-radius: 44% 56% 42% 58% / 56% 44% 58% 42%; } }
  .sidenav__dot svg { width: 26px; height: 26px; overflow: visible; opacity: 1; }
  .sidenav__dot svg .ink { stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .sidenav__dot svg .pop { stroke: #ffd0ea; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: rgba(255, 79, 174, .55); }
  .sidenav a.is-cta .sidenav__dot { background: linear-gradient(145deg, #ff4fae, #7a38ff); }
  .sidenav a.is-cta .sidenav__dot svg .pop { stroke: #fff; fill: rgba(255,255,255,.85); }
  .sidenav a.is-done .sidenav__dot { box-shadow: 0 6px 18px -4px rgba(255, 79, 174, .8); background: linear-gradient(145deg, #8a2cff, #ff4fae); }
  .sidenav a.is-active .sidenav__dot { transform: scale(1.18) rotate(-4deg); box-shadow: 0 0 0 4px rgba(255,255,255,.12), 0 0 28px rgba(150, 90, 255, 1); animation: blobMorph 4s ease-in-out infinite; }
  /* hover: lime blob, icon re-draws itself */
  .sidenav a:hover .sidenav__dot { background: linear-gradient(145deg, #d6ff4a, #b1fb01); box-shadow: 0 0 26px rgba(177, 251, 1, .75); transform: scale(1.22) rotate(6deg); }
  .sidenav a:hover .sidenav__dot svg { transform: none; stroke: none; }
  .sidenav a:hover .sidenav__dot svg .ink { stroke: #1a0640; animation: inkDraw .75s cubic-bezier(.5, 0, .2, 1) both; }
  .sidenav a:hover .sidenav__dot svg .pop { stroke: #1a0640; fill: rgba(255, 79, 174, .85); animation: popIn .5s .25s var(--ease) both; transform-origin: center; transform-box: fill-box; }
  @keyframes inkDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes popIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
  .sidenav a::before { display: none; }
}

/* about: flipping glass cards */
.about__art { height: calc(446 * var(--a)); }
.aflip { position: absolute; inset: 0; display: flex; direction: ltr; perspective: 1500px; }
.aflip__card { position: relative; flex: 0 0 33.4%; margin-right: -.4%; transform-style: preserve-3d; transition: transform 1.25s cubic-bezier(.62, .02, .18, 1); will-change: transform; }
.aflip__card:nth-child(2) { z-index: 2; }
.aflip__f { position: absolute; inset: 0; display: block; background-repeat: no-repeat; background-size: 300% 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.aflip__card:nth-child(1) .aflip__f { background-position: 0% 0; }
.aflip__card:nth-child(2) .aflip__f { background-position: 50% 0; }
.aflip__card:nth-child(3) .aflip__f { background-position: 100% 0; }
.aflip__f--b { transform: rotateY(180deg); }
@media (max-width: 1023.98px) { .about__art { height: calc(385 * var(--n)); } }
@media (max-width: 1023.98px) { .about__art { left: calc(149 * var(--n)); width: calc(434 * var(--n)); height: calc(334 * var(--n)); } }

/* =====================================================================
   Round 6
   ===================================================================== */
/* side menu: no rail, calmer active dot, more air between the steps */
.sidenav__line { display: none !important; }
@media (min-width: 1024px) {
  .sidenav li { padding-block: 17px; }
  .sidenav a.is-active .sidenav__dot { transform: scale(1.07) rotate(-4deg); }
}

/* buttons: smaller, 18px text — everywhere */
.btn, .btn--sm, .hero__ctas .btn, .gallery__more .btn, .form .btn.form__send, .talk__wa, .legal__back, .process__btn {
  font-size: 18px !important; height: 44px !important; width: auto !important; min-width: 0 !important; max-width: none !important;
  padding-inline: 24px 9px !important; gap: 12px !important; justify-content: space-between; font-weight: 400; }
.btn .btn__arrow svg { width: 20px; height: 20px; }
.btn--primary .btn__arrow { margin-inline-start: 0 !important; }
.process__btn { left: calc(50% - 118px) !important; width: 236px !important; }
.gallery__more .btn::before { top: 4px; }
@media (max-width: 1023.98px) {
  .btn, .hero__ctas .btn, .gallery__more .btn, .form .btn.form__send, .talk__wa, .process__btn { height: 46px !important; }
  .hero__ctas .btn, .gallery__more .btn, .form .btn.form__send, .talk__wa { width: min(290px, 78vw) !important; }
  .process__btn { left: calc(50% - 125px) !important; width: 250px !important; }
  .mmenu .btn { width: min(290px, 78vw) !important; }
}

/* contact / talk swap (desktop) */
@media (min-width: 1024px) {
  .contact__text { right: calc((100% - var(--vw)) / 2 + 100px); left: auto; top: 350px; }
  .form { left: auto; right: calc((100% - var(--vw)) / 2 + 330px); top: 270px; width: 440px; gap: 14px; }
  .field { height: 50px; padding-inline: 16px; gap: 10px; border-radius: 16px; }
  .field--msg { height: 112px; padding-top: 14px; }
  .field__ico { width: 20px; height: 20px; }
  .field input, .field textarea { font-size: 16px; }
  .field textarea { height: 80px; }
  .form__msg { font-size: 15px; }
  .contact .talk__script { position: absolute; left: calc((100% - var(--vw)) / 2); top: 190px; width: min(900px, calc(var(--vw) - 900px)); min-width: 480px; max-width: none; height: auto; aspect-ratio: 1490 / 740; }
  .contact .talk__script img { height: 100%; }
  .talk .contact__tube { position: absolute; left: auto; right: calc((100% - var(--vw)) / 2); top: -20px; width: 680px; height: auto; aspect-ratio: 1544 / 1400; z-index: 0; }
  .talk .contact__tube img { height: 100%; }
  .talk__media { right: calc(50% - 90px); top: 40px; z-index: 2; }
}

/* footer icons: same hand-drawn blobs as the menu */
.ficon { gap: 8px; }
.ficon svg { display: none; }
.ficon .ficon__dot svg { display: block; }
.ficon__dot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; background: linear-gradient(145deg, #5a28ff, #a63cff); box-shadow: 0 6px 18px -4px rgba(110, 50, 255, .8); animation: blobMorph 7s ease-in-out infinite; transition: transform .4s var(--ease), background .3s, box-shadow .3s; }
.ficon:nth-child(2) .ficon__dot { animation-delay: -2.5s; border-radius: 45% 55% 42% 58% / 55% 45% 56% 44%; background: linear-gradient(145deg, #7a38ff, #ff4fae); }
.ficon:nth-child(3) .ficon__dot { animation-delay: -4.5s; }
.ficon__dot svg { width: 25px; height: 25px; overflow: visible; fill: none !important; stroke: none !important; filter: none !important; }
.ficon__dot svg .ink { stroke: #fff !important; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; fill: none !important; stroke-dasharray: 1; }
.ficon__dot svg .pop { stroke: #ffd0ea !important; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: rgba(255, 79, 174, .55) !important; }
.ficon:hover { transform: none; }
.ficon:hover .ficon__dot { background: linear-gradient(145deg, #d6ff4a, #b1fb01); box-shadow: 0 0 26px rgba(177, 251, 1, .75); transform: scale(1.18) rotate(6deg); }
.ficon:hover .ficon__dot svg .ink { stroke: #1a0640 !important; animation: inkDraw .75s cubic-bezier(.5, 0, .2, 1) both; }
.ficon:hover .ficon__dot svg .pop { stroke: #1a0640 !important; fill: rgba(255, 79, 174, .85) !important; animation: popIn .5s .25s var(--ease) both; transform-origin: center; transform-box: fill-box; }
@keyframes inkDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes popIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes blobMorph { 0%, 100% { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; } 50% { border-radius: 44% 56% 42% 58% / 56% 44% 58% 42%; } }
.ficon span { font-size: 12px; }
.btn--ghost, .hero__ctas .btn--ghost { justify-content: center !important; padding-inline: 26px !important; }
@media (max-width: 1023.98px) {
  .form .form__send { order: 5; justify-self: center; }
  .footer { height: calc(420 * var(--q) + 44px); }
  .footer__bottom { top: calc(215 * var(--q) + 44px); }
}

/* about v2: the glass panels themselves flip (outlines clipped from the artwork) */
.aflip__card { position: absolute; inset: 0; flex: none; margin: 0; --ox: 16%; transform-origin: var(--ox) 50%; }
.aflip__card:nth-of-type(1) { --ox: 14%; z-index: 1; }
.aflip__card:nth-of-type(2) { --ox: 39.3%; z-index: 3; }
.aflip__card:nth-of-type(3) { --ox: 67.5%; z-index: 2; }
.aflip__f { background-size: 100% 100% !important; background-position: 0 0 !important; transform-origin: var(--ox) 50%; }
.aflip__f--b { transform: rotateY(180deg); }
.aflip__base { position: absolute; inset: 0; background-size: 100% 100%; background-repeat: no-repeat; transition: opacity 1.4s ease; z-index: 0; }
.aflip__base--a { opacity: 1; }
.aflip__base--b { opacity: 0; }
/* menu: a bit more room from the screen edge */
@media (min-width: 1024px) { .sidenav { right: 38px; } }

/* round 8 */
.pinkw { color: #ff4fae; }
.nav__logo { width: calc(132 * var(--a)); }
@media (min-width: 1024px) { .nav__logo { width: calc(132 * var(--a)); } .footer__logo { width: calc(236 * var(--c)); } }
@media (max-width: 1023.98px) { .nav__logo { width: calc(197 * var(--n)); } }
/* all buttons: text truly centred, arrow pinned to the end */
.btn, .btn--primary, .about__btn, .process__btn, .form .btn.form__send, .hero__ctas .btn, .legal__back { justify-content: center !important; padding-inline: 48px !important; }
.btn .btn__arrow { position: absolute !important; inset-inline-end: 9px; top: 50%; margin: 0 !important; translate: 0 -50%; }
.btn .btn__label { text-align: center; }
.process__btn { width: 236px !important; }
@media (min-width: 1024px) {
  .contact__text { right: calc((100% - var(--vw)) / 2 + 201px); }
  .form { right: calc((100% - var(--vw)) / 2 + 430px); }
}
/* LET'S TALK: same blur-and-settle entrance as the headings */
.js [data-reveal="talk"] { clip-path: none; opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js [data-reveal="talk"].is-in { clip-path: none; opacity: 1; transform: none; filter: none; }
@media (min-width: 1024px) { .step__text { font-size: 15px; margin-inline: -28px; } }
/* talk-art: feather every edge so no box shows behind the swirl */
@media (min-width: 1024px) {
  .talk .contact__tube img { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
}
/* about art: keep the torus tail clear of the text column */
.aflip { transform: scale(.87); transform-origin: 0 50%; }
@media (max-width: 1023.98px) { .about__btn { left: 50% !important; right: auto !important; translate: -50% 0; } }



/* Coffee. Work. Repeat. */
.about__art { overflow: visible; }
.about__loop { position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; z-index: 4; display: flex; justify-content: center; gap: .55em; direction: ltr; font-weight: 900; font-size: 22px; letter-spacing: .02em; pointer-events: none; text-shadow: 0 0 18px rgba(98, 6, 232, .9); }
.about__loop span { opacity: 0; display: inline-block; animation: loopWord 6.5s cubic-bezier(.22, 1, .36, 1) infinite; }
.about__loop span:nth-child(1) { color: #fff; animation-delay: 0s; }
.about__loop span:nth-child(2) { color: var(--lime); animation-delay: .6s; }
.about__loop span:nth-child(3) { color: #ff4fae; animation-delay: 1.2s; }
@keyframes loopWord { 0% { opacity: 0; transform: translateY(18px) scale(.9); filter: blur(8px); } 9%, 76% { opacity: 1; transform: none; filter: none; } 88%, 100% { opacity: 0; transform: translateY(-10px) scale(1.04); filter: blur(6px); } }
@media (max-width: 1023.98px) { .about__loop { font-size: calc(26 * var(--n)); bottom: calc(-14 * var(--n)); } }

/* "לכל העבודות" button: room for the arrow on both sides */
.gallery__more .btn { width: 250px !important; padding-inline: 60px !important; }

/* talk: video's right edge lines up with the form's right edge above it */
@media (min-width: 1024px) {
  .talk__media { right: calc((100% - var(--vw)) / 2 + 430px); }
  .talk .contact__tube img { -webkit-mask-image: none !important; mask-image: none !important; }
}
.about__loop { bottom: 30px; }
@media (max-width: 1023.98px) { .about__loop { bottom: calc(8 * var(--n)); } }
@media (min-width: 1024px) {
  .talk .contact__tube img { -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%) !important; mask-image: linear-gradient(180deg, #000 78%, transparent 100%) !important; }
}

/* hand-lettered neon titles (picture + pen reveal) */
.script, .js .script[data-reveal] { display: flex; align-items: center; justify-content: center; filter: none !important; }
.script__pen { display: block; width: 100% !important; height: auto !important; flex: none; position: static !important; inset: auto !important; }
.script--pen .script__text { opacity: 1; }
.hero__script { left: calc(291 * var(--a)); width: calc(300 * var(--a)); translate: 0 -16px; }
.about__script { right: calc(33 * var(--a)); width: calc(270 * var(--a)); translate: 0 -12px; }
.process__script { left: calc(279 * var(--a)); width: calc(300 * var(--a)); translate: 0 -18px; }
.work__script { left: calc(239 * var(--b)); width: calc(250 * var(--b)); translate: 0 -12px; }
@media (max-width: 1023.98px) {
  .hero__script { left: calc(210 * var(--n)); width: calc(300 * var(--n)); translate: 0 -6px; }
  .about__script { right: auto; left: calc(236 * var(--n)); width: calc(230 * var(--n)); translate: 0 -6px; }
  .process__script { left: calc(240 * var(--n)); width: calc(240 * var(--n)); translate: 0 -8px; }
  .work__script { left: calc(121 * var(--p)); width: calc(220 * var(--p)); translate: 0 -6px; }
  .work--home .work__script { left: calc(50% - 110 * var(--p)); }
}

/* round 10 */
.loader__bar { display: none; }
.loader__wave { width: min(260px, 60vw); height: auto; overflow: visible; filter: drop-shadow(0 0 10px rgba(139, 44, 245, .8)); }
.loader__wave path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.loader__track { stroke: rgba(255, 255, 255, .08); stroke-width: 7; }
.loader__fill { stroke: url(#lw); stroke-width: 7; stroke-dasharray: 1; stroke-dashoffset: 1; animation: waveFill 1.4s cubic-bezier(.5, 0, .2, 1) .15s forwards; }
@keyframes waveFill { to { stroke-dashoffset: 0; } }

/* handwritten titles melt into the background */
.about__script, .process__script { opacity: .78; mix-blend-mode: screen; }
.about__script .script__pen, .process__script .script__pen { filter: blur(.5px) saturate(.9); }
.about__script { right: calc(33 * var(--a) - 45px); }
@media (max-width: 1023.98px) { .about__script { right: auto; left: calc(236 * var(--n) + 18px); } }

.step__text .lime { font-weight: 900; }
@media (min-width: 1024px) { .process { margin-top: 40px; } }
@media (max-width: 1023.98px) { .process { margin-top: 24px; } }

/* Coffee. Work. Repeat. - huge, blended into the picture */
.about__loop { left: 0; right: 0; bottom: 0; flex-direction: column; align-items: flex-start; gap: 0; padding-inline-start: 6%; font-size: 92px; line-height: .86; letter-spacing: -.01em; mix-blend-mode: screen; text-shadow: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 40%); mask-image: linear-gradient(180deg, transparent 0, #000 40%); }
.about__loop span { animation-name: loopWordBig; }
.about__loop span:nth-child(1) { color: rgba(255, 255, 255, .55); }
.about__loop span:nth-child(2) { color: rgba(177, 251, 1, .6); }
.about__loop span:nth-child(3) { color: rgba(255, 79, 174, .6); }
@keyframes loopWordBig { 0% { opacity: 0; transform: translateY(26px) scale(.94); filter: blur(10px); } 9%, 76% { opacity: 1; transform: none; filter: blur(.6px); } 88%, 100% { opacity: 0; transform: translateY(-12px); filter: blur(8px); } }
@media (max-width: 1023.98px) { .about__loop { font-size: calc(70 * var(--n)); bottom: 0; } }
.talk__script canvas.script__pen { position: absolute !important; inset: 0 !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; }
.js [data-reveal="talk"], .js [data-reveal="talk"].is-in { transform: none !important; filter: none !important; }
.js [data-reveal="talk"] { transition: opacity .3s; }
/* words take turns in the same spot, at the foot of the picture */
.about__loop { display: grid; justify-items: center; align-items: end; padding: 0; bottom: 6px; font-size: 96px; line-height: 1; -webkit-mask-image: none; mask-image: none; }
.about__loop span { grid-area: 1 / 1; animation: loopTurn 6.6s cubic-bezier(.22, 1, .36, 1) infinite; opacity: 0; }
.about__loop span:nth-child(1) { animation-delay: 0s; }
.about__loop span:nth-child(2) { animation-delay: 2.2s; }
.about__loop span:nth-child(3) { animation-delay: 4.4s; }
.about__loop span:nth-child(1), .about__loop span:nth-child(2), .about__loop span:nth-child(3) { color: rgba(255, 255, 255, .62); }
.about__loop span:nth-child(2) { color: rgba(177, 251, 1, .7); }
.about__loop span:nth-child(3) { color: rgba(255, 110, 190, .7); }
@keyframes loopTurn { 0% { opacity: 0; transform: translateY(30px) scale(.92); filter: blur(12px); } 8%, 28% { opacity: 1; transform: none; filter: blur(.5px); } 36%, 100% { opacity: 0; transform: translateY(-14px) scale(1.03); filter: blur(10px); } }
@media (max-width: 1023.98px) { .about__loop { font-size: calc(78 * var(--n)); bottom: 0; } }
.work__script { opacity: .78; mix-blend-mode: screen; }
.work__script .script__pen { filter: blur(.5px) saturate(.9); }
/* work page: 8 projects flow naturally, contact/talk follow below */
.project__tag { white-space: normal; text-align: right; }
@media (min-width: 1024px) {
  .page-work .work { height: auto; padding-top: calc(188 * var(--b)); padding-bottom: 60px; }
  .page-work .projects { position: relative; top: auto; right: auto; margin-right: calc(26 * var(--b)); margin-left: auto; }
}
@media (min-width: 1024px) { .page-work .work { padding-bottom: 0; } }

/* round 11 */
.about__script, .process__script, .work__script { opacity: .5; mix-blend-mode: screen; }
.about__script .script__pen, .process__script .script__pen, .work__script .script__pen { filter: blur(.7px) saturate(.85); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
/* Coffee. Work. Repeat. over the lower part of the picture, colours blended with it */
.about__loop { bottom: 70px; left: 0; right: 0; width: 100%; justify-items: center; text-align: center; mix-blend-mode: screen; font-size: 96px; }
.about__loop span { grid-area: 1 / 1; justify-self: center; background: linear-gradient(100deg, #5a8bff 0%, #9b4dff 40%, #ff5fc0 75%, #ffd1f0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; filter: drop-shadow(0 0 18px rgba(122, 56, 255, .75)); }
.about__loop span:nth-child(2) { background-image: linear-gradient(100deg, #ff5fc0 0%, #9b4dff 50%, #5a8bff 100%); }
.about__loop span:nth-child(3) { background-image: linear-gradient(100deg, #9b4dff 0%, #5a8bff 45%, #c8a8ff 100%); }
@media (max-width: 1023.98px) { .about__loop { bottom: calc(46 * var(--n)); } }
/* "תגידו יאמי" 20px higher, level with the form */
@media (min-width: 1024px) { .contact__text { top: 330px; } }

/* round 12 – work page */
.page-work .project__tag { text-align: left !important; }
@media (min-width: 1024px) {
  .page-work .work__waves { left: 50% !important; right: auto !important; width: 100vw !important; max-width: none !important; margin-left: -50vw !important; }
  .page-work .wave { stroke-width: 9; opacity: .9; }
}
.page-work .project__rule {
  height: 14px; width: calc(110 * var(--b)); background: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 14' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23ff4fae' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%238b2cf5'/%3E%3Cstop offset='1' stop-color='%233d6cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 8C20 1 34 13 54 7S88 2 107 7' fill='none' stroke='url(%23g)' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%; background-repeat: no-repeat; filter: drop-shadow(0 0 6px rgba(139,44,245,.7));
}

/* round 13 – handwritten titles melt into the background */
.about__script, .process__script, .work__script, .blog__script { opacity: .36; mix-blend-mode: screen; }
.about__script .script__pen, .process__script .script__pen, .work__script .script__pen, .blog__script .script__pen {
  filter: blur(1.3px) saturate(.7) brightness(.9);
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 50%, #000 25%, transparent 100%);
  mask-image: radial-gradient(ellipse 62% 70% at 50% 50%, #000 25%, transparent 100%);
}
@media (min-width: 1024px) { .about__loop { right: 80px; } }

/* round 14 – work page: no side waves, full un-zoomed screenshots */
.page-work .work__waves { display: none !important; }
.page-work .browser__screen { aspect-ratio: 1200 / 662; }
.page-work .browser__screen img, .page-work .browser:hover .browser__screen img,
.js .page-work [data-reveal="project"] .project__media .browser__screen img,
.js .page-work [data-reveal="project"] .project__media .browser:hover .browser__screen img { object-fit: fill; transform: none !important; }
@media (min-width: 1024px) { .page-work .project__media .project__url { top: calc(252 * var(--b)); } }
@media (max-width: 1023.98px) { .page-work .browser__screen { aspect-ratio: 1200 / 662; } }

/* round 15 – coffee loop: starts ~1s after the area comes into view, quicker word swaps */
.about__loop span { animation: loopTurn2 5.4s cubic-bezier(.22, 1, .36, 1) infinite; animation-play-state: paused; }
.about__art.is-in .about__loop span { animation-play-state: running; }
.about__loop span:nth-child(1) { animation-delay: 1s; }
.about__loop span:nth-child(2) { animation-delay: 2.8s; }
.about__loop span:nth-child(3) { animation-delay: 4.6s; }
@keyframes loopTurn2 { 0% { opacity: 0; transform: translateY(18px) scale(.95); filter: blur(7px); } 5%, 28% { opacity: 1; transform: none; filter: blur(.4px); } 33%, 100% { opacity: 0; transform: translateY(-10px) scale(1.02); filter: blur(6px); } }

/* blog – posts imported from Prog */
.post__title { font-size: 44px; line-height: 1.15; }
.post__body { font-size: 17px; line-height: 1.8; }
.post__body b, .post__body strong { font-weight: 900; }
.post__body a { color: #b9a2ff; text-decoration: underline; text-underline-offset: 3px; }
.post__img { display: block; width: 100%; max-width: 100%; height: auto; margin: 18px auto; border-radius: 14px; box-shadow: 0 0 28px rgba(110, 50, 240, .25); }
.post__emoji { display: inline-block; width: 1.3em; height: 1.3em; vertical-align: -.25em; }
.post__video { display: block; width: 100%; max-width: 560px; margin: 18px auto; border-radius: 14px; background: #000; box-shadow: 0 0 28px rgba(110, 50, 240, .25); }
.post__linkcard { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(160, 120, 255, .35); background: rgba(60, 24, 130, .35); text-decoration: none !important; color: inherit !important; }
.post__linkcard strong { font-size: 19px; color: #fff; } .post__linkcard span { opacity: .8; font-size: 15px; line-height: 1.5; } .post__linkcard em { font-style: normal; font-size: 14px; color: #b9a2ff; direction: ltr; text-align: right; }
@media (max-width: 640px) { .post__title { font-size: 30px; } .post__body { font-size: 16.5px; } }

/* ===== blog archive: tilted, scroll-driven card wall ===== */
.page-blog { overflow-x: clip; }
.blog { position: relative; max-width: none; padding: 0 0 120px; }
.blog__head { position: relative; min-height: 640px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 150px 24px 60px; overflow: hidden; }
.blog__bg { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 0; pointer-events: none; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 100%); mask-image: radial-gradient(ellipse 75% 70% at 50% 50%, #000 30%, transparent 100%); }
.blog__row { display: flex; gap: .5em; white-space: nowrap; font-weight: 900; font-size: 150px; line-height: .92; letter-spacing: -.01em; color: transparent; -webkit-text-stroke: 1.5px rgba(150, 110, 255, .32); transform: translateX(var(--bx, 0px)); will-change: transform; direction: ltr; }
.blog__row:nth-child(2) { -webkit-text-stroke-color: rgba(255, 90, 190, .3); }
.blog__row span:nth-child(3n) { color: rgba(110, 60, 240, .16); -webkit-text-stroke-color: transparent; }
.blog__title { position: relative; font-size: clamp(64px, 9vw, 128px); line-height: 1; margin: 0 0 18px; text-shadow: 0 0 60px rgba(120, 60, 255, .6); }
.blog__sub { position: relative; font-size: 22px; margin: 0; opacity: .85; max-width: 560px; }
.blog__grid { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 36px; row-gap: 70px; max-width: 1180px; margin: 0 auto; padding: 0 24px; perspective: 1600px; }
.bcard { position: relative; display: flex; flex-direction: column; gap: 22px; padding: 0; background: none; border: 0; box-shadow: none; border-radius: 0; text-decoration: none; color: inherit; grid-column: span 6; opacity: 0; transform: translateY(70px) rotate(var(--rot, 0deg)); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.bcard.is-in { opacity: 1; transform: translate3d(0, var(--py, 0px), 0) rotate(var(--rot, 0deg)); transition: opacity .9s var(--ease), transform 1.3s var(--ease); }
.bcard.is-in.is-set { transition: opacity .9s var(--ease), transform .12s linear; }
.bcard:nth-child(4n+1) { grid-column: 1 / span 7; --rot: -2deg; }
.bcard:nth-child(4n+2) { grid-column: 8 / span 5; --rot: 2.2deg; margin-top: 110px; }
.bcard:nth-child(4n+3) { grid-column: 1 / span 5; --rot: 1.8deg; }
.bcard:nth-child(4n+4) { grid-column: 6 / span 7; --rot: -1.6deg; margin-top: 80px; }
.bcard__frame { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: linear-gradient(140deg, #2a0f6e, #5a1bd0 55%, #b2307f); border: 1px solid rgba(190, 160, 255, .55); box-shadow: 0 0 0 1px rgba(120, 70, 255, .25), 0 0 46px rgba(120, 60, 255, .5), 0 34px 70px -26px rgba(90, 30, 220, .9); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: box-shadow .5s, transform .25s var(--ease); transform-style: preserve-3d; }
.bcard:hover .bcard__frame { box-shadow: 0 0 0 1px rgba(210, 190, 255, .9), 0 0 70px rgba(150, 80, 255, .9), 0 40px 80px -24px rgba(110, 40, 255, 1); }
.bcard__thumb, .bcard__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bcard__thumb img { object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.bcard:hover .bcard__thumb img { transform: scale(1.06); }
.bcard__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 38%), linear-gradient(0deg, rgba(10, 2, 36, .55), transparent 45%); pointer-events: none; }
.bcard__num { position: absolute; z-index: 2; top: 16px; inset-inline-start: 18px; font-weight: 900; font-size: 30px; color: var(--lime); direction: ltr; text-shadow: 0 0 20px rgba(0, 0, 0, .6); }
.bcard__info { display: flex; flex-direction: column; gap: 10px; padding-inline: 6px; }
.bcard__meta { display: flex; align-items: center; gap: 14px; font-size: 15px; font-weight: 700; color: var(--lime); }
.bcard__meta::after { content: ""; flex: 0 1 110px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 14' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23ff4fae' stop-opacity='0'/%3E%3Cstop offset='.5' stop-color='%238b2cf5'/%3E%3Cstop offset='1' stop-color='%233d6cff'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M3 8C20 1 34 13 54 7S88 2 107 7' fill='none' stroke='url(%23g)' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; filter: drop-shadow(0 0 6px rgba(139, 44, 245, .7)); }
.bcard__title { font-size: 30px; line-height: 1.15; font-weight: 900; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard:nth-child(4n+1) .bcard__title, .bcard:nth-child(4n+4) .bcard__title { font-size: 36px; }
.bcard__desc { font-size: 16px; line-height: 1.6; margin: 0; opacity: .75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard__more { display: inline-flex; align-items: center; align-self: flex-start; gap: 10px; font-weight: 700; color: #fff; padding: 10px 20px; border-radius: 99px; background: linear-gradient(90deg, #4a1cf2, #6234ff); box-shadow: 0 0 0 1px rgba(190, 170, 255, .5) inset, 0 0 22px rgba(98, 30, 255, .6); transition: background .3s, transform .35s var(--ease); }
.bcard:hover .bcard__more { background: linear-gradient(90deg, #ff4fae, #7a38ff); transform: translateX(-6px); }
.bcard__more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 1023.98px) {
  .blog__head { min-height: 520px; padding-top: 120px; }
  .blog__row { font-size: 96px; }
  .blog__grid { column-gap: 22px; row-gap: 50px; }
  .bcard:nth-child(n) { grid-column: span 12; margin-top: 0; }
  .bcard:nth-child(even) { grid-column: 3 / span 10; } .bcard:nth-child(odd) { grid-column: 1 / span 10; }
}
@media (max-width: 640px) {
  .blog__head { min-height: 440px; } .blog__row { font-size: 64px; } .blog__sub { font-size: 18px; }
  .bcard:nth-child(n) { grid-column: 1 / -1; } .bcard:nth-child(n) .bcard__title { font-size: 26px; }
  .blog__grid { padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) { .bcard { opacity: 1; transform: none; } .blog__row { transform: none !important; } }
.blog { width: 100vw; margin-inline: calc(50% - 50vw); }
/* blog head: script subtitle like the other sections */
.blog__script { position: relative; width: min(440px, 78vw); margin: 0 auto -6px; translate: 0; }
.blog__head { min-height: 520px; }
.blog__bg { display: none; }
.bcard__num { text-shadow: 0 0 2px #1a0a4a, 0 0 8px #1a0a4a, 0 1px 12px rgba(10,0,40,.9); }

.blog__sub { opacity: 1; }
.blog__sub .blog__love { display: block; margin-top: 6px; font-weight: 900; color: var(--lime); }
.bcard__num { display: none; }

/* ===== home: blog teaser ===== */
.hblog { position: relative; padding: 70px 0 110px; }
.hblog__head { position: relative; text-align: center; padding: 0 24px 40px; }
.hblog__title { position: relative; font-weight: 900; font-size: clamp(54px, 6.4vw, 92px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.hb__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; max-width: 1180px; margin: 0 auto; padding: 0 24px; perspective: 1600px; }
.hb__grid .bcard:nth-child(n) { grid-column: auto; margin-top: 0; }
.hb__grid .bcard:nth-child(1) { --rot: -2deg; }
.hb__grid .bcard:nth-child(2) { --rot: 1.6deg; margin-top: 56px; }
.hb__grid .bcard:nth-child(3) { --rot: -1.4deg; }
.hb__grid .bcard__title, .hb__grid .bcard:nth-child(n) .bcard__title { font-size: 24px; }
.hblog .gallery__more { margin-top: 70px; }
@media (max-width: 1023.98px) {
  .hblog { padding: 40px 0 70px; }
  .hb__grid { grid-template-columns: 1fr; gap: 44px; max-width: 520px; }
  .hb__grid .bcard:nth-child(n) { margin-top: 0; }
  .hblog .gallery__more { margin-top: 50px; }
}

/* ===== blog post: readable light "paper" card for the content ===== */
.post__body {
  position: relative; margin-top: 34px; padding: clamp(26px, 4.2vw, 56px) clamp(20px, 4.6vw, 60px);
  background: linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%); color: #1d1535;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(190, 160, 255, .55), 0 0 60px rgba(120, 60, 255, .38), 0 40px 90px -30px rgba(70, 20, 200, .7);
}
.post__body::before { content: ""; position: absolute; inset-inline: 28px; top: 0; height: 5px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, #3d6cff, #8b2cf5, #ff4fae); }
.post__body b, .post__body strong { color: #0f0a26; }
.post__body a { color: #5a2be0; }
.post__body [style*="168, 156, 150"] { color: #7d7088 !important; }
.post__body [style*="243, 121, 52"] { color: #e0620f !important; }
.post__img { box-shadow: 0 10px 34px -10px rgba(60, 30, 140, .45); }
.post__video { box-shadow: 0 10px 34px -10px rgba(60, 30, 140, .45); }
.post__linkcard { border: 1px solid rgba(110, 70, 230, .3); background: linear-gradient(135deg, #f3eeff, #ffeef8); }
.post__linkcard strong { color: #1d1535; } .post__linkcard span { color: #3a2e57; opacity: .85; }
.post__linkcard em { color: #5a2be0; }
.page-legal-body .post .legal__back { margin-top: 36px; }
.post__img { border-radius: 0; box-shadow: none; }
.post__video { max-width: 336px; }


/* round 16 – Coffee / Work / Repeat follow the picture beat: one word per flip */
.aflip__card { transition-duration: .95s; }
.aflip__base { transition-duration: 1s; }
.about__loop span { animation: none !important; opacity: 0; transform: translateY(18px) scale(.95); filter: blur(7px) drop-shadow(0 0 18px rgba(122, 56, 255, .75)); transition: opacity .8s ease, transform 1s cubic-bezier(.22, 1, .36, 1), filter .8s ease; }
.about__loop span.on { opacity: 1; transform: none; filter: blur(.4px) drop-shadow(0 0 18px rgba(122, 56, 255, .75)); }
.about__loop span.out { opacity: 0; transform: translateY(-10px) scale(1.02); filter: blur(6px) drop-shadow(0 0 18px rgba(122, 56, 255, .75)); }

/* menu: icons keep their colour once passed – they only change on hover (or while active) */
@media (min-width: 1024px) { .sidenav a.is-done:not(.is-active):not(.is-cta) .sidenav__dot::after { background: rgba(150, 120, 255, .9); } }
@media (max-width: 1023.98px) { .sidenav a.is-done:not(.is-active):not(.is-cta) .sidenav__dot { box-shadow: 0 0 0 2px rgba(150, 120, 255, .7); } }
@media (min-width: 1024px) { .sidenav a.is-done:not(.is-active):not(.is-cta):not(:hover) .sidenav__dot { background: linear-gradient(145deg, #5a28ff, #a63cff); box-shadow: 0 6px 18px -4px rgba(110, 50, 255, .8); } }

/* home: 100px less air between the posts and "תגידו יאמי" */
@media (min-width: 1024px) { .hblog { padding-bottom: 10px; } }
@media (max-width: 1023.98px) { .hblog { padding-bottom: 20px; } }

/* blog cards: same scroll-driven 3D entrance as the project heroes */
.bcard__frame { transform: perspective(1300px) rotateX(calc(var(--rx, 0deg) + var(--st, 0deg))) rotateY(calc(var(--ry, 0deg) + var(--sy, 0deg))) scale(var(--ss, 1)) translateZ(0); transform-origin: 50% 60%; opacity: var(--so, 1); will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) { .bcard__frame { transform: none; opacity: 1; } }

/* post headings: tight leading so a wrapped heading reads as one paragraph */
.post__body [style*="font-size"] { line-height: 1.2; }

/* big headings inside posts: brand blue-purple gradient */
.post__body span[style*="1.47em"] { background: linear-gradient(100deg, #2f5bff 0%, #6a3df5 55%, #a02cf2 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.post__body span[style*="1.47em"] b { -webkit-text-fill-color: transparent; }
.post__body .post__img { width: 100%; }
.post__body .post__img.post__img--half { width: 50%; margin: 18px 0 18px auto; }
.post__body .post__img.post__img--s60 { width: 60%; margin: 18px 0 18px auto; }
.post__body a.post__headlink { color: inherit; -webkit-text-fill-color: transparent; text-decoration: none; }
.post__body a.post__headlink:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ===== tablet + mobile: no separator lines, art backgrounds run to the screen edges ===== */
@media (max-width: 1023.98px) {
  .sep-wave { display: none !important; }
  /* contact: the tube art + its plate span the whole window (like desktop), aspect kept */
  .contact__tube { left: calc((100% - var(--vw)) / 2); width: var(--vw); height: calc(var(--vw) * 770 / 816); }
  .contact::before { height: calc(var(--vw) * 770 / 816); }
  .contact__tube img, .contact__tube .snake {
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent) !important;
            mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 90%, transparent) !important;
  }
  /* "Let's talk" script: no visible box - the picture melts into the page */
  .talk__script img, .talk__script .snake {
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%) !important;
            mask-image: radial-gradient(closest-side, #000 55%, transparent 100%) !important;
    -webkit-mask-composite: source-over !important; mask-composite: add !important;
  }
}

/* about art: same cards as desktop, no clipping box, loop word scaled to the small art */
@media (max-width: 1023.98px) {
  .about__art { -webkit-mask-image: none !important; mask-image: none !important; }
  .about__loop { font-size: calc(58 * var(--n)); bottom: calc(14 * var(--n)); left: -20%; right: -20%; width: auto; }
}

/* contact art on tablet/mobile = the same (updated) desktop tube art, mirrored so it hugs the left edge */
@media (max-width: 1023.98px) {
  .contact__tube { height: calc(var(--vw) * 700 / 772); }
  .contact__tube img, .contact__tube .snake { transform: scaleX(-1); }
  .contact::before { height: calc(var(--vw) * 700 / 772); background-image: url("../img/maps/tube-plate.webp"); transform: translateX(-50%) scaleX(-1); }
}
@media (min-width: 641px) and (max-width: 1023.98px) { .talk { padding-top: 90px; } }


/* ---------- hero rebuild: stage picture is the background (instantly), laptop + Yummi + swirls are drawn on top ---------- */
.hero::before { z-index: 0 !important; background-image: url("../img/hero/stage.webp") !important; background-size: cover !important; background-position: 50% 100% !important; }
.hero__spot, .hero__floor { display: none !important; }
.js .hero__art, .is-ready .hero__art { opacity: 1; animation: none; }


/* blog cards: the entrance starts before the card scrolls into view, so it never sits low waiting */
.bcard.is-in { transition: opacity .7s var(--ease), transform .9s var(--ease); }

/* hero composition: the laptop group and the stage are two objects - the stage is anchored so its floor line always sits at the same place under the laptop, at any screen size */
.hero {
  --hz: calc(511 * var(--a));                                   /* where the floor line must cross the laptop (px from hero top) */
  --hh: calc(700 * var(--a));
  --bgh: max(calc(var(--vw) * 2 / 3), calc((var(--hh) * .92 - var(--hz)) / .21), calc(var(--hz) / .79));
}
@media (max-width: 1023.98px) {
  .hero { --hz: calc(385.5 * var(--n)); --hh: calc(600 * var(--n)); }
}
.hero::before {
  background-size: calc(var(--bgh) * 1.5) auto !important;
  background-position: 50% calc(var(--hz) - .79 * var(--bgh)) !important;
  background-color: #050110;
}

/* logo (new artwork) +10% */
.nav__logo { width: calc(126.5 * var(--a)); }
@media (min-width: 1024px) { .nav__logo { width: calc(126.5 * var(--a)); } }
@media (max-width: 1023.98px) { .nav__logo { width: calc(188 * var(--n)); } }
.footer__logo { width: calc(225.5 * var(--c)); }
@media (max-width: 1023.98px) { .footer__logo { width: calc(214.5 * var(--q)); } }

/* ================= tablet + mobile polish (round 4) ================= */
@media (max-width: 1023.98px) {
  /* hero: bigger group, buttons on one row */
  .hero { --hz: calc(420 * var(--n)); }
  .hero__script { left: calc(136 * var(--n)); top: calc(123 * var(--n)); width: calc(460 * var(--n)); height: calc(57 * var(--n)); }
  .hero__ctas { flex-direction: row !important; gap: 10px !important; padding: 0 16px !important; justify-content: center; }
  .hero__ctas .btn { flex: 1 1 0; width: auto !important; max-width: 290px; min-width: 0; height: 46px !important; padding-inline: 10px !important; font-size: clamp(13px, 3.7vw, 18px) !important; white-space: nowrap; }
  .hero__ctas .btn--primary .btn__arrow { margin-inline-start: 8px !important; flex: none; }
  .hero__ctas .btn--primary .btn__arrow svg { width: 16px; height: 16px; }

  /* mobile menu: same language as the desktop side menu - thin type, a line with dots */
  .mmenu { align-items: stretch; padding: 100px 36px 40px; gap: 34px; }
  .mmenu__links { position: relative; gap: 26px; padding-inline-start: 40px; }
  .mmenu__links::before { content: ""; position: absolute; right: 8px; top: 8px; bottom: 8px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, #5a28ff, #ff4fae); opacity: .6; }
  .mmenu__links a { position: relative; font-weight: 400; font-size: clamp(20px, 5.8vw, 30px); line-height: 1.3; color: rgba(255, 255, 255, .9); }
  .mmenu__links a::before { content: ""; position: absolute; right: -40px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: radial-gradient(circle, rgba(150, 120, 255, .95) 0 4px, #0d0426 4.5px); box-shadow: 0 0 0 2px rgba(150, 120, 255, .7); }
  .mmenu__links a:hover::before { box-shadow: 0 0 0 2px var(--lime), 0 0 16px rgba(177, 251, 1, .7); }
  .mmenu__links a small { font-size: 11px; font-weight: 900; letter-spacing: .06em; order: 2; opacity: .8; }
  .mmenu .btn { height: 46px; padding-inline: 26px; font-size: 16px; margin-top: 8px; }
}

/* running text: one size for every paragraph (about / process / etc.) */
@media (min-width: 1024px) {
  .about__body, .step__text { font-size: 17px !important; line-height: 1.5 !important; font-weight: 300; }
}
@media (max-width: 1023.98px) {
  .about__body, .step__text { font-size: calc(24 * var(--n)) !important; line-height: calc(30 * var(--n)) !important; font-weight: 400 !important; }
}

/* mobile: smaller buttons everywhere */
@media (max-width: 640px) {
  .btn, .btn--primary, .btn--ghost, .about__btn, .process__btn, .form .btn.form__send, .talk__wa, .gallery__more .btn, .legal__back { height: 40px !important; font-size: 14px !important; padding-inline: 22px !important; }
  .talk__wa, .gallery__more .btn, .form .btn.form__send, .about__btn, .process__btn { width: min(230px, 66vw) !important; }
  .hero__ctas .btn { height: 38px !important; font-size: 13px !important; padding-inline: 8px !important; width: auto !important; }
  .mmenu .btn { width: auto !important; align-self: flex-start; height: 40px !important; font-size: 14px !important; padding-inline: 22px !important; }
  .btn__arrow, .btn__circle { transform: scale(.85); }
}
.mmenu .btn { gap: 14px !important; }

/* =====================================================================
   Round 7 – tablet + mobile
   ===================================================================== */
@media (max-width: 1023.98px) {
  /* ---- hero: full screen, content centred ---- */
  .hero { height: 100svh; min-height: 560px; --hh: 100svh; --hz: calc(420 * var(--n) + var(--hero-off, 0px)); }
  .hero::before { height: 100% !important; }
  .hero > .hero__art, .hero > .hero__title, .hero > .hero__ctas { translate: 0 var(--hero-off, 0px); }
  .hero > .hero__script { translate: 0 calc(var(--hero-off, 0px) - 6px); }
  .hero__ctas .btn { height: 36px !important; font-size: 13px !important; padding-inline: 6px !important; }

  /* ---- header: logo only, right-aligned; the menu is the icon bar below ---- */
  .nav { background: linear-gradient(180deg, rgba(5, 1, 15, .8), transparent) !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; height: 64px; }
  .nav__pill, .nav.is-scrolled .nav__pill { background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .nav__burger, .mmenu { display: none !important; }
  .nav__logo { right: 22px !important; top: 14px !important; width: 104px !important; }

  /* ---- icon bar (same icons as the desktop side menu) ---- */
  .sidenav { display: block; position: fixed; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 95; padding: 7px 10px; border-radius: 99px; background: rgba(14, 4, 40, .74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgba(150, 120, 255, .38), 0 12px 32px -8px rgba(70, 30, 220, .75); }
  .sidenav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: row; gap: 7px; }
  .sidenav li { padding: 0; }
  .sidenav a { display: block; }
  .sidenav__line, .sidenav__num, .sidenav__label { display: none !important; }
  .sidenav__dot { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; background: linear-gradient(145deg, #5a28ff, #a63cff); box-shadow: 0 6px 16px -4px rgba(110, 50, 255, .8); transition: transform .35s var(--ease), background .3s; animation: blobMorph 7s ease-in-out infinite; }
  .sidenav__dot::after { display: none; }
  .sidenav li:nth-child(2n) .sidenav__dot { animation-delay: -2s; }
  .sidenav li:nth-child(3n) .sidenav__dot { animation-delay: -4s; }
  .sidenav__dot svg { width: 21px; height: 21px; overflow: visible; }
  .sidenav__dot svg .ink { stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 0; }
  .sidenav__dot svg .pop { stroke: #ffd0ea; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; fill: rgba(255, 79, 174, .55); }
  .sidenav a.is-cta .sidenav__dot { background: linear-gradient(145deg, #ff4fae, #7a38ff); }
  .sidenav a.is-active .sidenav__dot { transform: scale(1.12); box-shadow: 0 0 0 3px rgba(255, 255, 255, .22), 0 0 22px rgba(150, 90, 255, 1); }
  .wa-float { bottom: 76px !important; }
  body { padding-bottom: 70px; }
  @keyframes blobMorph { 0%, 100% { border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; } 50% { border-radius: 44% 56% 42% 58% / 56% 44% 58% 42%; } }
}
@media (max-width: 640px) {
  .btn, .btn--primary, .btn--ghost, .about__btn, .process__btn, .form .btn.form__send, .talk__wa, .gallery__more .btn, .legal__back { height: 36px !important; font-size: 13px !important; padding-inline: 14px !important; }
  .talk__wa, .gallery__more .btn, .form .btn.form__send, .about__btn, .process__btn { width: min(210px, 62vw) !important; }
  .hero__ctas .btn { height: 34px !important; font-size: 12.5px !important; padding-inline: 6px !important; width: auto !important; }
  .btn__arrow, .btn__circle { transform: scale(.8); }
}

@media (max-width: 1023.98px) {
  /* stage: sized by width, floor under the laptop, melts into the page below it */
  .hero { --bgh: max(calc(var(--vw) * 1.15), calc((var(--hz) - .22 * var(--hh)) / .79)); }
  .hero::before { height: min(100%, calc(var(--hz) + .21 * var(--bgh) + 10px)) !important; --by: calc(var(--hz) - .79 * var(--bgh)); -webkit-mask-image: linear-gradient(180deg, transparent var(--by), #000 calc(var(--by) + .2 * var(--bgh)), #000 72%, transparent 100%) !important; mask-image: linear-gradient(180deg, transparent var(--by), #000 calc(var(--by) + .2 * var(--bgh)), #000 72%, transparent 100%) !important; }

  /* ---- about ---- */
  .about__art .aflip { translate: calc(34 * var(--n)) 0; }
  .about__sub { font-size: calc(31 * var(--n)) !important; line-height: 1.2 !important; }
  .about__body { top: calc(533 * var(--n) + 24px) !important; }
  .about__btn { translate: -50% 38px !important; }

  /* ---- sub-titles (hand-lettered): all the size of "Slices of life" ---- */
  .about__script, .process__script, .work__script { left: 50% !important; right: auto !important; translate: -50% 0 !important; width: min(440px, 78vw) !important; height: auto !important; }
}

@media (max-width: 1023.98px) {
  .about__script { translate: -50% -46px !important; }
  .process__script { translate: -50% -50px !important; }
  .work__script { translate: -50% -44px !important; }

  /* ---- process: flow layout, right aligned, bigger dots with a soft ring, even gaps in the connectors ---- */
  .process { height: auto !important; padding-bottom: calc(60 * var(--n)); }
  .steps { position: relative !important; top: auto !important; left: auto !important; right: auto !important; width: calc(400 * var(--n)) !important; margin: 0 calc(109.5 * var(--n)) 0 auto !important; }
  .process { padding-top: calc(216 * var(--n) + 34px); }
  .process__script { top: calc(47 * var(--n) + 34px) !important; }
  .process__title { top: calc(80 * var(--n) + 34px) !important; }
  .step { min-height: 0 !important; padding-bottom: calc(34 * var(--n)) !important; width: 100% !important; }
  .step:last-child { padding-bottom: 0 !important; }
  .step__dot { right: calc(-46.5 * var(--n) + 1px) !important; top: calc(19 * var(--n)) !important; width: calc(26 * var(--n)) !important; height: calc(26 * var(--n)) !important; box-shadow: 0 0 0 calc(9 * var(--n)) rgba(138, 70, 253, .26), 0 0 calc(14 * var(--n)) rgba(123, 43, 255, .9) !important; }
  .step::after { right: calc(-33.5 * var(--n)) !important; top: calc(62 * var(--n)) !important; height: calc(100% - 60 * var(--n)) !important; width: 2px !important; }
  .step:last-child::after { display: none !important; }
  .process__btn { position: relative !important; left: auto !important; top: auto !important; display: flex !important; margin: calc(40 * var(--n)) auto 0 !important; }

  /* ---- work ---- */
  .work__head { height: calc(98 * var(--p) + 22px) !important; }
}

@media (max-width: 1023.98px) {
  /* ---- contact: title with air above + roomier lines, closer to the form ---- */
  .contact { height: calc(975 * var(--q) + 52px) !important; }
  .contact__text { top: calc(95 * var(--q) + 46px) !important; }
  .contact__title { line-height: calc(88 * var(--q)) !important; }
  .form { top: calc(395 * var(--q) + 46px - 20px) !important; }
  .contact__tube { top: calc(230 * var(--q) + 52px) !important; }
  .form .btn.form__send { background: linear-gradient(90deg, #159a49, #25d366) !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28) inset, 0 0 22px rgba(37, 211, 102, .55) !important; color: #fff !important; }
  .form .btn.form__send:hover { background: linear-gradient(90deg, #1bb558, #3ee07f) !important; }
  .form .btn.form__send .btn__arrow, .form .btn.form__send .btn__circle { background: rgba(255, 255, 255, .22) !important; }

  /* ---- "Let's talk" neon sits behind the "תגידו יאמי" title ---- */
  .talk__script { top: calc(-921 * var(--q) - 58px) !important; left: calc(113 * var(--q)) !important; z-index: 0; }
  .talk { height: auto !important; padding-bottom: 10px; }

  /* ---- footer: flowing, centred logo, readable credits ---- */
  .footer { height: auto !important; }
  .footer__top { position: relative !important; top: auto !important; height: calc(300 * var(--q)) !important; }
  .footer__logo { left: 50% !important; right: auto !important; transform: translateX(-50%); width: 130px !important; }
  .footer__bottom { position: relative !important; top: auto !important; height: auto !important; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 16px 24px; font-size: 13.5px !important; }
  .footer__bottom::before { left: 24px !important; right: 24px !important; }
  .footer__bottom > *, .footer__legalrow > * { position: static !important; top: auto !important; left: auto !important; right: auto !important; }
  .footer__legalrow { order: 1; display: flex; align-items: center; justify-content: center; gap: 14px; }
  .footer__legal { font-size: 13.5px !important; }
  .footer__bsep { display: block !important; width: 1.5px; height: 15px; }
  .footer__made { order: 2; font-size: 13px !important; gap: 8px; }
  .footer__copy { order: 3; font-size: 13.5px !important; }
  .footer__made .cup { width: 18px; height: 18px; }
}
@media (max-width: 1023.98px) {
  .contact__text { z-index: 3 !important; }
  .talk__script { top: calc(-921 * var(--q) - 20px) !important; }
  .footer__contact { top: calc(236 * var(--q) + 16px) !important; }
  .footer__made { flex-wrap: wrap; justify-content: center; max-width: 340px; row-gap: 4px; text-align: center; }
}
@media (max-width: 1023.98px) {
  .footer__top { height: 222px !important; }
  .footer__contact { top: 92px !important; }
  .footer__icons { gap: 44px !important; }
}

/* ================= round 8 (tablet + mobile) ================= */
.step__dot svg { display: none; }
.footer__logo picture, .nav__logo picture { display: block; }
@media (max-width: 1023.98px) {
  /* menu: no frame, sits at the top-left in line with the logo */
  .sidenav { top: 17px; bottom: auto !important; left: 14px; transform: none; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
  .sidenav ul { gap: 5px; }
  .sidenav__dot { width: 31px; height: 31px; }
  .sidenav__dot svg { width: 17px; height: 17px; }
  body { padding-bottom: 0 !important; }
  .wa-float { bottom: 14px !important; }
  .nav__logo { width: 96px !important; top: 14px !important; }

  /* hero buttons: compact pair, centred */
  .hero__ctas { gap: 10px !important; padding: 0 !important; }
  .hero__ctas .btn { flex: 0 0 auto !important; width: auto !important; max-width: none !important; padding-inline: 16px !important; }
  .hero__ctas .btn--primary .btn__arrow { margin-inline-start: 6px !important; }

  /* about -> process: two separate areas */
  .process { margin-top: 50px; padding-bottom: calc(60 * var(--n) + 44px) !important; }

  /* process: centred, a numbered icon above each title, no connectors */
  .steps { width: min(86%, 520px) !important; margin: 0 auto !important; align-items: center; gap: 34px; }
  .step { display: flex !important; flex-direction: column; align-items: center; text-align: center !important; padding-bottom: 0 !important; width: 100% !important; }
  .step::after { display: none !important; }
  .step__dot { position: static !important; display: grid !important; place-items: center; width: 46px !important; height: 46px !important; margin: 0 0 10px !important; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; background: linear-gradient(145deg, #5a28ff, #a63cff) !important; box-shadow: 0 6px 18px -4px rgba(110, 50, 255, .8) !important; animation: blobMorph 7s ease-in-out infinite !important; }
  .step:nth-child(3) .step__dot { animation-delay: -2s !important; border-radius: 45% 55% 42% 58% / 55% 45% 56% 44%; }
  .step:nth-child(5) .step__dot { animation-delay: -4s !important; }
  .step__dot svg { display: block; width: 26px; height: 26px; overflow: visible; }
  .step__dot svg .ink { stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
  .step__title { padding-top: 0 !important; text-align: center; }
  .step__text { text-align: center !important; }
}
@media (max-width: 1023.98px) {
  .hero__ctas .btn { gap: 8px !important; padding-inline: 20px !important; min-width: 148px; justify-content: center; }
  .hero__ctas .btn .btn__label { flex: 0 0 auto; white-space: nowrap; }
  .hero__ctas .btn .btn__arrow { flex: 0 0 auto; position: static !important; margin: 0 !important; }
}
@media (max-width: 1023.98px) {
  .hero__ctas .btn .btn__arrow { display: inline-flex !important; align-items: center; width: 16px !important; height: 16px !important; translate: none !important; transform: none !important; inset: auto !important; }
  .hero__ctas .btn .btn__arrow svg { width: 16px; height: 16px; }
}

/* ================= round 9 (tablet + mobile) ================= */
@media (max-width: 1023.98px) {
  /* work: full screen, air between title / deck / button */
  .work--home { min-height: 100svh; display: flex; align-items: center; }
  .work--home .work__pin { width: 100%; }
  .work--home .deck { margin-top: 96px !important; }
  .work--home .gallery__more { margin-top: 52px !important; }

  /* let's talk to the left, title aligned right */
  .talk__script { left: calc(113 * var(--q) - 112px) !important; }
  .contact__title { text-align: right !important; padding-inline-end: 30px; }
  .contact__title .line { display: block; }

  /* nicer form */
  .contact { height: calc(975 * var(--q) + 84px) !important; }
  .form { gap: 14px !important; }
  .field { height: 56px !important; border-radius: 18px !important; padding-inline: 14px 18px !important; gap: 12px !important;
    background: linear-gradient(160deg, rgba(60, 24, 150, .38), rgba(14, 4, 48, .62)) !important;
    box-shadow: 0 0 0 1px rgba(160, 110, 255, .55) inset, 0 8px 22px -10px rgba(110, 50, 255, .7) !important;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .field:focus-within { box-shadow: 0 0 0 1.5px #b08bff inset, 0 0 24px rgba(130, 70, 255, .65) !important; }
  .field--msg { height: 120px !important; padding-top: 12px !important; }
  .field__ico { width: 34px !important; height: 34px !important; padding: 8px; border-radius: 50%; background: linear-gradient(145deg, #5a28ff, #a63cff); box-shadow: 0 4px 12px -3px rgba(110, 50, 255, .8); }
  .field__ico svg { stroke-width: 1.8; }
  .field input, .field textarea { font-size: 16px !important; }
  .field textarea { height: 94px !important; }
  .field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .8); }
}

/* send button: brand lime, flat arrow */
@media (max-width: 1023.98px) {
  .form .btn.form__send { background: linear-gradient(90deg, #9be600, #b1fb01) !important; color: #120536 !important; box-shadow: 0 0 22px rgba(177, 251, 1, .45) !important; }
  .form .btn.form__send:hover { background: linear-gradient(90deg, #a9f215, #c4ff3a) !important; }
  .form .btn.form__send .btn__arrow, .form .btn.form__send .btn__circle { background: none !important; box-shadow: none !important; border-radius: 0 !important; color: #120536 !important; }
  .form .btn.form__send .btn__arrow svg { stroke: #120536; }
}

/* one size + weight for every button label */
@media (max-width: 1023.98px) {
  .btn, .btn .btn__label, .btn--primary, .btn--ghost, .about__btn, .process__btn, .form .btn.form__send, .talk__wa, .gallery__more .btn, .hero__ctas .btn, .legal__back { font-size: 14px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
}
@media (max-width: 1023.98px) {
  .contact__text { box-sizing: border-box; padding-right: 26px !important; padding-left: 0 !important; }
  .contact__title { padding-inline: 0 !important; }
}
@media (max-width: 1023.98px) {
  .nav, .nav.is-scrolled, .nav::before, .nav::after { background: none !important; }
  .sidenav, .sidenav::before, .sidenav::after { background: none !important; }
}
@media (max-width: 1023.98px) {
  .sidenav ul { gap: 9px !important; }
  .sidenav__dot { width: 30px !important; height: 30px !important; }
  .sidenav a.is-active .sidenav__dot { transform: scale(1.14) rotate(-4deg); }
}
@media (max-width: 380px) { .sidenav { left: 10px !important; } .sidenav ul { gap: 6px !important; } .sidenav__dot { width: 28px !important; height: 28px !important; } .nav__logo { width: 88px !important; right: 16px !important; } }
@media (max-width: 1023.98px) {
  .hero__ctas { justify-content: center !important; width: 100% !important; }
  .hero__ctas .btn { min-width: 0 !important; padding-inline: 16px !important; }
}

/* one heading size for every section title (mobile + tablet) */
@media (max-width: 1023.98px) {
  .about__title, .process__title, .work__title, .hblog__title, .contact__title, .talk__hint { font-size: 36px !important; line-height: 1.12 !important; font-weight: 900 !important; }
  .contact__title { line-height: 1.2 !important; }
  .process__title .line, .contact__title .line, .talk__hint .line { font-size: inherit !important; line-height: inherit !important; }
}
@media (min-width: 641px) and (max-width: 1023.98px) {
  .about__title, .process__title, .work__title, .hblog__title, .contact__title, .talk__hint { font-size: 48px !important; }
}
@media (max-width: 1023.98px) { .process { padding-top: calc(216 * var(--n) + 70px) !important; } }
@media (max-width: 1023.98px) { .nav.is-hidden { transform: translateX(-50%) !important; } }
@media (max-width: 1023.98px) { .process { margin-top: 177px !important; } }
@media (max-width: 1023.98px) {
  .step__dot { width: 36px !important; height: 36px !important; margin-bottom: 8px !important; }
  .step__dot svg { width: 20px !important; height: 20px !important; }
}

/* hero buttons: stacked, clear primary / secondary */
@media (max-width: 1023.98px) {
  .hero__ctas { flex-direction: column !important; align-items: center !important; gap: 12px !important; }
  .hero__ctas .btn { width: 236px !important; height: 44px !important; padding-inline: 20px !important; justify-content: center !important; }
  .hero__ctas .btn--primary { box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 8px 26px -6px rgba(110, 50, 255, .95) !important; }
  .hero__ctas .btn--ghost { height: 38px !important; width: 236px !important; background: rgba(255, 255, 255, .07) !important; border: 0 !important; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22) inset !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: rgba(255, 255, 255, .88) !important; font-weight: 400 !important; }
  .hero__ctas .btn--ghost .btn__label { font-weight: 400 !important; }
}

/* ================= TYPE + BUTTON SYSTEM (tablet + mobile) =================
   H2 section title 36/48 · sub-title 20/24 · body 16/18 · meta 14 · button 14/700, 44/48 tall, 236/260 wide */
@media (max-width: 1023.98px) {
  :root { --t-h2: 36px; --t-sub: 20px; --t-body: 16px; --t-meta: 14px; --b-h: 44px; --b-w: 236px; --b-fs: 14px; }
  .hero__title, .about__sub, .step__title, .bcard__title, .about__loop { font-size: var(--t-sub) !important; line-height: 1.3 !important; font-weight: 900 !important; }
  .about__loop { line-height: 1.15 !important; }
  .about__body, .step__text, .bcard__excerpt, .contact__text p { font-size: var(--t-body) !important; line-height: 1.55 !important; font-weight: 400 !important; }
  .bcard__meta { font-size: var(--t-meta) !important; font-weight: 700 !important; }
  .footer__legal, .footer__copy, .footer__made, .footer__made *, .footer__bottom { font-size: 13px !important; }

  /* every button is the same size; ghost differs by style only */
  .btn, .btn--primary, .btn--ghost, .about__btn, .process__btn, .form .btn.form__send, .talk__wa, .gallery__more .btn, .hero__ctas .btn, .legal__back {
    height: var(--b-h) !important; width: var(--b-w) !important; min-width: 0 !important; max-width: none !important;
    padding-inline: 20px !important; gap: 10px !important; justify-content: center !important;
    font-size: var(--b-fs) !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: 0 !important; border-radius: 99px !important; }
  .btn .btn__label, .hero__ctas .btn--ghost .btn__label { font-size: var(--b-fs) !important; font-weight: 700 !important; }
  .hero__ctas .btn--ghost { font-weight: 700 !important; height: var(--b-h) !important; }
  .btn .btn__arrow { display: inline-flex !important; align-items: center; width: 16px !important; height: 16px !important; margin: 0 !important; }
  .btn .btn__arrow svg { width: 16px !important; height: 16px !important; }
}
@media (min-width: 641px) and (max-width: 1023.98px) {
  :root { --t-h2: 48px; --t-sub: 24px; --t-body: 18px; --t-meta: 15px; --b-h: 48px; --b-w: 260px; --b-fs: 15px; }
}
@media (max-width: 1023.98px) {
  .about__sub { height: auto !important; }
  .about__body { top: calc(495 * var(--n) + 64px) !important; }
  .about__btn { top: calc(495 * var(--n) + 168px) !important; translate: -50% 0 !important; }
  .about { margin-bottom: 38px; }
}
@media (max-width: 1023.98px) {
  .bcard__more { height: var(--b-h) !important; width: var(--b-w) !important; justify-content: center !important; align-self: center !important; padding: 0 20px !important; font-size: var(--b-fs) !important; font-weight: 700 !important; line-height: 1 !important; gap: 10px !important; }
  .bcard__more svg { width: 16px !important; height: 16px !important; }
}
@media (max-width: 1023.98px) {
  .bcard__more { box-sizing: border-box !important; min-height: 0 !important; max-height: var(--b-h) !important; display: inline-flex !important; }
  .gallery__more .btn { background: linear-gradient(90deg, #4a1cf2, #6234ff) !important; box-shadow: 0 0 0 1px rgba(190, 170, 255, .5) inset, 0 8px 26px -6px rgba(110, 50, 255, .95) !important; }
  .gallery__more .btn::before { display: none !important; }
}

/* ===== round 10: arrow right after the label everywhere ===== */
.btn:not(.btn--big), .bcard__more { justify-content: center !important; gap: 10px !important; }
.btn:not(.btn--big) .btn__label { flex: 0 0 auto !important; text-align: start; }
.btn:not(.btn--big) .btn__arrow { flex: 0 0 auto; margin: 0 !important; }

@media (max-width: 1023.98px) {
  /* form: flush with page content edges, more compact */
  .form { left: 24px !important; right: 24px !important; width: auto !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
  .field--name, .field--phone { grid-column: auto !important; }
  .field--name { order: 1 !important; } .field--phone { order: 2 !important; }
  .field--mail, .field--msg { grid-column: 1 / -1 !important; }
  .field--mail { order: 3 !important; } .field--msg { order: 4 !important; }
  .form .btn.form__send { order: 5; grid-column: 1 / -1 !important; justify-self: center; margin-top: 4px; }
  .form__msg { order: 6; grid-column: 1 / -1; }
  .field { height: 46px !important; padding-inline: 8px 12px !important; gap: 8px !important; border-radius: 16px !important; }
  .field--msg { height: 96px !important; padding-top: 8px !important; }
  .field__ico { width: 28px !important; height: 28px !important; padding: 6px !important; }
  .field input, .field textarea { font-size: 15px !important; }
  .field textarea { height: 76px !important; }
  .contact { height: calc(975 * var(--q) + 20px) !important; }

  /* send button gets the same frame + shine as the other buttons */
  .form .btn.form__send { box-shadow: 0 0 0 1px rgba(255, 255, 255, .45) inset, 0 8px 26px -6px rgba(177, 251, 1, .75) !important; }
  .form .btn.form__send:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .8) inset, 0 12px 34px -6px rgba(177, 251, 1, .95), 0 0 26px rgba(177, 251, 1, .5) !important; }
}
.btn:not(.btn--big) .btn__arrow { position: relative !important; inset: auto !important; translate: none !important; scale: none !important; transform: none !important; width: auto !important; height: auto !important; display: inline-grid !important; }
.btn:not(.btn--big):hover .btn__arrow { transform: translateX(-5px) !important; }
.btn:not(.btn--big) .btn__arrow svg { width: 18px !important; height: 18px !important; }
@media (max-width: 1023.98px) { .btn:not(.btn--big) .btn__arrow svg { width: 16px !important; height: 16px !important; } }

/* desktop: more air between areas */
@media (min-width: 1024px) {
  .process, .work, .hblog, .contact { margin-top: 100px; }
}

/* the side menu lives at the right edge: keep page content clear of it on smaller desktops */
.br-d { display: none; }
@media (min-width: 1024px) {
  .br-d { display: inline; }
  .blog__grid { padding-inline: clamp(24px, 7vw, 110px); }
  .legal-page.post, .page-work { padding-inline: clamp(24px, 7vw, 110px); box-sizing: border-box; }
}

/* ================= round 11: MOBILE / TABLET ONLY ================= */
.deck__nav { display: none; }
@media (min-width: 1024px) { .bcard--m4 { display: none !important; } }
@media (max-width: 1023.98px) {
  /* menu clickable: the header must not sit on top of it; blurred band behind it */
  .nav { pointer-events: none !important; }
  .nav__logo, .nav__logo * { pointer-events: auto; }
  .sidenav { z-index: 130 !important; }
  .nav::before { content: ""; display: block !important; position: absolute; left: 0; right: 0; top: 0; height: 74px; z-index: -1; pointer-events: none;
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); background: rgba(8, 2, 28, .12) !important;
    -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }

  /* Coffee. Work. Repeat. : bigger and 20px higher over the picture */
  .about__loop { font-size: 30px !important; bottom: calc(14 * var(--n) + 20px) !important; }

  /* buttons ~30% smaller */
  :root { --b-h: 31px; --b-w: 166px; --b-fs: 12px; }
  .btn, .btn--primary, .btn--ghost, .about__btn, .process__btn, .form .btn.form__send, .talk__wa, .gallery__more .btn, .hero__ctas .btn, .legal__back { padding-inline: 12px !important; gap: 7px !important; }
  .btn .btn__arrow svg, .btn:not(.btn--big) .btn__arrow svg { width: 13px !important; height: 13px !important; }
  .hero__ctas { gap: 9px !important; }
  .form .btn.form__send { width: 100% !important; }
  .bcard__more { --b-h: 26px; height: 26px !important; width: auto !important; min-width: 92px; padding: 0 12px !important; font-size: 11.5px !important; gap: 6px !important; align-self: flex-start !important; }
  .bcard__more svg { width: 12px !important; height: 12px !important; }

  /* work deck: no scroll freeze, arrows */
  .deck__nav { display: flex; justify-content: center; gap: 16px; margin-top: 20px; position: relative; z-index: 5; }
  .deck__arrow { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%; display: grid; place-items: center; cursor: pointer; color: #fff;
    background: linear-gradient(145deg, #5a28ff, #a63cff); box-shadow: 0 6px 16px -4px rgba(110, 50, 255, .8); -webkit-tap-highlight-color: transparent; }
  .deck__arrow svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .deck__arrow:active { transform: scale(.92); }
  .work--home .gallery__more { margin-top: 36px !important; }

  /* home blog: 2 columns, 4 cards */
  .hb__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 34px 14px !important; max-width: none !important; padding: 0 16px !important; }
  .hb__grid .bcard { gap: 12px; }
  .hb__grid .bcard__title { font-size: 15px !important; line-height: 1.3 !important; }
  .hb__grid .bcard__meta { font-size: 11.5px !important; }
  .hb__grid .bcard__info { gap: 8px; }
  .hb__grid .bcard__desc { display: none; }
}
@media (max-width: 1023.98px) { .talk { margin-bottom: 93px; } }

/* ---- blog page / article / work page: MOBILE + TABLET ONLY ---- */
@media (max-width: 1023.98px) {
  /* blog page: clearer separation between cards, read button on the right of its own card */
  .blog__grid { row-gap: 112px !important; }
  .blog__grid .bcard { gap: 20px; }
  .blog__grid .bcard__info { gap: 12px; }

  /* article: the white sheet spans the full screen width, tighter line spacing */
  .legal-page.post .post__body { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); border-radius: 0 !important; box-shadow: none !important; padding-inline: 22px !important; box-sizing: border-box; }
  .legal-page.post .post__body::before { inset-inline: 0 !important; border-radius: 0 !important; }
  .post__body { line-height: 1.55 !important; }
  .post__body p, .post__body li, .post__body div, .post__body span { line-height: 1.55; }
  .post__body h2, .post__body h3 { line-height: 1.25 !important; margin-top: 1.1em; margin-bottom: .35em; }
  .post__body [style*="font-size"] { line-height: 1.2 !important; }

  /* work page */
  .page-work { padding-top: 110px !important; }
  .page-work .work { padding-top: calc(60 * var(--n)) !important; }
  .page-work .work__title, .page-work .work > h2 { margin-bottom: 0; }
  .page-work .projects { margin: 64px 0 0 !important; width: 100% !important; padding-inline: 16px; box-sizing: border-box; }
  .page-work .project { padding-bottom: 96px !important; align-items: center; }
  .page-work .project__num { margin-bottom: 4px; }
  .page-work .project__num b { font-size: 18px; }
  .page-work .project__name { font-size: var(--t-sub) !important; line-height: 1.25 !important; margin: 10px 0 0 !important; text-align: center !important; }
  .page-work .project__tag { font-size: var(--t-body) !important; line-height: 1.55 !important; margin: 14px 0 0 !important; text-align: center !important; white-space: normal !important; max-width: 340px; }
  .page-work .project__media { width: 100% !important; max-width: 640px; margin-top: 26px !important; }
  .page-work .project__info .btn, .page-work .project > .btn { order: 5; margin-top: 28px !important; }
}
@media (max-width: 1023.98px) { .page-work .work { padding-inline: 0 !important; } .page-work .projects { padding-inline: 14px !important; } }

/* desktop menu: only the icon column triggers the labels, never the page content next to it */
@media (min-width: 1024px) {
  .sidenav { padding: 14px 0 !important; }
  .sidenav a::after { width: 64px !important; right: -14px !important; }
}

/* ================= round 12 ================= */
.legal__back--in { display: none !important; }
@media (max-width: 1023.98px) {
  /* video: no pale pink pulse under the play button */
  .talk__play::before { display: none !important; }

  /* work page: pink bar under project names, even rhythm (24px) between all elements */
  .page-work .project__name::after { content: ""; display: block; width: 54px; height: 4px; margin: 10px auto 0; border-radius: 4px; background: linear-gradient(90deg, #ff5a4f, #ff4fae); }
  .page-work .project__num { margin-bottom: 0 !important; }
  .page-work .project__name { margin-top: 24px !important; }
  .page-work .project__tag { margin-top: 24px !important; }
  .page-work .project__media { margin-top: 24px !important; }
  .page-work .project__info .btn, .page-work .project > .btn { margin-top: 24px !important; }

  /* Let's talk sits level with "תגידו יאמי" on the inner pages */
  body:not(:has(.hero)) .talk__script { top: calc(-921 * var(--q) + 24px) !important; }

  /* article: rounded corners + gradient edge at top and bottom, back button inside the sheet */
  .legal-page.post .post__body { border-radius: 28px !important; padding-bottom: 34px !important; box-shadow: 0 0 0 1px rgba(190, 160, 255, .55), 0 0 40px rgba(120, 60, 255, .35) !important; }
  .legal-page.post .post__body::before { inset-inline: 28px !important; border-radius: 0 0 6px 6px !important; }
  .legal-page.post .post__body::after { content: ""; position: absolute; inset-inline: 28px; bottom: 0; height: 5px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, #3d6cff, #8b2cf5, #ff4fae); }
  .post__body .legal__back--in { display: inline-flex !important; margin: 34px auto 0 !important; }
  .post__body { text-align: start; }
  .post__body .legal__back--in { position: relative; left: 50%; translate: -50% 0; }
  .legal-page.post > .legal__back, .post > .legal__back:not(.legal__back--in) { display: none !important; }
}
@media (max-width: 1023.98px) {
  .legal__back:not(.legal__back--in) { display: none !important; }
  .post__body .legal__back--in { display: flex !important; position: static !important; translate: none !important; margin: 34px auto 0 !important; left: auto !important; }
}
.post__body a.legal__back--in, .post__body a.legal__back--in .btn__label { color: #fff !important; text-decoration: none !important; }
.post__body a.legal__back--in svg { stroke: #fff !important; }
