/**
 * redefined.homes — Type, hero, motion, footer, header.
 * Sheet: visual-motion/homepage.css (load order is set in class-visual-motion.php).
 * Uses CSS logical properties for LTR/RTL.
 */

/* —— Typography scale (homepage / editorial) —— */
.rh-eyebrow {
	margin-block: 0 1.25rem;
	margin-inline: 0;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-size: clamp(0.7rem, 0.85vw, 0.8rem);
	font-weight: 300;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--rh-gold);
}

.rh-hero-title,
.home h1.rh-hero-title {
	margin-block: 0 1.25rem;
	margin-inline: 0;
	font-family: "Cormorant Garamond", "Amiri", serif;
	font-weight: 300;
	font-size: clamp(2.75rem, 7.5vw, 5.75rem);
	/* Cormorant descenders need room; 1.05 was clipping g/y/p */
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--rh-ink);
	overflow: visible;
	/* Extra paint room for blur entrance without changing type size */
	padding-block-end: 0.06em;
}

.rh-hero-lead {
	margin-block: 0 2rem;
	margin-inline: auto;
	max-inline-size: 36rem;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-weight: 300;
	font-size: clamp(1rem, 1.35vw, 1.2rem);
	line-height: 1.65;
	color: var(--rh-muted);
}

.rh-section-title {
	margin-block: 0 0.75rem;
	margin-inline: 0;
	font-family: "Cormorant Garamond", "Amiri", serif;
	font-weight: 300;
	font-size: clamp(2.25rem, 5vw, 4rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--rh-ink);
	overflow: visible;
	padding-block-end: 0.05em;
}

.rh-section-lead {
	margin-block: 0 1.75rem;
	margin-inline: 0;
	max-inline-size: 32rem;
	font-weight: 300;
	font-size: clamp(1rem, 1.2vw, 1.125rem);
	line-height: 1.65;
	color: var(--rh-muted);
}

.rh-label {
	display: inline-block;
	margin-block-end: 1rem;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-size: 0.72rem;
	font-weight: 300;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--rh-gold);
}

.home .button.rh-btn,
.rh-footer .button.rh-btn,
.button.is-outline.rh-btn,
a.button.rh-btn {
	border-width: 1px;
	border-radius: 0 !important;
	border-color: #0a0a0a !important;
	color: #0a0a0a !important;
	background: transparent !important;
	padding-block: 0.95em;
	padding-inline: 2em;
	font-weight: 300;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	transition: color 0.45s var(--rh-ease), background-color 0.45s var(--rh-ease), border-color 0.45s var(--rh-ease), transform 0.45s var(--rh-ease);
}

.home .button.rh-btn:hover,
.rh-footer .button.rh-btn:hover,
a.button.rh-btn:hover {
	transform: translateY(-2px);
	background: #0a0a0a !important;
	color: #ffffff !important;
	border-color: #0a0a0a !important;
}

/* —— Hero ——
 * Pattern-led cream composition: quiet grain + hairline geometry,
 * soft light well, corner marks. Optional peek image is rarely used.
 */
.rh-hero {
	--rh-hero-cream: #f7f5f2;
	position: relative;
	isolation: isolate;
	/* Atmosphere layer clips; section stays visible so title paint is not cropped */
	overflow: visible;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	inline-size: 100%;
	max-inline-size: 100%;
	box-sizing: border-box;
	/* Leave a quiet band so Shop-by-edit imagery anchors the first viewport */
	min-block-size: calc(100vh - 5.25rem - 14vh);
	min-block-size: calc(100dvh - 5.25rem - 14vh);
	padding-block: clamp(4rem, 9vh, 6.5rem) clamp(3.5rem, 8vh, 5.5rem);
	padding-inline: 1.5rem;
	background-color: var(--rh-hero-cream);
	background-image:
		radial-gradient(ellipse 85% 60% at 50% 38%, rgba(255, 255, 255, 0.55) 0%, transparent 62%),
		radial-gradient(ellipse 70% 40% at 50% 100%, rgba(200, 169, 110, 0.07) 0%, transparent 60%);
	text-align: center;
}

.error404 .rh-hero {
	min-block-size: calc(100vh - 5.25rem);
	min-block-size: calc(100dvh - 5.25rem);
}

