/* RamzWP — homepage: background layer, hero, marquee, About / Services / FAQ split sections, reveal. */

.rz-bg { position: fixed; inset: 0; z-index: 0; background: var(--rz-ink); }

/* reveal-on-enter (only when JS is running) */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.9s var(--rz-ease-out) var(--rz-delay, 0s), transform 0.9s var(--rz-ease-out) var(--rz-delay, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.rz-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 120px var(--rz-pad) 0;
	color: var(--rz-sand);
}
.rz-hero.has-cursor { cursor: none; }
.rz-hero.has-cursor a, .rz-hero.has-cursor button { cursor: none; }
.rz-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	flex: 1;
}
.rz-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.rz-hero__eyebrow {
	margin: 0; display: flex; align-items: center; gap: 14px;
	font-family: var(--rz-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rz-muted-dark);
}
.rz-hero__eyebrow-ar { font-family: var(--rz-arabic); font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--rz-sand); }
.rz-hero__title {
	margin: 0; font-family: var(--rz-serif); font-weight: 400; line-height: 0.86;
	font-size: clamp(72px, 12vw, 200px); letter-spacing: -0.02em;
}
.rz-hero__l1 { display: block; }
.rz-hero__l2 { display: block; font-style: italic; color: var(--rz-gold); padding-left: 0.4em; }
.rz-hero__l2-m { display: none; align-items: baseline; justify-content: center; gap: 12px; }
.rz-hero__l2-m em { color: var(--rz-gold); }
.rz-hero__ar-inline { font-family: var(--rz-arabic); font-style: normal; font-size: 0.42em; color: var(--rz-teal-light); }
.rz-hero__ar { display: block; margin: 28px 0 0; font-family: var(--rz-arabic); font-size: clamp(22px, 2.4vw, 34px); font-style: normal; line-height: 1.4; letter-spacing: 0; color: var(--rz-teal-light); direction: rtl; text-align: left; }
.rz-hero__role { display: block; margin: 28px 0 0; max-width: 560px; font-family: var(--rz-sans); font-size: clamp(17px, 1.4vw, 21px); font-style: normal; line-height: 1.5; font-weight: 500; letter-spacing: 0; text-wrap: pretty; color: var(--rz-sand); }
.rz-hero__sep { color: var(--rz-gold); }
.rz-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.rz-hero__char {
	position: relative;
	height: min(80vh, 760px);
	min-height: 440px;
	container-type: size;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.rz-hero__glow {
	position: absolute; left: 50%; top: -6cqh; width: 90cqh; aspect-ratio: 1; margin-left: -45cqh; border-radius: 50%;
	background: radial-gradient(circle, rgba(201, 138, 30, 0.24), rgba(201, 138, 30, 0) 60%); pointer-events: none;
}
.rz-hero__halo {
	position: absolute; left: 50%; top: 6cqh; width: 50cqh; aspect-ratio: 1; margin-left: -25cqh; border-radius: 50%;
	background: repeating-conic-gradient(from 11.25deg, var(--rz-gold) 0 11.25deg, transparent 0 22.5deg, var(--rz-teal) 0 33.75deg, transparent 0 45deg);
	-webkit-mask: radial-gradient(circle, transparent 64%, #000 64.5%, #000 69%, transparent 69.5%, transparent 74%, #000 74.5%, #000 75.5%, transparent 76%);
	mask: radial-gradient(circle, transparent 64%, #000 64.5%, #000 69%, transparent 69.5%, transparent 74%, #000 74.5%, #000 75.5%, transparent 76%);
	opacity: 0.7; pointer-events: none;
	animation: rz-spin 57.6s linear infinite;
}
.rz-hero__canvas, .rz-hero__poster {
	position: relative; width: 100%; height: 100%; display: block;
	object-fit: contain; object-position: 50% 100%;
	-webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.rz-hero__poster { position: absolute; inset: 0; transition: opacity 0.2s linear; }
.rz-hero__char.is-live .rz-hero__poster { opacity: 0; }
.rz-hero__bubble {
	position: absolute; top: 14cqh; left: calc(50% + 15cqh); z-index: 3; pointer-events: none;
	display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px;
	border-radius: 14px 14px 14px 4px; background: var(--rz-sand); color: var(--rz-ink);
	font-size: 13px; font-weight: 600; line-height: 1.3; white-space: nowrap;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); will-change: transform; transform-origin: 0% 100%;
}
.rz-hero__bubble.is-above { left: 50%; top: 0; translate: -50% 0; border-radius: 14px; transform-origin: 50% 100%; }

.rz-hero__foot {
	display: flex; justify-content: space-between; gap: 16px; padding: 28px 0 20px;
	font-family: var(--rz-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rz-muted-dark);
}

/* logo marquee */
.rz-marquee { margin: 0 calc(-1 * var(--rz-pad)); }
.rz-marquee__band { background: var(--rz-ink); color: var(--rz-sand); padding: 26px 0; overflow: hidden; }
.rz-marquee__title {
	margin: 0; display: flex; align-items: center; gap: 16px; padding: 0 var(--rz-pad) 18px;
	font-family: var(--rz-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rz-muted-dark);
}
.rz-marquee__track { display: flex; width: max-content; animation: rz-marquee 40s linear infinite; }
.rz-marquee__band:hover .rz-marquee__track { animation-play-state: paused; }
.rz-marquee__set { display: flex; margin: 0; padding: 0; list-style: none; }
.rz-marquee__item { width: 180px; height: 48px; display: flex; align-items: center; justify-content: center; padding: 0 24px; }
.rz-marquee__item a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.rz-marquee__item img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(0.92); }

@keyframes rz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rz-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ---------- split sections (About, Services, FAQ) ---------- */
.rz-split {
	position: relative;
	min-height: 110vh;
	padding: 140px var(--rz-pad);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	color: var(--rz-ink);
}
.rz-split__sticky { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 8px; }
.rz-split__ar { font-family: var(--rz-arabic); font-size: 28px; line-height: 1.4; }
.rz-ar--blue { color: var(--rz-blue); }
.rz-ar--gold { color: var(--rz-gold); }
.rz-split__h2 {
	margin: 24px 0 0; font-family: var(--rz-serif); font-weight: 400;
	font-size: clamp(30px, 3vw, 48px); line-height: 1.1; text-wrap: pretty;
}
.rz-split__h2 em { color: var(--rz-gold); }
.rz-about__h2 { font-size: clamp(34px, 3.6vw, 58px); line-height: 1.05; letter-spacing: -0.01em; }
.rz-about__h2 em, .rz-faq .rz-split__h2 em { color: var(--rz-blue); }
.rz-split__body { display: flex; flex-direction: column; justify-content: center; }

/* about pillars */
.rz-pillars { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.rz-pillar { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 32px 0; border-top: 1.5px solid var(--rz-ink); }
.rz-pillar__n { font-family: var(--rz-mono); font-size: 13px; color: var(--rz-gold); padding-top: 8px; }
.rz-pillar__body { display: flex; flex-direction: column; gap: 12px; }
.rz-pillar__title { margin: 0; font-family: var(--rz-serif); font-weight: 400; font-size: 32px; line-height: 1.1; }
.rz-pillar__body p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--rz-text-light); max-width: 600px; text-wrap: pretty; }

/* services cards */
.rz-svc { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.rz-svc__card {
	display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 28px; align-items: center;
	padding: 20px; border-radius: 16px; background: var(--rz-sand-card); color: var(--rz-ink);
	transition: background 0.3s ease, transform 0.3s var(--rz-ease);
}
.rz-svc__card:hover { background: var(--rz-sand-card-hover); color: var(--rz-ink); }
a.rz-svc__card:hover { transform: translateX(4px); }
.rz-svc__img { display: block; width: 120px; height: 120px; border-radius: 12px; overflow: hidden; background: var(--rz-sand-well); }
.rz-svc__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rz-svc__text { display: flex; flex-direction: column; gap: 8px; }
.rz-svc__title { margin: 0; font-family: var(--rz-serif); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; }
.rz-svc__sub { font-size: 15px; color: var(--rz-muted-light); }
.rz-svc__n { font-family: var(--rz-mono); font-size: 13px; color: var(--rz-gold); padding-right: 12px; }

/* FAQ accordion */
.rz-faq__list { display: flex; flex-direction: column; border-bottom: 1.5px solid var(--rz-ink); }
.rz-faq__item { border-top: 1.5px solid var(--rz-ink); }
.rz-faq__q {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; gap: 16px; align-items: center;
	padding: 26px 0; cursor: pointer; list-style: none; color: var(--rz-ink);
}
.rz-faq__q::-webkit-details-marker { display: none; }
.rz-faq__q:hover .rz-faq__text { color: var(--rz-gold); }
.rz-faq__n { font-family: var(--rz-mono); font-size: 13px; color: var(--rz-gold); }
.rz-faq__text { font-size: clamp(17px, 1.4vw, 20px); font-weight: 600; line-height: 1.35; transition: color 0.2s var(--rz-ease); }
.rz-faq__icon { justify-self: end; font-size: 24px; line-height: 1; }
.rz-faq__icon::before { content: "+"; }
.rz-faq__item[open] .rz-faq__icon::before { content: "\2212"; }
.rz-faq__a { margin: 0; padding: 0 48px 28px 64px; font-size: 16px; line-height: 1.7; color: var(--rz-text-light); text-wrap: pretty; }
.rz-faq__item[open] .rz-faq__a { animation: rz-fade-down 0.35s var(--rz-ease); }
@keyframes rz-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
	.rz-hero { padding: 84px 20px 0; min-height: 100svh; }
	.rz-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; align-content: start; }
	.rz-hero__char { order: -1; height: 40svh; min-height: 300px; margin: 0 -20px; }
	.rz-hero__copy { gap: 16px; align-items: center; text-align: center; }
	.rz-hero__eyebrow { justify-content: center; }
	.rz-hero__title { font-size: 60px; line-height: 0.95; }
	.rz-hero__l2, .rz-hero__ar, .rz-hero__sep { display: none; }
	.rz-hero__l2-m { display: flex; }
	.rz-hero__role { margin: 16px auto 0; font-size: 16px; color: var(--rz-muted-dark); }
	.rz-hero__role-part { display: block; }
	.rz-hero__foot { justify-content: center; font-size: 10px; padding: 24px 0 16px; }
	.rz-hero__ctas { display: flex; width: 100%; gap: 10px; }
	.rz-hero__ctas a { justify-content: center; min-height: 54px; padding: 0 14px; font-size: 15px; }
	.rz-hero__ctas a:first-child { flex: 1; background: var(--rz-gold); color: var(--rz-ink); }
	.rz-hero__ctas .rz-btn--outline { display: none; }
	.rz-hero__bubble, .rz-hero__bubble.is-above { left: 20px; right: auto; top: 4cqh; translate: none; white-space: normal; max-width: 220px; border-radius: 14px; }

	.rz-split { grid-template-columns: minmax(0, 1fr); padding: 96px 20px 80px; min-height: 0; gap: 28px; }
	.rz-split__sticky { position: static; }
	.rz-split__h2 { margin-top: 12px; }
	.rz-pillar { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
	.rz-pillar__title { font-size: 26px; }
	.rz-svc__card { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; padding: 14px; }
	.rz-svc__img { width: 72px; height: 72px; }
	.rz-svc__title { font-size: 24px; }
	.rz-faq__q { grid-template-columns: 32px minmax(0, 1fr) 24px; gap: 12px; padding: 20px 0; }
	.rz-faq__a { padding: 0 0 22px 44px; }
}
