/*
 * The homepage's three features (templates/homepage.php: "Gift a Creative Experience", "Plan a Creative
 * Hens Party", "Team Experiences"). They used to be one pinned box the panels cross-faded through; now
 * each is a normal section, photo and text side by side, and they're spaced by the site's scale like
 * any other section (spacing.css).
 */
@media (min-width: 1024px) {
	.home-feature-inner {
		padding-inline: 5rem;
	}
}

/* The intro above them ("…We'd love to welcome you into the studio soon."): its last paragraph's own
   margin sat on top of the section gap, so the first feature started 17px further down than any
   other section does. */
.home-intro .col-lg-6 > :last-child {
	margin-bottom: 0;
}

/* The blob the photos are cut to. All three have always used this one shape. */
.home-feature .clip-mask-wrapper :is(video, img) {
	-webkit-mask-image: url('./content/Line_6.png');
	mask-image: url('./content/Line_6.png');
}

/* Each photo's pink outline, drawn over it. */
.home-feature-photo::before {
	content: "";
	position: absolute;
	top: -10%;
	left: -10%;
	width: 120%;
	height: 120%;
	background: no-repeat center center / contain;
	z-index: 1;
	pointer-events: none;
}

.home-feature-1 .home-feature-photo::before {
	background-image: url('./content/Line_1.png');
}

.home-feature-2 .home-feature-photo::before {
	background-image: url('./content/Line_2.png');
}

.home-feature-3 .home-feature-photo::before {
	background-image: url('./content/Line_0.png');
}

/* Fade up into view. js/reveal.js adds .sc-reveal to <html> before it starts watching, so without it
   (or with reduced motion asked for) everything is simply shown. */
.sc-reveal [data-reveal] {
	opacity: 0;
	translate: 0 2rem;
	transition: opacity .8s ease, translate .8s ease;
}

.sc-reveal [data-reveal] + [data-reveal] {
	transition-delay: .15s;
}

.sc-reveal [data-reveal].is-revealed {
	opacity: 1;
	translate: none;
}