.rh-hero__atmosphere {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.rh-hero__glow {
	position: absolute;
	inset: -8%;
	background:
		radial-gradient(55% 48% at 50% 36%, rgba(255, 255, 255, 0.72) 0%, transparent 68%),
		radial-gradient(42% 36% at 12% 78%, rgba(200, 169, 110, 0.07) 0%, transparent 70%),
		radial-gradient(38% 32% at 88% 22%, rgba(200, 169, 110, 0.055) 0%, transparent 68%);
	transform-origin: center;
}

.rh-hero__pattern {
	position: absolute;
	inset: 0;
	opacity: 1;
	background-image:
		var(--rh-hero-lines),
		var(--rh-ambient-grain),
		var(--rh-ambient-dots);
	background-size: 100px 100px, 160px 160px, 28px 28px;
	background-position: center, center, 0 0;
	/* Clear reading well in the center; pattern gathers toward the edges */
	-webkit-mask-image: radial-gradient(ellipse 48% 42% at 50% 44%, transparent 0%, rgba(0, 0, 0, 0.35) 42%, #000 78%);
	mask-image: radial-gradient(ellipse 48% 42% at 50% 44%, transparent 0%, rgba(0, 0, 0, 0.35) 42%, #000 78%);
}

/* Soft architectural corners — balance without a boxed card */
.rh-hero__frame {
	--rh-frame: clamp(1.35rem, 3.5vw, 2.75rem);
	--rh-tick: clamp(1.75rem, 3.2vw, 2.6rem);
	position: absolute;
	inset: var(--rh-frame);
	pointer-events: none;
	opacity: 0.72;
	background:
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) top left / var(--rh-tick) 1px no-repeat,
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) top left / 1px var(--rh-tick) no-repeat,
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) top right / var(--rh-tick) 1px no-repeat,
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) top right / 1px var(--rh-tick) no-repeat,
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) bottom left / var(--rh-tick) 1px no-repeat,
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) bottom left / 1px var(--rh-tick) no-repeat,
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) bottom right / var(--rh-tick) 1px no-repeat,
		linear-gradient(rgba(200, 169, 110, 0.7), rgba(200, 169, 110, 0.7)) bottom right / 1px var(--rh-tick) no-repeat;
}

/* Hero meets the cream shop band as one plane — no fade veil */
.rh-hero::after {
	content: none;
}

.rh-hero__content {
	position: relative;
	z-index: 2;
	inline-size: 100%;
	max-inline-size: 44rem;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rh-hero__inner {
	position: relative;
	z-index: 2;
	inline-size: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.rh-gold-period {
	color: var(--rh-gold);
}

/* Editorial split — campaign copy + still-life plate */
.rh-hero--plate {
	min-block-size: calc(100vh - 6.25rem);
	min-block-size: calc(100dvh - 6.25rem);
	padding-block: clamp(2.25rem, 5.5vh, 4.25rem);
	padding-inline: clamp(1.25rem, 4.5vw, 3.75rem);
	text-align: start;
	justify-content: center;
}

.rh-hero--plate .rh-hero__inner {
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1.75rem, 5vw, 5.5rem);
	max-inline-size: 1180px;
	margin-inline: auto;
}

.rh-hero--plate .rh-hero__content {
	flex: 1 1 40%;
	max-inline-size: 32rem;
	margin-inline: 0;
	align-items: start;
	text-align: start;
}

.rh-hero--plate .rh-eyebrow::after {
	margin-inline: 0;
}

.rh-hero--plate .rh-hero-title,
.home .rh-hero--plate h1.rh-hero-title {
	font-size: clamp(2.35rem, 4.5vw, 3.85rem);
	line-height: 1.12;
	margin-block-end: 1.1rem;
}

.rh-hero--plate .rh-hero-lead {
	max-inline-size: 28rem;
	margin-block-end: 1.85rem;
}

.rh-hero__plate {
	flex: 1 1 50%;
	position: relative;
	margin: 0;
	inline-size: 100%;
	max-inline-size: min(36rem, 46vw);
	aspect-ratio: 1 / 1;
	background: #f5f5f5;
	overflow: hidden;
}

.rh-hero__plate::after {
	content: "";
	position: absolute;
	inset: 0.85rem;
	z-index: 1;
	pointer-events: none;
	border: 1px solid rgba(200, 169, 110, 0.38);
}

.rh-hero__plate-img {
	display: block;
	inline-size: 100%;
	block-size: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1.04);
	transition: transform 1.8s var(--rh-ease);
}

.rh-hero--plate.is-inview .rh-hero__plate-img {
	transform: scale(1);
}

@media (max-width: 849px) {
	.rh-hero--plate {
		min-block-size: 0;
		padding-block: 2.75rem 3.25rem;
	}

	.rh-hero--plate .rh-hero__inner {
		flex-direction: column;
		align-items: start;
		gap: 2.25rem;
	}

	.rh-hero--plate .rh-hero__content,
	.rh-hero--plate .rh-hero__plate {
		max-inline-size: 100%;
	}

	.rh-hero--plate .rh-hero__plate {
		max-inline-size: 26rem;
		margin-inline: auto;
	}

	.rh-hero--plate .rh-hero-title,
	.home .rh-hero--plate h1.rh-hero-title {
		font-size: clamp(2.2rem, 9vw, 2.85rem);
	}
}

.rh-hero .rh-eyebrow {
	margin-block: 0 1.5rem;
	margin-inline: 0;
	font-size: clamp(0.72rem, 0.85vw, 0.8rem);
	font-weight: 400;
	letter-spacing: 0.22em;
	/* Slightly deeper gold for cream contrast; still on-brand */
	color: #a8874a;
}

