/* This landing wears the redesign: the home tokens carry its type, buttons and colour, and
   this sheet adds what its sections share. It has no reference of its own, so from desktop
   up it is laid out by flow rather than placed, but still in the 1024-wide --u the other
   pages use, so it keeps their proportions at any width. */
.vamora-serve {
	--color-primary: #6a1fe0;
	--color-focus: #7a22f0;
	--gradient-brand: var(--home-rule-bar);

	--serve-glass: rgb(255 255 255 / 0.66);
	--serve-glass-edge: rgb(255 255 255 / 0.95);
	--serve-glass-shadow: 0 12px 28px -16px rgb(100 50 215 / 0.4);
	--serve-tile: linear-gradient(150deg, #f1e7fe 0%, #e4d4fb 100%);
	--serve-green: #128a2c;
	--serve-green-soft: #d8f2dd;
	--serve-orange: #d9570b;
	--serve-orange-soft: #fbe9cf;
	--serve-rose: #c8264f;
	--serve-rose-soft: #fbe3ea;
	--serve-inset: 1.25rem;
	--serve-block: 2.5rem;
	--serve-small: 0.8125rem;
}

.vamora-serve-head {
	text-align: center;
}

.vamora-serve-head--start {
	text-align: left;
}

.vamora-serve-head__eyebrow {
	display: inline-block;
	margin-bottom: 0.5rem;
	padding: 0.2em 1em;
	border-radius: 999px;
	background: #e7d8fb;
	color: #5a14d8;
	font-size: 0.75rem;
	font-weight: 800;
	line-height: 1.4;
}

.vamora-serve-head__title {
	font-size: clamp(1.875rem, 7.6vw, 2.75rem);
	line-height: 1.08;
	letter-spacing: var(--home-track-tight);
}

.vamora-serve-head__title em {
	--word-scale: 1.04;
}

.vamora-serve-head__lead {
	margin-top: 0.75rem;
	color: var(--home-text);
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
}

@media (min-width: 37.5em) {
	.vamora-serve {
		--serve-inset: 2.5rem;
		--serve-block: 3.5rem;
	}
}

@media (min-width: 64em) {
	.vamora-serve {
		--serve-inset: calc(45 * var(--u));
		--serve-block: calc(30 * var(--u));
		--serve-small: max(calc(10.8 * var(--u)), 0.75rem);
		--serve-glass-shadow: 0 calc(12 * var(--u)) calc(28 * var(--u)) calc(-16 * var(--u)) rgb(100 50 215 / 0.4);
		--serve-u: var(--u);
		--serve-u-floor: 0.72;
		--serve-window: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
		--serve-room: calc(var(--serve-window) - 56 * var(--u));
	}

	/* Scaling with the width alone makes a section taller than a wide, short window. What has
	   to be seen whole also scales to the room under the section nav, down to a floor that
	   stays readable. --serve-tall is its height in --u, which each section states itself. */
	.vamora-serve-hero,
	.vamora-serve-screens,
	.vamora-serve-shots__list,
	.vamora-serve-story,
	.vamora-serve-guards,
	.vamora-serve-pricing .vamora-price-table {
		--u: min(var(--serve-u), max(calc(var(--serve-u) * var(--serve-u-floor)), calc(var(--serve-room) / var(--serve-tall))));
		--serve-inset: calc(45 * var(--u));
		--serve-small: max(calc(10.8 * var(--u)), 0.75rem);
	}

	.vamora-serve-head__eyebrow {
		margin-bottom: calc(6 * var(--u));
		font-size: calc(11.6 * var(--u));
	}

	.vamora-serve-head__title {
		font-size: calc(35 * var(--u));
		line-height: calc(37 * var(--u));
	}

	.vamora-serve-head__lead {
		margin-top: calc(8 * var(--u));
		font-size: max(calc(12.8 * var(--u)), 0.8125rem);
		line-height: calc(17 * var(--u));
	}
}
