/*
 * Squarespace's sizing curves, as root custom properties that theme.json presets point at.
 * Loaded unscoped on the front end and in the editor iframe (enqueue_block_assets), so the
 * presets resolve in both. Measured on the live site, 2026-10-07:
 *
 * - Headings: 1rem + (size - 1) * 1.2 * U, where U is min(1vh, 9px) below 768px and
 *   min(1vw, 14px) from 768px up. Sizes: H1 4, H2 2.8, H3 2.2, H4 1.6. So phone headings
 *   follow the viewport height, and desktop headings drop back down at 768.
 * - About title (Squarespace scaled text): 8.54vw on phones, 6.708vw - .42px on desktop,
 *   capped at 101.6px.
 * - Site gutter: 6vw on phones, 4vw on desktop (content is capped at wideSize 1400px).
 */
:root {
	--c4-type-u: min(1vh, 9px);
	--c4-fs-h1: calc(1rem + 3.6 * var(--c4-type-u));
	--c4-fs-h2: calc(1rem + 2.16 * var(--c4-type-u));
	--c4-fs-h3: calc(1rem + 1.44 * var(--c4-type-u));
	--c4-fs-h4: calc(1rem + .72 * var(--c4-type-u));
	--c4-fs-display: 8.54vw;
	--c4-gutter-fluid: 6vw;
}
@media (min-width: 768px) {
	:root {
		--c4-type-u: min(1vw, 14px);
		--c4-fs-display: min(calc(6.708vw - .42px), 101.6px);
		--c4-gutter-fluid: 4vw;
	}
}
