/* ==========================================================================
   EXACT PHEME ESTATE-STYLE PROJECTS WOW EXPERIENCE (60fps Pure GPU)
   1. 5-Stage Pixel-Locked Golden Sunset Scroll Morph + Editorial Serif + Mini Blueprint
   2. Giant "HOME" Cutout Text-Mask Zoom Portal -> "Your keys, ready."
   3. "What we build." Auto-Looping 3D Coverflow Carousel with Premium Hover Effects
   4. Gliding White Word-by-Word Reveal Sheet + Full Filterable Projects Grid
   ========================================================================== */

:root {
	--pw-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}

/* ---------- 1. Pinned 5-Stage Golden Sunset Scroll Journey ---------- */
.pw-story {
	position: relative;
	height: 440vh;
	background: #07080A;
	color: #fff;
}
.pw-story__sticky {
	position: sticky;
	top: var(--pv-nav-offset, 68px);
	height: calc(100svh - var(--pv-nav-offset, 68px));
	min-height: 520px;
	overflow: hidden;
	isolation: isolate;
}
.pw-story__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: #07080A;
}
/* Continuous smooth scroll-scrubbed cross-morph layers (pure GPU opacity + scale) */
.pw-story__frame {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.04);
	will-change: opacity, transform;
}
.pw-story__frame[data-pw-frame="0"] { opacity: 1; transform: scale(1.0); }
.pw-story__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pw-story__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8, 10, 14, .46) 0%, rgba(8, 10, 14, .04) 26%, rgba(8, 10, 14, .08) 66%, rgba(6, 8, 12, .72) 100%),
		linear-gradient(90deg, rgba(6, 8, 12, .48) 0%, rgba(6, 8, 12, 0) 42%, rgba(6, 8, 12, 0) 58%, rgba(6, 8, 12, .48) 100%);
}

/* Refined PHEME Editorial Typography Layout */
.pw-story__inner {
	position: relative;
	z-index: 3;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-top: 28px;
	padding-bottom: 92px;
}
.pw-story__chapters {
	position: relative;
	display: grid;
	width: 100%;
}
.pw-chapter {
	grid-area: 1 / 1;
	max-width: 440px;
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	pointer-events: none;
	will-change: opacity, transform;
	transition: opacity .52s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}
.pw-chapter--right {
	justify-self: end;
	text-align: right;
}
.pw-chapter.is-active {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	pointer-events: auto;
}
.pw-chapter__num {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
	font-family: var(--pv-font);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
}
.pw-chapter__num::before {
	content: "";
	width: 24px;
	height: 1px;
	background: var(--pv-accent);
}
.pw-chapter--right .pw-chapter__num { flex-direction: row-reverse; }
.pw-chapter__title {
	margin: 0 0 14px;
	font-family: var(--pw-serif);
	font-weight: 400;
	font-size: clamp(46px, 5.4vw, 76px);
	line-height: .98;
	letter-spacing: -.015em;
	text-transform: none;
	color: #fff;
	text-shadow: 0 6px 28px rgba(0, 0, 0, .35);
}
.pw-chapter__title em {
	font-style: italic;
	font-weight: 300;
	color: #f6ead2;
}
.pw-chapter__text {
	margin: 0;
	font-family: var(--pv-font);
	font-size: 14.5px;
	line-height: 1.62;
	font-weight: 400;
	color: rgba(255, 255, 255, .86);
	text-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}
.pw-chapter__actions {
	margin-top: 22px;
	display: inline-flex;
	gap: 12px;
	flex-wrap: wrap;
}
.pw-chapter--right .pw-chapter__actions { justify-content: flex-end; }
.pw-btn-white {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: #0A0A0A;
	font-size: 13px;
	font-weight: 600;
	transition: background-color .22s ease, transform .22s ease;
}
.pw-btn-white:hover { background: var(--pv-accent); color: #0A0A0A; transform: translateY(-2px); }

/* Exact PHEME Bottom Center "SCROLL TO BUILD" + Bottom-Right Mini CAD Wireframe Box */
.pw-story__hud {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 84px;
	z-index: 4;
	pointer-events: none;
}
.pw-story__hud-row {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: end;
	gap: 16px;
}
.pw-story__scroll {
	grid-column: 2;
	justify-self: center;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .86);
	transition: opacity .4s ease;
}
.pw-story__scroll.is-faded { opacity: 0; }
.pw-story__scroll i {
	width: 1px;
	height: 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, .9), transparent);
	display: block;
	animation: pw-scroll-drop 1.8s ease-in-out infinite;
}
@keyframes pw-scroll-drop {
	0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
	50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* PHEME-exact crisp Mini Blueprint Wireframe Box in Bottom-Right */
.pw-minimap {
	grid-column: 3;
	justify-self: end;
	pointer-events: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 8px 10px 7px;
	border-radius: 10px;
	background: rgba(8, 10, 14, .48);
	border: 1px solid rgba(255, 255, 255, .24);
}
.pw-minimap__grid {
	display: grid;
	grid-template-columns: 28px 28px;
	grid-template-rows: 20px 20px;
	gap: 2px;
}
.pw-minimap__cell {
	border: 1px solid rgba(255, 255, 255, .42);
	background: rgba(255, 255, 255, .03);
	cursor: pointer;
	padding: 0;
	transition: background-color .28s ease, border-color .28s ease;
}
.pw-minimap__cell:hover { border-color: #fff; background: rgba(255, 255, 255, .14); }
.pw-minimap__cell.is-done {
	background: rgba(197, 160, 89, .28);
	border-color: rgba(197, 160, 89, .78);
}
.pw-minimap__cell.is-active {
	background: var(--pv-accent);
	border-color: #fff;
}
.pw-minimap__label {
	font-size: 9.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .86);
}

/* Crisp Bottom Timeline Hairline */
.pw-story__bar {
	position: absolute;
	left: 28px;
	right: 28px;
	bottom: 24px;
	height: 2px;
	background: rgba(255, 255, 255, .18);
	z-index: 5;
	border-radius: 99px;
	overflow: hidden;
}
.pw-story__bar span {
	display: block;
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #fff, var(--pv-accent));
}

/* ---------- 2. Giant Cutout Text-Mask Zoom Portal ("HOME" -> "Your keys, ready.") ---------- */
.pw-portal {
	position: relative;
	height: 240vh;
	background: #07080A;
	color: #fff;
}
.pw-portal__sticky {
	position: sticky;
	top: var(--pv-nav-offset, 68px);
	height: calc(100svh - var(--pv-nav-offset, 68px));
	min-height: 520px;
	overflow: hidden;
	isolation: isolate;
}
.pw-portal__photo {
	position: absolute;
	inset: 0;
	z-index: 1;
	transform: scale(1.08);
	will-change: transform;
}
.pw-portal__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}
.pw-portal__photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 8, 12, .16) 0%, rgba(6, 8, 12, .05) 45%, rgba(6, 8, 12, .84) 100%);
}
.pw-portal__top-eyebrow {
	position: absolute;
	top: 15%;
	left: 0;
	right: 0;
	z-index: 4;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .64);
	pointer-events: none;
	transition: opacity .35s ease;
}
.pw-portal__mask-wrap {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: grid;
	place-items: center;
	pointer-events: none;
	will-change: transform, opacity;
	transform-origin: 45% 50%;
}
.pw-portal__svg { width: 100%; height: 100%; display: block; }

