/**
 * TOP opening movie overlay
 */

.c-opening {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	background: #fff;
	opacity: 1;
	transition: opacity 0.45s ease;
	-webkit-font-smoothing: antialiased;
}

.c-opening.is-leaving {
	opacity: 0;
	pointer-events: none;
}

.c-opening.is-gone {
	display: none;
}

.c-opening__frame {
	box-sizing: border-box;
	width: min(1280px, 100%);
	max-width: 100%;
	line-height: 0;
	font-size: 0;
	overflow: hidden;
	isolation: isolate;
	/* Safari: promote to own layer to avoid 1px hairlines */
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.c-opening__video {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	outline: none;
	background: #fff;
	object-fit: contain;
	vertical-align: top;
	-webkit-appearance: none;
	appearance: none;
	/* Safari: hide native video chrome / compositing hairlines */
	-webkit-mask-image: -webkit-radial-gradient(#fff, #000);
	mask-image: radial-gradient(#fff, #000);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.001);
	transform: translateZ(0) scale(1.001);
	clip-path: inset(0);
}

@media (max-width: 1440px) {
	.c-opening__frame {
		width: 88.3vw;
	}
}

html.is-opening-active,
html.is-opening-active body {
	overflow: hidden;
}
