/*
 * Service pages: the horizon behind the hub hero, after React Bits Pro's
 * Horizon Bloom. Heroes marked vy-svc-hero--horizon only: the five practice
 * landing pages (/seo/, /wordpress/, /ai/, /social/, /ads/), not their subpages.
 *
 * svc-horizon.js draws a WebGL canvas behind the whole hero: stars across it,
 * and a sunrise on a curved planet edge in the section gap under the content.
 * The canvas runs the page's full width and past the hero's bottom by the gap,
 * under every child of the hero, and never takes a pointer.
 */

.vy-svc-page .vy-svc-hero--horizon {
	position: relative;
	isolation: isolate;
}
.vy-svc-page .vy-svc-hero--horizon > .vy-svc-horizon {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: calc(100% + var(--svc-gap));
	pointer-events: none;
}

/* Room around the content (Ben, 2026-10-20): a taller hero, a looser rhythm in
   the copy column, and padding under the content so the horizon's crest sits
   clear of it. The crest is drawn in the section gap below, so the bottom
   padding is the space between the content and the planet's edge. The
   instrument stretches to the copy column, so it grows with it.
   2026-10-21 (Ben): no eyebrow and no trust row; the copy spreads out and the
   two hero buttons are larger. */
.vy-svc-page > .vy-svc-sec.vy-svc-hero--horizon:first-child {
	padding-top: 128px;
	padding-bottom: 112px;
}
.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-hero__copy { gap: 44px; }
.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-hero__note { margin-top: -20px; }
.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-hero__free { margin-top: -32px; }
.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-actions { gap: 16px; }
.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-actions .wp-block-button__link {
	font-size: 16px;
	padding: 17px 30px;
}
.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-lede { max-width: 620px; }
/* The instrument has no height of its own (its panes fill the row), so with the
   shorter copy column it keeps the height its content needs. */
@media (min-width: 1024px) {
	.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-inst--hub.is-js { min-height: 640px; }
}
/* The section under the horizon opens a little below the crest, not on it. */
.vy-svc-page > .vy-svc-hero--horizon + .vy-svc-sec { padding-top: 64px; }

@media (max-width: 767px) {
	.vy-svc-page > .vy-svc-sec.vy-svc-hero--horizon:first-child {
		padding-top: 56px;
		padding-bottom: 72px;
	}
	.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-hero__copy { gap: 32px; }
	.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-hero__note { margin-top: -14px; }
	.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-hero__free { margin-top: -22px; }
	.vy-svc-page .vy-svc-hero--hub.vy-svc-hero--horizon .vy-svc-actions .wp-block-button__link { min-height: 54px; }
	.vy-svc-page > .vy-svc-hero--horizon + .vy-svc-sec { padding-top: 40px; }
}