.pw-portal__reveal {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 84px;
	z-index: 2;
	opacity: 0;
	transform: translate3d(0, 24px, 0);
	will-change: opacity, transform;
	transition: opacity .5s ease, transform .6s cubic-bezier(.16, 1, .3, 1);
}
.pw-portal__reveal.is-shown {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
.pw-portal__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.pw-portal__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--pv-accent);
}
.pw-portal__title {
	margin: 0;
	font-family: var(--pw-serif);
	font-weight: 400;
	font-size: clamp(48px, 5.6vw, 78px);
	line-height: .96;
	text-transform: none;
	color: #fff;
}
.pw-portal__title em { font-style: italic; font-weight: 300; color: #f6ead2; }
.pw-portal__pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(150px, 1fr));
	gap: 24px;
	max-width: 580px;
}
.pw-portal__pillar {
	border-top: 1px solid rgba(255, 255, 255, .36);
	padding-top: 12px;
}
.pw-portal__pillar strong {
	display: block;
	font-family: var(--pw-serif);
	font-size: 24px;
	font-weight: 500;
	color: #fff;
	margin-bottom: 4px;
}
.pw-portal__pillar span {
	display: block;
	font-size: 12.5px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .76);
}

/* ---------- 3. "What we build." Auto-Looping 3D Coverflow Carousel + Premium Hover ---------- */
.pw-coverflow {
	position: relative;
	padding: 64px 0 84px;
	background: #07080A;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.pw-coverflow__ambient {
	position: absolute;
	inset: -12%;
	z-index: -1;
	opacity: .32;
	filter: blur(56px);
	background-size: cover;
	background-position: center;
	transition: background-image .7s ease;
	pointer-events: none;
}
.pw-coverflow__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
}
.pw-coverflow__eyebrow {
	margin: 0 0 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--pv-accent);
}
.pw-coverflow__title {
	margin: 0;
	font-family: var(--pw-serif);
	font-weight: 400;
	font-size: clamp(44px, 5vw, 68px);
	line-height: .98;
	text-transform: none;
	color: #fff;
}
.pw-coverflow__title em { font-style: italic; font-weight: 300; color: #f6ead2; }
.pw-coverflow__right {
	display: flex;
	align-items: center;
	gap: 20px;
}
.pw-coverflow__counter {
	font-family: var(--pw-serif);
	font-weight: 300;
	font-size: clamp(38px, 4.2vw, 56px);
	line-height: 1;
	color: #fff;
	font-variant-numeric: tabular-nums;
}
.pw-coverflow__counter strong { font-weight: 400; }
.pw-coverflow__counter span {
	color: rgba(255, 255, 255, .34);
	font-size: .56em;
	margin-left: 4px;
}
.pw-coverflow__nav { display: flex; gap: 9px; align-items: center; }
.pw-cf-pause {
	width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .28);
	background: rgba(255, 255, 255, .06); color: #fff;
	display: grid; place-items: center; cursor: pointer;
	transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
.pw-cf-pause:hover { background: var(--pv-accent); border-color: var(--pv-accent); color: #0A0A0A; }
.pw-cf-pause .pw-ic-play { display: none; }
.pw-coverflow.is-paused .pw-cf-pause .pw-ic-pause { display: none; }
.pw-coverflow.is-paused .pw-cf-pause .pw-ic-play { display: block; }

.pw-coverflow__stage {
	position: relative;
	height: 510px;
	perspective: 1350px;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
}
.pw-cf-card {
	position: absolute;
	width: 360px;
	height: 472px;
	border-radius: 26px;
	overflow: hidden;
	background: #14161a;
	border: 1px solid rgba(255, 255, 255, .14);
	box-shadow: 0 28px 70px rgba(0, 0, 0, .55);
	cursor: pointer;
	will-change: transform, opacity;
	transition:
		transform .55s cubic-bezier(.16, 1, .3, 1),
		opacity .42s ease,
		filter .42s ease,
		border-color .3s ease,
		box-shadow .35s ease;
}
.pw-cf-card.is-center {
	border-color: rgba(197, 160, 89, .62);
	box-shadow: 0 32px 86px rgba(0, 0, 0, .72), 0 0 0 1px rgba(197, 160, 89, .24);
	cursor: pointer;
}
/* Premium floating lift & Champagne-Gold rim bloom when hovering the center card! */
.pw-cf-card.is-center:hover {
	border-color: rgba(235, 206, 146, .95);
	box-shadow: 0 42px 100px rgba(0, 0, 0, .82), 0 0 42px rgba(197, 160, 89, .28);
}
/* Flanking side card gently sharpens & brightens on hover inviting a click */
.pw-cf-card:not(.is-center):hover {
	filter: blur(0.4px) !important;
	opacity: .88 !important;
	border-color: rgba(255, 255, 255, .42);
}

.pw-cf-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 1.15s cubic-bezier(.16, 1, .3, 1);
}
.pw-cf-card.is-center:hover .pw-cf-card__img { transform: scale(1.06); }
.pw-cf-card__shine {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(125deg, rgba(255, 255, 255, 0) 25%, rgba(255, 244, 218, .22) 50%, rgba(255, 255, 255, 0) 75%);
	transform: translateX(-100%);
	transition: opacity .35s ease;
}
.pw-cf-card.is-center:hover .pw-cf-card__shine {
	opacity: 1;
	animation: pw-card-shine 1.1s cubic-bezier(.16, 1, .3, 1) forwards;
}
@keyframes pw-card-shine {
	from { transform: translateX(-100%); }
	to { transform: translateX(100%); }
}
.pw-cf-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 8, 12, .10) 0%, rgba(6, 8, 12, .04) 44%, rgba(6, 8, 12, .92) 100%);
	pointer-events: none;
}
.pw-cf-card__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 24px 24px 26px;
	z-index: 2;
}
.pw-cf-card__tag {
	display: inline-block;
	margin-bottom: 8px;
	padding: 4px 11px;
	border-radius: 999px;
	background: rgba(197, 160, 89, .2);
	border: 1px solid rgba(197, 160, 89, .48);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #f3e4bc;
}
.pw-cf-card__title {
	margin: 0 0 6px;
	font-family: var(--pw-serif);
	font-size: 31px;
	line-height: 1.04;
	font-weight: 500;
	color: #fff;
}
.pw-cf-card__place {
	margin: 0 0 16px;
	font-size: 13px;
	color: rgba(255, 255, 255, .76);
}
.pw-cf-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 38px;
	padding: 0 18px;
	border-radius: 999px;
	background: #fff;
	color: #0A0A0A;
	font-size: 13px;
	font-weight: 600;
	opacity: 0;
	transform: translateY(8px);
	pointer-events: none;
	transition: opacity .35s ease, transform .35s ease, background-color .22s ease;
}
.pw-cf-card.is-center .pw-cf-card__link {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.pw-cf-card__link:hover { background: var(--pv-accent); color: #0A0A0A; }

/* Animated live auto-loop progress pill dots */
.pw-coverflow__dots {
	margin-top: 26px;
	display: flex;
	justify-content: center;
	gap: 8px;
}
.pw-cf-dot {
	position: relative;
	overflow: hidden;
	width: 30px;
	height: 3.5px;
	border-radius: 99px;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, .2);
	cursor: pointer;
	transition: width .35s ease, background-color .25s ease;
}
.pw-cf-dot span {
	display: block;
	height: 100%;
	width: 0%;
	background: var(--pv-accent);
}
.pw-cf-dot.is-active { width: 54px; }
.pw-cf-dot.is-active.is-running span {
	animation: pw-dot-fill 1.8s linear forwards;
}
.pw-coverflow.is-paused .pw-cf-dot.is-active.is-running span,
.pw-coverflow.is-hovered .pw-cf-dot.is-active.is-running span {
	animation-play-state: paused;
}
@keyframes pw-dot-fill { from { width: 0%; } to { width: 100%; } }

/* ---------- 4. Gliding White Word-by-Word Editorial Reveal Sheet ---------- */
.pw-sheet {
	position: relative;
	z-index: 4;
	background: #fff;
	border-radius: 36px 36px 0 0;
	margin-top: -28px;
	padding-top: 64px;
	padding-bottom: 84px;
}
.pw-reveal-head {
	text-align: center;
	max-width: 860px;
	margin: 0 auto 56px;
}
.pw-reveal-eyebrow {
	margin: 0 0 14px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--pv-accent);
}
.pw-reveal-text {
	margin: 0;
	font-family: var(--pw-serif);
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.34;
	font-weight: 400;
}
.pw-reveal-word {
	color: rgba(10, 10, 10, .16);
	transition: color .28s ease;
}
.pw-reveal-word.is-lit { color: #0A0A0A; }

/* ---------- 4B. Interactive 3D Isometric Architectural Process Assembly ---------- */
.pw-3dproc {
	padding-top: 44px;
	border-top: 1px solid rgba(10, 10, 10, .09);
}
.pw-3dproc__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 34px;
	flex-wrap: wrap;
}
.pw-3dproc__title {
	margin: 0;
	font-family: var(--pw-serif);
	font-weight: 400;
	font-size: clamp(38px, 4.4vw, 60px);
	line-height: .98;
	letter-spacing: -.015em;
	color: #0A0A0A;
}
.pw-3dproc__title em {
	font-style: italic;
	font-weight: 300;
	color: #8c6d2f;
}
.pw-3dproc__toggles {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.pw-3dproc__mode {
	display: inline-flex;
	padding: 4px;
	border-radius: 999px;
	background: #F4F3EF;
	border: 1px solid rgba(10, 10, 10, .09);
}
.pw-3dmode-btn {
	height: 36px;
	padding: 0 18px;
	border-radius: 999px;
	border: 0;
	background: transparent;
	color: #52525B;
	font-family: var(--pv-font);
	font-size: 12.5px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .24s ease, color .24s ease, box-shadow .24s ease;
}
.pw-3dmode-btn.is-active {
	background: #0A0A0A;
	color: #fff;
	box-shadow: 0 6px 16px rgba(10, 10, 10, .16);
}

.pw-3dproc__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
	gap: 32px;
	align-items: stretch;
}

