/* ==========================================================================
   Coming Soon template (Chin Chin Manly)
   Relies on fonts + colour already declared in css/style.scss / style.css:
   - "Excellent-Regular" (headings/labels/body)
   - brand pink #ec278f
   ========================================================================== */

html, body.coming-soon-page {
	margin: 0;
	padding: 0;
	height: 100%;
	background: #000;
	overflow: hidden;
}

/* the theme's global header/nav/footer markup isn't printed on this
   template, but keep a safety net in case a plugin injects something */
body.coming-soon-page > *:not(.coming-soon) {
	display: none !important;
}

.coming-soon {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	color: #fff;
	text-align: center;
}

/* ---------- background video ---------- */

.coming-soon__video-wrap {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 0;
	background: #000;
}

.coming-soon__video-wrap iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw; /* 16:9 */
	min-height: 100vh;
	min-width: 177.78vh; /* 16:9 */
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.coming-soon__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.35);
	z-index: 1;
}

/* ---------- content ---------- */

.coming-soon__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: 100%;
	box-sizing: border-box;
	padding: 162px 24px; /* top / bottom space on web */
	overflow-y: auto;
}

.coming-soon__bunny {
	width: 228.34px;
	height: 532px;
	transform: rotate(0deg);
	opacity: 1;
	object-fit: contain; /* safety net if the source image isn't exactly this ratio */
	margin: 0 0 45px; /* bunny bottom -> title top */
}

.coming-soon__title {
	font-family: "Excellent", monospace;
	font-weight: 100;
	font-style: normal;
	font-size: 35.48px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: center;
	color: #fff;
	margin: 0 0 100px; /* title bottom -> label top */
}

.coming-soon__signup {
	width: 100%;
	max-width: 420px;
	margin: 0; /* spacing now handled by children */
}

.coming-soon__signup-label {
	font-family: "Excellent", monospace;
	font-weight: 100;
	font-style: normal;
	font-size: 20px;
	line-height: 100%;
	letter-spacing: 0%;
	text-align: center;
	vertical-align: bottom;
	color: #fff;
	opacity: 0.85;
	margin: 0 0 25px; /* label bottom -> input line top */
}

.coming-soon__form .mc-field-group {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	padding-bottom: 0px;
}

.coming-soon__form input[type="email"] {
	flex: 1;
	background: transparent !important;
	border: none !important;
	color: #fff !important;
	font-family: "Excellent", monospace;
	font-size: 13px;
	letter-spacing: 0.05em;
	padding: 4px 8px !important;
	text-align: center;
}

.coming-soon__form input[type="email"]::placeholder {
	color: rgba(255, 255, 255, 0.7);
	text-transform: uppercase;
}

.coming-soon__form input[type="email"]:hover,
.coming-soon__form input[type="email"]:focus {
	color: #f0e5eb !important;
}

.coming-soon__submit {
	background: none !important;
	border: none !important;
	padding: 4px !important;
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: ease-in-out 0.2s all;
}

.coming-soon__submit:hover svg path {
	fill: #ec278f;
}

.coming-soon__credit {
	font-family: "Excellent", monospace;
	font-weight: 100;
	font-style: normal;
	font-size: 16px;
	line-height: 100%;
	letter-spacing: 0.15em; /* 15% */
	text-align: center;
	text-transform: uppercase;
	color: #fff;
	opacity: 0.7;
	margin: 100px 0 0; /* input line bottom -> credit top */
}

#mce-responses .response {
	font-family: "Excellent", monospace;
	font-size: 11px;
	letter-spacing: 0.05em;
	margin-top: 10px;
	color: #fff;
}

/* ---------- responsive ---------- */

@media screen and (max-width: 768px) {
	/* rotate the background video 90deg on mobile, swap the fill math
	   so the rotated video still covers the viewport */
	.coming-soon__video-wrap iframe {
		width: 100vh;
		height: 56.25vh; /* 16:9 */
		min-height: 100vw;
		min-width: 177.78vw; /* 16:9 */
		transform: translate(-50%, -50%) rotate(90deg);
	}
}

@media screen and (max-width: 576px) {
	.coming-soon__content {
		padding: 180px 24px; /* top / bottom space on mobile */
	}

	.coming-soon__bunny {
		width: 96px;
		height: 223.65px; /* scaled to match 228.34 : 532 ratio */
		margin-bottom: 45px;
	}

	.coming-soon__title {
		font-size: 35.48px;
		margin-bottom: 100px;
	}

	.coming-soon__signup {
		max-width: 280px;
	}

	.coming-soon__signup-label {
		font-size: 20px;
		margin-bottom: 25px;
	}

	.coming-soon__credit {
		font-size: 16px;
		margin-top: 100px;
	}
}