.rh-hero .rh-eyebrow::after {
	content: "";
	display: block;
	inline-size: 2.25rem;
	block-size: 1px;
	margin-block-start: 1.15rem;
	margin-inline: auto;
	background: var(--rh-gold);
	opacity: 0.55;
}

.rh-hero .rh-hero-title,
.home .rh-hero h1.rh-hero-title {
	margin-block: 0 1.25rem;
	margin-inline: 0;
	font-size: clamp(2.6rem, 6.5vw, 4.75rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #0a0a0a;
	font-weight: 300;
}

.rh-hero .rh-hero-lead {
	margin-block: 0 2.15rem;
	margin-inline: 0;
	max-inline-size: 34rem;
	font-size: clamp(0.98rem, 1.2vw, 1.125rem);
	line-height: 1.7;
	color: #888888;
}

.rh-hero__cta {
	margin: 0;
}

/* Ghost CTA — brand mockup: thin near-black outline, not gold/Flatsome primary */
.rh-btn--ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-block: 1.1em;
	padding-inline: 2.4em;
	border: 1px solid #0a0a0a;
	border-radius: 0;
	background: transparent;
	color: #0a0a0a;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-size: 0.72rem;
	font-weight: 300;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	transition: background-color 0.4s var(--rh-ease), color 0.4s var(--rh-ease), transform 0.4s var(--rh-ease);
}

.rh-btn--ghost:hover,
.rh-btn--ghost:focus {
	background: #0a0a0a;
	color: #ffffff;
	transform: translateY(-2px);
}

/* Soft bottom peek only — never a second hard banner band */
.rh-hero__peek {
	display: none;
}

.rh-hero--has-peek {
	padding-block-end: clamp(7rem, 16vh, 11rem);
}

.rh-hero--has-peek .rh-hero__peek {
	display: block;
	position: absolute;
	z-index: 1;
	inset-block-end: 0;
	inset-inline: 0;
	block-size: min(22vh, 11rem);
	overflow: hidden;
	pointer-events: none;
	mask-image: linear-gradient(to top, #000 0%, transparent 100%);
	-webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}

.rh-hero__peek img {
	inline-size: 100%;
	block-size: 140%;
	object-fit: cover;
	object-position: center top;
	opacity: 0.72;
}

/* Hero entrance — blur → clear with stepped easing (no filter:none snap) */
.rh-hero .rh-eyebrow,
.rh-hero .rh-hero-title,
.rh-hero .rh-hero-lead,
.rh-hero .rh-hero__cta {
	animation: rh-hero-rise 1.2s var(--rh-ease) both;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: geometricPrecision;
	/* Stay on the filtered compositor path for the whole life of the element */
	filter: blur(0px);
	overflow: visible;
}

/* Reveal wrappers must not clip descenders / blur halo */
.rh-reveal.rh-section-title,
.rh-shop-head .rh-section-title,
.rh-cta .rh-section-title,
.rh-split .rh-section-title {
	overflow: visible;
}

.rh-hero .rh-hero-title {
	animation-delay: 0.1s;
}

.rh-hero .rh-hero-lead {
	animation-delay: 0.2s;
}

.rh-hero .rh-hero__cta {
	animation-delay: 0.3s;
}

.rh-hero__peek {
	animation: rh-hero-peek 1.35s var(--rh-ease) 0.28s both;
}

.rh-hero__glow {
	will-change: transform, opacity;
}

@keyframes rh-hero-rise {
	0% {
		opacity: 0;
		filter: blur(7px);
		transform: translate3d(0, 1.15rem, 0);
	}

	45% {
		opacity: 0.88;
		filter: blur(2.5px);
		transform: translate3d(0, 0.4rem, 0);
	}

	75% {
		opacity: 1;
		filter: blur(0.6px);
		transform: translate3d(0, 0.08rem, 0);
	}

	100% {
		opacity: 1;
		/* Keep blur(0px) — switching to none re-rasters glyphs and reads as a weight snap */
		filter: blur(0px);
		transform: translate3d(0, 0, 0);
	}
}

@keyframes rh-hero-peek {
	from {
		opacity: 0;
		transform: translate3d(0, 8%, 0);
	}

	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

/* Home header blends into cream hero (mockup continuity) */
.home .header-wrapper:not(.stuck) .header-main,
.home .header-wrapper:not(.stuck) {
	background: #f7f5f2 !important;
}

.home .header-wrapper:not(.stuck) .top-divider {
	display: none;
}

@media (max-width: 549px) {
	.rh-hero:not(.rh-hero--plate) {
		min-block-size: calc(100svh - 4.5rem - 8vh);
		padding-block: 3.25rem 3.5rem;
	}

	.rh-hero--plate {
		padding-block: 2.35rem 2.75rem;
	}

	.rh-hero__frame {
		--rh-frame: 1rem;
		--rh-tick: 1.35rem;
		opacity: 0.4;
	}

	.rh-hero:not(.rh-hero--plate) .rh-hero-title {
		font-size: clamp(2.35rem, 11vw, 3rem);
	}
}

/* —— Editorial image panels —— */
.rh-panel {
	position: relative;
	overflow: hidden;
}

.rh-panel__img {
	display: block;
	inline-size: 100%;
	block-size: clamp(28rem, 72vh, 46rem);
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 1.6s var(--rh-ease);
}

.rh-panel.is-inview .rh-panel__img {
	transform: scale(1);
}

.rh-split {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	min-block-size: 80vh;
	min-block-size: 80dvh;
}

.rh-split--reverse {
	grid-template-columns: 0.9fr 1.1fr;
}

.rh-split--reverse .rh-split__copy {
	order: -1;
}

.rh-split__media {
	position: relative;
	overflow: hidden;
	min-block-size: 80vh;
	min-block-size: 80dvh;
	align-self: stretch;
}

.rh-split__media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image: var(--rh-ambient-lines), var(--rh-ambient-grain);
	background-size: 96px 96px, 180px 180px;
	opacity: 0.35;
	mix-blend-mode: soft-light;
}

.rh-split__media img {
	inline-size: 100%;
	block-size: 100%;
	min-block-size: 80vh;
	min-block-size: 80dvh;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 1.8s var(--rh-ease);
}

.rh-split.is-inview .rh-split__media img {
	transform: scale(1);
}

.rh-split__copy {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-block-size: 80vh;
	min-block-size: 80dvh;
	padding-block: clamp(2.75rem, 6vw, 4.75rem);
	padding-inline: clamp(1.75rem, 5.5vw, 5rem);
	background: var(--rh-white);
}

.rh-split__copy>* {
	position: relative;
	z-index: 1;
}

.rh-mosaic {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	grid-template-rows: 1fr 1fr;
	gap: 0.75rem;
	padding-block: clamp(2.5rem, 5vw, 3.75rem);
	padding-inline: max(clamp(1.25rem, 4vw, 2rem), calc((100% - 1240px) / 2));
	max-inline-size: none;
	margin-inline: 0;
	min-block-size: clamp(28rem, 70vh, 42rem);
	box-sizing: border-box;
}

.rh-mosaic__item {
	overflow: hidden;
	position: relative;
	min-block-size: 12rem;
	background: #e8e4df;
}

/* Quiet pattern veil over imagery */
.rh-mosaic__item::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image: var(--rh-ambient-lines), var(--rh-ambient-grain);
	background-size: 96px 96px, 180px 180px;
	opacity: 0.4;
	mix-blend-mode: soft-light;
}