/* Left: Photorealistic V-Ray 3D Architectural Diorama Studio Stage */
.pw-3dstage {
	position: relative;
	min-height: 550px;
	border-radius: 28px;
	background:
		radial-gradient(ellipse 85% 55% at 62% 48%, rgba(212, 162, 86, .24) 0%, rgba(154, 114, 58, .08) 42%, rgba(11, 15, 23, 0) 76%),
		linear-gradient(180deg, #0E131D 0%, #101520 52%, #0B0F17 100%);
	border: 1px solid rgba(197, 160, 89, .32);
	box-shadow: 0 34px 76px rgba(10, 10, 10, .22);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 20px 22px;
	color: #fff;
	isolation: isolate;
}
/* Matching architectural twilight studio ambient halo + subtle CAD drafting frame */
.pw-3dstage__env {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 75% 42%, rgba(236, 184, 102, .16) 0%, transparent 50%),
		radial-gradient(circle at 22% 76%, rgba(44, 156, 182, .12) 0%, transparent 46%);
}
.pw-3dstage__grid {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	opacity: .09;
	background-image:
		linear-gradient(to right, rgba(246, 234, 210, .42) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(246, 234, 210, .42) 1px, transparent 1px);
	background-size: 48px 48px;
	transition: opacity .35s ease;
}
.pw-3dproc.is-clean .pw-3dstage__grid,
.pw-3dproc.is-clean .pw-3dstage__corners,
.pw-3dproc.is-clean .pw-3dphoto-pins {
	opacity: 0 !important;
}
.pw-3dstage__corners {
	position: absolute;
	inset: 14px;
	z-index: 3;
	pointer-events: none;
	transition: opacity .35s ease;
}
.pw-3dstage__corners span {
	position: absolute;
	width: 14px;
	height: 14px;
	border-color: rgba(197, 160, 89, .55);
	border-style: solid;
	border-width: 0;
}
.pw-3dstage__corners span:nth-child(1) { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.pw-3dstage__corners span:nth-child(2) { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.pw-3dstage__corners span:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.pw-3dstage__corners span:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }

.pw-3dstage__hud-top,
.pw-3dstage__hud-bot {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	pointer-events: none;
}
.pw-3dstage__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(8, 11, 17, .76);
	border: 1px solid rgba(255, 255, 255, .16);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .94);
}
.pw-3dstage__badge i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pv-accent);
	box-shadow: 0 0 10px var(--pv-accent);
	animation: pw-3d-pulse 2s ease-in-out infinite;
}
@keyframes pw-3d-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .45; transform: scale(.78); }
}
.pw-3dstage__coord {
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(8, 11, 17, .68);
	border: 1px solid rgba(197, 160, 89, .36);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #f3e4bc;
}
.pw-3dstage__rail {
	display: flex;
	align-items: center;
	gap: 6px;
	pointer-events: auto;
}
.pw-3dstage__pill {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .22);
	background: rgba(8, 11, 17, .72);
	color: rgba(255, 255, 255, .74);
	font-family: var(--pw-serif);
	font-size: 15px;
	font-weight: 500;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .22s ease;
}
.pw-3dstage__pill:hover { border-color: var(--pv-accent); color: #fff; transform: translateY(-1px); }
.pw-3dstage__pill.is-active {
	background: var(--pv-accent);
	border-color: var(--pv-accent);
	color: #0A0A0A;
	font-weight: 700;
}
.pw-3dstage__controls {
	display: flex;
	align-items: center;
	gap: 7px;
	pointer-events: auto;
}
.pw-3d-ctrl {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .26);
	background: rgba(8, 11, 17, .74);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	pointer-events: auto;
	transition: background-color .22s ease, border-color .22s ease, color .22s ease;
}
.pw-3d-ctrl:hover { background: var(--pv-accent); border-color: var(--pv-accent); color: #0A0A0A; }
.pw-3d-ctrl--solid { background: #fff; border-color: #fff; color: #0A0A0A; }
.pw-3d-ctrl .pw-ic-play { display: none; }
.pw-3dproc.is-paused .pw-3d-ctrl .pw-ic-pause { display: none; }
.pw-3dproc.is-paused .pw-3d-ctrl .pw-ic-play { display: block; }

/* Photorealistic 3D Perspective Parallax Scene */
.pw-3dphoto-scene {
	position: absolute;
	inset: 0;
	z-index: 1;
	perspective: 1200px;
	overflow: hidden;
}
.pw-3dphoto-tilt {
	position: absolute;
	inset: -2.5%;
	transform-style: preserve-3d;
	will-change: transform;
	transition: transform .65s cubic-bezier(.16, 1, .3, 1);
}
.pw-3dstage.is-tilting .pw-3dphoto-tilt { transition: none; }

.pw-3dphoto-layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1.035);
	will-change: opacity, transform;
	transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.16, 1, .3, 1);
	pointer-events: none;
}
.pw-3dphoto-layer.is-active {
	opacity: 1;
	transform: scale(1.0);
	z-index: 2;
}
.pw-3dphoto-layer img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 54%;
	display: block;
}

