/*
 * Stand-in: a URL fragment's target lands clear of the fixed mobile header. See anima-anchor-landing.php for the issue.
 * Below 1024 px Nova's mobile header bar is fixed over the page; Nova writes its height as `--nb-header-height` on the
 * header's neighbour (the page's `main`). Only the fragment's target (`:target`) gets a scroll margin: that height plus
 * the theme's smaller spacing step. Nothing renders differently; only where a fragment scroll stops changes.
 */
@media not screen and (min-width: 1024px) {
	:target {
		scroll-margin-top: calc(var(--nb-header-height, 0px) + var(--theme-spacing-smaller));
	}
}

/* From 1024 px the header is not fixed; the target still gets the smaller spacing step above it (orchestrator,
 * 27 Nov: item 7 asks for 8–80 px of room at 1440 too). */
@media (min-width: 1024px) {
	:target {
		scroll-margin-top: var(--theme-spacing-smaller);
	}
}
