/**
 * Homepage — Relieval architecture & sculpture landing.
 * Enqueued only on the front page.
 */

/* —— Shared —— */
.header--home {
	transition: background-color 0.25s ease, backdrop-filter 0.25s ease, box-shadow 0.25s ease;
}

/* —— Hero —— */
.home-hero {
	align-items: center;
}

.home-hero__media {
	height: 100%;
	z-index: 0;
}

.home-hero__img {
	display: block;
	object-position: center center;
}

.home-hero__veil {
	z-index: 0;
	background: rgba(0, 0, 0, 0.4);
}

.home-hero__copy {
	padding-top: 80px;
	padding-bottom: 40px;
}

.home-hero__inner {
	align-items: flex-start;
	text-align: left;
}

.home-hero--mobile.height-full {
	box-sizing: border-box;
	height: 100svh !important;
	height: 100dvh !important;
	max-height: 100svh;
	max-height: 100dvh;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.home-hero--mobile .home-hero__img {
	object-position: center center;
}

.home-hero--mobile .home-hero__veil {
	background: rgba(18, 15, 12, 0.42);
}

.home-hero--mobile .home-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	padding: 0 20px;
	text-align: center;
}

.home-hero--mobile .home-hero__inner {
	align-items: center;
	width: 100%;
	text-align: center;
}

.home-section__head {
	max-width: 640px;
}

.home-section__kicker {
	margin: 0 0 12px;
	color: var(--gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.home-section__title {
	line-height: 1.15;
	font-weight: 500;
}

.home-section__lead {
	line-height: 1.7;
}

.home-btn {
	line-height: 1.2;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.home-btn:active {
	transform: translateY(1px);
}

.home-btn--pill {
	border-radius: 100px;
}

.home-btn--gold,
.home-btn--primary {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--bg-dark);
}

.home-btn--gold:hover,
.home-btn--gold:focus-visible,
.home-btn--primary:hover,
.home-btn--primary:focus-visible {
	background: #d4b896;
	border-color: #d4b896;
	color: var(--bg-dark);
}

.home-btn--ghost {
	background: transparent;
	border-color: rgba(247, 243, 236, 0.55);
	color: var(--text-white);
}

.home-btn--ghost:hover,
.home-btn--ghost:focus-visible {
	background: var(--text-white);
	border-color: var(--text-white);
	color: var(--text-primary);
}

.home-btn--outline {
	background: transparent;
	border-color: var(--border);
	color: var(--text-primary);
}

.home-btn--outline:hover,
.home-btn--outline:focus-visible {
	border-color: var(--gold);
	color: var(--button-secondary);
}

/* —— Values —— */
.home-values__icon {
	width: 48px;
	height: 48px;
	margin-bottom: 10px;
	background: var(--pink-100);
	color: var(--gold);
}

.home-values__text {
	line-height: 1.55;
}

.home-values__item {
	border-top: 1px solid var(--border);
	padding-top: 20px;
}

/* —— Featured catalog —— */
.home-catalog__card {
	position: relative;
	display: block;
	color: inherit;
	text-decoration: none;
	overflow: hidden;
	background: var(--bg-dark);
}

.home-catalog__card:hover .home-catalog__img,
.home-catalog__card:focus-visible .home-catalog__img {
	transform: scale(1.04);
}

.home-catalog__media {
	aspect-ratio: 3 / 4;
	margin: 0;
	overflow: hidden;
	background: #2a241c;
}

.home-catalog__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.home-catalog__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 20px 20px;
	background: linear-gradient(180deg, transparent, rgba(18, 15, 12, 0.82));
	color: #f7f3ec;
}

.home-catalog__meta {
	margin: 0 0 6px;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
}

.home-catalog__title {
	margin: 0;
	font-size: 22px;
	font-weight: 500;
	color: #f7f3ec;
}

.home-catalog__empty {
	padding: 40px 20px;
	border: 1px solid var(--border);
	background: var(--bg-white);
}

/* —— Featured portfolio —— */
.home-portfolio__card {
	position: relative;
	display: block;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	background: var(--bg-dark);
}

.home-portfolio__card:hover .home-portfolio__img,
.home-portfolio__card:focus-visible .home-portfolio__img {
	transform: scale(1.04);
}

.home-portfolio__media {
	aspect-ratio: 16 / 10;
	margin: 0;
	overflow: hidden;
	background: #2a241c;
}

.home-portfolio__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.home-portfolio__body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 32px 22px 22px;
	background: linear-gradient(180deg, transparent, rgba(18, 15, 12, 0.82));
	color: #f7f3ec;
}

.home-portfolio__meta {
	margin: 0 0 6px;
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold);
}

.home-portfolio__title {
	margin: 0;
	font-size: 26px;
	font-weight: 500;
	color: #f7f3ec;
	line-height: 1.2;
}

.home-portfolio__excerpt {
	margin: 8px 0 0;
	max-width: 36em;
	font-size: 14px;
	font-weight: 300;
	line-height: 1.5;
	color: rgba(247, 243, 236, 0.78);
}

.home-portfolio__empty {
	padding: 40px 20px;
	border: 1px solid var(--border);
	background: var(--bg-grey);
}

.home-portfolio__grid .home-portfolio__card:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

/* —— How it works —— */
.home-steps__num {
	top: 16px;
	right: 18px;
	line-height: 1;
	color: var(--pink-300);
	font-family: var(--font-serif);
}

.home-steps__icon {
	width: 44px;
	height: 44px;
	margin-bottom: 10px;
	color: var(--gold);
}

.home-steps__text {
	line-height: 1.55;
}

.home-steps__item {
	background: var(--pink-50);
	border-color: var(--border);
}

/* —— Final CTA —— */
.home-cta__panel {
	color: var(--text-white);
	background:
		linear-gradient(120deg, rgba(18, 15, 12, 0.55), rgba(18, 15, 12, 0.2)),
		var(--bg-dark);
}

.home-cta--desktop .home-cta__panel {
	grid-template-columns: 1.4fr 1fr;
}

.home-cta__title {
	line-height: 1.2;
	font-weight: 500;
}

.home-cta__text {
	max-width: 38em;
	line-height: 1.6;
	color: rgba(247, 243, 236, 0.82);
}

.home-cta__actions .home-btn--outline {
	border-color: rgba(247, 243, 236, 0.35);
	color: var(--text-white);
}

.home-cta__actions .home-btn--outline:hover,
.home-cta__actions .home-btn--outline:focus-visible {
	border-color: var(--text-white);
	background: var(--text-white);
	color: var(--text-primary);
}

.home-cta .home-btn--primary {
	background: var(--gold);
	border-color: var(--gold);
	color: var(--bg-dark);
}

.home-cta .home-btn--primary:hover,
.home-cta .home-btn--primary:focus-visible {
	background: #d4b896;
	border-color: #d4b896;
}

.home-cta__meta li {
	color: rgba(247, 243, 236, 0.78);
}

.home-cta__meta .theme-x-icon,
.home-cta__meta svg {
	flex-shrink: 0;
	color: var(--gold);
	margin-top: 2px;
}

/* —— Instagram —— */
.home-instagram__grid {
	width: 100%;
}

.home-instagram__item {
	display: block;
	min-width: 0;
}

.home-instagram__item img {
	display: block;
	transition: transform 0.2s ease;
}

.home-instagram__item:hover img,
.home-instagram__item:focus-visible img {
	transform: scale(1.04);
}
