/* =====================================================================
   Creative3Decor — Homepage canvas styles
   Hero, featured grid, editorial split, process strip, quote, FAQ.
   ===================================================================== */

.site-content--home > section {
	margin: 0;
}

/* ---------------------------------------------------------------------
   Hero
   --------------------------------------------------------------------- */

.c3d-hero-editorial {
	position: relative;
	min-height: 820px;
	overflow: hidden;
	color: var(--c-bg-cream);
	background-size: cover;
	background-position: 60% center;
	background-repeat: no-repeat;
}

.c3d-hero-veil {
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, rgba(31, 26, 20, 0.78) 0%, rgba(31, 26, 20, 0.45) 32%, rgba(31, 26, 20, 0) 60%);
	pointer-events: none;
}

.c3d-hero-inner {
	position: relative;
	z-index: 2;
	padding: clamp(24px, 5vw, 56px) clamp(20px, 4vw, 48px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 820px;
}

.c3d-hero-eyebrow {
	color: var(--c-bg-cream);
}

.c3d-hero-bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
}

.c3d-hero-main {
	max-width: 760px;
}

.c3d-hero-title {
	font-size: clamp(64px, 12vw, 132px);
	color: var(--c-bg-cream);
	margin: 0;
	line-height: 0.92;
}

.c3d-hero-meta {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-end;
	color: var(--c-bg-cream);
	max-width: 320px;
	text-align: right;
	padding-bottom: 8px;
}

.c3d-hero-lead {
	color: rgba(250, 246, 239, 0.92);
	margin: 0;
}

.c3d-hero-cta {
	background: var(--c-bg-cream) !important;
	color: var(--c-ink) !important;
}

.c3d-hero-cta:hover {
	background: var(--c-terracotta) !important;
	color: var(--c-bg-cream) !important;
}

.c3d-hero-rotated-meta {
	position: absolute;
	left: 28px;
	top: 50%;
	transform: translateY(-50%) rotate(-90deg);
	transform-origin: left center;
	font-family: var(--f-mono);
	font-size: 10px;
	letter-spacing: 0.28em;
	color: var(--c-bg-cream);
	text-transform: uppercase;
	opacity: 0.78;
}

@media (max-width: 900px) {
	.c3d-hero-editorial,
	.c3d-hero-inner {
		min-height: 600px;
	}
	.c3d-hero-rotated-meta { display: none; }
	.c3d-hero-meta { align-items: flex-start; text-align: left; max-width: 100%; }
}

@media (max-width: 600px) {
	.c3d-hero-inner {
		padding: 32px 20px;
	}
}

/* ---------------------------------------------------------------------
   Featured products
   --------------------------------------------------------------------- */

.c3d-featured-section {
	padding: clamp(48px, 10vw, 128px) clamp(20px, 4vw, 48px) clamp(48px, 8vw, 96px);
	max-width: var(--container-max);
	margin: 0 auto;
}

.c3d-featured-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 64px;
	gap: 48px;
	flex-wrap: wrap;
}

.c3d-featured-eyebrow {
	margin-bottom: 16px;
}

.c3d-featured-title {
	font-size: clamp(40px, 6vw, 88px);
	margin: 0;
	max-width: 900px;
	line-height: 0.95;
}

.c3d-products-grid {
	display: grid;
	gap: 32px;
}

.c3d-products-grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.c3d-products-grid--4 {
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

@media (max-width: 1024px) {
	.c3d-products-grid--3,
	.c3d-products-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.c3d-products-grid--3,
	.c3d-products-grid--4 {
		grid-template-columns: 1fr;
	}
	.c3d-featured-section {
		padding: 64px 20px;
	}
}

.c3d-product-card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.c3d-product-card-image {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	margin-bottom: 16px;
	background: var(--c-bg-soft);
}

.c3d-product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-slow) var(--ease-out);
}

.c3d-product-card:hover .c3d-product-card-image img {
	transform: scale(1.04);
}

.c3d-product-card-number {
	position: absolute;
	top: 16px;
	left: 16px;
	color: var(--c-bg-cream);
	mix-blend-mode: difference;
}

.c3d-product-card-info {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
}

.c3d-product-card-name {
	font-size: 28px;
	letter-spacing: -0.015em;
}

.c3d-product-card-sub {
	margin-top: 4px;
	font-size: 14px;
}

.c3d-product-card-price {
	font-family: var(--f-mono);
	font-size: 13px;
	color: var(--c-ink);
	white-space: nowrap;
}