/* Floating 3D Architectural Callout Pins (separate Z-depth for genuine 3D parallax!) */
.pw-3dphoto-pins {
	position: absolute;
	inset: 0;
	z-index: 4;
	transform: translateZ(34px);
	transition: opacity .35s ease;
}
.pw-3dpin {
	position: absolute;
	transform: translate(-50%, -50%) translateY(8px);
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(8, 11, 17, .82);
	border: 1px solid rgba(197, 160, 89, .62);
	box-shadow: 0 12px 26px rgba(0, 0, 0, .48);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #f6ead2;
	white-space: nowrap;
	opacity: 0;
	transition: opacity .45s ease .18s, transform .55s cubic-bezier(.16, 1, .3, 1) .18s;
}
.pw-3dphoto-layer.is-active .pw-3dpin {
	opacity: 1;
	transform: translate(-50%, -50%) translateY(0);
}
.pw-3dpin i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pv-accent);
	box-shadow: 0 0 8px var(--pv-accent);
}

/* Specular Studio Reflection Glare following cursor */
.pw-3dphoto-glare {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(circle at 50% 50%, rgba(255, 236, 196, .16) 0%, rgba(255, 255, 255, 0) 56%);
	transition: opacity .4s ease;
}
.pw-3dstage.is-tilting .pw-3dphoto-glare { opacity: 1; }

