




body.trailer-page {
	background: #0a0d14 !important;
}



.trailer-page .site-content,
.trailer-page .site-main,
.trailer-page .entry-content,
.trailer-page .inside-article,
.trailer-page article:not(.shane-chapter) {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	width: 100%;
	height: 100vh;
	background: transparent !important;
	box-shadow: none !important;
	border: none !important;
}



.trailer-stage {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	z-index: 1;
	overflow: hidden;
}



.trailer-stage::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url('assets/shane-bg.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

.trailer-stage::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse at center,
		rgba(0, 0, 0, 0.28) 0%,
		rgba(0, 0, 0, 0) 55%
	);
	z-index: 2;
}



.firefly-trail-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	pointer-events: none;
}



.firefly-front-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 8;
	pointer-events: none;
}



.trailer-stage .plants-layer {
	position: absolute;
	inset: 0;
	z-index: 7;
	background-image: url('assets/plants.webp');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	pointer-events: none;
}

 
.trailer-page .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 30;
	background: transparent !important;
	border-bottom: none !important;
}
.trailer-page .site-header .inside-header {
	background: transparent !important;
}
.trailer-page .main-navigation,
.trailer-page .main-navigation .main-nav > ul {
	background: transparent !important;
}



.wedding-pin {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	gap: 14px;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.6s ease, visibility 0.6s ease;
	z-index: 20;
}



.pin-digit {
	width: 58px;
	height: 72px;
	font-size: 40px;
	font-weight: 700;
	text-align: center;
	border: 2px solid rgba(255, 255, 255, 0.28) !important;
	border-radius: 12px !important;
	background: rgba(40, 40, 55, 0.55) !important;
	color: #fff !important;
	caret-color: transparent;  
	outline: none;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

 
.pin-digit-wrap {
	position: relative;
}

.pin-caret {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 3px;
	height: 46px;
	background: #fff;
	border-radius: 2px;
	display: none;
	pointer-events: none;
	z-index: 2;
}

.pin-digit-wrap.caret-on .pin-caret {
	display: block;
	animation: caret-blink 1s steps(1) infinite;
}

@keyframes caret-blink {
	0%, 50% { opacity: 1; }
	50.01%, 100% { opacity: 0; }
}

.pin-digit:focus {
	border-color: #ffd76a !important;
	background: rgba(55, 55, 75, 0.6) !important;
	box-shadow: 0 0 0 2px rgba(255, 215, 106, 0.35), 0 0 10px rgba(0, 0, 0, 0.4);
}



body:not(.shane-pin-gated) .wedding-pin .pin-digit {
	animation: pin-outstroke 5s ease forwards;
}

@keyframes pin-outstroke {
	0%   { box-shadow: 0 0 0 2px #000; }
	60%  { box-shadow: 0 0 0 2px #000; }
	100% { box-shadow: 0 0 0 2px rgba(0, 0, 0, 0); }
}

 
.trailer-pin-form input[type="submit"] {
	display: none;
}

 
.trailer-page .site-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 30;
	background: transparent !important;
}

 
@media (prefers-reduced-motion: reduce) {
	.wedding-pin {
		transition: none;
	}
}



body.shane-pin-gated .wedding-pin {
	opacity: 0;
	visibility: hidden;
}



.shane-couple {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	height: min(82vh, 120vw);
	aspect-ratio: 471 / 1000;
	background-image: url('assets/couple-scribble-alpha.webp');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	z-index: 6;
	opacity: 0;
	pointer-events: none;
	mix-blend-mode: screen;
	

	transition: opacity 3s ease-in-out;
}






body.shane-unlocked .shane-couple {
	opacity: 0.55;
}



body.shane-reading .shane-couple {
	opacity: 0;
	transition-duration: 0.5s;
}



@media (max-width: 900px) and (min-height: 480px) {
	.shane-couple {
		left: 72%;
		right: auto;
		top: 48%;
		transform: translate(-50%, -50%);
		height: max(352px, 60vh);
	}

	

	body.shane-unlocked .trailer-stage::after {
		background:
			radial-gradient(
				ellipse calc(max(352px, 60vh) * 0.35) calc(8vh + 8px) at 72% calc(48% + max(352px, 60vh) / 2 + 5vh - 8px),
				rgba(2, 13, 38, 0.72) 0%,
				rgba(2, 13, 38, 0.7) 68%,
				rgba(5, 17, 48, 0.375) 82%,
				rgba(5, 17, 48, 0) 95%
			),
			radial-gradient(
				ellipse calc(max(352px, 60vh) * 0.35) 3.2vh at 72% calc(48% + max(352px, 60vh) / 2 - 0.5vh),
				rgba(13, 18, 34, 0.42) 0%,
				rgba(13, 18, 34, 0.28) 45%,
				rgba(13, 18, 34, 0) 72%
			),
			radial-gradient(
				ellipse at center,
				rgba(0, 0, 0, 0.28) 0%,
				rgba(0, 0, 0, 0) 55%
			);
	}
}



@media (prefers-reduced-motion: reduce) {
	.shane-couple {
		transition: none;
	}
}