/* =========================================================================
   D-Zigners - Homepage (page-templates/homepage.php)
   Hero (video), Sublimation Printing intro (photo stack), Our Process
   (horizontal scroll-drawn timeline), Our Services, Shop (filterable
   placeholder product grid), Home Decor (bento grid), and closing CTA.
   Ported 1:1 from the approved static preview
   (dzigners-header-hero-preview.html). The shared button / eyebrow /
   scroll-reveal system lives in css/base.css (loaded sitewide).
   ========================================================================= */

/* ============ Hero ============ */
.dz-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	background: var(--dz-white);
}


.dz-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: saturate(0.92) brightness(1.02);
}

/* Subtle dark tint directly over the video so anything sitting on top of
   the visible video area (nav, logo, any text) stays readable, before
   the white fade below takes over. */
.dz-hero__tint {
	position: absolute;
	inset: 0;
	background: rgba(17, 18, 17, 0.32);
	z-index: 1;
}

/* Video is fully visible up top and fades down into solid white further
   down the hero, which is where the headline, CTA and client-logo strip
   sit. */
.dz-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.08) 42%,
		rgba(255, 255, 255, 0.5) 60%,
		rgba(255, 255, 255, 0.88) 74%,
		var(--dz-white) 86%,
		var(--dz-white) 100%
	);
	z-index: 1;
}

.dz-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 900px;
	padding: 60px 32px 72px;
}

/* Extra readability glow directly behind the text/buttons/logo-strip -
   a soft white halo so the black text stays crisp regardless of how
   bright or busy the video looks at that exact point in its loop. */
.dz-hero__content::before {
	content: "";
	position: absolute;
	inset: -40px -10% -20px;
	background: radial-gradient(
		ellipse 60% 65% at 50% 55%,
		rgba(255, 255, 255, 0.85) 0%,
		rgba(255, 255, 255, 0.55) 45%,
		rgba(255, 255, 255, 0) 80%
	);
	z-index: -1;
	pointer-events: none;
}

.dz-hero__title {
	margin: 0 0 24px;
}

.dz-hero__title-line {
	display: block;
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(30px, 5vw, 62px);
	line-height: 1.14;
	color: var(--dz-text);
}

.dz-hero__title-accent {
	font-family: var(--dz-font-editorial);
	font-style: italic;
	font-weight: 600;
	color: var(--dz-accent);
}

.dz-hero__subtitle {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--dz-text-muted);
	max-width: 540px;
	margin: 0 auto 28px;
}

.dz-hero__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
}

.dz-hero__scroll {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	width: 26px;
	height: 42px;
	border: 2px solid rgba(17, 18, 17, 0.3);
	border-radius: 999px;
	z-index: 2;
}

.dz-hero__scroll span {
	position: absolute;
	top: 6px;
	left: 50%;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	background: var(--dz-text);
	border-radius: 999px;
	animation: dz-scroll-bounce 1.8s ease infinite;
}

@keyframes dz-scroll-bounce {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(14px); opacity: 0; }
}

/* ============ Hero client-logo strip ============ */
.dz-hero__clients {
	width: 100%;
	max-width: 680px;
	margin: 52px auto 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.dz-hero__clients-track {
	display: flex;
	align-items: center;
	gap: 68px;
	width: max-content;
	animation: dz-hero-clients-scroll 16s linear infinite;
}

.dz-hero__clients-track img {
	height: 48px;
	width: auto;
	object-fit: contain;
	opacity: 0.6;
	filter: grayscale(1);
}

@keyframes dz-hero-clients-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.dz-hero__clients-track {
		animation: none;
	}
}

/* ============ Short viewports: drop the scroll indicator so it never
   collides with the hero CTA on shorter browser windows ============ */
@media (max-height: 760px) {
	.dz-hero__scroll {
		display: none;
	}
	.dz-hero__content {
		padding-bottom: 60px;
	}
}

