/* ==========================================================================
   Spiritual Deen — main stylesheet
   Palette: deep pine ink · parchment · terracotta clay · burnished brass
   ========================================================================== */

:root {
	--ink: #0f1e1c;
	--ink-2: #152b28;
	--ink-3: #1f3a35;
	--parchment: #f6efe3;
	--cream: #fbf7f0;
	--sand: #efe4d2;
	--sand-2: #e4d3b9;
	--clay: #b9572f;
	--clay-2: #cf6d43;
	--clay-soft: #f0c7ae;
	--brass: #c9a35e;
	--brass-2: #e2c68c;
	--sage: #9db4a6;
	--wa: #25d366;

	--text: #1e2826;
	--muted: #59665f;
	--line: rgba(15, 30, 28, 0.12);
	--line-light: rgba(246, 239, 227, 0.16);

	--f-display: "Fraunces", "Georgia", serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-ar: "Amiri", "Traditional Arabic", serif;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
	--radius: 24px;
	--radius-lg: 32px;
	--shadow-sm: 0 2px 6px rgba(15, 30, 28, 0.05), 0 8px 24px rgba(15, 30, 28, 0.06);
	--shadow-lg: 0 10px 30px rgba(15, 30, 28, 0.1), 0 30px 80px rgba(15, 30, 28, 0.12);
	--header-h: 84px;
	--gutter: clamp(16px, 4vw, 32px);

	--star-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23c9a35e' stroke-width='1'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 36h6M66 36h6M36 0v6M36 66v6'/%3E%3Ccircle cx='0' cy='0' r='6'/%3E%3Ccircle cx='72' cy='0' r='6'/%3E%3Ccircle cx='0' cy='72' r='6'/%3E%3Ccircle cx='72' cy='72' r='6'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--parchment);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	overflow-x: clip;
}

html { overflow-x: hidden; overflow-x: clip; }

/* Off-canvas reveal transforms must never widen the mobile viewport. */
.site-main,
.site-footer { overflow-x: hidden; overflow-x: clip; }

body::after {
	/* paper grain */
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 200;
	opacity: 0.045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
figure, blockquote { margin: 0; }

::selection { background: var(--clay); color: var(--cream); }

:focus-visible {
	outline: 2px solid var(--clay);
	outline-offset: 3px;
	border-radius: 6px;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 300;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--cream);
	border-radius: 10px;
	transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container-narrow { max-width: 880px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Typography ---------- */
.display {
	font-family: var(--f-display);
	font-optical-sizing: auto;
	font-weight: 380;
	font-size: clamp(2.6rem, 6.4vw, 5.4rem);
	line-height: 1.02;
	letter-spacing: -0.025em;
}
.display em,
.h2 em {
	font-style: italic;
	font-weight: 340;
}
.display em { color: var(--brass-2); }

.h2 {
	font-family: var(--f-display);
	font-optical-sizing: auto;
	font-weight: 400;
	font-size: clamp(2rem, 4.4vw, 3.5rem);
	line-height: 1.06;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.h2 em { color: var(--clay); }

.h3 {
	font-family: var(--f-display);
	font-size: clamp(1.3rem, 2vw, 1.55rem);
	line-height: 1.2;
	letter-spacing: -0.01em;
	font-weight: 450;
}
.h4 {
	font-family: var(--f-display);
	font-size: 1.2rem;
	line-height: 1.25;
	font-weight: 500;
}

.lead {
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
	line-height: 1.7;
	max-width: 36em;
}
.lead-light { color: rgba(246, 239, 227, 0.74); }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 18px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--clay);
}
.eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}
.eyebrow-light { color: var(--brass-2); }

.arabic {
	font-family: var(--f-ar);
	line-height: 1.8;
}
.arabic-eyebrow {
	margin: 0 0 18px;
	text-align: left;
	font-size: clamp(1.3rem, 2vw, 1.65rem);
	color: var(--brass-2);
}

.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 640px; }
.section-head .h2 { margin-bottom: 18px; }
.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .eyebrow::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}
.section-sub { color: var(--muted); font-size: 1.075rem; max-width: 34em; }
.section-head-center .section-sub { margin-inline: auto; }
.section-sub-light { color: rgba(246, 239, 227, 0.7); }

.prose p {
	color: var(--muted);
	font-size: 1.075rem;
	line-height: 1.8;
}
.prose p:first-child::first-letter {
	font-family: var(--f-display);
	float: left;
	font-size: 3.6em;
	line-height: 0.85;
	padding: 0.06em 0.12em 0 0;
	color: var(--clay);
}
.prose-page p:first-child::first-letter { all: unset; }
.prose-page h2, .prose-page h3 { font-family: var(--f-display); margin: 1.4em 0 0.5em; font-size: 1.6rem; }
.prose-page a { color: var(--clay); text-decoration: underline; }
.prose-page ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 24px;
	border-radius: 999px;
	font-weight: 650;
	font-size: 0.95rem;
	line-height: 1.2;
	letter-spacing: 0.005em;
	white-space: nowrap;
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.4s var(--ease), border-color 0.3s;
}
.btn .icon { width: 1.2em; height: 1.2em; transition: transform 0.4s var(--ease); }
.btn:hover .icon:last-child:not(.icon-wa) { transform: translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn-lg { padding: 18px 30px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }

.btn-wa {
	background: var(--clay);
	color: var(--cream);
	box-shadow: 0 8px 24px -8px rgba(185, 87, 47, 0.6);
}
.btn-wa::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.28) 45%, transparent 70%);
	transform: translateX(-120%);
	transition: transform 0.9s var(--ease);
}
.btn-wa:hover {
	background: var(--clay-2);
	transform: translateY(-2px);
	box-shadow: 0 14px 34px -10px rgba(185, 87, 47, 0.75);
}
.btn-wa:hover::after { transform: translateX(120%); }