.rh-mosaic__item--tall {
	grid-row: 1 / span 2;
	min-block-size: 100%;
}

.rh-mosaic__item img {
	inline-size: 100%;
	block-size: 100%;
	min-block-size: 14rem;
	object-fit: cover;
	transition: transform 1.2s var(--rh-ease);
}

.rh-mosaic__item:hover img {
	transform: scale(1.05);
}

.rh-mosaic__caption {
	position: absolute;
	inset-block-end: 0;
	inset-inline: 0;
	z-index: 2;
	padding-block: 1.25rem;
	padding-inline: 1.25rem;
	background: linear-gradient(to top, rgba(10, 10, 10, 0.55), transparent);
	color: #fff;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-size: 0.72rem;
	font-weight: 300;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* —— Scroll reveals & motion system ——
 * Blur → clear: always end on blur(0px), never filter:none.
 * Filter eases longer than opacity so clearing is gradual (no bold snap).
 */
.rh-reveal,
.rh-motion {
	opacity: 0;
	filter: blur(5.5px);
	transition:
		opacity 0.95s var(--rh-ease),
		filter 1.3s cubic-bezier(0.16, 1, 0.3, 1),
		transform 1s var(--rh-ease),
		clip-path 1.05s var(--rh-ease);
	transition-delay: calc(var(--rh-i, 0) * 0.07s);
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: geometricPrecision;
}

.rh-reveal,
.rh-motion--fade-up {
	transform: translate3d(0, 1.35rem, 0);
}

.rh-motion--rise {
	transform: translate3d(0, 1rem, 0) scale(0.992);
	filter: blur(4.5px);
}

.rh-motion--clip {
	opacity: 1;
	filter: blur(3px);
	transform: scale(1.04);
	clip-path: inset(6% 5% 6% 5%);
}

.rh-reveal.is-inview,
.rh-motion.is-inview {
	opacity: 1;
	filter: blur(0px);
	transform: translate3d(0, 0, 0) scale(1);
	clip-path: inset(0);
}

/*
 * Typography reveals — root clip fix.
 * filter:blur expands the paint box; ancestors with overflow:hidden (heroes,
 * about/contact openers, media bands) then crop glyphs. Arabic Amiri marks and
 * Cormorant descenders are hit hardest. Keep entrance via opacity + transform only.
 */
h1.rh-reveal,
h2.rh-reveal,
h3.rh-reveal,
h4.rh-reveal,
h5.rh-reveal,
h6.rh-reveal,
p.rh-reveal,
.rh-eyebrow.rh-reveal,
.rh-section-title.rh-reveal,
.rh-section-lead.rh-reveal,
.rh-hero-title.rh-reveal,
.rh-hero-lead.rh-reveal,
.rh-about-open__title,
.rh-about-open__lead,
.rh-about-open__wordmark,
.rh-journal-open__title,
.rh-about-quote__text,
.rh-about-place__title,
.rh-shop-intro__title,
.rh-shop-intro__lead,
h1.rh-motion,
h2.rh-motion,
h3.rh-motion,
h1.shop-page-title,
[class*="__title"].rh-reveal,
[class*="__lead"].rh-reveal,
[class*="__eyebrow"].rh-reveal,
[class*="__heading"].rh-reveal,
[class*="__wordmark"].rh-reveal,
[class*="__credit"].rh-reveal {
	filter: none;
	overflow: visible;
	clip-path: none;
	/* Paint room for marks / descenders without changing the design size */
	padding-block: 0.1em;
	margin-block: -0.1em;
}

/* Reveal wrappers must not clip descenders / blur halo */
.rh-reveal.rh-section-title,
.rh-shop-head .rh-section-title,
.rh-cta .rh-section-title,
.rh-split .rh-section-title {
	overflow: visible;
}

.rh-reveal-delay-1,
.rh-motion-delay-1 {
	transition-delay: 0.1s;
}

.rh-reveal-delay-2,
.rh-motion-delay-2 {
	transition-delay: 0.18s;
}

.rh-reveal-delay-3,
.rh-motion-delay-3 {
	transition-delay: 0.26s;
}

.rh-reveal-delay-4 {
	transition-delay: 0.34s;
}

/* Staggered groups — delay from --rh-i (assigned in DOM order by JS) */
.rh-stagger>.rh-motion,
.rh-stagger>.rh-reveal,
.rh-shop-section .rh-motion,
.rh-shop-section .rh-reveal,
.rh-cta .rh-motion,
.rh-footer .rh-motion,
.rh-mosaic .rh-motion,
.rh-split .rh-motion {
	transition-delay: calc(var(--rh-i, 0) * 0.07s);
}

/* Image media soft zoom once revealed */
.rh-cat-card__media.rh-motion--clip img,
.rh-split__media.rh-motion--clip img,
.rh-panel.rh-motion--clip .rh-panel__img,
.box-image.rh-motion--clip img,
.rh-mosaic__item.rh-motion--clip img {
	transition: transform 1.2s var(--rh-ease);
	transform: scale(1.04);
}

.rh-cat-card__media.rh-motion--clip.is-inview img,
.rh-split__media.rh-motion--clip.is-inview img,
.rh-panel.rh-motion--clip.is-inview .rh-panel__img,
.box-image.rh-motion--clip.is-inview img,
.rh-mosaic__item.rh-motion--clip.is-inview img {
	transform: scale(1);
}

/* Section shells ease in as a soft band */
.rh-shop-section,
.rh-split,
.rh-cta,
.rh-mosaic,
.rh-footer {
	opacity: 0;
	transform: translate3d(0, 0.85rem, 0);
	transition: opacity 0.75s var(--rh-ease), transform 0.85s var(--rh-ease);
}

.rh-shop-section.is-inview,
.rh-split.is-inview,
.rh-cta.is-inview,
.rh-mosaic.is-inview,
.rh-footer.is-inview {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

/* Footer / CTA children must not stay invisible if the shell already revealed */
.rh-footer.is-inview .rh-motion,
.rh-footer.is-inview .rh-reveal,
.rh-cta.is-inview .rh-motion,
.rh-cta.is-inview .rh-reveal {
	opacity: 1;
	filter: blur(0px);
	transform: translate3d(0, 0, 0) scale(1);
}

/* Product / category hover polish (motion without chaos) */
.rh-cat-card__media img {
	transition: transform 1.15s var(--rh-ease);
}

.rh-shop-section .box-text {
	transition: opacity 0.45s var(--rh-ease), transform 0.45s var(--rh-ease);
}

.rh-shop-section .box:hover .box-text {
	transform: translateY(-0.15rem);
}

.rh-btn,
.rh-text-link {
	transition:
		color 0.35s var(--rh-ease),
		border-color 0.35s var(--rh-ease),
		background-color 0.35s var(--rh-ease),
		transform 0.35s var(--rh-ease) !important;
}

.rh-btn:hover {
	transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {

	.rh-reveal,
	.rh-motion,
	.rh-shop-section,
	.rh-split,
	.rh-cta,
	.rh-mosaic,
	.rh-footer,
	.rh-hero__peek img,
	.rh-hero__plate-img,
	.rh-panel__img,
	.rh-split__media img,
	.rh-mosaic__item img,
	.rh-hero .rh-eyebrow,
	.rh-hero .rh-hero-title,
	.rh-hero .rh-hero-lead,
	.rh-hero .rh-hero__cta,
	.rh-hero__peek,
	.rh-ambient__veil,
	.rh-ambient__glow,
	.rh-footer::before,
	.rh-hero__glow {
		opacity: 1 !important;
		transform: none !important;
		filter: none !important;
		clip-path: none !important;
		animation: none !important;
		transition: none !important;
	}

	.rh-ambient__glow {
		opacity: 0.65 !important;
	}

	.rh-ambient__veil {
		opacity: 0.4 !important;
	}
}

/* —— Footer —— */
html:has(.rh-footer),
body:has(.rh-footer) {
	background-color: #111111;
}

.footer-wrapper:has(.rh-footer),
#footer.footer-wrapper:has(.rh-footer) {
	background: #111111;
	margin: 0;
	padding: 0;
	border: 0;
}

.rh-footer {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: #111111;
	color: #c4c4c4;
	padding-block: clamp(3.5rem, 7vw, 5.75rem) 0;
	padding-inline: 0;
	border-block-start: 1px solid rgba(200, 169, 110, 0.28);
}

.rh-footer::after {
	content: "";
	position: absolute;
	inset-inline-start: 50%;
	inset-block-start: 0;
	inline-size: min(7.5rem, 28%);
	block-size: 1px;
	z-index: 2;
	pointer-events: none;
	transform: translateX(-50%);
	background: rgba(200, 169, 110, 0.65);
}

.rh-footer a {
	color: #ebebeb;
	text-decoration: none;
	transition: color 0.35s var(--rh-ease);
}

.rh-footer a:hover,
.rh-footer a:focus-visible {
	color: var(--rh-gold);
}

.rh-footer__inner {
	max-inline-size: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.25rem);
	padding-block-end: clamp(2.25rem, 5vw, 3.5rem);
}

.rh-footer__grid {
	display: grid;
	grid-template-columns: minmax(14rem, 1.25fr) minmax(0, 2.35fr);
	column-gap: clamp(2rem, 5vw, 4.5rem);
	row-gap: clamp(2rem, 4vw, 2.75rem);
	align-items: start;
}

.rh-footer__nav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(1.25rem, 3vw, 2.5rem);
	row-gap: 1.75rem;
	min-inline-size: 0;
}