/* ============ Mobile hero: tighter side padding, buttons stack
   full-width instead of sitting side-by-side. The CTA pills size to
   their own text ("Let's Create Your Vision" + arrow) with no wrap,
   so at phone widths that content plus 30px padding on each side
   didn't fit next to "See Our Facility" and ran past the edge of the
   screen. Stacking them full-width guarantees they always fit
   regardless of label length or exact phone width. ============ */
@media (max-width: 600px) {
	.dz-hero__content {
		padding: 60px 20px 56px;
	}

	.dz-hero__title-line {
		font-size: clamp(26px, 8vw, 38px);
	}

	.dz-hero__subtitle {
		font-size: 15px;
	}

	.dz-hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		gap: 12px;
	}

	.dz-hero__actions .dz-btn {
		width: 100%;
	}
}

/* ============ Sublimation Printing section - copy left, photo stack right ============ */
.dz-intro {
	position: relative;
	overflow: hidden;
	padding: var(--dz-space-2xl) 0;
	background: var(--dz-white);
}

.dz-intro__inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
	display: grid;
	/* Text column gets a bit more room than the photo-stack column - at
	   an even 1fr/1fr split the heading was wrapping to 3 lines instead
	   of 2 ("Top sublimation printing, / based in Miami." reads cleanly
	   at 2 lines with the extra width). */
	grid-template-columns: 1.15fr 0.95fr;
	gap: 64px;
	align-items: center;
}

.dz-intro__copy {
	max-width: 660px;
}

.dz-intro__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(28px, 3.2vw, 42px);
	line-height: 1.22;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-md);
}

.dz-intro__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.8;
	color: var(--dz-text-muted);
	margin: 0 0 var(--dz-space-lg);
}

/* Collage instead of an exact overlap: one large image plus two smaller
   ones at different sizes, offset so all three stay partly visible at
   once. Each slides in from the right and settles into place as the
   section scrolls through (see dzInitStackReveal in js/home.js). */
.dz-intro__stack {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 5;
}

.dz-intro__stack-item {
	position: absolute;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--dz-shadow);
	opacity: 0;
	transform: translateX(140%);
}

.dz-intro__stack-item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dz-intro__stack-item--1 {
	width: 74%;
	height: 76%;
	top: 0;
	right: 0;
	z-index: 1;
}

.dz-intro__stack-item--1 img {
	object-position: center 60%;
}

.dz-intro__stack-item--2 {
	width: 56%;
	height: 46%;
	bottom: 0;
	left: 0;
	z-index: 2;
	border: 5px solid var(--dz-white);
}

.dz-intro__stack-item--2 img {
	object-position: center 68%;
}

.dz-intro__stack-item--3 {
	width: 40%;
	height: 34%;
	bottom: 8%;
	right: 3%;
	z-index: 3;
	border: 5px solid var(--dz-white);
}

.dz-intro__stack-item--3 img {
	object-position: center 40%;
}

/* Wrap: the stack itself clips to rounded corners, but the badge
   overlapping its bottom-left corner must NOT be clipped, so it lives
   in this outer wrapper instead of inside .dz-intro__stack. */
.dz-intro__stack-wrap {
	position: relative;
}

.dz-stack-badge {
	position: absolute;
	bottom: -30px;
	left: -30px;
	width: 138px;
	height: 138px;
	border-radius: 50%;
	background: var(--dz-cream);
	box-shadow: var(--dz-shadow);
	z-index: 5;
}

.dz-stack-badge__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: dz-badge-spin 16s linear infinite;
}

.dz-stack-badge__ring text {
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 6.6px;
	letter-spacing: 0.4px;
	fill: var(--dz-text);
}

/* Center mark: the real D-zigners "DZ" monogram icon (LOGO_11.png). */
.dz-stack-badge__center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--dz-white);
	overflow: hidden;
	box-shadow: var(--dz-shadow);
}

.dz-stack-badge__center img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@keyframes dz-badge-spin {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.dz-stack-badge__ring {
		animation: none;
	}
}