.btn-ghost {
	color: var(--parchment);
	border: 1px solid rgba(246, 239, 227, 0.32);
	background: rgba(246, 239, 227, 0.03);
	backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(246, 239, 227, 0.1); border-color: rgba(246, 239, 227, 0.6); transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--ink-3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-light { background: var(--parchment); color: var(--ink); }
.btn-light:hover { background: var(--cream); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	color: var(--parchment);
	transition: height 0.4s var(--ease), background-color 0.4s, color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(251, 247, 240, 0.84);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	border-bottom: 1px solid var(--line);
	opacity: 0;
	transition: opacity 0.4s;
}
.site-header.is-scrolled { height: 70px; color: var(--ink); }
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }

.header-inner {
	position: relative;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-right: auto;
	font-family: var(--f-display);
	font-size: 1.4rem;
	letter-spacing: -0.01em;
	line-height: 1;
}
.brand-mark {
	width: 34px;
	height: 34px;
	color: var(--brass);
	transition: transform 1.2s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(135deg); }
.brand-text em { font-style: italic; color: var(--brass); }
.site-header.is-scrolled .brand-text em { color: var(--clay); }
.custom-logo { max-height: 48px; width: auto; }

.nav-list { display: flex; gap: 4px; }
.nav-list a {
	position: relative;
	display: block;
	padding: 9px 16px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 550;
	opacity: 0.86;
	transition: opacity 0.3s, background-color 0.3s;
}
.nav-list a:hover { opacity: 1; background: rgba(246, 239, 227, 0.08); }
.site-header.is-scrolled .nav-list a:hover { background: rgba(15, 30, 28, 0.05); }
.nav-list .current-menu-item > a,
.nav-list a[aria-current="page"] { opacity: 1; }
.nav-list .current-menu-item > a::after,
.nav-list a[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 2px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--brass);
	transform: translateX(-50%);
}