/* Golden Architectural Laser Elevation Scan Sweep on Stage Transition */
.pw-3dphoto-scan {
	position: absolute;
	left: 0;
	right: 0;
	top: -12%;
	height: 14%;
	z-index: 4;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(180deg, rgba(197, 160, 89, 0) 0%, rgba(246, 224, 168, .28) 78%, rgba(255, 240, 200, .88) 96%, rgba(197, 160, 89, 0) 100%);
}
.pw-3dphoto-scan.is-sweeping {
	animation: pw-laser-sweep .82s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes pw-laser-sweep {
	0% { transform: translate3d(0, 0, 0); opacity: 0; }
	15% { opacity: 1; }
	85% { opacity: .9; }
	100% { transform: translate3d(0, 820%, 0); opacity: 0; }
}

/* Right: Synced 5-Step Governance Panel */
.pw-3dsteps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.pw-3dstep {
	position: relative;
	border-radius: 20px;
	background: #F8F7F4;
	border: 1px solid rgba(10, 10, 10, .08);
	overflow: hidden;
	transition: background-color .28s ease, border-color .28s ease, box-shadow .32s ease, transform .25s ease;
}
.pw-3dstep:hover {
	border-color: rgba(197, 160, 89, .62);
}
.pw-3dstep.is-active {
	background: #FFFFFF;
	border-color: #0A0A0A;
	box-shadow: 0 20px 44px rgba(10, 10, 10, .08);
}
.pw-3dstep__btn {
	width: 100%;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 16px;
	padding: 15px 18px;
	text-align: left;
	cursor: pointer;
}
.pw-3dstep__num {
	font-family: var(--pw-serif);
	font-size: 30px;
	line-height: 1;
	font-weight: 400;
	color: rgba(10, 10, 10, .3);
	transition: color .25s ease;
}
.pw-3dstep.is-active .pw-3dstep__num { color: var(--pv-accent); }
.pw-3dstep__meta { min-width: 0; }
.pw-3dstep__title {
	display: block;
	font-family: var(--pw-serif);
	font-size: 23px;
	line-height: 1.12;
	font-weight: 600;
	color: #0A0A0A;
	margin-bottom: 3px;
}
.pw-3dstep__sub {
	display: block;
	font-size: 12px;
	color: #71717A;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.pw-3dstep__badge {
	padding: 5px 11px;
	border-radius: 999px;
	background: #FFFFFF;
	border: 1px solid rgba(10, 10, 10, .12);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #27272A;
	white-space: nowrap;
}
.pw-3dstep.is-active .pw-3dstep__badge {
	background: #0A0A0A;
	border-color: #0A0A0A;
	color: #f6ead2;
}
.pw-3dstep__body {
	display: none;
	padding: 0 20px 20px 64px;
}
.pw-3dstep.is-active .pw-3dstep__body {
	display: block;
	animation: pw-step-in .38s cubic-bezier(.16, 1, .3, 1);
}
@keyframes pw-step-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}
.pw-3dstep__body p {
	margin: 0 0 12px;
	font-size: 13.5px;
	line-height: 1.62;
	color: #4A4A52;
}
.pw-3dstep__signoff {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #8c6d2f;
}
.pw-3dstep__signoff i {
	width: 16px;
	height: 1.5px;
	background: var(--pv-accent);
	display: inline-block;
}
.pw-3dstep__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2.5px;
	background: rgba(10, 10, 10, .06);
}
.pw-3dstep__progress span {
	display: block;
	height: 100%;
	width: 100%;
	transform-origin: left center;
	transform: scaleX(0);
	background: linear-gradient(90deg, #0A0A0A, var(--pv-accent));
	will-change: transform;
}
.pw-3dstep.is-active.is-running .pw-3dstep__progress span {
	animation: pw-step-bar 3.6s linear forwards;
}
@keyframes pw-step-bar {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}
.pw-3dproc.is-paused .pw-3dstep.is-active.is-running .pw-3dstep__progress span,
.pw-3dproc.is-hovered .pw-3dstep.is-active.is-running .pw-3dstep__progress span {
	animation-play-state: paused;
}

@media (max-width: 900px) {
	.pw-3dproc__layout { grid-template-columns: 1fr; }
	.pw-3dstage { min-height: 460px; }
	.pw-portal__pillars { grid-template-columns: 1fr; gap: 14px; }
	.pw-coverflow__stage { height: 430px; }
	.pw-cf-card { width: 290px; height: 400px; }
}
@media (max-width: 680px) {
	.pw-3dstack { width: 176px; height: 176px; transform: translate3d(0, 56px, 0) rotateX(58deg) rotateZ(-42deg); }
	.pw-3dlayer__pin { display: none; }
	.pw-3dstep__btn { grid-template-columns: auto 1fr; gap: 12px; padding: 15px 16px; }
	.pw-3dstep__badge { display: none; }
	.pw-3dstep__body { padding: 0 16px 16px 48px; }
	.pw-story { height: 340vh; }
	.pw-portal { height: 195vh; }
	.pw-chapter--right { justify-self: start; text-align: left; }
	.pw-chapter--right .pw-chapter__num { flex-direction: row; }
	.pw-chapter--right .pw-chapter__actions { justify-content: flex-start; }
	.pw-story__hud-row { grid-template-columns: 1fr auto; }
	.pw-story__scroll { grid-column: 1; justify-self: start; }
	.pw-minimap { grid-column: 2; }
	.pw-coverflow { padding: 48px 0 72px; }
	.pw-coverflow__head { flex-direction: column; align-items: flex-start; gap: 16px; }
	.pw-sheet { padding-top: 44px; border-radius: 26px 26px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.pw-story, .pw-portal { height: auto; }
	.pw-story__sticky, .pw-portal__sticky { position: relative; }
	.pw-portal__mask-wrap { display: none; }
	.pw-portal__reveal { opacity: 1; transform: none; }
	.pw-reveal-word { color: #0A0A0A; }
	[data-pw-reveal-up], .pw-phase { opacity: 1 !important; transform: none !important; }
	.pw-metric__line, .pw-process__beam { transform: scaleX(1) !important; }
}

/* ==========================================================================
   SHARED EDITORIAL TYPOGRAPHY & REVEAL UTILITIES (Sections 5–8)
   ========================================================================== */
.pw-eyebrow {
	margin: 0 0 12px;
	font-family: var(--pv-font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--pv-accent);
}
.pw-eyebrow--dark { color: #9c7a35; }
.pw-display {
	margin: 0;
	font-family: var(--pw-serif);
	font-weight: 400;
	font-size: clamp(44px, 5vw, 72px);
	line-height: .96;
	letter-spacing: -.015em;
	color: #fff;
}
.pw-display em {
	font-style: italic;
	font-weight: 300;
	color: #f6ead2;
}
.pw-display--dark { color: #0A0A0A; }
.pw-display--dark em { color: #8c6d2f; }

.pw-lead-copy {
	margin: 20px 0 0;
	max-width: 470px;
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255, 255, 255, .76);
}

/* Pure-GPU scroll-in reveal */
[data-pw-reveal-up] {
	opacity: 0;
	transform: translate3d(0, 26px, 0);
	transition: opacity .75s cubic-bezier(.16, 1, .3, 1), transform .85s cubic-bezier(.16, 1, .3, 1);
	will-change: opacity, transform;
}
[data-pw-reveal-up].is-in {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* ---------- 5. Full-Bleed Architectural Legacy & Animated Count-Up Metrics ---------- */
.pw-metrics {
	position: relative;
	padding: 96px 0 104px;
	background: #07080A;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.pw-metrics__bg {
	position: absolute;
	inset: -12% 0;
	z-index: 1;
	will-change: transform;
	transform: translate3d(0, 0, 0) scale(1.06);
}
.pw-metrics__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(.82) contrast(1.05);
}
.pw-metrics__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(7, 8, 10, .82) 0%, rgba(7, 8, 10, .62) 50%, rgba(7, 8, 10, .9) 100%),
		linear-gradient(90deg, rgba(7, 8, 10, .88) 0%, rgba(7, 8, 10, .48) 55%, rgba(7, 8, 10, .74) 100%);
}
.pw-metrics__inner {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.12fr);
	gap: 56px;
	align-items: center;
}
.pw-metrics__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px 36px;
}
.pw-metric {
	position: relative;
	padding-top: 22px;
}
.pw-metric__line {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--pv-accent) 0%, rgba(255, 255, 255, .28) 100%);
	transform-origin: left center;
	transform: scaleX(0);
	transition: transform .9s cubic-bezier(.16, 1, .3, 1);
	will-change: transform;
}
.pw-metrics.is-in .pw-metric__line { transform: scaleX(1); }
.pw-metric:nth-child(2) .pw-metric__line { transition-delay: .12s; }
.pw-metric:nth-child(3) .pw-metric__line { transition-delay: .22s; }
.pw-metric:nth-child(4) .pw-metric__line { transition-delay: .32s; }