@media (max-width: 900px) {
	.dz-intro__inner {
		grid-template-columns: 1fr;
		gap: var(--dz-space-lg);
	}
	.dz-intro__copy {
		max-width: 100%;
	}
	.dz-intro__stack {
		aspect-ratio: 4 / 3;
	}
	.dz-stack-badge {
		width: 104px;
		height: 104px;
		bottom: -20px;
		left: -20px;
	}
	.dz-stack-badge__center {
		width: 42px;
		height: 42px;
	}
	.dz-stack-badge__ring text {
		font-size: 6.6px;
		letter-spacing: 0.4px;
	}
}

/* ============ Our Process - black background, horizontal scroll-drawn timeline ============ */
.dz-process {
	position: relative;
	background: var(--dz-black);
	padding: var(--dz-space-2xl) 0;
}

.dz-process__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
	text-align: center;
}

.dz-process .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-process__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.15;
	color: var(--dz-white);
	max-width: 900px;
	margin: 0 auto var(--dz-space-md);
}

.dz-process__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.62);
	max-width: 680px;
	margin: 0 auto;
}

.dz-process__timeline {
	position: relative;
	margin-top: var(--dz-space-2xl);
	--dz-timeline-pad: clamp(20px, 6vw, 90px);
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 0 var(--dz-timeline-pad);
	box-sizing: border-box;
}

.dz-process__line-track {
	position: absolute;
	top: 54px;
	left: 0;
	right: 0;
	height: 2px;
	background: rgba(255, 255, 255, 0.12);
}

.dz-process__line-fill {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: var(--dz-accent);
	transform: scaleX(0);
	transform-origin: left center;
	will-change: transform;
}

.dz-process__steps {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 20px;
}

.dz-process__step {
	position: relative;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 88px;
}

/* Step number - sits above the timeline line/node (not inside the
   card), sized to actually be readable rather than the small italic
   label it used to be. Absolutely positioned against .dz-process__step
   (its nearest positioned ancestor) regardless of where the <span>
   sits in the DOM inside .dz-process__card. */
.dz-process__num {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--dz-font-display);
	font-style: normal;
	font-weight: 700;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1;
	color: var(--dz-accent);
	z-index: 3;
}

.dz-process__node {
	position: absolute;
	top: 54px;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--dz-black);
	border: 3px solid rgba(255, 255, 255, 0.22);
	z-index: 2;
	transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.4s ease;
}

.dz-process__step.dz-step-active .dz-process__node {
	border-color: var(--dz-accent);
	background: var(--dz-accent);
	transform: translate(-50%, -50%) scale(1.15);
}

.dz-process__card {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 20px 16px 22px;
	opacity: 0.34;
	transform: translateY(24px);
	transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease;
}

.dz-process__step.dz-step-active .dz-process__card {
	opacity: 1;
	transform: translateY(0);
	border-color: rgba(219, 77, 0, 0.35);
}

.dz-process__card-media {
	width: 72px;
	height: 72px;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--dz-shadow);
	flex-shrink: 0;
}

.dz-process__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dz-process__label {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--dz-white);
}

.dz-process__desc {
	font-family: var(--dz-font-body);
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

@media (max-width: 900px) {
	.dz-process__line-track {
		display: none;
	}
	.dz-process__steps {
		flex-wrap: nowrap;
		overflow-x: auto;
		align-items: stretch;
		gap: 16px;
		margin: 0 calc(var(--dz-timeline-pad) * -1);
		padding: 0 var(--dz-timeline-pad) 8px;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}
	.dz-process__step {
		flex: 0 0 76%;
		padding-top: 0;
		scroll-snap-align: start;
	}
	.dz-process__step .dz-process__card {
		opacity: 1;
		transform: none;
	}
	.dz-process__node {
		display: none;
	}
	.dz-process__num {
		position: static;
		transform: none;
		font-size: 22px;
		margin-bottom: 2px;
	}
}

/* ============ Product Line Video - grows from small to full size as it
   scrolls into the center of the viewport (see dzInitVideoGrow in
   js/home.js), with a circular play button that hands control to the
   native <video> element on click ============ */
.dz-video-showcase {
	position: relative;
	background: var(--dz-white);
	padding: var(--dz-space-2xl) 0;
	overflow: hidden;
}

.dz-video-showcase__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 var(--dz-space-lg);
}

