Suppose that $\pi:X\to S$ is a smooth projective morphism of relative dimension 1. If $S$ is the spectrum of an algebraically closed field, then it is known that $X$ embeds into $\mathbb{P}^3_S$.
Question: Can a similar statement be made for more general $S$?
I am primarily interested in Dedekind schemes $S$, but would also like to understand the general situation.
Let us assume that $X$ is geometrically integral, to try to account for the algebraically-closedness hypothesis. ([Edit]: In light of Jef's comment, I will strengthen this to "There is a section $S\to X$".) Let us also assume any standard finiteness condition that could be helpful: Noetherian, quasi-compact, etc.
If the statement is not true in this generality, what if we add some cohomological niceness properties: $X/S$ is cohomologically flat, or maybe even $S$ affine.
Question: If we assume the fibers of $\pi$ are curves of genus $0$, can we embed $X$ into $\mathbb{P}^2_S$?
I think this is true over Dedekind schemes, using the ample anti-canonical sheaf $\omega_{X/S}^\vee$, since $\pi_*\omega_{X/S}^\vee$ is locally free of rank 3, but I am not certain.
I would be completely content with an answer for Dedekind schemes $S$, but I would appreciate any help.