.menu-toggle {
	display: none;
	position: relative;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 1px solid currentColor;
	border-color: rgba(127, 127, 127, 0.35);
}
.menu-toggle span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 1.6px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.5s var(--ease), top 0.5s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-open .menu-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu overlay */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 95;
	background: var(--ink);
	color: var(--parchment);
	clip-path: circle(0% at calc(100% - 40px) 40px);
	transition: clip-path 0.8s var(--ease-in-out), visibility 0s 0.8s;
	visibility: hidden;
	overflow-y: auto;
}
.menu-open .mobile-menu {
	clip-path: circle(150% at calc(100% - 40px) 40px);
	visibility: visible;
	transition: clip-path 0.8s var(--ease-in-out), visibility 0s 0s;
}
.mobile-menu-pattern {
	position: absolute;
	inset: 0;
	background-image: var(--star-tile);
	opacity: 0.12;
	mask-image: radial-gradient(circle at 80% 10%, #000, transparent 70%);
	-webkit-mask-image: radial-gradient(circle at 80% 10%, #000, transparent 70%);
}
.mobile-menu-inner {
	position: relative;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 32px;
	padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
}
.mobile-menu .arabic { color: var(--brass-2); font-size: 1.35rem; margin: 0; text-align: left; }
.mobile-nav-list li {
	overflow: hidden;
	border-bottom: 1px solid var(--line-light);
}
.mobile-nav-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	font-family: var(--f-display);
	font-size: clamp(2.2rem, 10vw, 3rem);
	line-height: 1.1;
	transform: translateY(100%);
	transition: transform 0.7s var(--ease), color 0.3s;
}
.mobile-nav-list a::after {
	content: "→";
	font-family: var(--f-body);
	font-size: 1.4rem;
	opacity: 0.4;
}
.mobile-nav-list .current-menu-item a,
.mobile-nav-list a[aria-current="page"] { color: var(--brass-2); font-style: italic; }
.menu-open .mobile-nav-list a { transform: none; }
.menu-open .mobile-nav-list li:nth-child(1) a { transition-delay: 0.25s; }
.menu-open .mobile-nav-list li:nth-child(2) a { transition-delay: 0.32s; }
.menu-open .mobile-nav-list li:nth-child(3) a { transition-delay: 0.39s; }
.menu-open .mobile-nav-list li:nth-child(4) a { transition-delay: 0.46s; }
.mobile-menu .btn,
.mobile-menu .arabic { opacity: 0; transform: translateY(16px); transition: opacity 0.6s 0.5s, transform 0.6s 0.5s var(--ease); }
.menu-open .mobile-menu .btn,
.menu-open .mobile-menu .arabic { opacity: 1; transform: none; }
.menu-open .site-header { color: var(--parchment); }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand-text em { color: var(--brass); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: calc(var(--header-h) + 48px) 0 96px;
	background: var(--ink);
	color: var(--parchment);
	overflow: hidden;
	isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
	animation: drift 18s ease-in-out infinite alternate;
}
.hero-glow-1 {
	width: 46vw; height: 46vw;
	right: -10vw; top: -12vw;
	background: radial-gradient(circle, rgba(185, 87, 47, 0.75), transparent 65%);
}
.hero-glow-2 {
	width: 40vw; height: 40vw;
	left: -14vw; bottom: -18vw;
	background: radial-gradient(circle, rgba(201, 163, 94, 0.45), transparent 65%);
	animation-delay: -6s;
}
.hero-pattern {
	position: absolute;
	inset: 0;
	background-image: var(--star-tile);
	opacity: 0.09;
	mask-image: linear-gradient(110deg, transparent 30%, #000 75%);
	-webkit-mask-image: linear-gradient(110deg, transparent 30%, #000 75%);
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.12fr 0.88fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
}
.hero-copy .display { margin-bottom: 28px; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	font-size: 0.9rem;
	color: rgba(246, 239, 227, 0.72);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { width: 18px; height: 18px; color: var(--brass); }

.hero-visual {
	position: relative;
	display: grid;
	place-items: center;
	padding: 24px 0 40px;
}
.hero-rosette {
	position: absolute;
	width: 135%;
	max-width: 640px;
	aspect-ratio: 1;
	height: auto;
	color: var(--brass);
	opacity: 0.32;
	animation: spin 140s linear infinite;
}

/* Arch portrait */
.arch {
	position: relative;
	width: min(100%, 400px);
	aspect-ratio: 3 / 4;
	padding: 10px;
	border-radius: 999px 999px 28px 28px;
	border: 1px solid rgba(201, 163, 94, 0.55);
}
.arch::before {
	content: "";
	position: absolute;
	inset: -14px;
	border-radius: inherit;
	border: 1px dashed rgba(201, 163, 94, 0.28);
}
.arch-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 999px 999px 20px 20px;
	overflow: hidden;
	background: var(--ink-3);
}
.arch-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 1.6s var(--ease);
}
.arch:hover .arch-inner img { transform: scale(1.09); }
.arch-monogram {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background:
		radial-gradient(120% 80% at 50% 0%, rgba(201, 163, 94, 0.35), transparent 60%),
		linear-gradient(170deg, #2a4a43 0%, var(--ink-2) 55%, #5e2e1b 130%);
	color: var(--brass-2);
}
.arch-rosette {
	position: absolute;
	width: 150%;
	height: auto;
	opacity: 0.35;
	animation: spin 90s linear infinite reverse;
}
.arch-monogram span {
	position: relative;
	font-family: var(--f-display);
	font-style: italic;
	font-weight: 300;
	font-size: clamp(4rem, 9vw, 6.5rem);
	letter-spacing: -0.04em;
	color: var(--parchment);
}

.float-chip {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px 12px 12px;
	border-radius: 18px;
	background: rgba(251, 247, 240, 0.94);
	color: var(--ink);
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(10px);
	animation: bob 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 0.92rem; line-height: 1.2; }
.float-chip small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.3; }
.chip-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--sand);
	color: var(--clay);
}
.chip-icon .icon { width: 22px; height: 22px; }
.chip-icon-wa { background: var(--wa); color: #fff; }
.chip-1 { left: -4%; top: 22%; }
.chip-2 { right: -6%; bottom: 26%; animation-delay: -3s; }

.name-plate {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 8px;
	transform: translateX(-50%);
	padding: 12px 26px;
	border-radius: 999px;
	background: var(--ink-2);
	border: 1px solid rgba(201, 163, 94, 0.5);
	text-align: center;
	white-space: nowrap;
	box-shadow: 0 16px 40px -14px rgba(0, 0, 0, 0.6);
}
.name-plate strong { display: block; font-family: var(--f-display); font-weight: 500; font-size: 1.1rem; color: var(--parchment); }
.name-plate span { display: block; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); }
.name-plate-static { position: relative; left: auto; bottom: auto; transform: none; margin: -26px auto 0; width: max-content; max-width: 100%; white-space: normal; }

.scroll-cue {
	position: absolute;
	left: 50%;
	bottom: 28px;
	width: 26px;
	height: 42px;
	margin-left: -13px;
	border: 1.5px solid rgba(246, 239, 227, 0.35);
	border-radius: 20px;
}
.scroll-cue span {
	position: absolute;
	left: 50%;
	top: 8px;
	width: 4px;
	height: 8px;
	margin-left: -2px;
	border-radius: 4px;
	background: var(--brass);
	animation: cue 2s var(--ease) infinite;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	position: relative;
	padding: calc(var(--header-h) + clamp(64px, 10vw, 120px)) 0 clamp(80px, 11vw, 140px);
	background: var(--ink);
	color: var(--parchment);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}