.pw-metric__val {
	display: block;
	font-family: var(--pw-serif);
	font-weight: 400;
	font-size: clamp(46px, 4.6vw, 68px);
	line-height: 1;
	letter-spacing: -.02em;
	color: #fff;
	font-variant-numeric: tabular-nums;
	margin-bottom: 10px;
}
.pw-metric__label {
	display: block;
	font-size: 14.5px;
	font-weight: 600;
	color: #f6ead2;
	margin-bottom: 4px;
}
.pw-metric__sub {
	display: block;
	font-size: 12.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, .64);
}

/* ---------- 6. "How Every Project Is Delivered" 3D Rotating Photo-Card Orbit ---------- */
.pw-process {
	position: relative;
	padding: 84px 0 92px;
	background: #FFFFFF;
	color: #0A0A0A;
	overflow: hidden;
}
.pw-process__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 32px;
	flex-wrap: wrap;
}
.pw-process__intro {
	margin: 0;
	max-width: 420px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #52525B;
}
.pw-process__controls {
	margin-bottom: 18px;
}
.pw-process__rail {
	position: relative;
	height: 2px;
	background: rgba(10, 10, 10, .10);
	border-radius: 99px;
	margin-bottom: 18px;
	overflow: hidden;
}
.pw-process__beam {
	display: block;
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, #0A0A0A 0%, var(--pv-accent) 60%, #e4c686 100%);
	transform-origin: left center;
	transform: scaleX(0);
	transition: transform 1.25s cubic-bezier(.16, 1, .3, 1);
	will-change: transform;
}
.pw-process.is-in .pw-process__beam { transform: scaleX(1); }

.pw-process__bar-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.pw-process__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pw-process__step {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 36px;
	padding: 0 15px;
	border-radius: 999px;
	border: 1px solid rgba(10, 10, 10, .12);
	background: #F9F8F5;
	color: #3F3F46;
	font-family: var(--pv-font);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color .24s ease, border-color .24s ease, color .24s ease, transform .22s ease;
}
.pw-process__step span {
	font-family: var(--pw-serif);
	font-size: 15px;
	font-weight: 600;
	color: #9c7a35;
}
.pw-process__step:hover {
	border-color: rgba(197, 160, 89, .75);
	color: #0A0A0A;
	transform: translateY(-1px);
}
.pw-process__step.is-active {
	background: #0A0A0A;
	border-color: #0A0A0A;
	color: #fff;
}
.pw-process__step.is-active span { color: var(--pv-accent); }