.rh-footer__brand-col,
.rh-footer__col {
	min-inline-size: 0;
}

.rh-footer__logo {
	display: inline-block;
	margin-block: 0 1.25rem;
	text-decoration: none;
	line-height: 0;
}

.rh-footer__logo-img,
.rh-footer .rh-footer__logo img {
	display: block;
	inline-size: auto;
	block-size: auto;
	max-inline-size: clamp(148px, 18vw, 188px);
	max-block-size: 52px;
	width: auto;
	height: auto;
	opacity: 0.96;
}

.rh-footer .rh-footer__logo.img,
.rh-footer .rh-footer__logo .img-inner {
	background: transparent;
	box-shadow: none;
	border: 0;
	padding: 0 !important;
	margin-block: 0 1.25rem;
	margin-inline: 0;
	max-inline-size: clamp(148px, 18vw, 188px);
}

.rh-footer .rh-footer__logo.has-hover:hover>.overlay,
.rh-footer .rh-footer__logo .overlay,
.rh-footer .rh-footer__logo .image-overlay {
	display: none !important;
}

.rh-wordmark {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4em;
	text-decoration: none;
	color: inherit;
	/* Latin brand lockup — never mirror under RTL */
	direction: ltr;
	unicode-bidi: isolate;
}

.rh-wordmark__name {
	font-family: "Cormorant Garamond", "Amiri", serif;
	font-weight: 300;
	font-size: clamp(1.85rem, 3vw, 2.35rem);
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: lowercase;
	color: #f2f2f2;
}