.dz-video-showcase__head {
	max-width: 820px;
	margin: 0 auto var(--dz-space-xl);
	text-align: center;
}

.dz-video-showcase .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-video-showcase__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.15;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-sm);
}

.dz-video-showcase__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--dz-text-muted);
	max-width: 560px;
	margin: 0 auto;
}

.dz-video-showcase__frame {
	position: relative;
	max-width: 940px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	background: var(--dz-black);
	box-shadow: 0 30px 70px rgba(17, 18, 17, 0.22);
	/* Fallback values before js/home.js takes over on scroll - keeps the
	   frame from flashing at full size if JS is slow to init. */
	transform: scale(0.74);
	opacity: 0.45;
	will-change: transform, opacity;
}

.dz-video-showcase__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--dz-black);
}

.dz-video-showcase__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 84px;
	height: 84px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--dz-white);
	color: var(--dz-text);
	cursor: pointer;
	box-shadow: 0 14px 34px rgba(17, 18, 17, 0.32);
	transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
		background 0.3s ease, color 0.3s ease, opacity 0.3s ease;
}

.dz-video-showcase__play svg {
	width: 26px;
	height: 26px;
	margin-left: 3px;
	fill: currentColor;
}

.dz-video-showcase__play:hover {
	background: var(--dz-accent);
	color: var(--dz-white);
	transform: translate(-50%, -50%) scale(1.08);
}

.dz-video-showcase__frame.is-playing .dz-video-showcase__play {
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, -50%) scale(0.85);
}

@media (max-width: 640px) {
	.dz-video-showcase__frame {
		border-radius: 14px;
	}
	.dz-video-showcase__play {
		width: 64px;
		height: 64px;
	}
	.dz-video-showcase__play svg {
		width: 20px;
		height: 20px;
	}
}

/* ============ Our Services - light background, rounded card grid ============ */
.dz-services {
	position: relative;
	background: var(--dz-bg-soft);
	padding: var(--dz-space-2xl) 0;
}

.dz-services__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
}

.dz-services__header {
	max-width: 900px;
	margin: 0 auto var(--dz-space-xl);
	text-align: center;
}

.dz-services .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-services__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.15;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-sm);
}

.dz-services__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--dz-text-muted);
	max-width: 640px;
	margin: 0 auto;
}

.dz-services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.dz-services__card {
	background: var(--dz-white);
	border: 1px solid var(--dz-border);
	border-radius: 24px;
	padding: 32px 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: var(--dz-shadow);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.dz-services__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 24px 48px rgba(17, 18, 17, 0.12);
}

.dz-services__badge {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(219, 77, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dz-accent);
}

.dz-services__badge svg {
	width: 24px;
	height: 24px;
}

.dz-services__card-title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--dz-text);
	margin: 0;
}

.dz-services__card-text {
	font-family: var(--dz-font-body);
	font-size: 14px;
	line-height: 1.7;
	color: var(--dz-text-muted);
	margin: 0;
}

@media (max-width: 980px) {
	.dz-services__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.dz-services__grid {
		grid-template-columns: 1fr;
	}
}

/* ============ Why D-zigners - white background, 4-card grid
   (visually distinct from Our Services' soft-bg grid right above it,
   same badge/title/text card anatomy for consistency) ============ */
.dz-why {
	position: relative;
	background: var(--dz-white);
	padding: var(--dz-space-2xl) 0;
}

.dz-why__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 var(--dz-space-lg);
}

.dz-why__head {
	max-width: 720px;
	margin: 0 auto var(--dz-space-xl);
	text-align: center;
}

.dz-why .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-why__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.15;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-sm);
}

.dz-why__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--dz-text-muted);
	max-width: 640px;
	margin: 0 auto;
}

.dz-why__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--dz-space-lg);
}

.dz-why__card {
	position: relative;
	background: var(--dz-bg-soft);
	border-radius: 16px;
	padding: var(--dz-space-lg);
}

