.pscv {
	position: relative;
	width: 100vw;
	left: 50%;
	margin-left: -50vw;
	height: var(--pscv-h, 100vh);
	min-height: var(--pscv-min-h, 500px);
	overflow: hidden;
	background: #000;
	z-index: 1;
}

.pscv__media,
.pscv__video,
.pscv__poster,
.pscv__dim {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.pscv__video {
	object-fit: cover;
}

.pscv__poster {
	background-size: cover;
	background-position: center;
}

.pscv__dim {
	background: var(--pscv-dim, transparent);
	pointer-events: none;
}

/* ---------- Typography (shared by both layouts) ---------- */
/* !important is used on purpose: themes like Salient style headings aggressively. */
.pscv .pscv__eyebrow {
	margin: 0 0 .45em !important;
	color: var(--pscv-eyebrow-color, #fff) !important;
	font-family: var(--pscv-text-font, inherit) !important;
	font-size: var(--pscv-eyebrow-size, 20px) !important;
	font-weight: var(--pscv-eyebrow-weight, 500) !important;
	line-height: 1.3 !important;
}

.pscv .pscv__title {
	margin: 0 !important;
	padding: 0 !important;
	color: var(--pscv-title-color, #fff) !important;
	font-family: var(--pscv-title-font, inherit) !important;
	font-weight: var(--pscv-title-weight, 700) !important;
	font-size: var(--pscv-title-size, 68px) !important;
	line-height: 1.15 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

.pscv .pscv__text {
	margin-top: 1em;
	color: var(--pscv-text-color, #fff) !important;
	font-family: var(--pscv-text-font, inherit) !important;
	font-size: var(--pscv-text-size, 18px) !important;
	font-weight: var(--pscv-text-weight, 400) !important;
	line-height: 1.55 !important;
}

.pscv .pscv__buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--pscv-btn-gap, 14px);
	justify-content: var(--pscv-justify, flex-start);
	margin-top: 1.6em;
}

.pscv .pscv__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: var(--pscv-btn-min-w, 0);
	margin: 0 !important;
	padding: var(--pscv-btn-pad-y, 12px) var(--pscv-btn-pad-x, 26px) !important;
	border: 2px solid var(--pscv-btn-bg, #fff);
	border-radius: var(--pscv-btn-radius, 4px);
	background: var(--pscv-btn-bg, #fff);
	color: var(--pscv-btn-color, #000) !important;
	font-family: var(--pscv-text-font, inherit);
	font-weight: var(--pscv-btn-weight, 600);
	font-size: var(--pscv-btn-size, 14px) !important;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: opacity .2s;
}

.pscv .pscv__btn--2 {
	background: var(--pscv-btn2-bg, transparent);
	border-color: var(--pscv-btn2-border, #fff);
	color: var(--pscv-btn2-color, #fff) !important;
}

.pscv .pscv__btn:hover {
	opacity: .85;
}

/* ---------- Layout: plain text, vertically placed ---------- */
.pscv__content {
	position: absolute;
	left: 0;
	right: 0;
	top: var(--pscv-vpos, 50%);
	transform: translateY(-50%);
	z-index: 3;
}

.pscv__inner {
	box-sizing: border-box;
	width: min(var(--pscv-container, 1200px), calc(100% - 40px));
	margin: 0 auto;
	text-align: var(--pscv-align, left);
}

/* ---------- Layout: glass box ---------- */
.pscv__box {
	position: absolute;
	z-index: 3;
	box-sizing: border-box;
	width: var(--pscv-box-w, 380px);
	max-width: calc(100% - 2 * var(--pscv-box-side, 40px));
	padding: var(--pscv-box-pad, 28px);
	background: var(--pscv-box-bg, rgba(255, 255, 255, .15));
	-webkit-backdrop-filter: blur(var(--pscv-box-blur, 8px));
	backdrop-filter: blur(var(--pscv-box-blur, 8px));
	border-radius: var(--pscv-box-radius, 8px);
	text-align: var(--pscv-align, left);
}

.pscv--box .pscv__title { font-size: min(var(--pscv-title-size, 68px), 40px) !important; }

.pscv__box--top-right    { top: var(--pscv-box-top, 110px);    right: var(--pscv-box-side, 40px); }
.pscv__box--top-left     { top: var(--pscv-box-top, 110px);    left:  var(--pscv-box-side, 40px); }
.pscv__box--bottom-right { bottom: calc(var(--pscv-box-top, 110px) + 60px); right: var(--pscv-box-side, 40px); }
.pscv__box--bottom-left  { bottom: calc(var(--pscv-box-top, 110px) + 60px); left:  var(--pscv-box-side, 40px); }

/* ---------- Scroll-down arrow ---------- */
.pscv .pscv__arrow {
	position: absolute;
	left: 50%;
	bottom: var(--pscv-arrow-bottom, 40px);
	transform: translateX(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border: 1px solid var(--pscv-arrow-color, #fff);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	opacity: .85;
	transition: opacity .2s, background-color .2s;
}

.pscv .pscv__arrow:hover {
	opacity: 1;
	background: rgba(255, 255, 255, .12);
}

.pscv .pscv__arrow span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--pscv-arrow-color, #fff);
	border-bottom: 2px solid var(--pscv-arrow-color, #fff);
	transform: translate(-50%, -70%) rotate(45deg);
}

/* ---------- Pixel transition ---------- */
.pscv__pixels {
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	z-index: 4;
	display: grid;
	pointer-events: none;
}

.pscv__pixel {
	background: var(--pscv-pixel, #fff);
	opacity: 0;
	aspect-ratio: 1 / 1;
	/* Slight overlap avoids hairline gaps between cells. */
	margin: -0.5px;
	will-change: opacity;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.pscv .pscv__title { font-size: var(--pscv-title-size-t, 52px) !important; }
	.pscv--box .pscv__title { font-size: min(var(--pscv-title-size-t, 52px), 32px) !important; }
}

@media (max-width: 690px) {
	.pscv .pscv__title   { font-size: var(--pscv-title-size-m, 34px) !important; }
	.pscv--box .pscv__title { font-size: min(var(--pscv-title-size-m, 34px), 26px) !important; }
	.pscv .pscv__eyebrow { font-size: var(--pscv-eyebrow-size-m, 16px) !important; }
	.pscv .pscv__text    { font-size: var(--pscv-text-size-m, 15px) !important; }
	.pscv__box { --pscv-box-side: 16px; }
	.pscv__box--top-right,
	.pscv__box--top-left { top: 90px; }
}

/* Salient: stop the row/column wrappers from clipping the full-width video. */
.vc_row .pscv,
.wpb_wrapper .pscv {
	max-width: none;
}

@media (prefers-reduced-motion: reduce) {
	.pscv__pixel { will-change: auto; }
}