.page-hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(201, 163, 94, 0.5), transparent);
}
.page-hero-bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	display: grid;
	place-items: center;
	background:
		radial-gradient(60% 70% at 50% 0%, rgba(185, 87, 47, 0.35), transparent 70%),
		radial-gradient(40% 60% at 90% 100%, rgba(201, 163, 94, 0.18), transparent 70%);
}
.page-hero-rosette {
	width: min(130vw, 980px);
	height: auto;
	color: var(--brass);
	opacity: 0.16;
	animation: spin 160s linear infinite;
}
.page-hero-inner { max-width: 860px; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .arabic-eyebrow { text-align: center; }
.page-hero .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.page-hero .display { font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: 22px; }
.page-hero .lead { margin-inline: auto; }

/* ---------- Marquee ---------- */
.marquee {
	position: relative;
	overflow: hidden;
	background: var(--clay);
	color: var(--cream);
	padding: 18px 0;
	border-block: 1px solid rgba(15, 30, 28, 0.15);
}
.marquee-track {
	display: flex;
	align-items: center;
	gap: 28px;
	width: max-content;
	animation: marquee 48s linear infinite;
}
.marquee-track span {
	font-family: var(--f-display);
	font-style: italic;
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	white-space: nowrap;
}
.marquee-star { width: 20px; height: 20px; color: var(--brass-2); flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 144px) 0; }
.section-tight { padding: clamp(24px, 4vw, 48px) 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--parchment); overflow: hidden; isolation: isolate; }
.section-ink .h2 em { color: var(--brass-2); }
.section-ink-pattern {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--star-tile);
	opacity: 0.07;
	mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
	-webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 22px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(26px, 3vw, 36px);
	border-radius: var(--radius);
	background: var(--cream);
	border: 1px solid var(--line);
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.4s;
}
.card::before {
	/* cursor spotlight */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 163, 94, 0.2), transparent 45%);
	opacity: 0;
	transition: opacity 0.5s;
}
.card:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
	border-color: rgba(201, 163, 94, 0.45);
}
.card:hover::before { opacity: 1; }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
.card-icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: var(--sand);
	color: var(--clay);
	transition: background-color 0.5s, color 0.5s, transform 0.7s var(--ease), border-radius 0.7s var(--ease);
}
.card-icon .icon { width: 30px; height: 30px; }
.card:hover .card-icon {
	background: var(--clay);
	color: var(--cream);
	transform: rotate(-8deg) scale(1.05);
	border-radius: 50%;
}
.card-num {
	font-family: var(--f-display);
	font-style: italic;
	font-size: 1.05rem;
	color: rgba(15, 30, 28, 0.32);
}
.card .h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 26px; }
.card-link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	font-weight: 650;
	font-size: 0.92rem;
	color: var(--ink);
	padding-bottom: 4px;
	background: linear-gradient(var(--clay), var(--clay)) left bottom / 0% 1.5px no-repeat;
	transition: background-size 0.5s var(--ease), color 0.3s;
}
.card-link .icon { width: 16px; height: 16px; transition: transform 0.5s var(--ease); }
.card-link:hover,
.card:hover .card-link { color: var(--clay); background-size: 100% 1.5px; }
.card:hover .card-link .icon { transform: translate(3px, -3px); }

/* Value cards on ink */
.section-ink .card {
	background: rgba(246, 239, 227, 0.035);
	border-color: rgba(201, 163, 94, 0.2);
	color: var(--parchment);
}
.section-ink .card p { color: rgba(246, 239, 227, 0.66); }
.section-ink .card:hover { border-color: rgba(201, 163, 94, 0.55); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.card-value { text-align: center; align-items: center; }
.value-ar { font-size: 2.8rem; line-height: 1.3; color: var(--brass-2); transition: transform 0.7s var(--ease); }
.card-value:hover .value-ar { transform: scale(1.1) translateY(-4px); }
.value-tr {
	margin: 6px 0 18px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sage);
}
.card-value p { margin-bottom: 0; }