.pw-process__nav {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pw-orbit-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid rgba(10, 10, 10, .16);
	background: #FFFFFF;
	color: #0A0A0A;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color .22s ease, border-color .22s ease, color .22s ease, transform .2s ease;
}
.pw-orbit-btn:hover {
	border-color: var(--pv-accent);
	background: var(--pv-accent);
	color: #0A0A0A;
	transform: translateY(-1px);
}
.pw-orbit-btn--dark {
	background: #0A0A0A;
	border-color: #0A0A0A;
	color: #fff;
}
.pw-orbit-btn--pause .pw-ic-play { display: none; }
.pw-process.is-paused .pw-orbit-btn--pause .pw-ic-pause { display: none; }
.pw-process.is-paused .pw-orbit-btn--pause .pw-ic-play { display: block; }

/* 3D Rotating Orbital Stage */
.pw-orbit {
	position: relative;
	height: 470px;
	perspective: 1450px;
	display: flex;
	align-items: center;
	justify-content: center;
	user-select: none;
	touch-action: pan-y;
}
.pw-orbit__stage {
	position: relative;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-style: preserve-3d;
}

.pw-phase {
	position: absolute;
	width: 326px;
	height: 422px;
	border-radius: 26px;
	overflow: hidden;
	background: #0D0F13;
	border: 1px solid rgba(255, 255, 255, .2);
	box-shadow: 0 26px 64px rgba(10, 10, 10, .24);
	cursor: pointer;
	will-change: transform, opacity;
	transition: border-color .3s ease, box-shadow .32s ease;
}
.pw-phase.is-front {
	border-color: rgba(197, 160, 89, .88);
	box-shadow: 0 34px 80px rgba(10, 10, 10, .34), 0 0 0 1px rgba(197, 160, 89, .34);
}
.pw-phase:hover {
	border-color: rgba(235, 206, 146, .95);
	box-shadow: 0 40px 92px rgba(10, 10, 10, .42), 0 0 34px rgba(197, 160, 89, .26);
}
.pw-phase__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.pw-phase__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .9s cubic-bezier(.16, 1, .3, 1);
}
.pw-phase.is-front:hover .pw-phase__bg img,
.pw-phase:hover .pw-phase__bg img {
	transform: scale(1.07);
}
.pw-phase__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(7, 8, 10, .44) 0%, rgba(7, 8, 10, .28) 34%, rgba(7, 8, 10, .82) 72%, rgba(7, 8, 10, .96) 100%);
}
.pw-phase__shine {
	position: absolute;
	inset: 0;
	z-index: 3;
	pointer-events: none;
	opacity: 0;
	background: linear-gradient(125deg, rgba(255, 255, 255, 0) 24%, rgba(255, 244, 218, .22) 50%, rgba(255, 255, 255, 0) 76%);
	transform: translateX(-100%);
	transition: opacity .32s ease;
}
.pw-phase:hover .pw-phase__shine {
	opacity: 1;
	animation: pw-card-shine 1s cubic-bezier(.16, 1, .3, 1) forwards;
}
.pw-phase__content {
	position: relative;
	z-index: 4;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px 24px 24px;
}
.pw-phase__top {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.pw-phase__num {
	font-family: var(--pw-serif);
	font-size: 38px;
	font-weight: 400;
	line-height: 1;
	color: rgba(255, 255, 255, .72);
	text-shadow: 0 4px 16px rgba(0, 0, 0, .45);
	transition: color .25s ease;
}
.pw-phase.is-front .pw-phase__num,
.pw-phase:hover .pw-phase__num { color: #f6ead2; }

.pw-phase__bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}
.pw-phase__title {
	margin: 0 0 9px;
	font-family: var(--pw-serif);
	font-size: 27px;
	font-weight: 500;
	line-height: 1.08;
	color: #fff;
	text-shadow: 0 3px 14px rgba(0, 0, 0, .42);
}
.pw-phase__text {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.58;
	color: rgba(255, 255, 255, .84);
}
.pw-phase__tag {
	display: inline-block;
	padding: 6px 13px;
	border-radius: 999px;
	background: rgba(197, 160, 89, .22);
	border: 1px solid rgba(197, 160, 89, .58);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #f6ead2;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.pw-phase.is-front .pw-phase__tag,
.pw-phase:hover .pw-phase__tag {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: #0A0A0A;
}

/* ---------- 7. Interactive Draggable Before / After Transformation Showcase ---------- */
.pw-compare {
	position: relative;
	padding: 88px 0 96px;
	background: #07080A;
	color: #fff;
}
.pw-compare__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 34px;
	flex-wrap: wrap;
}
.pw-compare__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.pw-compare__tab {
	height: 40px;
	padding: 0 17px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .04);
	color: rgba(255, 255, 255, .76);
	font-family: var(--pv-font);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .03em;
	cursor: pointer;
	transition: background-color .24s ease, border-color .24s ease, color .24s ease, transform .22s ease;
}
.pw-compare__tab:hover {
	border-color: rgba(255, 255, 255, .44);
	color: #fff;
	transform: translateY(-1px);
}
.pw-compare__tab.is-active {
	background: #FFFFFF;
	border-color: #FFFFFF;
	color: #0A0A0A;
}