.dz-why__badge {
	display: block;
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 28px;
	color: var(--dz-accent);
	margin-bottom: var(--dz-space-sm);
}

.dz-why__card-title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 18px;
	color: var(--dz-text);
	margin: 0 0 8px;
}

.dz-why__card-text {
	font-family: var(--dz-font-body);
	font-size: 14px;
	line-height: 1.65;
	color: var(--dz-text-muted);
	margin: 0;
}

@media (max-width: 900px) {
	.dz-why__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.dz-why__grid {
		grid-template-columns: 1fr;
	}
}

/* ============ CEO Introduction - photo + pull-quote, two columns ============ */
.dz-ceo {
	position: relative;
	background: var(--dz-bg-soft);
	padding: var(--dz-space-2xl) 0;
}

.dz-ceo__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 var(--dz-space-lg);
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: var(--dz-space-2xl);
	align-items: center;
}

/* Shows the CEO photo full-body, uncropped, at its own natural aspect
   ratio - no circle mask, no object-fit:cover crop. The frame just
   wraps whatever size the image actually is. */
.dz-ceo__media {
	position: relative;
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.dz-ceo__media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: contain;
}

.dz-ceo__avatar-placeholder {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 16px;
	background: var(--dz-white);
	box-shadow: 0 20px 50px rgba(17, 18, 17, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dz-border);
}

.dz-ceo__avatar-placeholder svg {
	width: 60%;
	height: 60%;
}

.dz-ceo .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-ceo__quote {
	font-family: var(--dz-font-display);
	font-weight: 500;
	font-size: clamp(20px, 2.4vw, 28px);
	line-height: 1.45;
	color: var(--dz-text);
	margin: var(--dz-space-sm) 0 var(--dz-space-lg);
}

.dz-ceo__name {
	display: block;
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 15px;
	color: var(--dz-text);
}

.dz-ceo__title {
	display: block;
	font-family: var(--dz-font-body);
	font-size: 14px;
	color: var(--dz-text-muted);
	margin-top: 2px;
}

@media (max-width: 720px) {
	.dz-ceo__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}
	.dz-ceo__media {
		width: 180px;
		margin: 0 auto;
	}
}

/* ============ Sublimation vs. Screen Printing ============
   A two-column comparison table on a cream background, with a large
   orange "G" isotipo shape (from the brand guide) bleeding off the
   right edge as a decorative accent, echoing the brand book layout. */
.dz-compare {
	position: relative;
	background: var(--dz-cream);
	padding: var(--dz-space-2xl) 0;
	overflow: hidden;
}

.dz-compare__decor {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 1;
	pointer-events: none;
}

.dz-compare__inner {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
}

.dz-compare__header {
	max-width: 720px;
	margin: 0 0 var(--dz-space-xl);
}

.dz-compare .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-compare__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.15;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-sm);
}

.dz-compare__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--dz-text-muted);
	max-width: 560px;
	margin: 0;
}

.dz-compare__table {
	background: var(--dz-white);
	border: 1px solid var(--dz-border);
	border-radius: 24px;
	box-shadow: var(--dz-shadow);
	overflow: hidden;
	max-width: 820px;
}

.dz-compare__table-head,
.dz-compare__row {
	display: grid;
	grid-template-columns: 1fr 2.8fr;
	gap: 20px;
	align-items: center;
	padding: 20px 32px;
}

.dz-compare__table-head {
	background: var(--dz-cream);
	border-bottom: 1px solid var(--dz-border);
}

