.te-construction-notice[hidden] {
	display: none !important;
}

.te-construction-notice {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
}

.te-construction-notice__backdrop {
	position: absolute;
	inset: 0;
	background: rgba( 8, 8, 8, 0.78 );
	backdrop-filter: blur( 7px );
}

.te-construction-notice__dialog {
	position: relative;
	z-index: 1;
	width: min( 660px, 100% );
	padding: clamp( 34px, 6vw, 64px );
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	background: #111;
	color: #fff;
	box-shadow: 0 30px 100px rgba( 0, 0, 0, 0.5 );
	text-align: left;
}

.te-construction-notice__dialog::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 110px;
	height: 7px;
	background: #e5252a;
}

.te-construction-notice__eyebrow {
	margin: 0 0 14px;
	color: #e5252a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.te-construction-notice__dialog h2 {
	margin: 0;
	color: #fff;
	font-size: clamp( 38px, 7vw, 72px );
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.045em;
}

.te-construction-notice__dialog > p:not(.te-construction-notice__eyebrow) {
	max-width: 560px;
	margin: 24px 0 0;
	color: rgba( 255, 255, 255, 0.78 );
	font-size: clamp( 16px, 2.4vw, 19px );
	line-height: 1.65;
}

.te-construction-notice__close {
	position: absolute;
	top: 16px;
	right: 18px;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	color: #fff;
	font: 300 34px/1 Arial, sans-serif;
	cursor: pointer;
}

.te-construction-notice__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.te-construction-notice__primary,
.te-construction-notice__secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 22px;
	border: 1px solid #e5252a;
	border-radius: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.055em;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.te-construction-notice__primary {
	background: #e5252a;
	color: #fff;
}

.te-construction-notice__secondary {
	background: transparent;
	color: #fff;
	border-color: rgba( 255, 255, 255, 0.42 );
}

.te-construction-notice__primary:hover,
.te-construction-notice__primary:focus-visible {
	background: #fff;
	border-color: #fff;
	color: #111;
}

.te-construction-notice__secondary:hover,
.te-construction-notice__secondary:focus-visible {
	border-color: #fff;
}

body.te-construction-notice-open {
	overflow: hidden;
}

@media ( max-width: 560px ) {
	.te-construction-notice {
		padding: 14px;
	}

	.te-construction-notice__dialog {
		padding: 42px 24px 28px;
	}

	.te-construction-notice__actions {
		display: grid;
	}

	.te-construction-notice__primary,
	.te-construction-notice__secondary {
		width: 100%;
	}
}

@media ( prefers-reduced-motion: no-preference ) {
	.te-construction-notice:not([hidden]) .te-construction-notice__backdrop {
		animation: te-construction-fade 180ms ease-out both;
	}

	.te-construction-notice:not([hidden]) .te-construction-notice__dialog {
		animation: te-construction-in 240ms ease-out both;
	}
}

@keyframes te-construction-fade {
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes te-construction-in {
	from { opacity: 0; transform: translateY( 18px ); }
	to { opacity: 1; transform: translateY( 0 ); }
}