.rh-wordmark__dot {
	color: var(--rh-gold, #c8a96e);
}

.rh-wordmark__homes {
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-weight: 200;
	font-size: 0.48em;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: #f2f2f2;
	line-height: 1;
	padding-block-end: 0.12em;
}

.rh-footer__tag {
	max-inline-size: 22rem;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-weight: 300;
	font-size: clamp(0.88rem, 1.4vw, 0.95rem);
	line-height: 1.75;
	color: #8f8f8f;
	margin: 0;
}

.rh-footer__heading {
	margin-block: 0.15rem 1.1rem;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-size: 0.68rem;
	font-weight: 400;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #8a8a8a;
}

.rh-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rh-footer__list li {
	margin-block-end: 0.72rem;
}

.rh-footer__list li:last-child {
	margin-block-end: 0;
}

.rh-footer__list a {
	display: inline-block;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-weight: 300;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
	color: #d8d8d8;
	line-height: 1.35;
}

.rh-footer__list a:hover,
.rh-footer__list a:focus-visible {
	color: var(--rh-gold);
}

.rh-footer__bottom {
	border-block-start: 1px solid rgba(255, 255, 255, 0.08);
	padding-block: 1.1rem;
	padding-inline: 0;
	max-inline-size: none;
	margin-inline: 0;
	width: 100%;
}

.rh-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	max-inline-size: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.25rem);
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #6e6e6e;
}