.pw-ba {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 620px;
	border-radius: 28px;
	overflow: hidden;
	background: #121418;
	border: 1px solid rgba(197, 160, 89, .36);
	box-shadow: 0 36px 90px rgba(0, 0, 0, .62);
	cursor: ew-resize;
	user-select: none;
	touch-action: pan-y;
	isolation: isolate;
}
.pw-ba.is-swapping .pw-ba__img { opacity: .35; }
.pw-ba__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	transition: opacity .26s ease;
}
.pw-ba__before-wrap {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 2;
	will-change: transform;
	transform: translate3d(-50%, 0, 0);
}
.pw-ba__img--before {
	will-change: transform;
	transform: translate3d(50%, 0, 0);
}
.pw-ba__divider {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 2px;
	z-index: 4;
	background: linear-gradient(180deg, rgba(255, 255, 255, .9), var(--pv-accent), rgba(255, 255, 255, .9));
	box-shadow: 0 0 18px rgba(0, 0, 0, .65);
	will-change: transform;
	pointer-events: none;
}
.pw-ba__handle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 2px solid var(--pv-accent);
	background: rgba(10, 11, 14, .88);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: ew-resize;
	pointer-events: auto;
	box-shadow: 0 12px 32px rgba(0, 0, 0, .55), 0 0 0 6px rgba(197, 160, 89, .18);
	transition: background-color .22s ease, color .22s ease, transform .22s ease;
}
.pw-ba__handle:hover,
.pw-ba.is-dragging .pw-ba__handle {
	background: var(--pv-accent);
	color: #0A0A0A;
	transform: translate(-50%, -50%) scale(1.08);
}
.pw-ba__badge {
	position: absolute;
	top: 20px;
	z-index: 5;
	padding: 7px 14px;
	border-radius: 999px;
	background: rgba(8, 10, 14, .72);
	border: 1px solid rgba(255, 255, 255, .2);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #fff;
	pointer-events: none;
}
.pw-ba__badge--before { left: 20px; }
.pw-ba__badge--after {
	right: 20px;
	border-color: rgba(197, 160, 89, .55);
	color: #f6ead2;
}
.pw-ba__hint {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	z-index: 5;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(8, 10, 14, .68);
	border: 1px solid rgba(255, 255, 255, .16);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
	pointer-events: none;
	transition: opacity .35s ease;
}
.pw-ba.is-touched .pw-ba__hint { opacity: 0; }

.pw-compare__specs {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}
.pw-compare__spec {
	padding: 18px 22px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .1);
}
.pw-compare__spec span {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--pv-accent);
	margin-bottom: 6px;
}
.pw-compare__spec strong {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: rgba(255, 255, 255, .9);
}

/* ---------- 8. PHEME-Style Full-Bleed Architectural Closing CTA ("Start yours.") ---------- */
.pw-closing {
	position: relative;
	padding: 112px 0 120px;
	background: #07080A;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}
.pw-closing__bg {
	position: absolute;
	inset: -12% 0;
	z-index: 1;
	will-change: transform;
	transform: translate3d(0, 0, 0) scale(1.06);
}
.pw-closing__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.pw-closing__shade {
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(7, 8, 10, .72) 0%, rgba(7, 8, 10, .38) 46%, rgba(7, 8, 10, .96) 100%),
		linear-gradient(90deg, rgba(7, 8, 10, .82) 0%, rgba(7, 8, 10, .34) 55%, rgba(7, 8, 10, .66) 100%);
}
.pw-closing__inner {
	position: relative;
	z-index: 4;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: 48px;
	align-items: end;
}
.pw-closing__title {
	margin: 0 0 18px;
	font-family: var(--pw-serif);
	font-weight: 400;
	font-size: clamp(64px, 7.6vw, 112px);
	line-height: .9;
	letter-spacing: -.02em;
	color: #fff;
}
.pw-closing__title em {
	font-style: italic;
	font-weight: 300;
	color: #f6ead2;
}
.pw-closing__text {
	margin: 0;
	max-width: 480px;
	font-size: 15px;
	line-height: 1.68;
	color: rgba(255, 255, 255, .82);
}
.pw-closing__card {
	padding: 32px;
	border-radius: 26px;
	background: rgba(10, 11, 14, .76);
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: 0 28px 70px rgba(0, 0, 0, .52);
}
.pw-closing__meta {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 20px;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.pw-closing__meta-label {
	display: block;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--pv-accent);
	margin-bottom: 8px;
}
.pw-closing__meta-val {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .86);
}
.pw-closing__phone {
	display: inline-block;
	font-family: var(--pw-serif);
	font-size: 26px;
	font-weight: 500;
	line-height: 1.15;
	color: #fff;
	transition: color .22s ease;
}
.pw-closing__phone:hover { color: var(--pv-accent); }
.pw-closing__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.pw-btn-white--lg {
	height: 48px;
	padding: 0 24px;
	border: 0;
	cursor: pointer;
	font-family: var(--pv-font);
	font-size: 13.5px;
}
.pw-btn-glass {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .07);
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	transition: background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.pw-btn-glass:hover {
	background: rgba(255, 255, 255, .16);
	border-color: var(--pv-accent);
	transform: translateY(-2px);
}
.pw-closing__wordmark {
	position: absolute;
	left: 50%;
	bottom: -18px;
	transform: translateX(-50%);
	z-index: 3;
	font-family: 'Bebas Neue', Impact, sans-serif;
	font-size: clamp(92px, 16vw, 220px);
	line-height: .82;
	letter-spacing: .14em;
	color: rgba(255, 255, 255, .06);
	white-space: nowrap;
	pointer-events: none;
	user-select: none;
}

@media (max-width: 900px) {
	.pw-metrics__inner,
	.pw-closing__inner { grid-template-columns: 1fr; gap: 36px; }
	.pw-orbit { height: 420px; }
	.pw-phase { width: 280px; height: 380px; }
	.pw-compare__specs { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.pw-metrics { padding: 72px 0 80px; }
	.pw-metrics__grid { gap: 24px 20px; }
	.pw-process { padding: 64px 0 72px; }
	.pw-orbit { height: 390px; }
	.pw-phase { width: 260px; height: 356px; border-radius: 22px; }
	.pw-phase__title { font-size: 23px; }
	.pw-compare { padding: 64px 0 72px; }
	.pw-ba { aspect-ratio: 4 / 3; border-radius: 20px; }
	.pw-ba__badge { top: 12px; font-size: 9.5px; padding: 5px 10px; }
	.pw-ba__badge--before { left: 12px; }
	.pw-ba__badge--after { right: 12px; }
	.pw-closing { padding: 80px 0 112px; }
	.pw-closing__card { padding: 24px 20px; }
	.pw-closing__meta { grid-template-columns: 1fr; }
}