.dz-compare__col-head {
	font-family: var(--dz-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dz-compare__col-head--sub {
	color: var(--dz-accent);
}

.dz-compare__col-head--screen {
	color: var(--dz-text-muted);
}

.dz-compare__row {
	border-bottom: 1px solid var(--dz-border);
}

.dz-compare__row:last-child {
	border-bottom: none;
}

.dz-compare__row-label {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 16px;
	color: var(--dz-text);
}

.dz-compare__row-val {
	font-family: var(--dz-font-body);
	font-size: 14px;
	line-height: 1.6;
}

.dz-compare__row-val--sub {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	color: var(--dz-text);
	font-weight: 600;
}

.dz-compare__row-val--screen {
	color: var(--dz-text-muted);
}

.dz-compare__check {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 1px;
}

@media (max-width: 900px) {
	.dz-compare__decor {
		opacity: 0.35;
	}
}

@media (max-width: 700px) {
	.dz-compare__table-head {
		display: none;
	}

	.dz-compare__row {
		grid-template-columns: 1fr;
		gap: 6px;
		padding: 20px 24px;
	}

	.dz-compare__row-val--sub::before {
		content: "Sublimation";
		display: block;
		font-size: 14px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--dz-accent);
		margin-bottom: 4px;
		width: 100%;
	}

	.dz-compare__row-val--sub {
		flex-wrap: wrap;
	}

	.dz-compare__row-val--screen::before {
		content: "Screen Printing";
		display: block;
		font-size: 14px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: var(--dz-text-muted);
		margin-bottom: 4px;
	}
}

/* ============ Shop - filterable placeholder product grid ============
   Mockup product cards (placeholder names/prices - swap for real
   WooCommerce products when the catalog is populated) with category
   filter pills and an Add to Cart interaction that bumps the header
   cart counter. Since these aren't real WooCommerce products, they
   don't touch the real cart/order data. */
.dz-shop {
	position: relative;
	background: var(--dz-white);
	padding: var(--dz-space-2xl) 0;
}

.dz-shop__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
}

.dz-shop__header {
	max-width: 900px;
	margin: 0 auto var(--dz-space-lg);
	text-align: center;
}

.dz-shop .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-shop__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.15;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-sm);
}

.dz-shop__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--dz-text-muted);
	max-width: 640px;
	margin: 0 auto;
}

.dz-shop__filters {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 var(--dz-space-lg);
}

.dz-shop__filter-btn {
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dz-text-muted);
	background: var(--dz-bg-soft);
	border: 1px solid var(--dz-border);
	border-radius: 999px;
	padding: 10px 20px;
	cursor: pointer;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.dz-shop__filter-btn:hover {
	border-color: var(--dz-accent);
	color: var(--dz-text);
}

.dz-shop__filter-btn.is-active {
	background: var(--dz-black);
	border-color: var(--dz-black);
	color: var(--dz-white);
}

.dz-shop__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

/* Minimal editorial card (matches the reference layout): clean
   vertical product photo with zero card chrome (no border/shadow/
   radius), an Add to Cart pill that only appears on hover as an
   overlay near the bottom of the image, and centered brand/name/
   price text underneath. */
.dz-shop__card {
	position: relative;
	background: transparent;
	border: none;
	border-radius: 0;
	overflow: visible;
	display: flex;
	flex-direction: column;
	box-shadow: none;
	transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dz-shop__card:hover {
	transform: none;
	box-shadow: none;
}

.dz-shop__card.is-filtering-out {
	opacity: 0;
	transform: scale(0.94);
	pointer-events: none;
}

.dz-shop__card.is-hidden-filter {
	display: none;
}

.dz-shop__card-media {
	position: relative;
	aspect-ratio: 3 / 4;
	background-color: var(--dz-white);
	border: 1px solid var(--dz-border);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	border-radius: 4px;
	overflow: hidden;
}

.dz-shop__card-media-link {
	/* Non-replaced element (an <a>, no image involved here - this
	   card's photo is a CSS background-image on the parent, not an
	   <img>) - top/right/bottom/left: 0 reliably stretches this to
	   cover the whole card. Deliberately no explicit height: 100%
	   (percentage height on an absolutely positioned child of an
	   aspect-ratio box is unreliable and can silently collapse to 0
	   in some browsers). */
	position: absolute;
	inset: 0;
	z-index: 1;
	text-decoration: none;
}

.dz-shop__empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 48px 0;
	font-family: var(--dz-font-body);
	font-size: 15px;
	color: var(--dz-text-muted);
}

/* Add to Cart / View Product pill - hidden until the card is
   hovered, then fades/slides up over the bottom of the photo. */
