/* Projects / Case studies — extends main.css tokens */

/* —— List page —— body giữ nền tối (khớp projects.html; không dùng #eceef2 của about.css) —— */
.projects-page {
	padding-top: 0;
	position: relative;
	background: transparent;
	--projects-paper: #eceef2;
	--projects-mid: #d4d6dc;
	--projects-surface: #f3f4f6;
	--projects-elevated: #f8f9fb;
	--projects-ink: #1F1E23;
	--projects-muted: #565860;
	--projects-line: #caced6;
}

.projects-page .container {
	max-width: var(--h2-max);
	padding-left: var(--h2-pad);
	padding-right: var(--h2-pad);
}

body.page-projects,
body:has(.projects-page) {
	background: #1F1E23 url('../images/bg.png') top center / 100% 100% no-repeat;
	--cyan: #2abeec;
}

body:has(.projects-page) .h2-nav:not(.is-scrolled),
body.page-project-detail .h2-nav:not(.is-scrolled),
body:has(.project-detail) .h2-nav:not(.is-scrolled) {
	border-bottom-color: transparent;
	background: transparent;
}

body.page-project-detail {
	--cyan: #2abeec;
	--cyan-dim: #1aa8d4;
	--cyan-glow: rgba(42, 190, 236, 0.35);
	--text-muted: #b8b6bd;
}

/* =====================================================
   HERO — typographic studio (headline left, copy right, photo below)
===================================================== */
.projects-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	padding: calc(var(--h2-nav-h, var(--nav-h)) + 36px) 0 0;
	background:
		radial-gradient(90% 70% at 6% 12%, rgba(42, 190, 236, 0.34) 0%, transparent 52%),
		radial-gradient(70% 55% at 96% 8%, rgba(42, 190, 236, 0.16) 0%, transparent 48%),
		radial-gradient(80% 50% at 50% 100%, rgba(42, 190, 236, 0.18) 0%, transparent 58%),
		linear-gradient(168deg, rgba(12, 28, 38, 0.78) 0%, rgba(8, 14, 20, 0.88) 46%, rgba(31, 30, 35, 0.94) 100%);
}

.projects-hero-atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.projects-hero-atmosphere::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.22;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16  0 0 0 0 0.74  0 0 0 0 0.92  0 0 0 0.45 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.projects-hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(8px);
	will-change: transform, opacity;
}

.projects-hero-orb--a {
	left: -12%;
	top: -8%;
	width: min(70vw, 780px);
	height: min(52vw, 560px);
	background: radial-gradient(circle, rgba(42, 190, 236, 0.5) 0%, rgba(42, 190, 236, 0.12) 38%, transparent 68%);
	animation: projects-hero-orb-a 16s ease-in-out infinite alternate;
}

.projects-hero-orb--b {
	right: -18%;
	top: 18%;
	width: min(48vw, 520px);
	height: min(48vw, 520px);
	background: radial-gradient(circle, rgba(90, 210, 240, 0.28) 0%, rgba(20, 80, 110, 0.12) 42%, transparent 70%);
	animation: projects-hero-orb-b 22s ease-in-out infinite alternate;
}

@keyframes projects-hero-orb-a {
	from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
	to { transform: translate3d(8%, 10%, 0) scale(1.12); opacity: 1; }
}

@keyframes projects-hero-orb-b {
	from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.7; }
	to { transform: translate3d(-12%, -6%, 0) scale(1.18); opacity: 1; }
}

.projects-hero-top,
.projects-hero-shot {
	position: relative;
	z-index: 1;
}

.projects-hero-top {
	padding-top: 0;
	padding-bottom: clamp(28px, 4vw, 48px);
}

.projects-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 36ch);
	grid-template-rows: auto auto;
	column-gap: clamp(24px, 3vw, 48px);
	align-items: start;
}

/* Wrapper giữ layout; màu / size / line-height / align lấy từ TinyMCE (inline style). */
.projects-hero-title {
	grid-column: 1;
	grid-row: 1 / 3;
	min-width: 0;
	color: #fff;
}

.projects-hero-title > *:first-child {
	margin-top: 0;
}

.projects-hero-title h1,
.projects-hero-title :is(h2, h3.taj-h2, h1.taj-h1--from-h2),
.projects-hero-title p,
.projects-hero-headline,
.projects-hero-subhead {
	margin: 0;
	font-family: "Archivo", var(--font);
	font-weight: 800;
	text-transform: uppercase;
	min-width: 0;
}

/* Fallback khi editor chưa set — inline style từ TinyMCE luôn ghi đè. */
.projects-hero-title h1:not([style*="font-size"]),
.projects-hero-headline:not([style*="font-size"]) {
	font-size: clamp(52px, 10.4vw, 148px);
}

.projects-hero-title h1:not([style*="letter-spacing"]),
.projects-hero-headline:not([style*="letter-spacing"]) {
	letter-spacing: -0.045em;
}

.projects-hero-title h1:not([style*="line-height"]),
.projects-hero-headline:not([style*="line-height"]) {
	line-height: 0.86;
}

.projects-hero-title h1:not([style*="color"]),
.projects-hero-headline:not([style*="color"]) {
	color: #fff;
}

.projects-hero-title :is(h2, h3.taj-h2, h1.taj-h1--from-h2):not([style*="font-size"]),
.projects-hero-title p:not([style*="font-size"]),
.projects-hero-subhead:not([style*="font-size"]) {
	font-size: clamp(36px, 6.2vw, 88px);
}

.projects-hero-title :is(h2, h3.taj-h2, h1.taj-h1--from-h2):not([style*="letter-spacing"]),
.projects-hero-title p:not([style*="letter-spacing"]),
.projects-hero-subhead:not([style*="letter-spacing"]) {
	letter-spacing: -0.04em;
}

.projects-hero-title :is(h2, h3.taj-h2, h1.taj-h1--from-h2):not([style*="line-height"]),
.projects-hero-title p:not([style*="line-height"]),
.projects-hero-subhead:not([style*="line-height"]) {
	line-height: 0.92;
}

