/* Blueprint to Turnkey Scroll-Driven Showcase (Monochrome + Champagne Gold theme palette) */
.pv-morph { overflow: clip; }
.pv-morph__intro { text-align: center; max-width: 820px; margin-bottom: 30px; }
.pv-morph__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	margin: 0 0 12px; padding: 5px 15px; border-radius: 999px;
	background: rgba(197, 160, 89, .14); border: 1px solid rgba(197, 160, 89, .38);
	font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--pv-accent);
}
.pv-morph__heading { margin: 0 0 12px; }
.pv-morph__lead { margin: 0 auto; max-width: 660px; font-size: 15.5px; line-height: 1.55; opacity: .78; }

.pv-morph__list { display: flex; flex-direction: column; gap: 22px; padding: 0 var(--pv-frame); }
.pv-morph__track { position: relative; height: 240vh; }
.pv-morph__track--4 { height: 310vh; }
.pv-morph__sticky {
	position: sticky; top: calc(var(--pv-nav-offset, 68px) + 12px);
	height: calc(100svh - var(--pv-nav-offset, 68px) - 24px);
	min-height: 500px;
}
.pv-morph__frame {
	position: relative; width: 100%; height: 100%;
	border-radius: var(--pv-frame-radius);
	overflow: hidden; background: #0c121e; color: #fff;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
	isolation: isolate;
}
.pv-morph__stage { position: absolute; inset: 0; will-change: clip-path, opacity; }
.pv-morph__stage--1 { z-index: 1; }
.pv-morph__stage--2 { z-index: 2; clip-path: inset(0 100% 0 0); }
.pv-morph__stage--3 { z-index: 3; clip-path: inset(0 100% 0 0); }
.pv-morph__stage--4 { z-index: 4; clip-path: inset(0 100% 0 0); }
.pv-morph__img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Laser drafting scan-line moving with scroll wipe */
.pv-morph__wipe-line {
	position: absolute; top: 0; bottom: 0; left: 0%; width: 2px; z-index: 5;
	background: linear-gradient(180deg, rgba(197, 160, 89, .15), var(--pv-accent) 20%, #fff 50%, var(--pv-accent) 80%, rgba(197, 160, 89, .15));
	box-shadow: 0 0 20px 3px rgba(197, 160, 89, .72);
	opacity: 0; pointer-events: none;
	transition: opacity .25s ease;
}

.pv-morph__shade {
	position: absolute; inset: 0; z-index: 6; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(6, 10, 18, .55) 0%, rgba(6, 10, 18, .06) 28%, rgba(6, 10, 18, .12) 52%, rgba(5, 7, 11, .88) 100%),
		linear-gradient(90deg, rgba(5, 7, 11, .52) 0%, rgba(5, 7, 11, 0) 58%);
}

/* Top overlay bar: space tag + clickable stage jump pills */
.pv-morph__top {
	position: absolute; top: 24px; left: 30px; right: 30px; z-index: 7;
	display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.pv-morph__badge {
	display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
	border-radius: 999px; background: rgba(10, 12, 18, .62);
	border: 1px solid rgba(255, 255, 255, .2);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #fff;
}
.pv-morph__pills {
	display: inline-flex; align-items: center; gap: 4px; padding: 4px;
	border-radius: 999px; background: rgba(10, 12, 18, .62);
	border: 1px solid rgba(255, 255, 255, .2);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.pv-morph__pill {
	height: 30px; padding: 0 13px; border-radius: 999px; border: 0;
	background: transparent; color: rgba(255, 255, 255, .76);
	font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
	cursor: pointer; transition: background-color .22s ease, color .22s ease;
}
.pv-morph__pill:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.pv-morph__pill.is-active { background: #fff; color: #0A0A0A; }

/* Bottom narrative + specs + CTA + progress */
.pv-morph__bottom {
	position: absolute; left: 34px; right: 34px; bottom: 26px; z-index: 7;
	display: flex; flex-direction: column; gap: 16px;
}
.pv-morph__captions { display: grid; max-width: 680px; }
.pv-morph__cap {
	grid-area: 1 / 1;
	opacity: 0; transform: translateY(14px); pointer-events: none;
	transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
}
.pv-morph__cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.pv-morph__step-label {
	display: inline-block; margin-bottom: 6px;
	font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: var(--pv-accent);
}
.pv-morph__title {
	margin: 0 0 8px; font-family: var(--pv-font-head); font-weight: 400;
	font-size: clamp(32px, 4.1vw, 54px); line-height: 1.04; text-transform: uppercase; color: #fff;
}
.pv-morph__desc {
	margin: 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .86);
}

.pv-morph__footer-row {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding-right: 68px;
}
.pv-morph__specs { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-morph__specs span {
	display: inline-flex; align-items: center; height: 32px; padding: 0 13px;
	border-radius: 999px; background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .24);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	font-size: 12px; font-weight: 500; color: #fff;
}
.pv-morph__cta {
	display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px;
	border-radius: 999px; background: #fff; color: #0A0A0A;
	font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
	transition: background-color .22s ease, color .22s ease, transform .22s ease;
}
.pv-morph__cta:hover { background: var(--pv-accent); color: #0A0A0A; transform: translateY(-2px); }

.pv-morph__progress {
	width: 100%; height: 2.5px; border-radius: 99px;
	background: rgba(255, 255, 255, .18); overflow: hidden;
}
.pv-morph__progress span {
	display: block; height: 100%; width: 0%;
	background: linear-gradient(90deg, #fff, var(--pv-accent));
	border-radius: 99px;
	transition: width .08s linear;
}

/* Compact non-sticky preview inside Gutenberg editor */
.pv-morph--editor .pv-morph__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pv-morph--editor .pv-morph__track, .pv-morph--editor .pv-morph__track--4 { height: auto; }
.pv-morph--editor .pv-morph__sticky { position: static; height: 340px; min-height: 0; }
.pv-morph--editor .pv-morph__stage--final { z-index: 5; clip-path: inset(0 0 0 0) !important; }
.pv-morph--editor .pv-morph__cap { display: none; }
.pv-morph--editor .pv-morph__cap--final { display: block; opacity: 1; transform: none; }
.pv-morph--editor .pv-morph__title { font-size: 24px; }
.pv-morph--editor .pv-morph__desc { display: none; }
.pv-morph--editor .pv-morph__pills { display: none; }

@media (max-width: 782px) {
	.pv-morph__track { height: 210vh; }
	.pv-morph__track--4 { height: 265vh; }
	.pv-morph__sticky { min-height: 490px; }
	.pv-morph__top { top: 14px; left: 14px; right: 14px; }
	.pv-morph__bottom { left: 16px; right: 16px; bottom: 16px; gap: 12px; }
	.pv-morph__pill { padding: 0 9px; font-size: 10px; height: 26px; }
	.pv-morph__specs span { height: 26px; padding: 0 10px; font-size: 11px; }
	.pv-morph__desc { font-size: 13px; }
	.pv-morph__footer-row { padding-right: 0; }
}