/* Category cards (Istikhara) */
.card-cat {
	flex-direction: row;
	align-items: center;
	gap: 18px;
	text-align: left;
	cursor: pointer;
	width: 100%;
}
.card-cat .card-icon { flex: none; }
.card-cat-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat .h3 { margin: 0; font-size: 1.25rem; }
.card-cat-sub { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.card-cat-arrow {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	color: var(--ink);
	transition: background-color 0.4s, color 0.4s, transform 0.5s var(--ease), border-color 0.4s;
}
.card-cat-arrow .icon { width: 18px; height: 18px; }
.card-cat:hover .card-cat-arrow { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: rotate(-45deg); }

/* ---------- Split layouts ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(48px, 7vw, 110px);
	align-items: center;
}
.split-visual { position: relative; display: grid; place-items: center; }
.arch-lg { width: min(100%, 460px); }
.section-sand .arch { border-color: rgba(185, 87, 47, 0.4); }
.section-sand .arch::before { border-color: rgba(185, 87, 47, 0.25); }
.arch-badge {
	position: absolute;
	top: 6%;
	right: max(0px, calc(50% - 260px));
	display: grid;
	place-items: center;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: var(--clay);
	color: var(--cream);
	box-shadow: 0 20px 40px -16px rgba(185, 87, 47, 0.7);
}
.arch-badge-star { width: 50px; height: 50px; animation: spin 24s linear infinite; }
.split-copy .h2 { margin-bottom: 22px; }
.split-lead { font-size: 1.15rem; color: var(--muted); line-height: 1.75; }

.verse {
	position: relative;
	margin: 32px 0;
	padding: 26px 28px;
	border-radius: 20px;
	background: var(--cream);
	border: 1px solid var(--line);
	border-left: 3px solid var(--brass);
}
.verse .arabic { margin: 0 0 6px; font-size: 1.75rem; color: var(--ink); text-align: right; }
.verse blockquote p {
	margin: 0 0 10px;
	font-family: var(--f-display);
	font-style: italic;
	font-size: 1.2rem;
	line-height: 1.45;
	color: var(--ink-3);
}
.verse figcaption { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); }

.verse-xl {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 clamp(8px, 5vw, 64px);
	text-align: center;
	border: 0;
	background: transparent;
}
.verse-star { width: 44px; height: 44px; margin: 0 auto 24px; color: var(--brass); animation: spin 30s linear infinite; }
.verse-xl .arabic { text-align: center; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.7; }
.verse-xl blockquote p { font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.3; margin-bottom: 18px; }

.ticks { display: grid; gap: 12px; margin-bottom: 36px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 550; }
.ticks .icon {
	width: 26px;
	height: 26px;
	padding: 5px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--brass-2);
}

/* ---------- Steps ---------- */
.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	counter-reset: step;
}
.steps::before {
	content: "";
	position: absolute;
	top: 46px;
	left: 16.66%;
	right: 16.66%;
	height: 1px;
	background: repeating-linear-gradient(90deg, var(--brass) 0 8px, transparent 8px 16px);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 1.6s var(--ease) 0.3s;
}
.steps.is-in::before { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-orb {
	position: relative;
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	margin: 0 auto 28px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--brass-2);
	box-shadow: 0 0 0 10px var(--parchment), 0 0 0 11px var(--line);
	transition: transform 0.6s var(--ease);
}
.step:hover .step-orb { transform: translateY(-6px) rotate(-6deg); }
.step-orb .icon { width: 34px; height: 34px; }
.step-orb em {
	position: absolute;
	top: -2px;
	right: -2px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--clay);
	color: var(--cream);
	font-family: var(--f-display);
	font-size: 0.95rem;
	font-style: italic;
}
.step .h3 { margin-bottom: 10px; }
.step p { color: var(--muted); max-width: 26em; margin-inline: auto; }

/* ---------- Band ---------- */
.band {
	position: relative;
	padding: clamp(44px, 7vw, 96px);
	border-radius: var(--radius-lg);
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(185, 87, 47, 0.75), transparent 60%),
		linear-gradient(140deg, var(--ink) 0%, var(--ink-3) 100%);
	color: var(--parchment);
	overflow: hidden;
	isolation: isolate;
}
.band-pattern {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--star-tile);
	opacity: 0.1;
	mask-image: linear-gradient(90deg, transparent 20%, #000);
	-webkit-mask-image: linear-gradient(90deg, transparent 20%, #000);
}
.band-rosette {
	position: absolute;
	z-index: -1;
	right: -12%;
	top: 50%;
	width: 620px;
	height: auto;
	color: var(--brass-2);
	opacity: 0.3;
	transform: translateY(-50%);
	animation: spin-y 120s linear infinite;
}
.band-copy { max-width: 620px; }
.band .h2 { margin-bottom: 18px; }
.band .h2 em { color: var(--brass-2); }
.band p { color: rgba(246, 239, 227, 0.76); font-size: 1.1rem; margin-bottom: 32px; }
.band-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- FAQ ---------- */
.split-faq { align-items: start; grid-template-columns: 0.8fr 1.2fr; }
.split-faq .section-head { position: sticky; top: calc(var(--header-h) + 24px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 26px 0;
	text-align: left;
	font-family: var(--f-display);
	font-size: clamp(1.15rem, 1.8vw, 1.35rem);
	line-height: 1.3;
	transition: color 0.3s;
}
.faq-q button:hover { color: var(--clay); }
.faq-icon {
	position: relative;
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--line);
	transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.faq-icon::before,
.faq-icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 1.5px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.5s var(--ease);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q button[aria-expanded="true"] .faq-icon { background: var(--clay); border-color: var(--clay); color: var(--cream); transform: rotate(180deg); }
.faq-q button[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.55s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 56px 26px 0; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final-cta { padding-top: 0; }
.section + .final-cta,
.section-sand + .final-cta,
.section-ink + .final-cta { padding-top: clamp(80px, 11vw, 144px); }
.final-cta-card {
	position: relative;
	padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 80px);
	border-radius: var(--radius-lg);
	background: var(--clay);
	color: var(--cream);
	text-align: center;
	overflow: hidden;
	isolation: isolate;
}
.final-cta-pattern {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%23fbf7f0' stroke-width='1'%3E%3Crect x='22' y='22' width='28' height='28'/%3E%3Crect x='22' y='22' width='28' height='28' transform='rotate(45 36 36)'/%3E%3Cpath d='M0 36h6M66 36h6M36 0v6M36 66v6'/%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.1;
	mask-image: radial-gradient(60% 80% at 50% 50%, transparent 30%, #000);
	-webkit-mask-image: radial-gradient(60% 80% at 50% 50%, transparent 30%, #000);
}
.final-cta-rosette {
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 50%;
	width: 900px;
	height: auto;
	color: var(--cream);
	opacity: 0.12;
	transform: translate(-50%, -50%);
	animation: spin-c 200s linear infinite;
}
.final-cta-content { max-width: 720px; margin: 0 auto; }
.final-cta .h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 20px; }
.final-cta .h2 em { color: var(--ink); }
.final-cta p { font-size: 1.12rem; color: rgba(251, 247, 240, 0.86); margin-bottom: 36px; }
.final-cta .btn-wa { background: var(--ink); box-shadow: 0 20px 40px -16px rgba(15, 30, 28, 0.8); }
.final-cta .btn-wa:hover { background: var(--ink-3); }

/* ---------- Istikhara ---------- */
.split-intro { align-items: center; }
.hadith-card {
	position: relative;
	padding: clamp(36px, 5vw, 64px);
	border-radius: var(--radius-lg);
	background: var(--ink);
	color: var(--parchment);
	overflow: hidden;
	isolation: isolate;
	transition: transform 0.6s var(--ease);
}
.hadith-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 0%), rgba(185, 87, 47, 0.45), transparent 60%);
}
.hadith-rosette {
	position: absolute;
	z-index: -1;
	right: -30%;
	bottom: -40%;
	width: 120%;
	height: auto;
	color: var(--brass);
	opacity: 0.2;
	animation: spin 100s linear infinite;
}
.hadith-mark {
	display: block;
	height: 0.55em;
	font-family: var(--f-display);
	font-size: 7rem;
	line-height: 1;
	color: var(--brass);
}
.hadith-card blockquote p {
	font-family: var(--f-display);
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	line-height: 1.35;
	font-weight: 350;
	margin-bottom: 26px;
}
.hadith-card figcaption {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--brass-2);
}