@media (max-width: 1099px) {
	.rh-footer__grid {
		grid-template-columns: 1fr;
		row-gap: 2.25rem;
	}

	.rh-footer__tag {
		max-inline-size: 32rem;
	}
}

@media (max-width: 699px) {
	.rh-footer {
		padding-block: 3rem 0;
	}

	.rh-footer__nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.rh-footer__list a {
		padding-block: 0.2rem;
	}
}

@media (max-width: 479px) {
	.rh-footer__nav {
		grid-template-columns: 1fr;
		row-gap: 1.6rem;
	}

	.rh-footer__bottom-inner {
		flex-direction: column;
		align-items: start;
		gap: 0.35rem;
	}
}

/* Homepage shell — cream spine so section seams feel connected */
.home #main {
	background: var(--rh-cream);
}

.home .page-title-bg,
.home .page-header-wrapper {
	display: none !important;
}

/* Custom RH footer replaces Flatsome absolute / payment bar */
body:has(.rh-footer) .absolute-footer,
.footer-wrapper:has(.rh-footer) .absolute-footer,
#footer .absolute-footer {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}

.rh-panel .rh-mosaic__caption,
.rh-panel__link {
	display: block;
	position: relative;
}

.rh-panel .rh-mosaic__caption {
	position: absolute;
}

@media (max-width: 849px) {

	.rh-split,
	.rh-split--reverse {
		grid-template-columns: 1fr;
		min-block-size: 0;
	}

	.rh-split__media,
	.rh-split__copy {
		min-block-size: 0;
	}

	.rh-split__media {
		min-block-size: 50vh;
	}

	.rh-split__media img {
		min-block-size: 50vh;
	}

	.rh-split--reverse .rh-split__copy {
		order: 0;
	}

	.rh-mosaic {
		grid-template-columns: 1fr;
		grid-template-rows: auto;
	}

	.rh-mosaic__item--tall {
		grid-row: auto;
		min-block-size: 22rem;
	}
}

/* Header polish */
.header-main .nav>li>a {
	font-weight: 300;
	letter-spacing: 0.16em;
	font-size: 0.72rem;
}

.rh-nav-heading>a[href="#"] {
	pointer-events: none;
	cursor: default;
}

.header .cart-item,
.header .header-cart-link {
	border-radius: 0;
}

.header-wrapper:not(.stuck) .header-main {
	background: var(--rh-white);
}

/* Shop dropdown — three even columns, one type system */
@media (min-width: 850px) {
	.header-main .nav>li.has-dropdown>.nav-dropdown.nav-dropdown-default {
		display: grid;
		grid-template-columns: repeat(3, minmax(11rem, 1fr));
		align-items: start;
		column-gap: 2.25rem;
		row-gap: 0;
		padding-block: 1.7rem 1.6rem;
		padding-inline: 1.9rem 2.1rem;
		min-inline-size: 42rem;
		max-inline-size: min(52rem, 92vw);
		border: 1px solid rgb(10 10 10 / 0.08);
		border-radius: 0;
		box-shadow: 0 18px 48px rgb(10 10 10 / 0.08);
		white-space: normal;
	}

	.header-main .nav-dropdown>li.nav-dropdown-col,
	.header-main .nav-dropdown>li.nav-dropdown-col:not(:last-child) {
		display: block;
		min-inline-size: 0;
		inline-size: auto;
		white-space: normal;
		border: 0;
	}

	.header-main .nav-dropdown .nav-dropdown-col>a,
	.header-main .nav-dropdown .menu-item-has-children>a {
		font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
		font-size: 0.68rem;
		font-weight: 300;
		letter-spacing: 0.18em;
		text-transform: uppercase;
		line-height: 1.4;
		color: #0a0a0a;
		padding-block: 0 0.7rem;
		padding-inline: 0;
		margin-block: 0 0.2rem;
		margin-inline: 0;
		border: 0;
		border-block-end: 1px solid var(--rh-gold, #c8a96e);
		white-space: normal;
	}

	.header-main .nav-dropdown .nav-dropdown-col>a[href="#"],
	.header-main .nav-dropdown .rh-nav-heading>a {
		pointer-events: none;
		cursor: default;
	}

	.header-main .nav-dropdown-default .nav-column li>a {
		font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
		font-size: 0.9rem;
		font-weight: 300;
		letter-spacing: 0.01em;
		text-transform: none;
		line-height: 1.35;
		color: #888;
		padding-block: 0.72rem;
		padding-inline: 0;
		margin: 0;
		border: 0;
		border-block-end: 1px solid rgb(10 10 10 / 0.08);
		white-space: normal;
	}

	.header-main .nav-dropdown-default .nav-column li:last-child>a {
		border-block-end: 0;
		padding-block-end: 0.15rem;
	}

	.header-main .nav-dropdown-default .nav-column li>a:hover {
		color: #0a0a0a;
		background: transparent;
	}

	.header-main .nav-dropdown .nav-column {
		margin: 0;
		padding: 0;
	}
}

/* Keep logo left on tablet/desktop */
@media (min-width: 850px) {
	.header-inner.medium-logo-center {
		justify-content: space-between;
	}

	.header-inner.medium-logo-center .flex-col.logo {
		margin-inline: 0 !important;
		position: static !important;
		inset: auto !important;
		transform: none !important;
	}
}

#logo .header-logo {
	max-inline-size: 180px;
	max-block-size: 52px;
	width: auto;
	height: auto;
}

