/* Hero. Stacked, the copy comes first and the objects in the art follow at full
   bleed, the picture's empty left running off the page; from desktop the whole
   picture is the hero's background and the header floats over the top. The colours
   here are the picture's own sky, for where it fades into the page. */
.vamora-home-hero {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: clip;
	background: linear-gradient(180deg, #f3eafc 0%, #f1ebfd 35%, #f6f2fd 70%, #f7f2fd 100%);
}

.vamora-home-hero__art {
	order: 2;
	position: relative;
	width: 150%;
	margin-left: -50%;
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 12%);
}

.vamora-home-hero__image {
	width: 100%;
	height: auto;
}

/* What plays on the screens. All of it starts unseen and only the motion layer ever
   shows it, so without motion the picture is simply the picture. */
.vamora-home-hero__live {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	overflow: visible;
	pointer-events: none;
	letter-spacing: -0.01em;
}

.vamora-home-hero__piece,
.vamora-home-hero__scan,
.vamora-home-hero__tap,
.vamora-home-hero__band,
.vamora-home-hero__dish {
	opacity: 0;
}

.vamora-home-hero__band,
.vamora-home-hero__dish {
	fill: #8a3cf5;
}

.vamora-home-hero__tap {
	fill: none;
	stroke: #fff;
	stroke-width: 7;
}

.vamora-home-hero__content {
	order: 1;
	padding: 1.5rem 1.25rem 0.5rem;
}

.vamora-home-hero__eyebrow {
	--icon-size: 1rem;

	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	max-width: 100%;
	padding: 0.5em 0.9em;
	border: 1px solid var(--home-eyebrow-edge);
	border-radius: 999px;
	background: var(--home-eyebrow-bg);
	color: var(--home-violet-ink);
	font-size: 0.6875rem;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-transform: uppercase;
}

.vamora-home-hero__eyebrow-icon {
	flex: none;
	color: #7a22f0;
}

.vamora-home-hero__title {
	margin-top: 1rem;
	font-size: clamp(2.5rem, 11vw, 4rem);
	line-height: 1.03;
	letter-spacing: var(--home-track-tight);
}

.vamora-home-hero__lead {
	margin-top: 1.25rem;
	color: var(--home-text);
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.3;
}

.vamora-home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.vamora-home-hero__cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1.75rem;
}

.vamora-home-hero__cat + .vamora-home-hero__cat {
	border-left: 1px solid var(--home-rule);
}

.vamora-home-hero__cat-link {
	display: grid;
	justify-items: center;
	gap: 0.5rem;
	padding-block: 0.25rem;
	color: var(--home-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.22;
	text-align: center;
}

.vamora-home-hero__cat-icon {
	--icon-size: 1.625rem;

	color: var(--home-icon);
	stroke-width: 1.7;
}

@media (min-width: 37.5em) {
	.vamora-home-hero__content {
		padding-inline: 2.5rem;
	}

	.vamora-home-hero__cats {
		max-width: 26rem;
	}
}

@media (min-width: 64em) {
	.vamora-home-hero {
		display: block;
		height: calc(449 * var(--u));
		margin-top: calc(-1 * var(--chrome-height));
	}

	/* Past 1920 the page's unit stops growing, so the picture holds to the right
	   and fades out on its left into the same sky. */
	.vamora-home-hero__art {
		position: absolute;
		top: 0;
		right: 0;
		width: calc(1024 * var(--u));
		margin: 0;
		-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%);
		mask-image: linear-gradient(90deg, transparent 0%, #000 8%);
	}

	.vamora-home-hero__content {
		position: relative;
		width: calc(1024 * var(--u));
		height: 100%;
		margin-inline: auto;
		padding: 0;
	}

	.vamora-home-hero__eyebrow {
		--icon-size: calc(18 * var(--u));

		position: absolute;
		top: calc(78 * var(--u));
		left: calc(45 * var(--u));
		gap: calc(6 * var(--u));
		height: calc(27 * var(--u));
		padding: 0 calc(11 * var(--u)) 0 calc(9 * var(--u));
		font-size: calc(11.9 * var(--u));
		letter-spacing: -0.022em;
		white-space: nowrap;
	}

	.vamora-home-hero__title {
		position: absolute;
		top: calc(114.5 * var(--u));
		left: calc(49 * var(--u));
		margin: 0;
		font-size: calc(48 * var(--u));
		line-height: calc(49.5 * var(--u));
		white-space: nowrap;

		--word-scale: 1.17;
	}

	.vamora-home-hero__lead {
		position: absolute;
		top: calc(226.5 * var(--u));
		left: calc(50 * var(--u));
		margin: 0;
		font-size: calc(14 * var(--u));
		line-height: calc(17.4 * var(--u));
		white-space: nowrap;
	}

	.vamora-home-hero__actions {
		display: block;
		margin: 0;
	}

	.vamora-home-hero__actions .vamora-home-button {
		position: absolute;
		top: calc(279 * var(--u));
		height: calc(38 * var(--u));
		font-size: calc(13 * var(--u));
	}

	.vamora-home-hero__title em {
		margin-left: 0.04em;
	}

	.vamora-home-hero__actions .vamora-home-button--primary {
		left: calc(45 * var(--u));
		width: calc(171 * var(--u));
	}

	.vamora-home-hero__actions .vamora-home-button--outline {
		top: calc(280 * var(--u));
		left: calc(224 * var(--u));
		width: calc(160 * var(--u));
		height: calc(35.5 * var(--u));
		border-width: calc(1.2 * var(--u));
		font-size: calc(12 * var(--u));
	}

	.vamora-home-hero__actions .vamora-icon {
		--icon-size: calc(14 * var(--u));
	}

	.vamora-home-hero__actions .vamora-home-button--outline .vamora-icon {
		--icon-size: calc(17 * var(--u));
	}

	.vamora-home-hero__cats {
		display: block;
		max-width: none;
		margin: 0;
	}

	.vamora-home-hero__cat {
		position: absolute;
		top: calc(348 * var(--u));
		width: calc(100 * var(--u));
		border: 0;
	}

	.vamora-home-hero__cat:nth-child(1) {
		left: calc(33 * var(--u));
	}

	.vamora-home-hero__cat:nth-child(2) {
		left: calc(145 * var(--u));
	}

	.vamora-home-hero__cat:nth-child(3) {
		left: calc(255 * var(--u));
	}

	/* The rules sit between the columns, not on the column's own edge, so each is
	   placed from the column that owns it. */
	.vamora-home-hero__cat + .vamora-home-hero__cat {
		border: 0;
	}

	.vamora-home-hero__cat + .vamora-home-hero__cat::before {
		position: absolute;
		top: calc(8 * var(--u));
		left: calc(-5 * var(--u));
		width: 1px;
		height: calc(44 * var(--u));
		background: var(--home-rule);
		content: "";
	}

	.vamora-home-hero__cat-link {
		gap: calc(6 * var(--u));
		padding: 0;
		font-size: calc(11.7 * var(--u));
		line-height: calc(14.4 * var(--u));
		letter-spacing: -0.024em;
	}

	.vamora-home-hero__cat-icon {
		--icon-size: calc(23 * var(--u));

		stroke-width: 2.1;
	}

	.vamora-home-hero__cat:nth-child(2) .vamora-home-hero__cat-icon {
		transform: scale(1.22);
	}
}
