Full-bleed half-hero image beside a centered container: overlay two grid items, no absolute positioning
To let an illustration cover the whole right half of a hero (to the top, bottom and window edge) while the text stays inside a centered max-width container: make the hero a 2-column grid (1fr 1fr), put the container at grid-column 1 / -1, grid-row 1, and the image at grid-column 2, grid-row 1. The container needs width: 100% next to max-width and margin: 0 auto, because a grid item with auto margins shrinks to its content instead of stretching. Give the container its own 1fr 1fr grid so the text ends on the hero's middle line. For a soft inner edge put mask-image: linear-gradient(to right, transparent, #000 22%) (plus the -webkit- line) on the drawing, not on the box, or an overlaid legend fades too. With preserveAspectRatio slice on the SVG, also switch to a stacked layout by (max-aspect-ratio: 6/5), not only by max-width: half of an upright tablet window is too narrow and crops the centre of the drawing.