.dz-shop__card-add {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	z-index: 2;
	display: block;
	text-align: center;
	background: var(--dz-white);
	color: var(--dz-text);
	border: 2px solid var(--dz-black);
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 999px;
	padding: 13px 16px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
	cursor: pointer;
}

.dz-shop__card:hover .dz-shop__card-add {
	opacity: 1;
	transform: translateY(0);
}

/* Touch devices have no :hover state - show the pill by default so
   there's still a way to add to cart from the grid without tapping
   through to the product page first. */
@media (hover: none) {
	.dz-shop__card-add {
		opacity: 1;
		transform: translateY(0);
	}
}

.dz-shop__card-add:hover {
	background: var(--dz-black);
	color: var(--dz-white);
}

.dz-shop__card-add.added {
	background: var(--dz-accent) !important;
	background-color: var(--dz-accent) !important;
	color: var(--dz-white) !important;
	border-color: var(--dz-accent) !important;
	opacity: 1 !important;
	transform: translateY(0) !important;
	font-size: 0 !important;
}

.dz-shop__card-add.added::after {
	content: "Added ✓" !important;
	display: inline-block !important;
	font-family: var(--dz-font-body) !important;
	font-style: normal !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	speak: literal-punctuation;
}

/* WooCommerce inserts its own "View cart" link right after the button
   on AJAX success - the button itself already communicates success
   (turns accent-colored, text swaps to "Added"), so hide the extra
   link rather than let it float unstyled over the photo. */
.dz-shop__card-media .added_to_cart {
	display: none;
}

.dz-shop__card-body {
	padding: 14px 8px 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: center;
}

.dz-shop__card-brand {
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dz-text-muted);
}

/* Title text is pre-truncated server-side via dzigners_trim_title()
   (see homepage.php) rather than relying on -webkit-line-clamp - see
   the matching comment in css/shop.css for why. */
.dz-shop__card-name {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	color: var(--dz-text);
	margin: 0;
	overflow: hidden;
	height: 2.6em;
}

.dz-shop__card-name a {
	color: inherit;
	text-decoration: none;
}

.dz-shop__card-price {
	font-family: var(--dz-font-body);
	font-weight: 500;
	font-size: 14px;
	color: var(--dz-text-muted);
	margin: 0;
	min-height: 1.4em;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}

@media (max-width: 980px) {
	.dz-shop__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.dz-shop__grid {
		grid-template-columns: 1fr;
	}
	.dz-shop__filters {
		gap: 8px;
	}
	.dz-shop__filter-btn {
		padding: 8px 16px;
		font-size: 14px;
	}
}

/* ============ Home Decor - bento grid with real photo backgrounds ============
   Real facility photos sit behind each tile with a dark gradient overlay
   for readable white text. All four tiles (including the hero tile) reveal
   a circular arrow in the top-right corner on hover. */
.dz-decor {
	position: relative;
	background: var(--dz-white);
	padding: var(--dz-space-2xl) 0;
}

.dz-decor__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 32px;
}

.dz-decor__header {
	max-width: 900px;
	margin: 0 auto var(--dz-space-lg);
	text-align: center;
}

.dz-decor .dz-eyebrow {
	color: var(--dz-accent);
}

.dz-decor__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(30px, 3.6vw, 46px);
	line-height: 1.15;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-sm);
}

.dz-decor__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: var(--dz-text-muted);
	max-width: 640px;
	margin: 0 auto;
}

.dz-decor__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 20px;
}

.dz-decor__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-align: left;
	background: var(--dz-black);
	border-radius: 28px;
	padding: 32px;
	min-height: 340px;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.dz-decor__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 48px rgba(17, 18, 17, 0.3);
}

.dz-decor__card-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s ease;
	z-index: 0;
}

.dz-decor__card:hover .dz-decor__card-bg {
	transform: scale(1.06);
}

.dz-decor__card--blanket .dz-decor__card-bg {
	background-position: center 68%;
}

.dz-decor__card--fan .dz-decor__card-bg {
	background-position: center 40%;
}