.projects-hero-title :is(h2, h3.taj-h2, h1.taj-h1--from-h2):not([style*="color"]),
.projects-hero-subhead:not([style*="color"]) {
	color: var(--cyan, #2abeec);
}

.projects-hero-title p:not([style*="color"]) {
	color: inherit;
}

.projects-hero-title h1 + :is(h2, h3.taj-h2),
.projects-hero-title h1 + p,
.projects-hero-title :is(h2, h3.taj-h2, h1.taj-h1--from-h2) + :is(h2, h3.taj-h2),
.projects-hero-title p + p {
	margin-top: 0;
}

.projects-hero-title .alignleft {
	text-align: left;
}

.projects-hero-title .aligncenter {
	text-align: center;
}

.projects-hero-title .alignright {
	text-align: right;
}

.projects-hero-title .alignjustify {
	text-align: justify;
}

.projects-hero-copy {
	grid-column: 2;
	grid-row: 1 / 3;
	z-index: 1;
	max-width: 36ch;
	justify-self: end;
	align-self: center;
	padding-bottom: 0.08em;
}

.projects-hero-sub {
	font-size: clamp(16px, 1.35vw, 18px);
	font-weight: 400;
	color: rgba(255, 255, 255, 0.82);
	margin: 0;
	line-height: 1.65;
	letter-spacing: 0.01em;
}

.projects-hero-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 28px;
	padding: 4px 0;
	color: var(--cyan, #2abeec);
	font-size: var(--text-s);
	font-weight: var(--w-semibold, 600);
	line-height: 1.2;
	text-decoration: none;
	transition: color 0.2s;
}

.projects-hero-link-ico {
	font-size: 1.1em;
	line-height: 1;
}

.projects-hero-link:hover,
.projects-hero-link:focus-visible {
	color: #fff;
}

.projects-hero-link:focus-visible {
	outline: 2px solid var(--cyan, #2abeec);
	outline-offset: 6px;
}

.projects-hero-proof {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 28px;
	margin: clamp(28px, 4vw, 44px) 0 0;
	padding: 0;
}

.projects-hero-proof > div {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0;
}

.projects-hero-proof dt {
	margin: 0;
	font-family: "Archivo", var(--font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.projects-hero-proof dt.is-counted {
	animation: projects-stat-pop 0.45s var(--h2-ease, var(--ease));
}

.projects-hero-proof dd {
	margin: 0;
	font-size: 14px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.52);
	text-transform: none;
	letter-spacing: 0;
}

.projects-hero-shot {
	margin: 0;
	padding: 0 0 clamp(28px, 4vw, 48px);
	width: 100%;
	box-sizing: border-box;
}

.projects-hero-shot-frame {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	/* Đang tải ảnh/video: nền sáng + vệt sáng chạy ngang; JS thêm .is-loaded khi media đã có hình. */
	background: linear-gradient(100deg, #e9ebef 30%, #f7f8fa 50%, #e9ebef 70%) 0 0 / 200% 100%;
	animation: projects-hero-shot-loading 1.4s linear infinite;
	box-shadow:
		0 0 0 1px rgba(42, 190, 236, 0.14),
		0 28px 80px rgba(0, 0, 0, 0.35);
}

.projects-hero-shot :is(img, video) {
	display: block;
	width: 100%;
	/* 16:9 theo chiều rộng — không theo chiều cao màn hình, zoom/độ phân giải không đổi vùng cắt. */
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: center center;
	opacity: 0;
	transform: scale(1.04);
	animation: projects-hero-media-in 1.2s 0.05s var(--h2-ease, var(--ease)) forwards;
}

.projects-hero-shot-frame.is-loaded {
	background: #141418;
	animation: none;
}

/* Ẩn ảnh/video tới khi tải xong rồi hiện dần (thay cho poster ảnh mặc định). */
.projects-hero-shot-frame:not(.is-loaded) :is(img, video) {
	opacity: 0 !important;
}

.projects-hero-shot-frame :is(img, video) {
	transition: opacity 0.6s var(--h2-ease, var(--ease));
}

@keyframes projects-hero-shot-loading {
	from {
		background-position: 100% 0;
	}

	to {
		background-position: -100% 0;
	}
}

@keyframes projects-hero-media-in {
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes projects-hero-type-in {
	from {
		opacity: 0;
		transform: translateY(22px);
		clip-path: inset(12% 0 40% 0);
		filter: blur(6px);
	}
	to {
		opacity: 1;
		transform: none;
		clip-path: inset(0 0 0 0);
		filter: blur(0);
	}
}

@keyframes projects-hero-copy-up {
	from {
		opacity: 0;
		transform: translateY(36px);
		clip-path: inset(72% 0 0 0);
		filter: blur(6px);
	}
	to {
		opacity: 1;
		transform: none;
		clip-path: inset(0);
		filter: none;
	}
}

.projects-hero-title > *,
.projects-hero-headline,
.projects-hero-subhead,
.projects-hero-proof > div {
	opacity: 0;
	animation-name: projects-hero-type-in;
	animation-duration: 0.85s;
	animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
	animation-fill-mode: forwards;
}

.projects-hero-title > *:nth-child(1),
.projects-hero-headline { animation-delay: 0.08s; }
.projects-hero-title > *:nth-child(2),
.projects-hero-subhead { animation-delay: 0.18s; }
.projects-hero-proof > div:nth-child(1) { animation-delay: 0.42s; }
.projects-hero-proof > div:nth-child(2) { animation-delay: 0.52s; }
.projects-hero-proof > div:nth-child(3) { animation-delay: 0.62s; }

.projects-hero-copy {
	opacity: 0;
	animation: projects-hero-copy-up 0.95s 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.projects-hero-sub,
.projects-hero-link {
	opacity: 1;
	transform: none;
	filter: none;
	clip-path: none;
	animation: none;
}

@keyframes projects-stat-pop {
	0% { transform: scale(0.94); }
	60% { transform: scale(1.04); }
	100% { transform: none; }
}

.projects-catalog {
	--projects-stack-top: var(--h2-nav-h, 72px);
	position: relative;
	background: var(--projects-paper);
}

/* Listing — plain vertical list, constrained to page container */
.projects-listing {
	position: relative;
	padding: clamp(20px, 3vw, 36px) 0 0;
	margin-top: 0;
	background: var(--projects-paper, #eceef2);
	overflow-x: clip;
	overflow-y: visible;
	scroll-margin-top: var(--h2-nav-h, var(--nav-h));
}

.projects-page .projects-grid,
.projects-page .projects-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.projects-page .project-card.project-row {
	display: block;
	grid-column: auto;
	grid-template-columns: none;
	box-sizing: border-box;
	margin-bottom: 0;
	padding: 0;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	border: none;
	border-top: 1px solid rgba(15, 17, 26, 0.08);
	border-radius: 0;
	background: var(--projects-paper, #eceef2);
	overflow: visible;
	scroll-margin-top: var(--projects-stack-top);
	box-shadow: none;
}

.projects-page .project-card.project-row:first-child {
	border-top: none;
}

.projects-page .project-card-stack {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(20px, 2.5vw, 40px);
	box-sizing: border-box;
	padding: clamp(28px, 4vw, 48px) 0;
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: hidden;
	box-shadow: none;
}

/* Kill main.css .project-row:nth-child(even) order swap — JS drives .is-reversed */
.projects-page .project-card .project-info,
.projects-page .project-card .project-media,
.projects-page .project-card .project-card-body,
.projects-page .project-card .project-card-media {
	order: 0;
}

.projects-page .project-card.project-row:hover,
.projects-page .project-card.project-row:focus-visible {
	border: none;
	transform: none;
}

.projects-page .project-card.project-row:focus-visible {
	outline: 2px solid var(--cyan, #2abeec);
	outline-offset: 10px;
}

.projects-page .project-card.project-row:focus-visible .project-card-stack {
	outline: inherit;
}

/* 1,3,5… text left / image right (default DOM). 2,4,6… flipped */
.projects-page .project-card.is-reversed .project-card-stack {
	flex-direction: row-reverse;
}

.projects-page .project-card.is-hidden,
.projects-page .project-card.is-deferred {
	display: none;
}

.projects-page .project-card-body.project-info {
	flex: 1 1 40%;
	min-width: 0;
	max-width: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
	align-items: flex-start;
}

.projects-page .project-card .project-tag {
	margin-bottom: 0;
	background: transparent;
	border: none;
	padding: 0;
	border-radius: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--projects-muted, #565860);
}

.projects-page .project-card .project-name {
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.14;
	margin: 14px 0 14px;
	color: var(--projects-ink, #1F1E23);
	text-wrap: balance;
}

.projects-page .project-card .project-name a {
	color: inherit;
	text-decoration: none;
}

.projects-page .project-card .project-name a:focus-visible,
.projects-page .project-card .project-card-link:focus-visible {
	outline: 2px solid var(--cyan, #2abeec);
	outline-offset: 4px;
}

.projects-page .project-card .project-desc {
	font-size: 15px;
	line-height: 1.65;
	color: var(--projects-muted, #5c5e66);
	margin: 0 0 32px;
	max-width: 46ch;
	font-weight: 400;
	letter-spacing: 0.01em;
}

.projects-page .project-card .project-kpis-slider {
	position: relative;
	width: 100%;
	margin-bottom: 24px;
}

.projects-page .project-card .project-kpis {
	width: 100%;
	display: flex;
	flex-wrap: nowrap;
	/* stretch: các ô cao bằng nhau → đường kẻ dọc bằng nhau dù label dài ngắn khác nhau */
	align-items: stretch;
	gap: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.projects-page .project-card .project-kpis::-webkit-scrollbar {
	display: none;
}

.projects-page .project-card .project-kpis-slider.is-dragging .project-kpis {
	scroll-snap-type: none;
	scroll-behavior: auto;
	cursor: grabbing;
	user-select: none;
}

/* Từ số liệu thứ 4: hiện đúng 3 ô, phần còn lại trượt ngang */
.projects-page .project-card .project-kpis-slider.has-more .project-kpis {
	cursor: grab;
}

.projects-page .project-card .project-kpis-slider.has-more .project-kpi {
	flex: 0 0 calc(100% / 3);
}

.projects-page .project-card .project-kpis-slider.has-more .project-kpi:last-child {
	padding-right: clamp(10px, 1.6vw, 18px);
}

.projects-page .project-card .project-kpis-controls {
	display: flex;
	justify-content: flex-end;
	gap: 2px;
	margin-top: 10px;
}

.projects-page .project-card .project-kpis-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--projects-muted, #565860);
	cursor: pointer;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.projects-page .project-card .project-kpis-nav:hover,
.projects-page .project-card .project-kpis-nav:focus-visible {
	color: var(--cyan, #2abeec);
}

.projects-page .project-card .project-kpis-nav:disabled {
	opacity: 0.3;
	cursor: default;
	color: var(--projects-muted, #565860);
}

.projects-page .project-card .project-kpi {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 0;
	min-width: 0;
	padding: 0 clamp(10px, 1.6vw, 18px);
	scroll-snap-align: start;
}

.projects-page .project-card .project-kpi:first-child {
	padding-left: 0;
}

.projects-page .project-card .project-kpi:last-child {
	padding-right: 0;
}

.projects-page .project-card .project-kpi + .project-kpi::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8%;
	bottom: 8%;
	width: 1px;
	background: var(--projects-line, #caced6);
}

.projects-page .project-card .project-kpi-num {
	display: block;
	--kpi-num-size: clamp(16px, 1.7vw, 24px);
	font-size: var(--kpi-num-size);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	color: var(--cyan, #2abeec);
	white-space: nowrap;
}

/* Số dài (vd 2,000,000) thu nhỏ thêm để không tràn cột. */
.projects-page .project-card .project-kpi-num.project-kpi-num--long {
	font-size: calc(var(--kpi-num-size) * 0.82);
}

.projects-page .project-card .project-kpi-label {
	display: block;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.01em;
	color: var(--projects-muted, #565860);
	max-width: none;
	margin: 0;
	text-wrap: balance;
}

.projects-page .project-card .project-divider {
	height: 1px;
	margin-bottom: 16px;
	background: var(--projects-line, #e2e3e8);
}

.projects-page .project-card .project-link,
.projects-page .project-card .project-card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	padding-top: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	color: var(--projects-ink, #1F1E23);
	transition: color 0.2s ease;
}

.projects-page .project-card .project-link span,
.projects-page .project-card .project-card-link span {
	font-size: 16px;
	line-height: 1;
}

.projects-page .project-card:hover .project-link,
.projects-page .project-card:hover .project-card-link,
.projects-page .project-card:focus-visible .project-link,
.projects-page .project-card:focus-visible .project-card-link {
	color: var(--cyan, #2abeec);
}

.projects-page .project-card .project-link::after,
.projects-page .project-card .project-card-link::after {
	content: none;
}

.projects-page .project-card-media.project-media {
	flex: 1 1 60%;
	min-width: 0;
	position: relative;
	aspect-ratio: 16 / 9;
	height: auto;
	overflow: hidden;
	border: none;
	border-radius: 0;
	background: #e8eaef;
	box-shadow: none;
}

.projects-page .project-card:hover .project-card-media.project-media,
.projects-page .project-card:focus-visible .project-card-media.project-media {
	box-shadow: none;
}

.projects-page .project-card-media.project-media::after {
	content: none;
}

.projects-page .project-row:hover .project-media img {
	transform: none;
}

.projects-page .project-card-media-zoom {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform-origin: 50% 50%;
	transform: scale(1);
}

.projects-page .project-card-slides {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.projects-page .project-card-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translate3d(14%, 0, 0);
	transition:
		opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 0;
	pointer-events: none;
}

.projects-page .project-card-slide.is-active {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	z-index: 2;
}

.projects-page .project-card-slide.is-leaving {
	opacity: 0;
	transform: translate3d(-10%, 0, 0);
	z-index: 1;
	transition:
		opacity 0.45s cubic-bezier(0.4, 0, 1, 1),
		transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-page .project-card-media[data-project-slides]::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 72px;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(to top, rgba(8, 10, 16, 0.5), rgba(8, 10, 16, 0));
}

.projects-page .project-card-slide-ticks {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	z-index: 4;
	display: flex;
	gap: 5px;
	pointer-events: none;
}

.projects-page .project-card-slide-ticks span {
	flex: 1 1 0;
	height: 2px;
	border-radius: 1px;
	background: rgba(255, 255, 255, 0.38);
	overflow: hidden;
}

.projects-page .project-card-slide-ticks span::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	background: var(--cyan, #2abeec);
	transform: scaleX(var(--slide-p, 0));
	transform-origin: left center;
}

.projects-page .project-card-media[data-project-slides] {
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.projects-page .project-card-media[data-project-slides].is-dragging {
	cursor: grabbing;
}

.projects-page .project-card-media.is-dragging .project-card-slide {
	transition: none;
}

.projects-page .project-card-slide.is-incoming {
	z-index: 1;
}

.projects-page .project-card-slide.is-from-left {
	opacity: 0;
	transform: translate3d(-14%, 0, 0);
	transition: none;
}

.projects-page .project-card-slide.is-leaving-prev {
	opacity: 0;
	transform: translate3d(10%, 0, 0);
	z-index: 1;
	transition:
		opacity 0.45s cubic-bezier(0.4, 0, 1, 1),
		transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.projects-page .project-card-slide-nav {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	background: rgba(12, 14, 20, 0.46);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.projects-page .project-card-slide-nav--prev {
	left: 5px;
}

.projects-page .project-card-slide-nav--next {
	right: 5px;
}

.projects-page .project-card-slide-nav:hover,
.projects-page .project-card-slide-nav:focus-visible {
	background: var(--cyan, #2abeec);
	border-color: var(--cyan, #2abeec);
	color: #1F1E23;
}

.projects-page .project-card-slide-nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.projects-page .project-card-slide-nav:active {
	transform: translateY(-50%) scale(0.96);
}

.projects-page .project-card-slide-nav svg {
	width: 18px;
	height: 18px;
	display: block;
}

.projects-page .project-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: none;
	-webkit-user-drag: none;
	user-select: none;
	pointer-events: none;
}

.projects-page .projects-more {
	display: flex;
	justify-content: center;
	padding: 8px 0 24px;
}

.projects-page .projects-more.is-hidden {
	display: none;
}

.projects-page .btn-outline-cyan .arrow {
	display: none;
}

/* —— More projects horizontal strip —— */
.projects-strip-section {
	position: relative;
	padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px);
	overflow: hidden;
	background: var(--projects-mid);
	border-top: 1px solid var(--projects-line);
}

.projects-strip-section.is-empty {
	display: none;
}

.projects-strip-head {
	margin-bottom: clamp(32px, 4vw, 44px);
}

.projects-strip-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--projects-muted);
	margin-bottom: 14px;
}

.projects-strip-head :is(h2, h3.taj-h2) {
	margin: 0;
	font-family: var(--font);
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.12;
	text-transform: uppercase;
	color: var(--projects-ink);
}

.projects-strip-head :is(h2, h3.taj-h2) .cyan {
	color: var(--cyan, #2abeec);
}

.projects-strip {
	position: relative;
	width: 100%;
}

.projects-strip-nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--projects-line);
	border-radius: var(--radius-pill);
	background: var(--projects-elevated);
	color: var(--projects-ink);
	cursor: pointer;
	opacity: 0.55;
	pointer-events: auto;
	transition: opacity 0.28s ease, border-color 0.2s ease, color 0.2s ease;
	box-shadow: none;
}

.projects-strip-nav--prev {
	left: 1px;
}

.projects-strip-nav--next {
	right: 1px;
}

.projects-strip:hover .projects-strip-nav,
.projects-strip:focus-within .projects-strip-nav,
.projects-strip.is-dragging .projects-strip-nav {
	opacity: 1;
}

.projects-strip-nav:hover,
.projects-strip-nav:focus-visible {
	opacity: 1;
	border-color: var(--cyan, #2abeec);
	color: var(--cyan, #2abeec);
}

.projects-strip-nav:focus-visible {
	outline: 2px solid var(--cyan, #2abeec);
	outline-offset: 2px;
}

.projects-strip-nav:active {
	transform: translateY(-50%) scale(0.98);
}

.projects-strip-nav svg {
	width: 18px;
	height: 18px;
	display: block;
}

.projects-strip-viewport {
	overflow: hidden;
	width: 100%;
	cursor: grab;
	touch-action: pan-y;
	mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.projects-strip.is-dragging .projects-strip-viewport {
	cursor: grabbing;
}

.projects-strip-track {
	display: flex;
	align-items: stretch;
	gap: 24px;
	width: max-content;
	will-change: transform;
	user-select: none;
	-webkit-user-select: none;
}

.projects-strip.is-stepping .projects-strip-track {
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-strip-set {
	display: flex;
	align-items: stretch;
	gap: 24px;
	flex-shrink: 0;
}

.projects-strip-card {
	flex: 0 0 min(420px, 82vw);
	display: flex;
	flex-direction: column;
	gap: 16px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
	cursor: grab;
	-webkit-user-drag: none;
	user-drag: none;
}

.projects-strip-card:focus-visible {
	outline: 2px solid var(--cyan, #2abeec);
	outline-offset: 6px;
}

.projects-strip-card.is-hidden {
	display: none;
}

.projects-strip.is-dragging .projects-strip-card {
	cursor: grabbing;
}

.projects-strip-media {
	position: relative;
	aspect-ratio: 16 / 9;
	min-height: 0;
	border-radius: 0;
	overflow: hidden;
	background: #dce0e6;
	border: none;
}

.projects-strip-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	pointer-events: none;
	transition: transform 0.45s var(--h2-ease, var(--ease));
}

.projects-strip-card:hover .projects-strip-media img,
.projects-strip-card:focus-visible .projects-strip-media img {
	transform: scale(1.04);
}

.projects-strip-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 0;
}

.projects-strip-tag {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--projects-muted, #565860);
	width: fit-content;
}

.projects-strip-title {
	font-size: clamp(16px, 1.35vw, 19px);
	font-weight: 700;
	line-height: 1.4;
	color: var(--projects-ink);
	letter-spacing: -0.02em;
}

.projects-strip-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 600;
	color: var(--projects-ink, #1F1E23);
	transition: color 0.2s ease;
}

.projects-strip-link span {
	font-size: 16px;
	line-height: 1;
}

.projects-strip-card:hover .projects-strip-link,
.projects-strip-card:focus-visible .projects-strip-link {
	color: var(--cyan, #2abeec);
}

@media (min-width: 1100px) {
	.projects-strip-card {
		flex-basis: min(460px, 38vw);
	}
}

@media (max-width: 767px) {
	.projects-strip-nav {
		opacity: 1;
		pointer-events: auto;
		width: 40px;
		height: 40px;
	}

	.projects-strip-nav--prev {
		left: 8px;
	}

	.projects-strip-nav--next {
		right: 8px;
	}

	.projects-strip-viewport {
		mask-image: none;
		-webkit-mask-image: none;
	}
}

/* —— Detail page —— */
.project-detail {
	padding-top: 0;
}

.project-detail .container {
	max-width: var(--h2-max);
	padding-left: var(--h2-pad);
	padding-right: var(--h2-pad);
}

/* First screen: hero + overview share one viewport */
.pd-intro {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
	background: #1F1E23;
}

.pd-hero {
	position: relative;
	isolation: isolate;
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: flex-end;
	padding: calc(var(--nav-h) + 40px) 0 88px;
	background: #1F1E23;
	overflow: hidden;
}

.pd-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.pd-hero-media :is(img, video) {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	transform: scale(1);
}

.pd-hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			rgba(31, 30, 35, 0.72) 0%,
			rgba(31, 30, 35, 0.42) 42%,
			rgba(31, 30, 35, 0.18) 68%,
			rgba(31, 30, 35, 0.28) 100%),
		linear-gradient(180deg,
			rgba(31, 30, 35, 0.35) 0%,
			rgba(31, 30, 35, 0.2) 35%,
			rgba(31, 30, 35, 0.72) 72%,
			#1F1E23 100%);
}

.pd-hero-inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 820px;
}

.pd-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 18px;
}

.pd-breadcrumb a {
	color: var(--cyan, #2abeec);
}

.pd-breadcrumb a:hover {
	text-decoration: underline;
}

.pd-breadcrumb-sep {
	opacity: 0.55;
}

.pd-hero h1 {
	font-family: var(--font);
	font-size: clamp(32px, 4.8vw, 48px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
	color: #fff;
	text-wrap: balance;
}

.pd-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	align-items: center;
	font-size: 15px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
}

/* Vạch dọc ngăn cách các mục meta (năm | quốc gia | thị trường). */
.pd-meta > span:not(.project-tag) {
	display: inline-flex;
	align-items: center;
}

.pd-meta > span:not(.project-tag) + span::before {
	content: '';
	display: inline-block;
	width: 1px;
	height: 14px;
	margin-right: 22px;
	background: rgba(255, 255, 255, 0.35);
}

.pd-meta .project-tag {
	margin: 0;
	color: #1F1E23;
	background: var(--cyan, #2abeec);
	border: 1px solid var(--cyan, #2abeec);
	border-radius: 999px;
	padding: 7px 16px;
	font-size: 13px;
	font-weight: 600;
}

/* Overview — cyan dots taper from top & bottom until one shared middle row */
.pd-section.pd-overview {
	position: relative;
	flex: 0 0 auto;
	padding: 70px 0;
	background: #1F1E23;
	border-top: none;
	overflow: hidden;
}

.pd-overview-dots {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 0;
	pointer-events: none;
	height: 50%;
	overflow: hidden;
}

.pd-overview-dots--top {
	top: 0;
}

.pd-overview-dots--bottom {
	bottom: 0;
}

.pd-overview-dots__layer {
	position: absolute;
	inset: 0;
	background-repeat: repeat;
	background-position: center;
}

/*
 * Large at the outer edge → medium → small.
 * Small layer stays visible at the inner edge so top & bottom meet
 * as one final dotted row in the middle of the section.
 */
.pd-overview-dots__layer--lg {
	background-image: radial-gradient(
		circle,
		rgba(var(--cyan-rgb, 42, 190, 236), 0.48) 1.75px,
		transparent 2px
	);
	background-size: 14px 14px;
	-webkit-mask-image: linear-gradient(
		180deg,
		#000 0%,
		#000 18%,
		rgba(0, 0, 0, 0.55) 36%,
		transparent 52%
	);
	mask-image: linear-gradient(
		180deg,
		#000 0%,
		#000 18%,
		rgba(0, 0, 0, 0.55) 36%,
		transparent 52%
	);
}

.pd-overview-dots__layer--md {
	background-image: radial-gradient(
		circle,
		rgba(var(--cyan-rgb, 42, 190, 236), 0.4) 1.05px,
		transparent 1.25px
	);
	background-size: 14px 14px;
	-webkit-mask-image: linear-gradient(
		180deg,
		transparent 12%,
		rgba(0, 0, 0, 0.5) 28%,
		#000 42%,
		rgba(0, 0, 0, 0.45) 62%,
		transparent 78%
	);
	mask-image: linear-gradient(
		180deg,
		transparent 12%,
		rgba(0, 0, 0, 0.5) 28%,
		#000 42%,
		rgba(0, 0, 0, 0.45) 62%,
		transparent 78%
	);
}

.pd-overview-dots__layer--sm {
	background-image: radial-gradient(
		circle,
		rgba(var(--cyan-rgb, 42, 190, 236), 0.34) 0.55px,
		transparent 0.72px
	);
	background-size: 14px 14px;
	-webkit-mask-image: linear-gradient(
		180deg,
		transparent 36%,
		rgba(0, 0, 0, 0.4) 52%,
		rgba(0, 0, 0, 0.75) 72%,
		#000 92%,
		#000 100%
	);
	mask-image: linear-gradient(
		180deg,
		transparent 36%,
		rgba(0, 0, 0, 0.4) 52%,
		rgba(0, 0, 0, 0.75) 72%,
		#000 92%,
		#000 100%
	);
}

/* Bottom = same taper, flipped so it meets the top's final row in the middle */
.pd-overview-dots--bottom .pd-overview-dots__layer {
	transform: scaleY(-1);
	transform-origin: center;
}

/* Stretch fade further on both top & bottom (bottom inherits via flip) */
.pd-overview-dots--top .pd-overview-dots__layer--lg,
.pd-overview-dots--bottom .pd-overview-dots__layer--lg {
	-webkit-mask-image: linear-gradient(
		180deg,
		#000 0%,
		#000 8%,
		rgba(0, 0, 0, 0.45) 22%,
		transparent 38%
	);
	mask-image: linear-gradient(
		180deg,
		#000 0%,
		#000 8%,
		rgba(0, 0, 0, 0.45) 22%,
		transparent 38%
	);
}

.pd-overview-dots--top .pd-overview-dots__layer--md,
.pd-overview-dots--bottom .pd-overview-dots__layer--md {
	-webkit-mask-image: linear-gradient(
		180deg,
		transparent 4%,
		rgba(0, 0, 0, 0.4) 18%,
		#000 32%,
		rgba(0, 0, 0, 0.35) 54%,
		transparent 72%
	);
	mask-image: linear-gradient(
		180deg,
		transparent 4%,
		rgba(0, 0, 0, 0.4) 18%,
		#000 32%,
		rgba(0, 0, 0, 0.35) 54%,
		transparent 72%
	);
}

.pd-overview-dots--top .pd-overview-dots__layer--sm,
.pd-overview-dots--bottom .pd-overview-dots__layer--sm {
	-webkit-mask-image: linear-gradient(
		180deg,
		transparent 22%,
		rgba(0, 0, 0, 0.3) 40%,
		rgba(0, 0, 0, 0.65) 60%,
		#000 86%,
		#000 100%
	);
	mask-image: linear-gradient(
		180deg,
		transparent 22%,
		rgba(0, 0, 0, 0.3) 40%,
		rgba(0, 0, 0, 0.65) 60%,
		#000 86%,
		#000 100%
	);
}

.pd-section.pd-overview > .container {
	position: relative;
	z-index: 1;
}

.pd-intro + .pd-section:not(.pd-foundation) {
	border-top: 1px solid var(--border);
}

.pd-overview-head {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.pd-overview-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(32px, 6vw, 72px);
	align-items: start;
}

.pd-eyebrow,
.pd-section-label {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.4;
	color: var(--cyan, #2abeec);
	text-transform: uppercase;
	margin-bottom: 16px;
}

.pd-overview-head :is(h2, h3.taj-h2),
.pd-overview-copy :is(h2, h3.taj-h2) {
	font-family: var(--font);
	font-size: clamp(28px, 3.6vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
}

.pd-overview-copy :is(h2, h3.taj-h2) span {
	display: block;
}

.pd-overview-grid > .pd-lead,
.pd-overview-copy .pd-lead {
	margin: 0;
	max-width: 34em;
	font-size: clamp(15px, 1.3vw, 17px);
	font-weight: 500;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.pd-overview .pd-body {
	max-width: none;
	font-size: clamp(14px, 1.15vw, 16px);
	color: rgba(255, 255, 255, 0.82);
	line-height: 1.6;
}

.pd-overview .pd-body p {
	margin: 0;
}

.pd-overview .pd-body p + p {
	margin-top: 16px;
}

/* Soft bridge from photo hero into body (legacy glow pages) */
.pd-section#overview:not(.pd-overview) {
	background: linear-gradient(180deg,
			#1F1E23 0%,
			rgba(31, 30, 35, 0.85) 48px,
			rgba(31, 30, 35, 0) 200px,
			transparent 100%);
}

/* Sections */
.pd-section {
	padding: 64px 0;
}

.pd-section + .pd-section {
	border-top: 1px solid var(--border);
}

.pd-section-header {
	margin-bottom: 28px;
}

.pd-section-header :is(h2, h3.taj-h2) {
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 600;
	margin-top: 12px;
	line-height: 1.3;
}

.pd-lead {
	font-size: var(--text-l);
	font-weight: 500;
	line-height: 1.5;
	max-width: 820px;
	margin-bottom: 16px;
}

.pd-body {
	font-size: var(--text-m);
	color: var(--text-muted);
	line-height: 1.65;
	max-width: 720px;
}

.pd-body p {
	margin: 0;
	min-height: 0;
}

.pd-body p + p {
	margin-top: 14px;
}

.pd-body ul {
	margin-top: 12px;
	padding-left: 1.2em;
	list-style: disc;
}

.pd-body ul li {
	margin-bottom: 8px;
}

/* Foundation — light editorial + card accordion */
.pd-section.pd-foundation {
	background: #F8F8F9;
	color: #1F1E23;
	padding: clamp(64px, 8vw, 96px) 0;
	border-top: none;
}

.pd-intro + .pd-foundation {
	border-top: none;
}

.pd-foundation-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.pd-foundation-copy {
	position: sticky;
	top: calc(var(--nav-h) + 24px);
}

.pd-foundation-copy .pd-eyebrow {
	color: var(--cyan, #2abeec);
}

.pd-foundation-copy :is(h2, h3.taj-h2) {
	font-family: var(--font);
	font-size: clamp(28px, 3.6vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #1F1E23;
	margin: 0;
}

.pd-foundation-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.pd-foundation .pd-acc-item {
	background: #fff;
	border: none;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	overflow: hidden;
	transition: box-shadow 0.35s var(--h2-ease, var(--ease));
}

.pd-foundation .pd-acc-item.is-open {
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.pd-foundation .pd-acc-trigger {
	width: 100%;
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 20px;
	align-items: center;
	padding: 16px;
	background: transparent;
	border: none;
	font-family: var(--font);
	color: #1F1E23;
	text-align: left;
	cursor: pointer;
}

.pd-foundation .pd-acc-ico {
	position: relative;
	width: 64px;
	height: 64px;
	background-color: var(--cyan, #2abeec);
	color: #fff;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	line-height: 1;
	transition: transform 0.35s var(--h2-ease, var(--ease));
}

.pd-foundation .pd-acc-ico::before,
.pd-foundation .pd-acc-ico::after {
	content: '';
	position: absolute;
	width: 23px;
	height: 23px;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	transition:
		opacity 0.35s var(--h2-ease, var(--ease)),
		transform 0.4s var(--h2-ease, var(--ease));
}

.pd-foundation .pd-acc-ico::before {
	background-image: url('../images/icons/arrow-close.svg');
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.pd-foundation .pd-acc-ico::after {
	background-image: url('../images/icons/arrow-open.svg');
	opacity: 0;
	transform: rotate(-18deg) scale(0.82);
}

.pd-foundation .pd-acc-item.is-open .pd-acc-ico::before {
	opacity: 0;
	transform: rotate(18deg) scale(0.82);
}

.pd-foundation .pd-acc-item.is-open .pd-acc-ico::after {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}

.pd-foundation .pd-acc-head {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
	padding-top: 2px;
}

.pd-foundation .pd-acc-label {
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--cyan, #2abeec);
}

.pd-foundation .pd-acc-title {
	font-size: 18px;
	font-weight: 600;
	color: #302E36;
	transition: color 0.25s ease;
}

.pd-foundation .pd-acc-item.is-open .pd-acc-title {
	color: #1F1E23;
}

.pd-foundation.is-open .pd-acc-panel {
	display: grid;
	grid-template-rows: 0fr;
	opacity: 0;
	transition:
		grid-template-rows 0.45s var(--h2-ease, var(--ease)),
		opacity 0.35s ease;
}

.pd-foundation .pd-acc-item.is-open .pd-acc-panel {
	grid-template-rows: 1fr;
	opacity: 1;
}

.pd-foundation .pd-acc-panel > .pd-acc-body {
	overflow: hidden;
	min-height: 0;
	padding: 0 16px 16px;
}

.pd-foundation .pd-acc-body {
	font-size: 16px;
	line-height: 1.6;
	color: #656171;
}

.pd-foundation .pd-acc-media {
	margin: 16px 0;
	overflow: hidden;
	background: #e8eaee;
}

.pd-foundation .pd-acc-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.pd-foundation .pd-acc-caption {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: #656171;
}

.pd-foundation .pd-expand-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin: 0;
}

.pd-foundation .pd-expand-card {
	border: 1px solid #e1e0e4;
	background: #f8f8f9;
	padding: 16px 18px;
}

.pd-foundation .pd-expand-card:hover {
	background: #fff;
	border-color: rgba(42, 190, 236, 0.35);
}

.pd-foundation .pd-expand-card h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--cyan, #2abeec);
	margin: 0 0 8px;
}

.pd-foundation .pd-expand-card p {
	font-size: 14px;
	color: #524f5b;
	line-height: 1.5;
	margin: 0;
}

.pd-foundation .pd-waves {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0;
}

.pd-foundation .pd-wave {
	border: 1px solid #e1e0e4;
	background: #f8f8f9;
	padding: 16px 18px;
}

.pd-foundation .pd-wave:hover {
	background: #fff;
	border-color: rgba(42, 190, 236, 0.35);
}

.pd-foundation .pd-wave-label {
	color: var(--cyan, #2abeec);
}

.pd-foundation .pd-wave h3 {
	color: #1F1E23;
	font-size: 15px;
}

.pd-foundation .pd-wave p,
.pd-foundation .pd-wave ul {
	color: #524f5b;
	font-size: 14px;
}

.pd-foundation .pd-quote {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 700;
	line-height: 1.35;
	color: #1F1E23;
	max-width: none;
	margin: 0 0 14px;
}

.pd-foundation .pd-body {
	max-width: none;
	color: #524f5b;
	font-size: 16px;
}

.pd-foundation .pd-creative-visual {
	margin-top: 16px;
	border: none;
}

/* Case study — flat 5-section blocks */
.pd-section.pd-case {
	padding: clamp(64px, 8vw, 96px) 0;
	background: #1F1E23;
	border-top: none;
}

.pd-intro + .pd-case {
	border-top: 1px solid var(--border);
}

.pd-case-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
	gap: clamp(40px, 6vw, 80px);
	align-items: start;
}

.pd-case-copy {
	position: sticky;
	top: calc(var(--nav-h) + 24px);
	z-index: 1;
	align-self: start;
}

.pd-case-copy.pd-case-copy--static {
	position: static;
}

.pd-case-copy :is(h2, h3.taj-h2) {
	font-family: var(--font);
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
}

.pd-case-copy :is(h2, h3.taj-h2) .pd-heading-line,
.pd-results-header :is(h2, h3.taj-h2) .pd-heading-line {
	display: block;
}

.pd-case-content .pd-body {
	max-width: none;
}

/* Approach WYSIWYG — default layout; inline TinyMCE styles always win. */
.pd-approach-body {
	max-width: none;
	font-size: 16px;
	line-height: 1.65;
	color: #524f5b;
}

.pd-approach-body > *:first-child {
	margin-top: 0;
}

.pd-approach-body > *:last-child,
.pd-approach-body .pd-engine-block:last-child,
.pd-approach-body .pd-creative-spotlight:last-child {
	margin-bottom: 0;
}

.pd-approach-body > p,
.pd-approach-body .pd-body {
	margin: 0 0 1em;
	max-width: none;
}

.pd-approach-body p:not([style*="font-size"]),
.pd-approach-body .pd-body:not([style*="font-size"]) {
	font-size: inherit;
}

.pd-approach-body p:not([style*="line-height"]),
.pd-approach-body .pd-body:not([style*="line-height"]) {
	line-height: inherit;
}

.pd-approach-body p:not([style*="color"]),
.pd-approach-body .pd-body:not([style*="color"]) {
	color: inherit;
}

.pd-approach-body .alignleft {
	text-align: left;
}

.pd-approach-body .aligncenter {
	text-align: center;
}

.pd-approach-body .alignright {
	text-align: right;
}

.pd-approach-body .alignjustify {
	text-align: justify;
}

.pd-approach-body img.alignleft,
.pd-approach-body .alignleft img {
	float: left;
	margin: 0 1.5em 1em 0;
}

.pd-approach-body img.alignright,
.pd-approach-body .alignright img {
	float: right;
	margin: 0 0 1em 1.5em;
}

.pd-approach-body img.aligncenter,
.pd-approach-body .aligncenter img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.pd-approach-body img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	border-radius: 0;
	vertical-align: middle;
}

.pd-approach-body img:not([style*="width"]):not([width]) {
	width: 100%;
	display: block;
}

.pd-approach-body figure {
	margin: clamp(24px, 3vw, 36px) 0;
	max-width: 100%;
}

.pd-approach-body figure.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.pd-approach-body figcaption {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.45;
	color: #6b6874;
}

.pd-approach-body h1,
.pd-approach-body :is(h2, h3.taj-h2),
.pd-approach-body h3,
.pd-approach-body h4,
.pd-approach-body h5,
.pd-approach-body h6 {
	margin: clamp(24px, 3vw, 32px) 0 8px;
	font-weight: 700;
	line-height: 1.3;
}

.pd-approach-body h1:not([style*="font-size"]) {
	font-size: clamp(28px, 3.2vw, 36px);
}

.pd-approach-body :is(h2, h3.taj-h2):not([style*="font-size"]) {
	font-size: clamp(22px, 2.6vw, 28px);
}

.pd-approach-body h3:not([style*="font-size"]) {
	font-size: var(--text-m);
	font-weight: 600;
}

.pd-approach-body h4:not([style*="font-size"]) {
	font-size: 15px;
}

.pd-approach-body h1:not([style*="color"]),
.pd-approach-body :is(h2, h3.taj-h2):not([style*="color"]),
.pd-approach-body h4:not([style*="color"]),
.pd-approach-body h5:not([style*="color"]),
.pd-approach-body h6:not([style*="color"]) {
	color: #1F1E23;
}

.pd-approach-body h3:not([style*="color"]) {
	color: var(--cyan, #2abeec);
}

.pd-approach-body ul,
.pd-approach-body ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

.pd-approach-body ul {
	list-style: disc;
}

.pd-approach-body ol {
	list-style: decimal;
}

.pd-approach-body li + li {
	margin-top: 0.35em;
}

.pd-approach-body blockquote {
	margin: 0 0 1em;
	padding: 0 0 0 1em;
	border-left: 3px solid var(--cyan, #2abeec);
	color: #1F1E23;
	font-weight: 600;
}

.pd-approach-body hr {
	margin: clamp(24px, 3vw, 36px) 0;
	border: 0;
	border-top: 1px solid #e1e0e4;
}

.pd-approach-body a {
	color: var(--cyan, #2abeec);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pd-approach-body a:hover {
	opacity: 0.85;
}

.pd-approach-body .pd-quote {
	margin: 0 0 clamp(20px, 3vw, 28px);
}

.pd-case-content .pd-body + .pd-expand-row,
.pd-case-content .pd-body + .pd-waves,
.pd-case-content .pd-body + .pd-creative-spotlight,
.pd-case-content .pd-creative-spotlight + .pd-engine-block,
.pd-case-content .pd-expand-row + .pd-quote,
.pd-case-content .pd-creative-spotlight + .pd-expand-row,
.pd-approach-body > p + .pd-creative-spotlight,
.pd-approach-body .pd-creative-spotlight + .pd-engine-block,
.pd-approach-body .pd-engine-block + .pd-engine-block,
.pd-approach-body .pd-engine-block + p {
	margin-top: clamp(28px, 4vw, 40px);
}

.pd-engine-block {
	margin-top: clamp(24px, 3vw, 32px);
}

.pd-engine-block + .pd-engine-block {
	margin-top: clamp(16px, 2.5vw, 20px);
}

.pd-engine-block h3:not([style*="font-size"]) {
	font-size: var(--text-m);
	font-weight: 600;
}

.pd-engine-block h3:not([style*="color"]) {
	color: var(--cyan, #2abeec);
}

.pd-engine-block h3 {
	margin: 0 0 8px;
	line-height: 1.35;
}

.pd-engine-block .pd-body {
	margin: 0;
}

.pd-case--light .pd-engine-block + .pd-body {
	margin-top: clamp(20px, 3vw, 28px);
}

.pd-creative-spotlight {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 28px);
}

.pd-creative-spotlight .pd-quote {
	margin: 0;
	max-width: none;
}

.pd-creative-spotlight .pd-creative-visual {
	margin-top: 0;
}

.pd-case--light .pd-creative-spotlight .pd-quote:not([style*="font-size"]) {
	font-size: clamp(24px, 3.2vw, 34px);
}

.pd-case--light .pd-creative-spotlight .pd-quote:not([style*="line-height"]) {
	line-height: 1.3;
}

.pd-case--light .pd-creative-spotlight .pd-creative-visual {
	aspect-ratio: 21 / 9;
}

.pd-case--light .pd-creative-spotlight .pd-body {
	margin-top: 0;
}

.pd-engine-list {
	margin-top: clamp(24px, 3vw, 32px);
	padding-left: 1.1em;
	list-style: disc;
}

.pd-engine-list li + li {
	margin-top: 10px;
}

.pd-engine-list strong {
	font-weight: 600;
	color: #1F1E23;
}

.pd-case--light .pd-engine-list + .pd-body {
	margin-top: 16px;
}

.pd-results-notes {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: clamp(28px, 4vw, 36px);
	padding-top: clamp(28px, 4vw, 36px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pd-results-claim {
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.88);
	max-width: 52ch;
}

.pd-results-claim .cyan {
	font-weight: 600;
}

.pd-case-media {
	margin: 24px 0 0;
	overflow: hidden;
}

.pd-case-media img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
}

.pd-case-caption {
	margin: 14px 0 0;
	font-size: var(--text-s);
	color: var(--text-muted);
	line-height: 1.55;
}

.pd-case .pd-expand-row {
	margin-top: 0;
}

.pd-case .pd-waves {
	margin-top: 0;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.pd-case .pd-waves:not(.pd-waves--timeline) .pd-wave:last-child:nth-child(odd) {
	grid-column: 1 / -1;
	justify-self: center;
	width: min(100%, calc(50% - 7px));
}

.pd-waves--timeline {
	grid-template-columns: 1fr !important;
	gap: 0 !important;
}

.pd-waves--timeline .pd-wave {
	display: grid;
	grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
	gap: 12px clamp(16px, 3vw, 28px);
	align-items: start;
	padding: clamp(18px, 2.5vw, 22px) 0;
	border: none;
	border-bottom: 1px solid var(--border);
	border-radius: 0;
	background: transparent;
}

.pd-waves--timeline .pd-wave:first-child {
	padding-top: 0;
}

.pd-waves--timeline .pd-wave:last-child {
	border-bottom: none;
	padding-bottom: 0;
	grid-column: 1 / -1;
	justify-self: stretch;
	width: 100%;
	max-width: none;
}

.pd-waves--timeline .pd-wave:hover {
	background: transparent;
	border-color: var(--border);
}

.pd-waves--timeline .pd-wave-label {
	margin-bottom: 0;
}

.pd-waves--timeline .pd-wave-body h3 {
	margin-bottom: 8px;
}

.pd-waves--timeline .pd-wave-body p {
	margin: 0;
}

/* WYSIWYG — overview lead/body, context body, timeline body */
.pd-lead p {
	margin: 0;
}

.pd-lead p + p,
.pd-wave-body p + p {
	margin-top: 12px;
}

.pd-lead :is(ul, ol),
.pd-body ol,
.pd-wave-body :is(ul, ol) {
	margin-top: 12px;
	padding-left: 1.2em;
}

.pd-lead ul,
.pd-wave-body ul {
	list-style: disc;
}

.pd-lead ol,
.pd-body ol,
.pd-wave-body ol {
	list-style: decimal;
}

.pd-lead li,
.pd-body ol li,
.pd-wave-body li {
	margin-bottom: 8px;
}

.pd-lead > :first-child,
.pd-body > :first-child,
.pd-wave-body :is(ul, ol):first-child {
	margin-top: 0;
}

.pd-body :is(h2, h3, h4, h5, h6) {
	margin: 20px 0 10px;
	line-height: 1.3;
}

.pd-lead a,
.pd-body a,
.pd-wave-body a {
	color: var(--cyan);
	text-decoration: underline;
}

/* Activity album — horizontal scroll cards */
.pd-activity-album {
	--pd-activity-gap: clamp(16px, 2.5vw, 20px);
	grid-column: 1 / -1;
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid var(--border);
}

.pd-case-grid > .pd-activity-album:first-child {
	margin-top: 0;
	padding-top: 0;
	border-top: none;
}

.pd-activity-album-heading {
	font-family: var(--font);
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 clamp(20px, 3vw, 28px);
}

.pd-activity-album-stage {
	position: relative;
}

.pd-activity-album-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 16px;
}

.pd-activity-album-footer[hidden] {
	display: none;
}

.pd-activity-album-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pd-activity-album-dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}

.pd-activity-album-dot.is-active {
	background: var(--cyan, #2abeec);
	transform: scale(1.15);
}

.pd-activity-album-dot:hover,
.pd-activity-album-dot:focus-visible {
	background: rgba(42, 190, 236, 0.65);
}

.pd-activity-album-btn {
	position: absolute;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(10, 10, 20, 0.72);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 14px;
	cursor: pointer;
	opacity: 1;
	pointer-events: none;
	transition:
		opacity 0.28s ease,
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.pd-activity-album-btn--prev {
	left: 0;
}

.pd-activity-album-btn--next {
	right: 0;
}

.pd-activity-album-stage:hover .pd-activity-album-btn,
.pd-activity-album-stage:focus-within .pd-activity-album-btn {
	opacity: 1;
	pointer-events: auto;
}

.pd-activity-album-btn:hover,
.pd-activity-album-btn:focus-visible {
	background: rgba(42, 190, 236, 0.22);
	border-color: rgba(42, 190, 236, 0.55);
	color: #fff;
}

.pd-activity-album-btn:focus-visible {
	outline: 2px solid var(--cyan, #2abeec);
	outline-offset: 2px;
}

.pd-activity-album-btn:active {
	transform: translateY(-50%) scale(0.96);
}

.pd-activity-album-btn[hidden] {
	display: none;
}

.pd-activity-album-viewport {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scroll-padding-inline: 0;
	padding-bottom: 4px;
	scrollbar-width: none;
	container-type: inline-size;
	container-name: pd-activity-album;
}

.pd-activity-album-viewport::-webkit-scrollbar {
	display: none;
}

.pd-activity-album-viewport:focus-visible {
	outline: 2px solid var(--cyan, #2abeec);
	outline-offset: 4px;
	border-radius: 4px;
}

.pd-activity-album-track {
	display: flex;
	gap: var(--pd-activity-gap);
	width: max-content;
}

.pd-activity-card {
	flex: 0 0 100cqw;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(16px, 2.5vw, 20px);
	border: 1px solid var(--border);
	background: rgba(31, 30, 35, 0.55);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.35s var(--h2-ease, var(--ease)), box-shadow 0.35s var(--h2-ease, var(--ease));
}

.pd-activity-card:hover,
.pd-activity-card:focus-visible {
	border-color: rgba(42, 190, 236, 0.28);
}

.pd-activity-card.is-active {
	border-color: rgba(42, 190, 236, 0.45);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.pd-activity-card.is-active:hover,
.pd-activity-card.is-active:focus-visible {
	border-color: rgba(42, 190, 236, 0.45);
}

@media (min-width: 768px) {
	.pd-activity-card {
		flex-basis: calc((100cqw - var(--pd-activity-gap)) / 2);
	}
}

@media (min-width: 1100px) {
	.pd-activity-card {
		flex-basis: calc((100cqw - var(--pd-activity-gap) * 2) / 3);
	}
}

/* 1–3 hoạt động: chia đều hết chiều rộng container, không cần slide/nav/dots. */
.pd-activity-album.is-fit .pd-activity-album-viewport {
	overflow: visible;
	scroll-snap-type: none;
}

.pd-activity-album.is-fit .pd-activity-album-track {
	width: 100%;
	flex-wrap: wrap;
}

.pd-activity-album.is-fit .pd-activity-card {
	flex: 0 0 calc((100% - (var(--pd-activity-fit-count) - 1) * var(--pd-activity-gap)) / var(--pd-activity-fit-count));
}

.pd-activity-album.is-fit .pd-activity-album-btn,
.pd-activity-album.is-fit .pd-activity-album-footer {
	display: none !important;
}

@media (max-width: 560px) {
	.pd-activity-album.is-fit .pd-activity-card {
		flex-basis: 100%;
	}
}

.pd-activity-card-tag {
	display: inline-block;
	width: fit-content;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1F1E23;
	background: var(--cyan, #2abeec);
	line-height: 1.3;
}

.pd-activity-card-title {
	font-family: var(--font);
	font-size: clamp(15px, 1.4vw, 17px);
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
	line-height: 1.35;
	text-wrap: balance;
}

.pd-activity-card-media {
	margin: 0;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 4 / 3;
}

.pd-activity-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.pd-activity-card-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-muted);
}

.pd-case-sub {
	margin-top: clamp(40px, 5vw, 56px);
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid var(--border);
}

.pd-case-sub--full {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
	gap: clamp(24px, 4vw, 40px);
	align-items: start;
}

.pd-case-sub--full .pd-gallery {
	grid-column: 2;
	min-width: 0;
}

.pd-case-sub--full .pd-gallery-header {
	margin-bottom: 0;
	padding-top: 4px;
}

.pd-case-sub .pd-gallery-header {
	margin-bottom: 24px;
}

.pd-case-sub .pd-gallery-header h3 {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 700;
	color: #fff;
	margin-top: 10px;
	line-height: 1.3;
}

/* Light band variant (Approach & solution) */
.pd-section.pd-case--light {
	background: #F8F8F9;
	color: #1F1E23;
}

.pd-case--light .pd-case-copy .pd-eyebrow,
.pd-case--light .pd-case-copy .pd-section-label {
	color: var(--cyan, #2abeec);
}

.pd-case--light .pd-case-copy :is(h2, h3.taj-h2) {
	color: #1F1E23;
}

.pd-case--light .pd-case-content .pd-body:not([style*="color"]) {
	color: #524f5b;
}

.pd-case--light .pd-case-content .pd-body:not([style*="font-size"]) {
	font-size: 16px;
}

.pd-case--light .pd-approach-body {
	color: #524f5b;
}

.pd-case--light .pd-quote {
	color: #1F1E23;
}

.pd-case--light .pd-expand-row {
	gap: 12px;
}

.pd-case--light .pd-expand-card {
	border: 1px solid #e1e0e4;
	background: #f8f8f9;
	padding: 16px 18px;
}

.pd-case--light .pd-expand-card:hover {
	background: #fff;
	border-color: rgba(42, 190, 236, 0.35);
}

.pd-case--light .pd-expand-card h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--cyan, #2abeec);
	margin: 0 0 8px;
}

.pd-case--light .pd-expand-card p {
	font-size: 14px;
	color: #524f5b;
	line-height: 1.5;
	margin: 0;
}

.pd-case--light .pd-creative-visual {
	border: none;
	margin-top: 24px;
}

.pd-results-footnote {
	margin-top: 32px;
	max-width: 720px;
	color: rgba(255, 255, 255, 0.82);
}

/* Legacy dark accordion (if used outside foundation) */
.pd-accordion {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--border);
}

.pd-acc-item {
	border-bottom: 1px solid var(--border);
}

.pd-acc-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 0;
	background: transparent;
	border: none;
	font-family: var(--font);
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 600;
	color: #fff;
	text-align: left;
	cursor: pointer;
}

.pd-acc-trigger:hover,
.pd-acc-trigger:focus-visible {
	color: var(--cyan);
}

.pd-acc-icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border: 1px solid var(--border);
	border-radius: 50%;
	font-size: 14px;
	color: var(--cyan);
	transition: transform 0.25s var(--ease);
}

.pd-acc-item.is-open .pd-acc-icon {
	transform: rotate(180deg);
}

.pd-acc-panel {
	display: none;
}

.pd-acc-item.is-open .pd-acc-panel {
	display: block;
}

/* Expand cards inside accordion */
.pd-expand-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-top: 8px;
}

.pd-expand-card {
	border: 1px solid var(--border);
	background: rgba(31, 30, 35, 0.42);
	padding: 20px 22px;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pd-expand-card:hover {
	background: rgba(31, 30, 35, 0.58);
	border-color: rgba(0, 212, 255, 0.25);
}

.pd-expand-card h3 {
	font-size: var(--text-m);
	font-weight: 600;
	color: var(--cyan);
	margin-bottom: 10px;
}

.pd-expand-card p {
	font-size: var(--text-s);
	color: var(--text-muted);
	line-height: 1.55;
}

/* Process / waves */
.pd-waves {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 8px;
}

.pd-wave {
	border: 1px solid var(--border);
	background: rgba(31, 30, 35, 0.42);
	padding: 22px;
	transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.pd-wave:hover {
	background: rgba(31, 30, 35, 0.58);
	border-color: rgba(0, 212, 255, 0.25);
}

.pd-wave-label {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 10px;
}

.pd-wave h3 {
	font-size: var(--text-m);
	font-weight: 600;
	margin-bottom: 10px;
}

.pd-wave p,
.pd-wave ul {
	font-size: var(--text-s);
	color: var(--text-muted);
	line-height: 1.55;
}

.pd-wave ul {
	padding-left: 1.1em;
	list-style: disc;
}

.pd-wave ul li+li {
	margin-top: 6px;
}

/* Quote / creative */
.pd-quote {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 600;
	line-height: 1.35;
	color: #fff;
	max-width: 800px;
	margin: 8px 0 20px;
}

.pd-quote .cyan {
	color: var(--cyan);
}

.pd-creative-visual {
	margin-top: 28px;
	overflow: hidden;
	border: 1px solid var(--border);
	aspect-ratio: 16 / 9;
}

.pd-creative-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Results / stats band */
.pd-stats-band {
	background: #1F1E23;
	border-top: none;
	border-bottom: none;
	padding: clamp(64px, 8vw, 96px) 0;
}

/*
 * Ngay sau section cùng nền tối (context/activities): section trên đã có padding-bottom → bớt padding-top
 * để 2 khối không cách xa. Section ẩn không render, nên selector luôn so với section đang hiện ngay trên;
 * sau section nền sáng (approach) hoặc đứng đầu trang thì giữ padding đầy đủ vì có đổi màu nền.
 */
.pd-section.pd-case:not(.pd-case--light) + .pd-stats-band {
	padding-top: 0;
}

.pd-results-header {
	margin-bottom: clamp(36px, 5vw, 56px);
}

.pd-results-header .pd-eyebrow,
.pd-results-header .pd-section-label {
	margin-bottom: 14px;
}

.pd-results-header :is(h2, h3.taj-h2) {
	font-family: var(--font);
	font-size: clamp(28px, 3.8vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
}

.pd-stat-hero {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(24px, 4vw, 40px);
	margin-bottom: clamp(40px, 5vw, 56px);
}

.pd-stat-hero-item {
	text-align: left;
	padding: 0 clamp(16px, 3vw, 40px);
	position: relative;
}

/* Grid 3 cột: item đầu mỗi hàng không có padding trái / divider, item cuối hàng không có padding phải */
.pd-stat-hero-item:nth-child(3n + 1) {
	padding-left: 0;
}

.pd-stat-hero-item:nth-child(3n),
.pd-stat-hero-item:last-child {
	padding-right: 0;
}

.pd-stat-hero-item + .pd-stat-hero-item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 12%;
	bottom: 12%;
	width: 1px;
	background: linear-gradient(180deg,
			transparent 0%,
			rgba(255, 255, 255, 0.18) 20%,
			rgba(255, 255, 255, 0.18) 80%,
			transparent 100%);
}

.pd-stat-hero-item:nth-child(3n + 1)::before {
	display: none;
}

.pd-stat-hero-num {
	display: block;
	font-size: clamp(40px, 6vw, 64px);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	color: var(--cyan, #2abeec);
	margin-bottom: 12px;
}

.pd-stat-hero-label {
	font-size: clamp(14px, 1.2vw, 16px);
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
	line-height: 1.45;
	max-width: 260px;
	margin: 0;
}

.pd-results-bar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px 48px;
	padding: clamp(28px, 4vw, 36px) 0 0;
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 0;
}

.pd-stats-extra,
.pd-stats-band .project-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 20px 40px;
	flex: 1 1 auto;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.pd-stats-band .pstat {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	max-width: 340px;
}

.pd-stats-band .pstat-icon-wrapper {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(42, 190, 236, 0.18);
}

.pd-stats-band .pstat-icon {
	width: auto;
	height: auto;
	color: var(--cyan, #2abeec);
	display: grid;
	place-items: center;
}

.pd-stats-band .pstat-icon i {
	font-size: 14px;
	line-height: 1;
}

.pd-stats-band .pstat-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.pd-stats-band .pstat-num {
	font-size: 15px;
	font-weight: 700;
	color: var(--cyan, #2abeec);
	line-height: 1.3;
}

.pd-stats-band .pstat-label {
	font-size: 13px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.45;
}

.pd-results-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-shrink: 0;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--cyan, #2abeec);
	color: #fff;
	font-family: var(--font);
	font-size: 14px;
	font-weight: 600;
	white-space: nowrap;
	transition: background 0.2s, transform 0.15s;
}

.pd-results-cta:hover {
	background: var(--cyan-dim, #1aa8d4);
	transform: translateY(-1px);
}

.pd-results-cta .arrow {
	font-size: 14px;
}

.pd-mid-cta {
	display: none;
}

/* Gallery carousel */
.pd-section.pd-gallery-section {
	background: #1F1E23;
	border-top: none;
	padding: clamp(64px, 8vw, 96px) 0;
}

.pd-gallery-header {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.pd-gallery-header .pd-eyebrow {
	margin-bottom: 14px;
}

.pd-gallery-header :is(h2, h3.taj-h2) {
	font-family: var(--font);
	font-size: clamp(28px, 3.8vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
}

.pd-gallery {
	position: relative;
}

.pd-gallery-viewport {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	aspect-ratio: 21 / 9;
	background: #1F1E23;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.pd-gallery-track {
	display: flex;
	height: 100%;
	transition: transform 0.45s var(--h2-ease, var(--ease));
}

.pd-gallery-slide {
	flex: 0 0 100%;
	height: 100%;
	cursor: zoom-in;
	border: none;
	padding: 0;
	background: transparent;
	position: relative;
}

.pd-gallery-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
	pointer-events: none;
}

.pd-gallery-controls {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 14px;
	margin-top: 20px;
}

.pd-gallery-btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.04);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 14px;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pd-gallery-btn:hover:not(:disabled),
.pd-gallery-btn:focus-visible:not(:disabled) {
	border-color: var(--cyan, #2abeec);
	color: var(--cyan, #2abeec);
	background: rgba(42, 190, 236, 0.08);
}

.pd-gallery-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.pd-gallery-indicator {
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.85);
	font-variant-numeric: tabular-nums;
	min-width: 48px;
	text-align: center;
}

/* Outro */
.pd-section.pd-outro {
	background: #1F1E23;
	border-top: none !important;
	padding: clamp(56px, 7vw, 80px) 0 clamp(40px, 5vw, 56px);
}

.pd-outro-header {
	margin-bottom: 20px;
}

.pd-outro-header .pd-eyebrow {
	margin-bottom: 14px;
}

.pd-outro-header :is(h2, h3.taj-h2) {
	font-family: var(--font);
	font-size: clamp(28px, 3.8vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
	max-width: 17ch;
}

.pd-outro .pd-body {
	max-width: 720px;
	font-size: clamp(15px, 1.25vw, 17px);
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.78);
}

.pd-outro .pd-body p {
	margin: 0;
}

/* Related projects */
.pd-related {
	padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 8vw, 96px);
	border-top: none;
	background: #1F1E23;
}

.pd-related-header {
	margin-bottom: clamp(28px, 4vw, 40px);
}

.pd-related-header :is(h2, h3.taj-h2) {
	font-family: var(--font);
	font-size: clamp(28px, 3.8vw, 40px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	color: #fff;
	margin: 0;
}

.pd-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(20px, 3vw, 28px);
}

.pd-related-grid .project-card {
	grid-column: auto;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	background: transparent;
	border: none;
	border-radius: 0;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	overflow: visible;
	transform: none;
}

.pd-related-grid .project-card:hover,
.pd-related-grid .project-card:focus-visible {
	background: transparent;
	border-color: transparent;
	transform: none;
}

.pd-related-grid .project-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	min-height: 0;
	border-radius: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: #1F1E23;
}

.pd-related-grid .project-card-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s var(--h2-ease, var(--ease));
}

.pd-related-grid .project-card:hover .project-card-media img {
	transform: scale(1.04);
}

.pd-related-grid .project-card-body {
	padding: 16px 0 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.pd-related-grid .project-tag {
	color: var(--cyan, #2abeec);
	background: rgba(42, 190, 236, 0.08);
	border: 1px solid rgba(42, 190, 236, 0.35);
	border-radius: 999px;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 600;
	width: fit-content;
}

.pd-related-grid .project-name {
	font-size: clamp(16px, 1.4vw, 18px);
	font-weight: 700;
	color: #fff;
	line-height: 1.35;
	margin: 0;
}

.pd-related-grid .project-card-kpis {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	margin-top: 2px;
}

.pd-related-grid .project-card-kpi {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.pd-related-grid .project-card-kpi-num {
	font-size: 15px;
	font-weight: 700;
	color: var(--cyan, #2abeec);
}

.pd-related-grid .project-card-kpi-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.pd-related-grid .project-card-link {
	padding-top: 6px;
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--cyan, #2abeec);
}

/* Lightbox */
.pd-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	background: rgba(31, 30, 35, 0.94);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.pd-lightbox.is-open {
	display: flex;
}

.pd-lightbox img {
	max-width: min(1200px, 100%);
	max-height: 90vh;
	object-fit: contain;
	border-radius: var(--radius);
}

.pd-lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--card-bg);
	color: #fff;
	font-size: 18px;
	display: grid;
	place-items: center;
}

.pd-lightbox-close:hover,
.pd-lightbox-close:focus-visible {
	border-color: var(--cyan);
	color: var(--cyan);
}

/* Video embed */
.pd-video {
	margin-top: 28px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border);
	aspect-ratio: 16 / 9;
	background: #1F1E23;
}

.pd-video iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
	.projects-hero-copy {
		justify-self: stretch;
		max-width: none;
	}

	.projects-listing {
		padding: 0;
	}

	.projects-page .projects-grid,
	.projects-page .projects-list {
		gap: 0;
		margin-bottom: 0;
	}

	.projects-page .project-card-stack,
	.projects-page .project-card.is-reversed .project-card-stack {
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		gap: 22px;
		padding: 18px 0 22px;
	}

	.projects-page .project-card-body.project-info,
	.projects-page .project-card.is-reversed .project-card-body.project-info {
		max-width: none;
		flex: 1 1 auto;
		order: 2;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.projects-page .project-card-media.project-media,
	.projects-page .project-card.is-reversed .project-card-media.project-media {
		order: 1;
		width: 100%;
		flex: 1 1 auto;
		height: auto;
		max-height: none;
		aspect-ratio: 16 / 9;
	}

	.projects-page .project-card .project-desc {
		max-width: none;
	}

	.projects-page .project-card .project-kpis {
		flex-direction: column;
		flex-wrap: wrap;
		gap: 20px;
	}

	.projects-page .project-card .project-kpi {
		padding: 0;
		flex: none;
		width: 100%;
	}

	.projects-page .project-card .project-kpi + .project-kpi::before {
		display: none;
	}

	.projects-page .project-card .project-kpis-slider.has-more .project-kpi,
	.projects-page .project-card .project-kpis-slider.has-more .project-kpi:last-child {
		flex: none;
		padding: 0;
	}

	.projects-page .project-card .project-kpis-controls {
		display: none;
	}

	.projects-page .project-card .project-kpi-label {
		max-width: none;
	}

	.pd-overview-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pd-overview-head {
		max-width: none;
	}

	.pd-overview-head :is(h2, h3.taj-h2),
	.pd-overview-copy :is(h2, h3.taj-h2) {
		max-width: 18ch;
	}

	.pd-foundation-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pd-case-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pd-case-copy {
		position: static;
	}

	.pd-case-copy :is(h2, h3.taj-h2) {
		max-width: 18ch;
	}

	.pd-case-sub--full {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.pd-case-sub--full .pd-gallery {
		grid-column: auto;
	}

	.pd-waves--timeline .pd-wave {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.pd-activity-album-footer {
		margin-top: 12px;
	}

	.pd-foundation-copy {
		position: static;
	}

	.pd-foundation-copy :is(h2, h3.taj-h2) {
		max-width: 16ch;
	}

	.pd-stat-hero {
		grid-template-columns: repeat(3, 1fr);
	}

	.pd-results-bar {
		flex-wrap: wrap;
	}

	.pd-gallery-viewport {
		aspect-ratio: 16 / 9;
	}

	.pd-waves {
		grid-template-columns: 1fr;
	}

	.pd-related-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.projects-hero {
		text-align: left;
		padding-top: calc(var(--h2-nav-h, var(--nav-h)) + 24px);
	}

	.projects-hero-grid {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
		gap: 20px;
		align-items: start;
	}

	.projects-hero-title,
	.projects-hero-headline,
	.projects-hero-subhead,
	.projects-hero-copy {
		grid-column: 1;
		grid-row: auto;
	}

	.projects-hero-title h1:not([style*="font-size"]),
	.projects-hero-headline:not([style*="font-size"]) {
		font-size: clamp(40px, 12vw, 72px);
	}

	.projects-hero-title :is(h2, h3.taj-h2, h1.taj-h1--from-h2):not([style*="font-size"]),
	.projects-hero-title p:not([style*="font-size"]),
	.projects-hero-subhead:not([style*="font-size"]) {
		font-size: clamp(26px, 8vw, 48px);
	}

	.projects-hero-copy {
		justify-self: start;
		max-width: none;
		padding-bottom: 0;
	}

	.projects-hero-sub {
		font-size: var(--text-s);
		line-height: 1.55;
	}

	.projects-hero-link {
		margin-top: 20px;
		min-height: 44px;
	}

	.projects-hero-shot {
		padding-bottom: 20px;
	}

	.projects-listing {
		padding: 0;
	}

	.projects-page .projects-grid,
	.projects-page .projects-list {
		gap: 0;
		margin-bottom: 0;
		padding-bottom: 0;
	}

	.projects-page .project-card .project-name {
		font-size: clamp(20px, 6vw, 24px);
		margin: 14px 0 10px;
	}

	.projects-page .project-card .project-desc {
		font-size: 14px;
		margin-bottom: 22px;
	}

	.projects-page .project-card .project-kpis {
		gap: 16px;
	}

	.projects-page .project-card .project-kpis-slider {
		margin-bottom: 20px;
	}

	.projects-page .project-card .project-kpi-num {
		--kpi-num-size: clamp(16px, 5vw, 20px);
	}

	.projects-page .projects-more {
		padding: 8px 0 24px;
	}

	.pd-intro {
		min-height: 0;
	}

	.pd-hero {
		display: grid;
		/* Cột = đúng bề ngang màn hình; không có thì cột giãn theo dòng chữ dài nhất và tràn mép phải. */
		grid-template-columns: minmax(0, 1fr);
		flex: none;
		min-height: 0;
		height: auto;
		align-items: stretch;
		padding: 0;
	}

	.pd-hero-media {
		position: relative;
		grid-area: 1 / 1;
		inset: auto;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
		min-height: 100%;
	}

	.pd-hero-media :is(img, video) {
		position: absolute;
		inset: 0;
	}

	.pd-hero-inner {
		grid-area: 1 / 1;
		align-self: end;
		max-width: none;
		padding-top: calc(var(--nav-h) + 4px);
		padding-bottom: 10px;
	}

	.pd-hero .pd-breadcrumb {
		margin-bottom: 2px;
	}

	.pd-hero h1 {
		max-width: none;
		font-size: clamp(22px, 6.4vw, 30px);
		line-height: 1.12;
		margin-bottom: 40px;
	}

	.pd-meta {
		gap: 2px 10px;
		font-size: 12px;
		line-height: 1.25;
	}

	.pd-meta > .pd-meta-market {
		flex-basis: auto;
	}

	.pd-meta > span:not(.project-tag) + span::before {
		margin-right: 16px;
	}

	/* Mobile: thị trường thường dài → luôn xuống 1 hàng riêng, không vạch ngăn đầu dòng. */
	.pd-meta > .pd-meta-market {
		flex-basis: 100%;
	}

	.pd-meta > span:not(.project-tag) + .pd-meta-market::before {
		display: none;
	}

	.pd-section.pd-overview {
		padding: 48px 0 56px;
	}

	.pd-overview-head :is(h2, h3.taj-h2),
	.pd-overview-copy :is(h2, h3.taj-h2) {
		max-width: none;
		font-size: clamp(24px, 7vw, 32px);
	}

	.pd-section.pd-foundation {
		padding: 48px 0;
	}

	.pd-foundation .pd-acc-trigger {
		grid-template-columns: 48px 1fr;
		gap: 12px;
		padding: 18px 16px 16px;
	}

	.pd-foundation .pd-acc-ico {
		width: 48px;
		height: 48px;
		border-radius: 10px;
	}

	.pd-foundation .pd-acc-ico::before,
	.pd-foundation .pd-acc-ico::after {
		width: 18px;
		height: 18px;
	}

	.pd-foundation .pd-acc-panel > .pd-acc-body {
		padding: 0 16px 18px;
	}

	.pd-foundation .pd-expand-row {
		grid-template-columns: 1fr;
	}

	.pd-section {
		padding: 48px 0;
	}

	.pd-expand-row {
		grid-template-columns: 1fr;
	}

	.pd-stat-hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.pd-stat-hero-item {
		padding: 0;
		text-align: left;
	}

	.pd-stat-hero-item + .pd-stat-hero-item::before {
		display: none;
	}

	.pd-stat-hero-label {
		max-width: none;
	}

	.pd-results-bar {
		flex-direction: column;
		align-items: stretch;
		padding: 20px;
		gap: 24px;
	}

	.pd-stats-extra {
		flex-direction: column;
		gap: 18px;
	}

	.pd-stats-band .pstat {
		max-width: none;
	}

	.pd-results-cta {
		width: 100%;
	}

	.pd-gallery-viewport {
		aspect-ratio: 4 / 3;
		border-radius: 14px;
	}

	.pd-gallery-btn {
		width: 40px;
		height: 40px;
	}

	.pd-activity-album-btn {
		opacity: 1;
		pointer-events: auto;
		width: 40px;
		height: 40px;
	}

	.pd-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.projects-page .project-card-stack {
		animation: none;
		filter: none;
		transform: none;
		will-change: auto;
	}

	.projects-hero-title > *,
	.projects-hero-headline,
	.projects-hero-subhead,
	.projects-hero-copy,
	.projects-hero-sub,
	.projects-hero-proof > div,
	.projects-hero-link,
	.projects-hero-shot img,
	.projects-hero-orb,
	.projects-page .reveal-init,
	.projects-page .project-card-body.project-info,
	.projects-page .project-card.is-reversed .project-card-body.project-info,
	.projects-page .project-card-media.project-media,
	.projects-page .project-card.is-reversed .project-card-media.project-media,
	.projects-page .project-card-media-zoom,
	.projects-page .project-card-media img,
	.projects-page .project-card-slide,
	.projects-page .project-card-slide-ticks span::after,
	.pd-breadcrumb,
	.pd-hero h1,
	.pd-meta,
	.pd-hero-media :is(img, video) {
		opacity: 1;
		transform: none;
		filter: none;
		clip-path: none;
		animation: none;
		transition: none;
		will-change: auto;
	}

	.projects-strip-track {
		transition: none !important;
	}

	.projects-strip-viewport {
		mask-image: none;
		-webkit-mask-image: none;
	}

	.project-card,
	.project-card-media-zoom,
	.project-card-media img,
	.pd-gallery-track,
	.pd-acc-icon,
	.pd-foundation .pd-acc-ico,
	.pd-foundation .pd-acc-ico::before,
	.pd-foundation .pd-acc-ico::after,
	.pd-foundation .pd-acc-panel,
	.pd-foundation .pd-acc-title,
	.pd-foundation .pd-acc-item {
		transition: none !important;
	}

	.pd-foundation .pd-acc-item.is-open .pd-acc-ico {
		transform: none;
		box-shadow: none;
	}

	.projects-page .project-card-slide {
		opacity: 0;
		transform: none;
	}

	.projects-page .project-card-slide.is-active {
		opacity: 1;
	}

	.projects-page .project-card-slide-ticks {
		display: none;
	}
}

body.project-modal-open {
	overflow: hidden;
}

.project-modal[hidden] {
	display: none;
}

.project-modal {
	position: fixed;
	inset: 0;
	z-index: 2200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.project-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(31, 30, 35, 0.72);
	backdrop-filter: blur(10px);
}

.project-modal-panel {
	position: relative;
	display: flex;
	align-items: stretch;
	width: max-content;
	max-width: calc(100vw - 48px);
	overflow: hidden;
	background: var(--projects-elevated, #f8f9fb);
	color: var(--projects-ink, #1F1E23);
	border-radius: 18px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.project-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(31, 30, 35, 0.35);
	border-radius: 50%;
	background: #fff;
	color: #1F1E23;
	cursor: pointer;
}

.project-modal-close:hover,
.project-modal-close:focus-visible {
	color: var(--cyan, #2abeec);
	border-color: var(--cyan, #2abeec);
}

.project-modal-media {
	position: relative;
	flex: 0 0 auto;
	align-self: stretch;
	margin: 0;
	overflow: hidden;
	background: #d8dbe2;
	border-radius: 18px 0 0 18px;
}

.project-modal-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.project-modal-body {
	flex: 0 0 500px;
	width: 500px;
	overflow: visible;
	padding: 28px 32px 24px;
}

.project-modal-tag {
	margin: 0;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--projects-muted, #565860);
}

.project-modal-title {
	margin: 12px 0 14px;
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.14;
}

.project-modal-lead {
	margin: 0 0 28px;
	max-width: 42ch;
	font-size: 15px;
	line-height: 1.65;
	color: var(--projects-muted, #5c5e66);
}

.project-modal-kpis-slider {
	width: 100%;
}

.project-modal-kpis {
	display: flex;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.project-modal-kpis::-webkit-scrollbar {
	display: none;
}

.project-modal-kpis-slider.has-more .project-modal-kpi {
	flex: 0 0 calc(100% / 3);
	scroll-snap-align: start;
}

.project-modal-kpis-controls {
	display: flex;
	justify-content: flex-end;
	gap: 2px;
	margin-top: 10px;
}

.project-modal-kpis-controls[hidden] {
	display: none;
}

.project-modal-kpis-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--projects-muted, #565860);
	cursor: pointer;
}

.project-modal-kpis-nav:hover,
.project-modal-kpis-nav:focus-visible {
	color: var(--cyan, #2abeec);
}

.project-modal-kpis-nav:disabled {
	opacity: 0.3;
	cursor: default;
}

.project-modal-kpi {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1 1 0;
	min-width: 0;
	padding: 0 14px;
}

.project-modal-kpi:first-child {
	padding-left: 0;
}

.project-modal-kpi:last-child {
	padding-right: 0;
}

.project-modal-kpi + .project-modal-kpi::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8%;
	bottom: 8%;
	width: 1px;
	background: var(--projects-line, #caced6);
}

.project-modal-kpi-num {
	font-size: clamp(15px, 1.4vw, 22px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--cyan, #2abeec);
	white-space: nowrap;
}

.project-modal-kpi-num--long {
	font-size: calc(clamp(15px, 1.4vw, 22px) * 0.86);
}

.project-modal-kpi-label {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--projects-muted, #565860);
	overflow-wrap: break-word;
	text-wrap: balance;
}

@media (max-width: 999px) {
	.project-modal-panel {
		flex-direction: column;
		width: min(720px, 100%);
	}

	.project-modal-media {
		width: 100%;
		border-radius: 18px 18px 0 0;
	}

	.project-modal-media img {
		position: static;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.project-modal-body {
		flex: 1 1 auto;
		width: 100%;
		padding: 28px 20px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.project-modal-panel {
		scroll-behavior: auto;
	}
}

/* Hero chi tiết dự án: 16:9 theo chiều rộng thay vì phủ kín chiều cao màn hình — zoom/độ phân giải không đổi vùng cắt ảnh. */
@media (min-width: 769px) {
	.pd-intro {
		min-height: 0;
	}

	.pd-hero {
		flex: none;
		/* min-height thay vì aspect-ratio: chữ dài hơn khung luôn đẩy hero cao thêm. */
		min-height: 56.25vw;
	}
}

@media (prefers-reduced-motion: reduce) {
	.projects-hero-shot-frame {
		animation: none;
	}
}
