Let $S$ be a Dedekind scheme with function field $K=K(S)$ and $C$ a projective regular curve over $K$, so we can fix certain closed embedding $e:C \subset \mathbb{P}^n_K$.
Let compose this embedding with canonical map $f: \mathbb{P}^n_K \to \mathbb{P}^n_S$ and consider the Zariski closure $Z_C:=\overline{f\circ e(C)}$ in $\mathbb{P}^n_S$ of the image of $C$.
Q ( the "initial" one): Is it true that $Z$ has dimension $2$ and if yes, how to see it?
(#Edit: Think so, if the sketched argument in "Idea" below works)
Can the statement be generalized (#1) to higher dimensions in following way: Say $X \subset \mathbb{P}^n_K$ is an irreducible subscheme of demension $d$ and we take as before the closure $Z_X:=\overline{f\circ e(X)}$ of the image of $X$ in $\mathbb{P}^n_S$. What can we say about it's dimension?
So the point becomes if that's a specific curve-to-surface feature, or does it hold in higher dimensions as well?
an "idea"/ plagiarism: If I'm not missing something the same argument as Daniel Loughran gave here should go through in this problem as well, should't it?
Namely, the induced projection map $p:Z_X \to S$ is dominant, so flat, since we are over Dedekind domain $S$ and by assumption the generic fiber has dimension $d$ of $X$, so by this flatness argument $ Z_X$ should have dimension $d+1$ if we add up fiber and base dimensions (which works for dominant flat maps since flatness assures that the fiber dimension stays constant). Is the exposed argumentation correct so far?
If the sketched argument in the Idea above works, then this leads me to the "natural" attempt to generalize this this question once more by now dropping the flatness feature, which as $S$ Dedekind, was in above formulations "donated for free" to us :
Generalisation #2: What can we say about the dimension of the closure $Z_X \subset \mathbb{P}^n_S$ if $S$ would be instead an arbitrary irreducible locally Noetherian scheme with field of fractions $K$? (Note that induced map $Z_X \to S$ would be still dominant, so surjective due to properness.