.dz-decor__card--hero .dz-decor__card-bg {
	background-position: center 55%;
}

.dz-decor__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 18, 17, 0.15) 0%, rgba(17, 18, 17, 0.4) 48%, rgba(17, 18, 17, 0.85) 100%);
	z-index: 1;
}

.dz-decor__overlay--wide {
	background: linear-gradient(90deg, rgba(17, 18, 17, 0.85) 0%, rgba(17, 18, 17, 0.58) 45%, rgba(17, 18, 17, 0.22) 100%);
}

.dz-decor__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.dz-decor__card--wide .dz-decor__content {
	max-width: 480px;
}

.dz-decor__card-tag {
	display: inline-flex;
	align-self: flex-start;
	background: rgba(255, 255, 255, 0.16);
	color: var(--dz-white);
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 2px;
	backdrop-filter: blur(6px);
}

.dz-decor__arrow {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--dz-white);
	opacity: 0;
	transform: translate(-6px, 6px);
	transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s ease;
	z-index: 3;
	backdrop-filter: blur(6px);
}

.dz-decor__arrow svg {
	width: 16px;
	height: 16px;
}

.dz-decor__card:hover .dz-decor__arrow {
	opacity: 1;
	transform: translate(0, 0);
	background: var(--dz-accent);
}

.dz-decor__card-title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 24px;
	color: var(--dz-white);
	margin: 0;
	text-shadow: 0 2px 14px rgba(17, 18, 17, 0.45);
}

.dz-decor__card-sub {
	font-family: var(--dz-font-body);
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 6px;
	text-shadow: 0 1px 10px rgba(17, 18, 17, 0.4);
}

.dz-decor__card-cta {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	background: var(--dz-white);
	color: var(--dz-black);
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 14px;
	padding: 12px 22px;
	border-radius: 999px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.dz-decor__card-cta svg {
	width: 16px;
	height: 16px;
}

.dz-decor__card:hover .dz-decor__card-cta {
	background: var(--dz-accent);
	color: var(--dz-white);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(17, 18, 17, 0.35);
}

.dz-decor__card--wide {
	grid-column: 1 / -1;
	justify-content: center;
	min-height: 220px;
	padding: 48px;
}

@media (max-width: 980px) {
	.dz-decor__grid {
		grid-template-columns: 1fr 1fr;
	}
	.dz-decor__card--hero {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.dz-decor__grid {
		grid-template-columns: 1fr;
	}
}

/* ============ CTA - full-bleed photo band with dark gradient ============ */
.dz-cta {
	position: relative;
	overflow: hidden;
	padding: var(--dz-space-2xl) 0;
	text-align: center;
}

.dz-cta__bg {
	position: absolute;
	inset: 0;
	background-image: url('https://ivory-tapir-110089.hostingersite.com/wp-content/uploads/2026/07/0K5A4796.jpg');
	background-size: cover;
	background-position: center 45%;
	z-index: 0;
}

.dz-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17, 18, 17, 0.78) 0%, rgba(17, 18, 17, 0.86) 55%, rgba(17, 18, 17, 0.94) 100%);
	z-index: 1;
}

.dz-cta__inner {
	position: relative;
	z-index: 2;
	max-width: 760px;
	margin: 0 auto;
	padding: 0 32px;
}

.dz-cta__eyebrow {
	color: var(--dz-white);
	opacity: 0.85;
}

.dz-cta__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(32px, 4.2vw, 52px);
	line-height: 1.15;
	color: var(--dz-white);
	margin: 0 0 var(--dz-space-sm);
}

.dz-cta__title-accent {
	font-family: var(--dz-font-editorial);
	font-style: italic;
	font-weight: 600;
	color: var(--dz-accent);
}

.dz-cta__text {
	font-family: var(--dz-font-body);
	font-size: 16px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.82);
	max-width: 560px;
	margin: 0 auto var(--dz-space-lg);
}

.dz-cta__actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

@media (max-width: 560px) {
	.dz-cta__actions {
		flex-direction: column;
	}
	.dz-cta__actions .dz-btn {
		width: 100%;
	}
}