.split-form { align-items: start; }
.timeline { position: relative; display: grid; gap: 30px; margin-top: 12px; }
.timeline::before {
	content: "";
	position: absolute;
	left: 21px;
	top: 10px;
	bottom: 10px;
	width: 1px;
	background: linear-gradient(var(--brass), rgba(201, 163, 94, 0.1));
}
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; }
.timeline-num {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--parchment);
	border: 1px solid var(--brass);
	font-family: var(--f-display);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--clay);
}
.timeline h3 { margin: 8px 0 6px; }
.timeline p { color: var(--muted); margin: 0; }

.dua-card {
	position: relative;
	padding: clamp(32px, 6vw, 64px);
	border-radius: var(--radius-lg);
	border: 1px solid rgba(201, 163, 94, 0.3);
	background: rgba(246, 239, 227, 0.03);
	text-align: center;
}
.dua-ar { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); line-height: 2.2; color: var(--parchment); }
.dua-divider { display: flex; align-items: center; gap: 16px; margin: 36px 0; color: var(--brass); }
.dua-divider::before,
.dua-divider::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(201, 163, 94, 0.5)); }
.dua-divider::after { transform: scaleX(-1); }
.dua-star { width: 28px; height: 28px; }
.dua-en { margin: 0 auto 18px; max-width: 46em; color: rgba(246, 239, 227, 0.74); font-size: 1.05rem; line-height: 1.85; }
.dua-ref { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass-2); }

/* ---------- Forms ---------- */
.form-card {
	position: relative;
	padding: clamp(24px, 4vw, 44px);
	border-radius: var(--radius-lg);
	background: var(--cream);
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	transition: box-shadow 0.5s, transform 0.5s var(--ease);
}
.form-card.is-flash { animation: flash 1.2s var(--ease); }
.form-head {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding-bottom: 24px;
	margin-bottom: 26px;
	border-bottom: 1px solid var(--line);
}
.form-head-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--ink);
	color: var(--brass-2);
}
.form-head-icon .icon { width: 26px; height: 26px; }
.form-head .h3 { margin-bottom: 4px; }
.form-head p { margin: 0; font-size: 0.92rem; color: var(--muted); }

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label,
.field .label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.86rem;
	font-weight: 650;
	color: var(--ink);
}
.field small { font-weight: 500; color: var(--muted); }
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 15px 16px;
	border-radius: 14px;
	border: 1px solid var(--line);
	background: var(--parchment);
	color: var(--text);
	font: inherit;
	font-size: 1rem; /* prevents iOS zoom */
	transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
	-webkit-appearance: none;
	appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(89, 102, 95, 0.6); }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--clay);
	background: #fff;
	box-shadow: 0 0 0 4px rgba(185, 87, 47, 0.14);
}
.field .is-invalid { border-color: #b3261e; box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.1); }
.select { position: relative; }
.select::after {
	content: "";
	position: absolute;
	right: 18px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 1.6px solid var(--ink);
	border-bottom: 1.6px solid var(--ink);
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.select select { padding-right: 44px; cursor: pointer; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
	display: inline-block;
	padding: 9px 15px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--parchment);
	font-size: 0.88rem;
	font-weight: 550;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--clay); outline-offset: 2px; }