.home .rh-hero-title,
.rh-hero-title {
	color: #0a0a0a !important;
	opacity: 1 !important;
}

.home .rh-hero-lead,
.rh-hero-lead {
	color: #888888 !important;
	opacity: 1 !important;
}

/* —— Dual paths: Shop / Services —— */
.rh-paths {
	padding-block: clamp(4.5rem, 9vw, 7rem) clamp(4rem, 8vw, 6.5rem);
	padding-inline: clamp(1.25rem, 5vw, 4rem);
	text-align: center;
}

.rh-paths__inner {
	max-inline-size: 68rem;
	margin-inline: auto;
}

.rh-paths__slide {
	margin-block-end: clamp(2.5rem, 5vw, 3.75rem);
}

.rh-paths__slide-viewport {
	position: relative;
	overflow: hidden;
	min-block-size: clamp(2.75rem, 5.5vw, 3.6rem);
	display: block;
}

.rh-paths__slide-track {
	position: relative;
	margin: 0;
	inline-size: 100%;
	min-block-size: inherit;
}

.rh-paths__line {
	position: absolute;
	inset-inline: 0;
	inset-block-start: 0;
	inline-size: 100%;
	margin: 0;
	font-family: "Cormorant Garamond", "Amiri", serif;
	font-weight: 300;
	font-size: clamp(1.55rem, 3.4vw, 2.35rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	color: var(--rh-ink, #0a0a0a);
	opacity: 0;
	transform: translateY(0.7rem);
	transition: opacity 0.7s var(--rh-ease, cubic-bezier(0.22, 1, 0.36, 1)), transform 0.7s var(--rh-ease, cubic-bezier(0.22, 1, 0.36, 1));
	pointer-events: none;
}

.rh-paths__line.is-active {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.rh-paths__line.is-exit {
	opacity: 0;
	transform: translateY(-0.55rem);
}

.rh-paths__dots {
	display: flex;
	justify-content: center;
	gap: 0.45rem;
	margin-block-start: 1.1rem;
}

.rh-paths__dot {
	inline-size: 1.35rem;
	block-size: 1px;
	background: rgba(10, 10, 10, 0.18);
	transition: background-color 0.45s ease, inline-size 0.45s ease;
}

.rh-paths__dot.is-active {
	inline-size: 2.1rem;
	background: rgba(200, 169, 110, 0.85);
}

.rh-paths__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	text-align: start;
}

.rh-paths__panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.85rem;
	padding-block: 0.35rem 0.5rem;
	padding-inline: clamp(1.25rem, 3.5vw, 2.75rem);
	min-inline-size: 0;
	opacity: 0.48;
	transition: opacity 0.7s var(--rh-ease, cubic-bezier(0.22, 1, 0.36, 1));
}

.rh-paths__panel.is-active {
	opacity: 1;
}

.rh-paths__panel--shop {
	border-inline-end: 1px solid rgba(200, 169, 110, 0.35);
}

.rh-paths__panel .rh-eyebrow {
	margin: 0;
	color: rgba(200, 169, 110, 0.95);
}

.rh-paths__title {
	margin: 0;
	font-family: "Cormorant Garamond", "Amiri", serif;
	font-weight: 300;
	font-size: clamp(1.85rem, 3.2vw, 2.55rem);
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--rh-ink, #0a0a0a);
}

.rh-paths__lead {
	margin: 0;
	max-inline-size: 28rem;
	font-family: "Jost", "IBM Plex Sans Arabic", sans-serif;
	font-weight: 300;
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--rh-muted, #888);
}

.rh-paths__panel .link-quiet {
	margin-block-start: 0.65rem;
}

@media (max-width: 849px) {
	.rh-paths {
		padding-block: clamp(3.5rem, 8vw, 5rem) clamp(3.25rem, 7vw, 4.75rem);
	}

	.rh-paths__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.25rem;
	}

	.rh-paths__panel--shop {
		border-inline-end: 0;
		border-block-end: 1px solid rgba(200, 169, 110, 0.35);
		padding-block-end: 2.25rem;
	}

	.rh-paths__panel {
		padding-inline: 0;
		opacity: 1;
	}

	.rh-paths__line {
		font-size: clamp(1.35rem, 5.2vw, 1.75rem);
	}

	.rh-paths__slide-viewport {
		min-block-size: clamp(3.5rem, 12vw, 4.75rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.rh-paths__line,
	.rh-paths__panel,
	.rh-paths__dot {
		transition: none;
	}
}

.header-nav .header_logo,
.header-nav .header-logo,
.header-nav .header-logo-dark {
	display: none !important;
}