.c3d-products-grid--4 .c3d-product-card-name {
	font-size: 22px;
}

/* ---------------------------------------------------------------------
   Editorial split
   --------------------------------------------------------------------- */

.c3d-editorial-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 720px;
}

.c3d-editorial-split-text {
	background: var(--c-bg-soft);
	padding: clamp(48px, 10vw, 128px) clamp(24px, 5vw, 80px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.c3d-split-eyebrow {
	margin-bottom: 24px;
	color: var(--c-terracotta);
}

.c3d-editorial-split-title {
	font-size: clamp(40px, 5vw, 76px);
	margin: 0 0 32px;
}

.c3d-editorial-split-copy {
	max-width: 480px;
	margin-bottom: 32px;
}

.c3d-split-cta {
	align-self: flex-start;
}

.c3d-editorial-split-image {
	overflow: hidden;
}

.c3d-editorial-split-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	.c3d-editorial-split {
		grid-template-columns: 1fr;
	}
	.c3d-editorial-split-text {
		padding: 64px 24px;
	}
	.c3d-editorial-split-image {
		min-height: 400px;
	}
}

/* ---------------------------------------------------------------------
   Process
   --------------------------------------------------------------------- */

.c3d-process-section {
	padding: clamp(48px, 10vw, 128px) clamp(20px, 4vw, 48px);
	background: var(--c-bg-soft);
}

.c3d-process-intro {
	text-align: center;
	margin-bottom: 80px;
}

.c3d-ornament {
	display: inline-block;
	margin-bottom: 24px;
}

.c3d-process-heading {
	font-size: clamp(40px, 6vw, 80px);
	margin: 0;
	max-width: 900px;
	margin-inline: auto;
}

.c3d-process-desc {
	max-width: 620px;
	margin-inline: auto;
	margin-top: 24px;
}

.c3d-process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--c-line);
	max-width: var(--container-max);
	margin: 0 auto;
}

.c3d-process-step {
	background: var(--c-bg-soft);
	padding: 32px;
	min-height: 240px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.c3d-process-step-no {
	color: var(--c-terracotta);
	margin-bottom: 32px;
}

.c3d-process-step-t {
	font-size: 28px;
}

.c3d-process-step-d {
	margin: 0;
}

@media (max-width: 1024px) {
	.c3d-process-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.c3d-process-section {
		padding: 64px 20px;
	}
	.c3d-process-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------
   Quote overlay
   --------------------------------------------------------------------- */

.c3d-quote-overlay {
	position: relative;
	min-height: 520px;
	background: var(--c-ink);
	background-size: cover;
	background-position: center 40%;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.c3d-quote-darken {
	position: absolute;
	inset: 0;
	background: rgba(31, 26, 20, 0.55);
}

.c3d-quote-text {
	position: relative;
	z-index: 2;
	font-size: clamp(32px, 4vw, 64px);
	color: var(--c-bg-cream);
	text-align: center;
	max-width: 980px;
	line-height: 1.05;
	margin: 0;
	padding: 48px;
	border: none;
	font-style: italic;
}

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */

.c3d-faq-section {
	padding: clamp(48px, 10vw, 128px) clamp(20px, 4vw, 48px);
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: clamp(32px, 6vw, 96px);
	max-width: var(--container-max);
	margin: 0 auto;
}

.c3d-faq-eyebrow {
	margin-bottom: 16px;
	color: var(--c-terracotta);
}

.c3d-faq-heading {
	font-size: clamp(40px, 5vw, 64px);
	margin: 0;
}

.c3d-accordion {
	border-top: 1px solid var(--c-line);
	padding: 24px 0;
}

.c3d-accordion:last-of-type {
	border-bottom: 1px solid var(--c-line);
}

.c3d-accordion summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	list-style: none;
	gap: 24px;
}

.c3d-accordion summary::-webkit-details-marker {
	display: none;
}

.c3d-accordion-q {
	font-size: 22px;
}

.c3d-accordion-icon {
	font-family: var(--f-mono);
	font-size: 18px;
	transition: transform var(--dur-fast) var(--ease-out);
}

.c3d-accordion[open] .c3d-accordion-icon {
	transform: rotate(45deg);
}

.c3d-accordion-content {
	margin-top: 16px;
	max-width: 720px;
	color: var(--c-ink-soft);
}

@media (max-width: 900px) {
	.c3d-faq-section {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 64px 20px;
	}
}