.form-error { color: #b3261e; font-size: 0.9rem; font-weight: 600; margin: -4px 0 16px; }

/* ---------- Contact ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
.contact-cards { display: grid; gap: 16px; }
.contact-card {
	flex-direction: row;
	align-items: center;
	gap: 18px;
	padding: 22px 24px;
}
.contact-card-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	background: var(--sand);
	color: var(--clay);
}
.contact-card-icon .icon { width: 26px; height: 26px; }
.contact-card-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contact-card-label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-card-value { font-family: var(--f-display); font-size: 1.4rem; line-height: 1.3; overflow-wrap: anywhere; }
.contact-card-value-sm { font-size: 1.1rem; }
.contact-card-sub { font-size: 0.88rem; color: var(--muted); }
.contact-card-arrow { flex: none; transition: transform 0.5s var(--ease); }
.contact-card:hover .contact-card-arrow { transform: translate(4px, -4px); }
.contact-card-wa { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.contact-card-wa .contact-card-icon { background: var(--wa); color: #fff; }
.contact-card-wa .contact-card-label,
.contact-card-wa .contact-card-sub { color: rgba(246, 239, 227, 0.62); }
.contact-card-wa .contact-card-value { font-size: 1.6rem; }
.privacy-note {
	display: flex;
	gap: 14px;
	padding: 20px 22px;
	border-radius: 20px;
	background: var(--sand);
	color: var(--ink-3);
	font-size: 0.92rem;
}
.privacy-note .icon { width: 24px; height: 24px; color: var(--clay); }
.privacy-note p { margin: 0; }

/* About areas */
.split-areas { align-items: center; }
.split-areas .section-head { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--cream);
	border: 1px solid var(--line);
	font-weight: 550;
	font-size: 0.95rem;
	transition: background-color 0.35s, color 0.35s, transform 0.45s var(--ease), border-color 0.35s;
}
.chip .icon { width: 15px; height: 15px; opacity: 0.45; transition: transform 0.45s var(--ease), opacity 0.3s; }
.chip:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-3px); }
.chip:hover .icon { opacity: 1; transform: translate(2px, -2px); color: var(--brass-2); }

.split-about { align-items: center; }
.split-about .btn { margin-top: 12px; }

.center-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer {
	position: relative;
	padding: clamp(64px, 9vw, 110px) 0 32px;
	background: var(--ink);
	color: rgba(246, 239, 227, 0.72);
	overflow: hidden;
	isolation: isolate;
}
.footer-pattern {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--star-tile);
	opacity: 0.06;
	mask-image: linear-gradient(transparent, #000);
	-webkit-mask-image: linear-gradient(transparent, #000);
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.1fr;
	gap: 48px;
	padding-bottom: 56px;
	border-bottom: 1px solid var(--line-light);
}
.brand-light { color: var(--parchment); margin-bottom: 20px; }
.footer-brand p { max-width: 26em; }
.footer-arabic { font-size: 1.4rem; color: var(--brass-2); text-align: left; }
.footer-title {
	margin-bottom: 18px;
	font-family: var(--f-body);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--brass-2);
}
.footer-list { display: grid; gap: 10px; }
.footer-list a,
.footer-list span { display: inline-flex; align-items: center; gap: 10px; transition: color 0.3s, transform 0.4s var(--ease); }
.footer-list a:hover { color: var(--parchment); transform: translateX(4px); }
.footer-contact .icon { width: 18px; height: 18px; color: var(--brass); }
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-top: 28px;
	font-size: 0.86rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
	position: fixed;
	right: max(20px, env(safe-area-inset-right));
	bottom: max(20px, env(safe-area-inset-bottom));
	z-index: 90;
	display: flex;
	align-items: center;
	gap: 12px;
	transition: transform 0.5s var(--ease), opacity 0.4s;
}
.wa-float-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--wa);
	color: #fff;
	box-shadow: 0 12px 30px -6px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.15);
	transition: transform 0.5s var(--ease);
}
.wa-float-btn::before,
.wa-float-btn::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid var(--wa);
	animation: ring 2.8s var(--ease) infinite;
}
.wa-float-btn::after { animation-delay: 1.4s; }
.wa-float-btn .icon { width: 30px; height: 30px; }
.wa-float:hover .wa-float-btn { transform: scale(1.08) rotate(-8deg); }
.wa-float-label {
	padding: 11px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--cream);
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: var(--shadow-sm);
	opacity: 0;
	transform: translateX(12px);
	pointer-events: none;
	transition: opacity 0.4s, transform 0.5s var(--ease);
}
.wa-float:hover .wa-float-label,
.wa-float.is-peek .wa-float-label { opacity: 1; transform: none; }
.menu-open .wa-float { opacity: 0; pointer-events: none; transform: scale(0.6); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 1s var(--ease), transform 1.1s var(--ease);
	transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] { transform: translateX(-48px); }
.js [data-reveal="right"] { transform: translateX(48px); }
.js [data-reveal="zoom"] { transform: scale(0.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* keep card hover transform working after reveal */
.js .card[data-reveal].is-in:hover { transform: translateY(-6px); }

.word {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding: 0 0.04em 0.14em;
	margin: 0 -0.04em -0.14em;
}
.word > span {
	display: inline-block;
	transform: translateY(115%);
	transition: transform 1.1s var(--ease);
	transition-delay: calc(var(--i) * 70ms + 0.15s);
}
.is-in .word > span,
.no-split .word > span { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-y { from { transform: translateY(-50%) rotate(0); } to { transform: translateY(-50%) rotate(360deg); } }
@keyframes spin-c { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes drift { to { transform: translate(-4vw, 4vw) scale(1.12); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes flash {
	0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(185, 87, 47, 0.5); }
	40% { box-shadow: var(--shadow-lg), 0 0 0 10px rgba(185, 87, 47, 0.18); }
	100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(185, 87, 47, 0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cards-4 { grid-template-columns: repeat(2, 1fr); }
	.chip-1 { left: -2%; }
	.chip-2 { right: -2%; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.nav,
	.header-cta { display: none; }
	.menu-toggle { display: block; }
	.site-header.is-scrolled { height: 64px; }

	.hero { min-height: auto; padding-bottom: 72px; }
	.hero-grid,
	.split,
	.split-faq,
	.contact-grid { grid-template-columns: 1fr; }
	.hero-copy { text-align: left; }
	.hero-visual { max-width: 440px; width: 100%; margin: 0 auto; }
	.scroll-cue { display: none; }

	.cards-3 { grid-template-columns: repeat(2, 1fr); }
	.split-faq .section-head { position: static; margin-bottom: 8px; }
	.split-visual { order: -1; }
	.split-intro .hadith-card,
	.split-form .form-card { order: 0; }

	.steps { grid-template-columns: 1fr; gap: 44px; max-width: 460px; margin: 0 auto; }
	.steps::before {
		left: 50%;
		right: auto;
		top: 46px;
		bottom: 46px;
		width: 1px;
		height: auto;
		background: repeating-linear-gradient(180deg, var(--brass) 0 8px, transparent 8px 16px);
		transform: scaleY(0);
		transform-origin: top;
	}
	.steps.is-in::before { transform: scaleY(1); }
	.step { background: var(--parchment); padding-bottom: 8px; }

	.band-rosette { width: 420px; right: -40%; opacity: 0.18; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.display { font-size: clamp(2.35rem, 10.5vw, 3rem); }
	.hero { padding-top: calc(var(--header-h) + 28px); }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { width: 100%; }
	.hero-trust { flex-direction: column; gap: 8px; }
	.hero-visual { padding-top: 8px; }
	.arch { width: min(80%, 320px); }
	.arch-lg { width: min(86%, 360px); }
	.float-chip { padding: 9px 14px 9px 9px; border-radius: 14px; }
	.float-chip strong { font-size: 0.82rem; }
	.float-chip small { font-size: 0.7rem; }
	.chip-icon { width: 32px; height: 32px; border-radius: 10px; }
	.chip-icon .icon { width: 18px; height: 18px; }
	.chip-1 { left: 0; top: 14%; }
	.chip-2 { right: 0; bottom: 22%; }
	.name-plate { padding: 10px 20px; }
	.name-plate strong { font-size: 1rem; }
	.arch-badge { width: 72px; height: 72px; right: 4%; }
	.arch-badge-star { width: 38px; height: 38px; }

	.cards-3,
	.cards-4 { grid-template-columns: 1fr; }
	.card-top { margin-bottom: 20px; }
	.card-cat { padding: 20px; gap: 14px; }
	.card-cat .card-icon { width: 50px; height: 50px; border-radius: 14px; }
	.card-cat-arrow { display: none; }

	.field-row { grid-template-columns: 1fr; gap: 0; }
	.verse { padding: 22px 20px; }
	.verse .arabic { font-size: 1.45rem; }

	.band { border-radius: 24px; }
	.band-actions .btn { width: 100%; }
	.final-cta-card { border-radius: 24px; }
	.final-cta .btn { width: 100%; white-space: normal; }

	.faq-q button { padding: 22px 0; }
	.faq-a p { padding-right: 0; }

	.contact-card-value { font-size: 1.2rem; }
	.contact-card-wa .contact-card-value { font-size: 1.3rem; }

	.footer-grid { grid-template-columns: 1fr; gap: 36px; }
	.footer-bottom { flex-direction: column; padding-bottom: 72px; }

	.wa-float-label { display: none; }
	.wa-float-btn { width: 58px; height: 58px; }
}

@media (hover: none) {
	.card:hover,
	.js .card[data-reveal].is-in:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
	.js [data-reveal] { opacity: 1; transform: none; }
	.word > span { transform: none; }
}
